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

◆ UpdateLoginQueue()

void CGame::UpdateLoginQueue ( float timeslice)
inlineprotected

Display login queue position dialog

manually update static login queue dialog

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

1876 {
1877 int pos = GetUIManager().GetLoginQueuePosition();
1878
1880 if (!m_LoginQueue && pos > 0)
1881 {
1883
1884 if (GetMission())
1885 {
1886 UIScriptedMenu parent = GetUIManager().GetMenu();
1887 EnterLoginQueue(parent);
1888 }
1889 else
1890 {
1891 m_LoginQueue = new LoginQueueStatic();
1893 }
1894 }
1895 if (m_LoginQueue)
1896 {
1897 m_LoginQueue.SetPosition(pos);
1898
1900 LoginQueueStatic loginQueue;
1901 if (LoginQueueBase.CastTo(loginQueue, m_LoginQueue))
1902 {
1903 loginQueue.Update(timeslice);
1904 }
1905 }
1906 }
void LoginQueueBase()
Определения DayZGame.c:117
ref LoginQueueBase m_LoginQueue
Определения DayZGame.c:932
proto native UIManager GetUIManager()
void EnterLoginQueue(UIMenuPanel parent)
Определения DayZGame.c:2016
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().