15class TargetGoal :
public ::BaseGoal {
19 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
20 ::ll::TypedStorage<1, 1, bool> mAttackOwner;
21 ::ll::TypedStorage<1, 1, bool> mMustReach;
22 ::ll::TypedStorage<1, 1, bool> mGlobalMustSee;
23 ::ll::TypedStorage<1, 1, bool> mTargetMustSee;
24 ::ll::TypedStorage<4, 4, int> mTargetMustSeeForgetTicks;
25 ::ll::TypedStorage<1, 1, bool> mFilterFailure;
26 ::ll::TypedStorage<4, 4, int> mFilterFailureTicks;
27 ::ll::TypedStorage<4, 4, int> mGlobalMustSeeForgetTicks;
28 ::ll::TypedStorage<4, 4, int> mPersistTargetTicks;
29 ::ll::TypedStorage<4, 4, int> mReachCache;
30 ::ll::TypedStorage<4, 4, int> mReachCacheTime;
31 ::ll::TypedStorage<4, 4, int> mUnseenTicks;
32 ::ll::TypedStorage<4, 4, float> mWithinDefault;
33 ::ll::TypedStorage<1, 1, bool> mReevaluateTarget;
34 ::ll::TypedStorage<8, 24, ::std::vector<::MobDescriptor>> mTargetTypes;
39 TargetGoal& operator=(TargetGoal
const&);
40 TargetGoal(TargetGoal
const&);
46 virtual bool isTargetGoal()
const ;
48 virtual bool canContinueToUse() ;
50 virtual void start() ;
56 virtual void appendDebugInfo(::std::string& str)
const ;
58 virtual bool _canAttack(
61 bool allowInvulnerable,
73 int mustSeeForgetTicks,
77 int persistTargetTicks
82 ::std::vector<::MobDescriptor>
const& targetTypes,
84 int mustSeeForgetTicks,
88 int persistTargetTicks
91 MCAPI
bool _canAttack(
::Actor* target,
bool allowInvulnerable,
::MobDescriptor const** outDescriptorMatch);
93 MCAPI
bool _canReach(
::Actor& target);
95 MCAPI
bool _canReachAfterDelay(
::Actor& target);
107 int mustSeeForgetTicks,
111 int persistTargetTicks
116 ::std::vector<::MobDescriptor>
const& targetTypes,
118 int mustSeeForgetTicks,
122 int persistTargetTicks
129 MCFOLD
bool $isTargetGoal()
const;
131 MCAPI
bool $canContinueToUse();
139 MCAPI
void $appendDebugInfo(::std::string& str)
const;
141 MCAPI
bool $_canAttack(
144 bool allowInvulnerable,