Skip to content
LeviMC
English
AutoLightDark
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
14struct ActorUniqueID;
15struct PlayerListInfo;
16namespace mce { class UUID; }
17// clang-format on
18
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<8, 336, ::TaskGroup> mTaskGroup;
24 ::ll::TypedStorage<1, 1, ::std::atomic<bool>> mDirty;
25 ::ll::TypedStorage<1, 1, bool> mCanInvite;
26 ::ll::TypedStorage<8, 24, ::std::vector<::PlayerListInfo>> mPlayerList;
27 ::ll::TypedStorage<8, 24, ::std::vector<::mce::UUID>> mPlayerLobbyList;
28 ::ll::TypedStorage<8, 24, ::std::vector<::std::string>> mXuidList;
29 // NOLINTEND
30
31public:
32 // prevent constructor by default
33 UserDataScreenController();
34
35public:
36 // virtual functions
37 // NOLINTBEGIN
38 virtual ~UserDataScreenController() /*override*/ = default;
39
40 virtual ::ui::DirtyFlag tick() /*override*/;
41
42 virtual ::ui::DirtyFlag handleGameEventNotification(::ui::GameEventNotification notification) /*override*/;
43 // NOLINTEND
44
45public:
46 // member functions
47 // NOLINTBEGIN
48 MCNAPI explicit UserDataScreenController(::std::shared_ptr<::ClientInstanceScreenModel> model);
49
50 MCNAPI void _updatePlayerList();
51
52 MCNAPI ::PlayerListInfo getLocalPlayer() const;
53
54 MCNAPI ::PlayerListInfo getPlayerByAUID(::ActorUniqueID auid) const;
55 // NOLINTEND
56
57public:
58 // constructor thunks
59 // NOLINTBEGIN
60 MCNAPI void* $ctor(::std::shared_ptr<::ClientInstanceScreenModel> model);
61 // NOLINTEND
62
63public:
64 // virtual function thunks
65 // NOLINTBEGIN
66 MCNAPI ::ui::DirtyFlag $tick();
67
68 MCNAPI ::ui::DirtyFlag $handleGameEventNotification(::ui::GameEventNotification notification);
69 // NOLINTEND
70};
Definition ClientInstanceScreenController.h:5
Definition ClientInstanceScreenModel.h:5
Definition UserDataScreenController.h:5
MCAPI::PlayerListInfo getLocalPlayer() const
MCAPI::PlayerListInfo getPlayerByAUID(::ActorUniqueID auid) const
MCAPI::ui::DirtyFlag $tick()
MCAPI UserDataScreenController(::std::shared_ptr<::ClientInstanceScreenModel > model)
MCAPI void * $ctor(::std::shared_ptr<::ClientInstanceScreenModel > model)
MCAPI void _updatePlayerList()
MCAPI::ui::DirtyFlag $handleGameEventNotification(::ui::GameEventNotification notification)
Definition UUID.h:8
Definition ActorUniqueID.h:5
Definition PlayerListInfo.h:5