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

Public Member Functions

virtual bool canUse ()
 
virtual void start ()
 
virtual void stop ()
 
virtual bool canContinueToUse ()
 
virtual void tick ()
 
virtual void appendDebugInfo (::std::string &str) const
 
MCAPI PanicGoal (::Mob &mob, float speedMultiplier, bool ignoreMobDamage, ::SharedTypes::Legacy::LevelSoundEvent sound, ::FloatRange soundIntervalRange, bool forceUse, bool preferWater, ::std::vector<::SharedTypes::Legacy::ActorDamageCause > damageCauses)
 
MCAPI ::std::optional<::Vec3_findWaterPos (int xzDist, int yDist) const
 
MCAPI ::std::optional<::Vec3_tryGeneratePathEnd () const
 
MCAPI void * $ctor (::Mob &mob, float speedMultiplier, bool ignoreMobDamage, ::SharedTypes::Legacy::LevelSoundEvent sound, ::FloatRange soundIntervalRange, bool forceUse, bool preferWater, ::std::vector<::SharedTypes::Legacy::ActorDamageCause > damageCauses)
 
MCAPI bool $canUse ()
 
MCAPI void $start ()
 
MCAPI void $stop ()
 
MCFOLD 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 void $dtor ()
 
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, ::Mob * > mHurtByMob
 
::ll::TypedStorage< 8, 24, ::std::vector<::SharedTypes::Legacy::ActorDamageCause > > mDamageCauses
 
::ll::TypedStorage< 1, 1, bool > mIgnoreMobDamage
 
::ll::TypedStorage< 1, 1, bool > mPanicOnAllCauses
 
::ll::TypedStorage< 1, 1, bool > mForceUse
 
::ll::TypedStorage< 1, 1, bool > mPreferWater
 
::ll::TypedStorage< 1, 1, bool > mCanTeleportToOwner
 
::ll::TypedStorage< 4, 4, float > mSpeedMultipler
 
::ll::TypedStorage< 4, 12, ::Vec3mTargetPosition
 
::ll::TypedStorage< 4, 4, ::SharedTypes::Legacy::LevelSoundEvent > mSoundEvent
 
::ll::TypedStorage< 4, 8, ::FloatRangemSoundIntervalRange
 
::ll::TypedStorage< 8, 8, ::TickmNextSoundEventTick
 
::ll::TypedStorage< 4, 4, int > mRequiredControlFlags
 
::ll::TypedStorage< 8, 32, ::std::string > mName
 
::ll::TypedStorage< 2, 2, ushort > mTypeId
 

Member Function Documentation

◆ canUse()

virtual bool PanicGoal::canUse ( )
virtual

Implements Goal.

◆ start()

virtual void PanicGoal::start ( )
virtual

Reimplemented from Goal.

◆ stop()

virtual void PanicGoal::stop ( )
virtual

Reimplemented from Goal.

◆ canContinueToUse()

virtual bool PanicGoal::canContinueToUse ( )
virtual

Reimplemented from Goal.

◆ tick()

virtual void PanicGoal::tick ( )
virtual

Reimplemented from Goal.

◆ appendDebugInfo()

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

Implements Goal.


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