Skip to content
LeviMC
English
AutoLightDark
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/StorageMigrationStatus.h"
8#include "mc/deps/application/storage_migration/StorageMigrationType.h"
9#include "mc/deps/core/threading/TaskGroup.h"
10#include "mc/deps/core/utility/NonOwnerPointer.h"
11
12// auto generated forward declare list
13// 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, 152, ::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
47
48 MCNAPI void beginTransfer();
49
50 MCNAPI void
52 // NOLINTEND
53
54public:
55 // constructor thunks
56 // NOLINTBEGIN
58 // NOLINTEND
59};
Definition NonOwnerPointer.h:9
Definition MigrationDetector.h:14
Definition StorageMigrationService.h:21
Definition StorageMigrator.h:17
Definition MainMenuScreenModel.h:5
Definition StorageMigrationProgressScreenModel.h:5
MCAPI StorageMigrationProgressScreenModel(::MinecraftScreenModelContext context)
MCAPI void * $ctor(::MinecraftScreenModelContext context)
MCAPI void initTransferSystem(::Bedrock::NonOwnerPointer<::Bedrock::StorageMigration::StorageMigrationService > const &service)
Definition ManifestData.h:7
Definition MinecraftScreenModelContext.h:5
Definition context.h:5