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

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

void ActionSetKitchenTimer ()
 
override void CreateConditionComponents ()
 
override bool HasProneException ()
 
override bool HasTarget ()
 
override bool ActionCondition (PlayerBase player, ActionTarget target, ItemBase item)
 
override void OnEndServer (ActionData action_data)
 
override void OnEndAnimationLoopServer (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)
 

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

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

◆ ActionSetKitchenTimer()

void ActionSetKitchenTimer ( )
inlineprivate
16 {
17 m_CommandUID = DayZPlayerConstants.CMD_ACTIONMOD_SET_KITCHENTIMER;
18 m_CommandUIDProne = DayZPlayerConstants.CMD_ACTIONMOD_SET_KITCHENTIMER;
20
22 m_Text = "#STR_SetTimer0";
23 }
string m_Text
Definition ActionBase.c:58
float m_SpecialtyWeight
Definition ActionBase.c:77
Definition ActionSetKitchenTimer.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
43 {
44 return true;
45 }

◆ 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 }

◆ OnEndAnimationLoopServer()

override void OnEndAnimationLoopServer ( ActionData action_data)
inlineprivate
57 {
58
59 }

◆ OnEndServer()

override void OnEndServer ( ActionData action_data)
inlineprivate
48 {
49 super.OnEndServer(action_data);
50
51 float progress = action_data.m_Callback.GetActionComponentProgress();
52 KitchenTimer clock = KitchenTimer.Cast(action_data.m_MainItem);
53 clock.SetAlarmTimeServer(progress);
54 }
Definition KitchenTimer.c:2
Definition EntityAI.c:95

◆ OnUpdate()

override void OnUpdate ( ActionData action_data)
inlineprivate
62 {
63 float progress = action_data.m_Callback.GetActionComponentProgress();
64 KitchenTimer clock = KitchenTimer.Cast(action_data.m_MainItem);
65 clock.SetAnimationPhaseNow("ClockAlarm", progress);
66 }

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