LeviLamina
Loading...
Searching...
No Matches
ScriptModuleMinecraft::ScriptPotions Class Reference

Public Types

using Key = ::HashedString

Public Member Functions

ScriptPotions & operator= (ScriptPotions const &)
MCAPI ScriptPotions (::ScriptModuleMinecraft::ScriptPotions &&)
MCAPI ScriptPotions (::ScriptModuleMinecraft::ScriptPotions const &)
MCAPI::ScriptModuleMinecraft::ScriptPotions & operator= (::ScriptModuleMinecraft::ScriptPotions &&)
MCAPI void * $ctor ()
MCAPI void * $ctor (::ScriptModuleMinecraft::ScriptPotions &&)
MCAPI void * $ctor (::ScriptModuleMinecraft::ScriptPotions const &)

Static Public Member Functions

static MCAPI ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPotions_getHandle (::Scripting::WeakLifetimeScope &scope)
static MCAPI ::Scripting::ClassBinding bind ()
static MCAPI ::std::vector<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPotionDeliveryType > > getDeliveryTypes (::Scripting::WeakLifetimeScope scope)
static MCAPI ::std::vector<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPotionEffectType > > getEffectTypes (::Scripting::WeakLifetimeScope scope)
static MCAPI ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPotionDeliveryTypegetOrCreatePotionDeliveryType (::Potion::PotionType potionType, ::Scripting::WeakLifetimeScope scope)
static MCAPI ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPotionEffectTypegetOrCreatePotionEffectType (::gsl::not_null<::std::shared_ptr<::Potion const > > potion, ::Scripting::WeakLifetimeScope scope)
static MCAPI ::std::optional< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPotionDeliveryType > > getPotionDeliveryType (::Scripting::WeakLifetimeScope scope, ::std::string const &potionTypeId)
static MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPotionEffectType > > getPotionEffectType (::Scripting::WeakLifetimeScope scope, ::std::string const &potionTypeId)
static MCAPI ::Scripting::Result< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack >, ::ScriptModuleMinecraft::ScriptInvalidPotionDeliveryTypeError, ::ScriptModuleMinecraft::ScriptInvalidPotionEffectTypeError, ::Scripting::EngineErrorresolve (::Scripting::WeakLifetimeScope scope, ::std::variant< ::std::string, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPotionEffectType > > &potionEffect, ::std::variant< ::std::string, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptPotionDeliveryType > > &deliveryType)

Public Attributes

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

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