Botcraft 1.21.5
Loading...
Searching...
No Matches
ClientboundLevelChunkPacketData.hpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION > 756 /* > 1.17.1 */
2#pragma once
3
7
8#if PROTOCOL_VERSION > 769 /* > 1.21.4 */
9#include <map>
10#endif
11
12namespace ProtocolCraft
13{
15 {
16#if PROTOCOL_VERSION < 770 /* < 1.21.5 */
18#else
19 SERIALIZED_FIELD(Heightmaps, std::map<VarInt, std::vector<long long int>>);
20#endif
21 SERIALIZED_FIELD(Buffer, std::vector<unsigned char>);
22 SERIALIZED_FIELD(BlockEntitiesData, std::vector<BlockEntityInfo>);
23
25 };
26}
27#endif
#define SERIALIZED_FIELD(Name,...)
SERIALIZED_FIELD(Heightmaps, std::map< VarInt, std::vector< long long int > >)
SERIALIZED_FIELD(Buffer, std::vector< unsigned char >)
SERIALIZED_FIELD(BlockEntitiesData, std::vector< BlockEntityInfo >)