![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Go to the source code of this file.
Enumerations | |
| enum | EAlarmClockState { UNSET , SET , RINGING , COUNT } |
Variables | |
| enum EAlarmClockState | m_AlarmTime01 |
| EffectSound | m_DestoryedSound |
| EffectSound | m_HitSound |
| float | m_RingingDuration |
| EffectSound | m_RingingSoundLoop |
| int | m_State = EAlarmClockState.UNSET |
| int | m_StatePrev = -1 |
| ref Timer | m_TimerUpdate |
| EffectSound | m_TurnOnSound |
| EffectSound | m_WorkingSound |
| const float | RINGING_DURATION_MAX = 60 |
| static const float | UPDATE_TICK_RATE = 1 |
| enum EAlarmClockState |
| Enumerator | |
|---|---|
| UNSET | |
| SET | |
| RINGING | |
| COUNT | |
Definition at line 1 of file clockbase.c.
| void ~ClockBase | ( | ) |
Definition at line 32 of file clockbase.c.
References SEffectManager::DestroyEffect(), m_DestoryedSound, m_HitSound, m_RingingSoundLoop, m_TurnOnSound, and m_WorkingSound.
|
protected |
Definition at line 211 of file clockbase.c.
Referenced by OnRingingStartServer().
|
protected |
Definition at line 204 of file clockbase.c.
References m_RingingDuration, SetState(), and SetupTimerServer().
| void ClockBase | ( | ) |
Definition at line 27 of file clockbase.c.
References Init().
Referenced by ActionCondition(), Plastic_Explosive::CanReceiveAttachment(), ImprovisedExplosive::OnActivatedByItem(), ImprovisedExplosive::OnDisarmed(), OnExecuteServer(), and ImprovisedExplosive::OnTriggerAttached().
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 128 of file clockbase.c.
References component, GetHitSound(), and m_HitSound.
|
protected |
Definition at line 122 of file clockbase.c.
References TurnOff().
|
protected |
Definition at line 53 of file clockbase.c.
References ConvertAlarmHand01ToMins12h(), ConvertTimeToMins12h(), g_Game, GetTimeDiffInMins12h(), and m_AlarmTime01.
Referenced by AlarmClock_ColorBase::GetDebugText().
|
protected |
Definition at line 113 of file clockbase.c.
Referenced by OnDamageDestroyed().
|
protected |
Definition at line 109 of file clockbase.c.
Referenced by EEHitByRemote().
|
protected |
Definition at line 181 of file clockbase.c.
References RINGING_DURATION_MAX.
Referenced by AlarmClock_ColorBase::GetDebugText(), and AlarmClock_ColorBase::OnUpdate().
|
protected |
Definition at line 105 of file clockbase.c.
Referenced by OnRingingStartClient().
Definition at line 88 of file clockbase.c.
Referenced by GetAlarmInMin().
|
protected |
Definition at line 101 of file clockbase.c.
Referenced by OnVariablesSynchronized().
|
protected |
Definition at line 117 of file clockbase.c.
Referenced by OnVariablesSynchronized().
| void Init | ( | ) |
Definition at line 41 of file clockbase.c.
|
protected |
Definition at line 296 of file clockbase.c.
References m_State.
Referenced by AlarmClock_ColorBase::OnUpdate().
|
protected |
Definition at line 291 of file clockbase.c.
References m_State.
Referenced by AlarmClock_ColorBase::OnUpdate(), KitchenTimer::OnUpdate(), and TurnOff().
|
protected |
Definition at line 223 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 232 of file clockbase.c.
References OnRingingStopServer(), and SetState().
Referenced by KitchenTimer::OnUpdate(), and TurnOff().
|
protected |
Definition at line 134 of file clockbase.c.
References g_Game, GetDestroyedSound(), m_DestoryedSound, and OnRingingStopClient().
|
protected |
Definition at line 154 of file clockbase.c.
References SEffectManager::DestroyEffect(), GetRingingSound(), m_RingingSoundLoop, and m_WorkingSound.
Referenced by OnVariablesSynchronized().
|
protected |
Definition at line 149 of file clockbase.c.
References ActivateParent().
Referenced by MakeRingingStart().
|
protected |
Definition at line 166 of file clockbase.c.
References SEffectManager::DestroyEffect(), and m_RingingSoundLoop.
Referenced by AlarmClock_ColorBase::~AlarmClock_ColorBase(), OnDamageDestroyed(), and OnVariablesSynchronized().
|
protected |
Referenced by MakeRingingStop().
|
protected |
Definition at line 243 of file clockbase.c.
References SEffectManager::DestroyEffect(), GetToggleSound(), GetWorkingSound(), IsInitialized(), m_State, m_StatePrev, m_TurnOnSound, m_WorkingSound, OnRingingStartClient(), and OnRingingStopClient().
| override void SetActions | ( | ) |
Definition at line 46 of file clockbase.c.
References ActionAttachExplosivesTrigger(), and AddAction().
|
protected |
Definition at line 171 of file clockbase.c.
References Arm(), ConvertMins12hToAlarmHand01(), ConvertTimeToMins12h(), g_Game, and SetAlarmTimeServer().
Referenced by AlarmClock_ColorBase::OnAction().
|
protected |
Definition at line 320 of file clockbase.c.
References m_AlarmTime01.
Referenced by AlarmClock_ColorBase::OnStoreLoad(), and SetAlarmInXMins().
|
protected |
Definition at line 193 of file clockbase.c.
References m_State.
|
protected |
Definition at line 187 of file clockbase.c.
References m_TimerUpdate, and UPDATE_TICK_RATE.
Referenced by Arm(), and MakeRingingStart().
|
protected |
Definition at line 306 of file clockbase.c.
References Disarm(), IsRinging(), m_TimerUpdate, and MakeRingingStop().
Referenced by EEKilled(), and AlarmClock_ColorBase::OnUpdate().
|
protected |
|
protected |
Definition at line 301 of file clockbase.c.
References Arm().
Referenced by AlarmClock_ColorBase::OnDebugSpawn(), AlarmClock_ColorBase::OnStoreLoad(), and KitchenTimer::SetAlarmTimeServer().
|
protected |
| enum EAlarmClockState m_AlarmTime01 |
| EffectSound m_DestoryedSound |
Definition at line 21 of file clockbase.c.
Referenced by ~ClockBase(), and OnDamageDestroyed().
| EffectSound m_HitSound |
Definition at line 22 of file clockbase.c.
Referenced by ~ClockBase(), and EEHitByRemote().
| 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 ~ClockBase(), OnRingingStartClient(), KitchenTimer::OnRingingStopClient(), and OnRingingStopClient().
| 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().
| ref Timer m_TimerUpdate |
Definition at line 15 of file clockbase.c.
Referenced by ~HudDebug(), Init(), MakeRingingStart(), SetupTimerServer(), and TurnOff().
| EffectSound m_TurnOnSound |
Definition at line 20 of file clockbase.c.
Referenced by ~ClockBase(), and OnVariablesSynchronized().
| EffectSound m_WorkingSound |
Definition at line 23 of file clockbase.c.
Referenced by ~ClockBase(), OnRingingStartClient(), OnVariablesSynchronized(), and KitchenTimer::TurnOff().
| const float RINGING_DURATION_MAX = 60 |
Definition at line 25 of file clockbase.c.
Referenced by GetRingingDurationMax().
|
static |
Definition at line 14 of file clockbase.c.
Referenced by AlarmClock_ColorBase::OnUpdate(), KitchenTimer::OnUpdate(), and SetupTimerServer().