Botcraft
1.21.4
Loading...
Searching...
No Matches
ClientboundStoreCookiePacket.hpp
Go to the documentation of this file.
1
#if PROTOCOL_VERSION > 765
/* > 1.20.4 */
2
#pragma once
3
4
#include "
protocolCraft/BaseMessage.hpp
"
5
#include "
protocolCraft/Types/Identifier.hpp
"
6
7
namespace
ProtocolCraft
8
{
9
class
ClientboundStoreCookieConfigurationPacket
:
public
BaseMessage
<ClientboundStoreCookieConfigurationPacket>
10
{
11
public
:
12
static
constexpr
std::string_view
packet_name
=
"Store Cookie (Configuration)"
;
13
14
SERIALIZED_FIELD
(Key,
Identifier
);
15
SERIALIZED_FIELD
(Payload,
Internal::Vector<unsigned char, void, 0>
);
16
17
DECLARE_READ_WRITE_SERIALIZE
;
18
};
19
}
20
#endif
BaseMessage.hpp
Identifier.hpp
ProtocolCraft::BaseMessage
Definition
BaseMessage.hpp:11
ProtocolCraft::ClientboundStoreCookieConfigurationPacket
Definition
ClientboundStoreCookiePacket.hpp:10
ProtocolCraft::ClientboundStoreCookieConfigurationPacket::SERIALIZED_FIELD
SERIALIZED_FIELD(Key, Identifier)
ProtocolCraft::ClientboundStoreCookieConfigurationPacket::DECLARE_READ_WRITE_SERIALIZE
DECLARE_READ_WRITE_SERIALIZE
Definition
ClientboundStoreCookiePacket.hpp:17
ProtocolCraft::ClientboundStoreCookieConfigurationPacket::packet_name
static constexpr std::string_view packet_name
Definition
ClientboundStoreCookiePacket.hpp:12
ProtocolCraft::ClientboundStoreCookieConfigurationPacket::SERIALIZED_FIELD
SERIALIZED_FIELD(Payload, Internal::Vector< unsigned char, void, 0 >)
ProtocolCraft::Identifier
Definition
Identifier.hpp:8
ProtocolCraft
Definition
ItemUtilities.hpp:8
ProtocolCraft::Internal::Vector
Definition
Templates.hpp:96
protocolCraft
include
protocolCraft
Messages
Configuration
Clientbound
ClientboundStoreCookiePacket.hpp
Generated by
1.9.8