Botcraft
1.21.4
Loading...
Searching...
No Matches
ServerboundRenameItemPacket.hpp
Go to the documentation of this file.
1
#if PROTOCOL_VERSION > 385
/* > 1.12.2 */
2
#pragma once
3
4
#include "
protocolCraft/BaseMessage.hpp
"
5
6
namespace
ProtocolCraft
7
{
8
class
ServerboundRenameItemPacket
:
public
BaseMessage
<ServerboundRenameItemPacket>
9
{
10
public
:
11
static
constexpr
std::string_view
packet_name
=
"Rename Item"
;
12
13
SERIALIZED_FIELD
(Name_, std::string);
14
15
DECLARE_READ_WRITE_SERIALIZE
;
16
};
17
}
//ProtocolCraft
18
#endif
BaseMessage.hpp
ProtocolCraft::BaseMessage
Definition
BaseMessage.hpp:11
ProtocolCraft::ServerboundRenameItemPacket
Definition
ServerboundRenameItemPacket.hpp:9
ProtocolCraft::ServerboundRenameItemPacket::packet_name
static constexpr std::string_view packet_name
Definition
ServerboundRenameItemPacket.hpp:11
ProtocolCraft::ServerboundRenameItemPacket::SERIALIZED_FIELD
SERIALIZED_FIELD(Name_, std::string)
ProtocolCraft::ServerboundRenameItemPacket::DECLARE_READ_WRITE_SERIALIZE
DECLARE_READ_WRITE_SERIALIZE
Definition
ServerboundRenameItemPacket.hpp:15
ProtocolCraft
Definition
ItemUtilities.hpp:8
protocolCraft
include
protocolCraft
Messages
Play
Serverbound
ServerboundRenameItemPacket.hpp
Generated by
1.9.8