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
4
#include "
protocolCraft/NetworkType.hpp
"
5
6
namespace
ProtocolCraft
7
{
8
class
ClientInformation
:
public
NetworkType
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
);
15
SERIALIZED_FIELD
(MainHand,
VarInt
);
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
22
DECLARE_READ_WRITE_SERIALIZE
;
23
};
24
}
25
#endif
NetworkType.hpp
ProtocolCraft::ClientInformation
Definition
ClientInformation.hpp:9
ProtocolCraft::ClientInformation::SERIALIZED_FIELD
SERIALIZED_FIELD(AllowsListing, bool)
ProtocolCraft::ClientInformation::SERIALIZED_FIELD
SERIALIZED_FIELD(TestFilteringEnabled, bool)
ProtocolCraft::ClientInformation::SERIALIZED_FIELD
SERIALIZED_FIELD(ChatVisibility, VarInt)
ProtocolCraft::ClientInformation::SERIALIZED_FIELD
SERIALIZED_FIELD(Language, std::string)
ProtocolCraft::ClientInformation::SERIALIZED_FIELD
SERIALIZED_FIELD(ModelCustomisation, unsigned char)
ProtocolCraft::ClientInformation::SERIALIZED_FIELD
SERIALIZED_FIELD(ParticleStatus, VarInt)
ProtocolCraft::ClientInformation::SERIALIZED_FIELD
SERIALIZED_FIELD(ViewDistance, char)
ProtocolCraft::ClientInformation::SERIALIZED_FIELD
SERIALIZED_FIELD(MainHand, VarInt)
ProtocolCraft::ClientInformation::DECLARE_READ_WRITE_SERIALIZE
DECLARE_READ_WRITE_SERIALIZE
Definition
ClientInformation.hpp:22
ProtocolCraft::ClientInformation::SERIALIZED_FIELD
SERIALIZED_FIELD(ChatColors, bool)
ProtocolCraft::NetworkType
Definition
NetworkType.hpp:11
ProtocolCraft
Definition
ItemUtilities.hpp:8
ProtocolCraft::VarType
Definition
Templates.hpp:26
protocolCraft
include
protocolCraft
Types
ClientInformation.hpp
Generated by
1.9.8