DayZ 1.24
|
Go to the source code of this file.
Classes | |
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. | |
enum InventoryCheckContext | ITEM |
Find a reservation for the item EXCLUDING the dst, item and dst required. | |
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. | |
Enumerator | |
---|---|
DEFAULT | |
SYNC_CHECK |
Definition at line 57 of file Inventory.c.
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.
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.
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.
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.