Botcraft
1.21.4
Loading...
Searching...
No Matches
ClientboundCustomChatCompletionsPacket.hpp
Go to the documentation of this file.
1
#if PROTOCOL_VERSION > 759
/* > 1.19 */
2
#pragma once
3
4
#include "
protocolCraft/BaseMessage.hpp
"
5
6
namespace
ProtocolCraft
7
{
8
class
ClientboundCustomChatCompletionsPacket
:
public
BaseMessage
<ClientboundCustomChatCompletionsPacket>
9
{
10
public
:
11
static
constexpr
std::string_view
packet_name
=
"Custom Chat Completion Packet"
;
12
13
SERIALIZED_FIELD
(Action,
VarInt
);
14
SERIALIZED_FIELD
(Entries, std::vector<std::string>);
15
16
DECLARE_READ_WRITE_SERIALIZE
;
17
};
18
}
//ProtocolCraft
19
#endif
BaseMessage.hpp
ProtocolCraft::BaseMessage
Definition
BaseMessage.hpp:11
ProtocolCraft::ClientboundCustomChatCompletionsPacket
Definition
ClientboundCustomChatCompletionsPacket.hpp:9
ProtocolCraft::ClientboundCustomChatCompletionsPacket::DECLARE_READ_WRITE_SERIALIZE
DECLARE_READ_WRITE_SERIALIZE
Definition
ClientboundCustomChatCompletionsPacket.hpp:16
ProtocolCraft::ClientboundCustomChatCompletionsPacket::SERIALIZED_FIELD
SERIALIZED_FIELD(Entries, std::vector< std::string >)
ProtocolCraft::ClientboundCustomChatCompletionsPacket::SERIALIZED_FIELD
SERIALIZED_FIELD(Action, VarInt)
ProtocolCraft::ClientboundCustomChatCompletionsPacket::packet_name
static constexpr std::string_view packet_name
Definition
ClientboundCustomChatCompletionsPacket.hpp:11
ProtocolCraft
Definition
ItemUtilities.hpp:8
ProtocolCraft::VarType
Definition
Templates.hpp:26
protocolCraft
include
protocolCraft
Messages
Play
Clientbound
ClientboundCustomChatCompletionsPacket.hpp
Generated by
1.9.8