Botcraft
1.21.4
Loading...
Searching...
No Matches
ServerboundCookieResponsePacket.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 <optional>
8
9
namespace
ProtocolCraft
10
{
11
class
ServerboundCookieResponseConfigurationPacket
:
public
BaseMessage
<ServerboundCookieResponseConfigurationPacket>
12
{
13
public
:
14
static
constexpr
std::string_view
packet_name
=
"Cookie Response (Configuration)"
;
15
16
SERIALIZED_FIELD
(Key,
Identifier
);
17
SERIALIZED_FIELD
(Payload, std::optional<
Internal::Vector<unsigned char, void, 0>
>);
18
19
DECLARE_READ_WRITE_SERIALIZE
;
20
};
21
}
// ProtocolCraft
22
#endif
BaseMessage.hpp
Identifier.hpp
ProtocolCraft::BaseMessage
Definition
BaseMessage.hpp:11
ProtocolCraft::Identifier
Definition
Identifier.hpp:8
ProtocolCraft::ServerboundCookieResponseConfigurationPacket
Definition
ServerboundCookieResponsePacket.hpp:12
ProtocolCraft::ServerboundCookieResponseConfigurationPacket::packet_name
static constexpr std::string_view packet_name
Definition
ServerboundCookieResponsePacket.hpp:14
ProtocolCraft::ServerboundCookieResponseConfigurationPacket::DECLARE_READ_WRITE_SERIALIZE
DECLARE_READ_WRITE_SERIALIZE
Definition
ServerboundCookieResponsePacket.hpp:19
ProtocolCraft::ServerboundCookieResponseConfigurationPacket::SERIALIZED_FIELD
SERIALIZED_FIELD(Key, Identifier)
ProtocolCraft::ServerboundCookieResponseConfigurationPacket::SERIALIZED_FIELD
SERIALIZED_FIELD(Payload, std::optional< Internal::Vector< unsigned char, void, 0 > >)
ProtocolCraft
Definition
ItemUtilities.hpp:8
ProtocolCraft::Internal::Vector
Definition
Templates.hpp:96
protocolCraft
include
protocolCraft
Messages
Configuration
Serverbound
ServerboundCookieResponsePacket.hpp
Generated by
1.9.8