Botcraft 26.1.2
Loading...
Searching...
No Matches
ServerboundSetGameRulePacket.hpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION > 774 /* > 1.21.11 */
2#pragma once
3
6
7namespace ProtocolCraft
8{
9 class ServerboundSetGameRulePacket : public BasePacket<ServerboundSetGameRulePacket>
10 {
11 public:
12 static constexpr std::string_view packet_name = "Set Game Rule";
13
14 SERIALIZED_FIELD(Entries, std::vector<SetGameRuleEntry>);
15
17 };
18} //ProtocolCraft
19#endif
SERIALIZED_FIELD(Entries, std::vector< SetGameRuleEntry >)