terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
Terraria.Tile Struct Reference
+ Collaboration diagram for Terraria.Tile:

Public Member Functions

 Tile (int tileOffset)
 
void ReregisterTile ()
 
void SetType (ushort type)
 
void SetWall (ushort wall)
 
void SetLiquid (byte liquid)
 
void SetSTileHeader (short value)
 
void SetBTileHeader (byte value)
 
void SetBTileHeader2 (byte value)
 
void SetBTileHeader3 (byte value)
 
void SetFrameX (short value)
 
void SetFrameXY (short xValue, short yValue)
 
void OffsetFrameX (short value)
 
void SetFrameY (short value)
 
void OffsetFrameY (short value)
 
void BitWiseOrFrameY (short value)
 
void SetTileSeachUID (ushort value)
 
void ClearEverything ()
 
void SetEverything (ushort tileType, short tileSHeader, short frameX, short frameY, byte tileBHeader, byte tileBHeader2, byte tileBHeader3, byte wall, byte liquid)
 
void ClearTile ()
 
void CopyFrom (Tile from)
 
bool isTheSameAs (Tile compTile)
 
int wallFrameX ()
 
void wallFrameX (int wallFrameX)
 
int wallFrameY ()
 
void wallFrameY (int wallFrameY)
 
bool invisibleBlock ()
 
void invisibleBlock (bool invisibleBlock)
 
bool invisibleWall ()
 
void invisibleWall (bool invisibleWall)
 
bool fullbrightBlock ()
 
void fullbrightBlock (bool fullbrightBlock)
 
bool fullbrightWall ()
 
void fullbrightWall (bool fullbrightWall)
 
byte frameNumber ()
 
void frameNumber (byte frameNumber)
 
byte wallFrameNumber ()
 
void wallFrameNumber (byte wallFrameNumber)
 
bool topSlope ()
 
bool bottomSlope ()
 
bool leftSlope ()
 
bool rightSlope ()
 
byte slope ()
 
bool HasSameSlope (Tile tile)
 
void slope (byte slope)
 
int blockType ()
 
byte color ()
 
void color (byte color)
 
byte wallColor ()
 
void wallColor (byte wallColor)
 
bool lava ()
 
unsafe void lava (bool lava)
 
bool honey ()
 
unsafe void honey (bool honey)
 
bool shimmer ()
 
unsafe void shimmer (bool shimmer)
 
unsafe void liquidType (int liquidType)
 
byte liquidType ()
 
bool checkingLiquid ()
 
void checkingLiquid (bool checkingLiquid)
 
bool skipLiquid ()
 
void skipLiquid (bool skipLiquid)
 
bool TileFramed ()
 
void TileFramed (bool framed)
 
bool wire ()
 
void wire (bool wire)
 
bool wire2 ()
 
void wire2 (bool wire2)
 
bool wire3 ()
 
void wire3 (bool wire3)
 
bool wire4 ()
 
void wire4 (bool wire4)
 
bool halfBrick ()
 
void halfBrick (bool halfBrick)
 
bool actuator ()
 
void actuator (bool actuator)
 
bool nactive ()
 
bool inActive ()
 
void inActive (bool inActive)
 
unsafe bool active ()
 
bool activeSafe ()
 
void active (bool active)
 
void ResetToType (ushort type)
 
Color actColor (Color oldColor)
 
void actColor (ref Vector3 oldColor)
 
void Clear (TileDataType types)
 
void CopyPaintAndCoating (Tile other)
 
TileColorCache BlockColorAndCoating ()
 
TileColorCache WallColorAndCoating ()
 
void UseBlockColors (TileColorCache cache)
 
void UseWallColors (TileColorCache cache)
 
void ClearBlockPaintAndCoating ()
 
void ClearWallPaintAndCoating ()
 

Static Public Member Functions

static bool operator== (Tile a, Tile b)
 
static bool operator!= (Tile a, Tile b)
 
static void StartNewSearch ()
 
static void SmoothSlope (int x, int y, bool applyToNeighbors=true, bool sync=false)
 
static Tile ()
 

Static Public Attributes

static Tile s_Null
 
static ushort CurrentSearchUID
 
static ushort MaxSearchUID
 
const int Type_Solid = 0
 
const int Type_Halfbrick = 1
 
const int Type_SlopeDownRight = 2
 
const int Type_SlopeDownLeft = 3
 
const int Type_SlopeUpRight = 4
 
const int Type_SlopeUpLeft = 5
 
const int Liquid_Water = 0
 
const int Liquid_Lava = 1
 
const int Liquid_Honey = 2
 
const int Liquid_Shimmer = 3
 

Package Functions

void ClearMetadata ()
 

Properties

bool IsLoaded [get, set]
 
unsafe ushort type [get, set]
 
ushort wall [get, set]
 
unsafe byte liquid [get, set]
 
short sTileHeader [get, set]
 
byte bTileHeader [get, set]
 
byte bTileHeader2 [get, set]
 
byte bTileHeader3 [get, set]
 
short frameX [get, set]
 
short frameY [get, set]
 
ushort TileSeachUID [get, set]
 
int collisionType [get, set]
 

Private Attributes

int _tileOffset
 

Detailed Description

Definition at line 38 of file Tile.cs.


The documentation for this struct was generated from the following file: