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;
83 ::UWPMigrationManager::MoveOperation::Type opType
95 ::UWPMigrationManager::MoveOperation::Type opType
137 virtual ::Core::Result migrate(
bool forceCritical)
const ;
139 virtual void cleanup() const ;
145 MCNAPI ::Core::Result
$migrate(
bool forceCritical) const;
161 virtual ::Core::Result migrate(
bool forceCritical)
const ;
163 virtual void cleanup()
const ;
169 MCNAPI ::Core::Result
$migrate(
bool forceCritical)
const;
185 virtual ::Core::Result migrate(
bool)
const ;
187 virtual void cleanup() const ;
208 ::ll::UntypedStorage<8, 32> mUnk1ac443;
209 ::ll::UntypedStorage<8, 32> mUnked99d9;
210 ::ll::UntypedStorage<8, 32> mUnka670fc;
211 ::ll::UntypedStorage<4, 4> mUnke89d35;
212 ::ll::UntypedStorage<4, 4> mUnk26a1a9;
213 ::ll::UntypedStorage<8, 24> mUnk37721e;
218 UWPMigrationManager& operator=(UWPMigrationManager const&);
219 UWPMigrationManager(UWPMigrationManager const&);
220 UWPMigrationManager();
225 MCNAPI UWPMigrationManager(
226 ::Core::PathBuffer<::
std::
string> const& externalStoragePath,
227 ::Core::PathBuffer<::
std::
string> const& userStorageRootPath,
228 ::Core::PathBuffer<::
std::
string> const& logsPath,
229 ::Core::PathBuffer<::
std::
string> const& uwpInstallationPath,
230 uint migrationVersion
239 MCNAPI ~UWPMigrationManager();
264 ::Core::PathBuffer<::
std::
string> const& externalStoragePath,
265 ::Core::PathBuffer<::
std::
string> const& userStorageRootPath,
266 ::Core::PathBuffer<::
std::
string> const& logsPath,
267 ::Core::PathBuffer<::
std::
string> const& uwpInstallationPath,
268 uint migrationVersion
Definition PathBuffer.h:8
Definition UWPMigrationManager.h:5
static MCAPI ::std::string_view const & sLogsFileName()
static MCAPI ::UWPMigrationManager::MigrationState getMigrationState()
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()
MCAPI::UWPMigrationManager::Status getStatus() const
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()
MCAPI MoveOperation(bool critical, uchar maxRetries, ::Core::PathBuffer<::std::string > const &srcPath, ::Core::PathBuffer<::std::string > const &dstPath, ::UWPMigrationManager::MoveOperation::Type opType)
MCAPI void * $ctor(bool critical, uchar maxRetries, ::Core::PathBuffer<::std::string > const &srcPath, ::Core::PathBuffer<::std::string > const &dstPath, ::UWPMigrationManager::MoveOperation::Type opType)
Definition UWPMigrationManager.h:33
MCAPI::Core::Result $migrate(bool) const
MCAPI void $cleanup() const
static MCAPI void ** $vftable()
Definition UWPMigrationManager.h:27