LeviLamina
Loading...
Searching...
No Matches
UpdateSoftEnumPacket.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/UpdateSoftEnumPacketPayload.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(UpdateSoftEnumPacket) {
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 ~UpdateSoftEnumPacket() /*override*/;
75 // NOLINTEND
76
77public:
78 // member functions
79 // NOLINTBEGIN
80 MCAPI UpdateSoftEnumPacket();
81
82 MCAPI explicit UpdateSoftEnumPacket(::UpdateSoftEnumPacketPayload payload);
83 // NOLINTEND
84
85public:
86 // constructor thunks
87 // NOLINTBEGIN
88 MCAPI void* $ctor();
89
90 MCAPI void* $ctor(::UpdateSoftEnumPacketPayload payload);
91 // NOLINTEND
92
93public:
94 // destructor thunk
95 // NOLINTBEGIN
96 MCAPI void $dtor();
97 // NOLINTEND
98
99public:
100 // virtual function thunks
101 // NOLINTBEGIN
102 MCAPI ::MinecraftPacketIds $getId() const;
103
104 MCAPI ::std::string $getName() const;
105
106 MCFOLD ::SerializationMode $getSerializationMode() const;
107
108 MCFOLD void $setSerializationMode(::SerializationMode mode);
109
110 MCAPI void $writeWithSerializationMode(
111 ::BinaryStream & stream,
112 ::cereal::ReflectionCtx const& reflectionCtx,
113 ::std::optional<::SerializationMode> overrideMode
114 ) const;
115
116 MCFOLD void $write(::BinaryStream & bitStream, ::cereal::ReflectionCtx const& reflectionCtx) const;
117
118 MCAPI void $write(::BinaryStream & stream) const;
119
120 MCAPI ::Bedrock::Result<void> $read(
121 ::ReadOnlyBinaryStream & bitStream,
122 ::cereal::ReflectionCtx const& reflectionCtx
123 );
124
125 MCFOLD bool $disallowBatching() const;
126
127 MCFOLD bool $isValid() const;
128
129 MCAPI ::std::string $toString() const;
130
131 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream & stream);
132
133 MCAPI ::Bedrock::Result<void> $_read(
134 ::ReadOnlyBinaryStream & bitStream,
135 ::cereal::ReflectionCtx const& reflectionCtx
136 );
137 // NOLINTEND
138
139public:
140 // vftables
141 // NOLINTBEGIN
142 MCNAPI static void** $vftable();
143 // NOLINTEND
144}
145MC_NETWORK_PACKET_DECALARE_END
Definition BinaryStream.h:10
Definition ReadOnlyBinaryStream.h:8
STL namespace.
Definition UpdateSoftEnumPacketPayload.h:8