|
TModLoader v1.4.4.9
TModLoader source code documentation
|
|
inlinestatic |
Determines if a new chest can exist at tile coordinates (x , y ).
| x | The x-coordinate to check, in tile coordinates. |
| y | The y-coordinate to check, in tile coordinates. |
| type | Unused, but required for use with F:Terraria.DataStructures.PlacementHook.hook. |
| style | Unused, but required for use with F:Terraria.DataStructures.PlacementHook.hook. |
| direction | Unused, but required for use with F:Terraria.DataStructures.PlacementHook.hook. |
| alternate | Unused, but required for use with F:Terraria.DataStructures.PlacementHook.hook. |
-1 if there exists a chest in F:Terraria.Main.chest at the coordinates (x , y ), or if F:Terraria.Main.chest contains no null elements. null element. Definition at line 805 of file Chest.cs.
References Terraria.Main.chest, Terraria.Chest.x, and Terraria.Chest.y.
Referenced by Terraria.Chest.AfterPlacement_Hook(), Terraria.Chest.CreateChest(), and Terraria.ObjectData.TileObjectData.Initialize().
Here is the caller graph for this function: