Botcraft 26.2
Loading...
Searching...
No Matches
ChatTypeBoundNetwork.hpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION > 759 /* > 1.19 */
2#pragma once
3
6
7#if PROTOCOL_VERSION > 766 /* > 1.20.5 */
10#endif
11
12namespace ProtocolCraft
13{
15 {
16#if PROTOCOL_VERSION < 767 /* < 1.21 */
17 SERIALIZED_FIELD(ChatType, VarInt);
18#else
20#endif
22 SERIALIZED_FIELD(TargetName, std::optional<Chat>);
23
25 };
26}
27#endif
#define SERIALIZED_FIELD(Name,...)
SERIALIZED_FIELD(TargetName, std::optional< Chat >)
SERIALIZED_FIELD(ChatType, Holder< DirectChatType >)