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
8
#include "
protocolCraft/BaseMessage.hpp
"
9
10
#include "
protocolCraft/Types/Chat/LastSeenMessagesUpdate.hpp
"
11
12
namespace
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>>);
23
SERIALIZED_FIELD
(LastSeenMessages,
LastSeenMessagesUpdate
);
24
25
DECLARE_READ_WRITE_SERIALIZE
;
26
};
27
}
//ProtocolCraft
28
#endif
BaseMessage.hpp
LastSeenMessagesUpdate.hpp
ProtocolCraft::BaseMessage
Definition
BaseMessage.hpp:11
ProtocolCraft::LastSeenMessagesUpdate
Definition
LastSeenMessagesUpdate.hpp:15
ProtocolCraft::ServerboundChatCommandSignedPacket
Definition
ServerboundChatCommandSignedPacket.hpp:15
ProtocolCraft::ServerboundChatCommandSignedPacket::SERIALIZED_FIELD
SERIALIZED_FIELD(ArgumentSignatures, std::map< std::string, std::vector< unsigned char > >)
ProtocolCraft::ServerboundChatCommandSignedPacket::DECLARE_READ_WRITE_SERIALIZE
DECLARE_READ_WRITE_SERIALIZE
Definition
ServerboundChatCommandSignedPacket.hpp:25
ProtocolCraft::ServerboundChatCommandSignedPacket::SERIALIZED_FIELD
SERIALIZED_FIELD(Command, std::string)
ProtocolCraft::ServerboundChatCommandSignedPacket::SERIALIZED_FIELD
SERIALIZED_FIELD(Salt, long long int)
ProtocolCraft::ServerboundChatCommandSignedPacket::SERIALIZED_FIELD
SERIALIZED_FIELD(LastSeenMessages, LastSeenMessagesUpdate)
ProtocolCraft::ServerboundChatCommandSignedPacket::SERIALIZED_FIELD
SERIALIZED_FIELD(Timestamp, long long int)
ProtocolCraft::ServerboundChatCommandSignedPacket::packet_name
static constexpr std::string_view packet_name
Definition
ServerboundChatCommandSignedPacket.hpp:17
ProtocolCraft
Definition
ItemUtilities.hpp:8
protocolCraft
include
protocolCraft
Messages
Play
Serverbound
ServerboundChatCommandSignedPacket.hpp
Generated by
1.9.8