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