3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/DirtyFlag.h"
7#include "mc/client/gui/screens/controllers/MainMenuScreenController.h"
8#include "mc/deps/core/file/FileUploadType.h"
9#include "mc/util/UploadState.h"
15namespace Realms {
struct World; }
22 ::ll::TypedStorage<8, 32, ::std::string> mRealmID;
23 ::ll::TypedStorage<4, 4, int> mSlotIndex;
24 ::ll::TypedStorage<8, 32, ::std::string> mFileID;
25 ::ll::TypedStorage<1, 1, bool> mNeedArchiving;
26 ::ll::TypedStorage<4, 4, float> mUploadProgress;
27 ::ll::TypedStorage<1, 1, bool> mContinueOnWifi;
28 ::ll::TypedStorage<8, 32, ::std::string const> mCorrelationId;
29 ::ll::TypedStorage<1, 1, bool> mWifiWarningDisplaying;
30 ::ll::TypedStorage<1, 1, bool> mUploadStarted;
31 ::ll::TypedStorage<4, 4, ::UploadState> mUploadState;
32 ::ll::TypedStorage<1, 1, bool> mPostUploadRefreshCompleted;
33 ::ll::TypedStorage<4, 4, ::Core::FileUploadType> mFileUploadType;
34 ::ll::TypedStorage<8, 64, ::std::function<void(::UploadState, ::Realms::World)>> mCallback;
35 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::FileUploadManager>> mFileUploadManager;
40 FileUploadScreenController();
45 virtual ~FileUploadScreenController() =
default;
47 virtual void onOpen() ;
49 virtual ::ui::DirtyFlag tick() ;
51 virtual ::std::string getAdditionalScreenInfo() const ;
57 MCAPI FileUploadScreenController(
58 ::std::shared_ptr<::MainMenuScreenModel> model,
59 ::std::
string const& realmID,
60 ::std::
string const& fileID,
63 ::Core::FileUploadType fileUploadType,
64 ::std::function<
void(::UploadState, ::Realms::World)> callback
67 MCAPI
void _displayPostUploadErrorPopup();
69 MCAPI
void _startUpload();
76 ::std::shared_ptr<::MainMenuScreenModel> model,
77 ::std::
string const& realmID,
78 ::std::
string const& fileID,
81 ::Core::FileUploadType fileUploadType,
82 ::std::function<
void(::UploadState, ::Realms::World)> callback
91 MCAPI ::ui::DirtyFlag $tick();
93 MCAPI ::std::
string $getAdditionalScreenInfo() const;
Definition FileUploadManager.h:22
Definition FileUploadScreenController.h:5
Definition MainMenuScreenController.h:5
Definition MainMenuScreenModel.h:5