Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
World::LocalWorldStarter Class Reference

Public Member Functions

LocalWorldStarter & operator= (LocalWorldStarter const &)
 LocalWorldStarter (LocalWorldStarter const &)
MCAPI LocalWorldStarter (::IGameServerStartup &gameServerStartup, ::ILevelListCache &levelListCache, ::World::IWorldStorageHandler &worldStorageHandler, ::std::function< bool()> hasValidCrossPlatformSkin, ::Core::FileSystem &fileSystem, ::std::function< void(::World::RecentlyPlayedPendingTargetData)> prepareRecentlyPlayedTarget)
MCAPI void backupThenStartLocalWorld (::World::WorldID const &worldID, ::std::function< void(::World::IWorldStorageHandler::DuplicateWorldResult, ::std::optional<::World::StartLocalWorldResult >)> onComplete)
MCAPI void setConfirmedPlatformLockedContentForWorld (::World::WorldID const &worldID)
MCAPI::World::StartLocalWorldResult startLocalWorld (::World::WorldID const &worldID)
MCAPI void * $ctor (::IGameServerStartup &gameServerStartup, ::ILevelListCache &levelListCache, ::World::IWorldStorageHandler &worldStorageHandler, ::std::function< bool()> hasValidCrossPlatformSkin, ::Core::FileSystem &fileSystem, ::std::function< void(::World::RecentlyPlayedPendingTargetData)> prepareRecentlyPlayedTarget)

Public Attributes

::ll::TypedStorage< 8, 8, ::IGameServerStartup & > mGameServerStartup
::ll::TypedStorage< 8, 8, ::ILevelListCache & > mLevelListCache
::ll::TypedStorage< 8, 8, ::World::IWorldStorageHandler & > mWorldStorageHandler
::ll::TypedStorage< 8, 64, ::std::function< bool()> > mHasValidCrossPlatformSkin
::ll::TypedStorage< 8, 8, ::Core::FileSystem & > mFileSystem
::ll::TypedStorage< 8, 64, ::std::function< void(::World::RecentlyPlayedPendingTargetData)> > mPrepareRecentlyPlayedTarget
::ll::TypedStorage< 8, 16, ::Bedrock::Threading::Async< void > > mServerStartupResult
::ll::TypedStorage< 4, 8, ::std::optional<::World::StartLocalWorldResult > > mStartLocalWorldErrorOverride
::ll::TypedStorage< 1, 2, ::std::optional<::World::IWorldStorageHandler::DuplicateWorldResult > > mBackupLocalWorldErrorOverride

Constructor & Destructor Documentation

◆ LocalWorldStarter()

MCAPI World::LocalWorldStarter::LocalWorldStarter ( ::IGameServerStartup & gameServerStartup,
::ILevelListCache & levelListCache,
::World::IWorldStorageHandler & worldStorageHandler,
::std::function< bool()> hasValidCrossPlatformSkin,
::Core::FileSystem & fileSystem,
::std::function< void(::World::RecentlyPlayedPendingTargetData)> prepareRecentlyPlayedTarget )
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.

Member Function Documentation

◆ backupThenStartLocalWorld()

MCAPI void World::LocalWorldStarter::backupThenStartLocalWorld ( ::World::WorldID const & worldID,
::std::function< void(::World::IWorldStorageHandler::DuplicateWorldResult, ::std::optional<::World::StartLocalWorldResult >)> onComplete )
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.

◆ setConfirmedPlatformLockedContentForWorld()

MCAPI void World::LocalWorldStarter::setConfirmedPlatformLockedContentForWorld ( ::World::WorldID const & worldID)
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.

◆ startLocalWorld()

MCAPI::World::StartLocalWorldResult World::LocalWorldStarter::startLocalWorld ( ::World::WorldID const & worldID)
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.

◆ $ctor()

MCAPI void * World::LocalWorldStarter::$ctor ( ::IGameServerStartup & gameServerStartup,
::ILevelListCache & levelListCache,
::World::IWorldStorageHandler & worldStorageHandler,
::std::function< bool()> hasValidCrossPlatformSkin,
::Core::FileSystem & fileSystem,
::std::function< void(::World::RecentlyPlayedPendingTargetData)> prepareRecentlyPlayedTarget )
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 files: