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
|
Classes | |
class | BitReader |
struct | OldMapHelper |
class | RunLengthEncodingCompressionProfile |
Static Public Member Functions | |
static void | Initialize () |
static void | ResetMapData () |
static bool | HasOption (int tileType, int option) |
static int | TileToLookup (int tileType, int option) |
static int | LookupCount () |
static void | MapColor (ushort type, ref Microsoft.Xna.Framework.Graphics.Color oldColor, byte colorType) |
static Microsoft.Xna.Framework.Graphics.Color | GetMapTileXnaColor (ref MapTile tile) |
static unsafe MapTile | CreateMapTile (int i, int j, byte Light) |
static void | GetTileBaseOption (int x, int y, int tileType, Tile tileCache, ref int baseOption) |
static void | GetTileBaseOption (int y, ushort tileType, int frameX, int frameY, ref int baseOption) |
static void | SaveMap (bool forceSave=false) |
static void | LoadMapWithUltraCompression (MemoryStream wholeStream, bool isLocalMap) |
static void | LoadMapVersion1 (BinaryReader fileIO, int release) |
static unsafe void | LoadMapVersion2 (BinaryReader fileIO, int release) |
static void | LoadMapVersionCompressed (BinaryReader fileIO, int release) |
Static Public Attributes | |
static int | maxUpdateTile |
static int | numUpdateTile |
static short[] | updateTileX |
static short[] | updateTileY |
static bool | noStatusText |
const int | drawLoopMilliseconds = 5 |
const int | drawMapLoadingLoopMilliseconds = 30 |
const int | maxTileOptions = 12 |
const int | maxWallOptions = 2 |
const int | maxLiquidTypes = 4 |
const int | maxSkyGradients = 256 |
const int | maxDirtGradients = 256 |
const int | maxRockGradients = 256 |
static int[] | tileOptionCounts |
static int[] | wallOptionCounts |
static ushort[] | tileLookup |
static ushort[] | wallLookup |
static ushort | wallPosition |
static ushort | liquidPosition |
static ushort | skyPosition |
static ushort | dirtPosition |
static ushort | rockPosition |
static ushort | hellPosition |
static Microsoft.Xna.Framework.Graphics.Color[] | colorLookup |
static Dictionary< ushort, bool > | snowLookup |
Properties | |
static object | IOLock [get, set] |
Static Private Member Functions | |
static void | InternalSaveMapCompressed () |
static unsafe void | InternalSaveMap () |
static void | LoadMapHeader (BinaryReader fileIO) |
static void | ReadRunLengthEncodingData (MapHelper.RunLengthEncodingCompressionProfile compressionProfile, DeflateStream deflateStream, Action< int, int, uint > dataRead) |
static | MapHelper () |
Static Private Attributes | |
const int | HeaderEmpty = 0 |
const int | HeaderTile = 1 |
const int | HeaderWall = 2 |
const int | HeaderWater = 3 |
const int | HeaderLava = 4 |
const int | HeaderHoney = 5 |
const int | HeaderHeavenAndHell = 6 |
const int | HeaderBackground = 7 |
const int | Header2_ReadHeader3Bit = 1 |
const int | Header2Color1 = 2 |
const int | Header2Color2 = 4 |
const int | Header2Color3 = 8 |
const int | Header2Color4 = 16 |
const int | Header2Color5 = 32 |
const int | Header2ShimmerBit = 64 |
const int | Header2_UnusedBit8 = 128 |
const int | Header3_ReservedForHeader4Bit = 1 |
const int | Header3_UnusudBit2 = 2 |
const int | Header3_UnusudBit3 = 4 |
const int | Header3_UnusudBit4 = 8 |
const int | Header3_UnusudBit5 = 16 |
const int | Header3_UnusudBit6 = 32 |
const int | Header3_UnusudBit7 = 64 |
const int | Header3_UnusudBit8 = 128 |
static ushort | tilePosition |
static ushort | wallRangeStart |
static ushort | wallRangeEnd |
Definition at line 20 of file MapHelper.cs.