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

◆ ProcessSound()

void ProcessSound ( )

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

29 {
30 if ( GetGame().GetTime() > m_SoundTime)
31 {
33 m_SoundTime = GetGame().GetTime() + offset_time;
34 PlaySound();
35 }
36 }
float m_SoundTime
Определения HungerSoundHandler.c:17
void PlaySound()
Определения HungerSoundHandler.c:38
class HungerSoundHandlerBase extends SoundHandlerBase SOUND_INTERVALS_LIGHT_MIN
const float SOUND_INTERVALS_LIGHT_MAX
Определения HungerSoundHandler.c:16
float GetTime()
Определения NotificationSystem.c:35
proto int GetTime()
returns mission time in milliseconds
Определения EnMath.c:7
proto native CGame GetGame()
static float RandomFloatInclusive(float min, float max)
Returns a random float number between and min [inclusive] and max [inclusive].
Определения EnMath.c:106

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

Используется в Tick(), InjurySoundHandlerBase::Update() и Update().