3#include "mc/_HeaderOutputPredefine.h"
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"
16namespace Json {
class Value; }
35 ::ll::TypedStorage<8, 8, ::Social::XboxLiveUserProfileData const*> mUserProfileData;
36 ::ll::TypedStorage<1, 1, bool> mToggleState;
44 ::ll::TypedStorage<8, 192, ::Social::PlatformUserProfileData> mUserProfileData;
45 ::ll::TypedStorage<1, 1, bool> mToggleState;
51 MCAPI ~PlatformUserEntryData();
65 ::ll::TypedStorage<8, 8, ::Social::XboxLiveUserProfileData const*> mXboxUserProfileData;
66 ::ll::TypedStorage<8, 192, ::Social::PlatformUserProfileData> mPlatformUserProfileData;
67 ::ll::TypedStorage<1, 1, bool> mToggleState;
73 MCAPI ~LinkedUserEntryData();
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;
114 InviteScreenController();
119 virtual ~InviteScreenController() ;
121 virtual void queueTitleNarration() ;
123 virtual ::ui::DirtyFlag tick() ;
125 virtual void addStaticScreenVars(::Json::Value& globalVars) ;
127 virtual ::std::string _getButtonADescription() ;
129 virtual ::std::string _getButtonXDescription() ;
131 virtual ::std::string _getButtonYDescription() ;
137 MCAPI InviteScreenController(
138 ::std::shared_ptr<::MinecraftScreenModel> model,
139 ::Bedrock::NonOwnerPointer<::Parties::PartySystem> partySystem
142 MCAPI
void _addToDataList(::Social::PlatformUserProfileData
const& user);
144 MCAPI ::EntryType _getEntryTypeFromCollectionName(::std::string
const& collectionName)
const;
146 MCAPI ::std::string _getHoverText(::Social::XboxLiveUserProfileData
const* xboxUserProfileData)
const;
148 MCAPI ::std::string _getLinkedAccountFriendTitleName(
int collectionIndex)
const;
150 MCAPI uint _getTotalPages(::EntryType entryType)
const;
152 MCAPI uint _getVisibleEntries(::EntryType entryType)
const;
154 MCAPI ::std::string _getXboxFriendTitleName(
int collectionIndex)
const;
156 MCAPI ::std::string _getXboxLiveDisplayName(::Social::XboxLiveUserProfileData
const* xboxUserProfileData)
const;
158 MCAPI
void _refreshLinkedPlatformData(
159 ::std::vector<::std::string>
const& validXuidsForInviteList,
160 ::std::weak_ptr<bool> weakDataRequestExistenceTracker
163 MCAPI
void _refreshPlatformFriendsData();
165 MCAPI
void _refreshRealm();
167 MCAPI
void _refreshXboxLiveFriendsData();
169 MCAPI
void _refreshXuidData();
171 MCAPI
void _registerBindings();
173 MCAPI
void _registerEventHandlers();
175 MCAPI
void _sortDataList();
177 MCAPI
void _sortRealmsDataList();
184 ::std::shared_ptr<::MinecraftScreenModel> model,
185 ::Bedrock::NonOwnerPointer<::Parties::PartySystem> partySystem
198 MCAPI
void $queueTitleNarration();
200 MCAPI ::ui::DirtyFlag $tick();
202 MCAPI
void $addStaticScreenVars(::Json::Value& globalVars);
204 MCFOLD ::std::string $_getButtonADescription();
206 MCAPI ::std::string $_getButtonXDescription();
208 MCAPI ::std::string $_getButtonYDescription();
Definition InviteScreenController.h:5
static MCAPI void ** $vftableForScreenController()
static MCAPI void ** $vftableForEnableNonOwnerReferences()
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