3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/DirtyFlag.h"
7#include "mc/client/gui/ViewRequest.h"
8#include "mc/client/gui/screens/controllers/MainMenuScreenController.h"
9#include "mc/client/gui/screens/controllers/SlotSelectedAction.h"
14namespace Realms {
struct Slot; }
15namespace Realms {
struct World; }
23 ::ll::TypedStorage<1, 1, bool> mDirty;
24 ::ll::TypedStorage<1, 1, bool> mSlotsViewToggle;
25 ::ll::TypedStorage<1, 1, bool> mProgressLoadingVisible;
26 ::ll::TypedStorage<4, 4, int> mCurrentRealmIndex;
27 ::ll::TypedStorage<8, 32, ::std::string> mCurrentSlotImage;
28 ::ll::TypedStorage<8, 32, ::std::string> mCurrentSlotImagePath;
29 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::RealmsScreenUtils::RealmsWorldLoadingDetailsGroup>>
30 mRealmsWorldLoadingDetailsGroup;
31 ::ll::TypedStorage<1, 1, bool> mDoneLoading;
32 ::ll::TypedStorage<8, 64, ::std::function<void(::Realms::World)>> mCallback;
33 ::ll::TypedStorage<8, 64, ::std::function<void()>> mOnCancelCallback;
34 ::ll::TypedStorage<4, 4, ::SlotSelectedAction> mSlotSelectedAction;
35 ::ll::TypedStorage<1, 1, bool> mRealmSlotSelected;
36 ::ll::TypedStorage<1, 1, bool> mShowingConfirmationDialog;
37 ::ll::TypedStorage<1, 1, bool> mIsChangingSlot;
42 ChooseRealmScreenController();
47 virtual void onCreation() ;
49 virtual void onOpen() ;
51 virtual void onDelete() ;
53 virtual ::ui::DirtyFlag tick() ;
55 virtual ~ChooseRealmScreenController() ;
61 MCAPI ChooseRealmScreenController(
62 ::std::shared_ptr<::MainMenuScreenModel> model,
63 ::std::function<
void(::Realms::World)> callback,
64 ::SlotSelectedAction selectionAction,
65 ::std::function<
void()> onCancelCallback
68 MCAPI
void _fetchUserWorlds();
70 MCAPI ::Realms::Slot _getSlotAt(
int index);
72 MCAPI ::ui::ViewRequest _notifyCallback(::Realms::World world);
74 MCAPI
void _registerBindings();
76 MCAPI
void _registerEvents();
83 ::std::shared_ptr<::MainMenuScreenModel> model,
84 ::std::function<
void(::Realms::World)> callback,
85 ::SlotSelectedAction selectionAction,
86 ::std::function<
void()> onCancelCallback
99 MCAPI
void $onCreation();
101 MCAPI
void $onOpen();
103 MCAPI
void $onDelete();
105 MCAPI ::ui::DirtyFlag $tick();
Definition ChooseRealmScreenController.h:5
static MCAPI void ** $vftableForScreenController()
static MCAPI void ** $vftableForEnableNonOwnerReferences()
Definition MainMenuScreenController.h:5
Definition MainMenuScreenModel.h:5
Definition RealmsWorldLoadingDetailsGroup.h:7