Botcraft
26.1.2
Loading...
Searching...
No Matches
SetGameRuleEntry.hpp
Go to the documentation of this file.
1
#if PROTOCOL_VERSION > 774
/* > 1.21.11 */
2
#pragma once
3
4
#include "
protocolCraft/NetworkType.hpp
"
5
#include "
protocolCraft/Types/Identifier.hpp
"
6
7
#include <string>
8
9
namespace
ProtocolCraft
10
{
11
class
SetGameRuleEntry
:
public
NetworkType
12
{
13
SERIALIZED_FIELD
(GameRuleKey,
Identifier
);
14
SERIALIZED_FIELD
(Value, std::string);
15
16
DECLARE_READ_WRITE_SERIALIZE
;
17
};
18
}
19
#endif
Identifier.hpp
NetworkType.hpp
ProtocolCraft::Identifier
Definition
Identifier.hpp:8
ProtocolCraft::NetworkType
Definition
NetworkType.hpp:11
ProtocolCraft::SetGameRuleEntry
Definition
SetGameRuleEntry.hpp:12
ProtocolCraft::SetGameRuleEntry::DECLARE_READ_WRITE_SERIALIZE
DECLARE_READ_WRITE_SERIALIZE
Definition
SetGameRuleEntry.hpp:16
ProtocolCraft::SetGameRuleEntry::SERIALIZED_FIELD
SERIALIZED_FIELD(GameRuleKey, Identifier)
ProtocolCraft::SetGameRuleEntry::SERIALIZED_FIELD
SERIALIZED_FIELD(Value, std::string)
ProtocolCraft
Definition
ItemUtilities.hpp:8
protocolCraft
include
protocolCraft
Types
SetGameRuleEntry.hpp
Generated by
1.9.8