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