DayZ 1.24
Loading...
Searching...
No Matches
ActionSetKitchenTimer Class Reference
Inheritance diagram for ActionSetKitchenTimer:
[legend]
Collaboration diagram for ActionSetKitchenTimer:
[legend]

Private Member Functions

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)
 
- Private Member Functions inherited from 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)
 

Detailed Description

Definition at line 13 of file ActionSetKitchenTimer.c.

Constructor & Destructor Documentation

◆ ActionSetKitchenTimer()

void ActionSetKitchenTimer::ActionSetKitchenTimer ( )
inlineprivate

Member Function Documentation

◆ ActionCondition()

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

Definition at line 42 of file ActionSetKitchenTimer.c.

43 {
44 return true;
45 }

◆ CreateConditionComponents()

override void ActionSetKitchenTimer::CreateConditionComponents ( )
inlineprivate

Definition at line 25 of file ActionSetKitchenTimer.c.

26 {
29 }
ref CCIBase m_ConditionItem
Definition ActionBase.c:55
ref CCTBase m_ConditionTarget
Definition ActionBase.c:56

References m_ConditionItem, and m_ConditionTarget.

◆ HasProneException()

override bool ActionSetKitchenTimer::HasProneException ( )
inlineprivate

Definition at line 31 of file ActionSetKitchenTimer.c.

32 {
33 return true;
34 }

◆ HasTarget()

override bool ActionSetKitchenTimer::HasTarget ( )
inlineprivate

Definition at line 36 of file ActionSetKitchenTimer.c.

37 {
38 return false;
39 }

◆ OnEndAnimationLoopServer()

override void ActionSetKitchenTimer::OnEndAnimationLoopServer ( ActionData action_data)
inlineprivate

Definition at line 54 of file ActionSetKitchenTimer.c.

55 {
56
57 }

◆ OnEndServer()

override void ActionSetKitchenTimer::OnEndServer ( ActionData action_data)
inlineprivate

Definition at line 47 of file ActionSetKitchenTimer.c.

48 {
49 float progress = action_data.m_Callback.GetActionComponentProgress();
50 KitchenTimer clock = KitchenTimer.Cast(action_data.m_MainItem);
51 clock.SetAlarmTimeServer(progress);
52 }

◆ OnUpdate()

override void ActionSetKitchenTimer::OnUpdate ( ActionData action_data)
inlineprivate

Definition at line 59 of file ActionSetKitchenTimer.c.

60 {
61 float progress = action_data.m_Callback.GetActionComponentProgress();
62 KitchenTimer clock = KitchenTimer.Cast(action_data.m_MainItem);
63 clock.SetAnimationPhaseNow("ClockAlarm", progress);
64 }

The documentation for this class was generated from the following file: