Skip to content
LeviMC
English
AutoLightDark
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, ::HandSlot)
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 ~LegacyTradeableComponent ()
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

Constructor & Destructor Documentation

◆ ~LegacyTradeableComponent()

MCAPI LegacyTradeableComponent::~LegacyTradeableComponent ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

Member Function Documentation

◆ _getTradeTable()

MCAPI::TradeTable * LegacyTradeableComponent::_getTradeTable ( ::Actor & owner)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _refreshTrades()

MCAPI bool LegacyTradeableComponent::_refreshTrades ( ::Actor & owner)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ addAdditionalSaveData()

MCAPI void LegacyTradeableComponent::addAdditionalSaveData ( ::CompoundTag & tag) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ createDataPacket()

MCAPI::UpdateTradePacket LegacyTradeableComponent::createDataPacket ( ::Actor & owner,
::ContainerID containerID )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getInteraction()

MCAPI::Interaction LegacyTradeableComponent::getInteraction ( ::Actor & owner,
::Player & player,
::HandSlot  )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ loadDisplayName()

MCAPI::std::string const & LegacyTradeableComponent::loadDisplayName ( ::Actor & owner)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ notifyTrade()

MCAPI void LegacyTradeableComponent::notifyTrade ( ::Actor & owner,
int recipeIndex,
int numTrades )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ operator=()

MCAPI::LegacyTradeableComponent & LegacyTradeableComponent::operator= ( ::LegacyTradeableComponent && )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ readAdditionalSaveData()

MCAPI void LegacyTradeableComponent::readAdditionalSaveData ( ::Actor & owner,
::CompoundTag const & tag,
::DataLoadHelper &  )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ reloadComponent()

MCAPI void LegacyTradeableComponent::reloadComponent ( ::Actor & actor)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ restockAllRecipes()

MCAPI void LegacyTradeableComponent::restockAllRecipes ( ::Actor & owner)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ setOffers()

MCAPI void LegacyTradeableComponent::setOffers ( ::MerchantRecipeList & offers)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ shouldConvertTrades()

MCAPI bool LegacyTradeableComponent::shouldConvertTrades ( ::Actor & owner) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ shouldPersistTrades()

MCAPI bool LegacyTradeableComponent::shouldPersistTrades ( ::Actor & owner) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ updateTradeTier()

MCAPI void LegacyTradeableComponent::updateTradeTier ( ::Actor & owner)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ isUseNewTradeScreen()

MCAPI bool LegacyTradeableComponent::isUseNewTradeScreen ( ::Actor const & owner)
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $dtor()

MCAPI void LegacyTradeableComponent::$dtor ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

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