Skip to main content
Represents the result of goal state advancement. Tracks goals that were activated, completed, and currently active during a graph execution cycle.

Implements

  • GoalAdvancementInterface

Constructor

new GoalAdvancement(
    goalAdvancement: GoalAdvancementInterface
): GoalAdvancement
Creates a new GoalAdvancement instance.

Parameters

goalAdvancement (GoalAdvancementInterface) The goal advancement data to create the instance from.

Returns

GoalAdvancement Overrides: AbstractApiDataType.constructor

Properties

activatedGoals

readonly activatedGoals: string[]
Goals that have been newly activated. Implementation of: GoalAdvancementInterface.activatedGoals

completedGoals

readonly completedGoals: string[]
Goals that have been successfully completed. Implementation of: GoalAdvancementInterface.completedGoals

currentGoals

readonly currentGoals: string[]
Goals that are currently being pursued. Implementation of: GoalAdvancementInterface.currentGoals