Skip to content
LeviMC
English
AutoLightDark
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 bool $canUse ()
MCAPI bool $canContinueToUse ()
MCAPI void $start ()
MCAPI void $stop ()
MCAPI void $tick ()
MCAPI void $appendDebugInfo (::std::string &str) const
MCAPI void * $ctor (::Mob &mob, ::std::string name, ::GoalId const &goalId)
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
MCAPI::NavigationComponent * _getNavigationComponent () const
MCAPI bool _isNavigationDoneOrStuck () const
MCAPI bool _targetPositionPutsMobInSun ()
MCAPI void $dtor ()
MCAPI int $getAttackTicksResetValue () const
virtual bool canBeInterrupted ()
virtual bool isTargetGoal () const
virtual void onPlayerDimensionChanged (::Player *player, ::DimensionType fromDimension, ::DimensionType toDimension)
virtual::GoalId getGoalId () const
MCAPI bool $canBeInterrupted ()
MCAPI bool $isTargetGoal () const
MCAPI void $onPlayerDimensionChanged (::Player *player, ::DimensionType fromDimension, ::DimensionType toDimension)
MCAPI::GoalId $getGoalId () const

Static Public Member Functions

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 MCAPI 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 ()
static MCAPI void ** $vftable ()

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::NavigationSettings > mNavigation
::ll::TypedStorage< 8, 8, ::Mob & > mMob
::ll::TypedStorage< 8, 40, ::TempEPtr<::Actor > > mTarget
::ll::TypedStorage< 4, 12, ::Vec3 > mLastCachedTargetPosition
::ll::TypedStorage< 4, 4, ::ActorCategory > mAttackTypes
::ll::TypedStorage< 8, 104, ::ActorDefinitionTrigger > mOnAttack
::ll::TypedStorage< 8, 104, ::ActorDefinitionTrigger > mOnKill
::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< 1, 1, bool > mCheckTargetInsideAABB
::ll::TypedStorage< 8, 32, ::std::string > mName
::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:58
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.

◆ $canUse()

MCAPI bool StompAttackGoal::$canUse ( )
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.

◆ $canContinueToUse()

MCAPI bool StompAttackGoal::$canContinueToUse ( )
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.

◆ $start()

MCAPI void StompAttackGoal::$start ( )
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.

◆ $stop()

MCAPI void StompAttackGoal::$stop ( )
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.

◆ $tick()

MCAPI void StompAttackGoal::$tick ( )
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.

◆ $appendDebugInfo()

MCAPI void StompAttackGoal::$appendDebugInfo ( ::std::string & str) const
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.

◆ _canReachTarget()

MCAPI bool MeleeAttackGoal::_canReachTarget ( ::Mob const & mob,
::Vec3 const & targetPosition,
float attackReachSq,
float targetMinY,
float targetMaxY,
float targetXZDistanceSqr,
int attackTicks )
staticinherited
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.

◆ _canReachTargetLegacy()

MCAPI bool MeleeAttackGoal::_canReachTargetLegacy ( ::Mob const & mob,
::Vec3 const & ,
float attackReachSq,
float targetMinY,
float targetMaxY,
float targetXZDistanceSqr,
int attackTicks )
staticinherited
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.

◆ _isTargetInLineOfSight()

MCAPI bool MeleeAttackGoal::_isTargetInLineOfSight ( ::Mob const & mob,
::Actor const & target )
staticinherited
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.

◆ _isTargetInLineOfSightLegacy()

MCAPI bool MeleeAttackGoal::_isTargetInLineOfSightLegacy ( ::Mob const & mob,
::Actor const & target )
staticinherited
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.

◆ MIN_3D_ATTACK_VERSION()

MCAPI ::BaseGameVersion const & MeleeAttackGoal::MIN_3D_ATTACK_VERSION ( )
staticinherited
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.

◆ MIN_HIT_THROUGH_WALL_FIX_VERSION()

MCAPI ::BaseGameVersion const & MeleeAttackGoal::MIN_HIT_THROUGH_WALL_FIX_VERSION ( )
staticinherited
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.

◆ $ctor()

MCAPI void * MeleeAttackGoal::$ctor ( ::Mob & mob,
::std::string name,
::GoalId const & goalId )
inherited
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.

◆ $vftable()

MCAPI void ** MeleeAttackGoal::$vftable ( )
staticinherited
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.

◆ _attemptAttackTarget()

MCAPI void MeleeAttackBaseGoal::_attemptAttackTarget ( ::Actor & target,
bool canReachTarget,
bool hasLineOfSight )
inherited
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.

◆ _attemptMoveToTargetPosition()

MCAPI void MeleeAttackBaseGoal::_attemptMoveToTargetPosition ( ::Actor const & target,
bool canReachTarget,
float targetDistanceSq )
inherited
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.

◆ _getNavigatingMob()

MCAPI::Mob & MeleeAttackBaseGoal::_getNavigatingMob ( ) const
inherited
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.

◆ _getNavigationComponent()

MCAPI::NavigationComponent * MeleeAttackBaseGoal::_getNavigationComponent ( ) const
inherited
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.

◆ _isNavigationDoneOrStuck()

MCAPI bool MeleeAttackBaseGoal::_isNavigationDoneOrStuck ( ) const
inherited
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.

◆ _targetPositionPutsMobInSun()

MCAPI bool MeleeAttackBaseGoal::_targetPositionPutsMobInSun ( )
inherited
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.

◆ $dtor()

MCAPI void MeleeAttackBaseGoal::$dtor ( )
inherited
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.

◆ $getAttackTicksResetValue()

MCAPI int MeleeAttackBaseGoal::$getAttackTicksResetValue ( ) const
inherited
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.

◆ $canBeInterrupted()

MCAPI bool BaseGoal::$canBeInterrupted ( )
inherited
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.

◆ $isTargetGoal()

MCAPI bool BaseGoal::$isTargetGoal ( ) const
inherited
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.

◆ $onPlayerDimensionChanged()

MCAPI void BaseGoal::$onPlayerDimensionChanged ( ::Player * player,
::DimensionType fromDimension,
::DimensionType toDimension )
inherited
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.

◆ $getGoalId()

MCAPI::GoalId BaseGoal::$getGoalId ( ) const
inherited
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: