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/SerializedSkin.h"
12
13// auto generated forward declare list
14// clang-format off
15class BinaryStream;
16class Player;
18// clang-format on
19
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, ::SerializedSkin> 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&);
42
43public:
44 // member functions
45 // NOLINTBEGIN
46 MCAPI explicit PlayerListEntry(::Player const& player);
47
48 MCAPI ::PlayerListEntry& operator=(::PlayerListEntry&&);
49
50 MCAPI ::Bedrock::Result<void> read(::ReadOnlyBinaryStream& stream);
51
52 MCAPI ::Bedrock::Result<void> readRemove(::ReadOnlyBinaryStream& stream);
53
54 MCAPI void write(::BinaryStream& stream) const;
55
56 MCAPI ~PlayerListEntry();
57 // NOLINTEND
58
59public:
60 // constructor thunks
61 // NOLINTBEGIN
62 MCAPI void* $ctor(::Player const& player);
63 // NOLINTEND
64
65public:
66 // destructor thunk
67 // NOLINTBEGIN
68 MCAPI void $dtor();
69 // NOLINTEND
70};
Definition BinaryStream.h:10
Definition PlayerListEntry.h:20
Definition Player.h:123
Definition ReadOnlyBinaryStream.h:8