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

◆ CheckFoodPlatter()

static void Terraria.WorldGen.CheckFoodPlatter ( int x,
int y,
int type )
inlinestatic

Definition at line 17486 of file WorldGen.cs.

17487 {
17488 int num = 1;
17489 if (num == 0)
17490 {
17491 }
17492 long num2 = 0L;
17493 Tile tile;
17494 bool isLoaded = tile.IsLoaded;
17495 if (num == 0)
17496 {
17497 }
17498 if (num == 0)
17499 {
17500 if (num == 0)
17501 {
17502 }
17503 bool flag = WorldGen.SolidTileAllowBottomSlope(x, (int)num2);
17504 int num3 = TEFoodPlatter.Find(x, y);
17505 if (num == 0)
17506 {
17507 }
17508 bool logicClient = Main.LogicClient;
17509 Player localPlayer = Main.LocalPlayer;
17510 int num4 = 520;
17511 localPlayer.InterruptItemUsageIfOverTile(num4);
17512 Tile tile2;
17513 ushort type2 = tile2.type;
17514 long num5 = 0L;
17515 long num6 = 0L;
17516 long num7 = 0L;
17517 WorldGen.KillTile(x, y, num5 != 0L, num6 != 0L, num7 != 0L);
17518 TEFoodPlatter.Kill(x, y);
17519 }
17520 }
class f__AnonymousType0<< Count > j__TPar

References Terraria.GameContent.Tile_Entities.TEFoodPlatter.Find(), Terraria.Player.InterruptItemUsageIfOverTile(), Terraria.Tile.IsLoaded, j__TPar, Terraria.GameContent.Tile_Entities.TEFoodPlatter.Kill(), Terraria.WorldGen.KillTile(), System.L, Terraria.Main.LocalPlayer, Terraria.Main.LogicClient, Terraria.WorldGen.SolidTileAllowBottomSlope(), and Terraria.Tile.type.