13enum EPlayerSoundEventParam
118 player.GetMovementState(
m_Hms);
124 if (player.m_IsDrowning || (player.IsSwimming() &&
m_Hms.m_iMovement != 0))
140 if (param & EPlayerSoundEventParam.HIGHEST_PRIORITY)
169 super.OnPlay(player);
171 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
enum EPlayerSoundEventType STOP_PLAYBACK
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
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
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