Botcraft
1.21.4
Loading...
Searching...
No Matches
ChatSender.hpp
Go to the documentation of this file.
1
#if PROTOCOL_VERSION > 758
/* > 1.18.2 */
2
#pragma once
3
4
#include "
protocolCraft/NetworkType.hpp
"
5
#include "
protocolCraft/Types/Chat/Chat.hpp
"
6
7
namespace
ProtocolCraft
8
{
9
class
ChatSender
:
public
NetworkType
10
{
11
SERIALIZED_FIELD
(
Uuid
,
UUID
);
12
SERIALIZED_FIELD
(Name,
Chat
);
13
SERIALIZED_FIELD
(TeamName, std::optional<Chat>);
14
15
DECLARE_READ_WRITE_SERIALIZE
;
16
};
17
}
18
#endif
Chat.hpp
NetworkType.hpp
ProtocolCraft::ChatSender
Definition
ChatSender.hpp:10
ProtocolCraft::ChatSender::SERIALIZED_FIELD
SERIALIZED_FIELD(TeamName, std::optional< Chat >)
ProtocolCraft::ChatSender::SERIALIZED_FIELD
SERIALIZED_FIELD(Uuid, UUID)
ProtocolCraft::ChatSender::DECLARE_READ_WRITE_SERIALIZE
DECLARE_READ_WRITE_SERIALIZE
Definition
ChatSender.hpp:15
ProtocolCraft::ChatSender::SERIALIZED_FIELD
SERIALIZED_FIELD(Name, Chat)
ProtocolCraft::Chat
Definition
Chat.hpp:18
ProtocolCraft::NetworkType
Definition
NetworkType.hpp:11
ProtocolCraft
Definition
ItemUtilities.hpp:8
ProtocolCraft::UUID
std::array< unsigned char, 16 > UUID
Definition
BinaryReadWrite.hpp:20
ProtocolCraft::BrigadierPropertyType::Uuid
@ Uuid
protocolCraft
include
protocolCraft
Types
Chat
ChatSender.hpp
Generated by
1.9.8