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

Classes

struct  ComponentInfo

Public Member Functions

ScriptItemCustomComponentRegistry & operator= (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 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptCustomComponentParameters > const & tryGetCustomComponentParametersForItem (::Scripting::WeakTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack > itemHandle, ::std::string_view componentName, ::Scripting::WeakLifetimeScope const &scope) const
virtual::ScriptDeferredEventListener & getEventListener ()
virtual void setCerealContext (::cereal::ReflectionCtx &ctx)
virtual void _onReload ()
virtual void _onScriptInitializationComplete ()
MCAPI ScriptItemCustomComponentRegistry (::ServerScriptManagerEvents &events, ::ScriptDeferredEventCoordinator &deferredEventCoordinator, ::ItemRegistryRef itemRegistry, ::std::unique_ptr<::ScriptModuleMinecraft::IScriptItemCustomComponentSignalCollection > &&signals, ::ScriptModuleMinecraft::ScriptCustomComponentParameterCache &parameterCache)
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 (::ServerScriptManagerEvents &events, ::ScriptDeferredEventCoordinator &deferredEventCoordinator, ::ItemRegistryRef itemRegistry, ::std::unique_ptr<::ScriptModuleMinecraft::IScriptItemCustomComponentSignalCollection > &&signals, ::ScriptModuleMinecraft::ScriptCustomComponentParameterCache &parameterCache)
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 ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptCustomComponentParameters > const & $tryGetCustomComponentParametersForItem (::Scripting::WeakTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack > itemHandle, ::std::string_view componentName, ::Scripting::WeakLifetimeScope const &scope) const
MCFOLD::ScriptDeferredEventListener & $getEventListener ()
MCAPI void $setCerealContext (::cereal::ReflectionCtx &ctx)
MCAPI void $_onReload ()
MCAPI void $_onScriptInitializationComplete ()
virtual void _onScriptModuleStartupComplete ()
MCAPI void * $ctor (::ServerScriptManagerEvents &events)
MCFOLD void $_onScriptModuleStartupComplete ()

Static Public Member Functions

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

Public Attributes

::ll::TypedStorage< 8, 64, ::std::unordered_map<::HashedString, ::ScriptModuleMinecraft::ScriptItemCustomComponentRegistry::ComponentInfo > > mKnownComponents
::ll::TypedStorage< 8, 8, ::ScriptDeferredEventCoordinator & > mDeferredEventCoordinator
::ll::TypedStorage< 8, 16, ::ItemRegistryRef const > mItemRegistry
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::SubscriptionmItemRegistryInitSubscription
::ll::TypedStorage< 8, 8, ::ScriptModuleMinecraft::ScriptCustomComponentParameterCache & > mParameterCache
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::ScriptModuleMinecraft::IScriptItemCustomComponentSignalCollection > > mSignals
::ll::TypedStorage< 8, 24, ::Bedrock::NonOwnerPointer<::cereal::ReflectionCtx > > mCerealContext
::ll::TypedStorage< 4, 4, ::ScriptModuleMinecraft::ScriptServerState > mState
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::SubscriptionmPreReloadSub
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::SubscriptionmInitializeCompleteSub
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::SubscriptionmStartupCompleteSub

Member Function Documentation

◆ tryRegisterComponentV1()

◆ tryRegisterComponent()

◆ getValidComponentsForItem()

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

◆ tryGetCustomComponentParametersForItem()

virtual ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptCustomComponentParameters > const & ScriptModuleMinecraft::ScriptItemCustomComponentRegistry::tryGetCustomComponentParametersForItem ( ::Scripting::WeakTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack > itemHandle,
::std::string_view componentName,
::Scripting::WeakLifetimeScope const & scope ) const
virtual

◆ getEventListener()

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

◆ $vftableForIScriptItemCustomComponentWriter()

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()

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.

◆ $vftableForScriptCustomComponentRegistry()

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

◆ $vftable() [1/3]

MCAPI void ** ScriptModuleMinecraft::IScriptItemCustomComponentReader::$vftable ( )
staticinherited
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() [2/3]

MCAPI void ** ScriptModuleMinecraft::IScriptItemCustomComponentWriter::$vftable ( )
staticinherited
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() [3/3]

MCAPI void ** ScriptModuleMinecraft::ScriptServerStateMonitor::$vftable ( )
staticinherited
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: