Botcraft
1.21.4
Loading...
Searching...
No Matches
ClientboundGameEventPacket.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
protocolCraft/BaseMessage.hpp
"
4
5
namespace
ProtocolCraft
6
{
7
class
ClientboundGameEventPacket
:
public
BaseMessage
<ClientboundGameEventPacket>
8
{
9
public
:
10
static
constexpr
std::string_view
packet_name
=
"Game Event"
;
11
12
SERIALIZED_FIELD
(Type,
unsigned
char
);
13
SERIALIZED_FIELD
(Param,
float
);
14
15
DECLARE_READ_WRITE_SERIALIZE
;
16
};
17
}
//ProtocolCraft
BaseMessage.hpp
ProtocolCraft::BaseMessage
Definition
BaseMessage.hpp:11
ProtocolCraft::ClientboundGameEventPacket
Definition
ClientboundGameEventPacket.hpp:8
ProtocolCraft::ClientboundGameEventPacket::SERIALIZED_FIELD
SERIALIZED_FIELD(Type, unsigned char)
ProtocolCraft::ClientboundGameEventPacket::packet_name
static constexpr std::string_view packet_name
Definition
ClientboundGameEventPacket.hpp:10
ProtocolCraft::ClientboundGameEventPacket::SERIALIZED_FIELD
SERIALIZED_FIELD(Param, float)
ProtocolCraft::ClientboundGameEventPacket::DECLARE_READ_WRITE_SERIALIZE
DECLARE_READ_WRITE_SERIALIZE
Definition
ClientboundGameEventPacket.hpp:15
ProtocolCraft
Definition
ItemUtilities.hpp:8
protocolCraft
include
protocolCraft
Messages
Play
Clientbound
ClientboundGameEventPacket.hpp
Generated by
1.9.8