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

Public Member Functions

EconomyTradeableComponentoperator= (EconomyTradeableComponent const &)
 
 EconomyTradeableComponent (EconomyTradeableComponent const &)
 
MCAPI bool _generateTrades ()
 
MCAPI::TradeTable * _getTradeTable ()
 
MCAPI uint _getTradeTierFromCurrentExp () const
 
MCAPI void _rearrangeTradeList (::std::vector<::Trade > &tradeList, uint64 sampleCount)
 
MCAPI void _setMaxTradeTier (int tradeTier)
 
MCAPI void _setTradeTier (int tradeTier)
 
MCAPI void addAdditionalSaveData (::CompoundTag &tag) const
 
MCAPI::UpdateTradePacket createDataPacket (::ContainerID containerID)
 
MCAPI void fixVillagerTierToMatchTradeList (::MerchantRecipeList *oldOffers)
 
MCAPI::IntRange getCurrentCuredDiscount () const
 
MCAPI int getCurrentNearbyCuredDiscount () const
 
MCAPI bool getInteraction (::Player &player, ::ActorInteraction &interaction)
 
MCAPI::MerchantRecipeList * getOffers ()
 
MCAPI uint getTradeTier () const
 
MCAPI void loadOffersFromTag (::CompoundTag const *tag)
 
MCAPI void matchExpAndTier ()
 
MCAPI void newServerAiStep ()
 
MCAPI void notifyTrade (int recipeIndex, int numTrades)
 
MCAPI void readAdditionalSaveData (::CompoundTag const &tag, ::DataLoadHelper &dataLoadHelper)
 
MCAPI void setCurrentTradeExp (int currentTradeExp)
 
MCAPI void setNearbyCuredDiscount (int discount)
 
MCAPI void tryIncrementCuredDiscount ()
 
MCAPI void tryIncrementNearbyCuredDiscount ()
 
MCAPI void tryToTransferOldOffers (::MerchantRecipeList *oldOffers)
 

Public Attributes

::ll::TypedStorage< 8, 8, ::ActorUniqueIDmLastTradingPlayer
 
::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
 

Member Function Documentation

◆ _generateTrades()

MCAPI bool EconomyTradeableComponent::_generateTrades ( )
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.

◆ _getTradeTable()

MCAPI::TradeTable * EconomyTradeableComponent::_getTradeTable ( )
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.

◆ _getTradeTierFromCurrentExp()

MCAPI uint EconomyTradeableComponent::_getTradeTierFromCurrentExp ( ) 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.

◆ _rearrangeTradeList()

MCAPI void EconomyTradeableComponent::_rearrangeTradeList ( ::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.

◆ _setMaxTradeTier()

MCAPI void EconomyTradeableComponent::_setMaxTradeTier ( 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.

◆ _setTradeTier()

MCAPI void EconomyTradeableComponent::_setTradeTier ( 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 EconomyTradeableComponent::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 EconomyTradeableComponent::createDataPacket ( ::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.

◆ fixVillagerTierToMatchTradeList()

MCAPI void EconomyTradeableComponent::fixVillagerTierToMatchTradeList ( ::MerchantRecipeList * oldOffers)
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.

◆ getCurrentCuredDiscount()

MCAPI::IntRange EconomyTradeableComponent::getCurrentCuredDiscount ( ) 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.

◆ getCurrentNearbyCuredDiscount()

MCAPI int EconomyTradeableComponent::getCurrentNearbyCuredDiscount ( ) 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.

◆ getInteraction()

MCAPI bool EconomyTradeableComponent::getInteraction ( ::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.

◆ getOffers()

MCAPI::MerchantRecipeList * EconomyTradeableComponent::getOffers ( )
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.

◆ getTradeTier()

MCAPI uint EconomyTradeableComponent::getTradeTier ( ) 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.

◆ loadOffersFromTag()

MCAPI void EconomyTradeableComponent::loadOffersFromTag ( ::CompoundTag const * tag)
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.

◆ matchExpAndTier()

MCAPI void EconomyTradeableComponent::matchExpAndTier ( )
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.

◆ newServerAiStep()

MCAPI void EconomyTradeableComponent::newServerAiStep ( )
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 EconomyTradeableComponent::notifyTrade ( 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.

◆ readAdditionalSaveData()

MCAPI void EconomyTradeableComponent::readAdditionalSaveData ( ::CompoundTag const & tag,
::DataLoadHelper & 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.

◆ setCurrentTradeExp()

MCAPI void EconomyTradeableComponent::setCurrentTradeExp ( int currentTradeExp)
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.

◆ setNearbyCuredDiscount()

MCAPI void EconomyTradeableComponent::setNearbyCuredDiscount ( int discount)
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.

◆ tryIncrementCuredDiscount()

MCAPI void EconomyTradeableComponent::tryIncrementCuredDiscount ( )
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.

◆ tryIncrementNearbyCuredDiscount()

MCAPI void EconomyTradeableComponent::tryIncrementNearbyCuredDiscount ( )
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.

◆ tryToTransferOldOffers()

MCAPI void EconomyTradeableComponent::tryToTransferOldOffers ( ::MerchantRecipeList * oldOffers)
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: