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

◆ Insert()

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

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

134 {
135 array<ref CachedEquipmentItemAttribute> attributesArray = new array<ref CachedEquipmentItemAttribute>();
136 if (!m_ItemsCacheByCategory.Contains(category))
137 m_ItemsCacheByCategory.Set(category, attributesArray);
138
139 m_ItemsCacheByCategory[category].Insert(attributes);
140 }
ref map< ECachedEquipmentItemCategory, ref array< ref CachedEquipmentItemAttribute > > m_ItemsCacheByCategory
Определения CachedEquipmentStorageBase.c:53

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

Используется в OnItemAttached(), OnItemCargoIn() и ProcessItemInventory().