LeviLamina
Loading...
Searching...
No Matches
DedicatedServer Class Reference
+ Inheritance diagram for DedicatedServer:

Public Types

enum class  StartResult : int {
  Success = 0 , PortOccupied = 1 , InvalidSettings = 2 , MissingDependency = 3 ,
  RuntimeError = 4
}
 

Public Member Functions

virtual bool stop ()
 
virtual ::Bedrock::NotNullNonOwnerPtr<::FileArchivergetFileArchiver () const
 
virtual ::Bedrock::NotNullNonOwnerPtr<::MinecraftgetPrimaryMinecraft ()
 
virtual ::Bedrock::NotNullNonOwnerPtr<::Automation::AutomationClientgetAutomationClient () const
 
virtual bool isEduMode () const
 
virtual bool isDedicatedServer () const
 
virtual void onNetworkMaxPlayersChanged (uint newMaxPlayerCount)
 
virtual::IGameModuleShared & getGameModuleShared ()
 
virtual void requestServerShutdown (::std::string const &)
 
virtual bool requestInGamePause (::SubClientId const &, bool)
 
MCAPI void initializeAppConfigs ()
 
MCAPI void initializeCodeBuilder ()
 
MCAPI void initializeHttp (::PropertiesSettings const &properties)
 
MCAPI void initializeImguiProfiler ()
 
MCAPI void initializeLogging (::TestConfig &testConfig)
 
MCAPI ::std::future< bool > initializeMultiplayerKeys (::Minecraft &minecraft, ::Bedrock::NonOwnerPointer<::Bedrock::Services::DiscoveryHelper > discovery, ::PropertiesSettings const &properties)
 
MCAPI void initializeServices (::Bedrock::NotNullNonOwnerPtr<::IMinecraftEventing > minecraftEventing, ::PropertiesSettings &properties)
 
MCAPI::DedicatedServer::StartResult runDedicatedServerLoop (::Core::FilePathManager &filePathManager, ::PropertiesSettings &properties, ::LevelSettings &settings, ::AllowListFile &userAllowList, ::std::unique_ptr<::PermissionsFile > &permissionsFile, ::std::optional<::PacketGroupDefinition::PacketGroupBuilder > packetGroupBuilder, ::Bedrock::ActivationArguments const &args, ::TestConfig &testConfig)
 
MCAPI void shutdownServices ()
 
MCAPI::DedicatedServer::StartResult start (::std::string const &sessionID, ::Bedrock::ActivationArguments const &args)
 
MCAPI void * $ctor ()
 
MCAPI void $dtor ()
 
MCAPI bool $stop ()
 
MCAPI ::Bedrock::NotNullNonOwnerPtr<::FileArchiver$getFileArchiver () const
 
MCAPI ::Bedrock::NotNullNonOwnerPtr<::Minecraft$getPrimaryMinecraft ()
 
MCAPI ::Bedrock::NotNullNonOwnerPtr<::Automation::AutomationClient$getAutomationClient () const
 
MCAPI bool $isEduMode () const
 
MCFOLD bool $isDedicatedServer () const
 
MCFOLD void $onNetworkMaxPlayersChanged (uint newMaxPlayerCount)
 
MCFOLD::IGameModuleShared & $getGameModuleShared ()
 
MCAPI void $requestServerShutdown (::std::string const &)
 
MCFOLD bool $requestInGamePause (::SubClientId const &, bool)
 
virtual ushort getId ()
 
virtual bool start ()
 
virtual bool suspend ()
 
virtual bool resume ()
 
virtual void mainUpdate ()
 
virtual void processActivationArguments (::Bedrock::ActivationArguments const &args)
 
MCAPI ushort $getId ()
 
MCAPI bool $start ()
 
MCAPI bool $suspend ()
 
MCAPI bool $resume ()
 
MCAPI void $mainUpdate ()
 
MCAPI void $processActivationArguments (::Bedrock::ActivationArguments const &args)
 

Static Public Member Functions

static MCAPI void ** $vftableForAppIsland ()
 
static MCAPI void ** $vftableForIMinecraftApp ()
 
static MCAPI void ** $vftable ()
 
static MCAPI void ** $vftable ()
 

Public Attributes

::ll::TypedStorage< 8, 24, ::Bedrock::NonOwnerPointer<::Minecraft > > mMinecraft
 
::ll::TypedStorage< 8, 24, ::Bedrock::NonOwnerPointer<::Core::FileSystem > > mFileSystem
 
::ll::TypedStorage< 8, 16, ::Bedrock::UniqueOwnerPointer<::ServerInstanceEventCoordinator > > mServerInstanceEventCoordinator
 
::ll::TypedStorage< 1, 1, ::std::atomic< bool > > mWantsToQuit
 
::ll::TypedStorage< 4, 4, ::std::atomic<::DedicatedServer::StartResult > > mResult
 
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::ConsoleInputReader > > mConsoleInputReader
 
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::IGameModuleShared > > mGameModule
 
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::AppConfigs > > mAppConfig
 
::ll::TypedStorage< 8, 8, ::ServiceRegistrationToken<::AppConfigs > > mAppConfigServiceRegistrationToken
 
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::Bedrock::Http::DispatcherProcess > > mHttpDispatcher
 
::ll::TypedStorage< 8, 8, ::ServiceRegistrationToken<::Bedrock::Http::DispatcherInterface > > mHttpDispatcherServiceRegistrationToken
 
::ll::TypedStorage< 8, 32, ::std::string > mSessionID
 
::ll::TypedStorage< 8, 64, ::Bedrock::ScopeExitmOnDestructioncloseAndResetAllLogs
 
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::LevelDbEnv > > mLevelDbEnv
 
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::CodeBuilder::IManager > > mCodeBuilder
 
::ll::TypedStorage< 8, 8, ::ServiceRegistrationToken<::CodeBuilder::IManager > > mCodeBuilderRegistrationToken
 
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::ImguiProfiler > > mImguiProfiler
 
::ll::TypedStorage< 8, 8, ::ServiceRegistrationToken<::ImguiProfiler > > mImguiProfilerRegistrationToken
 
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::FileArchiver > > mFileArchiver
 
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::EditorBootstrapper > > mEditorBootstrapper
 
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::CDNConfig > > mCDNConfig
 
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::ServerTextSettings > > mServerTextSettings
 
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::SignalingService > > mSignalingService
 
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::SignalingServiceSignInJob > > mSignalingServiceSignInJob
 
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::Bedrock::Services::DiscoveryHelper > > mDiscoveryServiceHelper
 
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::Bedrock::Services::AuthHelper > > mAuthServiceHelper
 
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::IEDUSystems > > mEduSystems
 
::ll::UntypedStorage< 8, 8 > mUnk5bfdb3
 

Member Function Documentation

◆ stop()

virtual bool DedicatedServer::stop ( )
virtual

Reimplemented from Bedrock::AppIsland.

◆ getFileArchiver()

virtual ::Bedrock::NotNullNonOwnerPtr<::FileArchiver > DedicatedServer::getFileArchiver ( ) const
virtual

Implements IMinecraftApp.

◆ getPrimaryMinecraft()

virtual ::Bedrock::NotNullNonOwnerPtr<::Minecraft > DedicatedServer::getPrimaryMinecraft ( )
virtual

Implements IMinecraftApp.

◆ getAutomationClient()

virtual ::Bedrock::NotNullNonOwnerPtr<::Automation::AutomationClient > DedicatedServer::getAutomationClient ( ) const
virtual

Implements IMinecraftApp.

◆ isEduMode()

virtual bool DedicatedServer::isEduMode ( ) const
virtual

Implements IMinecraftApp.

◆ isDedicatedServer()

virtual bool DedicatedServer::isDedicatedServer ( ) const
virtual

Implements IMinecraftApp.

◆ onNetworkMaxPlayersChanged()

virtual void DedicatedServer::onNetworkMaxPlayersChanged ( uint newMaxPlayerCount)
virtual

Implements IMinecraftApp.

◆ getGameModuleShared()

virtual::IGameModuleShared & DedicatedServer::getGameModuleShared ( )
virtual

Implements IMinecraftApp.

◆ requestServerShutdown()

virtual void DedicatedServer::requestServerShutdown ( ::std::string const & )
virtual

Implements IMinecraftApp.

◆ requestInGamePause()

virtual bool DedicatedServer::requestInGamePause ( ::SubClientId const & ,
bool  )
virtual

Implements IMinecraftApp.

◆ $vftableForAppIsland()

static MCAPI void ** DedicatedServer::$vftableForAppIsland ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $vftableForIMinecraftApp()

static MCAPI void ** DedicatedServer::$vftableForIMinecraftApp ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $vftable() [1/2]

static MCAPI void ** IMinecraftApp::$vftable ( )
staticinherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getId()

virtual ushort Bedrock::AppIsland::getId ( )
virtualinherited

Implements Bedrock::IIslandCore.

◆ start()

virtual bool Bedrock::AppIsland::start ( )
virtualinherited

Implements Bedrock::IIslandCore.

◆ suspend()

virtual bool Bedrock::AppIsland::suspend ( )
virtualinherited

Implements Bedrock::IIslandCore.

◆ resume()

virtual bool Bedrock::AppIsland::resume ( )
virtualinherited

Implements Bedrock::IIslandCore.

◆ mainUpdate()

virtual void Bedrock::AppIsland::mainUpdate ( )
virtualinherited

Implements Bedrock::IIslandCore.

◆ processActivationArguments()

virtual void Bedrock::AppIsland::processActivationArguments ( ::Bedrock::ActivationArguments const & args)
virtualinherited

Implements Bedrock::IIslandCore.

◆ $getId()

MCAPI ushort Bedrock::AppIsland::$getId ( )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $start()

MCAPI bool Bedrock::AppIsland::$start ( )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $suspend()

MCAPI bool Bedrock::AppIsland::$suspend ( )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $resume()

MCAPI bool Bedrock::AppIsland::$resume ( )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $mainUpdate()

MCAPI void Bedrock::AppIsland::$mainUpdate ( )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $processActivationArguments()

MCAPI void Bedrock::AppIsland::$processActivationArguments ( ::Bedrock::ActivationArguments const & args)
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $vftable() [2/2]

static MCAPI void ** Bedrock::AppIsland::$vftable ( )
staticinherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

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