Show / Hide Table of Contents

Class HTNPlan

The current plan for a HTN NPC.

Inheritance
System.Object
HTNPlan
Namespace: Content.Server.NPC.HTN
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
public int Index
Field Value
Type Description
System.Int32
| Improve this Doc View Source

Tasks

Declaration
public readonly List<HTNPrimitiveTask> Tasks
Field Value
Type Description
List<HTNPrimitiveTask>

Properties

| Improve this Doc View Source

CurrentOperator

Declaration
public HTNOperator CurrentOperator { get; }
Property Value
Type Description
HTNOperator
| Improve this Doc View Source

CurrentTask

Declaration
public HTNPrimitiveTask CurrentTask { get; }
Property Value
Type Description
HTNPrimitiveTask
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾