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