3#include "mc/_HeaderOutputPredefine.h"
17 using GoalCondition = bool (*)(::std::pair<::GoalId, ::PrioritizedGoal>&);
19 using GoalElement = ::std::pair<::GoalId, ::PrioritizedGoal>;
21 using GoalMap = ::std::vector<::std::pair<::GoalId, ::PrioritizedGoal>>;
26 ::ll::TypedStorage<8, 24, ::std::vector<::std::pair<::GoalId, ::PrioritizedGoal>>> mGoalMap;
32 MCNAPI
void addGoal(
int priority, ::std::unique_ptr<::BaseGoal> goal);
Definition GoalSelectorComponent.h:14
MCAPI void buildDebugInfo(::std::string &out) const
MCAPI void clearAllGoals()
MCAPI void stopNonTargetedGoals()
MCAPI bool removeGoal(::GoalId typeId)
MCAPI void addGoal(int priority, ::std::unique_ptr<::BaseGoal > goal)
MCAPI void onPlayerDimensionChanged(::Player *player, ::DimensionType fromDimension, ::DimensionType toDimension)
Definition PrioritizedGoal.h:10
Definition DimensionType.h:5