20 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
21 ::ll::TypedStorage<1, 1, bool> mAttackOwner;
22 ::ll::TypedStorage<1, 1, bool> mMustReach;
23 ::ll::TypedStorage<1, 1, bool> mGlobalMustSee;
24 ::ll::TypedStorage<1, 1, bool> mTargetMustSee;
25 ::ll::TypedStorage<4, 4, int> mTargetMustSeeForgetTicks;
26 ::ll::TypedStorage<1, 1, bool> mFilterFailure;
27 ::ll::TypedStorage<4, 4, int> mFilterFailureTicks;
28 ::ll::TypedStorage<4, 4, int> mGlobalMustSeeForgetTicks;
29 ::ll::TypedStorage<4, 4, int> mPersistTargetTicks;
30 ::ll::TypedStorage<4, 4, int> mReachCache;
31 ::ll::TypedStorage<4, 4, int> mReachCacheTime;
32 ::ll::TypedStorage<4, 4, int> mUnseenTicks;
33 ::ll::TypedStorage<4, 4, float> mWithinDefault;
34 ::ll::TypedStorage<1, 1, bool> mReevaluateTarget;
35 ::ll::TypedStorage<8, 24, ::std::vector<::MobDescriptor>> mTargetTypes;
40 TargetGoal& operator=(TargetGoal
const&);
41 TargetGoal(TargetGoal
const&);
47 virtual bool isTargetGoal()
const ;
49 virtual bool canContinueToUse() ;
51 virtual void start() ;
57 virtual void appendDebugInfo(::std::string& str)
const ;
59 virtual bool _canAttack(
62 bool allowInvulnerable,
67 virtual ~TargetGoal() ;
77 ::std::vector<::MobDescriptor>
const& targetTypes,
79 int mustSeeForgetTicks,
83 int persistTargetTicks
86 MCAPI
bool _canAttack(
::Actor* target,
bool allowInvulnerable,
::MobDescriptor const** outDescriptorMatch);
88 MCAPI
bool _canReach(
::Actor& target);
101 ::std::vector<::MobDescriptor>
const& targetTypes,
103 int mustSeeForgetTicks,
107 int persistTargetTicks
120 MCFOLD
bool $isTargetGoal()
const;
122 MCAPI
bool $canContinueToUse();
130 MCAPI
void $appendDebugInfo(::std::string& str)
const;
132 MCAPI
bool $_canAttack(
135 bool allowInvulnerable,