51 enum class StartResult :
int {
55 MissingDependency = 3,
62 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::Minecraft>> mMinecraft;
63 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::Core::FileSystem>> mFileSystem;
64 ::ll::TypedStorage<8, 16, ::Bedrock::UniqueOwnerPointer<::ServerInstanceEventCoordinator>>
65 mServerInstanceEventCoordinator;
66 ::ll::TypedStorage<1, 1, ::std::atomic<bool>> mWantsToQuit;
67 ::ll::TypedStorage<4, 4, ::std::atomic<::DedicatedServer::StartResult>> mResult;
68 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ConsoleInputReader>> mConsoleInputReader;
69 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::IGameModuleShared>> mGameModule;
70 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::AppConfigs>> mAppConfig;
71 ::ll::TypedStorage<8, 8, ::ServiceRegistrationToken<::AppConfigs>> mAppConfigServiceRegistrationToken;
72 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::Bedrock::Http::DispatcherProcess>> mHttpDispatcher;
73 ::ll::TypedStorage<8, 8, ::ServiceRegistrationToken<::Bedrock::Http::DispatcherInterface>>
74 mHttpDispatcherServiceRegistrationToken;
75 ::ll::TypedStorage<8, 32, ::std::string> mSessionID;
76 ::ll::TypedStorage<8, 64, ::Bedrock::ScopeExit> mOnDestructioncloseAndResetAllLogs;
77 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::LevelDbEnv>> mLevelDbEnv;
78 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::CodeBuilder::IManager>> mCodeBuilder;
79 ::ll::TypedStorage<8, 8, ::ServiceRegistrationToken<::CodeBuilder::IManager>> mCodeBuilderRegistrationToken;
80 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ImguiProfiler>> mImguiProfiler;
81 ::ll::TypedStorage<8, 8, ::ServiceRegistrationToken<::ImguiProfiler>> mImguiProfilerRegistrationToken;
82 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::FileArchiver>> mFileArchiver;
83 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::EditorBootstrapper>> mEditorBootstrapper;
84 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::CDNConfig>> mCDNConfig;
85 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ServerTextSettings>> mServerTextSettings;
86 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::SignalingService>> mSignalingService;
87 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::SignalingServiceSignInJob>> mSignalingServiceSignInJob;
88 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::Bedrock::Services::DiscoveryHelper>> mDiscoveryServiceHelper;
89 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::Bedrock::Services::AuthHelper>> mAuthServiceHelper;
90 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::IEDUSystems>> mEduSystems;
100 virtual bool stop() ;
103 virtual ::Bedrock::NotNullNonOwnerPtr<::FileArchiver> getFileArchiver()
const ;
106 virtual ::Bedrock::NotNullNonOwnerPtr<::Minecraft> getPrimaryMinecraft() ;
109 virtual ::Bedrock::NotNullNonOwnerPtr<::Automation::AutomationClient> getAutomationClient()
const ;
112 virtual bool isEduMode()
const ;
115 virtual bool isDedicatedServer()
const ;
118 virtual void onNetworkMaxPlayersChanged(uint newMaxPlayerCount) ;
121 virtual ::IGameModuleShared& getGameModuleShared() ;
124 virtual void requestServerShutdown(::std::string
const&) ;
127 virtual bool requestInGamePause(::SubClientId
const&,
bool) ;
135 MCAPI
void initializeAppConfigs();
137 MCAPI
void initializeCodeBuilder();
141 MCAPI
void initializeImguiProfiler();
145 MCAPI ::std::future<bool> initializeMultiplayerKeys(
151 MCAPI
void initializeServices(
152 ::Bedrock::NotNullNonOwnerPtr<::IMinecraftEventing> minecraftEventing,
156 MCAPI ::DedicatedServer::StartResult runDedicatedServerLoop(
161 ::std::unique_ptr<::PermissionsFile>& permissionsFile,
162 ::std::optional<::PacketGroupDefinition::PacketGroupBuilder> packetGroupBuilder,
167 MCAPI
void shutdownServices();
169 MCAPI ::DedicatedServer::StartResult
190 MCAPI ::Bedrock::NotNullNonOwnerPtr<::FileArchiver> $getFileArchiver()
const;
192 MCAPI ::Bedrock::NotNullNonOwnerPtr<::Minecraft> $getPrimaryMinecraft();
194 MCAPI ::Bedrock::NotNullNonOwnerPtr<::Automation::AutomationClient> $getAutomationClient()
const;
196 MCAPI
bool $isEduMode()
const;
198 MCFOLD
bool $isDedicatedServer()
const;
200 MCFOLD
void $onNetworkMaxPlayersChanged(uint newMaxPlayerCount);
202 MCFOLD ::IGameModuleShared& $getGameModuleShared();
204 MCAPI
void $requestServerShutdown(::std::string
const&);
206 MCFOLD
bool $requestInGamePause(::SubClientId
const&,
bool);
Definition ServerTextSettings.h:8