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

Go to the source code of this file.

Classes

class  PlayerSoundManagerBase

Enumerations

enum  eSoundHandlers {
  STAMINA , HUNGER , INJURY , THIRST ,
  COUNT
}

Functions

void PlayerSoundManagerBase (PlayerBase player)
void RegisterHandler (SoundHandlerBase handler)
SoundHandlerBase GetHandler (eSoundHandlers id)
void Init ()
 Launched from 'DayZGame.DeferredInit' to make earlier access, use, and updates impossible (downside of a non-static system).
void Update ()
void PlayerSoundManagerClient (PlayerBase player)
void SetAllowUpdate (bool enable)
void CheckAllowUpdate ()

Variables

const float SOUNDS_HEARING_DISTANCE = 50
enum eSoundHandlers m_Player
const int MAX_HANDLERS_COUNT = eSoundHandlers.COUNT
ref SoundHandlerBase m_Handlers [MAX_HANDLERS_COUNT]
class PlayerSoundManagerServer extends PlayerSoundManagerBase m_ClientCharacterTick = new Timer
ref Timer m_ClientCharacterDistanceCheck = new Timer
bool m_UpdateTimerRunning

Enumeration Type Documentation

◆ eSoundHandlers

Enumerator
STAMINA 
HUNGER 
INJURY 
THIRST 
COUNT 

Definition at line 4 of file playersoundmanager.c.

Function Documentation

◆ CheckAllowUpdate()

void CheckAllowUpdate ( )

Definition at line 141 of file playersoundmanager.c.

◆ GetHandler()

SoundHandlerBase GetHandler ( eSoundHandlers id)

Definition at line 39 of file playersoundmanager.c.

◆ Init()

void Init ( )

Launched from 'DayZGame.DeferredInit' to make earlier access, use, and updates impossible (downside of a non-static system).

whole body slots

upper body part slots

bottom body part slots

lower body part slots


heat comfort related slots

Definition at line 44 of file playersoundmanager.c.

◆ PlayerSoundManagerBase()

void PlayerSoundManagerBase ( PlayerBase player)

Definition at line 27 of file playersoundmanager.c.

◆ PlayerSoundManagerClient()

void PlayerSoundManagerClient ( PlayerBase player)

Definition at line 102 of file playersoundmanager.c.

◆ RegisterHandler()

void RegisterHandler ( SoundHandlerBase handler)

Definition at line 33 of file playersoundmanager.c.

◆ SetAllowUpdate()

void SetAllowUpdate ( bool enable)

Definition at line 111 of file playersoundmanager.c.

Variable Documentation

◆ m_ClientCharacterDistanceCheck

ref Timer m_ClientCharacterDistanceCheck = new Timer

Definition at line 87 of file playersoundmanager.c.

◆ m_ClientCharacterTick

class PlayerSoundManagerServer extends PlayerSoundManagerBase m_ClientCharacterTick = new Timer

◆ m_Handlers

Definition at line 25 of file playersoundmanager.c.

◆ m_Player

◆ m_UpdateTimerRunning

bool m_UpdateTimerRunning

Definition at line 88 of file playersoundmanager.c.

◆ MAX_HANDLERS_COUNT

const int MAX_HANDLERS_COUNT = eSoundHandlers.COUNT

Definition at line 24 of file playersoundmanager.c.

◆ SOUNDS_HEARING_DISTANCE

const float SOUNDS_HEARING_DISTANCE = 50

Definition at line 2 of file playersoundmanager.c.