Botcraft
1.21.4
Loading...
Searching...
No Matches
ClientboundSetBorderCenterPacket.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
ClientboundSetBorderCenterPacket
:
public
BaseMessage
<ClientboundSetBorderCenterPacket>
9
{
10
public
:
11
static
constexpr
std::string_view
packet_name
=
"Set Border Center"
;
12
13
SERIALIZED_FIELD
(NewCenterX,
double
);
14
SERIALIZED_FIELD
(NewCenterZ,
double
);
15
16
DECLARE_READ_WRITE_SERIALIZE
;
17
};
18
}
//ProtocolCraft
19
#endif
BaseMessage.hpp
ProtocolCraft::BaseMessage
Definition
BaseMessage.hpp:11
ProtocolCraft::ClientboundSetBorderCenterPacket
Definition
ClientboundSetBorderCenterPacket.hpp:9
ProtocolCraft::ClientboundSetBorderCenterPacket::packet_name
static constexpr std::string_view packet_name
Definition
ClientboundSetBorderCenterPacket.hpp:11
ProtocolCraft::ClientboundSetBorderCenterPacket::DECLARE_READ_WRITE_SERIALIZE
DECLARE_READ_WRITE_SERIALIZE
Definition
ClientboundSetBorderCenterPacket.hpp:16
ProtocolCraft::ClientboundSetBorderCenterPacket::SERIALIZED_FIELD
SERIALIZED_FIELD(NewCenterX, double)
ProtocolCraft::ClientboundSetBorderCenterPacket::SERIALIZED_FIELD
SERIALIZED_FIELD(NewCenterZ, double)
ProtocolCraft
Definition
ItemUtilities.hpp:8
protocolCraft
include
protocolCraft
Messages
Play
Clientbound
ClientboundSetBorderCenterPacket.hpp
Generated by
1.9.8