DayZ 1.24
|
Go to the source code of this file.
Enumerations | |
enum | EAlarmClockState { UNSET , SET , RINGING , COUNT } |
|
protected |
Definition at line 203 of file ClockBase.c.
Referenced by OnRingingStartServer().
|
protected |
Definition at line 196 of file ClockBase.c.
References m_RingingDuration, SetState(), and SetupTimerServer().
void ClockBase | ( | ) |
Definition at line 27 of file ClockBase.c.
References Init().
Definition at line 70 of file ClockBase.c.
References Math::Lerp().
Definition at line 65 of file ClockBase.c.
References Math::Lerp().
Referenced by GetAlarmInMin(), and AlarmClock_ColorBase::OnUpdate().
Definition at line 75 of file ClockBase.c.
References Math::InverseLerp().
Referenced by SetAlarmInXMins().
Definition at line 81 of file ClockBase.c.
Referenced by GetAlarmInMin(), AlarmClock_ColorBase::OnUpdate(), and SetAlarmInXMins().
|
protected |
|
protected |
Definition at line 124 of file ClockBase.c.
References component, GetHitSound(), and m_HitSound.
|
protected |
Definition at line 53 of file ClockBase.c.
References ConvertAlarmHand01ToMins12h(), ConvertTimeToMins12h(), GetGame(), GetTimeDiffInMins12h(), and m_AlarmTime01.
Referenced by AlarmClock_ColorBase::GetDebugText().
|
protected |
Definition at line 109 of file ClockBase.c.
Referenced by OnDamageDestroyed().
|
protected |
Definition at line 105 of file ClockBase.c.
Referenced by EEHitByRemote().
|
protected |
Definition at line 173 of file ClockBase.c.
References RINGING_DURATION_MAX.
Referenced by AlarmClock_ColorBase::GetDebugText(), and AlarmClock_ColorBase::OnUpdate().
|
protected |
Definition at line 101 of file ClockBase.c.
Referenced by OnRingingStartClient().
|
protected |
Definition at line 97 of file ClockBase.c.
Referenced by OnVariablesSynchronized().
|
protected |
Definition at line 113 of file ClockBase.c.
Referenced by OnVariablesSynchronized().
void Init | ( | ) |
Launched from 'DayZGame.DeferredInit' to make earlier access, use, and updates impossible (downside of a non-static system)
pre-init arrays
Definition at line 41 of file ClockBase.c.
|
protected |
Definition at line 274 of file ClockBase.c.
References m_State.
Referenced by AlarmClock_ColorBase::OnUpdate().
|
protected |
Definition at line 269 of file ClockBase.c.
References m_State.
Referenced by AlarmClock_ColorBase::OnUpdate(), KitchenTimer::OnUpdate(), and TurnOff().
|
protected |
Definition at line 213 of file ClockBase.c.
References m_TimerUpdate, OnRingingStartServer(), SetState(), and SetupTimerServer().
Referenced by AlarmClock_ColorBase::OnDebugSpawn(), AlarmClock_ColorBase::OnStoreLoad(), KitchenTimer::OnStoreLoad(), AlarmClock_ColorBase::OnUpdate(), and KitchenTimer::OnUpdate().
|
protected |
Definition at line 222 of file ClockBase.c.
References OnRingingStopServer(), and SetState().
Referenced by KitchenTimer::OnUpdate(), and TurnOff().
Definition at line 130 of file ClockBase.c.
References GetDestroyedSound(), GetGame(), m_DestoryedSound, and OnRingingStopClient().
|
protected |
Definition at line 148 of file ClockBase.c.
References SEffectManager::DestroyEffect(), GetRingingSound(), m_RingingSoundLoop, and m_WorkingSound.
Referenced by OnVariablesSynchronized().
|
protected |
Definition at line 143 of file ClockBase.c.
References ActivateParent().
Referenced by MakeRingingStart().
|
protected |
Definition at line 158 of file ClockBase.c.
References SEffectManager::DestroyEffect(), and m_RingingSoundLoop.
Referenced by OnDamageDestroyed(), OnVariablesSynchronized(), and AlarmClock_ColorBase::~AlarmClock_ColorBase().
|
protected |
Referenced by MakeRingingStop().
Definition at line 233 of file ClockBase.c.
References SEffectManager::DestroyEffect(), GetToggleSound(), GetWorkingSound(), IsInitialized(), m_State, m_StatePrev, m_TurnOnSound, m_WorkingSound, OnRingingStartClient(), and OnRingingStopClient().
Definition at line 46 of file ClockBase.c.
References ActionAttachExplosivesTrigger(), and AddAction().
Definition at line 163 of file ClockBase.c.
References Arm(), ConvertMins12hToAlarmHand01(), ConvertTimeToMins12h(), GetGame(), and SetAlarmTimeServer().
Referenced by AlarmClock_ColorBase::OnAction().
Definition at line 294 of file ClockBase.c.
References m_AlarmTime01.
Referenced by AlarmClock_ColorBase::OnStoreLoad(), and SetAlarmInXMins().
|
protected |
Definition at line 185 of file ClockBase.c.
References m_State.
|
protected |
Definition at line 179 of file ClockBase.c.
References m_TimerUpdate, and UPDATE_TICK_RATE.
Referenced by Arm(), and MakeRingingStart().
|
protected |
Definition at line 284 of file ClockBase.c.
References Disarm(), IsRinging(), m_TimerUpdate, and MakeRingingStop().
Referenced by EEKilled(), and AlarmClock_ColorBase::OnUpdate().
|
protected |
|
protected |
Definition at line 279 of file ClockBase.c.
References Arm().
Referenced by AlarmClock_ColorBase::OnDebugSpawn(), AlarmClock_ColorBase::OnStoreLoad(), and KitchenTimer::SetAlarmTimeServer().
|
protected |
Definition at line 32 of file ClockBase.c.
References SEffectManager::DestroyEffect(), m_DestoryedSound, m_HitSound, m_RingingSoundLoop, m_TurnOnSound, and m_WorkingSound.
enum EAlarmClockState m_AlarmTime01 |
EffectSound m_DestoryedSound |
Definition at line 21 of file ClockBase.c.
Referenced by OnDamageDestroyed(), and ~ClockBase().
EffectSound m_HitSound |
Definition at line 22 of file ClockBase.c.
Referenced by EEHitByRemote(), and ~ClockBase().
float m_RingingDuration |
Definition at line 16 of file ClockBase.c.
Referenced by Arm(), AlarmClock_ColorBase::GetDebugText(), KitchenTimer::GetDebugText(), AlarmClock_ColorBase::OnUpdate(), and KitchenTimer::OnUpdate().
EffectSound m_RingingSoundLoop |
Definition at line 19 of file ClockBase.c.
Referenced by OnRingingStartClient(), OnRingingStopClient(), KitchenTimer::OnRingingStopClient(), and ~ClockBase().
int m_State = EAlarmClockState.UNSET |
Definition at line 13 of file ClockBase.c.
int m_StatePrev = -1 |
Definition at line 17 of file ClockBase.c.
Referenced by OnVariablesSynchronized(), and SetState().
Definition at line 15 of file ClockBase.c.
Referenced by Init(), MakeRingingStart(), SetupTimerServer(), TurnOff(), and ~HudDebug().
EffectSound m_TurnOnSound |
Definition at line 20 of file ClockBase.c.
Referenced by OnVariablesSynchronized(), and ~ClockBase().
EffectSound m_WorkingSound |
Definition at line 23 of file ClockBase.c.
Referenced by OnRingingStartClient(), OnVariablesSynchronized(), KitchenTimer::TurnOff(), and ~ClockBase().
Definition at line 25 of file ClockBase.c.
Referenced by GetRingingDurationMax().
Definition at line 14 of file ClockBase.c.
Referenced by AlarmClock_ColorBase::OnUpdate(), KitchenTimer::OnUpdate(), and SetupTimerServer().