Go to the source code of this file.
|
SCR_PlayerControllerCommandingComponentClass ScriptComponentClass | Attribute ("{ECC45EC468D76CF4}Configs/Commanding/CommandingMenu.conf") |
|
override protected void | OnPostInit (IEntity owner) |
| Called on PostInit when all components are added. More...
|
|
protected void | OnControllerTakeControl (SCR_RadialMenuController controller) |
|
void | SetupMapListener () |
|
void | RemoveMapListener () |
|
void | SetupPlayerRadialMenu (IEntity owner) |
|
void | OnMapOpen (MapConfiguration config) |
|
void | OnMapClose (MapConfiguration config) |
|
void | SetupMapRadialMenu () |
|
void | OnMapCommandPerformed (SCR_SelectionMenuEntry element, float[] worldPos) |
|
void | OnGroupLeaderChanged (int groupID, int playerID) |
|
void | OnGroupChanged (int groupID) |
|
void | OnRadialMenuPerformed (SCR_SelectionMenu menu, SCR_SelectionMenuEntry entry) |
|
void | OnRadialMenuFailed () |
|
void | PrepareExecuteCommand (string commandName, vector targetPosition="0 0 0") |
|
void | ExecuteCommand (vector targetPosition, IEntity tracedEntity) |
|
void | RPC_RequestExecuteCommand (int commandIndex, RplId cursorTargetID, RplId groupRplID, vector targetPoisition, int playerID) |
|
void | CommandExecutedCallback (int commandIndex) |
|
void | RPC_CommandExecutedCallback (int commandIndex) |
|
void | PlayCommandGesture (int commandIndex) |
|
void | UpdateRadialMenu (IEntity owner, bool isOpen) |
|
void | AddElementsFromCategory (SCR_PlayerCommandingMenuCategoryElement category, SCR_SelectionMenuCategoryEntry rootCategory=null) |
|
void | AddElementsFromCategoryToMap (notnull SCR_PlayerCommandingMenuCategoryElement category, SCR_SelectionMenuCategoryEntry rootCategory=null) |
|
void | InsertElementToMapRadial (SCR_PlayerCommandingMenuBaseElement element, notnull SCR_PlayerCommandingMenuCategoryElement category, SCR_SelectionMenuCategoryEntry mapCategory) |
|
SCR_SelectionMenuEntry | AddRadialMenuElement (SCR_PlayerCommandingMenuBaseElement newElement, SCR_SelectionMenuCategoryEntry parentCategory=null) |
|
SCR_SelectionMenuEntry | AddCategoryElement (SCR_PlayerCommandingMenuCategoryElement category, SCR_SelectionMenuCategoryEntry parentCategory=null) |
|
SCR_SelectionMenuEntry | AddCommandElement (SCR_PlayerCommandingMenuCommand command, SCR_SelectionMenuCategoryEntry parentCategory=null) |
|
void | OnPlayerRadialMenuOpen () |
|
◆ AddCategoryElement()
◆ AddCommandElement()
◆ AddElementsFromCategory()
◆ AddElementsFromCategoryToMap()
◆ AddRadialMenuElement()
◆ Attribute()
◆ CommandExecutedCallback()
void CommandExecutedCallback |
( |
int |
commandIndex | ) |
|
◆ ExecuteCommand()
void ExecuteCommand |
( |
vector |
targetPosition, |
|
|
IEntity |
tracedEntity |
|
) |
| |
◆ InsertElementToMapRadial()
◆ OnControllerTakeControl()
◆ OnGroupChanged()
void OnGroupChanged |
( |
int |
groupID | ) |
|
◆ OnGroupLeaderChanged()
void OnGroupLeaderChanged |
( |
int |
groupID, |
|
|
int |
playerID |
|
) |
| |
◆ OnMapClose()
void OnMapClose |
( |
MapConfiguration |
config | ) |
|
◆ OnMapCommandPerformed()
◆ OnMapOpen()
void OnMapOpen |
( |
MapConfiguration |
config | ) |
|
◆ OnPlayerRadialMenuOpen()
void OnPlayerRadialMenuOpen |
( |
| ) |
|
◆ OnRadialMenuFailed()
void OnRadialMenuFailed |
( |
| ) |
|
◆ OnRadialMenuPerformed()
◆ PlayCommandGesture()
void PlayCommandGesture |
( |
int |
commandIndex | ) |
|
◆ PrepareExecuteCommand()
void PrepareExecuteCommand |
( |
string |
commandName, |
|
|
vector |
targetPosition = "0 0 0" |
|
) |
| |
◆ RemoveMapListener()
void RemoveMapListener |
( |
| ) |
|
◆ RPC_CommandExecutedCallback()
void RPC_CommandExecutedCallback |
( |
int |
commandIndex | ) |
|
◆ RPC_RequestExecuteCommand()
void RPC_RequestExecuteCommand |
( |
int |
commandIndex, |
|
|
RplId |
cursorTargetID, |
|
|
RplId |
groupRplID, |
|
|
vector |
targetPoisition, |
|
|
int |
playerID |
|
) |
| |
◆ SetupMapListener()
void SetupMapListener |
( |
| ) |
|
◆ SetupMapRadialMenu()
void SetupMapRadialMenu |
( |
| ) |
|
◆ SetupPlayerRadialMenu()
void SetupPlayerRadialMenu |
( |
IEntity |
owner | ) |
|
◆ UpdateRadialMenu()
void UpdateRadialMenu |
( |
IEntity |
owner, |
|
|
bool |
isOpen |
|
) |
| |
◆ m_bIsCommandExecuting
protected bool m_bIsCommandExecuting = false |
◆ m_bSlaveGroupRequested
protected bool m_bSlaveGroupRequested = false |
◆ m_CommandingManager
◆ m_CommandingMenuConfig
◆ m_MapContextualMenu
◆ m_PhysicsHelper
◆ m_RadialMenu
◆ m_RadialMenuController
◆ m_sCommandingMapMenuConfigPath
Configs Commanding CommandingMapMenu conf protected ResourceName m_sCommandingMapMenuConfigPath |
◆ m_SelectedEntity
protected IEntity m_SelectedEntity |
◆ m_sExecutedCommandName
protected string m_sExecutedCommandName |