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

Classes

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

Public Types

enum class  ExportType : int {
  Level = 0 , Template = 1 , Project = 2 , PlayableEditorLevel = 3 ,
  PackagedLevel = 4
}
enum class  ShowToast : int { Enabled = 0 , Disabled = 1 }
enum class  State : int { Idle = 0 , Importing = 1 , Exporting = 2 }
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 &) 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 ::Bedrock::Threading::Async<::FileArchiver::Result_enqueueExportWorldTasks (::Core::Path const &outputFilePath, ::std::string const &worldId, bool isBundle, ::FileArchiver::ExportType exportType, ::FileArchiver::ShowToast showToast, ::Bedrock::Threading::Async< void > preTaskHandle, ::gsl::not_null<::std::shared_ptr<::FileArchiver::InterventionPublishers > > interventionPublishers, ::std::function< void(::FileArchiver::Result &)> cleanupTask)
MCAPI void _exportLevelFiles (::Core::Path const &outputFilePath, bool isBundle, ::std::shared_ptr<::FileArchiver::ExportData > exportData)
MCAPI_C bool _importLegacyWorld (::Core::Path const &archivedWorldFile, ::FileArchiver::Result &currentResult)
MCAPI_C bool _importWorld (::Core::Path const &archivedWorldFile, ::FileArchiver::Result &currentResult, ::std::string const &importLevelId)
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_C void _sanitizeWorld (::Core::Path const &newWorldPath)
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_C ::Bedrock::Threading::Async<::FileArchiver::CopyWorldResultcopyLevelAsync (::std::string const &worldId)
MCAPI ::Bedrock::Threading::Async<::FileArchiver::ResultexportCurrentEditorLevel (::Level *level, ::Core::Path const &exportFilePath, ::gsl::not_null<::std::shared_ptr<::FileArchiver::InterventionPublishers > > interventionPublishers, ::FileArchiver::ExportType exportType, ::FileArchiver::ShowToast toast)
MCAPI ::Bedrock::Threading::Async<::FileArchiver::ResultexportCurrentLevel (::Level *level, bool isBundle, ::FileArchiver::ExportType exportType, ::Core::Path const &exportFilePath, ::gsl::not_null<::std::shared_ptr<::FileArchiver::InterventionPublishers > > interventionPublishers)
MCAPI void exportCurrentLevel (::Level *level, bool isBundle, ::FileArchiver::ExportType exportType, ::Core::Path const &exportFilePath, ::std::function< void(::FileArchiver::Result &)> exportCallback, ::gsl::not_null<::std::shared_ptr<::FileArchiver::InterventionPublishers > > interventionPublishers)
MCAPI_C ::Bedrock::Threading::Async<::FileArchiver::ResultexportLevel (::std::string const &worldId, bool isBundle, ::FileArchiver::ExportType exportType, ::FileArchiver::ShowToast showToast, ::Core::Path const &exportFilePath, ::gsl::not_null<::std::shared_ptr<::FileArchiver::InterventionPublishers > > interventionPublishers)
MCAPI_C void exportLevel (::std::string const &worldId, bool isBundle, ::FileArchiver::ExportType exportType, ::Core::Path const &exportFilePath, ::std::function< void(::FileArchiver::Result &)> exportCallback, ::FileArchiver::ShowToast showToast, ::gsl::not_null<::std::shared_ptr<::FileArchiver::InterventionPublishers > > interventionPublishers)
MCAPI ::Bedrock::Threading::Async<::FileArchiver::ResultexportPack (::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_C ::Bedrock::Threading::Async<::FileArchiver::ResultimportLevel (::Core::Path const &archivedWorldFile, bool suppressStartMessage, bool suppressEndMessage, ::std::string const &levelId)
MCAPI_C void importLevel (::Core::Path const &archivedWorldFile, ::std::function< void(::FileArchiver::Result &)> importCallback, bool suppressStartMessage, bool suppressEndMessage, ::std::string const &levelId)
MCAPI_S 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 &) 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()

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: