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

◆ CheckExclusionAccessCondition()

bool Entity::CheckExclusionAccessCondition ( int occupiedSlot,
int targetSlot,
set< int > value,
inout set< int > adjustedValue )
inlineprotected

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

4551 {
4552 bool occupiedException = occupiedSlot == InventorySlots.HANDS || occupiedSlot == InventorySlots.SHOULDER || occupiedSlot == InventorySlots.MELEE || occupiedSlot == InventorySlots.LEFTHAND;
4553 bool targetException = targetSlot == InventorySlots.HANDS || targetSlot == InventorySlots.SHOULDER || targetSlot == InventorySlots.MELEE || targetSlot == InventorySlots.LEFTHAND;
4554
4555 if (occupiedException)
4556 {
4557 adjustedValue = value;
4558 return false;
4559 }
4560
4561 if (targetException)
4562 {
4563 adjustedValue = null;
4564 return false;
4565 }
4566
4567 AdjustExclusionAccessCondition(occupiedSlot,targetSlot,value,adjustedValue);
4568 return adjustedValue.Count() != 0;
4569 }
void AdjustExclusionAccessCondition(int occupiedSlot, int testedSlot, set< int > value, inout set< int > adjustedValue)
if we want to filter
Определения 3_Game/Entities/EntityAI.c:4572

Перекрестные ссылки AdjustExclusionAccessCondition().

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