Dayz Explorer 1.28.160049
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 int = 1
 
enum ESoundEventType m_SoundEventReplaceMaps = {}
 
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 61 of file replacesoundeventhandler.c.

◆ GetSoundEventID()

int GetSoundEventID ( int anim_id,
ESoundEventType soundType )
protected

Definition at line 49 of file replacesoundeventhandler.c.

◆ PlayReplaceSound()

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

Definition at line 75 of file replacesoundeventhandler.c.

◆ RegisterEvent()

void RegisterEvent ( ReplaceSoundEventBase soundEvent)
protected

Definition at line 36 of file replacesoundeventhandler.c.

◆ ReplaceSoundEventHandler()

void ReplaceSoundEventHandler ( PlayerBase player)
protected

Definition at line 25 of file replacesoundeventhandler.c.

Variable Documentation

◆ CLEANHANDS_PRIMARY

enum ESoundEventType CLEANHANDS_PRIMARY = 1

◆ DIG_PRIMARY

enum ESoundEventType DIG_PRIMARY = 1

◆ DIG_SECONDARY

enum ESoundEventType DIG_SECONDARY = 1

◆ int

enum ESoundEventType int = 1

◆ m_Player

PlayerBase m_Player
protected

Definition at line 22 of file replacesoundeventhandler.c.

◆ m_SoundEventReplaceMaps

enum ESoundEventType m_SoundEventReplaceMaps = {}

◆ m_UpdateTimer

ref Timer m_UpdateTimer
protected

Definition at line 23 of file replacesoundeventhandler.c.