Botcraft
1.21.4
Loading...
Searching...
No Matches
ClientboundUpdateEnabledFeaturesPacket.hpp
Go to the documentation of this file.
1
#if PROTOCOL_VERSION > 763
/* > 1.20.1 */
2
#pragma once
3
4
#include "
protocolCraft/BaseMessage.hpp
"
5
6
#include <vector>
7
#include <string>
8
9
namespace
ProtocolCraft
10
{
11
class
ClientboundUpdateEnabledFeaturesPacket
:
public
BaseMessage
<ClientboundUpdateEnabledFeaturesPacket>
12
{
13
public
:
14
static
constexpr
std::string_view
packet_name
=
"Update Enabled Features"
;
15
16
SERIALIZED_FIELD
(Features, std::vector<std::string>);
17
18
DECLARE_READ_WRITE_SERIALIZE
;
19
};
20
}
//ProtocolCraft
21
#endif
BaseMessage.hpp
ProtocolCraft::BaseMessage
Definition
BaseMessage.hpp:11
ProtocolCraft::ClientboundUpdateEnabledFeaturesPacket
Definition
ClientboundUpdateEnabledFeaturesPacket.hpp:12
ProtocolCraft::ClientboundUpdateEnabledFeaturesPacket::DECLARE_READ_WRITE_SERIALIZE
DECLARE_READ_WRITE_SERIALIZE
Definition
ClientboundUpdateEnabledFeaturesPacket.hpp:18
ProtocolCraft::ClientboundUpdateEnabledFeaturesPacket::SERIALIZED_FIELD
SERIALIZED_FIELD(Features, std::vector< std::string >)
ProtocolCraft::ClientboundUpdateEnabledFeaturesPacket::packet_name
static constexpr std::string_view packet_name
Definition
ClientboundUpdateEnabledFeaturesPacket.hpp:14
ProtocolCraft
Definition
ItemUtilities.hpp:8
protocolCraft
include
protocolCraft
Messages
Configuration
Clientbound
ClientboundUpdateEnabledFeaturesPacket.hpp
Generated by
1.9.8