Botcraft
26.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
10
namespace
ProtocolCraft
11
{
12
class
ServerboundCustomClickActionConfigurationPacket
:
public
BasePacket
<ServerboundCustomClickActionConfigurationPacket>
13
{
14
public
:
15
static
constexpr
std::string_view
packet_name
=
"Custom Click Action (Configuration)"
;
16
17
SERIALIZED_FIELD
(Id_,
Identifier
);
18
SERIALIZED_FIELD
(Payload,
Internal::DiffType<NBT::Value, NBT::UntrustedValue>
);
19
20
DECLARE_READ_WRITE_SERIALIZE
;
21
};
22
}
//ProtocolCraft
23
#endif
BasePacket.hpp
Identifier.hpp
NBT.hpp
ProtocolCraft::BasePacket
Definition
BasePacket.hpp:11
ProtocolCraft::Identifier
Definition
Identifier.hpp:8
ProtocolCraft::ServerboundCustomClickActionConfigurationPacket
Definition
ServerboundCustomClickActionPacket.hpp:13
ProtocolCraft::ServerboundCustomClickActionConfigurationPacket::SERIALIZED_FIELD
SERIALIZED_FIELD(Payload, Internal::DiffType< NBT::Value, NBT::UntrustedValue >)
ProtocolCraft::ServerboundCustomClickActionConfigurationPacket::SERIALIZED_FIELD
SERIALIZED_FIELD(Id_, Identifier)
ProtocolCraft::ServerboundCustomClickActionConfigurationPacket::DECLARE_READ_WRITE_SERIALIZE
DECLARE_READ_WRITE_SERIALIZE
Definition
ServerboundCustomClickActionPacket.hpp:20
ProtocolCraft::ServerboundCustomClickActionConfigurationPacket::packet_name
static constexpr std::string_view packet_name
Definition
ServerboundCustomClickActionPacket.hpp:15
ProtocolCraft
Definition
ItemUtilities.hpp:8
ProtocolCraft::Internal::DiffType
Just a simple type wrapper that will store with T1 and serialize as T2 (can be used for Enum/VarInt f...
Definition
Templates.hpp:72
protocolCraft
include
protocolCraft
Packets
Configuration
Serverbound
ServerboundCustomClickActionPacket.hpp
Generated by
1.9.8