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