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

◆ EditorToggle()

void PluginBase::EditorToggle ( )
inlineprivate

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

369 {
370 //Log("EditorToggle");
371
372 if ( GetGame().IsMultiplayer() )
373 {
374 return;
375 }
376
377 if ( IsOpened() )
378 {
379 // Close UI Scene Editor Menu
381 }
382 else
383 {
384 // Open UI Scene Editor Menu
386 EditorUpdate();
387 }
388 }
proto native UIManager GetUIManager()
void EditorUpdate()
Определения PluginSceneManager.c:1145
bool IsOpened()
Определения PluginSceneManager.c:393
proto native UIScriptedMenu EnterScriptedMenu(int id, UIMenuPanel parent)
Create & open menu with specific id (see MenuID) and set its parent.
bool Back()
Close top window on windows stack, returns true when any window is closed.
Определения UIManager.c:62
proto native CGame GetGame()
const int MENU_SCENE_EDITOR
Определения constants.c:177

Перекрестные ссылки UIManager::Back(), EditorUpdate(), UIManager::EnterScriptedMenu(), GetGame(), CGame::GetUIManager(), IsOpened() и MENU_SCENE_EDITOR.