|
LeviLamina
|
Inheritance diagram for EnchantBookForTradingFunction:Classes | |
| struct | EnchantmentOption |
Public Member Functions | |
| EnchantBookForTradingFunction & | operator= (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) |
| virtual::LootItemFunction::FunctionType | getFunctionType () const |
| 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::LootItemFunction::FunctionType | $getFunctionType () const |
| MCAPI void | $dtor () |
Static Public Member Functions | |
| static MCAPI ::std::optional<::EnchantBookForTradingFunction::EnchantmentOption > | _parseEnchantmentOption (::Json::Value const &enchantOptionData) |
| static MCAPI ::std::unique_ptr<::EnchantBookForTradingFunction > | deserialize (::Json::Value object, ::std::vector<::std::unique_ptr<::LootItemCondition > > &predicates) |
| static MCAPI void ** | $vftable () |
| static MCAPI ::std::unique_ptr<::LootItemFunction > | deserialize (::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 |
|
virtual |
Implements LootItemFunction.
|
virtual |
Reimplemented from LootItemFunction.
|
virtual |
Implements LootItemFunction.
|
virtual |
Reimplemented from LootItemFunction.
|
virtual |
Implements LootItemFunction.
| MCAPI::EnchantmentInstance EnchantBookForTradingFunction::_getRandomEnchantInstance | ( | ::Random & | random | ) | const |
| MCAPI ::std::optional<::EnchantmentInstance > EnchantBookForTradingFunction::_trySelectEnchantmentFromOptions | ( | ::Random & | random | ) | const |
|
static |
|
static |
| MCAPI void EnchantBookForTradingFunction::$apply | ( | ::ItemStack & | item, |
| ::Random & | random, | ||
| ::LootTableContext & | ) |
| MCAPI int EnchantBookForTradingFunction::$apply | ( | ::ItemStack & | item, |
| ::Random & | random, | ||
| ::Trade const & | trade, | ||
| ::LootTableContext & | context ) |
| MCAPI void EnchantBookForTradingFunction::$apply | ( | ::ItemInstance & | item, |
| ::Random & | random, | ||
| ::LootTableContext & | ) |
| MCAPI int EnchantBookForTradingFunction::$apply | ( | ::ItemInstance & | item, |
| ::Random & | random, | ||
| ::Trade const & | trade, | ||
| ::LootTableContext & | context ) |
| MCAPI::LootItemFunction::FunctionType EnchantBookForTradingFunction::$getFunctionType | ( | ) | const |
|
static |
|
staticinherited |
|
staticinherited |
|
inherited |