LeviLamina
Loading...
Searching...
No Matches
InviteScreenController.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/EntryType.h"
8#include "mc/client/gui/screens/controllers/MinecraftScreenController.h"
9#include "mc/client/network/realms/World.h"
10#include "mc/client/social/PlatformUserProfileData.h"
11#include "mc/deps/core/utility/NonOwnerPointer.h"
12
13// auto generated forward declare list
14// clang-format off
16namespace Json { class Value; }
17namespace Parties { class PartySystem; }
18namespace Social { struct XboxLiveUserProfileData; }
19// clang-format on
20
22public:
23 // InviteScreenController inner types declare
24 // clang-format off
28 // clang-format on
29
30 // InviteScreenController inner types define
32 public:
33 // member variables
34 // NOLINTBEGIN
35 ::ll::TypedStorage<8, 8, ::Social::XboxLiveUserProfileData const*> mUserProfileData;
36 ::ll::TypedStorage<1, 1, bool> mToggleState;
37 // NOLINTEND
38 };
39
41 public:
42 // member variables
43 // NOLINTBEGIN
44 ::ll::TypedStorage<8, 192, ::Social::PlatformUserProfileData> mUserProfileData;
45 ::ll::TypedStorage<1, 1, bool> mToggleState;
46 // NOLINTEND
47
48 public:
49 // member functions
50 // NOLINTBEGIN
51 MCAPI ~PlatformUserEntryData();
52 // NOLINTEND
53
54 public:
55 // destructor thunk
56 // NOLINTBEGIN
57 MCAPI void $dtor();
58 // NOLINTEND
59 };
60
61 struct LinkedUserEntryData {
62 public:
63 // member variables
64 // NOLINTBEGIN
65 ::ll::TypedStorage<8, 8, ::Social::XboxLiveUserProfileData const*> mXboxUserProfileData;
66 ::ll::TypedStorage<8, 192, ::Social::PlatformUserProfileData> mPlatformUserProfileData;
67 ::ll::TypedStorage<1, 1, bool> mToggleState;
68 // NOLINTEND
69
70 public:
71 // member functions
72 // NOLINTBEGIN
73 MCAPI ~LinkedUserEntryData();
74 // NOLINTEND
75
76 public:
77 // destructor thunk
78 // NOLINTBEGIN
79 MCFOLD void $dtor();
80 // NOLINTEND
81 };
82
83public:
84 // member variables
85 // NOLINTBEGIN
86 ::ll::TypedStorage<8, 24, ::std::vector<::InviteScreenController::XboxLiveUserEntryData>> mXboxLiveEntries;
87 ::ll::TypedStorage<8, 24, ::std::vector<::InviteScreenController::PlatformUserEntryData>> mPlatformEntries;
88 ::ll::TypedStorage<8, 24, ::std::vector<::InviteScreenController::LinkedUserEntryData>> mLinkedEntries;
89 ::ll::TypedStorage<8, 16, ::std::shared_ptr<bool>> mDataRequestExistenceTracker;
90 ::ll::TypedStorage<4, 4, int> mSelectedXboxCount;
91 ::ll::TypedStorage<4, 4, int> mSelectedPlatformCount;
92 ::ll::TypedStorage<4, 4, int> mSelectedLinkedAccountCount;
93 ::ll::TypedStorage<4, 4, uint> mXboxOnlineOffset;
94 ::ll::TypedStorage<4, 4, uint> mPlatformOnlineOffset;
95 ::ll::TypedStorage<4, 4, uint> mLinkedAccountOnlineOffset;
96 ::ll::TypedStorage<4, 24, ::std::array<uint, 6>> mEntryPages;
97 ::ll::TypedStorage<1, 1, bool> mDirty;
98 ::ll::TypedStorage<1, 1, bool> mInRealm;
99 ::ll::TypedStorage<1, 1, bool> mCanManageRealmMembers;
100 ::ll::TypedStorage<8, 656, ::Realms::World> mCurrentRealm;
101 ::ll::TypedStorage<1, 1, bool> mDataRefresh;
102 ::ll::TypedStorage<1, 1, bool> mIsLoadingFriends;
103 ::ll::TypedStorage<4, 4, int> mNumFriendsToLoad;
104 ::ll::TypedStorage<1, 1, bool> mShowLinkedAccounts;
105 ::ll::TypedStorage<1, 1, bool> mShowPlatformInvites;
106 ::ll::TypedStorage<1, 1, bool> mUsePagination;
107 ::ll::TypedStorage<1, 1, bool> mMakePartyInvite;
108 ::ll::TypedStorage<4, 4, uint> mEntriesPerPage;
109 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::Parties::PartySystem>> mPartySystem;
110 // NOLINTEND
111
112public:
113 // prevent constructor by default
114 InviteScreenController();
115
116public:
117 // virtual functions
118 // NOLINTBEGIN
119 virtual ~InviteScreenController() /*override*/;
120
121 virtual void queueTitleNarration() /*override*/;
122
123 virtual ::ui::DirtyFlag tick() /*override*/;
124
125 virtual void addStaticScreenVars(::Json::Value& globalVars) /*override*/;
126
127 virtual ::std::string _getButtonADescription() /*override*/;
128
129 virtual ::std::string _getButtonXDescription() /*override*/;
130
131 virtual ::std::string _getButtonYDescription() /*override*/;
132 // NOLINTEND
133
134public:
135 // member functions
136 // NOLINTBEGIN
137 MCAPI InviteScreenController(
138 ::std::shared_ptr<::MinecraftScreenModel> model,
139 ::Bedrock::NonOwnerPointer<::Parties::PartySystem> partySystem
140 );
141
142 MCAPI void _addToDataList(::Social::PlatformUserProfileData const& user);
143
144 MCAPI ::EntryType _getEntryTypeFromCollectionName(::std::string const& collectionName) const;
145
146 MCAPI ::std::string _getHoverText(::Social::XboxLiveUserProfileData const* xboxUserProfileData) const;
147
148 MCAPI ::std::string _getLinkedAccountFriendTitleName(int collectionIndex) const;
149
150 MCAPI uint _getTotalPages(::EntryType entryType) const;
151
152 MCAPI uint _getVisibleEntries(::EntryType entryType) const;
153
154 MCAPI ::std::string _getXboxFriendTitleName(int collectionIndex) const;
155
156 MCAPI ::std::string _getXboxLiveDisplayName(::Social::XboxLiveUserProfileData const* xboxUserProfileData) const;
157
158 MCAPI void _refreshLinkedPlatformData(
159 ::std::vector<::std::string> const& validXuidsForInviteList,
160 ::std::weak_ptr<bool> weakDataRequestExistenceTracker
161 );
162
163 MCAPI void _refreshPlatformFriendsData();
164
165 MCAPI void _refreshRealm();
166
167 MCAPI void _refreshXboxLiveFriendsData();
168
169 MCAPI void _refreshXuidData();
170
171 MCAPI void _registerBindings();
172
173 MCAPI void _registerEventHandlers();
174
175 MCAPI void _sortDataList();
176
177 MCAPI void _sortRealmsDataList();
178 // NOLINTEND
179
180public:
181 // constructor thunks
182 // NOLINTBEGIN
183 MCAPI void* $ctor(
184 ::std::shared_ptr<::MinecraftScreenModel> model,
185 ::Bedrock::NonOwnerPointer<::Parties::PartySystem> partySystem
186 );
187 // NOLINTEND
188
189public:
190 // destructor thunk
191 // NOLINTBEGIN
192 MCAPI void $dtor();
193 // NOLINTEND
194
195public:
196 // virtual function thunks
197 // NOLINTBEGIN
198 MCAPI void $queueTitleNarration();
199
200 MCAPI ::ui::DirtyFlag $tick();
201
202 MCAPI void $addStaticScreenVars(::Json::Value& globalVars);
203
204 MCFOLD ::std::string $_getButtonADescription();
205
206 MCAPI ::std::string $_getButtonXDescription();
207
208 MCAPI ::std::string $_getButtonYDescription();
209 // NOLINTEND
210
211public:
212 // vftables
213 // NOLINTBEGIN
215
216 MCNAPI static void** $vftableForScreenController();
217 // NOLINTEND
218};
Definition InviteScreenController.h:5
static MCAPI void ** $vftableForScreenController()
static MCAPI void ** $vftableForEnableNonOwnerReferences()
Definition Value.h:16
Definition MinecraftScreenController.h:5
Definition MinecraftScreenModel.h:5
Definition PartySystem.h:7
Definition InviteScreenController.h:19
Definition InviteScreenController.h:17
Definition InviteScreenController.h:15
Definition XboxLiveUserProfileData.h:7