LeviLamina
Loading...
Searching...
No Matches
CreatePhotoPacket.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/CreatePhotoPacketPayload.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(CreatePhotoPacket) {
20
21public:
22 // prevent constructor by default
23 CreatePhotoPacket();
24
25public:
26 // virtual functions
27 // NOLINTBEGIN
28 // vIndex: 1
29 virtual ::MinecraftPacketIds getId() const /*override*/;
30
31 // vIndex: 2
32 virtual ::std::string getName() const /*override*/;
33
34 // vIndex: 11
35 virtual ::SerializationMode getSerializationMode() const /*override*/;
36
37 // vIndex: 12
38 virtual void setSerializationMode(::SerializationMode mode) /*override*/;
39
40 // vIndex: 4
41 virtual void writeWithSerializationMode(
42 ::BinaryStream & stream,
43 ::cereal::ReflectionCtx const& reflectionCtx,
44 ::std::optional<::SerializationMode> overrideMode
45 ) const /*override*/;
46
47 // vIndex: 6
48 virtual void write(::BinaryStream & stream, ::cereal::ReflectionCtx const& reflectionCtx) const /*override*/;
49
50 // vIndex: 5
51 virtual void write(::BinaryStream & stream) const /*override*/;
52
53 // vIndex: 8
54 virtual ::Bedrock::Result<void> read(
55 ::ReadOnlyBinaryStream & bitStream,
56 ::cereal::ReflectionCtx const& reflectionCtx
57 ) /*override*/;
58
59 // vIndex: 9
60 virtual bool disallowBatching() const /*override*/;
61
62 // vIndex: 10
63 virtual bool isValid() const /*override*/;
64
65 // vIndex: 13
66 virtual ::std::string toString() const /*override*/;
67
68 // vIndex: 14
69 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream & stream) /*override*/;
70
71 // vIndex: 15
72 virtual ::Bedrock::Result<void> _read(
73 ::ReadOnlyBinaryStream & stream,
74 ::cereal::ReflectionCtx const& reflectionCtx
75 ) /*override*/;
76
77 // vIndex: 0
78 virtual ~CreatePhotoPacket() /*override*/ = default;
79 // NOLINTEND
80
81public:
82 // member functions
83 // NOLINTBEGIN
84 MCAPI explicit CreatePhotoPacket(::CreatePhotoPacketPayload payload);
85 // NOLINTEND
86
87public:
88 // constructor thunks
89 // NOLINTBEGIN
90 MCAPI void* $ctor(::CreatePhotoPacketPayload payload);
91 // NOLINTEND
92
93public:
94 // virtual function thunks
95 // NOLINTBEGIN
96 MCAPI ::MinecraftPacketIds $getId() const;
97
98 MCAPI ::std::string $getName() const;
99
100 MCFOLD ::SerializationMode $getSerializationMode() const;
101
102 MCFOLD void $setSerializationMode(::SerializationMode mode);
103
104 MCAPI void $writeWithSerializationMode(
105 ::BinaryStream & stream,
106 ::cereal::ReflectionCtx const& reflectionCtx,
107 ::std::optional<::SerializationMode> overrideMode
108 ) const;
109
110 MCFOLD void $write(::BinaryStream & stream, ::cereal::ReflectionCtx const& reflectionCtx) const;
111
112 MCAPI void $write(::BinaryStream & stream) const;
113
114 MCAPI ::Bedrock::Result<void> $read(
115 ::ReadOnlyBinaryStream & bitStream,
116 ::cereal::ReflectionCtx const& reflectionCtx
117 );
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}
136MC_NETWORK_PACKET_DECALARE_END
Definition BinaryStream.h:10
Definition ReadOnlyBinaryStream.h:8
STL namespace.
Definition CreatePhotoPacketPayload.h:8