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

◆ OnInputBufferEvent()

void MissionBase::OnInputBufferEvent ( bool state)
inlineprotected

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

1737 {
1738 if (m_InputBufferFull != state)
1739 {
1740 m_InputBufferFull = state;
1742 {
1743 UIManager uiManager = g_Game.GetUIManager();
1744 UIScriptedMenu menu = uiManager.GetMenu();
1745 if (menu && menu.GetID() == MENU_INVENTORY)
1746 {
1747 g_Game.GetMission().HideInventory();
1748 }
1749
1750 uiManager.CloseAll();
1751
1753 g_Game.GetCallQueue(CALL_CATEGORY_GAMEPLAY).CallLater(InputBufferCheck, 0.500, true);
1754 }
1755 }
1756 }
DayZGame g_Game
Определения DayZGame.c:4074
void InputBufferCheck()
Определения missionGameplay.c:1758
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:221
const int MENU_INVENTORY
Определения 3_Game/DayZ/constants.c:186
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().