Botcraft
1.21.4
Loading...
Searching...
No Matches
ClientboundSetBorderWarningDistancePacket.hpp
Go to the documentation of this file.
1
#if PROTOCOL_VERSION > 754
/* > 1.16.5 */
2
#pragma once
3
4
#include "
protocolCraft/BaseMessage.hpp
"
5
6
namespace
ProtocolCraft
7
{
8
class
ClientboundSetBorderWarningDistancePacket
:
public
BaseMessage
<ClientboundSetBorderWarningDistancePacket>
9
{
10
public
:
11
static
constexpr
std::string_view
packet_name
=
"Set Border Warning Distance"
;
12
13
SERIALIZED_FIELD
(WarningBlocks,
VarInt
);
14
15
DECLARE_READ_WRITE_SERIALIZE
;
16
};
17
}
//ProtocolCraft
18
#endif
BaseMessage.hpp
ProtocolCraft::BaseMessage
Definition
BaseMessage.hpp:11
ProtocolCraft::ClientboundSetBorderWarningDistancePacket
Definition
ClientboundSetBorderWarningDistancePacket.hpp:9
ProtocolCraft::ClientboundSetBorderWarningDistancePacket::SERIALIZED_FIELD
SERIALIZED_FIELD(WarningBlocks, VarInt)
ProtocolCraft::ClientboundSetBorderWarningDistancePacket::DECLARE_READ_WRITE_SERIALIZE
DECLARE_READ_WRITE_SERIALIZE
Definition
ClientboundSetBorderWarningDistancePacket.hpp:15
ProtocolCraft::ClientboundSetBorderWarningDistancePacket::packet_name
static constexpr std::string_view packet_name
Definition
ClientboundSetBorderWarningDistancePacket.hpp:11
ProtocolCraft
Definition
ItemUtilities.hpp:8
ProtocolCraft::VarType
Definition
Templates.hpp:26
protocolCraft
include
protocolCraft
Messages
Play
Clientbound
ClientboundSetBorderWarningDistancePacket.hpp
Generated by
1.9.8