Botcraft 1.21.4
Loading...
Searching...
No Matches
ServerboundChatCommandSignedPacket.hpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
2#pragma once
3
4#include <string>
5#include <map>
6#include <vector>
7
9
11
12namespace ProtocolCraft
13{
14 class ServerboundChatCommandSignedPacket : public BaseMessage<ServerboundChatCommandSignedPacket>
15 {
16 public:
17 static constexpr std::string_view packet_name = "Chat Command Signed";
18
19 SERIALIZED_FIELD(Command, std::string);
20 SERIALIZED_FIELD(Timestamp, long long int);
21 SERIALIZED_FIELD(Salt, long long int);
22 SERIALIZED_FIELD(ArgumentSignatures, std::map<std::string, std::vector<unsigned char>>);
24
26 };
27} //ProtocolCraft
28#endif
SERIALIZED_FIELD(ArgumentSignatures, std::map< std::string, std::vector< unsigned char > >)
SERIALIZED_FIELD(LastSeenMessages, LastSeenMessagesUpdate)