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

◆ ActionCondition()

override bool ActionUnlockShippingContainer::ActionCondition ( PlayerBase player,
ActionTarget target,
ItemBase item )
inlineprivate

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

5 {
6 ContainerLockedBase shipCont;
7 if (Class.CastTo(shipCont, target.GetObject()))
8 {
9 int doorIndex = TranslateLockSelectionIntoDoorIdx(target);
10 if (doorIndex != -1)
11 return shipCont.IsDoorLocked(doorIndex);
12 }
13 return false;
14 }
void ContainerLockedBase()
Определения ContainerLocked.c:114
int TranslateLockSelectionIntoDoorIdx(ActionTarget target)
Returns door idx.
Определения ActionUnlockContainerDoor.c:45

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