51 enum class StartResult :
int {
55 MissingDependency = 3,
57 DocumentationGenerationError = 5,
63 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::Minecraft>> mMinecraft;
64 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::Core::FileSystem>> mFileSystem;
65 ::ll::TypedStorage<8, 16, ::Bedrock::UniqueOwnerPointer<::ServerInstanceEventCoordinator>>
66 mServerInstanceEventCoordinator;
67 ::ll::TypedStorage<1, 1, ::std::atomic<bool>> mWantsToQuit;
68 ::ll::TypedStorage<4, 4, ::std::atomic<::DedicatedServer::StartResult>> mResult;
69 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ConsoleInputReader>> mConsoleInputReader;
70 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::IGameModuleShared>> mGameModule;
71 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::AppConfigs>> mAppConfig;
72 ::ll::TypedStorage<8, 8, ::ServiceRegistrationToken<::AppConfigs>> mAppConfigServiceRegistrationToken;
73 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::Bedrock::Http::DispatcherProcess>> mHttpDispatcher;
74 ::ll::TypedStorage<8, 8, ::ServiceRegistrationToken<::Bedrock::Http::DispatcherInterface>>
75 mHttpDispatcherServiceRegistrationToken;
76 ::ll::TypedStorage<8, 32, ::std::string> mSessionID;
77 ::ll::TypedStorage<8, 64, ::Bedrock::ScopeExit> mOnDestructioncloseAndResetAllLogs;
78 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::LevelDbEnv>> mLevelDbEnv;
79 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::CodeBuilder::IManager>> mCodeBuilder;
80 ::ll::TypedStorage<8, 8, ::ServiceRegistrationToken<::CodeBuilder::IManager>> mCodeBuilderRegistrationToken;
81 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ImguiProfiler>> mImguiProfiler;
82 ::ll::TypedStorage<8, 8, ::ServiceRegistrationToken<::ImguiProfiler>> mImguiProfilerRegistrationToken;
83 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::FileArchiver>> mFileArchiver;
84 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::EditorBootstrapper>> mEditorBootstrapper;
85 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::CDNConfig>> mCDNConfig;
86 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ServerTextSettings>> mServerTextSettings;
87 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::SignalingService>> mSignalingService;
88 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::SignalingServiceSignInJob>> mSignalingServiceSignInJob;
89 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::Bedrock::Services::DiscoveryHelper>> mDiscoveryServiceHelper;
90 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::Bedrock::Services::AuthHelper>> mAuthServiceHelper;
91 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::IEDUSystems>> mEduSystems;
97 virtual ~DedicatedServer() ;
101 virtual ::Bedrock::NotNullNonOwnerPtr<::FileArchiver> getFileArchiver()
const ;
103 virtual ::Bedrock::NotNullNonOwnerPtr<::Minecraft> getPrimaryMinecraft() ;
105 virtual ::Bedrock::NotNullNonOwnerPtr<::Automation::AutomationClient> getAutomationClient()
const ;
107 virtual bool isEduMode()
const ;
109 virtual bool isDedicatedServer()
const ;
111 virtual void onNetworkMaxPlayersChanged(uint newMaxPlayerCount) ;
113 virtual ::IGameModuleShared& getGameModuleShared() ;
115 virtual void requestServerShutdown() ;
117 virtual bool requestInGamePause(::SubClientId
const&,
bool) ;
123 MCAPI DedicatedServer();
125 MCAPI
void initializeAppConfigs();
127 MCAPI
void initializeCodeBuilder();
135 MCAPI
void initializeServices(
136 ::Bedrock::NotNullNonOwnerPtr<::IMinecraftEventing> minecraftEventing,
140 MCAPI ::DedicatedServer::StartResult runDedicatedServerLoop(
145 ::std::unique_ptr<::PermissionsFile>& permissionsFile,
146 ::std::optional<::PacketGroupDefinition::PacketGroupBuilder> packetGroupBuilder,
151 MCAPI
void shutdownServices();
153 MCAPI ::DedicatedServer::StartResult
174 MCAPI ::Bedrock::NotNullNonOwnerPtr<::FileArchiver> $getFileArchiver()
const;
176 MCAPI ::Bedrock::NotNullNonOwnerPtr<::Minecraft> $getPrimaryMinecraft();
178 MCAPI ::Bedrock::NotNullNonOwnerPtr<::Automation::AutomationClient> $getAutomationClient()
const;
180 MCAPI
bool $isEduMode()
const;
182 MCFOLD
bool $isDedicatedServer()
const;
184 MCFOLD
void $onNetworkMaxPlayersChanged(uint newMaxPlayerCount);
186 MCFOLD ::IGameModuleShared& $getGameModuleShared();
188 MCAPI
void $requestServerShutdown();
190 MCFOLD
bool $requestInGamePause(::SubClientId
const&,
bool);
Definition ServerTextSettings.h:8