LeviLamina
Loading...
Searching...
No Matches
UserDataScreenController.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/GameEventNotification.h"
8#include "mc/client/gui/screens/controllers/ClientInstanceScreenController.h"
9#include "mc/deps/core/threading/TaskGroup.h"
10
11// auto generated forward declare list
12// clang-format off
14class PlayerListEntry;
15struct ActorUniqueID;
16struct PlayerListInfo;
17namespace mce { class UUID; }
18// clang-format on
19
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<8, 336, ::TaskGroup> mTaskGroup;
25 ::ll::TypedStorage<1, 1, ::std::atomic<bool>> mDirty;
26 ::ll::TypedStorage<1, 1, bool> mCanInvite;
27 ::ll::TypedStorage<8, 24, ::std::vector<::PlayerListInfo>> mPlayerList;
28 ::ll::TypedStorage<8, 24, ::std::vector<::mce::UUID>> mPlayerLobbyList;
29 ::ll::TypedStorage<8, 24, ::std::vector<::std::string>> mXuidList;
30 // NOLINTEND
31
32public:
33 // prevent constructor by default
34 UserDataScreenController();
35
36public:
37 // virtual functions
38 // NOLINTBEGIN
39 virtual ~UserDataScreenController() /*override*/;
40
41 virtual ::ui::DirtyFlag tick() /*override*/;
42
43 virtual ::ui::DirtyFlag handleGameEventNotification(::ui::GameEventNotification notification) /*override*/;
44 // NOLINTEND
45
46public:
47 // member functions
48 // NOLINTBEGIN
49 MCAPI explicit UserDataScreenController(::std::shared_ptr<::ClientInstanceScreenModel> model);
50
51 MCAPI void _addEntryToPlayerList(::PlayerListEntry const& entry);
52
53 MCAPI void _addUserToPlayerList();
54
55 MCAPI void _registerBindings();
56
57 MCAPI void _registerEventHandlers();
58
59 MCAPI void _requestPlayerProfileImages(::std::vector<::std::string> const& xuids);
60
61 MCAPI void _requestThirdPartyPics(::std::vector<::std::pair<::mce::UUID, ::std::string>> const& uuids);
62
63 MCAPI void _updatePlayerList();
64
65 MCAPI ::PlayerListInfo getLocalPlayer() const;
66
67 MCAPI ::PlayerListInfo getPlayerByAUID(::ActorUniqueID auid) const;
68
69 MCAPI ::std::vector<::PlayerListInfo> const& getPlayerList();
70 // NOLINTEND
71
72public:
73 // constructor thunks
74 // NOLINTBEGIN
75 MCAPI void* $ctor(::std::shared_ptr<::ClientInstanceScreenModel> model);
76 // NOLINTEND
77
78public:
79 // destructor thunk
80 // NOLINTBEGIN
81 MCAPI void $dtor();
82 // NOLINTEND
83
84public:
85 // virtual function thunks
86 // NOLINTBEGIN
87 MCAPI ::ui::DirtyFlag $tick();
88
89 MCAPI ::ui::DirtyFlag $handleGameEventNotification(::ui::GameEventNotification notification);
90 // NOLINTEND
91
92public:
93 // vftables
94 // NOLINTBEGIN
95 MCNAPI static void** $vftableForScreenController();
96
98 // NOLINTEND
99};
Definition ClientInstanceScreenController.h:5
Definition ClientInstanceScreenModel.h:5
Definition PlayerListEntry.h:20
Definition UserDataScreenController.h:5
static MCAPI void ** $vftableForScreenController()
static MCAPI void ** $vftableForEnableNonOwnerReferences()
Definition UUID.h:7
Definition ActorUniqueID.h:10
Definition PlayerListInfo.h:5