Botcraft
1.21.10
Loading...
Searching...
No Matches
ClientboundCodeOfConductPacket.hpp
Go to the documentation of this file.
1
#if PROTOCOL_VERSION > 772
/* > 1.21.8 */
2
#pragma once
3
4
#include "
protocolCraft/BasePacket.hpp
"
5
6
namespace
ProtocolCraft
7
{
8
class
ClientboundCodeOfConductPacket
:
public
BasePacket
<ClientboundCodeOfConductPacket>
9
{
10
public
:
11
static
constexpr
std::string_view
packet_name
=
"Code Of Conduct"
;
12
13
SERIALIZED_FIELD
(CodeOfConduct, std::string);
14
15
DECLARE_READ_WRITE_SERIALIZE
;
16
};
17
}
18
#endif
BasePacket.hpp
ProtocolCraft::BasePacket
Definition
BasePacket.hpp:11
ProtocolCraft::ClientboundCodeOfConductPacket
Definition
ClientboundCodeOfConductPacket.hpp:9
ProtocolCraft::ClientboundCodeOfConductPacket::DECLARE_READ_WRITE_SERIALIZE
DECLARE_READ_WRITE_SERIALIZE
Definition
ClientboundCodeOfConductPacket.hpp:15
ProtocolCraft::ClientboundCodeOfConductPacket::packet_name
static constexpr std::string_view packet_name
Definition
ClientboundCodeOfConductPacket.hpp:11
ProtocolCraft::ClientboundCodeOfConductPacket::SERIALIZED_FIELD
SERIALIZED_FIELD(CodeOfConduct, std::string)
ProtocolCraft
Definition
ItemUtilities.hpp:8
protocolCraft
include
protocolCraft
Packets
Configuration
Clientbound
ClientboundCodeOfConductPacket.hpp
Generated by
1.9.8