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