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() ;
77 ::IMinecraftEventing::RealmConnectionFlow fromFlow,
79 ::std::function<
void(::IMinecraftEventing::RealmConnectionResult, ::std::optional<::Realms::FailureReason>)>
81 ::MainMenuScreenController::StartRealmFailureAction failureAction,
82 ::std::function<
void()> onlineSafetyCancelledCallback
89 MCNAPI
void*
$ctor(::std::shared_ptr<::MainMenuScreenModel> model, ::ScreenExitBehavior exitBehavior);
Definition AsyncTracker.h:5
Definition DlcUIWrapper.h:5
Definition MainMenuScreenController.h:5
MCAPI::ui::ViewRequest attemptUserSignIn(::std::function< void()> adHocCallback)
MCAPI::std::string _checkTextEditEventForProfanityAndOpenWarning(::TextEditScreenEventData const &textEditEvent)
MCAPI::ui::ViewRequest _startLocalWorldSubRoutine(::LocalWorldInfo const &world, ::DlcUIWrapper &dlcUIWrapper, ::std::function< void(::LocalWorldInfo const &)> startLocalWorldCallback)
MCAPI void startRealm(::IMinecraftEventing::RealmConnectionFlow fromFlow, ::Realms::World &world, ::std::function< void(::IMinecraftEventing::RealmConnectionResult, ::std::optional<::Realms::FailureReason >)> callback, ::MainMenuScreenController::StartRealmFailureAction failureAction, ::std::function< void()> onlineSafetyCancelledCallback)
static MCAPI void ** $vftableForEnableNonOwnerReferences()
MCAPI void _displayWorldConversionErrorModalDialog(::Legacy::ImportStatus status)
static MCAPI void ** $vftableForScreenController()
MCAPI void _verifySkinApprovedBeforeJoin(::std::function< void()> const &joinCallback)
MCAPI void showInvalidCrossPlatformMultiplayerSkinModal()
MCAPI void * $ctor(::std::shared_ptr<::MainMenuScreenModel > model, ::ScreenExitBehavior exitBehavior)
MCAPI void confirmationNoCrossPlatformMultiplayerDialog(::std::function< void(::ModalScreenButtonId)> callback)
MCAPI MainMenuScreenController(::std::shared_ptr<::MainMenuScreenModel > model, ::ScreenExitBehavior exitBehavior)
MCAPI void confirmationNoCrossPlatformMultiplayerSkinDialog(::std::function< void()> callback)
Definition MainMenuScreenModel.h:5
Definition MinecraftScreenController.h:5
Definition LocalWorldInfo.h:5
Definition TextEditScreenEventData.h:5