Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
TargetGoal Class Referenceabstract
Inheritance diagram for TargetGoal:

Public Member Functions

TargetGoal & operator= (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 TargetGoal (::Mob &pathMob, ::std::string name, ::GoalId const &goalId, ::std::vector<::MobDescriptor > const &targetTypes, bool mustSee, int mustSeeForgetTicks, bool mustReach, float withinDefault, bool attackOwner, int persistTargetTicks)
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 void * $ctor (::Mob &pathMob, ::std::string name, ::GoalId const &goalId, ::std::vector<::MobDescriptor > const &targetTypes, bool mustSee, int mustSeeForgetTicks, bool mustReach, float withinDefault, bool attackOwner, int persistTargetTicks)
MCAPI void $dtor ()
MCAPI bool $isTargetGoal () const
MCAPI bool $canContinueToUse ()
MCAPI void $start ()
MCAPI 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)
virtual::GoalId getGoalId () const
MCAPI bool $canBeInterrupted ()
MCAPI void $onPlayerDimensionChanged (::Player *player, ::DimensionType fromDimension, ::DimensionType toDimension)
MCAPI::GoalId $getGoalId () const

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 > mName
::ll::TypedStorage< 4, 4, int > mRequiredControlFlags
::ll::TypedStorage< 2, 2, ushort > mTypeId

Constructor & Destructor Documentation

◆ TargetGoal()

MCAPI TargetGoal::TargetGoal ( ::Mob & pathMob,
::std::string name,
::GoalId const & goalId,
::std::vector<::MobDescriptor > const & targetTypes,
bool mustSee,
int mustSeeForgetTicks,
bool mustReach,
float withinDefault,
bool attackOwner,
int persistTargetTicks )
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

◆ isTargetGoal()

virtual bool TargetGoal::isTargetGoal ( ) const
virtual

Reimplemented from BaseGoal.

◆ canContinueToUse()

virtual bool TargetGoal::canContinueToUse ( )
virtual

Reimplemented from BaseGoal.

◆ start()

virtual void TargetGoal::start ( )
virtual

Reimplemented from BaseGoal.

◆ stop()

virtual void TargetGoal::stop ( )
virtual

Reimplemented from BaseGoal.

◆ tick()

virtual void TargetGoal::tick ( )
virtual

Reimplemented from BaseGoal.

◆ appendDebugInfo()

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

Implements BaseGoal.

◆ _canAttack()

MCAPI bool TargetGoal::_canAttack ( ::Actor * target,
bool allowInvulnerable,
::MobDescriptor const ** outDescriptorMatch )
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.

◆ _canReach()

MCAPI bool TargetGoal::_canReach ( ::Actor & target)
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 * TargetGoal::$ctor ( ::Mob & pathMob,
::std::string name,
::GoalId const & goalId,
::std::vector<::MobDescriptor > const & targetTypes,
bool mustSee,
int mustSeeForgetTicks,
bool mustReach,
float withinDefault,
bool attackOwner,
int persistTargetTicks )
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 TargetGoal::$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.

◆ $isTargetGoal()

MCAPI bool TargetGoal::$isTargetGoal ( ) 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.

◆ $canContinueToUse()

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

◆ $start()

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

◆ $tick()

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

◆ $_canAttack()

MCAPI bool TargetGoal::$_canAttack ( ::Mob * testMob,
::Actor * target,
bool allowInvulnerable,
bool mustSee,
::MobDescriptor const ** outDescriptorMatch )
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()

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

◆ $onPlayerDimensionChanged()

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

◆ $getGoalId()

MCAPI::GoalId BaseGoal::$getGoalId ( ) 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.

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