Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
SlotId (uint value) | |
override bool | Equals (object obj) |
override int | GetHashCode () |
float | ToFloat () |
Static Public Member Functions | |
static bool | operator== (SlotId lhs, SlotId rhs) |
static bool | operator!= (SlotId lhs, SlotId rhs) |
static SlotId | FromFloat (float value) |
Public Attributes | |
readonly uint | Value |
Static Public Attributes | |
static readonly SlotId | Invalid = new SlotId(65535u) |
Package Functions | |
SlotId | ToInactive (uint freeHead) |
SlotId | ToActive (uint index) |
Properties | |
bool | IsValid [get] |
bool | IsActive [get] |
uint | Index [get] |
uint | Key [get] |
Static Private Attributes | |
const uint | KEY_INC = 65536u |
const uint | INDEX_MASK = 65535u |
const uint | ACTIVE_MASK = 2147483648u |
const uint | KEY_MASK = 2147418112u |