|
| override void | SetTaskState (SCR_ETaskState state) |
| |
| override void | EOnInit (IEntity owner) |
| |
| void | ~SCR_FireSupportRequestedTaskEntity () |
| |
| SCR_TaskRequesterIdInvoker | GetOnRequesterIdChanged () |
| |
| void | SetTaskRequesterId (int groupId) |
| |
| bool | CanBeCanceledByLocalPlayer () |
| |
| bool | IsPlayerFromRequesterGroup (int playerId) |
| |
| bool | RequestedByLocalPlayerGroup () |
| |
| int | GetRequesterId () |
| |
| override bool | RplSave (ScriptBitWriter writer) |
| |
| override bool | RplLoad (ScriptBitReader reader) |
| |
| SCR_TaskData | GetTaskData () |
| | Returns task data instance.
|
| |
| SCR_TaskUIInfo | GetTaskUIInfo () |
| | Returns task UI info.
|
| |
| string | GetTaskID () |
| | Returns task ID.
|
| |
| void | SetTaskID (string taskID) |
| | Sets ID of task.
|
| |
| int | GetAuthorID () |
| | Returns task author ID.
|
| |
| void | SetAuthorCredentials (int authorId, UUID authorIdentityId, PlatformKind platformKind) |
| | Sets author id, identity and platformKind of task.
|
| |
| PlatformKind | GetAuthorPlatformKind () |
| | Returns platform kind of author from backend.
|
| |
| UUID | GetAuthorIdentityID () |
| | Returns task author identity ID from backend.
|
| |
| LocalizedString | GetTaskName (out array< LocalizedString > params=null) |
| | Returns name of task.
|
| |
| void | SetTaskName (LocalizedString taskName, array< LocalizedString > taskNameParams=null) |
| | Sets name of task.
|
| |
| LocalizedString | GetTaskDescription (out array< LocalizedString > params=null) |
| | Returns description of task.
|
| |
| void | SetTaskDescription (LocalizedString taskDesc, array< LocalizedString > taskDescParams=null) |
| | Sets description of task.
|
| |
| string | GetTaskIconPath () |
| | Returns task icon path.
|
| |
| void | SetTaskIconPath (ResourceName iconPath) |
| | Sets task icon path.
|
| |
| string | GetTaskIconSetName () |
| | Returns name of task icon set.
|
| |
| void | SetTaskIconSetName (string iconSetName) |
| | Sets name of task icon set.
|
| |
| int | GetTaskAssigneeCount () |
| | Returns number of assignees for this task.
|
| |
| int | GetTaskAssigneePlayerCount (bool recursive=true) |
| | Returns number of assigned players for this task; If recursive is true, it will check assigned groups as well.
|
| |
| array< ref SCR_TaskExecutor > | GetTaskAssignees () |
| | Returns array of assignees for this task.
|
| |
| array< int > | GetTaskAssigneePlayerIDs () |
| | Returns array of player assignees for this task.
|
| |
| bool | IsTaskAssignedTo (SCR_TaskExecutor executor, out SCR_TaskExecutor match=null) |
| | Returns true if specified executor is assigned to this task and provides matching executor.
|
| |
| bool | AddTaskAssignee (SCR_TaskExecutor executor, bool listenToInvokers=true, int requesterID=0) |
| | Tries to add a new assignee to this task.
|
| |
| bool | RemoveTaskAssignee (SCR_TaskExecutor executor, bool listenToInvokers=true, int requesterID=0) |
| | Tries to remove an assignee from this task.
|
| |
| SCR_ETaskState | GetTaskState () |
| |
| SCR_ETaskOwnership | GetTaskOwnership () |
| |
| void | SetTaskOwnership (SCR_ETaskOwnership ownership) |
| |
| SCR_ETaskVisibility | GetTaskVisibility () |
| |
| void | SetTaskVisibility (SCR_ETaskVisibility visibility) |
| |
| SCR_ETaskUIVisibility | GetTaskUIVisibility () |
| |
| void | SetTaskUIVisibility (SCR_ETaskUIVisibility visibility) |
| |
| int | GetOwnerFactionCount () |
| |
| array< string > | GetOwnerFactionKeys () |
| |
| void | AddOwnerFactionKey (FactionKey factionKey) |
| |
| void | RemoveOwnerFactionKey (FactionKey factionKey) |
| |
| int | GetOwnerGroupCount () |
| |
| array< int > | GetOwnerGroupIDs () |
| |
| void | AddOwnerGroupID (int groupID) |
| |
| void | RemoveOwnerGroupID (int groupID) |
| |
| int | GetOwnerExecutorCount () |
| |
| array< ref SCR_TaskExecutor > | GetOwnerExecutors () |
| |
| bool | AddOwnerExecutor (SCR_TaskExecutor executor) |
| | Tries to add an owner executor to this task.
|
| |
| bool | RemoveOwnerExecutor (SCR_TaskExecutor executor) |
| | Tries to remove an owner executor from this task.
|
| |
| vector | GetTaskPosition () |
| | Returns position of task.
|
| |
| void | SetTaskPosition (vector position) |
| | Sets position of task.
|
| |
| SCR_TaskUIComponent | GetUIComponent () |
| |
| ScriptInvokerVoid | GetOnDisplayDataChanged () |
| |
| override void | _WB_AfterWorldUpdate (float timeSlice) |
| |
| void | SCR_Task (IEntitySource src, IEntity parent) |
| |
| void | ~SCR_Task () |
| |
|
| void | AddXPReward () |
| |
| bool | IsAllowedExplosionAmmo (IEntity damageSource) |
| |
| void | OnExplosionAmmoEffect (IEntity pHitEntity, inout vector outMat[3], IEntity damageSource, notnull Instigator instigator, string colliderName, float speed) |
| |
| void | EvaluateTask () |
| |
| void | RpcDo_SetTaskRequesterId (int groupId) |
| |
| void | OnSetRequesterId (int requesterId) |
| |
| override void | ReadUIInfo (ScriptBitReader reader, out SCR_TaskUIInfo info) |
| |
| void | DeleteTask () |
| |
| override void | InitializeData () |
| |
| void | Rpc_SetTaskID (string taskID) |
| |
| void | Rpc_SetAuthorCredentials (int authorId, UUID authorIdentityId, PlatformKind platformKind) |
| |
| void | Rpc_SetTaskName (LocalizedString taskName, array< LocalizedString > taskNameParams) |
| |
| void | Rpc_SetTaskDescription (LocalizedString taskDesc, array< LocalizedString > taskDescParams) |
| |
| void | Rpc_SetTaskIconPath (ResourceName iconPath) |
| |
| void | Rpc_SetTaskIconSetName (string iconSetName) |
| |
| void | AddTaskAssignee_Proxy (SCR_TaskExecutor executor, int requesterID) |
| |
| void | Rpc_AddTaskAssigneePlayer (SCR_TaskExecutorPlayer executor, int requesterID) |
| |
| void | Rpc_AddTaskAssigneeEntity (SCR_TaskExecutorEntity executor, int requesterID) |
| |
| void | Rpc_AddTaskAssigneeGroup (SCR_TaskExecutorGroup executor, int requesterID) |
| |
| void | RemoveTaskAssignee_Proxy (SCR_TaskExecutor executor, int requesterID) |
| |
| void | Rpc_RemoveTaskAssigneePlayer (SCR_TaskExecutorPlayer executor, int requesterID) |
| |
| void | Rpc_RemoveTaskAssigneeEntity (SCR_TaskExecutorEntity executor, int requesterID) |
| |
| void | Rpc_RemoveTaskAssigneeGroup (SCR_TaskExecutorGroup executor, int requesterID) |
| |
| void | Rpc_SetTaskState (SCR_ETaskState state) |
| |
| void | Rpc_SetTaskOwnership (SCR_ETaskOwnership ownership) |
| |
| void | Rpc_SetTaskVisibility (SCR_ETaskVisibility visibility) |
| |
| void | Rpc_SetTaskUIVisibility (SCR_ETaskUIVisibility visibility) |
| |
| void | Rpc_AddOwnerFactionKey (FactionKey factionKey) |
| |
| void | Rpc_RemoveOwnerFactionKey (FactionKey factionKey) |
| |
| void | Rpc_AddOwnerGroupID (int groupID) |
| |
| void | Rpc_RemoveOwnerGroupID (int groupID) |
| |
| void | AddOwnerExecutor_Proxy (SCR_TaskExecutor executor) |
| |
| void | Rpc_AddOwnerExecutorPlayer (SCR_TaskExecutorPlayer executor) |
| |
| void | Rpc_AddOwnerExecutorEntity (SCR_TaskExecutorEntity executor) |
| |
| void | Rpc_AddOwnerExecutorGroup (SCR_TaskExecutorGroup executor) |
| |
| void | RemoveOwnerExecutor_Proxy (SCR_TaskExecutor executor) |
| |
| void | Rpc_RemoveOwnerExecutorPlayer (SCR_TaskExecutorPlayer executor) |
| |
| void | Rpc_RemoveOwnerExecutorEntity (SCR_TaskExecutorEntity executor) |
| |
| void | Rpc_RemoveOwnerExecutorGroup (SCR_TaskExecutorGroup executor) |
| |
| void | Rpc_SetTaskPosition (vector position) |
| |
| void | WriteUIInfo (ScriptBitWriter writer, SCR_TaskUIInfo info) |
| |
| void | WriteExecutor (ScriptBitWriter writer, SCR_TaskExecutor executor) |
| |
| void | ReadExecutor (ScriptBitReader reader, out SCR_TaskExecutor executor) |
| |
| void | RemoveUnauthorizedAssignees () |
| | Go through assignee list and remove assignees who are not allowed to be assigned to this task.
|
| |
| void | OnFactionChanged (FactionAffiliationComponent owner, Faction previousFaction, Faction newFaction) |
| | If faction changed for an assignee, go through assignee list and remove assignees who are no longer allowed to be assigned to this task.
|
| |
| void | OnPlayerFactionChanged (int playerId, SCR_PlayerFactionAffiliationComponent playerFactionAffiliationComponent, Faction faction) |
| |
| void | OnGroupChanged (int groupID) |
| | If group changed for an assignee, go through assignee list and remove assignees who are no longer allowed to be assigned to this task.
|
| |
| void | OnGroupRemoved (SCR_AIGroup group) |
| | When group is deleted, check if group matches group in task data and reset values.
|
| |
| void | OnPlayerAddedToGroup (SCR_AIGroup group, int playerID) |
| | Invoke m_OnDisplayDataChanged to update UI when player joins group.
|
| |
| void | OnPlayerRemovedFromGroup (SCR_AIGroup group, int playerID) |
| | Invoke m_OnDisplayDataChanged to update UI when player leaves group.
|
| |
| void | ConnectToTaskSystem () |
| |
| void | DisconnectFromTaskSystem () |
| |