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

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)
 
MCAPI bool $canUse ()
 
MCAPI bool $canContinueToUse ()
 
MCAPI 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)
 
MCAPI bool $canBeInterrupted ()
 
MCAPI bool $isTargetGoal () const
 
MCAPI 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 targetDistanceSqXZ, int attackTicks)
 
static MCAPI bool _canReachTargetLegacy (::Mob const &mob, ::Vec3 const &targetPosition, float attackReachSq, float targetMinY, float targetMaxY, float targetDistanceSqXZ, 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 & min3DAttackVersion ()
 
static MCAPI ::BaseGameVersion const & minHitThroughWallFixVersion ()
 

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, 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 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.

◆ _attemptAttack()

MCAPI void StompAttackGoal::_attemptAttack ( ::Actor & target)
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.

◆ $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.

◆ $vftable()

static 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.

◆ _getAttackReachSqr()

MCAPI float MeleeAttackGoal::_getAttackReachSqr ( ::Actor const & target) 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.

◆ _canReachTarget()

static MCAPI bool MeleeAttackGoal::_canReachTarget ( ::Mob const & mob,
::Vec3 const & targetPosition,
float attackReachSq,
float targetMinY,
float targetMaxY,
float targetDistanceSqXZ,
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()

static MCAPI bool MeleeAttackGoal::_canReachTargetLegacy ( ::Mob const & mob,
::Vec3 const & targetPosition,
float attackReachSq,
float targetMinY,
float targetMaxY,
float targetDistanceSqXZ,
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()

static 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()

static 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.

◆ min3DAttackVersion()

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

◆ minHitThroughWallFixVersion()

static MCAPI ::BaseGameVersion const & MeleeAttackGoal::minHitThroughWallFixVersion ( )
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)
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 MeleeAttackGoal::$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.

◆ _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 & 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.

◆ _inSunlight()

MCAPI bool MeleeAttackBaseGoal::_inSunlight ( ::Actor const & actor) 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.

◆ $_attemptMoveToTarget()

MCAPI void MeleeAttackBaseGoal::$_attemptMoveToTarget ( ::Actor & target)
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 Goal::$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 Goal::$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 Goal::$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.

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