DIFF

class FlashbangEffectSource

Constructors 2

void ~FlashbangEffect()

naive time of the day selector -1: night; 1: day

Constants 3

protected const float ALPHA_MIN = 0.0
protected const float ALPHA_MAX = 1.0
Referenced by FlashbangEffect()
protected const float SOUND_DEFER_TIME = 0.4

SFX will be played ~0.5s AFTER VFX

Referenced by FlashbangEffect()

Members 14

protected float m_HitDuration
protected float m_BreakPoint
protected float m_TimeActive
Referenced by Update()
protected float m_DayTimeToggle
Referenced by FlashbangEffect(), and SetVisual()
protected float m_AlphaMaxActual

actual max alpha of the effect

protected float m_SoundMaxActual

actual max volume of the sound

protected float m_ProgressMultiplier
protected bool m_Visual
protected bool m_Initialized
Referenced by FlashbangEffect(), PlaySound(), SetupFlashbangValues()
Show 1 more, Update()
protected PlayerBase m_Player
protected EffectSound m_FlashbangEffectSound
Referenced by ~FlashbangEffect(), FlashbangEffect(), PlaySound()
Show 1 more, StopSound()
protected float m_SoundStopTime
Referenced by PlaySound(), and Update()
protected ref Timer m_DeferAttenuation

Methods 9

void SetupFlashbangValues(float progress_mult = 1.0, float visual_value_max = 1.0, float sound_value_max = 1.0)
protected void SetAttenuationFilter()
Referenced by PlaySound()
protected void ResetAttenuationFilter()
Referenced by Update()
protected void StopSound()
Referenced by Stop(), and Update()
protected void ClearVisual()
Referenced by ~FlashbangEffect()