38 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Path>> mPath;
39 ::ll::TypedStorage<4, 4, int> mMinPathTicks;
40 ::ll::TypedStorage<4, 4, int> mMaxPathTicks;
41 ::ll::TypedStorage<4, 4, int> mPathFailTickIncrease;
42 ::ll::TypedStorage<4, 4, int> mInnerBoundaryTickIncrease;
43 ::ll::TypedStorage<4, 4, int> mOuterBoundaryTickIncrease;
44 ::ll::TypedStorage<4, 4, int> mTicksToRecalculatePath;
45 ::ll::TypedStorage<4, 4, float> mPathInnerBoundarySq;
46 ::ll::TypedStorage<4, 4, float> mPathOuterBoundarySq;
47 ::ll::TypedStorage<4, 4, float> mSpeedMultiplier;
48 ::ll::TypedStorage<1, 1, bool> mRequireCompletePath;
49 ::ll::TypedStorage<1, 1, bool> mTrackTarget;
50 ::ll::TypedStorage<1, 1, bool> mHijackMountNavigation;
57 ::ll::TypedStorage<8, 48, ::MeleeAttackBaseGoal::NavigationSettings> mNavigation;
58 ::ll::TypedStorage<8, 8, ::Mob&> mMob;
59 ::ll::TypedStorage<8, 40, ::TempEPtr<::Actor>> mTarget;
60 ::ll::TypedStorage<4, 12, ::Vec3> mLastCachedTargetPosition;
61 ::ll::TypedStorage<4, 4, ::ActorCategory> mAttackTypes;
62 ::ll::TypedStorage<8, 104, ::ActorDefinitionTrigger> mOnAttack;
63 ::ll::TypedStorage<8, 104, ::ActorDefinitionTrigger> mOnKill;
64 ::ll::TypedStorage<4, 4, float> mMeleeFov;
65 ::ll::TypedStorage<4, 4, float> mMaxRotationX;
66 ::ll::TypedStorage<4, 4, float> mMaxHeadRotationY;
67 ::ll::TypedStorage<4, 4, int> mRandomStopInterval;
68 ::ll::TypedStorage<4, 4, int> mAttackTicks;
69 ::ll::TypedStorage<4, 4, int> mCooldownTicks;
70 ::ll::TypedStorage<1, 1, bool> mAttackOnce;
71 ::ll::TypedStorage<1, 1, bool> mHasAttacked;
72 ::ll::TypedStorage<1, 1, bool> mSetPersistent;
73 ::ll::TypedStorage<1, 1, bool> mCanSpreadOnFire;
78 MeleeAttackBaseGoal& operator=(MeleeAttackBaseGoal
const&);
79 MeleeAttackBaseGoal(MeleeAttackBaseGoal
const&);
80 MeleeAttackBaseGoal();
85 virtual ~MeleeAttackBaseGoal() ;
87 virtual bool canUse() ;
89 virtual bool canContinueToUse() ;
91 virtual void start() ;
95 virtual void tick() = 0;
97 virtual int getAttackTicksResetValue()
const;
103 MCAPI MeleeAttackBaseGoal(
::Mob& mob, ::std::string name,
::GoalId const& goalId);
105 MCAPI
void _attemptAttackTarget(
::Actor& target,
bool canReachTarget,
bool hasLineOfSight);
107 MCAPI
void _attemptMoveToTargetPosition(
::Actor const& target,
bool canReachTarget,
float targetDistanceSq);
109 MCAPI ::Mob& _getNavigatingMob()
const;
111 MCAPI ::NavigationComponent* _getNavigationComponent()
const;
113 MCAPI
bool _isNavigationDoneOrStuck()
const;
115 MCAPI
bool _targetPositionPutsMobInSun();
121 MCAPI
void* $ctor(
::Mob& mob, ::std::string name,
::GoalId const& goalId);
133 MCAPI
bool $canUse();
135 MCAPI
bool $canContinueToUse();
141 MCAPI
int $getAttackTicksResetValue()
const;