tModLoader v2024.03
A mod to make and play Terraria mods
BitsByte Struct Reference

Public Member Functions

 BitsByte (bool b1=false, bool b2=false, bool b3=false, bool b4=false, bool b5=false, bool b6=false, bool b7=false, bool b8=false)
 
void ClearAll ()
 
void Retrieve (ref bool b0)
 
void Retrieve (ref bool b0, ref bool b1)
 
void Retrieve (ref bool b0, ref bool b1, ref bool b2)
 
void Retrieve (ref bool b0, ref bool b1, ref bool b2, ref bool b3)
 
void Retrieve (ref bool b0, ref bool b1, ref bool b2, ref bool b3, ref bool b4)
 
void Retrieve (ref bool b0, ref bool b1, ref bool b2, ref bool b3, ref bool b4, ref bool b5)
 
void Retrieve (ref bool b0, ref bool b1, ref bool b2, ref bool b3, ref bool b4, ref bool b5, ref bool b6)
 
void Retrieve (ref bool b0, ref bool b1, ref bool b2, ref bool b3, ref bool b4, ref bool b5, ref bool b6, ref bool b7)
 
void SetAll ()
 
override string ToString ()
 

Static Public Member Functions

static BitsByte[] ComposeBitsBytesChain (bool optimizeLength, params bool[] flags)
 
static BitsByte[] DecomposeBitsBytesChain (BinaryReader reader)
 
static implicit operator BitsByte (byte b)
 
static implicit operator byte (BitsByte bb)
 

Properties

bool this[int key] [get, set]