Botcraft
1.21.4
Loading...
Searching...
No Matches
ServerboundPingRequestPacket.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
protocolCraft/BaseMessage.hpp
"
4
5
namespace
ProtocolCraft
6
{
7
class
ServerboundPingRequestStatusPacket
:
public
BaseMessage
<ServerboundPingRequestStatusPacket>
8
{
9
public
:
10
static
constexpr
std::string_view
packet_name
=
"Ping Request (Status)"
;
11
12
SERIALIZED_FIELD
(
Time
,
long
long
int
);
13
14
DECLARE_READ_WRITE_SERIALIZE
;
15
};
16
}
// ProtocolCraft
BaseMessage.hpp
ProtocolCraft::BaseMessage
Definition
BaseMessage.hpp:11
ProtocolCraft::ServerboundPingRequestStatusPacket
Definition
ServerboundPingRequestPacket.hpp:8
ProtocolCraft::ServerboundPingRequestStatusPacket::packet_name
static constexpr std::string_view packet_name
Definition
ServerboundPingRequestPacket.hpp:10
ProtocolCraft::ServerboundPingRequestStatusPacket::DECLARE_READ_WRITE_SERIALIZE
DECLARE_READ_WRITE_SERIALIZE
Definition
ServerboundPingRequestPacket.hpp:14
ProtocolCraft::ServerboundPingRequestStatusPacket::SERIALIZED_FIELD
SERIALIZED_FIELD(Time, long long int)
ProtocolCraft
Definition
ItemUtilities.hpp:8
ProtocolCraft::BrigadierPropertyType::Time
@ Time
protocolCraft
include
protocolCraft
Messages
Status
Serverbound
ServerboundPingRequestPacket.hpp
Generated by
1.9.8