16class NapGoal :
public ::BaseGoal {
20 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
21 ::ll::TypedStorage<8, 8, ::Tick> mCooldown;
22 ::ll::TypedStorage<8, 8, ::Tick> mDetectMobsTimer;
23 ::ll::TypedStorage<1, 1, bool> mInvalidCooldown;
24 ::ll::TypedStorage<4, 4, int const> mNapCooldownMin;
25 ::ll::TypedStorage<4, 4, int const> mNapCooldownMax;
26 ::ll::TypedStorage<4, 12, ::Vec3 const> mDetectRange;
27 ::ll::TypedStorage<8, 64, ::ActorFilterGroup> mCanNapFilters;
28 ::ll::TypedStorage<8, 64, ::ActorFilterGroup> mWakeMobExceptions;
33 NapGoal& operator=(NapGoal
const&);
34 NapGoal(NapGoal
const&);
40 virtual bool canUse() ;
42 virtual void start() ;
46 virtual bool canContinueToUse() ;
48 virtual void appendDebugInfo(::std::string& str)
const ;
56 float cooldownTimeMin,
57 float cooldownTimeMax,
58 float detectMobDistXZ,
64 MCAPI
bool _detectsMobs()
const;
72 float cooldownTimeMin,
73 float cooldownTimeMax,
74 float detectMobDistXZ,
90 MCAPI
bool $canContinueToUse();
92 MCAPI
void $appendDebugInfo(::std::string& str)
const;