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

Public Member Functions

virtual bool canUse ()
 
virtual bool canContinueToUse ()
 
virtual void start ()
 
virtual void stop ()
 
virtual void tick ()
 
virtual void appendDebugInfo (::std::string &str) const
 
MCAPI TradeInterestGoal (::Mob &mob, float interestDistance, float interestTime, float removeTime, float carriedTime, float cooldown)
 
MCAPI bool _isLookingAtMe (::Player const &target) const
 
MCAPI void * $ctor (::Mob &mob, float interestDistance, float interestTime, float removeTime, float carriedTime, float cooldown)
 
MCAPI void $dtor ()
 
MCAPI bool $canUse ()
 
MCAPI bool $canContinueToUse ()
 
MCAPI void $start ()
 
MCAPI void $stop ()
 
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 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, 40, ::TempEPtr<::Player > > mPlayer
 
::ll::TypedStorage< 1, 1, bool > mIsRunning
 
::ll::TypedStorage< 1, 1, bool > mIsOnlyTargetItemFound
 
::ll::TypedStorage< 4, 4, float > mInterestDistance
 
::ll::TypedStorage< 8, 8, uint64 > mCurrentIndex
 
::ll::TypedStorage< 8, 152, ::ItemStackmCarriedItem
 
::ll::TypedStorage< 8, 152, ::ItemStackmPlayerItem
 
::ll::TypedStorage< 8, 8, ::TickmCarriedItemSwitchTimer
 
::ll::TypedStorage< 8, 8, ::TickmRemoveItemTimer
 
::ll::TypedStorage< 8, 8, ::TickmInterestTimer
 
::ll::TypedStorage< 8, 8, ::TickmInterestCooldown
 
::ll::TypedStorage< 8, 8, ::Tick const > mInterestTimeMax
 
::ll::TypedStorage< 8, 8, ::Tick const > mInterestTimeMaxHalf
 
::ll::TypedStorage< 8, 8, ::Tick const > mRemoveTimeMax
 
::ll::TypedStorage< 8, 8, ::Tick const > mCarriedSwitchMax
 
::ll::TypedStorage< 8, 8, ::Tick const > mInterestCooldownMax
 
::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 TradeInterestGoal::canUse ( )
virtual

Implements Goal.

◆ canContinueToUse()

virtual bool TradeInterestGoal::canContinueToUse ( )
virtual

Reimplemented from Goal.

◆ start()

virtual void TradeInterestGoal::start ( )
virtual

Reimplemented from Goal.

◆ stop()

virtual void TradeInterestGoal::stop ( )
virtual

Reimplemented from Goal.

◆ tick()

virtual void TradeInterestGoal::tick ( )
virtual

Reimplemented from Goal.

◆ appendDebugInfo()

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

Implements Goal.


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