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.TileData Class Reference
+ Collaboration diagram for Terraria.TileData:

Public Member Functions

Tile Safe (int x, int y)
 
bool ConfirmWidthHeight (int width, int height)
 
unsafe void Allocate (int x, int y)
 
 TileData ()
 

Static Public Member Functions

static void ReleasePointers ()
 
static long CalculateWorldTileSize (int x, int y)
 
static long CalculateStorageSize (int size)
 
static void ClearEverything (int tileIndex)
 
static void SetEverything (int tileIndex, ushort tileType, short tileSHeader, short frameX, short frameY, byte tileBHeader, byte tileBHeader2, byte tileBHeader3, byte wall, byte liquid)
 
static void ReregisterTile (int tileIndex)
 
static bool HasBeenLoaded (int tileIndex)
 
static ushort GetType (int tileIndex)
 
static void SetType (int tileIndex, ushort newType)
 
static short GetSHeader (int tileIndex)
 
static void SetSHeader (int tileIndex, short sHeader)
 
static short GetFrameX (int tileIndex)
 
static void SetFrameXY (int tileIndex, short frameX, short frameY)
 
static void SetFrameX (int tileIndex, short frameX)
 
static short GetFrameY (int tileIndex)
 
static void SetFrameY (int tileIndex, short frameY)
 
static ushort GetSearchUID (int tileIndex)
 
static void SetSearchUID (int tileIndex, ushort value)
 
static bool GetCheckingLiquid (int tileIndex)
 
static void SetCheckingLiquid (int tileIndex, bool checkingLiquid)
 
static bool GetSkipLiquid (int tileIndex)
 
static void SetSkipLiquid (int tileIndex, bool skipLiquid)
 
static bool GetTileFramed (int tileIndex)
 
static void SetTileFramed (int tileIndex, bool framed)
 
static ushort GetWall (int tileIndex)
 
static void SetWall (int tileIndex, ushort wall)
 
static byte GetLiquid (int tileIndex)
 
static void SetLiquid (int tileIndex, byte liquid)
 
static byte GetBHeader (int tileIndex)
 
static unsafe void SetBHeader (int tileIndex, byte bHeader)
 
static byte GetBHeader2 (int tileIndex)
 
static void SetBHeader2 (int tileIndex, byte bHeader2)
 
static void CopyTileBasic (int tileIndex, int srcTile)
 
static void CopyTile (int tileIndex, int srcTile)
 
static byte GetBHeader3 (int tileIndex)
 
static void SetBHeader3 (int tileIndex, byte bHeader3)
 
static uint GetTileDefinition (int tileIndex, ushort tileType, short tileSHeader, short frameX, short frameY, byte tileBHeader, byte tileBHeader2, byte tileBHeader3)
 
static void ReleaseTileDefinition (uint tileDefinition)
 

Static Public Attributes

static unsafe uint * tileLookupPtr
 
static unsafe ushort * tileTypeDataPtr
 
static unsafe short * tileTypeSHeaderPtr
 
static unsafe byte * tileTypeBHeaderPtr
 
static unsafe byte * tileTypeLiquidPtr
 
static unsafe short * tileTypeFrameXPtr
 
static unsafe short * tileTypeFrameYPtr
 
static unsafe ushort * tileWallDataPtr
 
static long NPCState
 
static unsafe uint * TileLookup
 
static unsafe int * TileReferenceCount
 
static unsafe ushort * TileSeachUID
 
static unsafe ushort * TileType
 
static unsafe short * TileSHeader
 
static unsafe short * TileFrameX
 
static unsafe short * TileFrameY
 
static unsafe ushort * TileWall
 
static unsafe byte * TileLiquid
 
static unsafe byte * TileBHeader
 
static unsafe byte * TileBHeader2
 
static unsafe byte * TileBHeader3
 

Properties

unsafe Tile this[int x, int y] [get, set]
 

Static Private Member Functions

static uint GetFreeListEntry ()
 
static void AddFreeEntry (uint tileDefinition)
 
static TileData ()
 

Private Attributes

int _width
 
int _height
 
int bufferSize
 
unsafe byte * memorybuffer
 
long actualBufferSize
 

Static Private Attributes

const int TileBufferSize = 200000
 
const uint TileBufferNoEntry = 4294967295U
 
static uint FreeTiles
 
static int TotalTileCount
 
static unsafe uint * TileLists
 
static unsafe uint * TileListNext
 
static unsafe uint * TileListPrevious
 

Detailed Description

Definition at line 42 of file TileData.cs.


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