Takes care of tasks-specific server <> client communication and requests.  
 More...
 | 
| void  | CancelTask (int taskID) | 
|   | Allows the requester to cancel a task requested by them.  
  | 
|   | 
| void  | AbandonTask (int taskID) | 
|   | Allows the local player to abandon a task assigned to them.  
  | 
|   | 
| void  | RequestAssignment (int taskID) | 
|   | Allows the local player to request assignment to a task.  
  | 
|   | 
| void  | AssignTaskToPlayer (int gmID, int taskID, int playerID) | 
|   | 
| override void  | EOnInit (IEntity owner) | 
|   | 
| override void  | OnPostInit (IEntity owner) | 
|   | 
| void  | SCR_TaskNetworkComponent (IEntityComponentSource src, IEntity ent, IEntity parent) | 
|   | 
 | 
| void  | RPC_AssignTaskToPlayer (int gmID, int taskID, int playerID) | 
|   | 
| void  | RPC_CancelTask (int taskID) | 
|   | An RPC executed on the server, tells task manager to cancel given task by given player.  
  | 
|   | 
| void  | RPC_AbandonTask (int taskID, int playerID) | 
|   | An RPC executed on the server, tells task manager to abandon given task by given player.  
  | 
|   | 
| void  | RPC_RequestAssignment (int taskID, int playerID) | 
|   | An RPC executed on the server, tells task manager to assign given task to given player.  
  | 
|   | 
Takes care of tasks-specific server <> client communication and requests. 
 
◆ SCR_TaskNetworkComponent()
      
        
          | void SCR_TaskNetworkComponent.SCR_TaskNetworkComponent  | 
          ( | 
          IEntityComponentSource |           src,  | 
        
        
           | 
           | 
          IEntity |           ent,  | 
        
        
           | 
           | 
          IEntity |           parent ) | 
        
      
 
 
◆ AbandonTask()
      
        
          | void SCR_TaskNetworkComponent.AbandonTask  | 
          ( | 
          int |           taskID | ) | 
           | 
        
      
 
Allows the local player to abandon a task assigned to them. 
- Parameters
 - 
  
  
 
 
 
◆ AssignTaskToPlayer()
      
        
          | void SCR_TaskNetworkComponent.AssignTaskToPlayer  | 
          ( | 
          int |           gmID,  | 
        
        
           | 
           | 
          int |           taskID,  | 
        
        
           | 
           | 
          int |           playerID ) | 
        
      
 
- Parameters
 - 
  
    | [in] | gmID |  | 
    | [in] | taskID |  | 
    | [in] | playerID |  | 
  
   
 
 
◆ CancelTask()
      
        
          | void SCR_TaskNetworkComponent.CancelTask  | 
          ( | 
          int |           taskID | ) | 
           | 
        
      
 
Allows the requester to cancel a task requested by them. 
- Parameters
 - 
  
  
 
 
 
◆ EOnInit()
      
        
          | override void SCR_TaskNetworkComponent.EOnInit  | 
          ( | 
          IEntity |           owner | ) | 
           | 
        
      
 
 
◆ OnPostInit()
      
        
          | override void SCR_TaskNetworkComponent.OnPostInit  | 
          ( | 
          IEntity |           owner | ) | 
           | 
        
      
 
 
◆ RequestAssignment()
      
        
          | void SCR_TaskNetworkComponent.RequestAssignment  | 
          ( | 
          int |           taskID | ) | 
           | 
        
      
 
Allows the local player to request assignment to a task. 
- Parameters
 - 
  
  
 
 
 
◆ RPC_AbandonTask()
  
  
      
        
          | void SCR_TaskNetworkComponent.RPC_AbandonTask  | 
          ( | 
          int |           taskID,  | 
         
        
           | 
           | 
          int |           playerID ) | 
         
       
   | 
  
protected   | 
  
 
An RPC executed on the server, tells task manager to abandon given task by given player. 
- Parameters
 - 
  
  
 
 
 
◆ RPC_AssignTaskToPlayer()
  
  
      
        
          | void SCR_TaskNetworkComponent.RPC_AssignTaskToPlayer  | 
          ( | 
          int |           gmID,  | 
         
        
           | 
           | 
          int |           taskID,  | 
         
        
           | 
           | 
          int |           playerID ) | 
         
       
   | 
  
protected   | 
  
 
 
◆ RPC_CancelTask()
  
  
      
        
          | void SCR_TaskNetworkComponent.RPC_CancelTask  | 
          ( | 
          int |           taskID | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
An RPC executed on the server, tells task manager to cancel given task by given player. 
- Parameters
 - 
  
  
 
 
 
◆ RPC_RequestAssignment()
  
  
      
        
          | void SCR_TaskNetworkComponent.RPC_RequestAssignment  | 
          ( | 
          int |           taskID,  | 
         
        
           | 
           | 
          int |           playerID ) | 
         
       
   | 
  
protected   | 
  
 
An RPC executed on the server, tells task manager to assign given task to given player. 
- Parameters
 - 
  
  
 
 
 
◆ INVALID_PLAYER_ID
  
  
      
        
          | const int SCR_TaskNetworkComponent.INVALID_PLAYER_ID = -1 | 
         
       
   | 
  
staticprotected   | 
  
 
 
◆ m_PlayerController
◆ m_RplComponent
The documentation for this interface was generated from the following file:
- Game/Campaign/SCR_TaskNetworkComponent.c