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

Public Member Functions

MCAPI ScriptItemComponents (::BaseGameVersion const &version, ::std::string const &prerelease, ::WeakRef<::ScriptModuleMinecraft::IScriptItemCustomComponentReader const > customComponentReader)
MCAPI ::std::vector<::std::string_view > getSupportedItemComponentIds (::Scripting::WeakTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack > item, bool includeCustom)
MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemComponent > > tryCreateComponent (::std::string_view componentName, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack > item, ::Scripting::WeakLifetimeScope const &scope, bool includeCustom)
MCAPI void * $ctor (::BaseGameVersion const &version, ::std::string const &prerelease, ::WeakRef<::ScriptModuleMinecraft::IScriptItemCustomComponentReader const > customComponentReader)

Static Public Member Functions

static MCAPI ::std::unordered_map<::std::string_view, ::std::shared_ptr<::ScriptModuleMinecraft::IScriptItemComponentFactory > > _getSupportedNativeItemComponents (::std::vector<::ScriptModuleMinecraft::SupportedScriptComponentFactoriesEntry > const &supportedComponentTypeNames, ::BaseGameVersion const &version, ::std::string const &prerelease)
static MCAPI void bind (::Scripting::ModuleBindingBuilder &moduleBuilder, ::ScriptModuleMinecraft::ScriptComponentTypeEnumBuilder &componentTypeEnumBuilder)

Public Attributes

::ll::TypedStorage< 8, 64, ::std::unordered_map<::std::string_view, ::std::shared_ptr<::ScriptModuleMinecraft::IScriptItemComponentFactory > > > mNativeFactories
::ll::TypedStorage< 8, 16, ::WeakRef<::ScriptModuleMinecraft::IScriptItemCustomComponentReader const > > mCustomComponentReader

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