11class GoalSelectorComponent {
14 using GoalCondition = bool (*)(::std::pair<ushort, ::PrioritizedGoal>&);
16 using GoalElement = ::std::pair<ushort, ::PrioritizedGoal>;
18 using GoalMap = ::std::vector<::std::pair<ushort, ::PrioritizedGoal>>;
23 ::ll::TypedStorage<8, 24, ::std::vector<::std::pair<ushort, ::PrioritizedGoal>>> mGoalMap;
28 GoalSelectorComponent& operator=(GoalSelectorComponent
const&);
29 GoalSelectorComponent(GoalSelectorComponent
const&);
30 GoalSelectorComponent();
35 MCAPI
void _eraseGoals(
bool (*condition)(::std::pair<ushort, ::PrioritizedGoal>&));
37 MCAPI
void addGoal(
int priority, ::std::unique_ptr<::Goal> goal);
39 MCAPI
void buildDebugInfo(::std::string& out)
const;
41 MCAPI ::GoalSelectorComponent& operator=(::GoalSelectorComponent&&);
43 MCAPI
bool removeGoal(ushort typeId);
45 MCAPI
void stopNonTargetedGoals();