Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
|
Go to the source code of this file.
Data Structures | |
class | InventoryValidation |
class | GameInventory |
script counterpart to engine's class Inventory More... | |
Enumerations | |
enum | InventoryCommandType { MOVE, SYNC_MOVE, HAND_EVENT, SWAP, FORCESWAP, DESTROY, REPLACE, USER_RESERVATION_CANCEL } |
enum | InventoryJunctureType { TAKE, SWAP } |
enum | InventoryMode { PREDICTIVE, LOCAL, JUNCTURE, SERVER } |
NOTE: PREDICTIVE is not to be used at all in multiplayer. More... | |
enum | InventoryValidationResult { FAILED, JUNCTURE, SUCCESS } |
enum | InventoryValidationReason { UNKNOWN, JUNCTURE_DENIED, DROP_PREVENTED } |
enum | InventoryCheckContext { DEFAULT, SYNC_CHECK } |
Variables | |
enum InventoryCheckContext | LEGACY |
The original logic, finds anything depending on the parameters, item or dst required. More... | |
enum InventoryCheckContext | ITEM |
Find a reservation for the item EXCLUDING the dst, item and dst required. More... | |
enum InventoryCheckContext | DST |
Find a reservation for the dst EXCLUDING the item, item and dst required. More... | |
enum InventoryCheckContext | EQUAL |
Find an exact reservation for item and dst, item and dst required. More... | |
Enumerator | |
---|---|
DEFAULT | |
SYNC_CHECK |
Definition at line 57 of file inventory.c.
enum InventoryCommandType |
Definition at line 2 of file inventory.c.
Enumerator | |
---|---|
TAKE | taking from ground |
SWAP | swap two entities (simple swap of compatible objects) swapping from ground |
Definition at line 13 of file inventory.c.
enum InventoryMode |
NOTE: PREDICTIVE is not to be used at all in multiplayer.
Definition at line 21 of file inventory.c.
Enumerator | |
---|---|
UNKNOWN | |
JUNCTURE_DENIED | |
DROP_PREVENTED |
Definition at line 36 of file inventory.c.
Enumerator | |
---|---|
FAILED | |
JUNCTURE | 'Juncture' operation is used whenever there is possibility of race condition, i.e. two players picking same item from ground |
SUCCESS |
Definition at line 29 of file inventory.c.
enum InventoryCheckContext DST |
Find a reservation for the dst EXCLUDING the item, item and dst required.
enum InventoryCheckContext EQUAL |
Find an exact reservation for item and dst, item and dst required.
enum InventoryCheckContext ITEM |
Find a reservation for the item EXCLUDING the dst, item and dst required.
enum InventoryCheckContext LEGACY |
The original logic, finds anything depending on the parameters, item or dst required.