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
31
32public:
33 // member functions
34 // NOLINTBEGIN
35 MCNAPI void _eraseGoals(bool (*condition)(::std::pair<ushort, ::PrioritizedGoal>&));
36
37 MCNAPI void addGoal(int priority, ::std::unique_ptr<::Goal> goal);
38
39 MCNAPI void buildDebugInfo(::std::string& out) const;
40
41 MCNAPI ::GoalSelectorComponent& operator=(::GoalSelectorComponent&&);
42
43 MCNAPI bool removeGoal(ushort typeId);
44
45 MCNAPI void stopNonTargetedGoals();
46 // NOLINTEND
47};
Definition GoalSelectorComponent.h:11
MCAPI void buildDebugInfo(::std::string &out) const
MCAPI void stopNonTargetedGoals()
MCAPI void _eraseGoals(bool(*condition)(::std::pair< ushort, ::PrioritizedGoal > &))
MCAPI void addGoal(int priority, ::std::unique_ptr<::Goal > goal)
MCAPI::GoalSelectorComponent & operator=(::GoalSelectorComponent &&)
MCAPI bool removeGoal(ushort typeId)
Definition Goal.h:14
Definition PrioritizedGoal.h:10