Botcraft
26.3
Loading...
Searching...
No Matches
ClientboundSetPassengersPacket.hpp
Go to the documentation of this file.
1
#if PROTOCOL_VERSION > 47
/* > 1.8.9 */
2
#pragma once
3
4
#include "
protocolCraft/BasePacket.hpp
"
5
6
namespace
ProtocolCraft
7
{
8
class
ClientboundSetPassengersPacket
:
public
BasePacket
<ClientboundSetPassengersPacket>
9
{
10
public
:
11
static
constexpr
std::string_view
packet_name
=
"Set Passengers"
;
12
13
SERIALIZED_FIELD
(Vehicle,
VarInt
);
14
SERIALIZED_FIELD
(Passengers, std::vector<VarInt>);
15
16
DECLARE_READ_WRITE_SERIALIZE
;
17
};
18
}
//ProtocolCraft
19
#endif
BasePacket.hpp
ProtocolCraft::BasePacket
Definition
BasePacket.hpp:11
ProtocolCraft::ClientboundSetPassengersPacket
Definition
ClientboundSetPassengersPacket.hpp:9
ProtocolCraft::ClientboundSetPassengersPacket::DECLARE_READ_WRITE_SERIALIZE
DECLARE_READ_WRITE_SERIALIZE
Definition
ClientboundSetPassengersPacket.hpp:16
ProtocolCraft::ClientboundSetPassengersPacket::SERIALIZED_FIELD
SERIALIZED_FIELD(Vehicle, VarInt)
ProtocolCraft::ClientboundSetPassengersPacket::SERIALIZED_FIELD
SERIALIZED_FIELD(Passengers, std::vector< VarInt >)
ProtocolCraft::ClientboundSetPassengersPacket::packet_name
static constexpr std::string_view packet_name
Definition
ClientboundSetPassengersPacket.hpp:11
ProtocolCraft
Definition
ItemUtilities.hpp:8
ProtocolCraft::VarType
Definition
Templates.hpp:26
protocolCraft
include
protocolCraft
Packets
Game
Clientbound
ClientboundSetPassengersPacket.hpp
Generated by
1.9.8