3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/file/PathBuffer.h"
7#include "mc/platform/Result.h"
11namespace Core {
class Result; }
26 enum class Status :
int {
33 enum class MigrationState :
int {
35 PreviouslyMigrated = 1,
43 enum class Type :
int {
52 ::ll::UntypedStorage<1, 1> mUnk99cb0a;
53 ::ll::UntypedStorage<1, 1> mUnk5dcea8;
54 ::ll::UntypedStorage<8, 32> mUnkebafbc;
55 ::ll::UntypedStorage<8, 32> mUnk915989;
56 ::ll::UntypedStorage<4, 4> mUnk459421;
61 MoveOperation& operator=(MoveOperation
const&);
62 MoveOperation(MoveOperation
const&);
68 virtual ~MoveOperation();
70 virtual ::Core::Result migrate(
bool forceCritical)
const = 0;
72 virtual void cleanup()
const = 0;
113 virtual ::Core::Result migrate(
bool forceCritical)
const ;
115 virtual void cleanup() const ;
117 virtual ~MoveDirectoryOperation() = default;
123 MCNAPI ::Core::Result
$migrate(
bool forceCritical) const;
139 virtual ::Core::Result migrate(
bool forceCritical)
const ;
141 virtual void cleanup()
const ;
149 MCNAPI ::Core::Result
$migrate(
bool forceCritical)
const;
165 virtual ::Core::Result migrate(
bool)
const ;
167 virtual void cleanup() const ;
190 ::ll::UntypedStorage<8, 32> mUnk1ac443;
191 ::ll::UntypedStorage<8, 32> mUnked99d9;
192 ::ll::UntypedStorage<8, 32> mUnka670fc;
193 ::ll::UntypedStorage<4, 4> mUnke89d35;
194 ::ll::UntypedStorage<4, 4> mUnk26a1a9;
195 ::ll::UntypedStorage<8, 24> mUnk37721e;
200 UWPMigrationManager& operator=(UWPMigrationManager const&);
201 UWPMigrationManager(UWPMigrationManager const&);
202 UWPMigrationManager();
207 MCNAPI UWPMigrationManager(
208 ::Core::PathBuffer<::
std::
string> const& externalStoragePath,
209 ::Core::PathBuffer<::
std::
string> const& userStorageRootPath,
210 ::Core::PathBuffer<::
std::
string> const& logsPath,
211 ::Core::PathBuffer<::
std::
string> const& uwpInstallationPath,
212 uint migrationVersion
221 MCNAPI ~UWPMigrationManager();
244 ::Core::PathBuffer<::
std::
string> const& externalStoragePath,
245 ::Core::PathBuffer<::
std::
string> const& userStorageRootPath,
246 ::Core::PathBuffer<::
std::
string> const& logsPath,
247 ::Core::PathBuffer<::
std::
string> const& uwpInstallationPath,
248 uint migrationVersion
Definition UWPMigrationManager.h:5
static MCAPI ::std::string_view const & sLogsFileName()
MCAPI ::Core::PathBuffer<::std::string > getMigrationFilePath() const
MCAPI ::Bedrock::Result< void > migrateFromUWP()
MCAPI bool onLatestMigration() const
static MCAPI ::std::string getLastMigrationErrorsAsJson()
MCAPI void * $ctor(::Core::PathBuffer<::std::string > const &externalStoragePath, ::Core::PathBuffer<::std::string > const &userStorageRootPath, ::Core::PathBuffer<::std::string > const &logsPath, ::Core::PathBuffer<::std::string > const &uwpInstallationPath, uint migrationVersion)
static MCAPI ::UWPMigrationManager::MigrationState & sMigrationState()
static MCAPI ::std::string & sErrors()
Definition UWPMigrationManager.h:29
MCAPI::Core::Result $migrate(bool forceCritical) const
MCAPI void $cleanup() const
static MCAPI void ** $vftable()
Definition UWPMigrationManager.h:31
MCAPI::Core::Result $migrate(bool forceCritical) const
static MCAPI void ** $vftable()
MCAPI void $cleanup() const
Definition UWPMigrationManager.h:21
static MCAPI void ** $vftable()
Definition UWPMigrationManager.h:33
MCAPI::Core::Result $migrate(bool) const
MCAPI void $cleanup() const
static MCAPI void ** $vftable()
Definition UWPMigrationManager.h:27