tModLoader v2022.09
A mod to make and play Terraria mods
Terraria.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)