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

◆ UpdateWasMicCapturing()

void ScriptedWidgetEventHandler::UpdateWasMicCapturing ( )
inlineprivate

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

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

Перекрестные ссылки GetGame(), m_MissionGameplay и m_WasMicCapturing.

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