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

Public Types

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

Public Member Functions

GoalSelectorComponentoperator= (GoalSelectorComponent const &)
 
 GoalSelectorComponent (GoalSelectorComponent const &)
 
MCAPI void _eraseGoals (bool(*condition)(::std::pair< ushort, ::PrioritizedGoal > &))
 
MCAPI void addGoal (int priority, ::std::unique_ptr<::Goal > goal)
 
MCAPI void buildDebugInfo (::std::string &out) const
 
MCAPI::GoalSelectorComponent & operator= (::GoalSelectorComponent &&)
 
MCAPI bool removeGoal (ushort typeId)
 
MCAPI void stopNonTargetedGoals ()
 

Public Attributes

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

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