|
DayZ 1.24
|
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 () |
| void CheckAllowUpdate | ( | ) |
Definition at line 132 of file PlayerSoundManager.c.
References vector::Distance(), GetGame(), GetPlayer(), GetPosition, m_Player, m_UpdateTimerRunning, SetAllowUpdate(), and SOUNDS_HEARING_DISTANCE.
| SoundHandlerBase GetHandler | ( | eSoundHandlers | id | ) |
| void Init | ( | ) |
Launched from 'DayZGame.DeferredInit' to make earlier access, use, and updates impossible (downside of a non-static system)
Definition at line 43 of file PlayerSoundManager.c.
| void PlayerSoundManagerBase | ( | PlayerBase | player | ) |
Definition at line 26 of file PlayerSoundManager.c.
References PlayerSoundManagerBase::Init(), and m_Player.
| void PlayerSoundManagerClient | ( | PlayerBase | player | ) |
Definition at line 97 of file PlayerSoundManager.c.
References GetGame(), and m_ClientCharacterDistanceCheck.
Referenced by ManBase::Init().
| void RegisterHandler | ( | SoundHandlerBase | handler | ) |
Definition at line 32 of file PlayerSoundManager.c.
References m_Handlers.
Referenced by PlayerSoundManagerBase::Init().
Definition at line 104 of file PlayerSoundManager.c.
References m_ClientCharacterTick, and m_UpdateTimerRunning.
Referenced by CheckAllowUpdate(), and Update().
Definition at line 82 of file PlayerSoundManager.c.
Referenced by PlayerSoundManagerClient().
| class PlayerSoundManagerServer extends PlayerSoundManagerBase m_ClientCharacterTick = new Timer |
Referenced by SetAllowUpdate().
| ref SoundHandlerBase m_Handlers[MAX_HANDLERS_COUNT] |
Definition at line 24 of file PlayerSoundManager.c.
Referenced by GetHandler(), RegisterHandler(), Update(), and PlayerSoundManagerBase::Update().
| enum eSoundHandlers m_Player |
Referenced by PlayerSoundManagerBase().
| bool m_UpdateTimerRunning |
Definition at line 83 of file PlayerSoundManager.c.
Referenced by CheckAllowUpdate(), and SetAllowUpdate().
| const int MAX_HANDLERS_COUNT = eSoundHandlers.COUNT |
Definition at line 23 of file PlayerSoundManager.c.
Referenced by Update(), and PlayerSoundManagerBase::Update().
Definition at line 2 of file PlayerSoundManager.c.
Referenced by CheckAllowUpdate().