tModLoader v2022.09
A mod to make and play Terraria mods
Terraria.TileObject Struct Reference

Static Public Member Functions

static bool CanPlace (int x, int y, int type, int style, int dir, out TileObject objectData, bool onlyCheck=false, bool checkStay=false)
 
static void DrawPreview (SpriteBatch sb, TileObjectPreviewData op, Vector2 position)
 
static bool Place (TileObject toBePlaced)
 

Public Attributes

int alternate
 
int random
 
int style
 
int type
 
int xCoord
 
int yCoord
 

Static Public Attributes

static TileObject Empty = default(TileObject)
 
static TileObjectPreviewData objectPreview = new TileObjectPreviewData()