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

Classes

struct  AttackPos
class  Definition

Public Types

enum class  Direction : int { North = 0 , South = 1 , West = 2 , East = 3 }
enum class  State : int {
  TakeAttackPos = 0 , TurnToTarget = 1 , VerifyTargetStillInPosition = 2 , WaitOneSec = 3 ,
  Charge = 4 , KnockAfterCharge = 5 , Done = 6
}

Public Member Functions

RamAttackGoaloperator= (RamAttackGoal const &)
 RamAttackGoal (RamAttackGoal const &)
virtual void start ()
virtual void stop ()
virtual bool canUse ()
virtual bool canContinueToUse ()
virtual void tick ()
virtual void appendDebugInfo (::std::string &str) const
MCAPI RamAttackGoal (::Mob &mob)
MCAPI bool _hasChargePath ()
MCAPI bool _initiateRamAttack ()
MCAPI void _resetCooldown ()
MCAPI void _tryKnockbackTarget ()
MCAPI bool _verifyTargetStillInPositionAndPrepareForRamAttack ()
MCAPI void * $ctor (::Mob &mob)
MCAPI void $dtor ()
MCAPI void $start ()
MCAPI void $stop ()
MCAPI bool $canUse ()
MCAPI bool $canContinueToUse ()
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)
MCFOLD bool $canBeInterrupted ()
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, 8, ::Mob & > mMob
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::Path > > mPath
::ll::TypedStorage< 4, 12, ::Vec3mPrepareChargePos
::ll::TypedStorage< 4, 12, ::Vec3mTargetPos
::ll::TypedStorage< 4, 8, ::Vec2mRamDirection
::ll::TypedStorage< 8, 8, ::TickmWaitBeforeChargeTimer
::ll::TypedStorage< 8, 8, ::TickmChargeTimeoutTimer
::ll::TypedStorage< 8, 8, ::TickmKnockAfterChargeTimeoutTimer
::ll::TypedStorage< 8, 8, ::TickmRamRetryTimeout
::ll::TypedStorage< 4, 4, ::RamAttackGoal::State > mState
::ll::TypedStorage< 8, 24, ::std::vector<::RamAttackGoal::AttackPos > > mAttackPosVector
::ll::TypedStorage< 8, 128, ::RamAttackGoal::DefinitionmDefinition
::ll::TypedStorage< 8, 8, ::ActorUniqueIDmTargetId
::ll::TypedStorage< 1, 1, bool > mHasKnockbacked
::ll::TypedStorage< 8, 8, ::TickmCooldownTimeout
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::RamAttackGoalUtils::RamGoalItemDropperInterface > > mRamGoalItemDropper
::ll::TypedStorage< 8, 32, ::std::string > mDebugName
::ll::TypedStorage< 4, 4, int > mRequiredControlFlags
::ll::TypedStorage< 2, 2, ushort > mTypeId

Member Function Documentation

◆ start()

virtual void RamAttackGoal::start ( )
virtual

Reimplemented from Goal.

◆ stop()

virtual void RamAttackGoal::stop ( )
virtual

Reimplemented from Goal.

◆ canUse()

virtual bool RamAttackGoal::canUse ( )
virtual

Implements Goal.

◆ canContinueToUse()

virtual bool RamAttackGoal::canContinueToUse ( )
virtual

Reimplemented from Goal.

◆ tick()

virtual void RamAttackGoal::tick ( )
virtual

Reimplemented from Goal.

◆ appendDebugInfo()

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

Implements Goal.

◆ $vftable()

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