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