LeviLamina
Loading...
Searching...
No Matches
DelayedAttackGoal Class Reference
+ Inheritance diagram for DelayedAttackGoal:

Public Types

using LineOfSightEvaluator = bool (*)(::Mob const&, ::Actor const&)
 
using AttackReachEvaluator
 

Public Member Functions

virtual bool canUse ()
 
virtual bool canContinueToUse ()
 
virtual void start ()
 
virtual void stop ()
 
virtual void tick ()
 
virtual void appendDebugInfo (::std::string &str) const
 
MCAPI void _attemptAttack (::Actor *target, bool canReach, bool hasLineOfSight)
 
MCFOLD bool $canUse ()
 
MCAPI bool $canContinueToUse ()
 
MCFOLD void $start ()
 
MCAPI void $stop ()
 
MCAPI void $tick ()
 
MCAPI void $appendDebugInfo (::std::string &str) const
 
MCAPI float _getAttackReachSqr (::Actor const &target) const
 
MCAPI void * $ctor (::Mob &mob)
 
MCAPI void $dtor ()
 
virtual void _attemptMoveToTarget (::Actor &target)
 
MCAPI void _attemptAttackTarget (::Actor &target, bool canReachTarget, bool hasLineOfSight)
 
MCAPI void _attemptMoveToTargetPosition (::Actor &target, bool canReachTarget, float targetDistanceSq)
 
MCAPI bool _inSunlight (::Actor const &actor) const
 
MCAPI void $_attemptMoveToTarget (::Actor &target)
 
virtual bool canBeInterrupted ()
 
virtual bool isTargetGoal () const
 
virtual void onPlayerDimensionChanged (::Player *player, ::DimensionType fromDimension, ::DimensionType toDimension)
 
MCFOLD bool $canBeInterrupted ()
 
MCFOLD bool $isTargetGoal () const
 
MCFOLD void $onPlayerDimensionChanged (::Player *player, ::DimensionType fromDimension, ::DimensionType toDimension)
 

Static Public Member Functions

static MCAPI bool _isTargetInLineOfSightLegacy (::Mob const &mob, ::Actor const &target)
 
static MCAPI ::BaseGameVersion const & mMinLineOfSightFixVersion ()
 
static MCAPI void ** $vftable ()
 
static MCAPI bool _canReachTarget (::Mob const &mob, ::Vec3 const &targetPosition, float attackReachSq, float targetMinY, float targetMaxY, float targetDistanceSqXZ, int attackTicks)
 
static MCAPI bool _canReachTargetLegacy (::Mob const &mob, ::Vec3 const &targetPosition, float attackReachSq, float targetMinY, float targetMaxY, float targetDistanceSqXZ, int attackTicks)
 
static MCFOLD bool _isTargetInLineOfSight (::Mob const &mob, ::Actor const &target)
 
static MCAPI ::BaseGameVersion const & min3DAttackVersion ()
 
static MCAPI ::BaseGameVersion const & minHitThroughWallFixVersion ()
 

Public Attributes

::ll::TypedStorage< 4, 4, int > mAttackDurationTicks
 
::ll::TypedStorage< 4, 4, int > mPostPathingTicks
 
::ll::TypedStorage< 4, 4, int > mHitDelayTicks
 
::ll::TypedStorage< 4, 4, ::ActorFlags > mAttackFlag
 
::ll::TypedStorage< 4, 4, ::SharedTypes::Legacy::LevelSoundEvent > mSound
 
::ll::TypedStorage< 8, 8, bool(*)(::Mob const &, ::Vec3 const &, float const, float const, float const, float const, int const)> mReachEvaluator
 
::ll::TypedStorage< 8, 8, bool(*)(::Mob const &, ::Actor const &)> mLineOfSightEvaluator
 
::ll::TypedStorage< 4, 4, float > mReachMultiplier
 
::ll::TypedStorage< 8, 8, ::Mob & > mMob
 
::ll::TypedStorage< 8, 40, ::TempEPtr<::Actor > > mTarget
 
::ll::TypedStorage< 1, 1, bool > mAttackOnce
 
::ll::TypedStorage< 1, 1, bool > mHasAttacked
 
::ll::TypedStorage< 1, 1, bool > mRequireCompletePath
 
::ll::TypedStorage< 1, 1, bool > mTrackTarget
 
::ll::TypedStorage< 4, 4, int > mRandomStopInterval
 
::ll::TypedStorage< 4, 4, int > mAttackTicks
 
::ll::TypedStorage< 4, 4, int > mCooldownTicks
 
::ll::TypedStorage< 4, 4, int > mMinPathTicks
 
::ll::TypedStorage< 4, 4, int > mMaxPathTicks
 
::ll::TypedStorage< 4, 4, int > mTicksToRecalculatePath
 
::ll::TypedStorage< 4, 4, int > mPathFailTickIncrease
 
::ll::TypedStorage< 4, 4, int > mInnerBoundaryTickIncrease
 
::ll::TypedStorage< 4, 4, int > mOuterBoundaryTickIncrease
 
::ll::TypedStorage< 4, 4, float > mPathInnerBoundarySq
 
::ll::TypedStorage< 4, 4, float > mPathOuterBoundarySq
 
::ll::TypedStorage< 4, 4, float > mMeleeFov
 
::ll::TypedStorage< 4, 4, float > mMaxRotationX
 
::ll::TypedStorage< 4, 4, float > mMaxHeadRotationY
 
::ll::TypedStorage< 4, 4, float > mSpeedMultiplier
 
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::Path > > mPath
 
::ll::TypedStorage< 4, 12, ::Vec3mPathTarget
 
::ll::TypedStorage< 4, 4, ::ActorCategory > mAttackTypes
 
::ll::TypedStorage< 8, 104, ::ActorDefinitionTriggermOnAttack
 
::ll::TypedStorage< 8, 104, ::ActorDefinitionTriggermOnKill
 
::ll::TypedStorage< 1, 1, bool > mSetPersistent
 
::ll::TypedStorage< 1, 1, bool > mCanSpreadOnFire
 
::ll::TypedStorage< 4, 4, int > mRequiredControlFlags
 
::ll::TypedStorage< 8, 32, ::std::string > mName
 
::ll::TypedStorage< 2, 2, ushort > mTypeId
 

Member Typedef Documentation

◆ AttackReachEvaluator

using MeleeAttackGoal::AttackReachEvaluator
inherited
Initial value:
bool (*)(::Mob const&, ::Vec3 const&, float const, float const, float const, float const, int const)
Definition Mob.h:47
Definition Vec3.h:10

Member Function Documentation

◆ canUse()

virtual bool DelayedAttackGoal::canUse ( )
virtual

Reimplemented from MeleeAttackBaseGoal.

◆ canContinueToUse()

virtual bool DelayedAttackGoal::canContinueToUse ( )
virtual

Reimplemented from MeleeAttackBaseGoal.

◆ start()

virtual void DelayedAttackGoal::start ( )
virtual

Reimplemented from MeleeAttackBaseGoal.

◆ stop()

virtual void DelayedAttackGoal::stop ( )
virtual

Reimplemented from MeleeAttackBaseGoal.

◆ tick()

virtual void DelayedAttackGoal::tick ( )
virtual

Reimplemented from MeleeAttackGoal.

◆ appendDebugInfo()

virtual void DelayedAttackGoal::appendDebugInfo ( ::std::string & str) const
virtual

Reimplemented from MeleeAttackGoal.


The documentation for this class was generated from the following file: