DayZ 1.26
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
Класс ActionSetAlarmClock
+ Граф наследования:ActionSetAlarmClock:

Закрытые члены

void ActionSetAlarmClock ()
 
override void CreateConditionComponents ()
 
override bool HasProneException ()
 
override bool HasTarget ()
 
override void OnStart (ActionData action_data)
 
override bool ActionCondition (PlayerBase player, ActionTarget target, ItemBase item)
 
override void OnEndServer (ActionData action_data)
 
override void OnUpdate (ActionData action_data)
 
- Закрытые члены унаследованные от ActionContinuousBase
void OnStartAnimationLoopServer (ActionData action_data)
 
void OnStartAnimationLoopClient (ActionData action_data)
 
void OnEndAnimationLoopServer (ActionData action_data)
 
void OnEndAnimationLoopClient (ActionData action_data)
 
void OnFinishProgressServer (ActionData action_data)
 
void OnFinishProgressClient (ActionData action_data)
 

Подробное описание

Конструктор(ы)

◆ ActionSetAlarmClock()

void ActionSetAlarmClock ( )
inlineprivate
16 {
17 m_CommandUID = DayZPlayerConstants.CMD_ACTIONMOD_SET_ALARM;
18 m_CommandUIDProne = DayZPlayerConstants.CMD_ACTIONFB_SET_ALARM;
20
22 m_Text = "#STR_SetAlarm0";
23 }
string m_Text
Definition ActionBase.c:58
float m_SpecialtyWeight
Definition ActionBase.c:77
Definition ActionSetAlarmClock.c:2
int m_CommandUIDProne
Definition AnimatedActionBase.c:144
int m_CommandUID
Definition AnimatedActionBase.c:143
m_CallbackClass
Definition AnimatedActionBase.c:145
DayZPlayerConstants
defined in C++
Definition dayzplayer.c:602

Перекрестные ссылки AnimatedActionBase::m_CallbackClass, AnimatedActionBase::m_CommandUID, AnimatedActionBase::m_CommandUIDProne, ActionBase::m_SpecialtyWeight и ActionBase::m_Text.

Методы

◆ ActionCondition()

override bool ActionCondition ( PlayerBase player,
ActionTarget target,
ItemBase item )
inlineprivate
46 {
47 return true;
48 }

◆ CreateConditionComponents()

override void CreateConditionComponents ( )
inlineprivate
26 {
29 }
ref CCIBase m_ConditionItem
Definition ActionBase.c:64
ref CCTBase m_ConditionTarget
Definition ActionBase.c:65
Definition CCINonRuined.c:2
Definition CCTSelf.c:2

Перекрестные ссылки ActionBase::m_ConditionItem и ActionBase::m_ConditionTarget.

◆ HasProneException()

override bool HasProneException ( )
inlineprivate
32 {
33 return true;
34 }

◆ HasTarget()

override bool HasTarget ( )
inlineprivate
37 {
38 return false;
39 }

◆ OnEndServer()

override void OnEndServer ( ActionData action_data)
inlineprivate
51 {
52 super.OnEndServer(action_data);
53
54 float progress = action_data.m_Callback.GetActionComponentProgress();
56 clock.SetAlarmTimeServer(progress);
57 }
Definition AlarmClock.c:2
Definition EntityAI.c:95

◆ OnStart()

override void OnStart ( ActionData action_data)
inlineprivate
42 {
43 }

◆ OnUpdate()

override void OnUpdate ( ActionData action_data)
inlineprivate
60 {
61 if (action_data.m_Callback)
62 {
63 float progress = action_data.m_Callback.GetActionComponentProgress();
65 alarm.SetAnimationPhaseNow("ClockAlarm", progress);
66 }
67 }

Объявления и описания членов класса находятся в файле: