DayZ Scripts
PC Stable Documentation
 
Loading...
Searching...
No Matches
InventoryLocation.c File Reference

Data Structures

class  InventoryLocation
 InventoryLocation. More...
 

Enumerations

enum  InventoryLocationType {
  UNKNOWN , GROUND , ATTACHMENT , CARGO ,
  HANDS , PROXYCARGO , VEHICLE , TEMP
}
 types of Inventory Location More...
 
enum  FindInventoryLocationType {
  ATTACHMENT , CARGO , HANDS , PROXYCARGO ,
  ANY_CARGO , ANY , NO_SLOT_AUTO_ASSIGN
}
 flags for searching locations in inventory More...
 

Functions

bool OptionalLocationWriteToContext (InventoryLocation loc, notnull ParamsWriteContext ctx)
 
bool OptionalLocationReadFromContext (out InventoryLocation loc, notnull ParamsReadContext ctx)
 

Enumeration Type Documentation

◆ FindInventoryLocationType

flags for searching locations in inventory

Enumerator
ATTACHMENT 

< ground

ATT.

attachment of another entity

CARGO 

cargo of another entity

CGO.

HANDS 

hands of another entity

HND.

PROXYCARGO 

cargo of a large object (building,...)

PXY.

ANY_CARGO 

CGO | PXY.

ANY 

ATT | CGO | PXY | HND.

NO_SLOT_AUTO_ASSIGN 

skips auto-assign test

◆ InventoryLocationType

types of Inventory Location

Enumerator
UNKNOWN 

unknown, usually freshly created object

GROUND 
ATTACHMENT 

< ground

ATT.

attachment of another entity

CARGO 

cargo of another entity

CGO.

HANDS 

hands of another entity

HND.

PROXYCARGO 

cargo of a large object (building,...)

PXY.

VEHICLE 

player in vehicle, index of vehicle seat is save here

TEMP 

temporary location for client side only, items are here temporary during inventory desynchronization until server send correct location

Function Documentation

◆ OptionalLocationReadFromContext()

◆ OptionalLocationWriteToContext()