Botcraft
26.1.2
Loading...
Searching...
No Matches
ServerboundCustomClickActionPacket.hpp
Go to the documentation of this file.
1
#if PROTOCOL_VERSION > 770
/* > 1.21.5 */
2
#pragma once
3
4
#include "
protocolCraft/BasePacket.hpp
"
5
6
#include "
protocolCraft/Types/Identifier.hpp
"
7
#include "
protocolCraft/Types/NBT/NBT.hpp
"
8
9
#include <optional>
10
11
namespace
ProtocolCraft
12
{
13
class
ServerboundCustomClickActionConfigurationPacket
:
public
BasePacket
<ServerboundCustomClickActionConfigurationPacket>
14
{
15
public
:
16
static
constexpr
std::string_view
packet_name
=
"Custom Click Action (Configuration)"
;
17
18
SERIALIZED_FIELD
(Id_,
Identifier
);
19
SERIALIZED_FIELD
(Payload, std::optional<NBT::UnnamedValue>);
20
21
DECLARE_READ_WRITE_SERIALIZE
;
22
};
23
}
//ProtocolCraft
24
#endif
BasePacket.hpp
Identifier.hpp
NBT.hpp
ProtocolCraft::BasePacket
Definition
BasePacket.hpp:11
ProtocolCraft::Identifier
Definition
Identifier.hpp:8
ProtocolCraft::ServerboundCustomClickActionConfigurationPacket
Definition
ServerboundCustomClickActionPacket.hpp:14
ProtocolCraft::ServerboundCustomClickActionConfigurationPacket::SERIALIZED_FIELD
SERIALIZED_FIELD(Payload, std::optional< NBT::UnnamedValue >)
ProtocolCraft::ServerboundCustomClickActionConfigurationPacket::SERIALIZED_FIELD
SERIALIZED_FIELD(Id_, Identifier)
ProtocolCraft::ServerboundCustomClickActionConfigurationPacket::DECLARE_READ_WRITE_SERIALIZE
DECLARE_READ_WRITE_SERIALIZE
Definition
ServerboundCustomClickActionPacket.hpp:21
ProtocolCraft::ServerboundCustomClickActionConfigurationPacket::packet_name
static constexpr std::string_view packet_name
Definition
ServerboundCustomClickActionPacket.hpp:16
ProtocolCraft
Definition
ItemUtilities.hpp:8
protocolCraft
include
protocolCraft
Packets
Configuration
Serverbound
ServerboundCustomClickActionPacket.hpp
Generated by
1.9.8