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
 

Member Function Documentation

◆ _eraseGoals()

MCAPI void GoalSelectorComponent::_eraseGoals ( bool(* condition )(::std::pair< ushort, ::PrioritizedGoal > &))
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ addGoal()

MCAPI void GoalSelectorComponent::addGoal ( int priority,
::std::unique_ptr<::Goal > goal )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ buildDebugInfo()

MCAPI void GoalSelectorComponent::buildDebugInfo ( ::std::string & out) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ operator=()

MCAPI::GoalSelectorComponent & GoalSelectorComponent::operator= ( ::GoalSelectorComponent && )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ removeGoal()

MCAPI bool GoalSelectorComponent::removeGoal ( ushort typeId)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ stopNonTargetedGoals()

MCAPI void GoalSelectorComponent::stopNonTargetedGoals ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

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