3#include "mc/_HeaderOutputPredefine.h"
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"
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;
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;
65 FileDownloadScreenController();
70 virtual ~FileDownloadScreenController() ;
72 virtual ::ui::DirtyFlag tick() ;
74 virtual ::std::string getAdditionalScreenInfo() const ;
80 MCAPI FileDownloadScreenController(
81 ::std::shared_ptr<::MainMenuScreenModel> model,
82 ::std::
string const& realmID,
84 ::std::
string const& realmName,
85 ::std::
string const& realmVersion,
86 ::std::
string const& realmVersionName,
87 ::std::function<
void(
bool)> callback
90 MCAPI
void _displayDownloadErrorPopup(::DownloadError downloadError);
92 MCAPI
void _registerBindings();
94 MCAPI
void _registerEventHandlers();
96 MCAPI
void _startDownload();
98 MCAPI ::std::
string getTitleLabel() const;
105 ::std::shared_ptr<::MainMenuScreenModel> model,
106 ::std::
string const& realmID,
108 ::std::
string const& realmName,
109 ::std::
string const& realmVersion,
110 ::std::
string const& realmVersionName,
111 ::std::function<
void(
bool)> callback
124 MCAPI ::ui::DirtyFlag $tick();
126 MCAPI ::std::
string $getAdditionalScreenInfo() const;
Definition FileDownloadScreenController.h:5
static MCAPI void ** $vftableForEnableNonOwnerReferences()
static MCAPI void ** $vftableForScreenController()
Definition MainMenuScreenController.h:5
Definition MainMenuScreenModel.h:5
Definition FileDownloadScreenController.h:13