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"
15namespace Realms {
struct Slot; }
16namespace 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<1, 1, bool> mIsFetching;
30 ::ll::TypedStorage<8, 24, ::std::vector<::RealmsWorldInfo>> mRealmsWorldsInfo;
31 ::ll::TypedStorage<8, 64, ::std::function<void(::Realms::World)>> mCallback;
32 ::ll::TypedStorage<8, 64, ::std::function<void()>> mOnCancelCallback;
33 ::ll::TypedStorage<4, 4, ::SlotSelectedAction> mSlotSelectedAction;
34 ::ll::TypedStorage<1, 1, bool> mRealmSlotSelected;
35 ::ll::TypedStorage<1, 1, bool> mShowingConfirmationDialog;
36 ::ll::TypedStorage<1, 1, bool> mIsChangingSlot;
41 ChooseRealmScreenController();
46 virtual void onCreation() ;
48 virtual void onOpen() ;
50 virtual void onDelete() ;
52 virtual ::ui::DirtyFlag tick() ;
58 MCAPI ChooseRealmScreenController(
59 ::std::shared_ptr<::MainMenuScreenModel> model,
60 ::std::function<
void(::Realms::World)> callback,
61 ::SlotSelectedAction selectionAction,
62 ::std::function<
void()> onCancelCallback
65 MCAPI ::Realms::Slot _getSlotAt(
int index);
67 MCAPI ::ui::ViewRequest _notifyCallback(::Realms::World world);
74 ::std::shared_ptr<::MainMenuScreenModel> model,
75 ::std::function<
void(::Realms::World)> callback,
76 ::SlotSelectedAction selectionAction,
77 ::std::function<
void()> onCancelCallback
84 MCAPI
void $onCreation();
88 MCAPI
void $onDelete();
90 MCAPI ::ui::DirtyFlag $tick();
Definition ChooseRealmScreenController.h:5
Definition MainMenuScreenController.h:5
Definition MainMenuScreenModel.h:5
Definition RealmsWorldInfo.h:5