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 exportType, ::FileArchiver::ExportType showToast, ::FileArchiver::ShowToast preTaskHandle, ::std::shared_ptr<::Bedrock::Threading::IAsyncResult< void > > cleanupTask, ::std::function< void(::FileArchiver::Result &)> convertPreExportCallback, ::std::function< void(::LevelData &)> isBundle)
 
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::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 &preExportConvertedCallback, ::std::function< void(::LevelData &)> exportType, ::FileArchiver::ExportType exportFilePath, ::FileArchiver::ShowToast toast)
 
MCAPI ::std::shared_ptr<::Bedrock::Threading::IAsyncResult<::FileArchiver::Result > > exportCurrentLevel (::Level *level, bool exportType, ::FileArchiver::ExportType exportFilePath, ::Core::Path const &isBundle)
 
MCAPI void exportCurrentLevel (::Level *level, bool exportType, ::FileArchiver::ExportType exportFilePath, ::Core::Path const &exportCallback, ::std::function< void(::FileArchiver::Result &)> isBundle)
 
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
 
MCFOLD void * $ctor ()
 
MCFOLD void * $ctor (::Bedrock::EnableNonOwnerReferences 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
 

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