Botcraft
26.3
Loading...
Searching...
No Matches
ServerboundPaddleBoatPacket.hpp
Go to the documentation of this file.
1
#if PROTOCOL_VERSION > 47
/* > 1.8.9 */
2
#pragma once
3
4
#include "
protocolCraft/BasePacket.hpp
"
5
6
namespace
ProtocolCraft
7
{
8
class
ServerboundPaddleBoatPacket
:
public
BasePacket
<ServerboundPaddleBoatPacket>
9
{
10
public
:
11
static
constexpr
std::string_view
packet_name
=
"Paddle Boat"
;
12
13
SERIALIZED_FIELD
(Left,
bool
);
14
SERIALIZED_FIELD
(Right,
bool
);
15
16
DECLARE_READ_WRITE_SERIALIZE
;
17
};
18
}
//ProtocolCraft
19
#endif
BasePacket.hpp
ProtocolCraft::BasePacket
Definition
BasePacket.hpp:11
ProtocolCraft::ServerboundPaddleBoatPacket
Definition
ServerboundPaddleBoatPacket.hpp:9
ProtocolCraft::ServerboundPaddleBoatPacket::packet_name
static constexpr std::string_view packet_name
Definition
ServerboundPaddleBoatPacket.hpp:11
ProtocolCraft::ServerboundPaddleBoatPacket::DECLARE_READ_WRITE_SERIALIZE
DECLARE_READ_WRITE_SERIALIZE
Definition
ServerboundPaddleBoatPacket.hpp:16
ProtocolCraft::ServerboundPaddleBoatPacket::SERIALIZED_FIELD
SERIALIZED_FIELD(Left, bool)
ProtocolCraft::ServerboundPaddleBoatPacket::SERIALIZED_FIELD
SERIALIZED_FIELD(Right, bool)
ProtocolCraft
Definition
ItemUtilities.hpp:8
protocolCraft
include
protocolCraft
Packets
Game
Serverbound
ServerboundPaddleBoatPacket.hpp
Generated by
1.9.8