3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/screens/controllers/PlayScreenController.h"
7#include "mc/util/UploadState.h"
12namespace Json {
class Value; }
13namespace Realms {
struct World; }
21 ::ll::TypedStorage<8, 32, ::std::string> mRealmID;
22 ::ll::TypedStorage<4, 4, int> mSlotIndex;
23 ::ll::TypedStorage<8, 64, ::std::function<void(::UploadState, ::Realms::World)>> mCallbackAfterUpload;
28 LocalWorldUploadScreenController();
33 virtual ~LocalWorldUploadScreenController() =
default;
35 virtual void onOpen() ;
37 virtual void addStaticScreenVars(::Json::Value& globalVars) ;
39 virtual void _registerEventHandlers() ;
45 MCAPI LocalWorldUploadScreenController(
46 ::std::shared_ptr<::PlayScreenModel> model,
47 ::std::string
const& realmID,
49 ::ui::ScreenTechStackSelector& techStackSelector,
50 ::std::function<
void(::UploadState, ::Realms::World)> callbackAfterUpload
53 MCAPI
void _displayLockedWorldPopup(
int worldIndex);
55 MCAPI
void _displayWorldIsTooBigPopup(
int);
57 MCAPI
void _upload(
int worldIndex);
64 ::std::shared_ptr<::PlayScreenModel> model,
65 ::std::string
const& realmID,
67 ::ui::ScreenTechStackSelector& techStackSelector,
68 ::std::function<
void(::UploadState, ::Realms::World)> callbackAfterUpload
77 MCAPI
void $addStaticScreenVars(::Json::Value& globalVars);
79 MCAPI
void $_registerEventHandlers();
Definition LocalWorldUploadScreenController.h:5
static MCAPI void ** $vftableForScreenController()
static MCAPI void ** $vftableForEnableNonOwnerReferences()
Definition PlayScreenController.h:5
Definition PlayScreenModel.h:5
Definition ScreenTechStackSelector.h:7