LeviLamina
Loading...
Searching...
No Matches
FileDownloadScreenController.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/screens/controllers/MainMenuScreenController.h"
8#include "mc/util/DownloadError.h"
9#include "mc/util/DownloadState.h"
10
11// auto generated forward declare list
12// clang-format off
14// clang-format on
15
17public:
18 // FileDownloadScreenController inner types declare
19 // clang-format off
20 struct RealmData;
21 // clang-format on
22
23 // FileDownloadScreenController inner types define
24 struct RealmData {
25 public:
26 // member variables
27 // NOLINTBEGIN
28 ::ll::TypedStorage<8, 32, ::std::string> realmID;
29 ::ll::TypedStorage<8, 32, ::std::string> realmName;
30 ::ll::TypedStorage<8, 32, ::std::string> realmVersion;
31 ::ll::TypedStorage<8, 32, ::std::string> realmVersionName;
32 ::ll::TypedStorage<8, 32, ::std::string> currentUserXuid;
33 ::ll::TypedStorage<4, 4, int> slotIndex;
34 // NOLINTEND
35
36 public:
37 // member functions
38 // NOLINTBEGIN
39 MCAPI ~RealmData();
40 // NOLINTEND
41
42 public:
43 // destructor thunk
44 // NOLINTBEGIN
45 MCFOLD void $dtor();
46 // NOLINTEND
47 };
48
49public:
50 // member variables
51 // NOLINTBEGIN
52 ::ll::TypedStorage<8, 168, ::FileDownloadScreenController::RealmData> mRealmData;
53 ::ll::TypedStorage<4, 4, float> mDownloadProgress;
54 ::ll::TypedStorage<1, 1, bool> mContinueOnWifi;
55 ::ll::TypedStorage<8, 32, ::std::string const> mCorrelationId;
56 ::ll::TypedStorage<1, 1, bool> mWifiWarningDisplaying;
57 ::ll::TypedStorage<1, 1, bool> mDownloadStarted;
58 ::ll::TypedStorage<1, 1, bool> mIsWaitingForCancel;
59 ::ll::TypedStorage<4, 4, ::DownloadState> mDownloadState;
60 ::ll::TypedStorage<8, 64, ::std::function<void(bool)>> mCallback;
61 // NOLINTEND
62
63public:
64 // prevent constructor by default
65 FileDownloadScreenController();
66
67public:
68 // virtual functions
69 // NOLINTBEGIN
70 virtual ~FileDownloadScreenController() /*override*/;
71
72 virtual ::ui::DirtyFlag tick() /*override*/;
73
74 virtual ::std::string getAdditionalScreenInfo() const /*override*/;
75 // NOLINTEND
76
77public:
78 // member functions
79 // NOLINTBEGIN
80 MCAPI FileDownloadScreenController(
81 ::std::shared_ptr<::MainMenuScreenModel> model,
82 ::std::string const& realmID,
83 int slotIndex,
84 ::std::string const& realmName,
85 ::std::string const& realmVersion,
86 ::std::string const& realmVersionName,
87 ::std::function<void(bool)> callback
88 );
89
90 MCAPI void _displayDownloadErrorPopup(::DownloadError downloadError);
91
92 MCAPI void _registerBindings();
93
94 MCAPI void _registerEventHandlers();
95
96 MCAPI void _startDownload();
97
98 MCAPI ::std::string getTitleLabel() const;
99 // NOLINTEND
100
101public:
102 // constructor thunks
103 // NOLINTBEGIN
104 MCAPI void* $ctor(
105 ::std::shared_ptr<::MainMenuScreenModel> model,
106 ::std::string const& realmID,
107 int slotIndex,
108 ::std::string const& realmName,
109 ::std::string const& realmVersion,
110 ::std::string const& realmVersionName,
111 ::std::function<void(bool)> callback
112 );
113 // NOLINTEND
114
115public:
116 // destructor thunk
117 // NOLINTBEGIN
118 MCAPI void $dtor();
119 // NOLINTEND
120
121public:
122 // virtual function thunks
123 // NOLINTBEGIN
124 MCAPI ::ui::DirtyFlag $tick();
125
126 MCAPI ::std::string $getAdditionalScreenInfo() const;
127 // NOLINTEND
128
129public:
130 // vftables
131 // NOLINTBEGIN
133
134 MCNAPI static void** $vftableForScreenController();
135 // NOLINTEND
136};
Definition FileDownloadScreenController.h:5
static MCAPI void ** $vftableForEnableNonOwnerReferences()
static MCAPI void ** $vftableForScreenController()
Definition MainMenuScreenController.h:5
Definition MainMenuScreenModel.h:5
Definition FileDownloadScreenController.h:13