Class HTNPlan
The current plan for a HTN NPC.
Inheritance
System.Object
HTNPlan
Assembly: Content.Server.dll
Syntax
public sealed class HTNPlan : object
Constructors
|
Improve this Doc
View Source
HTNPlan(List<HTNPrimitiveTask>, List<Int32>, List<Nullable<Dictionary<String, Object>>>)
Declaration
public HTNPlan(List<HTNPrimitiveTask> tasks, List<int> branchTraversalRecord, List<Dictionary<string, object>?> effects)
Parameters
Type |
Name |
Description |
List<HTNPrimitiveTask> |
tasks |
|
List<System.Int32> |
branchTraversalRecord |
|
List<System.Nullable<Dictionary<System.String, System.Object>>> |
effects |
|
Fields
|
Improve this Doc
View Source
BranchTraversalRecord
Declaration
public readonly List<int> BranchTraversalRecord
Field Value
Type |
Description |
List<System.Int32> |
|
|
Improve this Doc
View Source
Effects
Effects that were applied for each primitive task in the plan.
Declaration
public readonly List<Dictionary<string, object>?> Effects
Field Value
Type |
Description |
List<System.Nullable<Dictionary<System.String, System.Object>>> |
|
|
Improve this Doc
View Source
Index
Where we are up to in the Tasks
Declaration
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Tasks
Declaration
public readonly List<HTNPrimitiveTask> Tasks
Field Value
Properties
|
Improve this Doc
View Source
CurrentOperator
Declaration
public HTNOperator CurrentOperator { get; }
Property Value
|
Improve this Doc
View Source
CurrentTask
Declaration
public HTNPrimitiveTask CurrentTask { get; }
Property Value