13enum EPlayerSoundEventParam
117 player.GetMovementState(
m_Hms);
123 if (player.m_IsDrowning || (player.IsSwimming() &&
m_Hms.m_iMovement != 0))
139 if (param & EPlayerSoundEventParam.HIGHEST_PRIORITY)
168 super.OnPlay(player);
170 player.OnVoiceEvent(
this);
eBleedingSourceType m_Type
override bool HasHoldBreathException()
void OnTick(PlayerBase player, float deltaT)
EPlayerSoundEventType GetPriorityOverTypes()
enum EPlayerSoundEventType HIGHEST_PRIORITY
enum EPlayerSoundEventType SKIP_CONTROLLED_PLAYER
void ~PlayerSoundEventBase()
ref HumanMovementState m_Hms
EPlayerSoundEventType m_HasPriorityOverTypes
bool m_ProcessPlaybackEvent
void InitEx(PlayerBase player, int param)
void PlayerSoundEventBase()
int GetSoundVoiceAnimEventClassID()
static proto native void SendEvent(StatsEventData data)
universal analytics event
AbstractWave m_SoundSetCallback
bool IsSoundCallbackExist()
int m_SoundVoiceAnimEventClassID
proto int GetTime()
returns mission time in milliseconds
override bool HasPriorityOverCurrent(PlayerBase player, EPlayerSoundEventID other_state_id, EPlayerSoundEventType type_other)
override bool HasHoldBreathException()
proto bool Insert(func fn, int flags=EScriptInvokerInsertFlags.IMMEDIATE)
insert method to list
proto native CGame GetGame()
static proto float Clamp(float value, float min, float max)
Clamps 'value' to 'min' if it is lower than 'min', or to 'max' if it is higher than 'max'.
ref ScriptInvoker Event_OnSoundWaveEnded
ref ScriptInvoker Event_OnSoundWaveStopped