Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ScriptModuleMinecraft::ScriptItemEnchantmentType Struct Reference

Public Types

using Key = ::std::string

Static Public Member Functions

static MCAPI ::Scripting::ClassBinding bind ()
static MCAPI ::Enchant::Type getEnchantType (::std::variant< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemEnchantmentType >, ::std::string > const &enchantmentTypeOrId)
static MCAPI ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemEnchantmentType > getOrCreateHandle (::Scripting::WeakLifetimeScope const &scope, ::Enchant::Type enchantmentType)

Public Attributes

::ll::TypedStorage< 8, 8, ::Enchant const * > mEnchant
::ll::TypedStorage< 1, 1, ::Enchant::Type > mEnchantType
::ll::TypedStorage< 8, 32, ::std::string > mName

Member Function Documentation

◆ bind()

MCAPI ::Scripting::ClassBinding ScriptModuleMinecraft::ScriptItemEnchantmentType::bind ( )
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.

◆ getEnchantType()

MCAPI ::Enchant::Type ScriptModuleMinecraft::ScriptItemEnchantmentType::getEnchantType ( ::std::variant< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemEnchantmentType >, ::std::string > const & enchantmentTypeOrId)
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.

◆ getOrCreateHandle()

MCAPI ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemEnchantmentType > ScriptModuleMinecraft::ScriptItemEnchantmentType::getOrCreateHandle ( ::Scripting::WeakLifetimeScope const & scope,
::Enchant::Type enchantmentType )
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.

The documentation for this struct was generated from the following file: