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

Private Member Functions

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)
 
- 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 ActionSetAlarmClock.c.

Constructor & Destructor Documentation

◆ ActionSetAlarmClock()

void ActionSetAlarmClock::ActionSetAlarmClock ( )
inlineprivate

Member Function Documentation

◆ ActionCondition()

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

Definition at line 45 of file ActionSetAlarmClock.c.

46 {
47 return true;
48 }

◆ CreateConditionComponents()

override void ActionSetAlarmClock::CreateConditionComponents ( )
inlineprivate

Definition at line 25 of file ActionSetAlarmClock.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 ActionSetAlarmClock::HasProneException ( )
inlineprivate

Definition at line 31 of file ActionSetAlarmClock.c.

32 {
33 return true;
34 }

◆ HasTarget()

override bool ActionSetAlarmClock::HasTarget ( )
inlineprivate

Definition at line 36 of file ActionSetAlarmClock.c.

37 {
38 return false;
39 }

◆ OnEndServer()

override void ActionSetAlarmClock::OnEndServer ( ActionData action_data)
inlineprivate

Definition at line 50 of file ActionSetAlarmClock.c.

51 {
52 float progress = action_data.m_Callback.GetActionComponentProgress();
54 clock.SetAlarmTimeServer(progress);
55 }

◆ OnStart()

override void ActionSetAlarmClock::OnStart ( ActionData action_data)
inlineprivate

Definition at line 41 of file ActionSetAlarmClock.c.

42 {
43 }

◆ OnUpdate()

override void ActionSetAlarmClock::OnUpdate ( ActionData action_data)
inlineprivate

Definition at line 57 of file ActionSetAlarmClock.c.

58 {
59 if (action_data.m_Callback)
60 {
61 float progress = action_data.m_Callback.GetActionComponentProgress();
63 alarm.SetAnimationPhaseNow("ClockAlarm", progress);
64 }
65 }

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