Botcraft
26.1.2
Loading...
Searching...
No Matches
ClientboundGameRuleValuesPacket.hpp
Go to the documentation of this file.
1
#if PROTOCOL_VERSION > 774
/* > 1.21.11 */
2
#pragma once
3
4
#include "
protocolCraft/BasePacket.hpp
"
5
6
#include "
protocolCraft/Types/Identifier.hpp
"
7
8
#include <map>
9
10
namespace
ProtocolCraft
11
{
12
class
ClientboundGameRuleValuesPacket
:
public
BasePacket
<ClientboundGameRuleValuesPacket>
13
{
14
public
:
15
static
constexpr
std::string_view
packet_name
=
"Game Rule Values"
;
16
17
SERIALIZED_FIELD
(Values, std::map<Identifier, std::string>);
18
19
DECLARE_READ_WRITE_SERIALIZE
;
20
};
21
}
//ProtocolCraft
22
#endif
BasePacket.hpp
Identifier.hpp
ProtocolCraft::BasePacket
Definition
BasePacket.hpp:11
ProtocolCraft::ClientboundGameRuleValuesPacket
Definition
ClientboundGameRuleValuesPacket.hpp:13
ProtocolCraft::ClientboundGameRuleValuesPacket::SERIALIZED_FIELD
SERIALIZED_FIELD(Values, std::map< Identifier, std::string >)
ProtocolCraft::ClientboundGameRuleValuesPacket::packet_name
static constexpr std::string_view packet_name
Definition
ClientboundGameRuleValuesPacket.hpp:15
ProtocolCraft::ClientboundGameRuleValuesPacket::DECLARE_READ_WRITE_SERIALIZE
DECLARE_READ_WRITE_SERIALIZE
Definition
ClientboundGameRuleValuesPacket.hpp:19
ProtocolCraft
Definition
ItemUtilities.hpp:8
protocolCraft
include
protocolCraft
Packets
Game
Clientbound
ClientboundGameRuleValuesPacket.hpp
Generated by
1.9.8