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

ServerScriptManageroperator= (ServerScriptManager const &)
 ServerScriptManager (ServerScriptManager const &)
virtual::EventResult onEvent (::ServerInstanceRequestResourceReload const &reloadEvent)
virtual::EventResult onEvent (::LevelStartLeaveGameEvent const &levelStartLeaveGameEvent)
virtual::EventResult onServerUpdateEnd (::ServerInstance &instance)
virtual::EventResult onServerThreadStarted (::ServerInstance &instance)
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, ::std::unique_ptr<::AsyncJoinRegistrar > &&asyncJoinRegistrar)
MCAPI void _initModules (::ServerInstance &server, ::ServerLevel &serverLevel)
MCAPI void _loadPlugins (::ServerLevel &serverLevel, bool fromReload)
MCAPI void _onPreReload (::ServerInstance &serverInstance, ::ServerLevel &level, ::optional_ref<::MinecraftGameTest > optionalGameTest)
MCAPI void _runPlugins (::PluginExecutionGroup exeGroup, ::ServerInstance &serverInstance)
MCAPI void _sendScriptModuleStartupEvent (::ServerLevel &level) const
MCAPI void _sendWorldInitializeEvent (::ServerLevel &level) const
MCAPI void addModuleFilter (::std::function<::ScriptModuleFilters::FilterResult(::PackManifest const &, ::Scripting::ModuleDescriptor const &, ::Scripting::ModuleDescriptor const &, ::ScriptPluginResult &)> moduleFilter)
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, ::std::unique_ptr<::AsyncJoinRegistrar > &&asyncJoinRegistrar)
MCAPI void $dtor ()
MCAPI::EventResult $onEvent (::ServerInstanceRequestResourceReload const &reloadEvent)
MCAPI::EventResult $onEvent (::LevelStartLeaveGameEvent const &levelStartLeaveGameEvent)
MCAPI::EventResult $onServerUpdateEnd (::ServerInstance &instance)
MCAPI::EventResult $onServerThreadStarted (::ServerInstance &instance)

Static Public Member Functions

static MCAPI void _sendScriptModuleShutdownEvent (::ServerLevel &level, ::std::optional<::Scripting::WeakLifetimeScope > scope)
static MCAPI void _sendWorldInitializeEventImpl (::ServerLevel &level, ::ScriptModuleMinecraft::IScriptItemCustomComponentRegistry &itemCustomComponentRegistry, ::ScriptModuleMinecraft::ScriptBlockCustomComponentsRegistry &blockCustomComponentRegistry, ::Scripting::WeakLifetimeScope scope, bool lastEventInList)
static MCAPI void ** $vftableForEventListenerDispatcherLevelEventListener ()
static MCAPI void ** $vftableForEventListenerDispatcherServerInstanceEventListener ()

Public Attributes

::ll::TypedStorage< 8, 144, ::ServerScriptManagerEventsmScriptStateEvents
::ll::TypedStorage< 8, 752, ::ScriptSettingsmSettings
::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, ::RegisterDiagnosticsStatsTypesmRegisterDiagnosticsStatsTypes
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::IScriptTelemetryLogger > > mTelemetryLogger
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::ScriptClientDiagnosticsListener > > 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::ScriptGlobalEventListeners > > mGlobalEventListeners
::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, 8, ::std::unique_ptr<::ScriptDiagnosticsPublishToFile > > mDiagnosticsPublishToFile
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::ScriptDiagnostics > > mScriptDiagnostics
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::ScriptTickListener > > mScriptTickListener
::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<::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

Member Function Documentation

◆ $vftableForEventListenerDispatcherLevelEventListener()

MCAPI void ** ServerScriptManager::$vftableForEventListenerDispatcherLevelEventListener ( )
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.

◆ $vftableForEventListenerDispatcherServerInstanceEventListener()

MCAPI void ** ServerScriptManager::$vftableForEventListenerDispatcherServerInstanceEventListener ( )
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: