Arma Reforger Script API
|
Class created for quick application of radial menu into components It finds global menu, holds controller settings and data required for menu. More...
Public Member Functions | |
ScriptInvoker | GetOnInputOpen () |
ScriptInvoker | GetOnTakeControl () |
ScriptInvoker | GetOnControllerChanged () |
void | Control (IEntity owner, SCR_RadialMenu radialMenu=null) |
Take control over selected menu Filling no menu will take control over the global radial menu. | |
void | StopControl (bool closeMenu=false) |
Stop opening controls of current menu. | |
void | SetMenuDisplay () |
void | UpdateMenuData () |
void | OnInputOpen () |
void | SetEnableControl (bool enable) |
bool | GetEnableControl () |
void | SetRadialMenuToControl (SCR_RadialMenu radialMenu) |
SCR_RadialMenu | GetRadialMenu () |
SCR_SelectionMenuControllerInputs | GetControls () |
SCR_SelectionMenuData | GetData () |
bool | IsMenuOpen () |
void | CloseMenu () |
bool | HasControl () |
Return true if cached menu is controlled by this owner entity. | |
void | SCR_RadialMenuController () |
Protected Member Functions | |
void | InvokeOnInputOpen (bool hasControl) |
void | InvokeOnTakeControl () |
void | InvokeOnControllerChanged (bool hasControl) |
void | OnMenuControllerChanged (SCR_SelectionMenu menu, SCR_SelectionMenuControllerInputs controller) |
Protected Attributes | |
bool | m_sEnableControl |
ref SCR_SelectionMenuControllerInputs | m_RMControls |
ref SCR_SelectionMenuData | m_Data |
ref SCR_RadialMenu | m_RadialMenuToControl |
ref SCR_RadialMenu | m_RadialMenu |
IEntity | m_Owner |
ref ScriptInvoker< SCR_RadialMenuController, bool > | m_OnInputOpen |
ref ScriptInvoker< SCR_RadialMenuController > | m_OnTakeControl |
ref ScriptInvoker< SCR_RadialMenuController, bool > | m_OnControllerChanged |
Class created for quick application of radial menu into components It finds global menu, holds controller settings and data required for menu.
void SCR_RadialMenuController.SCR_RadialMenuController | ( | ) |
void SCR_RadialMenuController.CloseMenu | ( | ) |
void SCR_RadialMenuController.Control | ( | IEntity | owner, |
SCR_RadialMenu | radialMenu = null |
||
) |
Take control over selected menu Filling no menu will take control over the global radial menu.
SCR_SelectionMenuControllerInputs SCR_RadialMenuController.GetControls | ( | ) |
SCR_SelectionMenuData SCR_RadialMenuController.GetData | ( | ) |
bool SCR_RadialMenuController.GetEnableControl | ( | ) |
ScriptInvoker SCR_RadialMenuController.GetOnControllerChanged | ( | ) |
ScriptInvoker SCR_RadialMenuController.GetOnInputOpen | ( | ) |
ScriptInvoker SCR_RadialMenuController.GetOnTakeControl | ( | ) |
SCR_RadialMenu SCR_RadialMenuController.GetRadialMenu | ( | ) |
bool SCR_RadialMenuController.HasControl | ( | ) |
Return true if cached menu is controlled by this owner entity.
|
protected |
|
protected |
|
protected |
bool SCR_RadialMenuController.IsMenuOpen | ( | ) |
void SCR_RadialMenuController.OnInputOpen | ( | ) |
|
protected |
void SCR_RadialMenuController.SetEnableControl | ( | bool | enable | ) |
void SCR_RadialMenuController.SetMenuDisplay | ( | ) |
void SCR_RadialMenuController.SetRadialMenuToControl | ( | SCR_RadialMenu | radialMenu | ) |
void SCR_RadialMenuController.StopControl | ( | bool | closeMenu = false | ) |
Stop opening controls of current menu.
void SCR_RadialMenuController.UpdateMenuData | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |