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

◆ PlaceChest()

static int Terraria.WorldGen.PlaceChest ( int x,
int y,
ushort type = 21,
bool notNearOtherChests = false,
int style = 0 )
inlinestatic

Definition at line 12060 of file WorldGen.cs.

12061 {
12062 if (!true)
12063 {
12064 }
12065 Tile tile;
12066 ushort type2 = tile.type;
12067 Tile tile2;
12068 ushort type3 = tile2.type;
12069 long num = 0L;
12070 bool flag = Chest.NearOtherChests(42168200, x);
12071 int num2 = Chest.CreateChest(42187544, (int)type, (int)num);
12072 bool netClientOnly = Main.NetClientOnly;
12073 bool netClientOnly2 = Main.NetClientOnly;
12074 return 34;
12075 }
class f__AnonymousType0<< Count > j__TPar

References Terraria.Chest.CreateChest(), j__TPar, System.L, Terraria.Chest.NearOtherChests(), Terraria.Main.NetClientOnly, and Terraria.Tile.type.