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

◆ OpenWindow()

void UIManager::OpenWindow ( int id)
inlineprivate

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

179 {
180 UIScriptedWindow window = UIScriptedWindow.GetWindow( id );
181
182 //if window is already opened, close it
183 if ( window )
184 {
185 CloseWindow( id );
186
187 return;
188 }
189
190 //create new window
191 switch( id )
192 {
194 window = GetGame().GetMission().CreateScriptedWindow( id );
195 break;
196
197 default: {};
198 }
199
200 if ( window )
201 {
202 window.Init();
203
204 //add to active windows
205 UIScriptedWindow.AddToActiveWindows( id, window );
206 }
207 }
proto native Mission GetMission()
UIScriptedWindow CreateScriptedWindow(int id)
Определения gameplay.c:738
void CloseWindow(int id)
Определения UIManager.c:209
Widget Init()
Определения UIScriptedWindow.c:60
proto native CGame GetGame()
const int GUI_WINDOW_MISSION_LOADER
Определения constants.c:218

Перекрестные ссылки UIScriptedWindow::AddToActiveWindows(), CloseWindow(), Mission::CreateScriptedWindow(), GetGame(), CGame::GetMission(), UIScriptedWindow::GetWindow(), GUI_WINDOW_MISSION_LOADER и UIScriptedWindow::Init().