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

◆ UnlockDoor()

void ActionUnlockShippingContainer::UnlockDoor ( ActionTarget target)
inlineprotected

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

32 {
33 Building building;
34 if (Class.CastTo(building, target.GetObject()))
35 {
36 int doorIndex = TranslateLockSelectionIntoDoorIdx(target);
37 if (doorIndex != -1)
38 {
39 building.UnlockDoor(doorIndex,false);
40 }
41 }
42 }
int TranslateLockSelectionIntoDoorIdx(ActionTarget target)
Returns door idx.
Определения ActionUnlockContainerDoor.c:45

Перекрестные ссылки ActionTarget, Class::CastTo() и TranslateLockSelectionIntoDoorIdx().

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