LeviLamina
Loading...
Searching...
No Matches
MapCreateLockedCopyPacket.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/MapCreateLockedCopyPacketPayload.h"
9#include "mc/network/packet/cerealize/core/SerializationMode.h"
10#include "mc/platform/Result.h"
11
12// auto generated forward declare list
13// clang-format off
14class BinaryStream;
16namespace cereal { struct ReflectionCtx; }
17// clang-format on
18
19MC_NETWORK_PACKET_DECALARE(MapCreateLockedCopyPacket) {
20
21public:
22 // virtual functions
23 // NOLINTBEGIN
24 // vIndex: 1
25 virtual ::MinecraftPacketIds getId() const /*override*/;
26
27 // vIndex: 2
28 virtual ::std::string getName() const /*override*/;
29
30 // vIndex: 11
31 virtual ::SerializationMode getSerializationMode() const /*override*/;
32
33 // vIndex: 12
34 virtual void setSerializationMode(::SerializationMode mode) /*override*/;
35
36 // vIndex: 4
37 virtual void writeWithSerializationMode(
38 ::BinaryStream & stream,
39 ::cereal::ReflectionCtx const& reflectionCtx,
40 ::std::optional<::SerializationMode> overrideMode
41 ) const /*override*/;
42
43 // vIndex: 6
44 virtual void write(::BinaryStream & bitStream, ::cereal::ReflectionCtx const& reflectionCtx) const /*override*/;
45
46 // vIndex: 5
47 virtual void write(::BinaryStream & stream) const /*override*/;
48
49 // vIndex: 8
50 virtual ::Bedrock::Result<void> read(
51 ::ReadOnlyBinaryStream & bitStream,
52 ::cereal::ReflectionCtx const& reflectionCtx
53 ) /*override*/;
54
55 // vIndex: 9
56 virtual bool disallowBatching() const /*override*/;
57
58 // vIndex: 10
59 virtual bool isValid() const /*override*/;
60
61 // vIndex: 13
62 virtual ::std::string toString() const /*override*/;
63
64 // vIndex: 14
65 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream & stream) /*override*/;
66
67 // vIndex: 15
68 virtual ::Bedrock::Result<void> _read(
69 ::ReadOnlyBinaryStream & bitStream,
70 ::cereal::ReflectionCtx const& reflectionCtx
71 ) /*override*/;
72
73 // vIndex: 0
74 virtual ~MapCreateLockedCopyPacket() /*override*/;
75 // NOLINTEND
76
77public:
78 // destructor thunk
79 // NOLINTBEGIN
80 MCFOLD void $dtor();
81 // NOLINTEND
82
83public:
84 // virtual function thunks
85 // NOLINTBEGIN
86 MCAPI ::MinecraftPacketIds $getId() const;
87
88 MCAPI ::std::string $getName() const;
89
90 MCFOLD ::SerializationMode $getSerializationMode() const;
91
92 MCFOLD void $setSerializationMode(::SerializationMode mode);
93
94 MCAPI void $writeWithSerializationMode(
95 ::BinaryStream & stream,
96 ::cereal::ReflectionCtx const& reflectionCtx,
97 ::std::optional<::SerializationMode> overrideMode
98 ) const;
99
100 MCFOLD void $write(::BinaryStream & bitStream, ::cereal::ReflectionCtx const& reflectionCtx) const;
101
102 MCAPI void $write(::BinaryStream & stream) const;
103
104 MCAPI ::Bedrock::Result<void> $read(
105 ::ReadOnlyBinaryStream & bitStream,
106 ::cereal::ReflectionCtx const& reflectionCtx
107 );
108
109 MCFOLD bool $disallowBatching() const;
110
111 MCFOLD bool $isValid() const;
112
113 MCAPI ::std::string $toString() const;
114
115 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream & stream);
116
117 MCAPI ::Bedrock::Result<void> $_read(
118 ::ReadOnlyBinaryStream & bitStream,
119 ::cereal::ReflectionCtx const& reflectionCtx
120 );
121 // NOLINTEND
122
123public:
124 // vftables
125 // NOLINTBEGIN
126 MCNAPI static void** $vftable();
127 // NOLINTEND
128}
129MC_NETWORK_PACKET_DECALARE_END
Definition BinaryStream.h:10
Definition ReadOnlyBinaryStream.h:8
STL namespace.