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
#include <vector>
8
9
namespace
ProtocolCraft
10
{
11
class
ClientboundStoreCookiePacket
:
public
BaseMessage
<ClientboundStoreCookiePacket>
12
{
13
public
:
14
static
constexpr
std::string_view
packet_name
=
"Store Cookie"
;
15
16
SERIALIZED_FIELD
(Key,
Identifier
);
17
SERIALIZED_FIELD
(Payload,
Internal::Vector<unsigned char, void, 0>
);
18
19
DECLARE_READ_WRITE_SERIALIZE
;
20
};
21
}
22
#endif
BaseMessage.hpp
Identifier.hpp
ProtocolCraft::BaseMessage
Definition
BaseMessage.hpp:11
ProtocolCraft::ClientboundStoreCookiePacket
Definition
ClientboundStoreCookiePacket.hpp:12
ProtocolCraft::ClientboundStoreCookiePacket::SERIALIZED_FIELD
SERIALIZED_FIELD(Key, Identifier)
ProtocolCraft::ClientboundStoreCookiePacket::SERIALIZED_FIELD
SERIALIZED_FIELD(Payload, Internal::Vector< unsigned char, void, 0 >)
ProtocolCraft::ClientboundStoreCookiePacket::DECLARE_READ_WRITE_SERIALIZE
DECLARE_READ_WRITE_SERIALIZE
Definition
ClientboundStoreCookiePacket.hpp:19
ProtocolCraft::ClientboundStoreCookiePacket::packet_name
static constexpr std::string_view packet_name
Definition
ClientboundStoreCookiePacket.hpp:14
ProtocolCraft::Identifier
Definition
Identifier.hpp:8
ProtocolCraft
Definition
ItemUtilities.hpp:8
ProtocolCraft::Internal::Vector
Definition
Templates.hpp:96
protocolCraft
include
protocolCraft
Messages
Play
Clientbound
ClientboundStoreCookiePacket.hpp
Generated by
1.9.8