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

◆ TryInteractingWithMinecartTrackInNearbyArea()

void Terraria.Player.TryInteractingWithMinecartTrackInNearbyArea ( int selectedTargetX,
int selectedTargetY )
inlineprivate

Definition at line 9530 of file Player.cs.

9531 {
9532 bool active;
9533 do
9534 {
9535 active = this.mount._active;
9536 if (!active)
9537 {
9538 goto IL_0022;
9539 }
9540 }
9541 while (active);
9542 if (this.mount._frame != 0)
9543 {
9544 return;
9545 }
9546 IL_0022:
9548 {
9549 bool flag = this.tileInteractionHappened;
9550 if (!flag)
9551 {
9552 if (!flag)
9553 {
9554 }
9555 bool smartInteractShowingGenuine = Main.SmartInteractShowingGenuine;
9556 if (!flag)
9557 {
9558 }
9559 int smartInteractNPC = Main.SmartInteractNPC;
9560 if (!flag)
9561 {
9562 }
9563 int smartInteractProj = Main.SmartInteractProj;
9564 int num = 10;
9565 bool flag2 = WorldGen.InWorld(selectedTargetX, selectedTargetY, num);
9566 float num2 = this.gravDir;
9567 int num3 = 2;
9568 int num4 = 1;
9569 int num5 = 2343;
9571 Tile tile;
9572 bool isLoaded = tile.IsLoaded;
9573 if (!this.cursorItemIconEnabled)
9574 {
9576 this.cursorItemIconEnabled = num4 != 0;
9578 }
9579 if (this.tileInteractAttempted)
9580 {
9581 this.TileInteractionsCheck(0, selectedTargetY);
9582 }
9583 if (!this.tileInteractionHappened)
9584 {
9585 }
9586 }
9587 }
9588 }
class f__AnonymousType0<< Count > j__TPar
bool cursorItemIconEnabled
Definition Player.cs:21665
bool botherWithUnaimedMinecartTracks
Definition Player.cs:23474
bool tileInteractAttempted
Definition Player.cs:21602
void TileInteractionsCheck(int myX, int myY)
Definition Player.cs:9646
bool tileInteractionHappened
Definition Player.cs:21599

References Terraria.Mount._active, Terraria.Mount._frame, Terraria.Entity.active, Terraria.Player.botherWithUnaimedMinecartTracks, Terraria.Player.cursorItemIconEnabled, Terraria.Player.gravDir, Terraria.WorldGen.InWorld(), Terraria.Tile.IsLoaded, j__TPar, Terraria.Player.mount, Terraria.DataStructures.TileReachCheckSettings.Simple, Terraria.Main.SmartInteractNPC, Terraria.Main.SmartInteractProj, Terraria.Main.SmartInteractShowingGenuine, Terraria.Player.tileInteractAttempted, Terraria.Player.tileInteractionHappened, and Terraria.Player.TileInteractionsCheck().