16class FollowTargetLeaderGoal :
public ::MoveTowardsTargetGoal {
20 ::ll::TypedStorage<8, 64, ::ActorFilterGroup> mLeaderFilters;
21 ::ll::TypedStorage<8, 8, ::Tick> mSearchCooldownInTicks;
22 ::ll::TypedStorage<8, 8, ::Tick> mNextSearchCooldownTick;
23 ::ll::TypedStorage<4, 4, float> mFollowDistSq;
24 ::ll::TypedStorage<2, 2, short> mLocateAttempts;
25 ::ll::TypedStorage<1, 1, bool> mAlwaysLookForLeader;
30 FollowTargetLeaderGoal();
35 virtual void appendDebugInfo(::std::string& str)
const ;
37 virtual bool canUse() ;
39 virtual void start() ;
43 virtual bool canContinueToUse() ;
51 MCAPI FollowTargetLeaderGoal(
56 bool alwaysLookForLeader,
58 int searchCooldownInTicks
61 MCAPI
void _determineMovePos();
63 MCAPI
bool _evaluateLeaderFilters(
::Actor const* actor)
const;
74 bool alwaysLookForLeader,
76 int searchCooldownInTicks
83 MCAPI
void $appendDebugInfo(::std::string& str)
const;
91 MCAPI
bool $canContinueToUse();