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

Public Member Functions

LegacyTradeableComponent & operator= (LegacyTradeableComponent const &)
 LegacyTradeableComponent (LegacyTradeableComponent const &)
MCAPI::TradeTable * _getTradeTable (::Actor &owner)
MCAPI bool _refreshTrades (::Actor &owner)
MCAPI void addAdditionalSaveData (::CompoundTag &tag) const
MCAPI::UpdateTradePacket createDataPacket (::Actor &owner, ::ContainerID containerID)
MCAPI::Interaction getInteraction (::Actor &owner, ::Player &player)
MCAPI::std::string const & loadDisplayName (::Actor &owner)
MCAPI void notifyTrade (::Actor &owner, int recipeIndex, int numTrades)
MCAPI::LegacyTradeableComponent & operator= (::LegacyTradeableComponent &&)
MCAPI void readAdditionalSaveData (::Actor &owner, ::CompoundTag const &tag, ::DataLoadHelper &)
MCAPI void reloadComponent (::Actor &actor)
MCAPI void restockAllRecipes (::Actor &owner)
MCAPI void setOffers (::MerchantRecipeList &offers)
MCAPI bool shouldConvertTrades (::Actor &owner) const
MCAPI bool shouldPersistTrades (::Actor &owner) const
MCAPI void updateTradeTier (::Actor &owner)
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI bool isUseNewTradeScreen (::Actor const &owner)

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, ::ActorUniqueID > mLastPlayerTradeID
::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: