Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
MeleeBoxAttackGoal Class Reference
Inheritance diagram for MeleeBoxAttackGoal:

Public Member Functions

virtual void tick ()
virtual void appendDebugInfo (::std::string &str) const
MCAPI MeleeBoxAttackGoal (::Mob &mob, ::std::string name, ::GoalId const &goalId)
MCAPI void * $ctor (::Mob &mob, ::std::string name, ::GoalId const &goalId)
MCAPI void $tick ()
MCAPI void $appendDebugInfo (::std::string &str) const
virtual bool canUse ()
virtual bool canContinueToUse ()
virtual void start ()
virtual void stop ()
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 bool $canUse ()
MCAPI bool $canContinueToUse ()
MCAPI void $start ()
MCAPI void $stop ()
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 void ** $vftable ()

Public Attributes

::ll::TypedStorage< 4, 4, float > mHorizontalReach
::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

Constructor & Destructor Documentation

◆ MeleeBoxAttackGoal()

MCAPI MeleeBoxAttackGoal::MeleeBoxAttackGoal ( ::Mob & mob,
::std::string name,
::GoalId const & goalId )
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.

Member Function Documentation

◆ tick()

virtual void MeleeBoxAttackGoal::tick ( )
virtual

Implements MeleeAttackBaseGoal.

◆ appendDebugInfo()

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

Implements BaseGoal.

◆ $ctor()

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

MCAPI void ** MeleeBoxAttackGoal::$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.

◆ canUse()

virtual bool MeleeAttackBaseGoal::canUse ( )
virtualinherited

Implements BaseGoal.

◆ canContinueToUse()

virtual bool MeleeAttackBaseGoal::canContinueToUse ( )
virtualinherited

Reimplemented from BaseGoal.

◆ start()

virtual void MeleeAttackBaseGoal::start ( )
virtualinherited

Reimplemented from BaseGoal.

◆ stop()

virtual void MeleeAttackBaseGoal::stop ( )
virtualinherited

Reimplemented from BaseGoal.

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

◆ $canUse()

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

◆ $canContinueToUse()

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

◆ $start()

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

◆ $stop()

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