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

◆ ProcessSound()

void ProcessSound ( )

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

29 {
30 int currentTime = g_Game.GetTime();
31 if ( currentTime > m_SoundTime)
32 {
34 m_SoundTime = currentTime + offset_time;
35 PlaySound();
36 }
37 }
DayZGame g_Game
Определения DayZGame.c:3942
float m_SoundTime
Определения HungerSoundHandler.c:17
class HungerSoundHandlerBase extends SoundHandlerBase SOUND_INTERVALS_LIGHT_MIN
const float SOUND_INTERVALS_LIGHT_MAX
Определения HungerSoundHandler.c:16
void PlaySound()
Определения ThirstSoundHandler.c:39
Определения EnMath.c:7
static float RandomFloatInclusive(float min, float max)
Returns a random float number between and min [inclusive] and max [inclusive].
Определения EnMath.c:106

Перекрестные ссылки g_Game, m_SoundTime, PlaySound(), Math::RandomFloatInclusive(), SOUND_INTERVALS_LIGHT_MAX и SOUND_INTERVALS_LIGHT_MIN.

Используется в Update().