3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/DirtyFlag.h"
7#include "mc/client/gui/screens/controllers/SettingsScreenControllerBase.h"
8#include "mc/client/network/realms/InviteLink.h"
9#include "mc/client/network/realms/World.h"
19 enum class ExpirationDuration :
int {
33 ::ll::TypedStorage<8, 720, ::Realms::World> mWorld;
34 ::ll::TypedStorage<8, 152, ::Realms::InviteLink> mInviteLink;
35 ::ll::TypedStorage<4, 4, ::RealmsInviteLinkSettingsScreenController::ExpirationDuration> mPendingExpirationDuration;
36 ::ll::TypedStorage<4, 4, ::RealmsInviteLinkSettingsScreenController::ExpirationDuration> mExpirationDuration;
37 ::ll::TypedStorage<1, 1, bool> mReadyForCopy;
38 ::ll::TypedStorage<1, 1, bool> mRefreshScreen;
43 RealmsInviteLinkSettingsScreenController();
48 virtual ~RealmsInviteLinkSettingsScreenController() =
default;
50 virtual ::ui::DirtyFlag tick() ;
52 virtual bool _doesScreenHaveExitBehavior() const ;
58 MCAPI RealmsInviteLinkSettingsScreenController(
59 ::std::shared_ptr<::MainMenuScreenModel> model,
60 ::Realms::World const& world,
61 ::Realms::InviteLink const& link
64 MCAPI
void _displayLinkErrorModal(::std::
string const& title, ::std::
string const& body);
66 MCAPI
void _updateInviteLink(::Realms::InviteLink tempLink);
73 ::std::shared_ptr<::MainMenuScreenModel> model,
74 ::Realms::World const& world,
75 ::Realms::InviteLink const& link
82 MCAPI ::ui::DirtyFlag $tick();
84 MCFOLD
bool $_doesScreenHaveExitBehavior() const;
Definition MainMenuScreenModel.h:5
Definition RealmsInviteLinkSettingsScreenController.h:5
Definition SettingsScreenControllerBase.h:5