tModLoader v2024.04
A mod to make and play Terraria mods
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, int? forcedRandom=null, 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()