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

◆ ProcessSound()

void ProcessSound ( float timeSlice)
protected

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

325 {
326 if (m_BestTrigger && m_BestTrigger.m_Data && m_BestTrigger.m_Data.AmbientSoundType != string.Empty) // caves use sound controllers so EnvSounds2D shouldnt be touched
327 return;
328
329 // reduces all env sounds and increases ambient based on eye acco
331
332 if (m_AmbientSound)
333 {
334 if (m_TransitionalTrigger && m_TransitionalTrigger.m_Data.Breadcrumbs.Count() >= 2)
335 m_AmbientSound.SetSoundVolume(1-m_EyeAcco);
336 }
337 }
UndergroundTrigger m_TransitionalTrigger
Определения UndergroundHandlerClient.c:35
EffectSound m_AmbientSound
Определения UndergroundHandlerClient.c:32
UndergroundTrigger m_BestTrigger
Определения UndergroundHandlerClient.c:34
float m_EyeAcco
Определения UndergroundHandlerClient.c:28
proto native World GetWorld()
proto native void SetExplicitVolumeFactor_EnvSounds2D(float factor, float fadeTime)
proto native CGame GetGame()

Перекрестные ссылки GetGame(), CGame::GetWorld(), m_AmbientSound, m_BestTrigger, m_EyeAcco, m_TransitionalTrigger и World::SetExplicitVolumeFactor_EnvSounds2D().