Skip to content
LeviMC
English
AutoLightDark
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
13class TaskGroup;
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 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::TaskGroup>> mTaskGroup;
40 // NOLINTEND
41
42public:
43 // virtual functions
44 // NOLINTBEGIN
45 virtual ~RealmsInviteLinkSettingsScreenController() /*override*/ = default;
46
47 virtual ::ui::DirtyFlag tick() /*override*/;
48
49 virtual bool _doesScreenHaveExitBehavior() const /*override*/;
50 // NOLINTEND
51
52public:
53 // member functions
54 // NOLINTBEGIN
55 MCNAPI void _displayLinkErrorModal(::std::string const& title, ::std::string const& body);
56
57 MCNAPI void _updateInviteLink(::Realms::InviteLink tempLink);
58 // NOLINTEND
59
60public:
61 // virtual function thunks
62 // NOLINTBEGIN
63 MCNAPI ::ui::DirtyFlag $tick();
64
65 MCNAPI bool $_doesScreenHaveExitBehavior() const;
66 // NOLINTEND
67};
Definition RealmsInviteLinkSettingsScreenController.h:5
MCAPI bool $_doesScreenHaveExitBehavior() const
MCAPI void _displayLinkErrorModal(::std::string const &title, ::std::string const &body)
MCAPI void _updateInviteLink(::Realms::InviteLink tempLink)
Definition SettingsScreenControllerBase.h:5
Definition TaskGroup.h:85
STL namespace.