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() ;
59 ::std::shared_ptr<::MainMenuScreenModel> model,
61 ::SlotSelectedAction selectionAction,
62 ::std::function<
void()> onCancelCallback
74 ::std::shared_ptr<::MainMenuScreenModel> model,
76 ::SlotSelectedAction selectionAction,
77 ::std::function<
void()> onCancelCallback
Definition ChooseRealmScreenController.h:5
MCAPI ChooseRealmScreenController(::std::shared_ptr<::MainMenuScreenModel > model, ::std::function< void(::Realms::World)> callback, ::SlotSelectedAction selectionAction, ::std::function< void()> onCancelCallback)
MCAPI void * $ctor(::std::shared_ptr<::MainMenuScreenModel > model, ::std::function< void(::Realms::World)> callback, ::SlotSelectedAction selectionAction, ::std::function< void()> onCancelCallback)
MCAPI::ui::ViewRequest _notifyCallback(::Realms::World world)
MCAPI::ui::DirtyFlag $tick()
MCAPI::Realms::Slot _getSlotAt(int index)
Definition MainMenuScreenController.h:5
Definition MainMenuScreenModel.h:5
Definition RealmsWorldInfo.h:5