Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
MerchantRecipe Class Reference

Public Member Functions

MCAPI MerchantRecipe (::ItemInstance const &buy, ::ItemInstance const &sell)
MCAPI MerchantRecipe (::ItemInstance const &buyA, ::ItemInstance const &buyB, ::ItemInstance const &sell)
MCAPI void calculateDemandPrices (int minorPositiveGossip, int majorPositiveGossip, int nearbyCuredDiscount, int heroEffectAmplifier, bool hasHeroOfTheVillage, ::BaseGameVersion baseGameVersion)
MCAPI bool isSame (::MerchantRecipe const &lhs) const
MCAPI void legacyCalculateDemandPrices (int lowTierDiscount, int highTierDiscount)
MCAPI void * $ctor (::ItemInstance const &buy, ::ItemInstance const &sell)
MCAPI void * $ctor (::ItemInstance const &buyA, ::ItemInstance const &buyB, ::ItemInstance const &sell)
MCAPI void $dtor ()

Public Attributes

::ll::TypedStorage< 8, 128, ::ItemInstance > mBuyA
::ll::TypedStorage< 8, 128, ::ItemInstance > mBuyB
::ll::TypedStorage< 8, 128, ::ItemInstance > mSell
::ll::TypedStorage< 4, 4, int > mTier
::ll::TypedStorage< 4, 4, int > mUses
::ll::TypedStorage< 4, 4, int > mMaxUses
::ll::TypedStorage< 4, 4, uint > mTraderExp
::ll::TypedStorage< 1, 1, bool > mRewardExp
::ll::TypedStorage< 4, 4, int > mDemand
::ll::TypedStorage< 4, 4, int > mBuyCountA
::ll::TypedStorage< 4, 4, int > mBuyCountB
::ll::TypedStorage< 4, 4, float > mPriceMultiplierA
::ll::TypedStorage< 4, 4, float > mPriceMultiplierB
::ll::TypedStorage< 4, 4, ::RecipeNetId > mRecipeNetId

Member Function Documentation

◆ calculateDemandPrices()

MCAPI void MerchantRecipe::calculateDemandPrices ( int minorPositiveGossip,
int majorPositiveGossip,
int nearbyCuredDiscount,
int heroEffectAmplifier,
bool hasHeroOfTheVillage,
::BaseGameVersion baseGameVersion )
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.

◆ isSame()

MCAPI bool MerchantRecipe::isSame ( ::MerchantRecipe const & lhs) 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.

◆ legacyCalculateDemandPrices()

MCAPI void MerchantRecipe::legacyCalculateDemandPrices ( int lowTierDiscount,
int highTierDiscount )
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: