85 {
87 if (!item.GetHierarchyParent())
88 return;
89
92 {
93 CachedEquipmentItemAttribute newItemAttributes = new CachedEquipmentItemAttribute();
94 newItemAttributes.m_Entity = entity;
95 newItemAttributes.m_Parent = item.GetHierarchyParent();
96 newItemAttributes.m_InventoryDepth = item.GetHierarchyLevel();
98
99 #ifdef ENABLE_LOGGING
100 LogMessage(string.Format("parent:%1 entity:%2", item.GetHierarchyParent(), entity), "OnItemCargoIn");
101 #endif
102
103 Insert(category, newItemAttributes);
104 }
105
106 CachedEquipmentStorageInventoryEntry params = new CachedEquipmentStorageInventoryEntry();
107 params.m_Entity = item;
108 params.m_GameInventory = item.GetInventory();
109 params.m_CallerMethod = "OnItemCargoIn";
111
113 }
void ProcessItemInventory(CachedEquipmentStorageInventoryEntry params)
ECachedEquipmentItemCategory
ECachedEquipmentOperationMode
ECachedEquipmentPlacement