|
|
MCAPI | ScriptItemEnchantmentComponent (::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack > item, ::Scripting::WeakLifetimeScope const &scope) |
|
MCAPI ::Scripting::Result< void, ::ScriptModuleMinecraft::ScriptItemEnchantmentUnknownIdError, ::ScriptModuleMinecraft::ScriptItemEnchantmentLevelOutOfBoundsError, ::ScriptModuleMinecraft::ScriptItemEnchantmentTypeNotCompatibleError, ::Scripting::Error > | addEnchantment (::ScriptModuleMinecraft::ScriptItemEnchantmentInstance const &inst) |
|
MCAPI ::Scripting::Result< void, ::ScriptModuleMinecraft::ScriptItemEnchantmentUnknownIdError, ::ScriptModuleMinecraft::ScriptItemEnchantmentLevelOutOfBoundsError, ::ScriptModuleMinecraft::ScriptItemEnchantmentTypeNotCompatibleError, ::Scripting::Error > | addEnchantments (::std::vector<::ScriptModuleMinecraft::ScriptItemEnchantmentInstance > const &enchants) |
|
MCAPI ::Scripting::Result< bool, ::ScriptModuleMinecraft::ScriptItemEnchantmentUnknownIdError, ::ScriptModuleMinecraft::ScriptItemEnchantmentLevelOutOfBoundsError > | canAddEnchantment (::ScriptModuleMinecraft::ScriptItemEnchantmentInstance const &inst) |
|
MCAPI ::Scripting::Result< ::std::optional<::ScriptModuleMinecraft::ScriptItemEnchantmentInstance >, ::ScriptModuleMinecraft::ScriptItemEnchantmentUnknownIdError > | getEnchantment (::Scripting::WeakLifetimeScope &scope, ::std::variant< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemEnchantmentType >, ::std::string > enchantmentTypeOrId) |
|
MCAPI ::Scripting::Result_deprecated<::std::vector<::ScriptModuleMinecraft::ScriptItemEnchantmentInstance > > | getEnchantments (::Scripting::WeakLifetimeScope &scope) const |
|
MCAPI ::Scripting::Result_deprecated<::std::vector<::Enchant::Slot > > | getSlots () const |
|
MCAPI ::Scripting::Result< bool, ::ScriptModuleMinecraft::ScriptItemEnchantmentUnknownIdError > | hasEnchantment (::std::variant< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemEnchantmentType >, ::std::string > enchantmentTypeOrId) const |
|
MCAPI ::Scripting::Result_deprecated< void > | removeAllEnchantments () |
|
MCAPI ::Scripting::Result< void, ::ScriptModuleMinecraft::ScriptItemEnchantmentUnknownIdError, ::Scripting::Error > | removeEnchantment (::std::variant< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemEnchantmentType >, ::std::string > enchantmentTypeOrId) |
|
MCAPI void * | $ctor (::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack > item, ::Scripting::WeakLifetimeScope const &scope) |
| virtual bool | _isValid () const |
|
MCAPI void * | $ctor (::ScriptModuleMinecraft::ScriptItemComponent const &) |
|
MCAPI void * | $ctor (::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack > item, ::Scripting::WeakLifetimeScope const &scope, ::std::string id) |
|
MCAPI void | $dtor () |
|
MCAPI bool | $_isValid () const |
|
|
::ll::TypedStorage< 8, 80, ::ItemEnchants > | mEnchants |
|
::ll::TypedStorage< 8, 32, ::Scripting::WeakTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack > > | mItemStackHandle |
|
::ll::TypedStorage< 8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemType > > | mItemType |
|
::ll::TypedStorage< 8, 16, ::Scripting::WeakLifetimeScope const > | mScope |
|
::ll::TypedStorage< 8, 32, ::std::string > | mId |
◆ $vftable()
| MCAPI void ** ScriptModuleMinecraft::ScriptItemEnchantmentComponent::$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.
◆ _isValid()
| virtual bool ScriptModuleMinecraft::ScriptItemComponent::_isValid |
( |
| ) |
const |
|
virtualinherited |
The documentation for this class was generated from the following file: