LeviLamina
Loading...
Searching...
No Matches
GoalSelectorComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class Goal;
9// clang-format on
10
12public:
13 // GoalSelectorComponent inner types define
14 using GoalElement = ::std::pair<ushort, ::PrioritizedGoal>;
15
16 using GoalCondition = bool (*)(::std::pair<ushort, ::PrioritizedGoal>&);
17
18 using GoalMap = ::std::vector<::std::pair<ushort, ::PrioritizedGoal>>;
19
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<8, 24, ::std::vector<::std::pair<ushort, ::PrioritizedGoal>>> mGoalMap;
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
30
31public:
32 // member functions
33 // NOLINTBEGIN
34 MCAPI void _eraseGoals(bool (*condition)(::std::pair<ushort, ::PrioritizedGoal>&));
35
36 MCAPI void addGoal(int priority, ::std::unique_ptr<::Goal> goal);
37
38 MCAPI void buildDebugInfo(::std::string& out) const;
39
40 MCAPI ::GoalSelectorComponent& operator=(::GoalSelectorComponent&&);
41
42 MCAPI bool removeGoal(ushort typeId);
43
44 MCAPI void stopNonTargetedGoals();
45 // NOLINTEND
46};
Definition GoalSelectorComponent.h:11
Definition Goal.h:14
Definition PrioritizedGoal.h:10