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

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, ::Bedrock::NonOwnerPointer<::Scheduler > serverScheduler, ::MinecraftCommands &commands, ::IMinecraftEventing &minecraftEventings, ::ItemRegistryRef itemRegistry, ::ServerInstance &server, ::Scripting::RegistryManager &registry)
 
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 * $ctor (::ScriptSettings &&settings, ::ServerLevel &serverLevel, ::Bedrock::NonOwnerPointer<::Scheduler > serverScheduler, ::MinecraftCommands &commands, ::IMinecraftEventing &minecraftEventings, ::ItemRegistryRef itemRegistry, ::ServerInstance &server, ::Scripting::RegistryManager &registry)
 
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 _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, 704, ::ScriptSettingsmSettings
 
::ll::TypedStorage< 8, 8, ::ServerLevel & > mServerLevel
 
::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, 16, ::OwnerPtr<::ScriptModuleMinecraft::ScriptBlockCustomComponentsRegistry > > mBlockCustomComponentsRegistry
 
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::ScriptModuleMinecraft::IScriptItemCustomComponentRegistry > > mItemCustomComponentRegistry
 
::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<::Scripting::DependencyLocator > > mDependencyLocator
 
::ll::TypedStorage< 8, 24, ::std::vector<::std::shared_ptr<::Scripting::IRuntime > > > mSharedRuntimes
 
::ll::TypedStorage< 8, 24, ::std::vector<::std::function< bool(::PackManifest const &, ::Scripting::ModuleDescriptor const &, ::Scripting::ModuleDescriptor const &, ::ScriptPluginResult &)> > > mModuleFilters
 

The documentation for this class was generated from the following file: