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

Public Member Functions

EconomyTradeableComponent & operator= (EconomyTradeableComponent const &)
 EconomyTradeableComponent (EconomyTradeableComponent const &)
MCAPI EconomyTradeableComponent (::Actor &owner)
MCAPI bool _generateTrades ()
MCAPI::TradeTable * _getTradeTable ()
MCAPI void addAdditionalSaveData (::CompoundTag &tag) const
MCAPI::UpdateTradePacket createDataPacket (::ContainerID containerID)
MCAPI void fixVillagerTierToMatchTradeList (::MerchantRecipeList *oldOffers)
MCAPI::IntRange getCurrentCuredDiscount () const
MCAPI::Interaction getInteraction (::Player &player)
MCAPI::MerchantRecipeList * getOffers ()
MCAPI uint getTradeExpForCurrentLevel () const
MCAPI uint getTradeTier () const
MCAPI bool hasSupplyRemaining () const
MCAPI::std::string const & loadDisplayName ()
MCAPI void matchExpAndTier ()
MCAPI void newServerAiStep ()
MCAPI void notifyTrade (int recipeIndex, int numTrades)
MCAPI void readAdditionalSaveData (::CompoundTag const &tag, ::DataLoadHelper &dataLoadHelper)
MCAPI void reloadComponent ()
MCAPI void resupplyTrades ()
MCAPI void setNearbyCuredDiscount (int discount)
MCAPI void setOffers (::MerchantRecipeList &offers)
MCAPI void tickDiscountDegradationTimer (::Tick currentTick)
MCAPI void tryIncrementCuredDiscount ()
MCAPI void tryIncrementNearbyCuredDiscount ()
MCAPI void tryToTransferOldOffers (::MerchantRecipeList *oldOffers)
MCAPI void * $ctor (::Actor &owner)

Public Attributes

::ll::TypedStorage< 8, 8, ::ActorUniqueID > mLastTradingPlayer
::ll::TypedStorage< 4, 4, int > mUpdateMerchantTimer
::ll::TypedStorage< 1, 1, bool > mAddRecipeOnUpdate
::ll::TypedStorage< 4, 4, int > mRiches
::ll::TypedStorage< 8, 8, ::Actor & > mOwner
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::MerchantRecipeList > > mOffers
::ll::TypedStorage< 8, 32, ::std::string > mDisplayName
::ll::TypedStorage< 8, 32, ::std::string > mGeneratedTablePath
::ll::TypedStorage< 1, 1, bool > mConvertedFromVillagerV1
::ll::TypedStorage< 4, 4, int > mDiscountDegradationTimeStamp

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