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 _handleInvitationAccept(::UIPropertyBag* bag);
55
56 MCAPI ::ui::ViewRequest _handleInvitationDecline(::UIPropertyBag* bag);
57
58 MCAPI void _initialize();
59
60 MCAPI void _registerBindings();
61
62 MCAPI void _registerEventHandlers();
63 // NOLINTEND
64
65public:
66 // constructor thunks
67 // NOLINTBEGIN
68 MCAPI void* $ctor(::std::shared_ptr<::MainMenuScreenModel> model, bool hasPendingInvites);
69 // NOLINTEND
70
71public:
72 // virtual function thunks
73 // NOLINTBEGIN
74 MCAPI ::ui::DirtyFlag $tick();
75 // NOLINTEND
76
77public:
78 // vftables
79 // NOLINTBEGIN
81
82 MCNAPI static void** $vftableForScreenController();
83 // NOLINTEND
84};
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