Dayz Explorer 1.29.162510
Loading...
Searching...
No Matches
CachedEquipmentStorageBase Class Reference

Protected Member Functions

void CachedEquipmentStorageBase ()
void OnItemAttached (notnull Entity entity, int slotId, notnull Entity parent)
void OnItemDetached (notnull Entity entity, int slotId, notnull Entity parent)
void OnItemCargoIn (notnull Entity entity)
void OnItemCargoOut (notnull Entity entity)
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.
bool IsStored (Entity entity, ECachedEquipmentItemCategory category)
void Insert (ECachedEquipmentItemCategory category, CachedEquipmentItemAttribute attributes)
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::CachedEquipmentStorageBase ( )
protected

Definition at line 55 of file cachedequipmentstoragebase.c.

Member Function Documentation

◆ GetEntitiesByCategory() [1/2]

array< Entity > CachedEquipmentStorageBase::GetEntitiesByCategory ( CachedEquipmentStorageQuery query)
protected

List of entities matching the CachedEquipmentStorageQuery query.

Parameters
queryQuery filter settings

Definition at line 70 of file cachedequipmentstoragebase.c.

◆ GetEntitiesByCategory() [2/2]

array< Entity > CachedEquipmentStorageBase::GetEntitiesByCategory ( ECachedEquipmentItemCategory category,
ECachedEquipmentPlacement placement = ECachedEquipmentPlacement.ANY )
protected

List of entities matching the category and inventory placement.

Parameters
categoryMatching category
placementInventory placement (see ECachedEquipmentPlacement)

Definition at line 100 of file cachedequipmentstoragebase.c.

◆ Insert()

void CachedEquipmentStorageBase::Insert ( ECachedEquipmentItemCategory category,
CachedEquipmentItemAttribute attributes )
protected

Definition at line 133 of file cachedequipmentstoragebase.c.

◆ IsStored()

bool CachedEquipmentStorageBase::IsStored ( Entity entity,
ECachedEquipmentItemCategory category )
protected

Definition at line 117 of file cachedequipmentstoragebase.c.

◆ OnItemAttached()

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

◆ OnItemCargoIn()

void CachedEquipmentStorageBase::OnItemCargoIn ( notnull Entity entity)
protected

◆ OnItemCargoOut()

void CachedEquipmentStorageBase::OnItemCargoOut ( notnull Entity entity)
protected

◆ OnItemDetached()

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

◆ Remove()

void CachedEquipmentStorageBase::Remove ( ECachedEquipmentItemCategory category,
Entity entity )
protected

Definition at line 144 of file cachedequipmentstoragebase.c.

Member Data Documentation

◆ m_ItemsCacheByCategory

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

Definition at line 53 of file cachedequipmentstoragebase.c.


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