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 }
 
using OperationCallback = ::std::function<void(::FileArchiver::Result&)>
 

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
 
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::TypedStorage< 8, 192, ::FileArchiver::ProgressReportermProgress
 
::ll::TypedStorage< 8, 80, ::Bedrock::Threading::MutexmStateLock
 
::ll::TypedStorage< 4, 4, ::FileArchiver::State > mCurrentState
 
::ll::TypedStorage< 8, 24, ::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager > > mFilePathManager
 
::ll::TypedStorage< 8, 64, ::std::function< void(::std::string const &)> > mDisplayMessageCallback
 
::ll::TypedStorage< 8, 24, ::Bedrock::NotNullNonOwnerPtr<::IResourcePackRepository > > mResourcePackRepository
 
::ll::TypedStorage< 8, 8, ::ILevelListCache & > mLevelListCache
 
::ll::TypedStorage< 8, 24, ::std::vector<::Core::PathBuffer<::std::string > > > mSuccessfullyFiledArchives
 
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::TaskGroup > > mIOTaskGroup
 
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::FileArchiver::IWorldConverter > > mWorldConverter
 
::ll::TypedStorage< 1, 1, bool > mIsEditorModeEnabled
 
::ll::TypedStorage< 8, 24, ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const > > mKeyProvider
 
::ll::TypedStorage< 8, 24, ::Bedrock::NotNullNonOwnerPtr<::LevelDbEnv > > mLevelDbEnv
 
::ll::TypedStorage< 8, 64, ::std::unordered_map<::std::string, ::FileArchiver::EduCloudImportInfo > > mEduCloudImportInfo
 
::std::shared_ptr<::Bedrock::EnableNonOwnerReferences::ControlBlockmControlBlock
 

Member Function Documentation

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