Botcraft
1.21.10
Loading...
Searching...
No Matches
ClientboundDebugEventPacket.hpp
Go to the documentation of this file.
1
#if PROTOCOL_VERSION > 772
/* > 1.21.8 */
2
#pragma once
3
4
#include "
protocolCraft/BasePacket.hpp
"
5
#include "
protocolCraft/Types/Debug/DebugSubscription.hpp
"
6
7
namespace
ProtocolCraft
8
{
9
class
ClientboundDebugEventPacket
:
public
BasePacket
<ClientboundDebugEventPacket>
10
{
11
public
:
12
static
constexpr
std::string_view
packet_name
=
"Debug Event"
;
13
14
SERIALIZED_FIELD
(Event,
DebugSubscriptionEvent
);
15
16
DECLARE_READ_WRITE_SERIALIZE
;
17
};
18
}
//ProtocolCraft
19
#endif
BasePacket.hpp
DebugSubscription.hpp
ProtocolCraft::BasePacket
Definition
BasePacket.hpp:11
ProtocolCraft::ClientboundDebugEventPacket
Definition
ClientboundDebugEventPacket.hpp:10
ProtocolCraft::ClientboundDebugEventPacket::packet_name
static constexpr std::string_view packet_name
Definition
ClientboundDebugEventPacket.hpp:12
ProtocolCraft::ClientboundDebugEventPacket::DECLARE_READ_WRITE_SERIALIZE
DECLARE_READ_WRITE_SERIALIZE
Definition
ClientboundDebugEventPacket.hpp:16
ProtocolCraft::ClientboundDebugEventPacket::SERIALIZED_FIELD
SERIALIZED_FIELD(Event, DebugSubscriptionEvent)
ProtocolCraft::DebugSubscriptionEvent
Definition
DebugSubscription.hpp:50
ProtocolCraft
Definition
ItemUtilities.hpp:8
protocolCraft
include
protocolCraft
Packets
Game
Clientbound
ClientboundDebugEventPacket.hpp
Generated by
1.9.8