Enfusion Script API
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
MenuManager Interface Reference

Public Member Functions

proto native MenuBase OpenMenu (ScriptMenuPresetEnum preset, int userId=0, bool unique=false, bool hideParentMenu=true)
 
proto native MenuBase OpenDialog (ScriptMenuPresetEnum preset, int priority=DialogPriority.INFORMATIVE, int iUserData=0, bool unique=false)
 
proto native MenuBase FindMenuByPreset (ScriptMenuPresetEnum preset)
 
proto native MenuBase FindMenuByUserData (int userId)
 
proto native MenuBase GetTopMenu ()
 
proto native MenuBase GetOwnerMenu (Widget w)
 
proto native bool IsAnyMenuOpen ()
 
proto native bool IsAnyDialogOpen ()
 
proto native bool CloseMenuByPreset (ScriptMenuPresetEnum preset)
 
proto native bool CloseMenuByUserData (int userId)
 
proto native bool CloseMenu (MenuBase menu)
 
proto native int CloseAllMenus ()
 

Protected Member Functions

void MenuManager ()
 
void ~MenuManager ()
 

Constructor & Destructor Documentation

◆ MenuManager()

void MenuManager.MenuManager ( )
protected

◆ ~MenuManager()

void MenuManager.~MenuManager ( )
protected

Member Function Documentation

◆ CloseAllMenus()

proto native int MenuManager.CloseAllMenus ( )

◆ CloseMenu()

proto native bool MenuManager.CloseMenu ( MenuBase  menu)

◆ CloseMenuByPreset()

proto native bool MenuManager.CloseMenuByPreset ( ScriptMenuPresetEnum  preset)

◆ CloseMenuByUserData()

proto native bool MenuManager.CloseMenuByUserData ( int  userId)

◆ FindMenuByPreset()

proto native MenuBase MenuManager.FindMenuByPreset ( ScriptMenuPresetEnum  preset)

◆ FindMenuByUserData()

proto native MenuBase MenuManager.FindMenuByUserData ( int  userId)

◆ GetOwnerMenu()

proto native MenuBase MenuManager.GetOwnerMenu ( Widget  w)

◆ GetTopMenu()

proto native MenuBase MenuManager.GetTopMenu ( )

◆ IsAnyDialogOpen()

proto native bool MenuManager.IsAnyDialogOpen ( )

◆ IsAnyMenuOpen()

proto native bool MenuManager.IsAnyMenuOpen ( )

◆ OpenDialog()

proto native MenuBase MenuManager.OpenDialog ( ScriptMenuPresetEnum  preset,
int  priority = DialogPriority.INFORMATIVE,
int  iUserData = 0,
bool  unique = false 
)

◆ OpenMenu()

proto native 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: