DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ StopItemSoundClient()

void StopItemSoundClient ( int id)
protected

См. определение в файле ItemSoundHandler.c строка 83

84 {
85 if (GetGame().IsDedicatedServer())
86 return;
87
88 EffectSound sound = m_PlayingSounds.Get(id);
89 if (sound)
90 {
91 sound.SetSoundFadeOut(0.1);
92 sound.SoundStop();
93 }
94
95 m_PlayingSounds.Remove(id);
96 }
ref map< int, ref EffectSound > m_PlayingSounds
Определения ItemSoundHandler.c:27
void SetSoundFadeOut(float fade_out)
Set the sound fade out duration.
Определения EffectSound.c:891
void SoundStop()
Stops sound.
Определения EffectSound.c:217
Wrapper class for managing sound through SEffectManager.
Определения EffectSound.c:5
proto native CGame GetGame()

Перекрестные ссылки GetGame(), m_PlayingSounds, EffectSound::SetSoundFadeOut() и EffectSound::SoundStop().