Show / Hide Table of Contents

Class HTNPlanJob

A time-sliced job that will retrieve an HTN plan eventually.

Inheritance
System.Object
Robust.Shared.CPUJob.JobQueues.Job<HTNPlan>
HTNPlanJob
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 Source

HTNPlanJob(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 Source

Process()

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
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾