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
#include <vector>
8
9
namespace
ProtocolCraft
10
{
11
class
ClientboundServerLinksConfigurationPacket
:
public
BaseMessage
<ClientboundServerLinksConfigurationPacket>
12
{
13
public
:
14
static
constexpr
std::string_view
packet_name
=
"Server Links (Configuration)"
;
15
16
SERIALIZED_FIELD
(Links, std::vector<ServerLinksUnstrustedEntry>);
17
18
DECLARE_READ_WRITE_SERIALIZE
;
19
};
20
}
// ProtocolCraft
21
#endif
BaseMessage.hpp
ServerLinksUnstrustedEntry.hpp
ProtocolCraft::BaseMessage
Definition
BaseMessage.hpp:11
ProtocolCraft::ClientboundServerLinksConfigurationPacket
Definition
ClientboundServerLinksPacket.hpp:12
ProtocolCraft::ClientboundServerLinksConfigurationPacket::DECLARE_READ_WRITE_SERIALIZE
DECLARE_READ_WRITE_SERIALIZE
Definition
ClientboundServerLinksPacket.hpp:18
ProtocolCraft::ClientboundServerLinksConfigurationPacket::SERIALIZED_FIELD
SERIALIZED_FIELD(Links, std::vector< ServerLinksUnstrustedEntry >)
ProtocolCraft::ClientboundServerLinksConfigurationPacket::packet_name
static constexpr std::string_view packet_name
Definition
ClientboundServerLinksPacket.hpp:14
ProtocolCraft
Definition
ItemUtilities.hpp:8
protocolCraft
include
protocolCraft
Messages
Configuration
Clientbound
ClientboundServerLinksPacket.hpp
Generated by
1.9.8