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_TurretAltFeatureUse()

void Terraria.Player.ItemCheck_TurretAltFeatureUse ( Item sItem,
bool cShoot )
inlineprivate

Definition at line 16676 of file Player.cs.

16677 {
16678 int shoot = sItem.shoot;
16679 if (sItem.shoot != 0)
16680 {
16681 int num = this.altFunctionUse;
16682 if (this.itemTime == 0)
16683 {
16684 int useTime = sItem.useTime;
16685 this.itemTime = useTime;
16686 this.itemTimeMax = useTime;
16687 if (useTime == 0)
16688 {
16689 }
16690 bool active = sItem.active;
16691 if (active)
16692 {
16693 bool dd2Summon = sItem.DD2Summon;
16694 if (!active)
16695 {
16696 }
16697 int myPlayer = Main.myPlayer;
16698 if (!active)
16699 {
16700 }
16701 if (active)
16702 {
16703 }
16704 }
16705 }
16706 }
16707 }
class f__AnonymousType0<< Count > j__TPar

References Terraria.Entity.active, Terraria.Player.altFunctionUse, Terraria.Player.itemTime, j__TPar, and Terraria.Main.myPlayer.