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

Public Member Functions

virtual bool canUse ()
virtual bool canContinueToUse ()
virtual void start ()
virtual void appendDebugInfo (::std::string &str) const
virtual::ActorUniqueID _findTarget (::MobDescriptor const **outMobDescriptor)
MCAPI NearestAttackableTargetGoal (::Mob &mob)
MCAPI bool _canStartSearching ()
MCAPI bool _isTargetInCooldown (::MobDescriptor const &descriptor) const
MCAPI bool _selectTarget ()
MCAPI bool isTargetVisible (::Mob const &mob, float maxDistance, float maxHeight) const
MCAPI void * $ctor (::Mob &mob)
MCAPI void $dtor ()
MCAPI bool $canUse ()
MCAPI bool $canContinueToUse ()
MCAPI void $start ()
MCAPI void $appendDebugInfo (::std::string &str) const
MCAPI::ActorUniqueID $_findTarget (::MobDescriptor const **outMobDescriptor)
virtual bool isTargetGoal () const
virtual void stop ()
virtual void tick ()
virtual bool _canAttack (::Mob *testMob, ::Actor *target, bool allowInvulnerable, bool mustSee, ::MobDescriptor const **outDescriptorMatch)
MCAPI bool _canAttack (::Actor *target, bool allowInvulnerable, ::MobDescriptor const **outDescriptorMatch)
MCAPI bool _canReach (::Actor &target)
MCAPI bool _matchesTargetTypes (::Mob *testMob, ::Actor *target, bool mustSee, ::MobDescriptor const **outDescriptorMatch)
MCAPI bool _withinRange (::Actor const &target)
MCFOLD bool $isTargetGoal () const
MCFOLD void $stop ()
MCAPI void $tick ()
MCAPI bool $_canAttack (::Mob *testMob, ::Actor *target, bool allowInvulnerable, bool mustSee, ::MobDescriptor const **outDescriptorMatch)
virtual bool canBeInterrupted ()
virtual void onPlayerDimensionChanged (::Player *player, ::DimensionType fromDimension, ::DimensionType toDimension)
MCFOLD bool $canBeInterrupted ()
MCFOLD void $onPlayerDimensionChanged (::Player *player, ::DimensionType fromDimension, ::DimensionType toDimension)

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 8, ::ActorUniqueIDmTargetID
::ll::TypedStorage< 8, 8, ::MobDescriptor const * > mTargetDescriptor
::ll::TypedStorage< 1, 1, bool > mReselectTargets
::ll::TypedStorage< 8, 64, ::std::unordered_map<::MobDescriptor const *, ::Tick > > mTargetCooldowns
::ll::TypedStorage< 4, 8, ::IntRangemAttackIntervalTicks
::ll::TypedStorage< 4, 4, int > mScanInterval
::ll::TypedStorage< 1, 1, bool > mSetPersistent
::ll::TypedStorage< 4, 4, float > mTargetSearchHeight
::ll::TypedStorage< 4, 4, float > mTargetInvisibleMultiplier
::ll::TypedStorage< 4, 4, float > mTargetSneakVisibilityMultiplier
::ll::TypedStorage< 4, 4, float > mTargetAcquisitionProbability
::ll::TypedStorage< 8, 8, ::Mob & > mMob
::ll::TypedStorage< 1, 1, bool > mAttackOwner
::ll::TypedStorage< 1, 1, bool > mMustReach
::ll::TypedStorage< 1, 1, bool > mGlobalMustSee
::ll::TypedStorage< 1, 1, bool > mTargetMustSee
::ll::TypedStorage< 4, 4, int > mTargetMustSeeForgetTicks
::ll::TypedStorage< 1, 1, bool > mFilterFailure
::ll::TypedStorage< 4, 4, int > mFilterFailureTicks
::ll::TypedStorage< 4, 4, int > mGlobalMustSeeForgetTicks
::ll::TypedStorage< 4, 4, int > mPersistTargetTicks
::ll::TypedStorage< 4, 4, int > mReachCache
::ll::TypedStorage< 4, 4, int > mReachCacheTime
::ll::TypedStorage< 4, 4, int > mUnseenTicks
::ll::TypedStorage< 4, 4, float > mWithinDefault
::ll::TypedStorage< 1, 1, bool > mReevaluateTarget
::ll::TypedStorage< 8, 24, ::std::vector<::MobDescriptor > > mTargetTypes
::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 NearestAttackableTargetGoal::canUse ( )
virtual

Implements Goal.

◆ canContinueToUse()

virtual bool NearestAttackableTargetGoal::canContinueToUse ( )
virtual

Reimplemented from TargetGoal.

◆ start()

virtual void NearestAttackableTargetGoal::start ( )
virtual

Reimplemented from TargetGoal.

◆ appendDebugInfo()

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

Reimplemented from TargetGoal.

◆ isTargetGoal()

virtual bool TargetGoal::isTargetGoal ( ) const
virtualinherited

Reimplemented from Goal.

◆ stop()

virtual void TargetGoal::stop ( )
virtualinherited

Reimplemented from Goal.

◆ tick()

virtual void TargetGoal::tick ( )
virtualinherited

Reimplemented from Goal.


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