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

◆ GetLockCompatibilityType()

int Building::GetLockCompatibilityType ( int doorIdx)
inlineprotected

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

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

194 {
196 }
int m_LockCompatibilityBitMask
Name of the AnimationSource controlling door physics (required for rebuildable doors,...
Определения AdditionalDoorsInfo.c:11
AdditionalDoorInfo GetDoorInfo(int doorIdx)

Перекрестные ссылки GetDoorInfo() и AdditionalDoorInfo::m_LockCompatibilityBitMask.

Используется в ActionLockDoors::ActionCondition() и ActionUnlockDoors::ActionCondition().