DayZ
1.27
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
◆
OnAction()
override
bool
AlarmClock_ColorBase::OnAction
(
int
action_id
,
Man
player
,
ParamsReadContext
ctx
)
inline
private
См. определение в файле
AlarmClock.c
строка
77
78
{
79
if
(super.OnAction(action_id, player, ctx))
80
return
true
;
81
if
(
GetGame
().IsServer() || !
GetGame
().IsMultiplayer())
82
{
83
if
(action_id ==
EActions
.ACTIVATE_ENTITY)
84
{
85
SetAlarmInXMins
(1);
86
}
87
88
}
89
return
false
;
90
}
SetAlarmInXMins
void SetAlarmInXMins(int in_mins)
Определения
ClockBase.c:171
EActions
EActions
Определения
EActions.c:2
GetGame
proto native CGame GetGame()
Перекрестные ссылки
GetGame()
и
SetAlarmInXMins()
.
AlarmClock_ColorBase
Создано системой
1.13.2