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
}
 
enum class  StartResult : int {
  Success = 0 , PortOccupied = 1 , InvalidSettings = 2 , MissingDependency = 3 ,
  RuntimeError = 4
}
 

Public Member Functions

virtual bool stop ()
 
virtual ::Bedrock::NotNullNonOwnerPtr<::FileArchiver > getFileArchiver () const
 
virtual ::Bedrock::NotNullNonOwnerPtr<::Minecraft > getPrimaryMinecraft ()
 
virtual ::Bedrock::NotNullNonOwnerPtr<::Automation::AutomationClient > getAutomationClient () 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)
 

Static Public Member Functions

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

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::ScopeExit > mOnDestructioncloseAndResetAllLogs
 
::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
 

Member Function Documentation

◆ $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.

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