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