Botcraft 1.21.4
Loading...
Searching...
No Matches
LastSeenMessagesEntry.hpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION > 759 /* > 1.19 */
2#pragma once
3
4#include <vector>
5
7#if PROTOCOL_VERSION > 760 /* > 1.19.2 */
9#endif
10
11namespace ProtocolCraft
12{
14 {
15#if PROTOCOL_VERSION < 761 /* < 1.19.3 */
16 SERIALIZED_FIELD(ProfileId, UUID);
17 SERIALIZED_FIELD(LastSignature, std::vector<unsigned char>);
18#else
19 SERIALIZED_FIELD(LastSignature, Holder<std::array<unsigned char, 256>>);
20#endif
21
23 };
24} // ProtocolCraft
25#endif
#define SERIALIZED_FIELD(Name,...)
SERIALIZED_FIELD(LastSignature, Holder< std::array< unsigned char, 256 > >)
std::array< unsigned char, 16 > UUID