tModLoader v2024.11
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 Deconstruct (out bool b0)
 
void Deconstruct (out bool b0, out bool b1)
 
void Deconstruct (out bool b0, out bool b1, out bool b2)
 
void Deconstruct (out bool b0, out bool b1, out bool b2, out bool b3)
 
void Deconstruct (out bool b0, out bool b1, out bool b2, out bool b3, out bool b4)
 
void Deconstruct (out bool b0, out bool b1, out bool b2, out bool b3, out bool b4, out bool b5)
 
void Deconstruct (out bool b0, out bool b1, out bool b2, out bool b3, out bool b4, out bool b5, out bool b6)
 
void Deconstruct (out bool b0, out bool b1, out bool b2, out bool b3, out bool b4, out bool b5, out bool b6, out bool b7)
 
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]