Enumerations | |
enum | ESoundEventType { SOUND_COMMON , SOUND_ATTACHMENT , SOUND_VOICE } |
Functions | |
void | ReplaceSoundEventHandler (PlayerBase player) |
protected void | RegisterEvent (ReplaceSoundEventBase soundEvent) |
int | GetSoundEventID (int anim_id, ESoundEventType soundType) |
ReplaceSoundEventBase | GetSoundEventByID (int id, ESoundEventType soundType) |
bool | PlayReplaceSound (int soundEventID, ESoundEventType soundType, int flags) |
Variables | |
enum ESoundEventType | DIG_PRIMARY = 1 |
enum ESoundEventType | DIG_SECONDARY = 1 |
enum ESoundEventType | CLEANHANDS_PRIMARY = 1 |
enum ESoundEventType | int = 1 |
enum ESoundEventType | m_SoundEventReplaceMaps = {} |
protected PlayerBase | m_Player |
protected ref Timer | m_UpdateTimer |
enum ESoundEventType |
ReplaceSoundEventBase GetSoundEventByID | ( | int | id, |
ESoundEventType | soundType | ||
) |
References m_SoundEventReplaceMaps.
Referenced by PlayReplaceSound().
int GetSoundEventID | ( | int | anim_id, |
ESoundEventType | soundType | ||
) |
References ReplaceSoundEventBase::GetSoundEventID(), and m_SoundEventReplaceMaps.
bool PlayReplaceSound | ( | int | soundEventID, |
ESoundEventType | soundType, | ||
int | flags | ||
) |
References GetSoundEventByID(), ReplaceSoundEventBase::Init(), m_Player, and ReplaceSoundEventBase::Play().
protected void RegisterEvent | ( | ReplaceSoundEventBase | soundEvent | ) |
void ReplaceSoundEventHandler | ( | PlayerBase | player | ) |
References CleanHandsPrimarySoundEvent(), CleanHandsSecondarySoundEvent, DigPrimarySoundEvent(), DigSecondarySoundEvent, m_Player, and RegisterEvent().
Referenced by ManBase::OnPlayerLoaded().
enum ESoundEventType CLEANHANDS_PRIMARY = 1 |
enum ESoundEventType DIG_PRIMARY = 1 |
enum ESoundEventType DIG_SECONDARY = 1 |
enum ESoundEventType int = 1 |
protected PlayerBase m_Player |
enum ESoundEventType m_SoundEventReplaceMaps = {} |
Referenced by GetSoundEventByID(), GetSoundEventID(), and RegisterEvent().
protected ref Timer m_UpdateTimer |