Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
SaveCommandImpl Class Reference

Public Types

enum class  Errors : int { InvalidState = 0 , MutexLockFail = 1 , NoFileArchiver = 2 }
enum class  State : int { Idle = 0 , Saving = 1 , Complete = 2 , Failed = 3 }
enum class  Errors : int { InvalidState = 0 , MutexLockFail = 1 , NoFileArchiver = 2 }
enum class  State : int { Idle = 0 , Saving = 1 , Complete = 2 , Failed = 3 }

Static Public Member Functions

static MCAPI ::nonstd::expected<::Bedrock::Threading::Async< void >, ::SaveCommandImpl::Errors > saveHold (::Level &level, ::FileArchiver *fileArchiver)
static MCAPI ::nonstd::expected<::Bedrock::Threading::Async< void >, ::SaveCommandImpl::Errors > saveResume (::Level &level)
static MCAPI ::std::string & mGeneratedVanillaLevelDataPath ()
static MCAPI ::std::vector<::SnapshotFilenameAndLength > & mSaveAllFileList ()
static MCAPI ::std::mutex & mSaveAllMutex ()
static MCAPI ::SaveCommandImpl::State & mState ()

Member Function Documentation

◆ saveHold()

MCAPI ::nonstd::expected<::Bedrock::Threading::Async< void >, ::SaveCommandImpl::Errors > SaveCommandImpl::saveHold ( ::Level & level,
::FileArchiver * fileArchiver )
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.

◆ saveResume()

MCAPI ::nonstd::expected<::Bedrock::Threading::Async< void >, ::SaveCommandImpl::Errors > SaveCommandImpl::saveResume ( ::Level & level)
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.

◆ mGeneratedVanillaLevelDataPath()

MCAPI ::std::string & SaveCommandImpl::mGeneratedVanillaLevelDataPath ( )
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.

◆ mSaveAllFileList()

MCAPI ::std::vector<::SnapshotFilenameAndLength > & SaveCommandImpl::mSaveAllFileList ( )
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.

◆ mSaveAllMutex()

MCAPI ::std::mutex & SaveCommandImpl::mSaveAllMutex ( )
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.

◆ mState()

MCAPI ::SaveCommandImpl::State & SaveCommandImpl::mState ( )
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: