DayZ 1.24
|
Go to the source code of this file.
Classes | |
class | SoundHandlerBase |
class | HungerSoundHandlerBase |
Functions | |
override void | Update () |
void | ProcessSound () |
void | PlaySound () |
Variables | |
class HungerSoundHandlerBase extends SoundHandlerBase | SOUND_INTERVALS_LIGHT_MIN = 10 |
const float | SOUND_INTERVALS_LIGHT_MAX = 30 |
float | m_SoundTime |
EffectSound | m_Sound |
void PlaySound | ( | ) |
Definition at line 36 of file HungerSoundHandler.c.
References Debug::LogError(), m_Player, m_Sound, SEffectManager::PlaySoundOnObject(), and EffectSound::SetAutodestroy().
Referenced by SymptomBase::OnGetActivatedServer(), DayZPlayer::OnStepEvent(), EntityAI::PlayImpactSound(), EntityAI::PlaySoundByAnimEvent(), DayZPlayer::ProcessAttachmentEvent(), ProcessSound(), InjurySoundHandlerBase::ProcessSound(), DayZCreature::ProcessSoundEvent(), DayZPlayer::ProcessSoundEvent(), DayZCreature::ProcessSoundVoiceEvent(), DayZInfected::ProcessSoundVoiceEvent(), DayZCreature::ProcessStepEvent(), DayZPlayer::ProcessVoiceEvent(), DayZInfected::ProcessVoiceFX(), DayZPlayer::ProcessWeaponEvent(), ItemBase::SoundCollision(), BarbedWireTrigger::SoundCollision(), ItemBase::SoundCut(), ItemBase::SoundElectricShock(), BarbedWireTrigger::SoundElectricShock(), and ItemBase::SoundSpark().
void ProcessSound | ( | ) |
Definition at line 26 of file HungerSoundHandler.c.
References GetGame(), GetTime(), m_SoundTime, PlaySound(), Math::RandomFloatInclusive(), SOUND_INTERVALS_LIGHT_MAX, and SOUND_INTERVALS_LIGHT_MIN.
Referenced by Tick(), Update(), and InjurySoundHandlerBase::Update().
EffectSound m_Sound |
Definition at line 18 of file HungerSoundHandler.c.
Referenced by ActionBase(), ActionCraft::ActionCraft(), ActionDeployHuntingTrap::ActionDeployHuntingTrap(), ActionTakeABite::ActionTakeABite(), PlayActionSound(), PlaySound(), ItemBase::SoundBuildStart(), ItemBase::SoundDestroyStart(), ItemBase::SoundDismantleStart(), SoundLockChangeDial(), SoundLockChangeNumber(), SoundLockClose(), SoundLockOpen(), PASBroadcaster::SoundTurnOff(), and PASBroadcaster::SoundTurnOn().
float m_SoundTime |
Definition at line 17 of file HungerSoundHandler.c.
Referenced by ProcessSound(), and InjurySoundHandlerBase::ProcessSound().
Definition at line 16 of file HungerSoundHandler.c.
Referenced by ProcessSound(), and InjurySoundHandlerBase::ProcessSound().
class HungerSoundHandlerBase extends SoundHandlerBase SOUND_INTERVALS_LIGHT_MIN = 10 |
Referenced by ProcessSound(), and InjurySoundHandlerBase::ProcessSound().