1128 {
1129 int slotId = InventorySlots.GetSlotIdFromString(slot_name);
1132
1134 {
1136 {
1138 {
1139 m_ComponentsBank.GetComponent(comp_key).Event_OnItemAttached(item, slot_name);
1140 }
1141 }
1142 }
1143
1144
1145 if (
m_EM && item.GetCompEM())
1146 m_EM.OnAttachmentAdded(item);
1147
1148 if ( item.GetInventory().GetCargo() )
1150
1151 if ( item.GetInventory().GetAttachmentSlotsCount() > 0 )
1153
1156 }
ref array< EntityAI > m_AttachmentsWithCargo
ref array< EntityAI > m_AttachmentsWithAttachments
ref ComponentsBank m_ComponentsBank
ref ScriptInvoker m_OnItemAttached
ComponentEnergyManager m_EM
void PropagateExclusionValueRecursive(set< int > values, int slotId)
const int COMP_TYPE_COUNT