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

◆ OnInputDeviceChanged() [3/3]

void ScriptedWidgetEventHandler::OnInputDeviceChanged ( EInputDeviceType pInputDeviceType)
inlineprotected

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

27 {
28 switch (pInputDeviceType)
29 {
30 case EInputDeviceType.CONTROLLER:
32 m_TabControlsRoot.FindAnyWidget("ConsoleControls").Show(true);
33 break;
34
35 default:
36 if (GetGame().GetInput().IsEnabledMouseAndKeyboardEvenOnServer())
37 {
38 m_TabControlsRoot.FindAnyWidget("ConsoleControls").Show(false);
39 }
40 break;
41 }
42 }
Widget m_TabControlsRoot
Определения TabberUI.c:5
void UpdateControlsElements()
Определения TabberUI.c:458
proto native CGame GetGame()
EInputDeviceType
Определения input.c:3

Перекрестные ссылки GetGame(), m_TabControlsRoot и UpdateControlsElements().