Botcraft
1.21.4
Loading...
Searching...
No Matches
ServerboundCustomQueryAnswerPacket.hpp
Go to the documentation of this file.
1
#if PROTOCOL_VERSION > 763
/* > 1.20.1 */
2
#pragma once
3
4
#include "
protocolCraft/BaseMessage.hpp
"
5
6
namespace
ProtocolCraft
7
{
8
class
ServerboundCustomQueryAnswerPacket
:
public
BaseMessage
<ServerboundCustomQueryAnswerPacket>
9
{
10
public
:
11
static
constexpr
std::string_view
packet_name
=
"Custom Query Answer"
;
12
13
SERIALIZED_FIELD
(TransactionId,
VarInt
);
14
SERIALIZED_FIELD
(Payload, std::optional<
Internal::Vector<unsigned char, void, 0>
>);
15
16
DECLARE_READ_WRITE_SERIALIZE
;
17
};
18
}
// ProtocolCraft
19
#endif
BaseMessage.hpp
ProtocolCraft::BaseMessage
Definition
BaseMessage.hpp:11
ProtocolCraft::ServerboundCustomQueryAnswerPacket
Definition
ServerboundCustomQueryAnswerPacket.hpp:9
ProtocolCraft::ServerboundCustomQueryAnswerPacket::SERIALIZED_FIELD
SERIALIZED_FIELD(TransactionId, VarInt)
ProtocolCraft::ServerboundCustomQueryAnswerPacket::DECLARE_READ_WRITE_SERIALIZE
DECLARE_READ_WRITE_SERIALIZE
Definition
ServerboundCustomQueryAnswerPacket.hpp:16
ProtocolCraft::ServerboundCustomQueryAnswerPacket::packet_name
static constexpr std::string_view packet_name
Definition
ServerboundCustomQueryAnswerPacket.hpp:11
ProtocolCraft::ServerboundCustomQueryAnswerPacket::SERIALIZED_FIELD
SERIALIZED_FIELD(Payload, std::optional< Internal::Vector< unsigned char, void, 0 > >)
ProtocolCraft
Definition
ItemUtilities.hpp:8
ProtocolCraft::Internal::Vector
Definition
Templates.hpp:96
ProtocolCraft::VarType
Definition
Templates.hpp:26
protocolCraft
include
protocolCraft
Messages
Login
Serverbound
ServerboundCustomQueryAnswerPacket.hpp
Generated by
1.9.8