Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ScriptModuleMinecraft::ScriptPotions Class Reference

Public Types

using Key = ::HashedString

Static Public Member Functions

static MCAPI ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPotions > _getHandle (::Scripting::WeakLifetimeScope &scope)
static MCAPI ::Scripting::ClassBinding bind ()
static MCAPI ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPotionDeliveryType > getOrCreatePotionDeliveryType (::PotionType potionType, ::Scripting::WeakLifetimeScope scope)
static MCAPI ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPotionEffectType > getOrCreatePotionEffectType (::gsl::not_null<::std::shared_ptr<::Potion const > > potion, ::Scripting::WeakLifetimeScope scope)

Public Attributes

::ll::TypedStorage< 8, 64, ::std::unordered_map< ::PotionType, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPotionDeliveryType > > > mPotionDeliveryTypeHandles
::ll::TypedStorage< 8, 64, ::std::unordered_map< ::std::string, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPotionEffectType > > > mPotionEffectTypeHandles

Member Function Documentation

◆ _getHandle()

MCAPI ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPotions > ScriptModuleMinecraft::ScriptPotions::_getHandle ( ::Scripting::WeakLifetimeScope & scope)
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.

◆ bind()

MCAPI ::Scripting::ClassBinding ScriptModuleMinecraft::ScriptPotions::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.

◆ getOrCreatePotionDeliveryType()

MCAPI ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPotionDeliveryType > ScriptModuleMinecraft::ScriptPotions::getOrCreatePotionDeliveryType ( ::PotionType potionType,
::Scripting::WeakLifetimeScope scope )
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.

◆ getOrCreatePotionEffectType()

MCAPI ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPotionEffectType > ScriptModuleMinecraft::ScriptPotions::getOrCreatePotionEffectType ( ::gsl::not_null<::std::shared_ptr<::Potion const > > potion,
::Scripting::WeakLifetimeScope scope )
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 class was generated from the following file: