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

◆ GetLockCompatibilityType()

int EntityAI::GetLockCompatibilityType ( int doorIdx)
inlineprivate

Which door is compatible with which key (door idx supplied). Bitwise.

Аргументы
doorIdx
Возвращает
bitwise value of all compatible locks
Заметки
you can combine the bit values like so:
return (1 << EBuildingLockType.LOCKPICK) | (1 << EBuildingLockType.SHIP_CONTAINER_1);
you can also this for each individual door idx

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

163 {
164 return 1 << EBuildingLockType.LOCKPICK; //all doors are lockpickable by default
165 }
EBuildingLockType
Определения EBuildingLockTypes.c:2