81 enum class RuntimeVersion :
int {
89 ::ll::TypedStorage<8, 144, ::ServerScriptManagerEvents> mScriptStateEvents;
90 ::ll::TypedStorage<8, 800, ::ScriptSettings> mSettings;
91 ::ll::TypedStorage<8, 8, ::ServerLevel&> mServerLevel;
92 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::ScriptPackSettingsCache>> mPackSettingsCache;
93 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::Scheduler>> mServerScheduler;
94 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::cereal::ReflectionCtx>> mCerealContext;
95 ::ll::TypedStorage<1, 1, ::RegisterDiagnosticsStatsTypes> mRegisterDiagnosticsStatsTypes;
96 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::IScriptTelemetryLogger>> mTelemetryLogger;
97 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::DebuggerClientDiagnosticsListener>> mClientDiagnosticsListener;
98 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::LevelEventHandlerRegistrar>> mLevelEventHandlerRegistrar;
99 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ScriptModuleMinecraft::CustomCommandRegistry>> mCustomCommandRegistry;
100 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ScriptModuleMinecraft::ScriptCustomComponentParameterCache>>
101 mCustomComponentParameterCache;
102 ::ll::TypedStorage<8, 16, ::OwnerPtr<::ScriptModuleMinecraft::ScriptBlockCustomComponentsRegistry>>
103 mBlockCustomComponentsRegistry;
104 ::ll::TypedStorage<8, 16, ::OwnerPtr<::ScriptModuleMinecraft::IScriptItemCustomComponentRegistry>>
105 mItemCustomComponentRegistry;
106 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ScriptModuleMinecraft::ScriptCustomSpawnRulesRegistry>>
107 mCustomSpawnRulesRegistry;
108 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ScriptModuleMinecraft::ScriptCustomDimensionRegistry>>
109 mCustomDimensionRegistry;
110 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ScriptModuleMinecraft::ScriptCustomWorldClockRegistry>>
111 mCustomWorldClockRegistry;
112 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ScriptModuleMinecraft::ScriptGlobalEventListeners>>
113 mGlobalEventListeners;
114 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::IScriptServerNetworkInterface>> mServerNetworkInterface;
115 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Scripting::ScriptEngine>> mScriptEngine;
116 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ScriptPluginManager>> mScriptPluginManager;
117 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ScriptAsyncJobCoordinator>> mAsyncJobCoordinator;
118 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ScriptFormPromiseTracker>> mFormPromiseTracker;
119 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ScriptDebuggerWatchdog>> mScriptDebuggerWatchdog;
120 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ScriptDebugger>> mScriptDebugger;
121 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::DebuggerDiagnostics>> mDiagnostics;
122 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::DebuggerDiagnosticsPublishToFile>> mDiagnosticsPublishToFile;
123 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::DebuggerDiagnosticsCollectors>> mScriptDiagnosticsCollectors;
124 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ScriptTickListener>> mScriptTickListener;
125 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ScriptTaskGroup>> mScriptTaskGroup;
126 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ScriptContentLogEndPoint>> mScriptContentLogEndPoint;
127 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ScriptWatchdog>> mScriptWatchdog;
128 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::AsyncJoinRegistrar>> mAsyncJoinRegistrar;
129 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::InstanceIdGenerator>> mInstanceIdGenerator;
130 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Scripting::DependencyLocator>> mDependencyLocator;
131 ::ll::TypedStorage<8, 24, ::std::vector<::std::shared_ptr<::Scripting::IRuntime>>> mSharedRuntimes;
135 ::std::vector<::std::function<::ScriptModuleFilters::FilterResult(
146 ServerScriptManager& operator=(ServerScriptManager
const&);
147 ServerScriptManager(ServerScriptManager
const&);
148 ServerScriptManager();
153 virtual ~ServerScriptManager() =
default;
167 MCAPI ServerScriptManager(
170 ::std::shared_ptr<::ScriptPackSettingsCache> packSettingsCache,
178 ::std::unique_ptr<::AsyncJoinRegistrar>&& asyncJoinRegistrar,
184 MCAPI
void _loadPlugins(
::ServerLevel& serverLevel,
bool fromReload);
186 MCAPI
void _runPlugins(::PluginExecutionGroup exeGroup,
::ServerInstance& serverInstance);
188 MCAPI
void addModuleFilter(
189 ::std::function<::ScriptModuleFilters::FilterResult(
206 ::std::shared_ptr<::ScriptPackSettingsCache> packSettingsCache,
214 ::std::unique_ptr<::AsyncJoinRegistrar>&& asyncJoinRegistrar,