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

◆ UpdateVoiceIcon()

void UpdateVoiceIcon ( )
private

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

159 {
161 int rangeLevel = GetGame().GetVoiceLevel();
162
163 if (mission.IsVoNActive())
164 {
165 if (m_VoNToggled)
166 {
168 {
169 ShowVoiceNotification(rangeLevel, false);
170 }
171 else
172 {
173 ShowVoiceNotification(rangeLevel, true);
174 }
175 }
176 else
177 {
178 ShowVoiceNotification(rangeLevel, false);
179 }
180 }
181 else
182 {
184 }
185 }
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
proto native int GetVoiceLevel(Object player=null)
Get voice level of VoN (on both client and server) (VoiceLevelWhisper = 0, VoiceLevelNormal = 1,...
proto native Mission GetMission()
Mission class.
Определения gameplay.c:687
static bool IsVoiceThresholdMinimum()
Specifies whether user's voice activation threshold value is equal to the minimum voice activation th...
Определения VONManager.c:328
Manager class which handles Voice-over-network functionality while player is connected to a server.
Определения VONManager.c:285
proto native CGame GetGame()

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

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