Class HTNComponent
Inheritance
System.Object
HTNComponent
Assembly: Content.Server.dll
Syntax
public sealed class HTNComponent : NPCComponent
Fields
|
Improve this Doc
View Source
CheckServices
Check any active services for our current plan. This is used to find new targets for example without changing our plan.
Declaration
public bool CheckServices
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Plan
Declaration
Field Value
|
Improve this Doc
View Source
PlanAccumulator
How much longer until we can try re-planning. This will happen even during update in case something changed.
Declaration
public float PlanAccumulator
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
PlanCooldown
How long to wait after having planned to try planning again.
Declaration
public float PlanCooldown
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
PlanningJob
Declaration
public HTNPlanJob PlanningJob
Field Value
|
Improve this Doc
View Source
PlanningToken
Declaration
public CancellationTokenSource? PlanningToken
Field Value
Type |
Description |
System.Nullable<CancellationTokenSource> |
|
|
Improve this Doc
View Source
RootTask
The base task to use for planning
Declaration
public HTNCompoundTask RootTask
Field Value
Properties
|
Improve this Doc
View Source
Planning
Is this NPC currently planning?
Declaration
public bool Planning { get; }
Property Value
Type |
Description |
System.Boolean |
|