LeviLamina
Loading...
Searching...
No Matches
GoalSelectorComponent Class Reference

Public Types

using GoalCondition = bool (*)(::std::pair<::GoalId, ::PrioritizedGoal>&)
using GoalElement = ::std::pair<::GoalId, ::PrioritizedGoal>
using GoalMap = ::std::vector<::std::pair<::GoalId, ::PrioritizedGoal>>

Public Member Functions

MCAPI void addGoal (int priority, ::std::unique_ptr<::BaseGoal > goal)
MCAPI void buildDebugInfo (::std::string &out) const
MCAPI void clearAllGoals ()
MCAPI void onPlayerDimensionChanged (::Player *player, ::DimensionType fromDimension, ::DimensionType toDimension)
MCAPI bool removeGoal (::GoalId typeId)
MCAPI void stopNonTargetedGoals ()

Public Attributes

::ll::TypedStorage< 8, 24, ::std::vector<::std::pair<::GoalId, ::PrioritizedGoal > > > mGoalMap

The documentation for this class was generated from the following file: