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

◆ TileInteractionsUse()

void Terraria.Player.TileInteractionsUse ( int myX,
int myY )
inlineprivate

Definition at line 9695 of file Player.cs.

9696 {
9697 if (!true)
9698 {
9699 }
9700 bool open = WiresUI.Open;
9701 int[] array = this.ownedProjectileCounts;
9702 bool flag = this.tileInteractAttempted;
9703 if (flag)
9704 {
9705 bool flag2 = this.releaseUseTile;
9706 if (!flag)
9707 {
9708 }
9709 Tile tile;
9710 ushort type = tile.type;
9712 if (flag2)
9713 {
9714 if (num == 0)
9715 {
9716 }
9717 Tile tile2;
9718 ushort type2 = tile2.type;
9719 if (num == 0)
9720 {
9721 }
9722 Tile tile3;
9723 ushort type3 = tile3.type;
9724 if (num == 0)
9725 {
9726 }
9727 Tile tile4;
9728 ushort type4 = tile4.type;
9729 if (num == 0)
9730 {
9731 }
9732 Wiring.HitSwitch(myX, myY);
9733 if (num == 0)
9734 {
9735 }
9736 return;
9737 }
9738 int num2;
9739 if (num2 != 0)
9740 {
9741 }
9742 }
9743 }
class f__AnonymousType0<< Count > j__TPar
bool releaseUseTile
Definition Player.cs:21518
int snowBallLauncherInteractionCooldown
Definition Player.cs:20648
bool tileInteractAttempted
Definition Player.cs:21602
int[] ownedProjectileCounts
Definition Player.cs:23249

References System.array, Terraria.Wiring.HitSwitch(), j__TPar, Terraria.GameContent.UI.WiresUI.Open, Terraria.Player.ownedProjectileCounts, Terraria.Player.releaseUseTile, Terraria.Player.snowBallLauncherInteractionCooldown, Terraria.Player.tileInteractAttempted, and Terraria.Tile.type.

Referenced by Terraria.Player.TileInteractionsCheck().