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

◆ OnInputBufferEvent()

void MissionBase::OnInputBufferEvent ( bool state)
inlineprotected

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

1673 {
1674 if (m_InputBufferFull != state)
1675 {
1676 m_InputBufferFull = state;
1678 {
1679 UIManager uiManager = g_Game.GetUIManager();
1680 UIScriptedMenu menu = uiManager.GetMenu();
1681 if (menu && menu.GetID() == MENU_INVENTORY)
1682 {
1683 g_Game.GetMission().HideInventory();
1684 }
1685
1686 uiManager.CloseAll();
1687
1689 g_Game.GetCallQueue(CALL_CATEGORY_GAMEPLAY).CallLater(InputBufferCheck, 0.500, true);
1690 }
1691 }
1692 }
DayZGame g_Game
Определения DayZGame.c:3942
void InputBufferCheck()
Определения missionGameplay.c:1694
UIScriptedMenu m_ConnectionMenu
Определения missionGameplay.c:54
bool m_InputBufferFull
Определения missionGameplay.c:53
proto native UIScriptedMenu GetMenu()
Returns most-top open menu.
proto native UIScriptedMenu EnterScriptedMenu(int id, UIMenuPanel parent)
Create & open menu with specific id (see MenuID) and set its parent.
bool CloseAll()
Close all opened menus.
Определения UIManager.c:78
const int MENU_CONNECTION_DIALOGUE
Определения 3_Game/DayZ/constants.c:215
const int MENU_INVENTORY
Определения 3_Game/DayZ/constants.c:180
const int CALL_CATEGORY_GAMEPLAY
Определения 3_Game/DayZ/tools/tools.c:10

Перекрестные ссылки CALL_CATEGORY_GAMEPLAY, UIManager::CloseAll(), UIManager::EnterScriptedMenu(), g_Game, UIManager::GetMenu(), InputBufferCheck(), m_ConnectionMenu, m_InputBufferFull, MENU_CONNECTION_DIALOGUE и MENU_INVENTORY.

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