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

◆ InitAttachmentExclusionValues()

void Entity::InitAttachmentExclusionValues ( )
inlineprivate

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

4167 {
4169 m_AttachmentExclusionMaskGlobal = new set<int>;
4170 m_AttachmentExclusionMaskChildren = new set<int>();
4171
4172 int count = GetInventory().GetSlotIdCount();
4173 //no sense in performing inits for something that cannot be attached anywhere (hand/lefthand and some other 'special' slots are the reason for creating 'new' sets above)
4174 if (count == 0)
4175 return;
4176
4180 }
map
Определения ControlsXboxNew.c:4
proto native GameInventory GetInventory()
ref map< int, ref set< int > > m_AttachmentExclusionSlotMap
Определения 3_Game/Entities/EntityAI.c:107
ref set< int > m_AttachmentExclusionMaskGlobal
Определения 3_Game/Entities/EntityAI.c:108
void InitGlobalExclusionValues()
override to init part of the mask, independent of slot-specific behavior
void InitLegacyConfigExclusionValues()
Определения 3_Game/Entities/EntityAI.c:4205
void InitInherentSlotExclusionMap()
map stored on instance to better respond to various state changes
Определения 3_Game/Entities/EntityAI.c:4183
ref set< int > m_AttachmentExclusionMaskChildren
Определения 3_Game/Entities/EntityAI.c:109
proto native int GetSlotIdCount()

Перекрестные ссылки GetInventory(), InitGlobalExclusionValues(), InitInherentSlotExclusionMap(), InitLegacyConfigExclusionValues(), m_AttachmentExclusionMaskChildren, m_AttachmentExclusionMaskGlobal и m_AttachmentExclusionSlotMap.

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