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

◆ UpdateWasMicCapturing()

void ScriptedWidgetEventHandler::UpdateWasMicCapturing ( )
inlineprivate

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

249 {
250 // if user is in party chat, then mic should not capture
251 if (g_Game.IsInPartyChat())
252 {
253 m_WasMicCapturing = false;
254 }
255
256 // otherwise, mic should capture ONLY if Voice Activation is enabled
257 else
258 {
259 m_WasMicCapturing = m_MissionGameplay.IsVoNActive();
260 }
261 }
DayZGame g_Game
Определения DayZGame.c:3942
bool m_WasMicCapturing
Определения OptionsMenuSounds.c:35
MissionGameplay m_MissionGameplay
Определения OptionsMenuSounds.c:30

Перекрестные ссылки g_Game, m_MissionGameplay и m_WasMicCapturing.

Используется в OnPartyChatChangedEvent() и OnVonStateEvent().