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

Public Member Functions

MCAPI ::std::unordered_map< ::std::string_view, ::std::shared_ptr<::ScriptModuleMinecraft::IScriptActorComponentFactory > > const & _getOrCreateActorComponentFactories () const
MCAPI ::std::vector<::std::string_view > getSupportedComponentIds (::WeakRef<::EntityContext > entityRef) const
MCAPI ::std::shared_ptr<::ScriptModuleMinecraft::IScriptActorComponentFactory > const & tryGetFactory (::std::string const &componentName)

Static Public Member Functions

static MCAPI void bind (::Scripting::ModuleBindingBuilder &moduleBuilder, ::Scripting::Version const &scriptingVersion, ::ScriptModuleMinecraft::ScriptComponentTypeEnumBuilder &actorComponentTypesEnum, ::std::shared_ptr<::ScriptModuleMinecraft::ScriptActorComponents > const &actorComponents)

Public Attributes

::ll::TypedStorage< 8, 64, ::std::unordered_map<::std::string_view, ::std::shared_ptr<::ScriptModuleMinecraft::IScriptActorComponentFactory > > > mNativeFactories

Member Function Documentation

◆ _getOrCreateActorComponentFactories()

MCAPI ::std::unordered_map< ::std::string_view, ::std::shared_ptr<::ScriptModuleMinecraft::IScriptActorComponentFactory > > const & ScriptModuleMinecraft::ScriptActorComponents::_getOrCreateActorComponentFactories ( ) const
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.

◆ getSupportedComponentIds()

MCAPI ::std::vector<::std::string_view > ScriptModuleMinecraft::ScriptActorComponents::getSupportedComponentIds ( ::WeakRef<::EntityContext > entityRef) const
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.

◆ tryGetFactory()

MCAPI ::std::shared_ptr<::ScriptModuleMinecraft::IScriptActorComponentFactory > const & ScriptModuleMinecraft::ScriptActorComponents::tryGetFactory ( ::std::string const & componentName)
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 void ScriptModuleMinecraft::ScriptActorComponents::bind ( ::Scripting::ModuleBindingBuilder & moduleBuilder,
::Scripting::Version const & scriptingVersion,
::ScriptModuleMinecraft::ScriptComponentTypeEnumBuilder & actorComponentTypesEnum,
::std::shared_ptr<::ScriptModuleMinecraft::ScriptActorComponents > const & actorComponents )
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: