Botcraft 1.21.4
Loading...
Searching...
No Matches
ClientInformation.hpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION > 763 /* > 1.20.1 */
2#pragma once
3
5
6namespace ProtocolCraft
7{
9 {
10 SERIALIZED_FIELD(Language, std::string);
11 SERIALIZED_FIELD(ViewDistance, char);
12 SERIALIZED_FIELD(ChatVisibility, VarInt);
13 SERIALIZED_FIELD(ChatColors, bool);
14 SERIALIZED_FIELD(ModelCustomisation, unsigned char);
16 SERIALIZED_FIELD(TestFilteringEnabled, bool);
17 SERIALIZED_FIELD(AllowsListing, bool);
18#if PROTOCOL_VERSION > 767 /* > 1.21.1 */
19 SERIALIZED_FIELD(ParticleStatus, VarInt);
20#endif
21
23 };
24}
25#endif
SERIALIZED_FIELD(AllowsListing, bool)
SERIALIZED_FIELD(TestFilteringEnabled, bool)
SERIALIZED_FIELD(ChatVisibility, VarInt)
SERIALIZED_FIELD(Language, std::string)
SERIALIZED_FIELD(ModelCustomisation, unsigned char)
SERIALIZED_FIELD(ParticleStatus, VarInt)
SERIALIZED_FIELD(ViewDistance, char)
SERIALIZED_FIELD(MainHand, VarInt)
SERIALIZED_FIELD(ChatColors, bool)