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 bool _canCancelDownload() const;
91
92 MCAPI void _displayDownloadErrorPopup(::DownloadError downloadError);
93
94 MCAPI void _registerBindings();
95
96 MCAPI void _registerEventHandlers();
97
98 MCAPI void _startDownload();
99
100 MCAPI ::std::string getTitleLabel() const;
101 // NOLINTEND
102
103public:
104 // constructor thunks
105 // NOLINTBEGIN
106 MCAPI void* $ctor(
107 ::std::shared_ptr<::MainMenuScreenModel> model,
108 ::std::string const& realmID,
109 int slotIndex,
110 ::std::string const& realmName,
111 ::std::string const& realmVersion,
112 ::std::string const& realmVersionName,
113 ::std::function<void(bool)> callback
114 );
115 // NOLINTEND
116
117public:
118 // destructor thunk
119 // NOLINTBEGIN
120 MCAPI void $dtor();
121 // NOLINTEND
122
123public:
124 // virtual function thunks
125 // NOLINTBEGIN
126 MCAPI ::ui::DirtyFlag $tick();
127
128 MCAPI ::std::string $getAdditionalScreenInfo() const;
129 // NOLINTEND
130
131public:
132 // vftables
133 // NOLINTBEGIN
135
136 MCNAPI static void** $vftableForScreenController();
137 // NOLINTEND
138};
Definition FileDownloadScreenController.h:5
static MCAPI void ** $vftableForEnableNonOwnerReferences()
static MCAPI void ** $vftableForScreenController()
Definition MainMenuScreenController.h:5
Definition MainMenuScreenModel.h:5
Definition FileDownloadScreenController.h:13