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