3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/legacy/ActorUniqueID.h"
7#include "mc/world/ContainerID.h"
28 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mLastTradingPlayer;
29 ::ll::TypedStorage<4, 4, int> mUpdateMerchantTimer;
30 ::ll::TypedStorage<1, 1, bool> mAddRecipeOnUpdate;
31 ::ll::TypedStorage<4, 4, int> mRiches;
32 ::ll::TypedStorage<8, 8, ::Actor&> mOwner;
33 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::MerchantRecipeList>> mOffers;
34 ::ll::TypedStorage<8, 32, ::std::string> mDisplayName;
35 ::ll::TypedStorage<8, 32, ::std::string> mGeneratedTablePath;
36 ::ll::TypedStorage<1, 1, bool> mConvertedFromVillagerV1;
37 ::ll::TypedStorage<4, 4, int> mDiscountDegradationTimeStamp;
Definition ActorInteraction.h:5
Definition CompoundTag.h:13
Definition DataLoadHelper.h:20
Definition EconomyTradeableComponent.h:24
MCAPI bool getInteraction(::Player &player, ::ActorInteraction &interaction)
MCAPI void _setTradeTier(int tradeTier)
MCAPI uint getTradeTier() const
MCAPI void loadOffersFromTag(::CompoundTag const *tag)
MCAPI::IntRange getCurrentCuredDiscount() const
MCAPI void addAdditionalSaveData(::CompoundTag &tag) const
MCAPI void tryIncrementNearbyCuredDiscount()
MCAPI void _rearrangeTradeList(::std::vector<::Trade > &tradeList, uint64 sampleCount)
MCAPI void tryIncrementCuredDiscount()
MCAPI void _setMaxTradeTier(int tradeTier)
MCAPI::TradeTable * _getTradeTable()
MCAPI bool _generateTrades()
MCAPI void matchExpAndTier()
MCAPI void setNearbyCuredDiscount(int discount)
MCAPI void notifyTrade(int recipeIndex, int numTrades)
MCAPI int getCurrentNearbyCuredDiscount() const
MCAPI void fixVillagerTierToMatchTradeList(::MerchantRecipeList *oldOffers)
MCAPI void tryToTransferOldOffers(::MerchantRecipeList *oldOffers)
MCAPI::MerchantRecipeList * getOffers()
MCAPI void readAdditionalSaveData(::CompoundTag const &tag, ::DataLoadHelper &dataLoadHelper)
MCAPI void newServerAiStep()
MCAPI::UpdateTradePacket createDataPacket(::ContainerID containerID)
MCAPI uint _getTradeTierFromCurrentExp() const
MCAPI void setCurrentTradeExp(int currentTradeExp)
Definition MerchantRecipeList.h:13
Definition UpdateTradePacket.h:20
Definition ActorUniqueID.h:5
Definition TradeTable.h:5