csharp
public readonly record struct ReplanContextWhat an agent's planning looks like right now.
Fields and properties (6)
public bool HasPlanWhether it has a plan with anything left in it.
public bool FinishedWhether the step it was running has just ended.
public bool FailedWhether that step failed, as opposed to succeeding.
public float ElapsedSeconds since the plan was made.
public int RemainingHow many steps are left, the running one included.
public bool AskedWhether something explicitly asked for a re-plan.
Methods (1)
public ReplanContext(bool HasPlan, bool Finished, bool Failed, float Elapsed, int Remaining, bool Asked)What an agent's planning looks like right now.
Used by (6)
- GoapMemoryVixen.Ai
- IReplanPolicyVixen.Ai
- ManualReplanPolicyVixen.Ai
- ProactiveReplanPolicyVixen.Ai
- ReactiveReplanPolicyVixen.Ai
- ReplanPolicyTestsVixen.Ai.Tests