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