17class DelayedAttackGoal :
public ::MeleeAttackGoal {
21 ::ll::TypedStorage<4, 4, int> mAttackDurationTicks;
22 ::ll::TypedStorage<4, 4, int> mPostPathingTicks;
23 ::ll::TypedStorage<4, 4, int> mHitDelayTicks;
24 ::ll::TypedStorage<4, 4, ::ActorFlags> mAttackFlag;
25 ::ll::TypedStorage<4, 4, ::SharedTypes::Legacy::LevelSoundEvent> mSound;
35 virtual bool canUse() ;
37 virtual bool canContinueToUse() ;
39 virtual void start() ;
45 virtual void appendDebugInfo(::std::string& str)
const ;
47 virtual int getAttackTicksResetValue()
const ;
53 MCAPI
explicit DelayedAttackGoal(
::Mob& mob);
55 MCAPI
void _attemptAttack(
::Actor& target,
bool canReach,
bool hasLineOfSight);
57 MCAPI
void _attemptStartAttacking(
::Actor& target)
const;
63 MCAPI
static bool _isTargetInLineOfSightLegacy(
::Mob const& mob,
::Actor const& target);
69 MCAPI static ::BaseGameVersion
const& mMinLineOfSightFixVersion();
75 MCAPI
void* $ctor(
::Mob& mob);
81 MCFOLD
bool $canUse();
83 MCAPI
bool $canContinueToUse();
91 MCAPI
void $appendDebugInfo(::std::string& str)
const;
93 MCAPI
int $getAttackTicksResetValue()
const;