Vixen
caa30e12
csharp
public readonly record struct ReplanContext

What an agent's planning looks like right now.

Read the guide page for this →

Fields and properties (6)

  • public bool HasPlan

    Whether it has a plan with anything left in it.

  • public bool Finished

    Whether the step it was running has just ended.

  • public bool Failed

    Whether that step failed, as opposed to succeeding.

  • public float Elapsed

    Seconds since the plan was made.

  • public int Remaining

    How many steps are left, the running one included.

  • public bool Asked

    Whether 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