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

◆ UpdateLoginQueue()

void CGame::UpdateLoginQueue ( float timeslice)
inlineprotected

Display login queue position dialog

manually update static login queue dialog

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

1827 {
1828 int pos = GetUIManager().GetLoginQueuePosition();
1829
1831 if (!m_LoginQueue && pos > 0)
1832 {
1834
1835 if (GetMission())
1836 {
1837 UIScriptedMenu parent = GetUIManager().GetMenu();
1838 EnterLoginQueue(parent);
1839 }
1840 else
1841 {
1842 m_LoginQueue = new LoginQueueStatic();
1844 }
1845 }
1846 if (m_LoginQueue)
1847 {
1848 m_LoginQueue.SetPosition(pos);
1849
1851 LoginQueueStatic loginQueue;
1852 if (LoginQueueBase.CastTo(loginQueue, m_LoginQueue))
1853 {
1854 loginQueue.Update(timeslice);
1855 }
1856 }
1857 }
void LoginQueueBase()
Определения DayZGame.c:117
ref LoginQueueBase m_LoginQueue
Определения DayZGame.c:913
proto native UIManager GetUIManager()
void EnterLoginQueue(UIMenuPanel parent)
Определения DayZGame.c:1965
proto native Mission GetMission()
proto native UIScriptedMenu GetMenu()
Returns most-top open menu.
proto native int GetLoginQueuePosition()
bool CloseAll()
Close all opened menus.
Определения UIManager.c:78
proto native UIScriptedMenu ShowScriptedMenu(UIScriptedMenu menu, UIMenuPanel parent)

Перекрестные ссылки UIManager::CloseAll(), EnterLoginQueue(), UIManager::GetLoginQueuePosition(), UIManager::GetMenu(), GetMission(), GetUIManager(), m_LoginQueue и UIManager::ShowScriptedMenu().

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