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