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

Public Member Functions

LegacyTradeableComponentoperator= (LegacyTradeableComponent const &)
 
 LegacyTradeableComponent (LegacyTradeableComponent const &)
 
MCAPI::TradeTable * _getTradeTable (::Actor &owner)
 
MCAPI void _rearrangeTradeList (::Actor &owner, ::std::vector<::Trade > &tradeList, uint64 sampleCount)
 
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 ~LegacyTradeableComponent ()
 
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
 

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.

◆ _rearrangeTradeList()

MCAPI void LegacyTradeableComponent::_rearrangeTradeList ( ::Actor & owner,
::std::vector<::Trade > & tradeList,
uint64 sampleCount )
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.

◆ _updateMaxTradeTier()

MCAPI void LegacyTradeableComponent::_updateMaxTradeTier ( ::Actor & owner,
int tradeTier )
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 bool LegacyTradeableComponent::getInteraction ( ::Actor & owner,
::Player & player,
::ActorInteraction & interaction )
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.

◆ 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.

◆ 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.

◆ $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: