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

Public Types

enum class  InRangeMovementMode : int { HoldPosition = 0 , FollowTarget = 1 }

Public Member Functions

RangedAttackGoal & operator= (RangedAttackGoal const &)
 RangedAttackGoal (RangedAttackGoal const &)
virtual bool canUse ()
virtual bool canContinueToUse ()
virtual void start ()
virtual void stop ()
virtual void tick ()
virtual void appendDebugInfo (::std::string &str) const
MCAPI RangedAttackGoal (::Mob &mob, ::std::string name, ::GoalId const &goalId)
MCAPI void _dischargeCarriedItem ()
MCAPI void * $ctor (::Mob &mob, ::std::string name, ::GoalId const &goalId)
MCAPI bool $canUse ()
MCAPI bool $canContinueToUse ()
MCAPI void $start ()
MCAPI void $stop ()
MCAPI void $tick ()
MCAPI void $appendDebugInfo (::std::string &str) const
virtual bool canBeInterrupted ()
virtual bool isTargetGoal () const
virtual void onPlayerDimensionChanged (::Player *player, ::DimensionType fromDimension, ::DimensionType toDimension)
virtual::GoalId getGoalId () const
MCAPI void $dtor ()
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< 8, 8, ::Mob & > mMob
::ll::TypedStorage< 8, 40, ::TempEPtr<::Actor > > mTarget
::ll::TypedStorage< 1, 1, bool > mIsChargedAttack
::ll::TypedStorage< 1, 1, bool > mUsingChargedItem
::ll::TypedStorage< 1, 1, bool > mSetPersistent
::ll::TypedStorage< 1, 1, bool > mSwing
::ll::TypedStorage< 4, 4, int > mReloadBurstTicks
::ll::TypedStorage< 4, 4, int > mCanSeeTargetTicks
::ll::TypedStorage< 4, 4, int > mBurstShotsLeft
::ll::TypedStorage< 4, 4, int > mBurstTicks
::ll::TypedStorage< 4, 4, int > mBurstCooldownTicks
::ll::TypedStorage< 4, 4, int > mChargeTicks
::ll::TypedStorage< 4, 4, int > mReloadTicksMin
::ll::TypedStorage< 4, 4, int > mReloadTicksMax
::ll::TypedStorage< 4, 4, int > mChargeReadyTicks
::ll::TypedStorage< 4, 4, int > mChargeReloadTicks
::ll::TypedStorage< 4, 4, int > mBurstShots
::ll::TypedStorage< 4, 4, int > mTargetInSightTicks
::ll::TypedStorage< 4, 4, float > mAttackRadius
::ll::TypedStorage< 4, 4, float > mAttackRadiusMin
::ll::TypedStorage< 4, 4, float > mAttackRadiusMinSq
::ll::TypedStorage< 4, 4, float > mMaxRotationX
::ll::TypedStorage< 4, 4, float > mMaxHeadRotationY
::ll::TypedStorage< 4, 4, float > mRangedFov
::ll::TypedStorage< 4, 4, float > mSpeedMultiplier
::ll::TypedStorage< 4, 4, ::RangedAttackGoal::InRangeMovementMode > mInRangeMovementMode
::ll::TypedStorage< 8, 32, ::std::string > mName
::ll::TypedStorage< 4, 4, int > mRequiredControlFlags
::ll::TypedStorage< 2, 2, ushort > mTypeId

Constructor & Destructor Documentation

◆ RangedAttackGoal()

MCAPI RangedAttackGoal::RangedAttackGoal ( ::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

◆ canUse()

virtual bool RangedAttackGoal::canUse ( )
virtual

Implements BaseGoal.

◆ canContinueToUse()

virtual bool RangedAttackGoal::canContinueToUse ( )
virtual

Reimplemented from BaseGoal.

◆ start()

virtual void RangedAttackGoal::start ( )
virtual

Reimplemented from BaseGoal.

◆ stop()

virtual void RangedAttackGoal::stop ( )
virtual

Reimplemented from BaseGoal.

◆ tick()

virtual void RangedAttackGoal::tick ( )
virtual

Reimplemented from BaseGoal.

◆ appendDebugInfo()

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

Implements BaseGoal.

◆ _dischargeCarriedItem()

MCAPI void RangedAttackGoal::_dischargeCarriedItem ( )
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 * RangedAttackGoal::$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.

◆ $canUse()

MCAPI bool RangedAttackGoal::$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 RangedAttackGoal::$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 RangedAttackGoal::$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 RangedAttackGoal::$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 RangedAttackGoal::$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 RangedAttackGoal::$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.

◆ $dtor()

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

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

◆ $vftable()

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

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