LeviLamina
Loading...
Searching...
No Matches
PlayerListEntry.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/math/Color.h"
7#include "mc/deps/core/platform/BuildPlatform.h"
8#include "mc/legacy/ActorUniqueID.h"
9#include "mc/platform/Result.h"
10#include "mc/platform/UUID.h"
11#include "mc/world/actor/player/SerializedSkinRef.h"
12
13// auto generated forward declare list
14// clang-format off
15class BinaryStream;
16class Player;
18// clang-format on
19
20class PlayerListEntry {
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mId;
25 ::ll::TypedStorage<8, 16, ::mce::UUID> mUUID;
26 ::ll::TypedStorage<8, 32, ::std::string> mName;
27 ::ll::TypedStorage<8, 32, ::std::string> mXUID;
28 ::ll::TypedStorage<8, 32, ::std::string> mPlatformOnlineId;
29 ::ll::TypedStorage<4, 4, ::BuildPlatform> mBuildPlatform;
30 ::ll::TypedStorage<8, 16, ::SerializedSkinRef> mSkin;
31 ::ll::TypedStorage<4, 16, ::mce::Color> mColor;
32 ::ll::TypedStorage<1, 1, bool> mIsTeacher;
33 ::ll::TypedStorage<1, 1, bool> mIsHost;
34 ::ll::TypedStorage<1, 1, bool> mIsSubClient;
35 // NOLINTEND
36
37public:
38 // prevent constructor by default
39 PlayerListEntry& operator=(PlayerListEntry const&);
40
41public:
42 // member functions
43 // NOLINTBEGIN
44 MCAPI PlayerListEntry();
45
46 MCAPI PlayerListEntry(::PlayerListEntry const&);
47
48 MCAPI explicit PlayerListEntry(::Player const& player);
49
50 MCAPI explicit PlayerListEntry(::mce::UUID uuid);
51
52 MCAPI ::PlayerListEntry clone() const;
53
54#ifdef LL_PLAT_C
55 MCAPI ::PlayerListEntry cloneExceptSkin() const;
56#endif
57
58 MCAPI ::PlayerListEntry& operator=(::PlayerListEntry&&);
59
60 MCAPI ::Bedrock::Result<void> read(::ReadOnlyBinaryStream& stream);
61
62 MCAPI ::Bedrock::Result<void> readRemove(::ReadOnlyBinaryStream& stream);
63
64 MCAPI void write(::BinaryStream& stream) const;
65
66 MCAPI void writeRemove(::BinaryStream& stream) const;
67
68 MCAPI ~PlayerListEntry();
69 // NOLINTEND
70
71public:
72 // constructor thunks
73 // NOLINTBEGIN
74 MCAPI void* $ctor();
75
76 MCAPI void* $ctor(::PlayerListEntry const&);
77
78 MCAPI void* $ctor(::Player const& player);
79
80 MCAPI void* $ctor(::mce::UUID uuid);
81 // NOLINTEND
82
83public:
84 // destructor thunk
85 // NOLINTBEGIN
86 MCAPI void $dtor();
87 // NOLINTEND
88};
Definition BinaryStream.h:11
Definition Player.h:136
Definition ReadOnlyBinaryStream.h:8
Definition UUID.h:7