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&);
41
42public:
43 // member functions
44 // NOLINTBEGIN
45 MCAPI PlayerListEntry();
46
47 MCAPI explicit PlayerListEntry(::Player const& player);
48
49 MCAPI ::PlayerListEntry& operator=(::PlayerListEntry&&);
50
51 MCAPI ::Bedrock::Result<void> read(::ReadOnlyBinaryStream& stream);
52
53 MCAPI ::Bedrock::Result<void> readRemove(::ReadOnlyBinaryStream& stream);
54
55 MCAPI void write(::BinaryStream& stream) const;
56
57 MCAPI ~PlayerListEntry();
58 // NOLINTEND
59
60public:
61 // constructor thunks
62 // NOLINTBEGIN
63 MCAPI void* $ctor();
64
65 MCAPI void* $ctor(::Player const& player);
66 // NOLINTEND
67
68public:
69 // destructor thunk
70 // NOLINTBEGIN
71 MCAPI void $dtor();
72 // NOLINTEND
73};
Definition BinaryStream.h:10
Definition PlayerListEntry.h:20
Definition Player.h:120
Definition ReadOnlyBinaryStream.h:8