LeviLamina
Loading...
Searching...
No Matches
LegacyTradeableComponent Class Reference

Public Member Functions

LegacyTradeableComponentoperator= (LegacyTradeableComponent const &)
 
 LegacyTradeableComponent (LegacyTradeableComponent const &)
 
MCAPI::TradeTable * _getTradeTable (::Actor &owner)
 
MCAPI bool _refreshTrades (::Actor &owner)
 
MCAPI void _updateMaxTradeTier (::Actor &owner, int tradeTier)
 
MCAPI void addAdditionalSaveData (::CompoundTag &tag) const
 
MCAPI::UpdateTradePacket createDataPacket (::Actor &owner, ::ContainerID containerID)
 
MCAPI bool getInteraction (::Actor &owner, ::Player &player, ::ActorInteraction &interaction)
 
MCAPI void notifyTrade (::Actor &owner, int recipeIndex, int numTrades)
 
MCAPI::LegacyTradeableComponent & operator= (::LegacyTradeableComponent &&)
 
MCAPI void readAdditionalSaveData (::Actor &owner, ::CompoundTag const &tag, ::DataLoadHelper &)
 
MCAPI void restockAllRecipes (::Actor &owner)
 
MCAPI void updateTradeTier (::Actor &owner)
 
MCAPI void $dtor ()
 

Public Attributes

::ll::TypedStorage< 1, 1, bool > mAddRecipeOnUpdate
 
::ll::TypedStorage< 1, 1, bool > mResetLockedOnFirstTrade
 
::ll::TypedStorage< 1, 1, bool > mWillingToBreed
 
::ll::TypedStorage< 4, 4, int > mRiches
 
::ll::TypedStorage< 4, 4, int > mTradeTier
 
::ll::TypedStorage< 4, 4, int > mUpdateMerchantTimer
 
::ll::TypedStorage< 8, 8, ::ActorUniqueIDmLastPlayerTradeID
 
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::MerchantRecipeList > > mOffers
 
::ll::TypedStorage< 8, 32, ::std::string > mDisplayName
 
::ll::TypedStorage< 8, 24, ::std::vector< int > > mTradeRecipeFirstTime
 

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