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
37#ifdef LL_PLAT_S
38public:
39 // prevent constructor by default
40 PlayerListEntry& operator=(PlayerListEntry const&);
41 PlayerListEntry(PlayerListEntry const&);
42 PlayerListEntry();
43
44#else // LL_PLAT_C
45public:
46 // prevent constructor by default
47 PlayerListEntry& operator=(PlayerListEntry const&);
48 PlayerListEntry();
49
50#endif
51public:
52 // member functions
53 // NOLINTBEGIN
54#ifdef LL_PLAT_C
55 MCAPI PlayerListEntry(::PlayerListEntry const&);
56#endif
57
58 MCAPI PlayerListEntry(::PlayerListEntry&&);
59
60 MCAPI explicit PlayerListEntry(::Player const& player);
61
62#ifdef LL_PLAT_C
63 MCAPI ::PlayerListEntry cloneExceptSkin() const;
64#endif
65
66 MCAPI ::PlayerListEntry& operator=(::PlayerListEntry&&);
67
68 MCAPI ::Bedrock::Result<void> read(::ReadOnlyBinaryStream& stream);
69
70 MCAPI ::Bedrock::Result<void> readRemove(::ReadOnlyBinaryStream& stream);
71
72 MCAPI void write(::BinaryStream& stream) const;
73
74 MCAPI ~PlayerListEntry();
75 // NOLINTEND
76
77public:
78 // constructor thunks
79 // NOLINTBEGIN
80#ifdef LL_PLAT_C
81 MCAPI void* $ctor(::PlayerListEntry const&);
82#endif
83
84 MCAPI void* $ctor(::PlayerListEntry&&);
85
86 MCAPI void* $ctor(::Player const& player);
87 // NOLINTEND
88
89public:
90 // destructor thunk
91 // NOLINTBEGIN
92 MCAPI void $dtor();
93 // NOLINTEND
94};
Definition BinaryStream.h:11
Definition Player.h:129
Definition ReadOnlyBinaryStream.h:8