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

◆ InitLegacyExclusionCheck()

bool Entity::InitLegacyExclusionCheck ( )
inlineprotected

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

4213 {
4214 //first check the globals
4215 if (m_AttachmentExclusionMaskGlobal.Count() > 0)
4216 return false;
4217
4218 //now the map
4219 int count = m_AttachmentExclusionSlotMap.Count();
4220 if (count > 1) //more than InventorySlots.INVALID
4221 {
4222 for (int i = 0; i < count; i++)
4223 {
4224 int countSet = m_AttachmentExclusionSlotMap.GetElement(i).Count();
4225 if (countSet > 0) //SOMETHING is defined
4226 {
4227 return false;
4228 }
4229 }
4230 }
4231
4232 return true;
4233 }
ref map< int, ref set< int > > m_AttachmentExclusionSlotMap
Определения EntityAI.c:107
ref set< int > m_AttachmentExclusionMaskGlobal
Определения EntityAI.c:108

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

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