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

◆ UpdateVoiceIcon()

void UpdateVoiceIcon ( )
private

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

176 {
177 Mission mission = g_Game.GetMission();
178 int rangeLevel = g_Game.GetVoiceLevel();
179
180 if (mission.IsVoNActive())
181 {
182 if (m_VoNToggled)
183 {
185 {
186 ShowVoiceNotification(rangeLevel, false);
187 }
188 else
189 {
190 ShowVoiceNotification(rangeLevel, true);
191 }
192 }
193 else
194 {
195 ShowVoiceNotification(rangeLevel, false);
196 }
197 }
198 else
199 {
201 }
202 }
DayZGame g_Game
Определения DayZGame.c:4074
Mission mission
Определения DisplayStatus.c:28
bool m_VoNToggled
Определения VONManager.c:27
void HideVoiceNotification()
Hides the VON notification completely and immediately.
Определения VONManager.c:41
void ShowVoiceNotification(int level, bool fading)
Shows the voice notification.
Определения VONManager.c:61
Mission class.
Определения gameplay.c:686
static bool IsVoiceThresholdMinimum()
Specifies whether user's voice activation threshold value is equal to the minimum voice activation th...
Определения VONManager.c:345
Manager class which handles Voice-over-network functionality while player is connected to a server.
Определения VONManager.c:302

Перекрестные ссылки g_Game, VONManagerBase::HideVoiceNotification(), VONManager::IsVoiceThresholdMinimum(), m_VoNToggled, mission и VONManagerBase::ShowVoiceNotification().

Используется в HandleInput(), OnEvent() и OnVOIPThresholdChanged().