Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ScriptModuleMinecraft::CustomCommandRegistry Class Reference
Inheritance diagram for ScriptModuleMinecraft::CustomCommandRegistry:

Classes

struct  PendingRegistrations

Public Member Functions

CustomCommandRegistry & operator= (CustomCommandRegistry const &)
 CustomCommandRegistry (CustomCommandRegistry const &)
virtual void _onScriptInitializationComplete ()
MCAPI CustomCommandRegistry (::ServerScriptManagerEvents &events, ::CommandRegistry &commandRegistry)
MCAPI ::std::optional<::ScriptModuleMinecraft::ScriptCustomCommandError > _checkNamespaceConsistency (::ScriptModuleMinecraft::CustomCommandRegistry::PendingRegistrations const &registrations, ::std::string_view const newNamespace) const
MCAPI::ScriptModuleMinecraft::CustomCommandRegistry::PendingRegistrations & _getOrCreatePendingRegistrationsForPack (::std::string const &packUUID, ::std::string_view const newNamespace)
MCAPI ::std::optional<::std::string > _tryClaimAlias (::std::string const &commandName)
MCAPI void * $ctor (::ServerScriptManagerEvents &events, ::CommandRegistry &commandRegistry)
MCAPI void $_onScriptInitializationComplete ()
virtual void _onReload ()
virtual void _onScriptModuleStartupComplete ()
MCAPI void * $ctor (::ServerScriptManagerEvents &events)
MCAPI void $dtor ()
MCAPI void $_onReload ()
MCAPI void $_onScriptModuleStartupComplete ()

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 8, ::CommandRegistry & > mCommandRegistry
::ll::TypedStorage< 8, 64, ::std::unordered_map<::std::string, ::ScriptModuleMinecraft::CustomCommandRegistry::PendingRegistrations > > mPendingRegistrationsByPack
::ll::TypedStorage< 8, 64, ::std::unordered_map<::std::string, ::std::shared_ptr<::ScriptModuleMinecraft::CommandClosureStorage > > > mRegisteredClosures
::ll::TypedStorage< 8, 24, ::std::vector<::std::unique_ptr<::std::string > > > mEnumNameStorage
::ll::TypedStorage< 8, 64, ::std::unordered_set<::std::string > > mClaimedAliases
::ll::TypedStorage< 4, 4, ::ScriptModuleMinecraft::ScriptServerState > mState
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > mPreReloadSub
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > mInitializeCompleteSub
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > mStartupCompleteSub

Constructor & Destructor Documentation

◆ CustomCommandRegistry()

MCAPI ScriptModuleMinecraft::CustomCommandRegistry::CustomCommandRegistry ( ::ServerScriptManagerEvents & events,
::CommandRegistry & commandRegistry )
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

◆ _onScriptInitializationComplete()

virtual void ScriptModuleMinecraft::CustomCommandRegistry::_onScriptInitializationComplete ( )
virtual

◆ _checkNamespaceConsistency()

MCAPI ::std::optional<::ScriptModuleMinecraft::ScriptCustomCommandError > ScriptModuleMinecraft::CustomCommandRegistry::_checkNamespaceConsistency ( ::ScriptModuleMinecraft::CustomCommandRegistry::PendingRegistrations const & registrations,
::std::string_view const newNamespace ) 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.

◆ _getOrCreatePendingRegistrationsForPack()

MCAPI::ScriptModuleMinecraft::CustomCommandRegistry::PendingRegistrations & ScriptModuleMinecraft::CustomCommandRegistry::_getOrCreatePendingRegistrationsForPack ( ::std::string const & packUUID,
::std::string_view const newNamespace )
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.

◆ _tryClaimAlias()

MCAPI ::std::optional<::std::string > ScriptModuleMinecraft::CustomCommandRegistry::_tryClaimAlias ( ::std::string const & commandName)
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() [1/2]

MCAPI void * ScriptModuleMinecraft::CustomCommandRegistry::$ctor ( ::ServerScriptManagerEvents & events,
::CommandRegistry & commandRegistry )
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::CustomCommandRegistry::$_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()

MCAPI void ** ScriptModuleMinecraft::CustomCommandRegistry::$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.

◆ $ctor() [2/2]

MCAPI void * ScriptModuleMinecraft::ScriptServerStateMonitor::$ctor ( ::ServerScriptManagerEvents & events)
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.

◆ $dtor()

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

◆ $_onReload()

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

◆ $_onScriptModuleStartupComplete()

MCAPI void ScriptModuleMinecraft::ScriptServerStateMonitor::$_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: