LeviLamina
Loading...
Searching...
No Matches
GraphicsOverrideParameterPacket.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/GraphicsOverrideParameterPacketPayload.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
19class GraphicsOverrideParameterPacket : public ::ll::PayloadPacket<::GraphicsOverrideParameterPacketPayload> {
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<4, 4, ::SerializationMode> mSerializationMode;
24 // NOLINTEND
25
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 // vIndex: 1
30 virtual ::MinecraftPacketIds getId() const /*override*/;
31
32 // vIndex: 2
33 virtual ::std::string getName() const /*override*/;
34
35 // vIndex: 12
36 virtual ::SerializationMode getSerializationMode() const /*override*/;
37
38 // vIndex: 13
39 virtual void setSerializationMode(::SerializationMode mode) /*override*/;
40
41 // vIndex: 5
42 virtual void writeWithSerializationMode(
43 ::BinaryStream& stream,
44 ::cereal::ReflectionCtx const& reflectionCtx,
45 ::std::optional<::SerializationMode> overrideMode
46 ) const /*override*/;
47
48 // vIndex: 7
49 virtual void write(::BinaryStream& bitStream, ::cereal::ReflectionCtx const& reflectionCtx) const /*override*/;
50
51 // vIndex: 6
52 virtual void write(::BinaryStream& stream) const /*override*/;
53
54 // vIndex: 9
55 virtual ::Bedrock::Result<void>
56 read(::ReadOnlyBinaryStream& bitStream, ::cereal::ReflectionCtx const& reflectionCtx) /*override*/;
57
58 // vIndex: 10
59 virtual bool disallowBatching() const /*override*/;
60
61 // vIndex: 11
62 virtual bool isValid() const /*override*/;
63
64 // vIndex: 3
65 virtual uint64 getMaxSize() const /*override*/;
66
67 // vIndex: 14
68 virtual ::std::string toString() const /*override*/;
69
70 // vIndex: 15
71 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
72
73 // vIndex: 16
74 virtual ::Bedrock::Result<void>
75 _read(::ReadOnlyBinaryStream& stream, ::cereal::ReflectionCtx const& reflectionCtx) /*override*/;
76
77 // vIndex: 0
78 virtual ~GraphicsOverrideParameterPacket() /*override*/ = default;
79 // NOLINTEND
80
81public:
82 // member functions
83 // NOLINTBEGIN
85 // NOLINTEND
86
87public:
88 // constructor thunks
89 // NOLINTBEGIN
90 MCAPI void* $ctor();
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 MCAPI 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& bitStream, ::cereal::ReflectionCtx const& reflectionCtx) const;
111
112 MCAPI void $write(::BinaryStream& stream) const;
113
114 MCAPI ::Bedrock::Result<void>
115 $read(::ReadOnlyBinaryStream& bitStream, ::cereal::ReflectionCtx const& reflectionCtx);
116
117 MCFOLD bool $disallowBatching() const;
118
119 MCFOLD bool $isValid() const;
120
121 MCFOLD uint64 $getMaxSize() 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 BinaryStream.h:10
Definition GraphicsOverrideParameterPacket.h:19
static MCAPI void ** $vftable()
Definition ReadOnlyBinaryStream.h:8
Definition Packet.h:213
Definition ReflectionCtx.h:11