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

Data Structures

class  map
 

Typedefs

typedef map m_Player
 

Functions

void CachedEquipmentStorage (DayZPlayerImplement player)
 
override void OnItemAttached (notnull Entity entity, int slotId, notnull Entity parent)
 
override void OnItemDetached (notnull Entity entity, int slotId, notnull Entity parent)
 
override void OnItemCargoIn (notnull Entity entity)
 
override void OnItemCargoOut (notnull Entity entity)
 
protected void ProcessItemInventory (CachedEquipmentStorageInventoryEntry params)
 
private map< ECachedEquipmentItemCategory, ref array< ref CachedEquipmentItemAttribute > > ProcessAttachments (CachedEquipmentStorageInventoryEntry params)
 Processes attachments of item given through params.
 
private map< ECachedEquipmentItemCategory, ref array< ref CachedEquipmentItemAttribute > > ProcessCargo (CachedEquipmentStorageInventoryEntry params)
 Processes cargo of item given through params.
 

Typedef Documentation

◆ m_Player

Function Documentation

◆ CachedEquipmentStorage()

void CachedEquipmentStorage ( DayZPlayerImplement  player)

◆ OnItemAttached()

override void OnItemAttached ( notnull Entity  entity,
int  slotId,
notnull Entity  parent 
)

◆ OnItemCargoIn()

override void OnItemCargoIn ( notnull Entity  entity)

◆ OnItemCargoOut()

override void OnItemCargoOut ( notnull Entity  entity)

◆ OnItemDetached()

override void OnItemDetached ( notnull Entity  entity,
int  slotId,
notnull Entity  parent 
)

◆ ProcessAttachments()

private map< ECachedEquipmentItemCategory, ref array< ref CachedEquipmentItemAttribute > > ProcessAttachments ( CachedEquipmentStorageInventoryEntry  params)

Processes attachments of item given through params.

Parameters
paramsinventory item setting defined by CachedEquipmentStorageInventoryEntry
Returns
map containing ECachedEquipmentItemCategory and array of CachedEquipmentItemAttribute for further processing (cache insert/removal)

Referenced by ProcessItemInventory().

◆ ProcessCargo()

private map< ECachedEquipmentItemCategory, ref array< ref CachedEquipmentItemAttribute > > ProcessCargo ( CachedEquipmentStorageInventoryEntry  params)

Processes cargo of item given through params.

Parameters
paramsinventory item setting defined by CachedEquipmentStorageInventoryEntry
Returns
map containing ECachedEquipmentItemCategory and array of CachedEquipmentItemAttribute for further processing (cache insert/removal)

Referenced by ProcessItemInventory().

◆ ProcessItemInventory()

protected void ProcessItemInventory ( CachedEquipmentStorageInventoryEntry  params)