Botcraft
1.21.4
Loading...
Searching...
No Matches
ServerboundClientCommandPacket.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
protocolCraft/BaseMessage.hpp
"
4
5
namespace
ProtocolCraft
6
{
7
class
ServerboundClientCommandPacket
:
public
BaseMessage
<ServerboundClientCommandPacket>
8
{
9
public
:
10
static
constexpr
std::string_view
packet_name
=
"Client Command"
;
11
12
SERIALIZED_FIELD
(Action,
VarInt
);
13
14
DECLARE_READ_WRITE_SERIALIZE
;
15
};
16
}
//ProtocolCraft
BaseMessage.hpp
ProtocolCraft::BaseMessage
Definition
BaseMessage.hpp:11
ProtocolCraft::ServerboundClientCommandPacket
Definition
ServerboundClientCommandPacket.hpp:8
ProtocolCraft::ServerboundClientCommandPacket::packet_name
static constexpr std::string_view packet_name
Definition
ServerboundClientCommandPacket.hpp:10
ProtocolCraft::ServerboundClientCommandPacket::SERIALIZED_FIELD
SERIALIZED_FIELD(Action, VarInt)
ProtocolCraft::ServerboundClientCommandPacket::DECLARE_READ_WRITE_SERIALIZE
DECLARE_READ_WRITE_SERIALIZE
Definition
ServerboundClientCommandPacket.hpp:14
ProtocolCraft
Definition
ItemUtilities.hpp:8
ProtocolCraft::VarType
Definition
Templates.hpp:26
protocolCraft
include
protocolCraft
Messages
Play
Serverbound
ServerboundClientCommandPacket.hpp
Generated by
1.9.8