3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/ViewRequest.h"
7#include "mc/client/gui/screens/controllers/MinecraftScreenController.h"
8#include "mc/client/gui/screens/controllers/ModalScreenButtonId.h"
9#include "mc/client/gui/screens/controllers/ScreenExitBehavior.h"
10#include "mc/client/legacy/ImportStatus.h"
11#include "mc/client/network/realms/FailureReason.h"
12#include "mc/events/IMinecraftEventing.h"
21namespace Realms {
struct World; }
27 enum class StartRealmFailureAction :
int {
29 JustNotifyCallback = 1,
35 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::MainMenuScreenModel>> mMainMenuScreenModel;
36 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::AsyncTracker>> mAsyncTracker;
41 MainMenuScreenController();
46 virtual ~MainMenuScreenController() ;
48 virtual void onOpen() ;
54 MCAPI MainMenuScreenController(::std::shared_ptr<::MainMenuScreenModel> model, ::ScreenExitBehavior exitBehavior);
56 MCAPI ::std::string _checkTextEditEventForProfanityAndOpenWarning(::TextEditScreenEventData
const& textEditEvent);
58 MCAPI
void _displayWorldConversionErrorModalDialog(::Legacy::ImportStatus status);
60 MCAPI ::ui::ViewRequest _startLocalWorldSubRoutine(
61 ::LocalWorldInfo
const& world,
62 ::DlcUIWrapper& dlcUIWrapper,
63 ::std::function<
void(::LocalWorldInfo
const&)> startLocalWorldCallback
66 MCAPI
void _verifySkinApprovedBeforeJoin(::std::function<
void()>
const& joinCallback);
68 MCAPI ::ui::ViewRequest attemptUserSignIn(::std::function<
void()> adHocCallback);
70 MCAPI
void confirmationNoCrossPlatformMultiplayerDialog(::std::function<
void(::ModalScreenButtonId)> callback);
72 MCAPI
void confirmationNoCrossPlatformMultiplayerSkinDialog(::std::function<
void()> callback);
74 MCAPI
void showInvalidCrossPlatformMultiplayerSkinModal();
76 MCAPI
void startRealm(
77 ::IMinecraftEventing::RealmConnectionFlow fromFlow,
78 ::Realms::World& world,
79 ::std::function<
void(::IMinecraftEventing::RealmConnectionResult, ::std::optional<::Realms::FailureReason>)>
81 ::MainMenuScreenController::StartRealmFailureAction failureAction,
82 ::std::function<
void()> onlineSafetyCancelledCallback
89 MCAPI
void* $ctor(::std::shared_ptr<::MainMenuScreenModel> model, ::ScreenExitBehavior exitBehavior);
101 MCAPI
void $onOpen();
Definition AsyncTracker.h:5
Definition DlcUIWrapper.h:5
Definition MainMenuScreenController.h:5
static MCAPI void ** $vftableForEnableNonOwnerReferences()
static MCAPI void ** $vftableForScreenController()
Definition MainMenuScreenModel.h:5
Definition MinecraftScreenController.h:5
Definition LocalWorldInfo.h:5
Definition TextEditScreenEventData.h:5