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

Public Types

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

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)
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 int getAttackTicksResetValue () const
MCAPI void _attemptAttackTarget (::Actor &target, bool canReachTarget, bool hasLineOfSight)
MCAPI void _attemptMoveToTargetPosition (::Actor const &target, bool canReachTarget, float targetDistanceSq)
MCAPI::Mob & _getNavigatingMob () const
MCFOLD int $getAttackTicksResetValue () const
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 void ** $vftable ()
static MCAPI bool _canReachTarget (::Mob const &mob, ::Vec3 const &targetPosition, float attackReachSq, float targetMinY, float targetMaxY, float targetXZDistanceSqr, int attackTicks)
static MCAPI bool _canReachTargetLegacy (::Mob const &mob, ::Vec3 const &, float attackReachSq, float targetMinY, float targetMaxY, float targetXZDistanceSqr, int attackTicks)
static MCFOLD bool _isTargetInLineOfSight (::Mob const &mob, ::Actor const &target)
static MCAPI bool _isTargetInLineOfSightLegacy (::Mob const &mob, ::Actor const &target)
static MCAPI ::BaseGameVersion const & MIN_3D_ATTACK_VERSION ()
static MCAPI ::BaseGameVersion const & MIN_HIT_THROUGH_WALL_FIX_VERSION ()

Public Attributes

::ll::TypedStorage< 4, 4, float > mStompRangeMultiplier
::ll::TypedStorage< 4, 4, float > mNoDamageRangeMultiplier
::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, 48, ::MeleeAttackBaseGoal::NavigationSettingsmNavigation
::ll::TypedStorage< 8, 8, ::Mob & > mMob
::ll::TypedStorage< 8, 40, ::TempEPtr<::Actor > > mTarget
::ll::TypedStorage< 4, 12, ::Vec3mLastCachedTargetPosition
::ll::TypedStorage< 4, 4, ::ActorCategory > mAttackTypes
::ll::TypedStorage< 8, 104, ::ActorDefinitionTriggermOnAttack
::ll::TypedStorage< 8, 104, ::ActorDefinitionTriggermOnKill
::ll::TypedStorage< 4, 4, float > mMeleeFov
::ll::TypedStorage< 4, 4, float > mMaxRotationX
::ll::TypedStorage< 4, 4, float > mMaxHeadRotationY
::ll::TypedStorage< 4, 4, int > mRandomStopInterval
::ll::TypedStorage< 4, 4, int > mAttackTicks
::ll::TypedStorage< 4, 4, int > mCooldownTicks
::ll::TypedStorage< 1, 1, bool > mAttackOnce
::ll::TypedStorage< 1, 1, bool > mHasAttacked
::ll::TypedStorage< 1, 1, bool > mSetPersistent
::ll::TypedStorage< 1, 1, bool > mCanSpreadOnFire
::ll::TypedStorage< 8, 32, ::std::string > mDebugName
::ll::TypedStorage< 4, 4, int > mRequiredControlFlags
::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:50
Definition Vec3.h:10

Member Function Documentation

◆ canUse()

virtual bool StompAttackGoal::canUse ( )
virtual

Reimplemented from MeleeAttackBaseGoal.

◆ canContinueToUse()

virtual bool StompAttackGoal::canContinueToUse ( )
virtual

Reimplemented from MeleeAttackBaseGoal.

◆ start()

virtual void StompAttackGoal::start ( )
virtual

Reimplemented from MeleeAttackBaseGoal.

◆ stop()

virtual void StompAttackGoal::stop ( )
virtual

Reimplemented from MeleeAttackBaseGoal.

◆ tick()

virtual void StompAttackGoal::tick ( )
virtual

Reimplemented from MeleeAttackGoal.

◆ appendDebugInfo()

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

Reimplemented from MeleeAttackGoal.

◆ $vftable()

MCAPI void ** StompAttackGoal::$vftable ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

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