Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
AlarmClock_ColorBase Class Reference
Inheritance diagram for AlarmClock_ColorBase:
AlarmClock_Blue AlarmClock_Green AlarmClock_Red

Protected Member Functions

void AnimateAlarmHand (float value)
override void OnDebugSpawn ()
override bool OnStoreLoad (ParamsReadContext ctx, int version)
override void OnStoreSave (ParamsWriteContext ctx)

Private Member Functions

void ~AlarmClock_ColorBase ()
override void GetDebugActions (out TSelectableActionInfoArrayEx outputList)
override string GetDebugText ()
override string GetDestroyedSound ()
override string GetExplosiveTriggerSlotName ()
override string GetHitSound ()
override string GetRingingSound ()
override string GetToggleSound ()
override void Init ()
override bool OnAction (int action_id, Man player, ParamsReadContext ctx)
void OnUpdate ()
override void SetActions ()

Private Attributes

const string DESTROYED_SOUND = "AlarmClock_Destroyed_SoundSet"
const string HIT_SOUND = "AlarmClock_Hit_SoundSet"
const string RINGING_SOUND = "AlarmClock_Ring_Loop_SoundSet"
const string TURN_TOGGLE_SOUND = "AlarmClock_Turn_Off_SoundSet"

Static Private Attributes

static ref NoiseParams m_NoisePar
static NoiseSystem m_NoiseSystem

Detailed Description

Definition at line 1 of file alarmclock.c.

Constructor & Destructor Documentation

◆ ~AlarmClock_ColorBase()

void ~AlarmClock_ColorBase ( )
inlineprivate

Definition at line 27 of file alarmclock.c.

References OnRingingStopClient().

Member Function Documentation

◆ AnimateAlarmHand()

void AnimateAlarmHand ( float value)
inlineprotected

Definition at line 145 of file alarmclock.c.

◆ GetDebugActions()

override void GetDebugActions ( out TSelectableActionInfoArrayEx outputList)
inlineprivate

Definition at line 69 of file alarmclock.c.

References SAT_DEBUG_ACTION.

◆ GetDebugText()

override string GetDebugText ( )
inlineprivate

◆ GetDestroyedSound()

override string GetDestroyedSound ( )
inlineprivate

Definition at line 54 of file alarmclock.c.

References DESTROYED_SOUND.

◆ GetExplosiveTriggerSlotName()

override string GetExplosiveTriggerSlotName ( )
inlineprivate

Definition at line 64 of file alarmclock.c.

◆ GetHitSound()

override string GetHitSound ( )
inlineprivate

Definition at line 59 of file alarmclock.c.

References HIT_SOUND.

◆ GetRingingSound()

override string GetRingingSound ( )
inlineprivate

Definition at line 49 of file alarmclock.c.

References RINGING_SOUND.

◆ GetToggleSound()

override string GetToggleSound ( )
inlineprivate

Definition at line 44 of file alarmclock.c.

References TURN_TOGGLE_SOUND.

◆ Init()

override void Init ( )
inlineprivate

Definition at line 12 of file alarmclock.c.

References g_Game, GetType(), m_NoisePar, m_NoiseSystem, and NoiseParams().

◆ OnAction()

override bool OnAction ( int action_id,
Man player,
ParamsReadContext ctx )
inlineprivate

Definition at line 77 of file alarmclock.c.

References g_Game, and SetAlarmInXMins().

◆ OnDebugSpawn()

override void OnDebugSpawn ( )
inlineprotected

Definition at line 197 of file alarmclock.c.

References MakeRingingStart(), and TurnOn().

◆ OnStoreLoad()

override bool OnStoreLoad ( ParamsReadContext ctx,
int version )
inlineprotected

◆ OnStoreSave()

override void OnStoreSave ( ParamsWriteContext ctx)
inlineprotected

Definition at line 189 of file alarmclock.c.

References m_AlarmTime01, m_State, and Serializer::Write().

◆ OnUpdate()

◆ SetActions()

override void SetActions ( )
inlineprivate

Definition at line 35 of file alarmclock.c.

References ActionTurnOffAlarmClock(), ActionTurnOnAlarmClock(), and AddAction().

Field Documentation

◆ DESTROYED_SOUND

const string DESTROYED_SOUND = "AlarmClock_Destroyed_SoundSet"
private

Definition at line 5 of file alarmclock.c.

Referenced by GetDestroyedSound().

◆ HIT_SOUND

const string HIT_SOUND = "AlarmClock_Hit_SoundSet"
private

Definition at line 6 of file alarmclock.c.

Referenced by GetHitSound().

◆ m_NoisePar

ref NoiseParams m_NoisePar
staticprivate

Definition at line 9 of file alarmclock.c.

Referenced by Init(), and OnUpdate().

◆ m_NoiseSystem

NoiseSystem m_NoiseSystem
staticprivate

Definition at line 10 of file alarmclock.c.

Referenced by Init(), and OnUpdate().

◆ RINGING_SOUND

const string RINGING_SOUND = "AlarmClock_Ring_Loop_SoundSet"
private

Definition at line 3 of file alarmclock.c.

Referenced by GetRingingSound().

◆ TURN_TOGGLE_SOUND

const string TURN_TOGGLE_SOUND = "AlarmClock_Turn_Off_SoundSet"
private

Definition at line 4 of file alarmclock.c.

Referenced by GetToggleSound().


The documentation for this class was generated from the following file:
  • F:/Games/Dayz/scripts/4_world/entities/itembase/gear/tools/alarmclock.c