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