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

◆ UpdateVoiceIcon()

void UpdateVoiceIcon ( )
private

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

173 {
174 Mission mission = g_Game.GetMission();
175 int rangeLevel = g_Game.GetVoiceLevel();
176
177 if (mission.IsVoNActive())
178 {
179 if (m_VoNToggled)
180 {
182 {
183 ShowVoiceNotification(rangeLevel, false);
184 }
185 else
186 {
187 ShowVoiceNotification(rangeLevel, true);
188 }
189 }
190 else
191 {
192 ShowVoiceNotification(rangeLevel, false);
193 }
194 }
195 else
196 {
198 }
199 }
DayZGame g_Game
Определения DayZGame.c:3942
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:58
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:342
Manager class which handles Voice-over-network functionality while player is connected to a server.
Определения VONManager.c:299

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

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