Terraria v1.4.4.9
Terraria source code documentation
|
Classes | |
class | Enumerator |
struct | ItemPair |
Public Member Functions | |
SlotVector (int capacity) | |
SlotId | Add (T value) |
void | Clear () |
bool | Remove (SlotId id) |
bool | Has (SlotId id) |
bool | Has (int index) |
ItemPair | GetPair (int index) |
bool | TryGetValue (SlotId id, [NotNullWhen(true)] out T? result) |
bool | TryGetValue (int index, [NotNullWhen(true)] out T? result) |
Properties | |
T | this[int index] [get, set] |
T | this[SlotId id] [get, set] |
int | Count [get, private set] |
int | Capacity [get] |
Private Member Functions | |
IEnumerator IEnumerable. | GetEnumerator () |
IEnumerator< ItemPair > IEnumerable< ItemPair >. | GetEnumerator () |
Private Attributes | |
readonly ItemPair[] | _array |
uint | _freeHead |
uint | _usedSpaceLength |
Static Private Attributes | |
const uint | MAX_INDEX = 65535u |
Definition at line 8 of file SlotVector.cs.