|
| proto external MenuBase | FindMenuByPreset (ScriptMenuPresetEnum preset) |
| | Finds first menu/dialog with given preset index, or nullptr when there is no such menu opened.
|
| |
| proto external MenuBase | FindMenuByUserData (int userId) |
| | Finds first menu/dialog with given user id, or nullptr when there is no such menu opened.
|
| |
| proto external MenuBase | GetTopMenu () |
| | Returns most top opened menu or nullptr when no menu is opened.
|
| |
| proto external MenuBase | GetOwnerMenu (Widget w) |
| | Return owner menu of Widget.
|
| |
| proto external bool | IsAnyMenuOpen () |
| |
| proto external bool | IsAnyDialogOpen () |
| |
| proto external bool | CloseMenuByPreset (ScriptMenuPresetEnum preset) |
| | Put menu with given iPresetId into queue for closing (which is processed during next MenuManeger update)
|
| |
| proto external bool | CloseMenuByUserData (int userId) |
| | Put menu with given iUserId into queue for closing (which is processed during next MenuManeger update)
|
| |
| proto external bool | CloseMenu (MenuBase menu) |
| | Put menu into queue for closing (which is processed during next MenuManeger update)
|
| |
| proto external int | CloseAllMenus () |
| | Put all menus into queue for closing (which is processed during next MenuManeger update), returns count of opened menus.
|
| |
| proto external MenuBase | OpenMenu (ScriptMenuPresetEnum preset, int userId=0, bool unique=false, bool hideParentMenu=true) |
| |
| proto external MenuBase | OpenDialog (ScriptMenuPresetEnum preset, int priority=DialogPriority.INFORMATIVE, int iUserData=0, bool unique=false) |
| |
◆ MenuManager()
| void MenuManager.MenuManager |
( |
| ) |
|
|
protected |
◆ ~MenuManager()
| void MenuManager.~MenuManager |
( |
| ) |
|
|
protected |
◆ CloseAllMenus()
| proto external int MenuManager.CloseAllMenus |
( |
| ) |
|
Put all menus into queue for closing (which is processed during next MenuManeger update), returns count of opened menus.
◆ CloseMenu()
Put menu into queue for closing (which is processed during next MenuManeger update)
◆ CloseMenuByPreset()
| proto external bool MenuManager.CloseMenuByPreset |
( |
ScriptMenuPresetEnum | preset | ) |
|
Put menu with given iPresetId into queue for closing (which is processed during next MenuManeger update)
◆ CloseMenuByUserData()
| proto external bool MenuManager.CloseMenuByUserData |
( |
int | userId | ) |
|
Put menu with given iUserId into queue for closing (which is processed during next MenuManeger update)
◆ FindMenuByPreset()
| proto external MenuBase MenuManager.FindMenuByPreset |
( |
ScriptMenuPresetEnum | preset | ) |
|
Finds first menu/dialog with given preset index, or nullptr when there is no such menu opened.
◆ FindMenuByUserData()
| proto external MenuBase MenuManager.FindMenuByUserData |
( |
int | userId | ) |
|
Finds first menu/dialog with given user id, or nullptr when there is no such menu opened.
◆ GetOwnerMenu()
◆ GetTopMenu()
| proto external MenuBase MenuManager.GetTopMenu |
( |
| ) |
|
Returns most top opened menu or nullptr when no menu is opened.
◆ IsAnyDialogOpen()
| proto external bool MenuManager.IsAnyDialogOpen |
( |
| ) |
|
◆ IsAnyMenuOpen()
| proto external bool MenuManager.IsAnyMenuOpen |
( |
| ) |
|
◆ OpenDialog()
| proto external MenuBase MenuManager.OpenDialog |
( |
ScriptMenuPresetEnum | preset, |
|
|
int | priority = DialogPriority.INFORMATIVE, |
|
|
int | iUserData = 0, |
|
|
bool | unique = false ) |
◆ OpenMenu()
| proto external MenuBase MenuManager.OpenMenu |
( |
ScriptMenuPresetEnum | preset, |
|
|
int | userId = 0, |
|
|
bool | unique = false, |
|
|
bool | hideParentMenu = true ) |
The documentation for this interface was generated from the following file:
- GameLib/generated/Menu/MenuManager.c