Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
CachedEquipmentStorageBase Class Reference

Protected Member Functions

void CachedEquipmentStorageBase ()
array< EntityGetEntitiesByCategory (CachedEquipmentStorageQuery query)
 List of entities matching the CachedEquipmentStorageQuery query.
array< EntityGetEntitiesByCategory (ECachedEquipmentItemCategory category, ECachedEquipmentPlacement placement=ECachedEquipmentPlacement.ANY)
 List of entities matching the category and inventory placement.
void Insert (ECachedEquipmentItemCategory category, CachedEquipmentItemAttribute attributes)
bool IsStored (Entity entity, ECachedEquipmentItemCategory category)
void OnItemAttached (notnull Entity entity, int slotId, notnull Entity parent)
void OnItemCargoIn (notnull Entity entity)
void OnItemCargoOut (notnull Entity entity)
void OnItemDetached (notnull Entity entity, int slotId, notnull Entity parent)
void Remove (ECachedEquipmentItemCategory category, Entity entity)

Protected Attributes

ref map< ECachedEquipmentItemCategory, ref array< ref CachedEquipmentItemAttribute > > m_ItemsCacheByCategory

Detailed Description

Definition at line 51 of file cachedequipmentstoragebase.c.

Constructor & Destructor Documentation

◆ CachedEquipmentStorageBase()

void CachedEquipmentStorageBase ( )
inlineprotected

Definition at line 55 of file cachedequipmentstoragebase.c.

References m_ItemsCacheByCategory.

Member Function Documentation

◆ GetEntitiesByCategory() [1/2]

array< Entity > GetEntitiesByCategory ( CachedEquipmentStorageQuery query)
inlineprotected

◆ GetEntitiesByCategory() [2/2]

array< Entity > GetEntitiesByCategory ( ECachedEquipmentItemCategory category,
ECachedEquipmentPlacement placement = ECachedEquipmentPlacement.ANY )
inlineprotected

List of entities matching the category and inventory placement.

Parameters
categoryMatching category
placementInventory placement (see ECachedEquipmentPlacement)

Definition at line 100 of file cachedequipmentstoragebase.c.

References m_ItemsCacheByCategory.

◆ Insert()

void Insert ( ECachedEquipmentItemCategory category,
CachedEquipmentItemAttribute attributes )
inlineprotected

◆ IsStored()

bool IsStored ( Entity entity,
ECachedEquipmentItemCategory category )
inlineprotected

Definition at line 117 of file cachedequipmentstoragebase.c.

References m_ItemsCacheByCategory.

◆ OnItemAttached()

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

◆ OnItemCargoIn()

void OnItemCargoIn ( notnull Entity entity)
protected

◆ OnItemCargoOut()

void OnItemCargoOut ( notnull Entity entity)
protected

◆ OnItemDetached()

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

◆ Remove()

void Remove ( ECachedEquipmentItemCategory category,
Entity entity )
inlineprotected

Field Documentation

◆ m_ItemsCacheByCategory

ref map<ECachedEquipmentItemCategory, ref array<ref CachedEquipmentItemAttribute> > m_ItemsCacheByCategory
protected

The documentation for this class was generated from the following file: