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

◆ InitAttachmentExclusionValues()

void Entity::InitAttachmentExclusionValues ( )
inlineprivate

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

4219 {
4221 m_AttachmentExclusionMaskGlobal = new set<int>;
4222 m_AttachmentExclusionMaskChildren = new set<int>();
4223
4224 int count = GetInventory().GetSlotIdCount();
4225 //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)
4226 if (count == 0)
4227 return;
4228
4232 }
map
Определения ControlsXboxNew.c:4
proto native GameInventory GetInventory()
ref map< int, ref set< int > > m_AttachmentExclusionSlotMap
ref set< int > m_AttachmentExclusionMaskGlobal
void InitGlobalExclusionValues()
override to init part of the mask, independent of slot-specific behavior
void InitLegacyConfigExclusionValues()
void InitInherentSlotExclusionMap()
map stored on instance to better respond to various state changes
ref set< int > m_AttachmentExclusionMaskChildren
proto native int GetSlotIdCount()

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

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