Navigation
API > API/Plugins > API/Plugins/HTNPlanner
References
| Module | HTNPlanner |
| Header | /Engine/Plugins/AI/HTNPlanner/Source/HTNPlanner/Public/HTNPlanner.h |
| Include | #include "HTNPlanner.h" |
Syntax
struct FHTNPlanner
Variables
| Type | Name | Description | |
|---|---|---|---|
| FHTNRestorePoint | CurrentState | ||
| TArray< FHTNRestorePoint > | RestorePoints | The array where consecutive restore points are stored. | |
| int32 | RestorePointsStored | Used for bookkeeping RestorePoints contents | |
| TArray< FHTNPolicy::FTaskID > | TasksToProcess |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FHTNPlanner () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddToPlan
(
const FHTNPolicy::FTaskID CurrentTask |
||
| bool | CanRollBack () |
||
| FHTNWorldState & | |||
| bool | GeneratePlan
(
const FHTNDomain& Domain, |
||
| FHTNPolicy::FTaskID | |||
| int32 | |||
| const TArray< FHTNPolicy::FTaskID > | GetPlan () |
||
| const FHTNWorldState & | |||
| void | RecordDecomposition
(
const FHTNPolicy::FTaskID CurrentTask, |
||
| void | Reset () |
||
| void |
Constants
| Name | Description |
|---|---|
| InitialResporePoints |