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
6
#include "
protocolCraft/NetworkType.hpp
"
7
#if PROTOCOL_VERSION > 760
/* > 1.19.2 */
8
#include "
protocolCraft/Types/Holder.hpp
"
9
#endif
10
11
namespace
ProtocolCraft
12
{
13
class
LastSeenMessagesEntry
:
public
NetworkType
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
22
DECLARE_READ_WRITE_SERIALIZE
;
23
};
24
}
// ProtocolCraft
25
#endif
SERIALIZED_FIELD
#define SERIALIZED_FIELD(Name,...)
Definition
AutoSerializedMacros.hpp:77
Holder.hpp
NetworkType.hpp
ProtocolCraft::Holder
Definition
Holder.hpp:11
ProtocolCraft::LastSeenMessagesEntry
Definition
LastSeenMessagesEntry.hpp:14
ProtocolCraft::LastSeenMessagesEntry::SERIALIZED_FIELD
SERIALIZED_FIELD(LastSignature, Holder< std::array< unsigned char, 256 > >)
ProtocolCraft::LastSeenMessagesEntry::DECLARE_READ_WRITE_SERIALIZE
DECLARE_READ_WRITE_SERIALIZE
Definition
LastSeenMessagesEntry.hpp:22
ProtocolCraft::NetworkType
Definition
NetworkType.hpp:11
ProtocolCraft
Definition
ItemUtilities.hpp:8
ProtocolCraft::UUID
std::array< unsigned char, 16 > UUID
Definition
BinaryReadWrite.hpp:20
protocolCraft
include
protocolCraft
Types
Chat
LastSeenMessagesEntry.hpp
Generated by
1.9.8