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

◆ InitInherentSlotExclusionMap()

void Entity::InitInherentSlotExclusionMap ( )
inlineprivate

map stored on instance to better respond to various state changes

См. определение в файле 3_Game/Entities/EntityAI.c строка 4183

4184 {
4185 int count = GetInventory().GetSlotIdCount();
4186 //starting with the INVALID slot, so it is always in the map of attachable items
4187 SetAttachmentExclusionMaskSlot(InventorySlots.INVALID,GetAttachmentExclusionInitSlotValue(InventorySlots.INVALID));
4188
4189 int slotId;
4190 for (int i = 0; i < count; i++)
4191 {
4192 slotId = GetInventory().GetSlotId(i);
4194 }
4195 }
void SetAttachmentExclusionMaskSlot(int slotId, set< int > values)
sets values for specific slot
Определения 3_Game/Entities/EntityAI.c:4406
proto native GameInventory GetInventory()
set< int > GetAttachmentExclusionInitSlotValue(int slotId)
override this to modify slot behavior for specific items, or just set 'm_AttachmentExclusionMaskGloba...
Определения 3_Game/Entities/EntityAI.c:4198
proto native int GetSlotId(int index)
attachments
proto native int GetSlotIdCount()

Перекрестные ссылки GetAttachmentExclusionInitSlotValue(), GetInventory(), InventorySlots::INVALID и SetAttachmentExclusionMaskSlot().

Используется в InitAttachmentExclusionValues().