Botcraft 26.3
Loading...
Searching...
No Matches
ClientboundSetEntityLinkPacket.hpp
Go to the documentation of this file.
1#pragma once
2
4
5namespace ProtocolCraft
6{
7 class ClientboundSetEntityLinkPacket : public BasePacket<ClientboundSetEntityLinkPacket>
8 {
9 public:
10 static constexpr std::string_view packet_name = "Set Entity Link";
11
12 SERIALIZED_FIELD(SourceId, int);
13 SERIALIZED_FIELD(DestId, int);
14#if PROTOCOL_VERSION < 107 /* < 1.9 */
15 SERIALIZED_FIELD(Leash, bool);
16#endif
17
19 };
20} //ProtocolCraft
#define SERIALIZED_FIELD(Name,...)