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