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

Public Member Functions

MCAPI ScriptItemComponents (::WeakRef<::ScriptModuleMinecraft::IScriptItemCustomComponentReader const > customComponentReader)
MCAPI ::std::unordered_map< ::std::string_view, ::std::shared_ptr<::ScriptModuleMinecraft::IScriptItemComponentFactory > > const & _getOrCreateNativeItemComponentFactories () const
MCAPI void bind (::Scripting::ModuleBindingBuilder &moduleBuilder, ::Scripting::Version const &scriptingVersion, ::ScriptModuleMinecraft::ScriptComponentTypeEnumBuilder &componentTypeEnumBuilder)
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 ::std::shared_ptr<::ScriptModuleMinecraft::IScriptItemComponentFactory > const & tryGetFactory (::std::string_view componentName)
MCFOLD void * $ctor (::WeakRef<::ScriptModuleMinecraft::IScriptItemCustomComponentReader const > customComponentReader)

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: