Botcraft
1.21.4
Loading...
Searching...
No Matches
SignedMessageHeader.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
8
namespace
ProtocolCraft
9
{
10
class
SignedMessageHeader
:
public
NetworkType
11
{
12
SERIALIZED_FIELD
(PreviousSignature, std::optional<std::vector<unsigned char>>);
13
SERIALIZED_FIELD
(Sender,
UUID
);
14
15
DECLARE_READ_WRITE_SERIALIZE
;
16
};
17
}
// ProtocolCraft
18
#endif
NetworkType.hpp
ProtocolCraft::NetworkType
Definition
NetworkType.hpp:11
ProtocolCraft::SignedMessageHeader
Definition
SignedMessageHeader.hpp:11
ProtocolCraft::SignedMessageHeader::DECLARE_READ_WRITE_SERIALIZE
DECLARE_READ_WRITE_SERIALIZE
Definition
SignedMessageHeader.hpp:15
ProtocolCraft::SignedMessageHeader::SERIALIZED_FIELD
SERIALIZED_FIELD(Sender, UUID)
ProtocolCraft::SignedMessageHeader::SERIALIZED_FIELD
SERIALIZED_FIELD(PreviousSignature, std::optional< std::vector< unsigned char > >)
ProtocolCraft
Definition
ItemUtilities.hpp:8
ProtocolCraft::UUID
std::array< unsigned char, 16 > UUID
Definition
BinaryReadWrite.hpp:20
protocolCraft
include
protocolCraft
Types
Chat
SignedMessageHeader.hpp
Generated by
1.9.8