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

void Terraria.Player.ItemCheck_UseMiningTools_TryPoundingTile ( Item sItem,
int tileHitId,
bool hitWall,
int x,
int y )
inlineprivate

Definition at line 16112 of file Player.cs.

16113 {
16114 if (!true)
16115 {
16116 }
16117 int hammer = sItem.hammer;
16118 Tile tile;
16119 bool flag = tile.active();
16120 if (hammer == 0)
16121 {
16122 }
16123 if (hammer == 0)
16124 {
16125 }
16126 if (this.poundRelease)
16127 {
16128 int useTime = sItem.useTime;
16129 this.itemTime = useTime;
16130 this.itemTimeMax = useTime;
16131 if (useTime == 0)
16132 {
16133 }
16134 bool flag2 = WorldGen.IsLockedDoor(x, hitWall ? 1 : 0);
16135 if (useTime == 0)
16136 {
16137 }
16138 bool flag3 = WorldGen.IsLockedDoor(x, hitWall ? 1 : 0);
16139 return;
16140 }
16141 }
class f__AnonymousType0<< Count > j__TPar

References Terraria.Tile.active(), Terraria.WorldGen.IsLockedDoor(), j__TPar, and Terraria.Player.poundRelease.