Skip to content
LeviMC
English
AutoLightDark
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*/ = default;
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 MCNAPI StorageMigrationProgressScreenController(
61 ::std::shared_ptr<::StorageMigrationProgressScreenModel> model,
62 ::Bedrock::NonOwnerPointer<::Bedrock::StorageMigration::StorageMigrationService> const& service
63 );
64
65 MCNAPI void _registerBindings();
66
68
69 MCNAPI void _showModal(::std::string const& modalName);
70 // NOLINTEND
71
72public:
73 // constructor thunks
74 // NOLINTBEGIN
75 MCNAPI void* $ctor(
76 ::std::shared_ptr<::StorageMigrationProgressScreenModel> model,
77 ::Bedrock::NonOwnerPointer<::Bedrock::StorageMigration::StorageMigrationService> const& service
78 );
79 // NOLINTEND
80
81public:
82 // virtual function thunks
83 // NOLINTBEGIN
84 MCNAPI ::ui::DirtyFlag $tick();
85
86 MCNAPI ::std::string $getAdditionalScreenInfo() const;
87
88 MCNAPI void $addEventProperties(::std::unordered_map<::std::string, ::std::string>& eventProperties) const;
89
90 MCNAPI ::ui::SceneType $getSceneType() const;
91
92 MCNAPI void $onOpen();
93
94 MCNAPI void $onLeave();
95 // NOLINTEND
96
97public:
98 // vftables
99 // NOLINTBEGIN
100 MCNAPI static void** $vftableForScreenController();
101
103 // NOLINTEND
104};
Definition StorageMigrationService.h:21
Definition MinecraftScreenController.h:5
Definition ProgressHandler.h:5
Definition StorageMigrationProgressScreenController.h:5
MCAPI void _showModal(::std::string const &modalName)
MCAPI void $addEventProperties(::std::unordered_map<::std::string, ::std::string > &eventProperties) const
static MCAPI void ** $vftableForEnableNonOwnerReferences()
static MCAPI void ** $vftableForScreenController()
MCAPI void * $ctor(::std::shared_ptr<::StorageMigrationProgressScreenModel > model, ::Bedrock::NonOwnerPointer<::Bedrock::StorageMigration::StorageMigrationService > const &service)
MCAPI::std::string $getAdditionalScreenInfo() const
MCAPI::ui::SceneType $getSceneType() const
Definition StorageMigrationProgressScreenModel.h:5
STL namespace.