77 enum class RuntimeVersion :
int {
85 ::ll::TypedStorage<8, 144, ::ServerScriptManagerEvents> mScriptStateEvents;
86 ::ll::TypedStorage<8, 752, ::ScriptSettings> mSettings;
87 ::ll::TypedStorage<8, 8, ::ServerLevel&> mServerLevel;
88 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::ScriptPackSettingsCache>> mPackSettingsCache;
89 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::Scheduler>> mServerScheduler;
90 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::cereal::ReflectionCtx>> mCerealContext;
91 ::ll::TypedStorage<1, 1, ::RegisterDiagnosticsStatsTypes> mRegisterDiagnosticsStatsTypes;
92 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::IScriptTelemetryLogger>> mTelemetryLogger;
93 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ScriptClientDiagnosticsListener>> mClientDiagnosticsListener;
94 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::LevelEventHandlerRegistrar>> mLevelEventHandlerRegistrar;
95 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ScriptModuleMinecraft::CustomCommandRegistry>> mCustomCommandRegistry;
96 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ScriptModuleMinecraft::ScriptCustomComponentParameterCache>>
97 mCustomComponentParameterCache;
98 ::ll::TypedStorage<8, 16, ::OwnerPtr<::ScriptModuleMinecraft::ScriptBlockCustomComponentsRegistry>>
99 mBlockCustomComponentsRegistry;
100 ::ll::TypedStorage<8, 16, ::OwnerPtr<::ScriptModuleMinecraft::IScriptItemCustomComponentRegistry>>
101 mItemCustomComponentRegistry;
102 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ScriptModuleMinecraft::ScriptCustomSpawnRulesRegistry>>
103 mCustomSpawnRulesRegistry;
104 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ScriptModuleMinecraft::ScriptGlobalEventListeners>>
105 mGlobalEventListeners;
106 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Scripting::ScriptEngine>> mScriptEngine;
107 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ScriptPluginManager>> mScriptPluginManager;
108 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ScriptAsyncJobCoordinator>> mAsyncJobCoordinator;
109 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ScriptFormPromiseTracker>> mFormPromiseTracker;
110 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ScriptDebuggerWatchdog>> mScriptDebuggerWatchdog;
111 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ScriptDebugger>> mScriptDebugger;
112 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ScriptDiagnosticsPublishToFile>> mDiagnosticsPublishToFile;
113 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ScriptDiagnostics>> mScriptDiagnostics;
114 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ScriptTickListener>> mScriptTickListener;
115 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ScriptContentLogEndPoint>> mScriptContentLogEndPoint;
116 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ScriptWatchdog>> mScriptWatchdog;
117 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::AsyncJoinRegistrar>> mAsyncJoinRegistrar;
118 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Scripting::DependencyLocator>> mDependencyLocator;
119 ::ll::TypedStorage<8, 24, ::std::vector<::std::shared_ptr<::Scripting::IRuntime>>> mSharedRuntimes;
123 ::std::vector<::std::function<::ScriptModuleFilters::FilterResult(
134 ServerScriptManager& operator=(ServerScriptManager
const&);
135 ServerScriptManager(ServerScriptManager
const&);
136 ServerScriptManager();
145 virtual ~ServerScriptManager() ;
155 MCAPI ServerScriptManager(
158 ::std::shared_ptr<::ScriptPackSettingsCache> packSettingsCache,
165 ::std::unique_ptr<::AsyncJoinRegistrar>&& asyncJoinRegistrar
170 MCAPI
void _loadPlugins(
::ServerLevel& serverLevel,
bool fromReload);
172 MCAPI
void _onPreReload(
178 MCAPI
void _runPlugins(::PluginExecutionGroup exeGroup,
::ServerInstance& serverInstance);
180 MCAPI
void _sendScriptModuleStartupEvent(
::ServerLevel& level)
const;
182 MCAPI
void _sendWorldInitializeEvent(
::ServerLevel& level)
const;
184 MCAPI
void addModuleFilter(
185 ::std::function<::ScriptModuleFilters::FilterResult(
198 _sendScriptModuleShutdownEvent(
::ServerLevel& level, ::std::optional<::Scripting::WeakLifetimeScope> scope);
200 MCAPI
static void _sendWorldInitializeEventImpl(
215 ::std::shared_ptr<::ScriptPackSettingsCache> packSettingsCache,
222 ::std::unique_ptr<::AsyncJoinRegistrar>&& asyncJoinRegistrar
Definition ScriptContentLogEndPoint.h:10