Class HTNPlanJob
A time-sliced job that will retrieve an HTN plan eventually.
Implements
Robust.Shared.CPUJob.JobQueues.IJob
Namespace: Content.Server.NPC.HTN
Assembly: Content.Server.dll
Syntax
public sealed class HTNPlanJob : Job<HTNPlan>, IJob
Constructors
| Improve this Doc View SourceHTNPlanJob(Double, IPrototypeManager, HTNTask, NPCBlackboard, Nullable<List<Int32>>, CancellationToken)
Declaration
public HTNPlanJob(double maxTime, IPrototypeManager protoManager, HTNTask rootTask, NPCBlackboard blackboard, List<int>? branchTraversal, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.Double | maxTime | |
Robust.Shared.Prototypes.IPrototypeManager | protoManager | |
HTNTask | rootTask | |
NPCBlackboard | blackboard | |
System.Nullable<List<System.Int32>> | branchTraversal | |
CancellationToken | cancellationToken |
Methods
| Improve this Doc View SourceProcess()
Declaration
protected override Task<HTNPlan> Process()
Returns
Type | Description |
---|---|
Task<HTNPlan> |
Overrides
Robust.Shared.CPUJob.JobQueues.Job<Content.Server.NPC.HTN.HTNPlan>.Process()
Implements
Robust.Shared.CPUJob.JobQueues.IJob