Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
inventorylocation.c File Reference

Go to the source code of this file.

Data Structures

class  InventoryLocation
 InventoryLocation. More...
 

Enumerations

enum  InventoryLocationType {
  UNKNOWN, GROUND, ATTACHMENT, CARGO,
  HANDS, PROXYCARGO
}
 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

Definition at line 15 of file inventorylocation.c.

◆ 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.

Definition at line 3 of file inventorylocation.c.

Function Documentation

◆ OptionalLocationReadFromContext()

bool OptionalLocationReadFromContext ( out InventoryLocation  loc,
notnull ParamsReadContext  ctx 
)

Definition at line 605 of file inventorylocation.c.

◆ OptionalLocationWriteToContext()

bool OptionalLocationWriteToContext ( InventoryLocation  loc,
notnull ParamsWriteContext  ctx 
)

Definition at line 583 of file inventorylocation.c.