tModLoader v2024.10
A mod to make and play Terraria mods
TileDataPacking Class Reference

Static Public Member Functions

static bool GetBit (int bits, int offset)
 
static int Pack (int value, int bits, int offset, int width)
 
static int SetBit (bool value, int bits, int offset)
 
static int Unpack (int bits, int offset, int width)