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

◆ InitLegacyExclusionCheck()

bool Entity::InitLegacyExclusionCheck ( )
inlineprotected

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

4218 {
4219 //first check the globals
4220 if (m_AttachmentExclusionMaskGlobal.Count() > 0)
4221 return false;
4222
4223 //now the map
4224 int count = m_AttachmentExclusionSlotMap.Count();
4225 if (count > 1) //more than InventorySlots.INVALID
4226 {
4227 for (int i = 0; i < count; i++)
4228 {
4229 int countSet = m_AttachmentExclusionSlotMap.GetElement(i).Count();
4230 if (countSet > 0) //SOMETHING is defined
4231 {
4232 return false;
4233 }
4234 }
4235 }
4236
4237 return true;
4238 }
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

Перекрестные ссылки m_AttachmentExclusionMaskGlobal и m_AttachmentExclusionSlotMap.

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