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() ;
46 ::std::shared_ptr<::PlayScreenModel> model,
47 ::std::string
const& realmID,
50 ::std::function<
void(::UploadState,
::Realms::World)> callbackAfterUpload
53 MCNAPI
void _upload(
int const worldIndex);
60 ::std::shared_ptr<::PlayScreenModel> model,
61 ::std::string
const& realmID,
64 ::std::function<
void(::UploadState,
::Realms::World)> callbackAfterUpload
Definition LocalWorldUploadScreenController.h:5
MCAPI LocalWorldUploadScreenController(::std::shared_ptr<::PlayScreenModel > model, ::std::string const &realmID, int slotIndex, ::ui::ScreenTechStackSelector &techStackSelector, ::std::function< void(::UploadState, ::Realms::World)> callbackAfterUpload)
MCAPI void $addStaticScreenVars(::Json::Value &globalVars)
MCAPI void $_registerEventHandlers()
MCAPI void _upload(int const worldIndex)
MCAPI void * $ctor(::std::shared_ptr<::PlayScreenModel > model, ::std::string const &realmID, int slotIndex, ::ui::ScreenTechStackSelector &techStackSelector, ::std::function< void(::UploadState, ::Realms::World)> callbackAfterUpload)
Definition PlayScreenController.h:5
Definition PlayScreenModel.h:5
Definition ScreenTechStackSelector.h:7