Botcraft
1.21.4
Loading...
Searching...
No Matches
ClientboundDisguisedChatPacket.hpp
Go to the documentation of this file.
1
#if PROTOCOL_VERSION > 760
/* > 1.19.2 */
2
#pragma once
3
4
#include "
protocolCraft/BaseMessage.hpp
"
5
#include "
protocolCraft/Types/Chat/Chat.hpp
"
6
#include "
protocolCraft/Types/Chat/ChatTypeBoundNetwork.hpp
"
7
8
namespace
ProtocolCraft
9
{
10
class
ClientboundDisguisedChatPacket
:
public
BaseMessage
<ClientboundDisguisedChatPacket>
11
{
12
public
:
13
static
constexpr
std::string_view
packet_name
=
"Disguised Chat"
;
14
15
SERIALIZED_FIELD
(
Message
,
Chat
);
16
SERIALIZED_FIELD
(ChatType,
ChatTypeBoundNetwork
);
17
18
DECLARE_READ_WRITE_SERIALIZE
;
19
};
20
}
//ProtocolCraft
21
#endif
BaseMessage.hpp
ChatTypeBoundNetwork.hpp
Chat.hpp
ProtocolCraft::BaseMessage
Definition
BaseMessage.hpp:11
ProtocolCraft::ChatTypeBoundNetwork
Definition
ChatTypeBoundNetwork.hpp:10
ProtocolCraft::Chat
Definition
Chat.hpp:18
ProtocolCraft::ClientboundDisguisedChatPacket
Definition
ClientboundDisguisedChatPacket.hpp:11
ProtocolCraft::ClientboundDisguisedChatPacket::packet_name
static constexpr std::string_view packet_name
Definition
ClientboundDisguisedChatPacket.hpp:13
ProtocolCraft::ClientboundDisguisedChatPacket::SERIALIZED_FIELD
SERIALIZED_FIELD(Message, Chat)
ProtocolCraft::ClientboundDisguisedChatPacket::DECLARE_READ_WRITE_SERIALIZE
DECLARE_READ_WRITE_SERIALIZE
Definition
ClientboundDisguisedChatPacket.hpp:18
ProtocolCraft::ClientboundDisguisedChatPacket::SERIALIZED_FIELD
SERIALIZED_FIELD(ChatType, ChatTypeBoundNetwork)
ProtocolCraft::Message
Definition
Message.hpp:13
ProtocolCraft
Definition
ItemUtilities.hpp:8
protocolCraft
include
protocolCraft
Messages
Play
Clientbound
ClientboundDisguisedChatPacket.hpp
Generated by
1.9.8