3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/DirtyFlag.h"
7#include "mc/client/gui/screens/controllers/MinecraftScreenController.h"
8#include "mc/client/network/realms/World.h"
9#include "mc/client/social/PlatformUserProfileData.h"
10#include "mc/deps/core/threading/TaskGroup.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;
53 ::ll::TypedStorage<8, 8, ::Social::XboxLiveUserProfileData const*> mXboxUserProfileData;
54 ::ll::TypedStorage<8, 192, ::Social::PlatformUserProfileData> mPlatformUserProfileData;
55 ::ll::TypedStorage<1, 1, bool> mToggleState;
62 ::ll::TypedStorage<8, 24, ::std::vector<::InviteScreenController::XboxLiveUserEntryData>> mXboxLiveEntries;
63 ::ll::TypedStorage<8, 24, ::std::vector<::InviteScreenController::PlatformUserEntryData>> mPlatformEntries;
64 ::ll::TypedStorage<8, 24, ::std::vector<::InviteScreenController::LinkedUserEntryData>> mLinkedEntries;
65 ::ll::TypedStorage<8, 16, ::std::shared_ptr<bool>> mDataRequestExistenceTracker;
66 ::ll::TypedStorage<4, 4, int> mSelectedXboxCount;
67 ::ll::TypedStorage<4, 4, int> mSelectedPlatformCount;
68 ::ll::TypedStorage<4, 4, int> mSelectedLinkedAccountCount;
69 ::ll::TypedStorage<4, 4, uint> mXboxOnlineOffset;
70 ::ll::TypedStorage<4, 4, uint> mPlatformOnlineOffset;
71 ::ll::TypedStorage<4, 4, uint> mLinkedAccountOnlineOffset;
72 ::ll::TypedStorage<4, 24, ::std::array<uint, 6>> mEntryPages;
73 ::ll::TypedStorage<1, 1, bool> mDirty;
74 ::ll::TypedStorage<1, 1, bool> mInRealm;
75 ::ll::TypedStorage<1, 1, bool> mCanManageRealmMembers;
76 ::ll::TypedStorage<8, 720, ::Realms::World> mCurrentRealm;
77 ::ll::TypedStorage<1, 1, bool> mDataRefresh;
78 ::ll::TypedStorage<1, 1, bool> mIsLoadingFriends;
79 ::ll::TypedStorage<4, 4, int> mNumFriendsToLoad;
80 ::ll::TypedStorage<1, 1, bool> mShowLinkedAccounts;
81 ::ll::TypedStorage<1, 1, bool> mShowPlatformInvites;
82 ::ll::TypedStorage<1, 1, bool> mUsePagination;
83 ::ll::TypedStorage<1, 1, bool> mMakePartyInvite;
84 ::ll::TypedStorage<4, 4, uint> mEntriesPerPage;
85 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::Parties::PartySystem>> mPartySystem;
86 ::ll::TypedStorage<8, 336, ::TaskGroup> mTaskGroup;
91 InviteScreenController();
96 virtual ~InviteScreenController() =
default;
98 virtual void queueTitleNarration() ;
100 virtual ::ui::DirtyFlag tick() ;
102 virtual void addStaticScreenVars(::Json::Value& globalVars) ;
104 virtual ::std::string _getButtonADescription() ;
106 virtual ::std::string _getButtonXDescription() ;
108 virtual ::std::string _getButtonYDescription() ;
114 MCAPI InviteScreenController(
115 ::std::shared_ptr<::MinecraftScreenModel> model,
116 ::Bedrock::NonOwnerPointer<::Parties::PartySystem> partySystem
119 MCAPI ::std::string _getHoverText(::Social::XboxLiveUserProfileData
const* xboxUserProfileData)
const;
121 MCAPI ::std::string _getLinkedAccountFirstDisplayName(
int const collectionIndex)
const;
123 MCAPI ::std::string _getLinkedAccountFriendTitleName(
int const collectionIndex)
const;
125 MCAPI ::std::string _getPlatformDisplayName(
int const collectionIndex)
const;
127 MCAPI ::std::string _getPlatformFriendTitleName(
int const collectionIndex)
const;
129 MCAPI ::std::string _getXboxFriendTitleName(
int const collectionIndex)
const;
131 MCAPI ::std::string _getXboxLiveDisplayName(::Social::XboxLiveUserProfileData
const* xboxUserProfileData)
const;
133 MCAPI
void _refreshXboxLiveFriendsData();
135 MCAPI
void _sortDataList();
142 ::std::shared_ptr<::MinecraftScreenModel> model,
143 ::Bedrock::NonOwnerPointer<::Parties::PartySystem> partySystem
150 MCAPI
void $queueTitleNarration();
152 MCAPI ::ui::DirtyFlag $tick();
154 MCAPI
void $addStaticScreenVars(::Json::Value& globalVars);
156 MCFOLD ::std::string $_getButtonADescription();
158 MCAPI ::std::string $_getButtonXDescription();
160 MCAPI ::std::string $_getButtonYDescription();
Definition InviteScreenController.h:5
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