LeviLamina
Loading...
Searching...
No Matches
TargetGoal Class Referenceabstract
Inheritance diagram for TargetGoal:

Public Member Functions

TargetGoaloperator= (TargetGoal const &)
 TargetGoal (TargetGoal const &)
virtual bool isTargetGoal () const
virtual bool canContinueToUse ()
virtual void start ()
virtual void stop ()
virtual void tick ()
virtual void appendDebugInfo (::std::string &str) const
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)
MCAPI void $dtor ()
MCFOLD bool $isTargetGoal () const
MCAPI bool $canContinueToUse ()
MCAPI void $start ()
MCFOLD void $stop ()
MCAPI void $tick ()
MCAPI void $appendDebugInfo (::std::string &str) const
MCAPI bool $_canAttack (::Mob *testMob, ::Actor *target, bool allowInvulnerable, bool mustSee, ::MobDescriptor const **outDescriptorMatch)
virtual bool canUse ()=0
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, ::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

◆ isTargetGoal()

virtual bool TargetGoal::isTargetGoal ( ) const
virtual

Reimplemented from Goal.

◆ canContinueToUse()

virtual bool TargetGoal::canContinueToUse ( )
virtual

Reimplemented from Goal.

◆ start()

virtual void TargetGoal::start ( )
virtual

Reimplemented from Goal.

◆ stop()

virtual void TargetGoal::stop ( )
virtual

Reimplemented from Goal.

◆ tick()

virtual void TargetGoal::tick ( )
virtual

Reimplemented from Goal.

◆ appendDebugInfo()

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

Implements Goal.


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