DIFF

class KitchenTimerSource

KitchenTimer ClockBase Inventory_Base ItemBase InventoryItem EntityAI Entity ObjectTyped Object IEntity Managed

All members, including inherited

Constants 4

const string RINGING_SOUND = "KitchenTimer_Ring_Loop_SoundSet"
Referenced by GetRingingSound()
const string DESTROYED_SOUND = "AlarmClock_Destroyed_SoundSet"
Referenced by GetDestroyedSound()
const string HIT_SOUND = "AlarmClock_Hit_SoundSet"
Referenced by GetHitSound()
const string WORKING_SOUND = "KitchenTimer_Ticking_Loop_SoundSet"
Referenced by GetWorkingSound()

Members 4

EffectSound m_RingingStopSound
Referenced by OnRingingStopClient()
static ref NoiseParams m_NoisePar
Referenced by Init(), and OnUpdate()
static NoiseSystem m_NoiseSystem
Referenced by Init(), and OnUpdate()
int m_AlarmInSecs
Referenced by GetDebugText(), OnStoreSave(), OnUpdate()
Show 1 more, SetAlarmTimeServer()

Methods 24

override void SetActions()
override string GetExplosiveTriggerSlotName()
override string GetToggleSound()
override string GetRingingSound()
References RINGING_SOUND
string GetRingingStopSound()
Referenced by OnRingingStopClient()
override string GetDestroyedSound()
References DESTROYED_SOUND
override string GetHitSound()
References HIT_SOUND
override string GetWorkingSound()
References WORKING_SOUND
int GetMinutesMax()
Referenced by SecondsTo01(), and Time01ToSeconds()
int Time01ToSeconds(float time01)
Referenced by SetAlarmTimeServer()
float SecondsTo01(int seconds)
override float GetRingingDurationMax()
Referenced by GetDebugText(), and OnUpdate()
override void TurnOff()
Referenced by OnUpdate()
override protected void Disarm()
override protected void OnRingingStopClient()
override void OnStoreSave(ParamsWriteContext ctx)
override void SetAlarmTimeServer(float time01)
void SetAlarmTimeServerSecs(int inSecs)
Referenced by Disarm(), OnAction(), and OnStoreLoad()
override void GetDebugActions(out TSelectableActionInfoArrayEx outputList)
override bool OnAction(int action_id, Man player, ParamsReadContext ctx)