class CachedEquipmentStorageBaseSource
CachedEquipmentStorage › CachedEquipmentStorageBase
Constructors 1
void CachedEquipmentStorageBase()References m_ItemsCacheByCategory
Members 1
protected ref map<ECachedEquipmentItemCategory, ref array<ref CachedEquipmentItemAttribute>> m_ItemsCacheByCategoryReferenced by CachedEquipmentStorageBase(), DumpCache(), GetEntitiesByCategory()
Show 4 more
, Insert(), IsStored(), PrintCachedEntitiesByCategory(), and Remove()Methods 11
Referenced by EntityAI.EEItemAttached()
Referenced by EntityAI.EEItemDetached()
void OnItemCargoIn(notnull Entity entity)void OnItemCargoOut(notnull Entity entity)array<Entity> GetEntitiesByCategory(CachedEquipmentStorageQuery query)List of entities matching the CachedEquipmentStorageQuery query
query- Query filter settings
array<Entity> GetEntitiesByCategory(ECachedEquipmentItemCategory category, ECachedEquipmentPlacement placement = ECachedEquipmentPlacement.ANY)List of entities matching the category and inventory placement
category- Matching category
placement- Inventory placement (see ECachedEquipmentPlacement)
protected bool IsStored(Entity entity, ECachedEquipmentItemCategory category)protected void Insert(ECachedEquipmentItemCategory category, CachedEquipmentItemAttribute attributes)protected void Remove(ECachedEquipmentItemCategory category, Entity entity)References map.Contains(), array.Insert(), array.RemoveItem()
Show 2 more
, CachedEquipmentItemAttribute.m_Entity, and m_ItemsCacheByCategoryvoid PrintCachedEntitiesByCategory(ECachedEquipmentItemCategory category)DIAG_DEVELOPERReferenced by DumpCache()
void DumpCache()DIAG_DEVELOPERReferences EnumTools.EnumToString(), string.Format(), map.GetKeyArray()