LeviLamina
Loading...
Searching...
No Matches
RealmsInviteLinkSettingsScreenController.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
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"
10
11// auto generated forward declare list
12// clang-format off
14// clang-format on
15
17public:
18 // RealmsInviteLinkSettingsScreenController inner types define
19 enum class ExpirationDuration : int {
20 Unset = 0,
21 Never = 1,
22 HalfHour = 2,
23 Hour = 3,
24 QuarterDay = 4,
25 HalfDay = 5,
26 Day = 6,
27 Week = 7,
28 };
29
30public:
31 // member variables
32 // NOLINTBEGIN
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;
39 // NOLINTEND
40
41public:
42 // prevent constructor by default
43 RealmsInviteLinkSettingsScreenController();
44
45public:
46 // virtual functions
47 // NOLINTBEGIN
48 virtual ~RealmsInviteLinkSettingsScreenController() /*override*/ = default;
49
50 virtual ::ui::DirtyFlag tick() /*override*/;
51
52 virtual bool _doesScreenHaveExitBehavior() const /*override*/;
53 // NOLINTEND
54
55public:
56 // member functions
57 // NOLINTBEGIN
58 MCAPI RealmsInviteLinkSettingsScreenController(
59 ::std::shared_ptr<::MainMenuScreenModel> model,
60 ::Realms::World const& world,
61 ::Realms::InviteLink const& link
62 );
63
64 MCAPI void _displayLinkErrorModal(::std::string const& title, ::std::string const& body);
65
66 MCAPI void _updateInviteLink(::Realms::InviteLink tempLink);
67 // NOLINTEND
68
69public:
70 // constructor thunks
71 // NOLINTBEGIN
72 MCAPI void* $ctor(
73 ::std::shared_ptr<::MainMenuScreenModel> model,
74 ::Realms::World const& world,
75 ::Realms::InviteLink const& link
76 );
77 // NOLINTEND
78
79public:
80 // virtual function thunks
81 // NOLINTBEGIN
82 MCAPI ::ui::DirtyFlag $tick();
83
84 MCFOLD bool $_doesScreenHaveExitBehavior() const;
85 // NOLINTEND
86};
Definition MainMenuScreenModel.h:5
Definition RealmsInviteLinkSettingsScreenController.h:5
Definition SettingsScreenControllerBase.h:5