LeviLamina
Loading...
Searching...
No Matches
ScriptModuleMinecraft::ScriptItemCustomComponentRegistry Class Reference
+ Inheritance diagram for ScriptModuleMinecraft::ScriptItemCustomComponentRegistry:

Classes

struct  ComponentInfo
 

Public Types

enum class  State : int {
  PreInit = 0 , ScriptLoaded = 1 , Finalized = 2 , ReloadingPreInit = 3 ,
  ReloadingScriptLoaded = 4
}
 

Public Member Functions

ScriptItemCustomComponentRegistryoperator= (ScriptItemCustomComponentRegistry const &)
 
 ScriptItemCustomComponentRegistry (ScriptItemCustomComponentRegistry const &)
 
virtual ::Scripting::Result< void, ::ScriptModuleMinecraft::ScriptCustomComponentInvalidRegistryError, ::ScriptModuleMinecraft::ScriptItemCustomComponentAlreadyRegisteredError, ::ScriptModuleMinecraft::ScriptItemCustomComponentReloadVersionError, ::ScriptModuleMinecraft::ScriptItemCustomComponentReloadNewEventError, ::ScriptModuleMinecraft::ScriptItemCustomComponentReloadNewComponentErrortryRegisterComponentV1 (::HashedString const &componentName, ::ScriptModuleMinecraft::ScriptItemCustomComponentInterface &&closures)
 
virtual ::Scripting::Result< void, ::ScriptModuleMinecraft::ScriptCustomComponentInvalidRegistryError, ::ScriptModuleMinecraft::ScriptItemCustomComponentAlreadyRegisteredError, ::ScriptModuleMinecraft::ScriptItemCustomComponentReloadVersionError, ::ScriptModuleMinecraft::ScriptItemCustomComponentReloadNewEventError, ::ScriptModuleMinecraft::ScriptItemCustomComponentReloadNewComponentErrortryRegisterComponent (::HashedString const &componentName, ::ScriptModuleMinecraft::ScriptItemCustomComponentInterface &&closures)
 
virtual ::std::vector<::std::string_view > getValidComponentsForItem (::Scripting::WeakTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack > itemHandle) const
 
virtual bool isValidComponentForItem (::Scripting::WeakTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack > itemHandle, ::std::string_view componentName) const
 
virtual::ScriptDeferredEventListener & getEventListener ()
 
virtual void onReload ()
 
virtual void onScriptInitializationComplete ()
 
virtual void onScriptModuleStartupComplete ()
 
virtual void setCerealContext (::cereal::ReflectionCtx &ctx)
 
virtual void _onReload ()
 
virtual void _onScriptInitializationComplete ()
 
MCAPI ScriptItemCustomComponentRegistry (::ScriptDeferredEventCoordinator &deferredEventCoordinator, ::ItemRegistryRef itemRegistry, ::std::unique_ptr<::ScriptModuleMinecraft::IScriptItemCustomComponentSignalCollection > &&signals)
 
MCAPI void _bindComponentToCereal (::HashedString const &compName)
 
MCAPI void _subscribeItemToComponents (::Item *item, ::std::unordered_set<::HashedString > &unusedComponents)
 
MCAPI void _subscribeItemsToComponents ()
 
MCAPI ::Scripting::Result< void, ::ScriptModuleMinecraft::ScriptCustomComponentInvalidRegistryError, ::ScriptModuleMinecraft::ScriptItemCustomComponentAlreadyRegisteredError, ::ScriptModuleMinecraft::ScriptItemCustomComponentReloadVersionError, ::ScriptModuleMinecraft::ScriptItemCustomComponentReloadNewEventError, ::ScriptModuleMinecraft::ScriptItemCustomComponentReloadNewComponentError_tryRegisterComponent (::HashedString const &componentName, ::ScriptModuleMinecraft::ScriptItemCustomComponentInterface &&closures)
 
MCAPI void * $ctor (::ScriptDeferredEventCoordinator &deferredEventCoordinator, ::ItemRegistryRef itemRegistry, ::std::unique_ptr<::ScriptModuleMinecraft::IScriptItemCustomComponentSignalCollection > &&signals)
 
MCAPI void $dtor ()
 
MCAPI ::Scripting::Result< void, ::ScriptModuleMinecraft::ScriptCustomComponentInvalidRegistryError, ::ScriptModuleMinecraft::ScriptItemCustomComponentAlreadyRegisteredError, ::ScriptModuleMinecraft::ScriptItemCustomComponentReloadVersionError, ::ScriptModuleMinecraft::ScriptItemCustomComponentReloadNewEventError, ::ScriptModuleMinecraft::ScriptItemCustomComponentReloadNewComponentError$tryRegisterComponentV1 (::HashedString const &componentName, ::ScriptModuleMinecraft::ScriptItemCustomComponentInterface &&closures)
 
MCAPI ::Scripting::Result< void, ::ScriptModuleMinecraft::ScriptCustomComponentInvalidRegistryError, ::ScriptModuleMinecraft::ScriptItemCustomComponentAlreadyRegisteredError, ::ScriptModuleMinecraft::ScriptItemCustomComponentReloadVersionError, ::ScriptModuleMinecraft::ScriptItemCustomComponentReloadNewEventError, ::ScriptModuleMinecraft::ScriptItemCustomComponentReloadNewComponentError$tryRegisterComponent (::HashedString const &componentName, ::ScriptModuleMinecraft::ScriptItemCustomComponentInterface &&closures)
 
MCAPI ::std::vector<::std::string_view > $getValidComponentsForItem (::Scripting::WeakTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack > itemHandle) const
 
MCAPI bool $isValidComponentForItem (::Scripting::WeakTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack > itemHandle, ::std::string_view componentName) const
 
MCAPI::ScriptDeferredEventListener & $getEventListener ()
 
MCAPI void $onReload ()
 
MCAPI void $onScriptInitializationComplete ()
 
MCAPI void $onScriptModuleStartupComplete ()
 
MCAPI void $setCerealContext (::cereal::ReflectionCtx &ctx)
 
MCAPI void $_onReload ()
 
MCAPI void $_onScriptInitializationComplete ()
 
virtual void _onScriptModuleStartupComplete ()
 
MCAPI void $_onScriptModuleStartupComplete ()
 

Static Public Member Functions

static MCAPI void ** $vftable ()
 
static MCAPI void ** $vftableForIScriptItemCustomComponentWriter ()
 
static MCAPI void ** $vftableForIScriptItemCustomComponentReader ()
 

Public Attributes

::ll::UntypedStorage< 8, 64 > mUnk952d18
 
::ll::UntypedStorage< 8, 8 > mUnkdbb6de
 
::ll::UntypedStorage< 8, 16 > mUnk58737c
 
::ll::UntypedStorage< 8, 16 > mUnke262ca
 
::ll::UntypedStorage< 8, 8 > mUnke3cee5
 
::ll::UntypedStorage< 8, 24 > mUnkfd49fe
 
::ll::UntypedStorage< 4, 4 > mUnka41faa
 

Constructor & Destructor Documentation

◆ ScriptItemCustomComponentRegistry()

MCAPI ScriptModuleMinecraft::ScriptItemCustomComponentRegistry::ScriptItemCustomComponentRegistry ( ::ScriptDeferredEventCoordinator & deferredEventCoordinator,
::ItemRegistryRef itemRegistry,
::std::unique_ptr<::ScriptModuleMinecraft::IScriptItemCustomComponentSignalCollection > && signals )
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.

Member Function Documentation

◆ tryRegisterComponentV1()

◆ tryRegisterComponent()

◆ getValidComponentsForItem()

virtual ::std::vector<::std::string_view > ScriptModuleMinecraft::ScriptItemCustomComponentRegistry::getValidComponentsForItem ( ::Scripting::WeakTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack > itemHandle) const
virtual

◆ isValidComponentForItem()

virtual bool ScriptModuleMinecraft::ScriptItemCustomComponentRegistry::isValidComponentForItem ( ::Scripting::WeakTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack > itemHandle,
::std::string_view componentName ) const
virtual

◆ getEventListener()

virtual::ScriptDeferredEventListener & ScriptModuleMinecraft::ScriptItemCustomComponentRegistry::getEventListener ( )
virtual

◆ onReload()

virtual void ScriptModuleMinecraft::ScriptItemCustomComponentRegistry::onReload ( )
virtual

◆ onScriptInitializationComplete()

virtual void ScriptModuleMinecraft::ScriptItemCustomComponentRegistry::onScriptInitializationComplete ( )
virtual

◆ onScriptModuleStartupComplete()

virtual void ScriptModuleMinecraft::ScriptItemCustomComponentRegistry::onScriptModuleStartupComplete ( )
virtual

◆ setCerealContext()

virtual void ScriptModuleMinecraft::ScriptItemCustomComponentRegistry::setCerealContext ( ::cereal::ReflectionCtx & ctx)
virtual

◆ _onReload()

virtual void ScriptModuleMinecraft::ScriptItemCustomComponentRegistry::_onReload ( )
virtual

◆ _onScriptInitializationComplete()

virtual void ScriptModuleMinecraft::ScriptItemCustomComponentRegistry::_onScriptInitializationComplete ( )
virtual

◆ _bindComponentToCereal()

MCAPI void ScriptModuleMinecraft::ScriptItemCustomComponentRegistry::_bindComponentToCereal ( ::HashedString const & compName)
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.

◆ _subscribeItemToComponents()

MCAPI void ScriptModuleMinecraft::ScriptItemCustomComponentRegistry::_subscribeItemToComponents ( ::Item * item,
::std::unordered_set<::HashedString > & unusedComponents )
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.

◆ _subscribeItemsToComponents()

MCAPI void ScriptModuleMinecraft::ScriptItemCustomComponentRegistry::_subscribeItemsToComponents ( )
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.

◆ _tryRegisterComponent()

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.

◆ $ctor()

MCAPI void * ScriptModuleMinecraft::ScriptItemCustomComponentRegistry::$ctor ( ::ScriptDeferredEventCoordinator & deferredEventCoordinator,
::ItemRegistryRef itemRegistry,
::std::unique_ptr<::ScriptModuleMinecraft::IScriptItemCustomComponentSignalCollection > && signals )
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.

◆ $dtor()

MCAPI void ScriptModuleMinecraft::ScriptItemCustomComponentRegistry::$dtor ( )
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.

◆ $tryRegisterComponentV1()

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.

◆ $tryRegisterComponent()

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.

◆ $getValidComponentsForItem()

MCAPI ::std::vector<::std::string_view > ScriptModuleMinecraft::ScriptItemCustomComponentRegistry::$getValidComponentsForItem ( ::Scripting::WeakTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack > itemHandle) 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.

◆ $isValidComponentForItem()

MCAPI bool ScriptModuleMinecraft::ScriptItemCustomComponentRegistry::$isValidComponentForItem ( ::Scripting::WeakTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack > itemHandle,
::std::string_view componentName ) 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.

◆ $getEventListener()

MCAPI::ScriptDeferredEventListener & ScriptModuleMinecraft::ScriptItemCustomComponentRegistry::$getEventListener ( )
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.

◆ $onReload()

MCAPI void ScriptModuleMinecraft::ScriptItemCustomComponentRegistry::$onReload ( )
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.

◆ $onScriptInitializationComplete()

MCAPI void ScriptModuleMinecraft::ScriptItemCustomComponentRegistry::$onScriptInitializationComplete ( )
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.

◆ $onScriptModuleStartupComplete()

MCAPI void ScriptModuleMinecraft::ScriptItemCustomComponentRegistry::$onScriptModuleStartupComplete ( )
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.

◆ $setCerealContext()

MCAPI void ScriptModuleMinecraft::ScriptItemCustomComponentRegistry::$setCerealContext ( ::cereal::ReflectionCtx & ctx)
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.

◆ $_onReload()

MCAPI void ScriptModuleMinecraft::ScriptItemCustomComponentRegistry::$_onReload ( )
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.

◆ $_onScriptInitializationComplete()

MCAPI void ScriptModuleMinecraft::ScriptItemCustomComponentRegistry::$_onScriptInitializationComplete ( )
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.

◆ $vftable()

static MCAPI void ** ScriptModuleMinecraft::ScriptItemCustomComponentRegistry::$vftable ( )
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.

◆ $vftableForIScriptItemCustomComponentWriter()

static MCAPI void ** ScriptModuleMinecraft::ScriptItemCustomComponentRegistry::$vftableForIScriptItemCustomComponentWriter ( )
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.

◆ $vftableForIScriptItemCustomComponentReader()

static MCAPI void ** ScriptModuleMinecraft::ScriptItemCustomComponentRegistry::$vftableForIScriptItemCustomComponentReader ( )
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.

◆ $_onScriptModuleStartupComplete()

MCAPI void ScriptModuleMinecraft::ScriptCustomComponentRegistry::$_onScriptModuleStartupComplete ( )
inherited
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: