Botcraft
1.21.4
Loading...
Searching...
No Matches
ServerboundSelectKnownPacksPacket.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/KnownPack.hpp
"
6
7
#include <vector>
8
9
namespace
ProtocolCraft
10
{
11
class
ServerboundSelectKnownPacksPacket
:
public
BaseMessage
<ServerboundSelectKnownPacksPacket>
12
{
13
public
:
14
static
constexpr
std::string_view
packet_name
=
"Select Known Packs"
;
15
16
SERIALIZED_FIELD
(KnownPacks, std::vector<KnownPack>);
17
18
DECLARE_READ_WRITE_SERIALIZE
;
19
};
20
}
// ProtocolCraft
21
#endif
BaseMessage.hpp
KnownPack.hpp
ProtocolCraft::BaseMessage
Definition
BaseMessage.hpp:11
ProtocolCraft::ServerboundSelectKnownPacksPacket
Definition
ServerboundSelectKnownPacksPacket.hpp:12
ProtocolCraft::ServerboundSelectKnownPacksPacket::packet_name
static constexpr std::string_view packet_name
Definition
ServerboundSelectKnownPacksPacket.hpp:14
ProtocolCraft::ServerboundSelectKnownPacksPacket::DECLARE_READ_WRITE_SERIALIZE
DECLARE_READ_WRITE_SERIALIZE
Definition
ServerboundSelectKnownPacksPacket.hpp:18
ProtocolCraft::ServerboundSelectKnownPacksPacket::SERIALIZED_FIELD
SERIALIZED_FIELD(KnownPacks, std::vector< KnownPack >)
ProtocolCraft
Definition
ItemUtilities.hpp:8
protocolCraft
include
protocolCraft
Messages
Configuration
Serverbound
ServerboundSelectKnownPacksPacket.hpp
Generated by
1.9.8