Dayz Explorer 1.29.162510
Loading...
Searching...
No Matches
replacesoundeventhandler.c File Reference

Go to the source code of this file.

Enumerations

enum  ESoundEventType { SOUND_COMMON , SOUND_ATTACHMENT , SOUND_VOICE }

Functions

void ReplaceSoundEventHandler (PlayerBase player)
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 CLEANHANDS_SECONDARY = 1
enum ESoundEventType EAT_DEFAULT = 1
enum ESoundEventType ESoundEventType = 1
enum ESoundEventType int = 1
enum ESoundEventType m_MainReplaceMap = new map<ESoundEventType, ref map<int, ref ReplaceSoundEventBase> >
PlayerBase m_Player
ref Timer m_UpdateTimer

Enumeration Type Documentation

◆ ESoundEventType

Enumerator
SOUND_COMMON 
SOUND_ATTACHMENT 
SOUND_VOICE 

Definition at line 1 of file replacesoundeventhandler.c.

Function Documentation

◆ GetSoundEventByID()

ReplaceSoundEventBase GetSoundEventByID ( int id,
ESoundEventType soundType )
protected

Definition at line 65 of file replacesoundeventhandler.c.

◆ GetSoundEventID()

int GetSoundEventID ( int anim_id,
ESoundEventType soundType )
protected

Definition at line 53 of file replacesoundeventhandler.c.

◆ PlayReplaceSound()

bool PlayReplaceSound ( int soundEventID,
ESoundEventType soundType,
int flags )
protected

Definition at line 79 of file replacesoundeventhandler.c.

◆ RegisterEvent()

void RegisterEvent ( ReplaceSoundEventBase soundEvent)
protected

Definition at line 40 of file replacesoundeventhandler.c.

◆ ReplaceSoundEventHandler()

void ReplaceSoundEventHandler ( PlayerBase player)
protected

Definition at line 27 of file replacesoundeventhandler.c.

Variable Documentation

◆ CLEANHANDS_PRIMARY

enum ESoundEventType CLEANHANDS_PRIMARY = 1

◆ CLEANHANDS_SECONDARY

enum ESoundEventType CLEANHANDS_SECONDARY = 1

◆ DIG_PRIMARY

enum ESoundEventType DIG_PRIMARY = 1

◆ DIG_SECONDARY

enum ESoundEventType DIG_SECONDARY = 1

◆ EAT_DEFAULT

enum ESoundEventType EAT_DEFAULT = 1

◆ ESoundEventType

◆ int

enum ESoundEventType int = 1

◆ m_MainReplaceMap

enum ESoundEventType m_MainReplaceMap = new map<ESoundEventType, ref map<int, ref ReplaceSoundEventBase> >

◆ m_Player

PlayerBase m_Player
protected

Definition at line 24 of file replacesoundeventhandler.c.

◆ m_UpdateTimer

ref Timer m_UpdateTimer
protected

Definition at line 25 of file replacesoundeventhandler.c.