terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ ItemCheck_UseCombatBook()

void Terraria.Player.ItemCheck_UseCombatBook ( Item sItem)
inlineprivate

Definition at line 15564 of file Player.cs.

15565 {
15566 if (!true)
15567 {
15568 }
15569 if (!true)
15570 {
15571 int type = sItem.type;
15572 int num = this.itemAnimation;
15573 if (this.itemTime == 0)
15574 {
15575 int useTime = sItem.useTime;
15576 this.itemTime = useTime;
15577 this.itemTimeMax = useTime;
15578 if (useTime == 0)
15579 {
15580 }
15581 if (useTime != 0)
15582 {
15583 int whoAmI = this.whoAmI;
15584 if (useTime == 0)
15585 {
15586 }
15587 return;
15588 }
15589 if (useTime == 0)
15590 {
15591 }
15592 string textValue = Language.GetTextValue("Misc.CombatBookUsed");
15593 if (!true)
15594 {
15595 }
15596 }
15597 }
15598 int type2 = sItem.type;
15599 int num2 = this.itemAnimation;
15600 if (this.itemTime == 0)
15601 {
15602 int useTime2 = sItem.useTime;
15605 if (useTime2 == 0)
15606 {
15607 }
15608 if (useTime2 == 0)
15609 {
15610 if (useTime2 == 0)
15611 {
15612 }
15613 string textValue2 = Language.GetTextValue("Misc.CombatBookVolumeTwoUsed");
15614 if (!true)
15615 {
15616 }
15617 return;
15618 }
15619 int whoAmI2 = this.whoAmI;
15620 if (useTime2 == 0)
15621 {
15622 }
15623 }
15624 }
class f__AnonymousType0<< Count > j__TPar
static string GetTextValue(string key)
Definition Language.cs:54

References Terraria.Localization.Language.GetTextValue(), Terraria.Player.itemAnimation, Terraria.Player.itemTime, j__TPar, Terraria.Item.useTime, and Terraria.Entity.whoAmI.