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

◆ InitAttachmentExclusionValues()

void Entity::InitAttachmentExclusionValues ( )
inlineprivate

См. определение в файле EntityAI.c строка 4161

4162 {
4164 m_AttachmentExclusionMaskGlobal = new set<int>;
4165 m_AttachmentExclusionMaskChildren = new set<int>();
4166
4167 int count = GetInventory().GetSlotIdCount();
4168 //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)
4169 if (count == 0)
4170 return;
4171
4175 }
map
Определения ControlsXboxNew.c:4
proto native GameInventory GetInventory()
ref map< int, ref set< int > > m_AttachmentExclusionSlotMap
Определения EntityAI.c:107
ref set< int > m_AttachmentExclusionMaskGlobal
Определения EntityAI.c:108
void InitGlobalExclusionValues()
override to init part of the mask, independent of slot-specific behavior
void InitLegacyConfigExclusionValues()
Определения EntityAI.c:4200
void InitInherentSlotExclusionMap()
map stored on instance to better respond to various state changes
Определения EntityAI.c:4178
ref set< int > m_AttachmentExclusionMaskChildren
Определения EntityAI.c:109
proto native int GetSlotIdCount()

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

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