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
26public:
27 // member variables
28 // NOLINTBEGIN
29 ::ll::TypedStorage<8, 168, ::FileDownloadScreenController::RealmData> mRealmData;
30 ::ll::TypedStorage<4, 4, float> mDownloadProgress;
31 ::ll::TypedStorage<1, 1, bool> mContinueOnWifi;
32 ::ll::TypedStorage<8, 32, ::std::string const> mCorrelationId;
33 ::ll::TypedStorage<1, 1, bool> mWifiWarningDisplaying;
34 ::ll::TypedStorage<1, 1, bool> mDownloadStarted;
35 ::ll::TypedStorage<1, 1, bool> mIsWaitingForCancel;
36 ::ll::TypedStorage<4, 4, ::DownloadState> mDownloadState;
37 ::ll::TypedStorage<8, 64, ::std::function<void(bool)>> mCallback;
38 // NOLINTEND
39
40public:
41 // prevent constructor by default
42 FileDownloadScreenController();
43
44public:
45 // virtual functions
46 // NOLINTBEGIN
47 virtual ~FileDownloadScreenController() /*override*/;
48
49 virtual ::ui::DirtyFlag tick() /*override*/;
50
51 virtual ::std::string getAdditionalScreenInfo() const /*override*/;
52 // NOLINTEND
53
54public:
55 // member functions
56 // NOLINTBEGIN
57 MCAPI FileDownloadScreenController(
58 ::std::shared_ptr<::MainMenuScreenModel> model,
59 ::std::string const& realmID,
60 int slotIndex,
61 ::std::string const& realmName,
62 ::std::string const& realmVersion,
63 ::std::string const& realmVersionName,
64 ::std::function<void(bool)> callback
65 );
66
67 MCAPI void _displayDownloadErrorPopup(::DownloadError downloadError);
68
69 MCAPI void _registerBindings();
70
71 MCAPI void _registerEventHandlers();
72
73 MCAPI void _startDownload();
74
75 MCAPI ::std::string getTitleLabel() const;
76 // NOLINTEND
77
78public:
79 // constructor thunks
80 // NOLINTBEGIN
81 MCAPI void* $ctor(
82 ::std::shared_ptr<::MainMenuScreenModel> model,
83 ::std::string const& realmID,
84 int slotIndex,
85 ::std::string const& realmName,
86 ::std::string const& realmVersion,
87 ::std::string const& realmVersionName,
88 ::std::function<void(bool)> callback
89 );
90 // NOLINTEND
91
92public:
93 // destructor thunk
94 // NOLINTBEGIN
95 MCAPI void $dtor();
96 // NOLINTEND
97
98public:
99 // virtual function thunks
100 // NOLINTBEGIN
101 MCAPI ::ui::DirtyFlag $tick();
102
103 MCAPI ::std::string $getAdditionalScreenInfo() const;
104 // NOLINTEND
105
106public:
107 // vftables
108 // NOLINTBEGIN
110
111 MCNAPI static void** $vftableForScreenController();
112 // NOLINTEND
113};
Definition FileDownloadScreenController.h:5
static MCAPI void ** $vftableForEnableNonOwnerReferences()
static MCAPI void ** $vftableForScreenController()
Definition MainMenuScreenController.h:5
Definition MainMenuScreenModel.h:5
Definition FileDownloadScreenController.h:13