LeviLamina
Loading...
Searching...
No Matches
StorageMigrationProgressScreenController.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/DirtyFlag.h"
7#include "mc/client/gui/SceneType.h"
8#include "mc/client/gui/screens/controllers/MinecraftScreenController.h"
9#include "mc/deps/core/utility/NonOwnerPointer.h"
10
11// auto generated forward declare list
12// clang-format off
13class ProgressHandler;
15namespace Bedrock::StorageMigration { class StorageMigrationService; }
16// clang-format on
17
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::StorageMigrationProgressScreenModel>> mProgressScreenModel;
23 ::ll::TypedStorage<1, 1, bool> mHasTicked;
24 ::ll::TypedStorage<8, 8, int64 const> mProgressMessageInterval;
25 ::ll::TypedStorage<8, 8, int64> mLastAudioProgressNotificationUpdate;
26 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ProgressHandler>> mProgressHandler;
27 ::ll::TypedStorage<1, 1, bool> mTransferStarted;
28 ::ll::TypedStorage<1, 1, bool> mIntroShown;
29 ::ll::TypedStorage<1, 1, bool> mModalShowing;
30 ::ll::TypedStorage<1, 1, bool> mRestartingTransfer;
31 ::ll::TypedStorage<8, 32, ::std::string> mModalNameShowing;
32 // NOLINTEND
33
34public:
35 // prevent constructor by default
36 StorageMigrationProgressScreenController();
37
38public:
39 // virtual functions
40 // NOLINTBEGIN
41 virtual ~StorageMigrationProgressScreenController() /*override*/;
42
43 virtual ::ui::DirtyFlag tick() /*override*/;
44
45 virtual ::std::string getAdditionalScreenInfo() const /*override*/;
46
47 virtual void addEventProperties(::std::unordered_map<::std::string, ::std::string>& eventProperties) const
48 /*override*/;
49
50 virtual ::ui::SceneType getSceneType() const /*override*/;
51
52 virtual void onOpen() /*override*/;
53
54 virtual void onLeave() /*override*/;
55 // NOLINTEND
56
57public:
58 // member functions
59 // NOLINTBEGIN
60 MCAPI StorageMigrationProgressScreenController(
61 ::std::shared_ptr<::StorageMigrationProgressScreenModel> model,
62 ::Bedrock::NonOwnerPointer<::Bedrock::StorageMigration::StorageMigrationService> const& service
63 );
64
65 MCAPI void _handleError();
66
67 MCAPI void _handleIntro();
68
69 MCAPI void _handleTransferFinished();
70
71 MCAPI void _registerBindings();
72
73 MCAPI void _registerEventHandlers();
74
75 MCAPI void _showModal(::std::string const& modalName);
76
77 MCAPI void _startTransfer();
78 // NOLINTEND
79
80public:
81 // constructor thunks
82 // NOLINTBEGIN
83 MCAPI void* $ctor(
84 ::std::shared_ptr<::StorageMigrationProgressScreenModel> model,
85 ::Bedrock::NonOwnerPointer<::Bedrock::StorageMigration::StorageMigrationService> const& service
86 );
87 // NOLINTEND
88
89public:
90 // destructor thunk
91 // NOLINTBEGIN
92 MCAPI void $dtor();
93 // NOLINTEND
94
95public:
96 // virtual function thunks
97 // NOLINTBEGIN
98 MCAPI ::ui::DirtyFlag $tick();
99
100 MCFOLD ::std::string $getAdditionalScreenInfo() const;
101
102 MCAPI void $addEventProperties(::std::unordered_map<::std::string, ::std::string>& eventProperties) const;
103
104 MCFOLD ::ui::SceneType $getSceneType() const;
105
106 MCAPI void $onOpen();
107
108 MCAPI void $onLeave();
109 // NOLINTEND
110
111public:
112 // vftables
113 // NOLINTBEGIN
114 MCNAPI static void** $vftableForScreenController();
115
117 // NOLINTEND
118};
Definition StorageMigrationService.h:21
Definition MinecraftScreenController.h:5
Definition ProgressHandler.h:5
Definition StorageMigrationProgressScreenController.h:5
static MCAPI void ** $vftableForEnableNonOwnerReferences()
static MCAPI void ** $vftableForScreenController()
Definition StorageMigrationProgressScreenModel.h:5