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

Classes

struct  AttackPos
 
class  Definition
 

Public Types

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

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)
 
MCAPI bool $canBeInterrupted ()
 
MCAPI bool $isTargetGoal () const
 
MCAPI 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< 4, 4, int > mRequiredControlFlags
 
::ll::TypedStorage< 8, 32, ::std::string > mName
 
::ll::TypedStorage< 2, 2, ushort > mTypeId
 

Constructor & Destructor Documentation

◆ RamAttackGoal()

MCAPI RamAttackGoal::RamAttackGoal ( ::Mob & mob)
explicit
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

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

◆ _hasChargePath()

MCAPI bool RamAttackGoal::_hasChargePath ( )
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.

◆ _initiateRamAttack()

MCAPI bool RamAttackGoal::_initiateRamAttack ( )
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.

◆ _resetCooldown()

MCAPI void RamAttackGoal::_resetCooldown ( )
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.

◆ _tryKnockbackTarget()

MCAPI void RamAttackGoal::_tryKnockbackTarget ( )
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.

◆ _verifyTargetStillInPositionAndPrepareForRamAttack()

MCAPI bool RamAttackGoal::_verifyTargetStillInPositionAndPrepareForRamAttack ( )
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 * RamAttackGoal::$ctor ( ::Mob & mob)
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 RamAttackGoal::$dtor ( )
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 RamAttackGoal::$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 RamAttackGoal::$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.

◆ $canUse()

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

◆ $tick()

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

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