DayZ 1.30
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ IsStored()

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

См. определение в файле CachedEquipmentStorageBase.c строка 129

130 {
131 if (!m_ItemsCacheByCategory.Contains(category))
132 return false;
133
134 foreach (CachedEquipmentItemAttribute itemAttributes : m_ItemsCacheByCategory[category])
135 {
136 if (itemAttributes.m_Entity == entity)
137 return true;
138 }
139
140 return false;
141 }
ref map< ECachedEquipmentItemCategory, ref array< ref CachedEquipmentItemAttribute > > m_ItemsCacheByCategory
Определения CachedEquipmentStorageBase.c:52

Перекрестные ссылки m_ItemsCacheByCategory.

Используется в CachedEquipmentStorage::OnItemAttached(), CachedEquipmentStorage::OnItemCargoIn(), CachedEquipmentStorage::ProcessAttachments() и CachedEquipmentStorage::ProcessCargo().