142 {
143 CachedItemAttributesPerCategory attachmentAttributesPerCategory =
ProcessAttachments(params);
145 {
146 foreach (CachedEquipmentItemAttribute attachmentAttribute : attachmentAttributes)
147 {
149 Insert(attachmentCategory, attachmentAttribute);
150 else
151 Remove(attachmentCategory, attachmentAttribute.m_Entity);
152 }
153 }
154
155 CachedItemAttributesPerCategory cargoAttributesPerCategory =
ProcessCargo(params);
157 {
158 foreach (CachedEquipmentItemAttribute cargoAttribute : cargoAttributes)
159 {
161 Insert(cargoCategory, cargoAttribute);
162 else
163 Remove(cargoCategory, cargoAttribute.m_Entity);
164 }
165 }
166 }
void Remove(Object object)
map< ECachedEquipmentItemCategory, ref array< ref CachedEquipmentItemAttribute > > ProcessCargo(CachedEquipmentStorageInventoryEntry params)
Processes cargo of item given through params.
map< ECachedEquipmentItemCategory, ref array< ref CachedEquipmentItemAttribute > > ProcessAttachments(CachedEquipmentStorageInventoryEntry params)
Processes attachments of item given through params.
ECachedEquipmentItemCategory
ECachedEquipmentOperationMode
Result for an object found in CGame.IsBoxCollidingGeometryProxy.