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

Public Member Functions

NapGoaloperator= (NapGoal const &)
 NapGoal (NapGoal const &)
virtual bool canUse ()
virtual void start ()
virtual void stop ()
virtual bool canContinueToUse ()
virtual void appendDebugInfo (::std::string &str) const
MCAPI NapGoal (::Mob &mob, float cooldownTimeMin, float cooldownTimeMax, float detectMobDistXZ, float detectMobDistY, ::ActorFilterGroup const &canNapFilters, ::ActorFilterGroup const &wakeMobExceptions)
MCAPI bool _canSleep (::Tick const &currentTick) const
MCAPI bool _detectsMobs () const
MCAPI void * $ctor (::Mob &mob, float cooldownTimeMin, float cooldownTimeMax, float detectMobDistXZ, float detectMobDistY, ::ActorFilterGroup const &canNapFilters, ::ActorFilterGroup const &wakeMobExceptions)
MCAPI bool $canUse ()
MCAPI void $start ()
MCAPI void $stop ()
MCAPI bool $canContinueToUse ()
MCAPI void $appendDebugInfo (::std::string &str) const
virtual bool canBeInterrupted ()
virtual void tick ()
virtual bool isTargetGoal () const
virtual void onPlayerDimensionChanged (::Player *player, ::DimensionType fromDimension, ::DimensionType toDimension)
MCFOLD void $dtor ()
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, 8, ::Mob & > mMob
::ll::TypedStorage< 8, 8, ::TickmCooldown
::ll::TypedStorage< 8, 8, ::TickmDetectMobsTimer
::ll::TypedStorage< 1, 1, bool > mInvalidCooldown
::ll::TypedStorage< 4, 4, int const > mNapCooldownMin
::ll::TypedStorage< 4, 4, int const > mNapCooldownMax
::ll::TypedStorage< 4, 12, ::Vec3 const > mDetectRange
::ll::TypedStorage< 8, 64, ::ActorFilterGroupmCanNapFilters
::ll::TypedStorage< 8, 64, ::ActorFilterGroupmWakeMobExceptions
::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 NapGoal::canUse ( )
virtual

Implements Goal.

◆ start()

virtual void NapGoal::start ( )
virtual

Reimplemented from Goal.

◆ stop()

virtual void NapGoal::stop ( )
virtual

Reimplemented from Goal.

◆ canContinueToUse()

virtual bool NapGoal::canContinueToUse ( )
virtual

Reimplemented from Goal.

◆ appendDebugInfo()

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

Implements Goal.

◆ $vftable()

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