LeviLamina
Loading...
Searching...
No Matches
StorageMigrationProgressScreenModel.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/screens/models/MainMenuScreenModel.h"
7#include "mc/client/gui/screens/models/MinecraftScreenModel.h"
8#include "mc/client/gui/screens/models/StorageMigrationStatus.h"
9#include "mc/deps/application/storage_migration/StorageMigrationType.h"
10#include "mc/deps/core/threading/TaskGroup.h"
11#include "mc/deps/core/utility/NonOwnerPointer.h"
12
13// auto generated forward declare list
14// clang-format off
15namespace Bedrock::StorageMigration { class MigrationDetector; }
16namespace Bedrock::StorageMigration { class StorageMigrationService; }
17namespace Bedrock::StorageMigration { class StorageMigrator; }
18namespace Bedrock::StorageMigration { struct ManifestData; }
19// clang-format on
20
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<8, 168, ::StorageMigrationStatus> mTransferStatus;
26 ::ll::TypedStorage<4, 4, ::Bedrock::StorageMigration::StorageMigrationType> mMigrationType;
27 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::Bedrock::StorageMigration::ManifestData>> mManifest;
28 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::Bedrock::StorageMigration::MigrationDetector>> mDetector;
29 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::Bedrock::StorageMigration::StorageMigrator>> mMigrator;
30 ::ll::TypedStorage<8, 336, ::TaskGroup> mTaskGroup;
31 // NOLINTEND
32
33public:
34 // prevent constructor by default
35 StorageMigrationProgressScreenModel();
36
37public:
38 // virtual functions
39 // NOLINTBEGIN
40 virtual ~StorageMigrationProgressScreenModel() /*override*/ = default;
41 // NOLINTEND
42
43public:
44 // member functions
45 // NOLINTBEGIN
46 MCAPI explicit StorageMigrationProgressScreenModel(::MinecraftScreenModel::Context context);
47
48 MCAPI void beginDetection();
49
50 MCAPI void beginTransfer();
51
52 MCAPI void
53 initTransferSystem(::Bedrock::NonOwnerPointer<::Bedrock::StorageMigration::StorageMigrationService> const& service);
54 // NOLINTEND
55
56public:
57 // constructor thunks
58 // NOLINTBEGIN
59 MCAPI void* $ctor(::MinecraftScreenModel::Context context);
60 // NOLINTEND
61
62public:
63 // vftables
64 // NOLINTBEGIN
65 MCNAPI static void** $vftableForIMinecraftScreenModel();
66
67 MCNAPI static void** $vftable();
68
69 MCNAPI static void** $vftableForIDlcBatcher();
70 // NOLINTEND
71};
Definition MigrationDetector.h:14
Definition StorageMigrationService.h:21
Definition StorageMigrator.h:17
Definition MainMenuScreenModel.h:5
Definition StorageMigrationProgressScreenModel.h:5
static MCAPI void ** $vftableForIMinecraftScreenModel()
static MCAPI void ** $vftableForIDlcBatcher()
static MCAPI void ** $vftable()
Definition ManifestData.h:7