LeviLamina
Loading...
Searching...
No Matches
MeleeAttackBaseGoal Class Referenceabstract
Inheritance diagram for MeleeAttackBaseGoal:

Classes

struct  NavigationSettings

Public Member Functions

MeleeAttackBaseGoaloperator= (MeleeAttackBaseGoal const &)
 MeleeAttackBaseGoal (MeleeAttackBaseGoal const &)
virtual bool canUse ()
virtual bool canContinueToUse ()
virtual void start ()
virtual void stop ()
virtual void tick ()=0
virtual int getAttackTicksResetValue () const
MCAPI MeleeAttackBaseGoal (::Mob &mob)
MCAPI void _attemptAttackTarget (::Actor &target, bool canReachTarget, bool hasLineOfSight)
MCAPI void _attemptMoveToTargetPosition (::Actor const &target, bool canReachTarget, float targetDistanceSq)
MCAPI::Mob & _getNavigatingMob () const
MCAPI void * $ctor (::Mob &mob)
MCAPI void $dtor ()
MCAPI bool $canUse ()
MCAPI bool $canContinueToUse ()
MCAPI void $start ()
MCAPI void $stop ()
MCFOLD int $getAttackTicksResetValue () const
virtual bool canBeInterrupted ()
virtual void appendDebugInfo (::std::string &) const =0
virtual bool isTargetGoal () const
virtual void onPlayerDimensionChanged (::Player *player, ::DimensionType fromDimension, ::DimensionType toDimension)
MCFOLD bool $canBeInterrupted ()
MCFOLD void $tick ()
MCFOLD bool $isTargetGoal () const
MCFOLD void $onPlayerDimensionChanged (::Player *player, ::DimensionType fromDimension, ::DimensionType toDimension)

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::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 Function Documentation

◆ canUse()

virtual bool MeleeAttackBaseGoal::canUse ( )
virtual

Implements Goal.

◆ canContinueToUse()

virtual bool MeleeAttackBaseGoal::canContinueToUse ( )
virtual

Reimplemented from Goal.

◆ start()

virtual void MeleeAttackBaseGoal::start ( )
virtual

Reimplemented from Goal.

◆ stop()

virtual void MeleeAttackBaseGoal::stop ( )
virtual

Reimplemented from Goal.

◆ tick()

virtual void MeleeAttackBaseGoal::tick ( )
pure virtual

Reimplemented from Goal.

◆ $vftable()

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