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

Public Types

enum class  RuntimeVersion : int { V1 = 1 , V2 = 2 }

Public Member Functions

ServerScriptManager & operator= (ServerScriptManager const &)
 ServerScriptManager (ServerScriptManager const &)
virtual::EventResult onServerUpdateEnd (::ServerInstance &instance)
virtual::EventResult onServerThreadStarted (::ServerInstance &instance)
virtual::EventResult onEvent (::ServerInstanceRequestResourceReload const &reloadEvent)
virtual::EventResult onEvent (::LevelStartLeaveGameEvent const &levelStartLeaveGameEvent)
MCAPI ServerScriptManager (::ScriptSettings &&settings, ::ServerLevel &serverLevel, ::std::shared_ptr<::ScriptPackSettingsCache > packSettingsCache, ::Bedrock::NonOwnerPointer<::Scheduler > serverScheduler, ::MinecraftCommands &commands, ::IMinecraftEventing &eventing, ::ItemRegistryRef itemRegistry, ::ServerInstance &server, ::Scripting::RegistryManager &registry, ::Bedrock::NonOwnerPointer<::LocalProfilerControlBroker > localProfilerControlBroker, ::std::unique_ptr<::AsyncJoinRegistrar > &&asyncJoinRegistrar, ::Bedrock::NonOwnerPointer<::DebuggerDiagnostics > diagnostics)
MCAPI void _checkForSystemPackErrors (::ScriptPluginManagerResult const &result)
MCAPI void _loadPlugins (::ServerLevel &serverLevel, bool fromReload)
MCAPI void _runPlugins (::PluginExecutionGroup exeGroup, ::ServerInstance &serverInstance)
MCAPI void addModuleFilter (::std::function<::ScriptModuleFilters::FilterResult(::PackManifest const &, ::Scripting::ModuleDescriptor const &, ::Scripting::ModuleDescriptor const &, ::ScriptPluginResult &)> moduleFilter)
MCAPI void setBlockCustomComponentCerealContext (::cereal::ReflectionCtx &ctx)
MCAPI void * $ctor (::ScriptSettings &&settings, ::ServerLevel &serverLevel, ::std::shared_ptr<::ScriptPackSettingsCache > packSettingsCache, ::Bedrock::NonOwnerPointer<::Scheduler > serverScheduler, ::MinecraftCommands &commands, ::IMinecraftEventing &eventing, ::ItemRegistryRef itemRegistry, ::ServerInstance &server, ::Scripting::RegistryManager &registry, ::Bedrock::NonOwnerPointer<::LocalProfilerControlBroker > localProfilerControlBroker, ::std::unique_ptr<::AsyncJoinRegistrar > &&asyncJoinRegistrar, ::Bedrock::NonOwnerPointer<::DebuggerDiagnostics > diagnostics)
MCAPI::EventResult $onServerUpdateEnd (::ServerInstance &instance)
MCAPI::EventResult $onServerThreadStarted (::ServerInstance &instance)
MCAPI::EventResult $onEvent (::ServerInstanceRequestResourceReload const &reloadEvent)
MCAPI::EventResult $onEvent (::LevelStartLeaveGameEvent const &levelStartLeaveGameEvent)

Public Attributes

::ll::TypedStorage< 8, 144, ::ServerScriptManagerEvents > mScriptStateEvents
::ll::TypedStorage< 8, 800, ::ScriptSettings > mSettings
::ll::TypedStorage< 8, 8, ::ServerLevel & > mServerLevel
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::ScriptPackSettingsCache > > mPackSettingsCache
::ll::TypedStorage< 8, 24, ::Bedrock::NonOwnerPointer<::Scheduler > > mServerScheduler
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::cereal::ReflectionCtx > > mCerealContext
::ll::TypedStorage< 1, 1, ::RegisterDiagnosticsStatsTypes > mRegisterDiagnosticsStatsTypes
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::IScriptTelemetryLogger > > mTelemetryLogger
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::DebuggerClientDiagnosticsListener > > mClientDiagnosticsListener
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::LevelEventHandlerRegistrar > > mLevelEventHandlerRegistrar
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::ScriptModuleMinecraft::CustomCommandRegistry > > mCustomCommandRegistry
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::ScriptModuleMinecraft::ScriptCustomComponentParameterCache > > mCustomComponentParameterCache
::ll::TypedStorage< 8, 16, ::OwnerPtr<::ScriptModuleMinecraft::ScriptBlockCustomComponentsRegistry > > mBlockCustomComponentsRegistry
::ll::TypedStorage< 8, 16, ::OwnerPtr<::ScriptModuleMinecraft::IScriptItemCustomComponentRegistry > > mItemCustomComponentRegistry
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::ScriptModuleMinecraft::ScriptCustomSpawnRulesRegistry > > mCustomSpawnRulesRegistry
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::ScriptModuleMinecraft::ScriptCustomDimensionRegistry > > mCustomDimensionRegistry
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::ScriptModuleMinecraft::ScriptCustomWorldClockRegistry > > mCustomWorldClockRegistry
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::ScriptModuleMinecraft::ScriptGlobalEventListeners > > mGlobalEventListeners
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::IScriptServerNetworkInterface > > mServerNetworkInterface
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::Scripting::ScriptEngine > > mScriptEngine
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::ScriptPluginManager > > mScriptPluginManager
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::ScriptAsyncJobCoordinator > > mAsyncJobCoordinator
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::ScriptFormPromiseTracker > > mFormPromiseTracker
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::ScriptDebuggerWatchdog > > mScriptDebuggerWatchdog
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::ScriptDebugger > > mScriptDebugger
::ll::TypedStorage< 8, 24, ::Bedrock::NonOwnerPointer<::DebuggerDiagnostics > > mDiagnostics
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::DebuggerDiagnosticsPublishToFile > > mDiagnosticsPublishToFile
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::DebuggerDiagnosticsCollectors > > mScriptDiagnosticsCollectors
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::ScriptTickListener > > mScriptTickListener
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::ScriptTaskGroup > > mScriptTaskGroup
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::ScriptContentLogEndPoint > > mScriptContentLogEndPoint
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::ScriptWatchdog > > mScriptWatchdog
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::AsyncJoinRegistrar > > mAsyncJoinRegistrar
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::InstanceIdGenerator > > mInstanceIdGenerator
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::Scripting::DependencyLocator > > mDependencyLocator
::ll::TypedStorage< 8, 24, ::std::vector<::std::shared_ptr<::Scripting::IRuntime > > > mSharedRuntimes
::ll::TypedStorage< 8, 24, ::std::vector<::std::function<::ScriptModuleFilters::FilterResult(::PackManifest const &, ::Scripting::ModuleDescriptor const &, ::Scripting::ModuleDescriptor const &, ::ScriptPluginResult &)> > > mModuleFilters

Constructor & Destructor Documentation

◆ ServerScriptManager()

MCAPI ServerScriptManager::ServerScriptManager ( ::ScriptSettings && settings,
::ServerLevel & serverLevel,
::std::shared_ptr<::ScriptPackSettingsCache > packSettingsCache,
::Bedrock::NonOwnerPointer<::Scheduler > serverScheduler,
::MinecraftCommands & commands,
::IMinecraftEventing & eventing,
::ItemRegistryRef itemRegistry,
::ServerInstance & server,
::Scripting::RegistryManager & registry,
::Bedrock::NonOwnerPointer<::LocalProfilerControlBroker > localProfilerControlBroker,
::std::unique_ptr<::AsyncJoinRegistrar > && asyncJoinRegistrar,
::Bedrock::NonOwnerPointer<::DebuggerDiagnostics > diagnostics )
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

◆ _checkForSystemPackErrors()

MCAPI void ServerScriptManager::_checkForSystemPackErrors ( ::ScriptPluginManagerResult const & result)
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.

◆ _loadPlugins()

MCAPI void ServerScriptManager::_loadPlugins ( ::ServerLevel & serverLevel,
bool fromReload )
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.

◆ _runPlugins()

MCAPI void ServerScriptManager::_runPlugins ( ::PluginExecutionGroup exeGroup,
::ServerInstance & serverInstance )
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.

◆ addModuleFilter()

MCAPI void ServerScriptManager::addModuleFilter ( ::std::function<::ScriptModuleFilters::FilterResult(::PackManifest const &, ::Scripting::ModuleDescriptor const &, ::Scripting::ModuleDescriptor const &, ::ScriptPluginResult &)> moduleFilter)
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.

◆ setBlockCustomComponentCerealContext()

MCAPI void ServerScriptManager::setBlockCustomComponentCerealContext ( ::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.

◆ $ctor()

MCAPI void * ServerScriptManager::$ctor ( ::ScriptSettings && settings,
::ServerLevel & serverLevel,
::std::shared_ptr<::ScriptPackSettingsCache > packSettingsCache,
::Bedrock::NonOwnerPointer<::Scheduler > serverScheduler,
::MinecraftCommands & commands,
::IMinecraftEventing & eventing,
::ItemRegistryRef itemRegistry,
::ServerInstance & server,
::Scripting::RegistryManager & registry,
::Bedrock::NonOwnerPointer<::LocalProfilerControlBroker > localProfilerControlBroker,
::std::unique_ptr<::AsyncJoinRegistrar > && asyncJoinRegistrar,
::Bedrock::NonOwnerPointer<::DebuggerDiagnostics > diagnostics )
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.

◆ $onServerUpdateEnd()

MCAPI::EventResult ServerScriptManager::$onServerUpdateEnd ( ::ServerInstance & instance)
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.

◆ $onEvent() [1/2]

MCAPI::EventResult ServerScriptManager::$onEvent ( ::ServerInstanceRequestResourceReload const & reloadEvent)
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.

◆ $onEvent() [2/2]

MCAPI::EventResult ServerScriptManager::$onEvent ( ::LevelStartLeaveGameEvent const & levelStartLeaveGameEvent)
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: