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/DownloadState.h"
27 ::ll::TypedStorage<8, 32, ::std::string> realmID;
28 ::ll::TypedStorage<8, 32, ::std::string> realmName;
29 ::ll::TypedStorage<8, 32, ::std::string> realmVersion;
30 ::ll::TypedStorage<8, 32, ::std::string> realmVersionName;
31 ::ll::TypedStorage<8, 32, ::std::string> currentUserXuid;
32 ::ll::TypedStorage<4, 4, int> slotIndex;
39 ::ll::TypedStorage<8, 168, ::FileDownloadScreenController::RealmData> mRealmData;
40 ::ll::TypedStorage<4, 4, float> mDownloadProgress;
41 ::ll::TypedStorage<1, 1, bool> mContinueOnWifi;
42 ::ll::TypedStorage<8, 32, ::std::string const> mCorrelationId;
43 ::ll::TypedStorage<1, 1, bool> mWifiWarningDisplaying;
44 ::ll::TypedStorage<1, 1, bool> mDownloadStarted;
45 ::ll::TypedStorage<1, 1, bool> mIsWaitingForCancel;
46 ::ll::TypedStorage<4, 4, ::DownloadState> mDownloadState;
47 ::ll::TypedStorage<8, 64, ::std::function<void(
bool)>> mCallback;
52 FileDownloadScreenController();
57 virtual ~FileDownloadScreenController() =
default;
59 virtual ::ui::DirtyFlag tick() ;
61 virtual ::std::string getAdditionalScreenInfo() const ;
67 MCAPI FileDownloadScreenController(
68 ::std::shared_ptr<::MainMenuScreenModel> model,
69 ::std::
string const& realmID,
71 ::std::
string const& realmName,
72 ::std::
string const& realmVersion,
73 ::std::
string const& realmVersionName,
74 ::std::function<
void(
bool)> callback
77 MCAPI
void _startDownload();
84 ::std::shared_ptr<::MainMenuScreenModel> model,
85 ::std::
string const& realmID,
87 ::std::
string const& realmName,
88 ::std::
string const& realmVersion,
89 ::std::
string const& realmVersionName,
90 ::std::function<
void(
bool)> callback
97 MCAPI ::ui::DirtyFlag $tick();
99 MCAPI ::std::
string $getAdditionalScreenInfo() const;
Definition FileDownloadScreenController.h:5
Definition MainMenuScreenController.h:5
Definition MainMenuScreenModel.h:5
Definition FileDownloadScreenController.h:13