5 const string HIT_SOUND =
"AlarmClock_Hit_SoundSet";
40 return "TriggerKitchenTimer";
55 return "KitchenTimer_Ring_End_SoundSet";
106 SetAnimationPhaseNow(
"ClockAlarm",
time01);
135 super.OnRingingStopClient();
141 if (!
super.OnStoreLoad(
ctx, version))
181 SetAnimationPhaseNow(
"ClockAlarm",
time01);
223 if (
GetGame().IsDedicatedServer())
Param4< int, int, string, int > TSelectableActionInfoWithColor
eBleedingSourceType GetType()
ActionResetKitchenTimerClockCB ActionSingleUseBaseCB ActionResetKitchenTimer()
void AddAction(typename actionName)
EffectSound m_WorkingSound
static const float UPDATE_TICK_RATE
EffectSound m_RingingSoundLoop
class NoiseSystem NoiseParams()
void SetState(bool state)
class JsonUndergroundAreaTriggerData GetPosition
Wrapper class for managing sound through SEffectManager.
override void SetAlarmTimeServer(float time01)
override string GetHitSound()
override string GetDebugText()
void SetAlarmTimeServerSecs(int inSecs)
override string GetDestroyedSound()
const string RINGING_SOUND
int Time01ToSeconds(float time01)
const string DESTROYED_SOUND
EffectSound m_RingingStopSound
override bool OnAction(int action_id, Man player, ParamsReadContext ctx)
override string GetExplosiveTriggerSlotName()
const string WORKING_SOUND
string GetRingingStopSound()
override string GetToggleSound()
static ref NoiseParams m_NoisePar
override void OnStoreSave(ParamsWriteContext ctx)
override float GetRingingDurationMax()
override void SetActions()
void OnRingingStopClient()
float SecondsTo01(int seconds)
override void GetDebugActions(out TSelectableActionInfoArrayEx outputList)
static NoiseSystem m_NoiseSystem
override string GetWorkingSound()
override string GetRingingSound()
override bool OnStoreLoad(ParamsReadContext ctx, int version)
Manager class for managing Effect (EffectParticle, EffectSound)
static void DestroyEffect(Effect effect)
Unregisters, stops and frees the Effect.
Serialization general interface. Serializer API works with:
proto native CGame GetGame()
static proto float Lerp(float a, float b, float time)
Linearly interpolates between 'a' and 'b' given 'time'.
static proto float InverseLerp(float a, float b, float value)
Calculates the linear value that produces the interpolant value within the range [a,...
const int SAT_DEBUG_ACTION