LeviLamina
Loading...
Searching...
No Matches
RealmsPendingInvitationsScreenController.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/ViewRequest.h"
8#include "mc/client/gui/screens/controllers/MainMenuScreenController.h"
9
10// auto generated forward declare list
11// clang-format off
13class UIPropertyBag;
14namespace Invites { struct Invite; }
15// clang-format on
16
18public:
19 // RealmsPendingInvitationsScreenController inner types define
20 using InviteList = ::std::vector<::Invites::Invite>;
21
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<1, 1, bool> mDirty;
26 ::ll::TypedStorage<8, 24, ::std::vector<::Invites::Invite>> mPendingInvitesList;
27 ::ll::TypedStorage<1, 1, bool> mPendingAsyncOperation;
28 ::ll::TypedStorage<8, 8, ::std::chrono::steady_clock::time_point> mLastUpdate;
29 ::ll::TypedStorage<1, 1, bool> mHasPendingInvites;
30 ::ll::TypedStorage<1, 1, bool> mShowOnlyFriendInvites;
31 ::ll::TypedStorage<4, 4, int> mFriendInvites;
32 // NOLINTEND
33
34public:
35 // prevent constructor by default
36 RealmsPendingInvitationsScreenController();
37
38public:
39 // virtual functions
40 // NOLINTBEGIN
41 virtual ~RealmsPendingInvitationsScreenController() /*override*/ = default;
42
43 virtual ::ui::DirtyFlag tick() /*override*/;
44 // NOLINTEND
45
46public:
47 // member functions
48 // NOLINTBEGIN
49 MCAPI
50 RealmsPendingInvitationsScreenController(::std::shared_ptr<::MainMenuScreenModel> model, bool hasPendingInvites);
51
52 MCAPI void _fetchPendingInvites();
53
54 MCAPI ::ui::ViewRequest _handleInvitationDecline(::UIPropertyBag* bag);
55
56 MCAPI void _registerBindings();
57 // NOLINTEND
58
59public:
60 // constructor thunks
61 // NOLINTBEGIN
62 MCAPI void* $ctor(::std::shared_ptr<::MainMenuScreenModel> model, bool hasPendingInvites);
63 // NOLINTEND
64
65public:
66 // virtual function thunks
67 // NOLINTBEGIN
68 MCAPI ::ui::DirtyFlag $tick();
69 // NOLINTEND
70
71public:
72 // vftables
73 // NOLINTBEGIN
75
76 MCNAPI static void** $vftableForScreenController();
77 // NOLINTEND
78};
Definition MainMenuScreenController.h:5
Definition MainMenuScreenModel.h:5
Definition RealmsPendingInvitationsScreenController.h:5
static MCAPI void ** $vftableForScreenController()
static MCAPI void ** $vftableForEnableNonOwnerReferences()
Definition UIPropertyBag.h:5
Definition Invite.h:7