Botcraft
1.21.4
Loading...
Searching...
No Matches
ServerboundSwingPacket.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
protocolCraft/BaseMessage.hpp
"
4
5
namespace
ProtocolCraft
6
{
7
class
ServerboundSwingPacket
:
public
BaseMessage
<ServerboundSwingPacket>
8
{
9
public
:
10
static
constexpr
std::string_view
packet_name
=
"Swing"
;
11
12
SERIALIZED_FIELD
(Hand,
VarInt
);
13
14
DECLARE_READ_WRITE_SERIALIZE
;
15
};
16
}
//ProtocolCraft
BaseMessage.hpp
ProtocolCraft::BaseMessage
Definition
BaseMessage.hpp:11
ProtocolCraft::ServerboundSwingPacket
Definition
ServerboundSwingPacket.hpp:8
ProtocolCraft::ServerboundSwingPacket::DECLARE_READ_WRITE_SERIALIZE
DECLARE_READ_WRITE_SERIALIZE
Definition
ServerboundSwingPacket.hpp:14
ProtocolCraft::ServerboundSwingPacket::SERIALIZED_FIELD
SERIALIZED_FIELD(Hand, VarInt)
ProtocolCraft::ServerboundSwingPacket::packet_name
static constexpr std::string_view packet_name
Definition
ServerboundSwingPacket.hpp:10
ProtocolCraft
Definition
ItemUtilities.hpp:8
ProtocolCraft::VarType
Definition
Templates.hpp:26
protocolCraft
include
protocolCraft
Messages
Play
Serverbound
ServerboundSwingPacket.hpp
Generated by
1.9.8