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

Classes

struct  CopyWorldResult
 
struct  EduCloudImportInfo
 
struct  ExportData
 
struct  ImportWorldsResult
 
class  IWorldConverter
 
class  ProgressReporter
 
struct  Result
 

Public Types

enum class  State : int { Idle = 0 , Importing = 1 , Exporting = 2 }
 
enum class  ExportType : int {
  Level = 0 , Template = 1 , Project = 2 , PlayableEditorLevel = 3 ,
  PackagedLevel = 4
}
 
enum class  ShowToast : int { Enabled = 0 , Disabled = 1 }
 

Public Member Functions

FileArchiveroperator= (FileArchiver const &)
 
 FileArchiver (FileArchiver const &)
 
virtual ::std::shared_ptr<::FilePickerSettingsgenerateFilePickerSettings (::std::vector<::FileArchiver::ExportType > const &types, ::std::string const &worldId) const
 
MCAPI FileArchiver (::Scheduler &scheduler, ::ILevelListCache &levelListCache, ::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager > const &pathManager, ::Bedrock::NotNullNonOwnerPtr<::IResourcePackRepository > const &resourcePackRepository, bool isEditorModeEnabled, ::std::unique_ptr<::FileArchiver::IWorldConverter > worldConverter, ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const > keyProvider, ::Bedrock::NotNullNonOwnerPtr<::LevelDbEnv > levelDbEnv, ::std::function< void(::std::string const &)> displayMessageFunction)
 
MCAPI void _clearArchiverState ()
 
MCAPI void _copyPackToTemp (::PackInstance const &packInstance, ::Core::Path const &tempPath, ::FileArchiver::Result &result)
 
MCAPI ::std::shared_ptr<::Bedrock::Threading::IAsyncResult<::FileArchiver::Result > > _enqueueExportWorldTasks (::Core::Path const &outputFilePath, ::std::string const &worldId, bool isBundle, ::FileArchiver::ExportType exportType, ::FileArchiver::ShowToast showToast, ::std::shared_ptr<::Bedrock::Threading::IAsyncResult< void > > preTaskHandle, ::std::function< void(::FileArchiver::Result &)> cleanupTask, ::std::function< void(::LevelData &)> convertPreExportCallback)
 
MCAPI void _exportLevelFiles (::Core::Path const &outputFilePath, bool isBundle, ::std::shared_ptr<::FileArchiver::ExportData > exportData)
 
MCAPI void _printLevelResultMessage (::FileArchiver::Result const &result)
 
MCAPI void _printLevelStartMessage ()
 
MCAPI void _printMessage (::std::string const &message)
 
MCAPI::FileArchiverOutcome _processWorldForTemplate (::std::shared_ptr<::FileArchiver::ExportData > const &exportData)
 
MCAPI void _revertPremiumUpgradePacks (::Core::Path const &filePath)
 
MCAPI::FileArchiver::Result _tryBeginExportLevel (::std::string const &levelId, ::Core::Path const &exportFilePath, ::FileArchiver::ShowToast showToast)
 
MCAPI bool _validatePremiumUpgradePacks (::Core::Path const &filePath)
 
MCAPI::std::string copyLevel (::std::string const &worldId)
 
MCAPI ::std::shared_ptr<::Bedrock::Threading::IAsyncResult<::FileArchiver::Result > > exportCurrentEditorLevel (::Level *level, ::Core::Path const &exportFilePath, ::std::function< void(::LevelData &)> preExportConvertedCallback, ::FileArchiver::ExportType exportType, ::FileArchiver::ShowToast toast)
 
MCAPI ::std::shared_ptr<::Bedrock::Threading::IAsyncResult<::FileArchiver::Result > > exportCurrentLevel (::Level *level, bool isBundle, ::FileArchiver::ExportType exportType, ::Core::Path const &exportFilePath)
 
MCAPI void exportCurrentLevel (::Level *level, bool isBundle, ::FileArchiver::ExportType exportType, ::Core::Path const &exportFilePath, ::std::function< void(::FileArchiver::Result &)> exportCallback)
 
MCAPI ::std::shared_ptr<::Bedrock::Threading::IAsyncResult<::FileArchiver::Result > > exportPack (::Core::Path const &path, ::Core::Path const &exportFilePath)
 
MCAPI void exportPack (::Core::Path const &path, ::Core::Path const &exportFilePath, ::std::function< void(::FileArchiver::Result &)> exportCallback)
 
MCAPI::FileArchiver::State getCurrentState ()
 
MCAPI ::Bedrock::NotNullNonOwnerPtr<::FileArchiver::ProgressReportergetProgressReporter ()
 
MCAPI void setWorldConverter (::std::unique_ptr<::FileArchiver::IWorldConverter > worldConverter)
 
MCAPI void * $ctor (::Scheduler &scheduler, ::ILevelListCache &levelListCache, ::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager > const &pathManager, ::Bedrock::NotNullNonOwnerPtr<::IResourcePackRepository > const &resourcePackRepository, bool isEditorModeEnabled, ::std::unique_ptr<::FileArchiver::IWorldConverter > worldConverter, ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const > keyProvider, ::Bedrock::NotNullNonOwnerPtr<::LevelDbEnv > levelDbEnv, ::std::function< void(::std::string const &)> displayMessageFunction)
 
MCAPI void $dtor ()
 
MCAPI ::std::shared_ptr<::FilePickerSettings$generateFilePickerSettings (::std::vector<::FileArchiver::ExportType > const &types, ::std::string const &worldId) const
 

Static Public Member Functions

static MCAPI ::std::string const & EXTENSION_ADDON ()
 
static MCAPI ::std::string const & EXTENSION_EDITOR_ADDON ()
 
static MCAPI ::std::string const & EXTENSION_PROJECT ()
 
static MCAPI ::std::string const & EXTENSION_RESOURCEPACK ()
 
static MCAPI ::std::string const & EXTENSION_TEMPLATE ()
 
static MCAPI ::std::string const & EXTENSION_VANILLA ()
 
static MCAPI ::std::string const & IMPORT_LOCK_FILE ()
 
static MCAPI void ** $vftable ()
 

Public Attributes

::ll::UntypedStorage< 8, 192 > mUnkacb27f
 
::ll::UntypedStorage< 8, 80 > mUnk36e402
 
::ll::UntypedStorage< 4, 4 > mUnkd2dee6
 
::ll::UntypedStorage< 8, 24 > mUnk84039e
 
::ll::UntypedStorage< 8, 64 > mUnk1b52cd
 
::ll::UntypedStorage< 8, 24 > mUnk9b83c6
 
::ll::UntypedStorage< 8, 8 > mUnka185f5
 
::ll::UntypedStorage< 8, 24 > mUnkd324f4
 
::ll::UntypedStorage< 8, 8 > mUnk30230b
 
::ll::UntypedStorage< 8, 8 > mUnk9ee584
 
::ll::UntypedStorage< 1, 1 > mUnk6bd6c8
 
::ll::UntypedStorage< 8, 24 > mUnk7a349c
 
::ll::UntypedStorage< 8, 24 > mUnk56effc
 
::ll::UntypedStorage< 8, 64 > mUnk4a5c45
 
::std::shared_ptr<::Bedrock::EnableNonOwnerReferences::ControlBlockmControlBlock
 

Constructor & Destructor Documentation

◆ FileArchiver()

MCAPI FileArchiver::FileArchiver ( ::Scheduler & scheduler,
::ILevelListCache & levelListCache,
::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager > const & pathManager,
::Bedrock::NotNullNonOwnerPtr<::IResourcePackRepository > const & resourcePackRepository,
bool isEditorModeEnabled,
::std::unique_ptr<::FileArchiver::IWorldConverter > worldConverter,
::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const > keyProvider,
::Bedrock::NotNullNonOwnerPtr<::LevelDbEnv > levelDbEnv,
::std::function< void(::std::string const &)> displayMessageFunction )
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

◆ _clearArchiverState()

MCAPI void FileArchiver::_clearArchiverState ( )
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.

◆ _copyPackToTemp()

MCAPI void FileArchiver::_copyPackToTemp ( ::PackInstance const & packInstance,
::Core::Path const & tempPath,
::FileArchiver::Result & result )
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.

◆ _enqueueExportWorldTasks()

MCAPI ::std::shared_ptr<::Bedrock::Threading::IAsyncResult<::FileArchiver::Result > > FileArchiver::_enqueueExportWorldTasks ( ::Core::Path const & outputFilePath,
::std::string const & worldId,
bool isBundle,
::FileArchiver::ExportType exportType,
::FileArchiver::ShowToast showToast,
::std::shared_ptr<::Bedrock::Threading::IAsyncResult< void > > preTaskHandle,
::std::function< void(::FileArchiver::Result &)> cleanupTask,
::std::function< void(::LevelData &)> convertPreExportCallback )
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.

◆ _exportLevelFiles()

MCAPI void FileArchiver::_exportLevelFiles ( ::Core::Path const & outputFilePath,
bool isBundle,
::std::shared_ptr<::FileArchiver::ExportData > exportData )
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.

◆ _printLevelResultMessage()

MCAPI void FileArchiver::_printLevelResultMessage ( ::FileArchiver::Result const & result)
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.

◆ _printLevelStartMessage()

MCAPI void FileArchiver::_printLevelStartMessage ( )
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.

◆ _printMessage()

MCAPI void FileArchiver::_printMessage ( ::std::string const & message)
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.

◆ _processWorldForTemplate()

MCAPI::FileArchiverOutcome FileArchiver::_processWorldForTemplate ( ::std::shared_ptr<::FileArchiver::ExportData > const & exportData)
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.

◆ _revertPremiumUpgradePacks()

MCAPI void FileArchiver::_revertPremiumUpgradePacks ( ::Core::Path const & filePath)
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.

◆ _tryBeginExportLevel()

MCAPI::FileArchiver::Result FileArchiver::_tryBeginExportLevel ( ::std::string const & levelId,
::Core::Path const & exportFilePath,
::FileArchiver::ShowToast showToast )
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.

◆ _validatePremiumUpgradePacks()

MCAPI bool FileArchiver::_validatePremiumUpgradePacks ( ::Core::Path const & filePath)
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.

◆ copyLevel()

MCAPI::std::string FileArchiver::copyLevel ( ::std::string 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.

◆ exportCurrentEditorLevel()

MCAPI ::std::shared_ptr<::Bedrock::Threading::IAsyncResult<::FileArchiver::Result > > FileArchiver::exportCurrentEditorLevel ( ::Level * level,
::Core::Path const & exportFilePath,
::std::function< void(::LevelData &)> preExportConvertedCallback,
::FileArchiver::ExportType exportType,
::FileArchiver::ShowToast toast )
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.

◆ exportCurrentLevel() [1/2]

MCAPI ::std::shared_ptr<::Bedrock::Threading::IAsyncResult<::FileArchiver::Result > > FileArchiver::exportCurrentLevel ( ::Level * level,
bool isBundle,
::FileArchiver::ExportType exportType,
::Core::Path const & exportFilePath )
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.

◆ exportCurrentLevel() [2/2]

MCAPI void FileArchiver::exportCurrentLevel ( ::Level * level,
bool isBundle,
::FileArchiver::ExportType exportType,
::Core::Path const & exportFilePath,
::std::function< void(::FileArchiver::Result &)> exportCallback )
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.

◆ exportPack() [1/2]

MCAPI ::std::shared_ptr<::Bedrock::Threading::IAsyncResult<::FileArchiver::Result > > FileArchiver::exportPack ( ::Core::Path const & path,
::Core::Path const & exportFilePath )
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.

◆ exportPack() [2/2]

MCAPI void FileArchiver::exportPack ( ::Core::Path const & path,
::Core::Path const & exportFilePath,
::std::function< void(::FileArchiver::Result &)> exportCallback )
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.

◆ getCurrentState()

MCAPI::FileArchiver::State FileArchiver::getCurrentState ( )
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.

◆ getProgressReporter()

MCAPI ::Bedrock::NotNullNonOwnerPtr<::FileArchiver::ProgressReporter > FileArchiver::getProgressReporter ( )
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.

◆ setWorldConverter()

MCAPI void FileArchiver::setWorldConverter ( ::std::unique_ptr<::FileArchiver::IWorldConverter > worldConverter)
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.

◆ EXTENSION_ADDON()

static MCAPI ::std::string const & FileArchiver::EXTENSION_ADDON ( )
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.

◆ EXTENSION_EDITOR_ADDON()

static MCAPI ::std::string const & FileArchiver::EXTENSION_EDITOR_ADDON ( )
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.

◆ EXTENSION_PROJECT()

static MCAPI ::std::string const & FileArchiver::EXTENSION_PROJECT ( )
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.

◆ EXTENSION_RESOURCEPACK()

static MCAPI ::std::string const & FileArchiver::EXTENSION_RESOURCEPACK ( )
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.

◆ EXTENSION_TEMPLATE()

static MCAPI ::std::string const & FileArchiver::EXTENSION_TEMPLATE ( )
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.

◆ EXTENSION_VANILLA()

static MCAPI ::std::string const & FileArchiver::EXTENSION_VANILLA ( )
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.

◆ IMPORT_LOCK_FILE()

static MCAPI ::std::string const & FileArchiver::IMPORT_LOCK_FILE ( )
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.

◆ $ctor()

MCAPI void * FileArchiver::$ctor ( ::Scheduler & scheduler,
::ILevelListCache & levelListCache,
::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager > const & pathManager,
::Bedrock::NotNullNonOwnerPtr<::IResourcePackRepository > const & resourcePackRepository,
bool isEditorModeEnabled,
::std::unique_ptr<::FileArchiver::IWorldConverter > worldConverter,
::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const > keyProvider,
::Bedrock::NotNullNonOwnerPtr<::LevelDbEnv > levelDbEnv,
::std::function< void(::std::string const &)> displayMessageFunction )
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.

◆ $dtor()

MCAPI void FileArchiver::$dtor ( )
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.

◆ $generateFilePickerSettings()

MCAPI ::std::shared_ptr<::FilePickerSettings > FileArchiver::$generateFilePickerSettings ( ::std::vector<::FileArchiver::ExportType > const & types,
::std::string const & worldId ) const
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()

static MCAPI void ** FileArchiver::$vftable ( )
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: