class ClockBaseSource
ClockBase › Inventory_Base › ItemBase › InventoryItem › EntityAI › Entity › ObjectTyped › Object › IEntity › Managed
Derived classes
All members, including inherited
Constructors 2
void ClockBase()References Init()
void ~ClockBase()References SEffectManager.DestroyEffect(), m_DestoryedSound, m_HitSound
Show 3 more
, m_RingingSoundLoop, m_TurnOnSound, and m_WorkingSoundConstants 2
static const float UPDATE_TICK_RATE = 1Clock update tick frequency
const float RINGING_DURATION_MAX = 60in secs, at or past this value, the clock stops ringing
Referenced by GetRingingDurationMax()
Members 10
float m_AlarmTime01Referenced by AlarmClock_ColorBase.OnStoreSave(), AlarmClock_ColorBase.OnUpdate(), GetAlarmInMin()
Show 1 more
, SetAlarmTimeServer()int m_State = EAlarmClockState.UNSETref Timer m_TimerUpdatefloat m_RingingDurationReferenced by AlarmClock_ColorBase.GetDebugText(), AlarmClock_ColorBase.OnUpdate(), Arm()
Show 2 more
, KitchenTimer.GetDebugText(), and KitchenTimer.OnUpdate()int m_StatePrev = -1Referenced by OnVariablesSynchronized()
EffectSound m_RingingSoundLoopReferenced by ~ClockBase(), OnRingingStartClient(), OnRingingStopClient()
Show 1 more
, KitchenTimer.OnRingingStopClient()EffectSound m_TurnOnSoundEffectSound m_DestoryedSoundEffectSound m_HitSoundEffectSound m_WorkingSoundReferenced by ~ClockBase(), OnRingingStartClient(), OnVariablesSynchronized()
Show 1 more
, KitchenTimer.TurnOff()Methods 37
void Init()References EntityAI.RegisterNetSyncVariableInt()
override void SetActions()protected int GetAlarmInMin()References ConvertAlarmHand01ToMins12h(), ConvertTimeToMins12h(), World.GetDate()
Show 3 more
, GetTimeDiffInMins12h(), CGame.GetWorld(), and m_AlarmTime01Referenced by AlarmClock_ColorBase.GetDebugText()
References Math.Lerp()
References Math.Lerp()
References Math.InverseLerp()
Referenced by SetAlarmInXMins()
Referenced by GetAlarmInMin()
string GetToggleSound()Referenced by OnVariablesSynchronized()
string GetRingingSound()Referenced by OnRingingStartClient()
string GetHitSound()Referenced by EEHitByRemote()
string GetDestroyedSound()Referenced by OnDamageDestroyed()
string GetWorkingSound()Referenced by OnVariablesSynchronized()
override void EEKilled(Object killer)override void OnDamageDestroyed(int oldLevel)References GetDestroyedSound(), CGame.IsClient(), EntityAI.OnDamageDestroyed()
Show 3 more
, OnRingingStopClient(), Object.PlaySoundSet(), and m_DestoryedSoundprotected void OnRingingStartClient()References SEffectManager.DestroyEffect(), GetRingingSound(), Object.PlaySoundSetLoop()
Show 2 more
, m_RingingSoundLoop, and m_WorkingSoundReferenced by OnVariablesSynchronized()
protected void OnRingingStopServer()Referenced by MakeRingingStop()
protected void OnRingingStopClient()Referenced by AlarmClock_ColorBase.~AlarmClock_ColorBase(), OnDamageDestroyed(), OnVariablesSynchronized()
Show 1 more
, KitchenTimer.OnRingingStopClient()void SetAlarmInXMins(int in_mins)References Arm(), ConvertMins12hToAlarmHand01(), ConvertTimeToMins12h()
Show 3 more
, World.GetDate(), CGame.GetWorld(), and SetAlarmTimeServer()Referenced by AlarmClock_ColorBase.OnAction()
float GetRingingDurationMax()References RINGING_DURATION_MAX
protected void SetupTimerServer()protected void SetState(EAlarmClockState state)Referenced by AlarmClock_ColorBase.OnStoreLoad(), Arm(), Disarm()
Show 3 more
, MakeRingingStart(), MakeRingingStop(), and KitchenTimer.OnStoreLoad()protected void Arm()protected void ActivateParent()Referenced by OnRingingStartServer()
protected void MakeRingingStart()Referenced by AlarmClock_ColorBase.OnDebugSpawn(), AlarmClock_ColorBase.OnStoreLoad(), AlarmClock_ColorBase.OnUpdate()
Show 2 more
, KitchenTimer.OnStoreLoad(), and KitchenTimer.OnUpdate()protected void MakeRingingStop()void TurnOnClient()void TurnOffClient()override void OnVariablesSynchronized()void TurnOn()References Arm()
void TurnOff()Referenced by ActionResetKitchenTimer.OnExecuteServer(), ActionTurnOffAlarmClock.OnExecuteServer(), AlarmClock_ColorBase.OnUpdate()
Show 2 more
, EEKilled(), and KitchenTimer.TurnOff()void SetAlarmTimeServer(float time01)Referenced by ActionSetAlarmClock.OnEndServer(), AlarmClock_ColorBase.OnStoreLoad(), and SetAlarmInXMins()