LeviLamina
Loading...
Searching...
No Matches
PlayerListPacket.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/network/MinecraftPacketIds.h"
7#include "mc/network/Packet.h"
8#include "mc/network/packet/PlayerListPacketType.h"
9#include "mc/platform/Result.h"
10
11// auto generated forward declare list
12// clang-format off
13class BinaryStream;
14class PlayerListEntry;
16// clang-format on
17
18class PlayerListPacket : public ::Packet {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 24, ::std::vector<::PlayerListEntry>> mEntries;
23 ::ll::TypedStorage<1, 1, ::PlayerListPacketType> mAction;
24 // NOLINTEND
25
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 virtual ~PlayerListPacket() /*override*/;
30
31 virtual ::MinecraftPacketIds getId() const /*override*/;
32
33 virtual ::std::string_view getName() const /*override*/;
34
35 virtual void write(::BinaryStream& stream) const /*override*/;
36
37 virtual ::Bedrock::Result<void> read(::ReadOnlyBinaryStream& stream) /*override*/;
38
39 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
40 // NOLINTEND
41
42public:
43 // member functions
44 // NOLINTBEGIN
45 MCAPI PlayerListPacket();
46
47 MCAPI void emplace(::PlayerListEntry&& entry);
48 // NOLINTEND
49
50public:
51 // constructor thunks
52 // NOLINTBEGIN
53 MCAPI void* $ctor();
54 // NOLINTEND
55
56public:
57 // destructor thunk
58 // NOLINTBEGIN
59 MCAPI void $dtor();
60 // NOLINTEND
61
62public:
63 // virtual function thunks
64 // NOLINTBEGIN
65 MCAPI ::MinecraftPacketIds $getId() const;
66
67 MCAPI ::std::string_view $getName() const;
68
69 MCAPI void $write(::BinaryStream& stream) const;
70
71 MCFOLD ::Bedrock::Result<void> $read(::ReadOnlyBinaryStream& stream);
72
73 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
74
75
76 // NOLINTEND
77
78public:
79 // vftables
80 // NOLINTBEGIN
81 MCNAPI static void** $vftable();
82 // NOLINTEND
83};
Definition BinaryStream.h:11
Definition PlayerListEntry.h:20
static MCAPI void ** $vftable()
Definition ReadOnlyBinaryStream.h:8