| 
| void  | OpenCommandingMenu () | 
|   | 
| void  | SetupMapListener () | 
|   | 
| void  | RemoveMapListener () | 
|   | 
| void  | SetupPlayerRadialMenu () | 
|   | 
| 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  | HideCommandPreview () | 
|   | Hide command preview.  
  | 
|   | 
| void  | ShowCommandPreview (string commandName) | 
|   | Prepare the command to be shown.  
  | 
|   | 
| void  | OnRadialMenuOpenFailed (SCR_SelectionMenu menu, SCR_ESelectionMenuFailReason reason) | 
|   | 
| 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 () | 
|   | 
| void  | OnPlayerRadialMenuClose () | 
|   | 
| void  | OnQuickslotBind4 () | 
|   | 
| void  | OnQuickslotBind5 () | 
|   | 
| void  | OnQuickslotBind6 () | 
|   | 
| void  | OnQuickslotBind7 () | 
|   | 
| void  | OnQuickslotBind8 () | 
|   | 
| void  | OnQuickslotBind9 () | 
|   | 
| void  | BindToQuickslot (int slotIndex) | 
|   | 
| bool  | IsOpened () | 
|   | 
| bool  | IsCommandSelected () | 
|   | 
| void  | SetShownCommand (SCR_InfoDisplayExtended infoDisplay) | 
|   | 
| void  | SetShownCommandPreview (SCR_InfoDisplayExtended infoDisplay) | 
|   | 
| void  | DrawWaypointVisualization (vector targetPosition, float wpRadius, bool deletePrevious=true) | 
|   | 
◆ AddCategoryElement()
- Parameters
 - 
  
    | [in] | category | cannot be null  | 
    | [in] | parentCategory |  | 
  
   
- Returns
 
 
 
◆ AddCommandElement()
- Parameters
 - 
  
    | [in] | command | cannot be null  | 
    | [in] | parentCategory |  | 
  
   
- Returns
 
 
 
◆ AddElementsFromCategory()
- Parameters
 - 
  
    | [in] | category | cannot be null  | 
    | [in] | rootCategory |  | 
  
   
 
 
◆ AddElementsFromCategoryToMap()
- Parameters
 - 
  
    | [in] | category | cannot be null  | 
  
   
 
 
◆ AddRadialMenuElement()
- Parameters
 - 
  
    | [in] | newElement |  | 
    | [in] | parentCategory |  | 
  
   
- Returns
 
 
 
◆ BindToQuickslot()
      
        
          | void SCR_PlayerControllerCommandingComponent.BindToQuickslot  | 
          ( | 
          int |           slotIndex | ) | 
           | 
        
      
 
 
◆ CommandExecutedCallback()
      
        
          | void SCR_PlayerControllerCommandingComponent.CommandExecutedCallback  | 
          ( | 
          int |           commandIndex | ) | 
           | 
        
      
 
 
◆ DeleteShownCommand()
  
  
      
        
          | void SCR_PlayerControllerCommandingComponent.DeleteShownCommand  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
If a command is currently being displayed, hide/delete it. 
 
 
◆ DrawWaypointVisualization()
      
        
          | void SCR_PlayerControllerCommandingComponent.DrawWaypointVisualization  | 
          ( | 
          vector |           targetPosition,  | 
        
        
           | 
           | 
          float |           wpRadius,  | 
        
        
           | 
           | 
          bool |           deletePrevious = true ) | 
        
      
 
 
◆ ExecuteCommand()
      
        
          | void SCR_PlayerControllerCommandingComponent.ExecuteCommand  | 
          ( | 
          vector |           targetPosition,  | 
        
        
           | 
           | 
          IEntity |           tracedEntity ) | 
        
      
 
- Parameters
 - 
  
    | [in] | targetPosition |  | 
    | [in] | tracedEntity |  | 
  
   
 
 
◆ GetLocalPlayerControllerCommandingComponent()
◆ GetPlayerControllerCommandingComponent()
◆ GetWorldToScreenPosition()
  
  
      
        
          | bool SCR_PlayerControllerCommandingComponent.GetWorldToScreenPosition  | 
          ( | 
          BaseWorld |           world,  | 
         
        
           | 
           | 
          vector |           worldPosition,  | 
         
        
           | 
           | 
          out float |           posX,  | 
         
        
           | 
           | 
          out float |           posY,  | 
         
        
           | 
           | 
          int |           cameraIndex = -1 ) | 
         
       
   | 
  
protected   | 
  
 
Recalculates worldPosition to screen space. 
- Parameters
 - 
  
    | [in] | world |  | 
    | [in] | worldPosition |  | 
    | [out] | posX | X Position on the screen  | 
    | [out] | posY | Y Position on the screen  | 
    | [in] | int | Camera thats being used  | 
  
   
 
 
◆ HideCommandPreview()
      
        
          | void SCR_PlayerControllerCommandingComponent.HideCommandPreview  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ InsertElementToMapRadial()
- Parameters
 - 
  
    | [in] | element | cannot be null  | 
    | [in] | category |  | 
    | [in] | mapCategory |  | 
  
   
 
 
◆ IsCommandSelected()
      
        
          | bool SCR_PlayerControllerCommandingComponent.IsCommandSelected  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ IsOpened()
      
        
          | bool SCR_PlayerControllerCommandingComponent.IsOpened  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ OnControllerLostControl()
  
  
      
        
          | void SCR_PlayerControllerCommandingComponent.OnControllerLostControl  | 
          ( | 
          SCR_RadialMenuController |           controller,  | 
         
        
           | 
           | 
          bool |           hasControl ) | 
         
       
   | 
  
protected   | 
  
 
 
◆ OnControllerTakeControl()
◆ OnGroupChanged()
      
        
          | void SCR_PlayerControllerCommandingComponent.OnGroupChanged  | 
          ( | 
          int |           groupID | ) | 
           | 
        
      
 
 
◆ OnGroupLeaderChanged()
      
        
          | void SCR_PlayerControllerCommandingComponent.OnGroupLeaderChanged  | 
          ( | 
          int |           groupID,  | 
        
        
           | 
           | 
          int |           playerID ) | 
        
      
 
 
◆ OnMapClose()
      
        
          | void SCR_PlayerControllerCommandingComponent.OnMapClose  | 
          ( | 
          MapConfiguration |           config | ) | 
           | 
        
      
 
 
◆ OnMapCommandPerformed()
      
        
          | void SCR_PlayerControllerCommandingComponent.OnMapCommandPerformed  | 
          ( | 
          SCR_SelectionMenuEntry |           element,  | 
        
        
           | 
           | 
          float[] |           worldPos ) | 
        
      
 
 
◆ OnMapOpen()
      
        
          | void SCR_PlayerControllerCommandingComponent.OnMapOpen  | 
          ( | 
          MapConfiguration |           config | ) | 
           | 
        
      
 
 
◆ OnPlayerRadialMenuClose()
      
        
          | void SCR_PlayerControllerCommandingComponent.OnPlayerRadialMenuClose  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ OnPlayerRadialMenuOpen()
      
        
          | void SCR_PlayerControllerCommandingComponent.OnPlayerRadialMenuOpen  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ OnPostInit()
  
  
      
        
          | override void SCR_PlayerControllerCommandingComponent.OnPostInit  | 
          ( | 
          IEntity |           owner | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ OnQuickslotBind4()
      
        
          | void SCR_PlayerControllerCommandingComponent.OnQuickslotBind4  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ OnQuickslotBind5()
      
        
          | void SCR_PlayerControllerCommandingComponent.OnQuickslotBind5  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ OnQuickslotBind6()
      
        
          | void SCR_PlayerControllerCommandingComponent.OnQuickslotBind6  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ OnQuickslotBind7()
      
        
          | void SCR_PlayerControllerCommandingComponent.OnQuickslotBind7  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ OnQuickslotBind8()
      
        
          | void SCR_PlayerControllerCommandingComponent.OnQuickslotBind8  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ OnQuickslotBind9()
      
        
          | void SCR_PlayerControllerCommandingComponent.OnQuickslotBind9  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ OnRadialMenuOpenFailed()
      
        
          | void SCR_PlayerControllerCommandingComponent.OnRadialMenuOpenFailed  | 
          ( | 
          SCR_SelectionMenu |           menu,  | 
        
        
           | 
           | 
          SCR_ESelectionMenuFailReason |           reason ) | 
        
      
 
 
◆ OnRadialMenuPerformed()
◆ OnRadialMenuSelected()
◆ OpenCommandingMenu()
      
        
          | void SCR_PlayerControllerCommandingComponent.OpenCommandingMenu  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ PhysicsCommandTrace()
Perform a TraceSegmented starting from Camera position in camera look direction with givin lengh. 
- Parameters
 - 
  
  
 
 
 
◆ PlayCommandGesture()
      
        
          | void SCR_PlayerControllerCommandingComponent.PlayCommandGesture  | 
          ( | 
          int |           commandIndex | ) | 
           | 
        
      
 
 
◆ PrepareExecuteCommand()
      
        
          | void SCR_PlayerControllerCommandingComponent.PrepareExecuteCommand  | 
          ( | 
          string |           commandName,  | 
        
        
           | 
           | 
          vector |           targetPosition = "0 0 0" ) | 
        
      
 
 
◆ RemoveListenersFromRadial()
  
  
      
        
          | void SCR_PlayerControllerCommandingComponent.RemoveListenersFromRadial  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ RemoveMapListener()
      
        
          | void SCR_PlayerControllerCommandingComponent.RemoveMapListener  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ RPC_CommandExecutedCallback()
      
        
          | void SCR_PlayerControllerCommandingComponent.RPC_CommandExecutedCallback  | 
          ( | 
          int |           commandIndex | ) | 
           | 
        
      
 
 
◆ RPC_RequestExecuteCommand()
      
        
          | void SCR_PlayerControllerCommandingComponent.RPC_RequestExecuteCommand  | 
          ( | 
          int |           commandIndex,  | 
        
        
           | 
           | 
          RplId |           cursorTargetID,  | 
        
        
           | 
           | 
          RplId |           groupRplID,  | 
        
        
           | 
           | 
          vector |           targetPoisition,  | 
        
        
           | 
           | 
          int |           playerID ) | 
        
      
 
- Parameters
 - 
  
    | [in] | commandIndex |  | 
    | [in] | cursorTargetID |  | 
    | [in] | groupRplID |  | 
    | [in] | targetPoisition |  | 
    | [in] | playerID |  | 
  
   
 
 
◆ SetShownCommand()
◆ SetShownCommandPreview()
◆ SetupMapListener()
      
        
          | void SCR_PlayerControllerCommandingComponent.SetupMapListener  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ SetupMapRadialMenu()
      
        
          | void SCR_PlayerControllerCommandingComponent.SetupMapRadialMenu  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ SetupPlayerRadialMenu()
      
        
          | void SCR_PlayerControllerCommandingComponent.SetupPlayerRadialMenu  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ ShowCommandPreview()
      
        
          | void SCR_PlayerControllerCommandingComponent.ShowCommandPreview  | 
          ( | 
          string |           commandName | ) | 
           | 
        
      
 
Prepare the command to be shown. 
- Parameters
 - 
  
  
 
 
 
◆ UpdateRadialMenu()
      
        
          | void SCR_PlayerControllerCommandingComponent.UpdateRadialMenu  | 
          ( | 
          IEntity |           owner,  | 
        
        
           | 
           | 
          bool |           isOpen ) | 
        
      
 
 
◆ ABOVE_TERRAIN_OFFSET
  
  
      
        
          | const float SCR_PlayerControllerCommandingComponent.ABOVE_TERRAIN_OFFSET = 0.5 | 
         
       
   | 
  
staticprotected   | 
  
 
Used to offset the position to spawn waypoint so it is not spawned in terrain. 
 
 
◆ COMMANDING_VISUAL_RANGE
  
  
      
        
          | const float SCR_PlayerControllerCommandingComponent.COMMANDING_VISUAL_RANGE = 10000 | 
         
       
   | 
  
staticprotected   | 
  
 
Maximal range for command in meters. 
 
 
◆ m_aShapes
  
  
      
        
          | ref array<ref Shape> SCR_PlayerControllerCommandingComponent.m_aShapes = {} | 
         
       
   | 
  
protected   | 
  
 
 
◆ m_bIsCommandExecuting
  
  
      
        
          | bool SCR_PlayerControllerCommandingComponent.m_bIsCommandExecuting = false | 
         
       
   | 
  
protected   | 
  
 
 
◆ m_bIsCommandSelected
  
  
      
        
          | bool SCR_PlayerControllerCommandingComponent.m_bIsCommandSelected | 
         
       
   | 
  
protected   | 
  
 
 
◆ m_bSlaveGroupRequested
  
  
      
        
          | bool SCR_PlayerControllerCommandingComponent.m_bSlaveGroupRequested = false | 
         
       
   | 
  
protected   | 
  
 
 
◆ m_CommandingManager
◆ m_CommandingMapMenuConfig
◆ m_CommandingMenuConfig
◆ m_CommandingMenuPairsConfig
◆ m_CurrentShownCommand
◆ m_CurrentShownCommandPreview
◆ m_MapContextualMenu
  
  
      
        
          | SCR_MapRadialUI SCR_PlayerControllerCommandingComponent.m_MapContextualMenu | 
         
       
   | 
  
protected   | 
  
 
 
◆ m_PhysicsHelper
◆ m_RadialMenu
◆ m_RadialMenuController
◆ m_sCommandingConfigActionPair
  
  
      
        
          | ResourceName SCR_PlayerControllerCommandingComponent.m_sCommandingConfigActionPair | 
         
       
   | 
  
protected   | 
  
 
 
◆ m_sCommandingMapMenuConfigPath
  
  
      
        
          | ResourceName SCR_PlayerControllerCommandingComponent.m_sCommandingMapMenuConfigPath | 
         
       
   | 
  
protected   | 
  
 
 
◆ m_SelectedEntity
  
  
      
        
          | IEntity SCR_PlayerControllerCommandingComponent.m_SelectedEntity | 
         
       
   | 
  
protected   | 
  
 
 
◆ m_sExecutedCommandName
  
  
      
        
          | string SCR_PlayerControllerCommandingComponent.m_sExecutedCommandName | 
         
       
   | 
  
protected   | 
  
 
 
◆ m_sSelectedCommandEntry
  
  
      
        
          | string SCR_PlayerControllerCommandingComponent.m_sSelectedCommandEntry | 
         
       
   | 
  
protected   | 
  
 
 
The documentation for this interface was generated from the following file:
- Game/Commanding/SCR_PlayerControllerCommandingComponent.c