LeviLamina
Loading...
Searching...
No Matches
EnchantBookForTradingFunction Class Reference
+ Inheritance diagram for EnchantBookForTradingFunction:

Classes

struct  EnchantmentOption
 

Public Member Functions

EnchantBookForTradingFunctionoperator= (EnchantBookForTradingFunction const &)
 
 EnchantBookForTradingFunction (EnchantBookForTradingFunction const &)
 
virtual void apply (::ItemStack &item, ::Random &random, ::LootTableContext &)
 
virtual int apply (::ItemStack &item, ::Random &random, ::Trade const &trade, ::LootTableContext &context)
 
virtual void apply (::ItemInstance &item, ::Random &random, ::LootTableContext &)
 
virtual int apply (::ItemInstance &item, ::Random &random, ::Trade const &trade, ::LootTableContext &context)
 
MCAPI::EnchantmentInstance _getRandomEnchantInstance (::Random &random) const
 
MCAPI ::std::optional<::EnchantmentInstance_trySelectEnchantmentFromOptions (::Random &random) const
 
MCAPI void $apply (::ItemStack &item, ::Random &random, ::LootTableContext &)
 
MCAPI int $apply (::ItemStack &item, ::Random &random, ::Trade const &trade, ::LootTableContext &context)
 
MCAPI void $apply (::ItemInstance &item, ::Random &random, ::LootTableContext &)
 
MCAPI int $apply (::ItemInstance &item, ::Random &random, ::Trade const &trade, ::LootTableContext &context)
 
MCAPI void $dtor ()
 

Static Public Member Functions

static MCAPI ::std::optional<::EnchantBookForTradingFunction::EnchantmentOption_parseEnchantmentOption (::Json::Value const &enchantOptionData)
 
static MCAPI ::std::unique_ptr<::EnchantBookForTradingFunctiondeserialize (::Json::Value object, ::std::vector<::std::unique_ptr<::LootItemCondition > > &predicates)
 
static MCAPI void ** $vftable ()
 
static MCAPI ::std::unique_ptr<::LootItemFunctiondeserialize (::Json::Value object, bool usingUpcomingCreatorFeaturesExperiment)
 
static MCAPI ::std::unordered_map< ::HashedString, ::std::function<::std::unique_ptr< ::LootItemFunction >(::Json::Value &, ::std::vector<::std::unique_ptr<::LootItemCondition > > &)> > const & mLootingFunctions ()
 

Public Attributes

::ll::UntypedStorage< 4, 4 > mUnk1be4fe
 
::ll::UntypedStorage< 4, 4 > mUnk751251
 
::ll::UntypedStorage< 4, 4 > mUnk18274c
 
::ll::UntypedStorage< 4, 4 > mUnk677e06
 
::ll::UntypedStorage< 8, 24 > mUnk4675c9
 
::ll::UntypedStorage< 8, 24 > mUnkd6cdfe
 

Member Function Documentation

◆ apply() [1/4]

virtual void EnchantBookForTradingFunction::apply ( ::ItemStack & item,
::Random & random,
::LootTableContext &  )
virtual

Implements LootItemFunction.

◆ apply() [2/4]

virtual int EnchantBookForTradingFunction::apply ( ::ItemStack & item,
::Random & random,
::Trade const & trade,
::LootTableContext & context )
virtual

Reimplemented from LootItemFunction.

◆ apply() [3/4]

virtual void EnchantBookForTradingFunction::apply ( ::ItemInstance & item,
::Random & random,
::LootTableContext &  )
virtual

Implements LootItemFunction.

◆ apply() [4/4]

virtual int EnchantBookForTradingFunction::apply ( ::ItemInstance & item,
::Random & random,
::Trade const & trade,
::LootTableContext & context )
virtual

Reimplemented from LootItemFunction.

◆ _getRandomEnchantInstance()

MCAPI::EnchantmentInstance EnchantBookForTradingFunction::_getRandomEnchantInstance ( ::Random & random) 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.

◆ _trySelectEnchantmentFromOptions()

MCAPI ::std::optional<::EnchantmentInstance > EnchantBookForTradingFunction::_trySelectEnchantmentFromOptions ( ::Random & random) 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.

◆ _parseEnchantmentOption()

static MCAPI ::std::optional<::EnchantBookForTradingFunction::EnchantmentOption > EnchantBookForTradingFunction::_parseEnchantmentOption ( ::Json::Value const & enchantOptionData)
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.

◆ deserialize() [1/2]

static MCAPI ::std::unique_ptr<::EnchantBookForTradingFunction > EnchantBookForTradingFunction::deserialize ( ::Json::Value object,
::std::vector<::std::unique_ptr<::LootItemCondition > > & predicates )
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.

◆ $apply() [1/4]

MCAPI void EnchantBookForTradingFunction::$apply ( ::ItemStack & item,
::Random & random,
::LootTableContext &  )
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.

◆ $apply() [2/4]

MCAPI int EnchantBookForTradingFunction::$apply ( ::ItemStack & item,
::Random & random,
::Trade const & trade,
::LootTableContext & context )
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.

◆ $apply() [3/4]

MCAPI void EnchantBookForTradingFunction::$apply ( ::ItemInstance & item,
::Random & random,
::LootTableContext &  )
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.

◆ $apply() [4/4]

MCAPI int EnchantBookForTradingFunction::$apply ( ::ItemInstance & item,
::Random & random,
::Trade const & trade,
::LootTableContext & context )
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.

◆ $vftable()

static MCAPI void ** EnchantBookForTradingFunction::$vftable ( )
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.

◆ deserialize() [2/2]

static MCAPI ::std::unique_ptr<::LootItemFunction > LootItemFunction::deserialize ( ::Json::Value object,
bool usingUpcomingCreatorFeaturesExperiment )
staticinherited
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.

◆ mLootingFunctions()

static MCAPI ::std::unordered_map< ::HashedString, ::std::function<::std::unique_ptr< ::LootItemFunction >(::Json::Value &, ::std::vector<::std::unique_ptr<::LootItemCondition > > &)> > const & LootItemFunction::mLootingFunctions ( )
staticinherited
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 LootItemFunction::$dtor ( )
inherited
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: