Botcraft 26.3
Loading...
Searching...
No Matches
ClientboundMoveEntityPacketRot.hpp
Go to the documentation of this file.
1#pragma once
2
4
5namespace ProtocolCraft
6{
7 class ClientboundMoveEntityPacketRot : public BasePacket<ClientboundMoveEntityPacketRot>
8 {
9 public:
10 static constexpr std::string_view packet_name = "Move Entity Rot";
11
13#if PROTOCOL_VERSION > 776 /* > 26.2 */
14 SERIALIZED_FIELD(OnGround, bool);
15#endif
16 SERIALIZED_FIELD(YRot, unsigned char);
17 SERIALIZED_FIELD(XRot, unsigned char);
18#if PROTOCOL_VERSION < 777 /* < 26.3 */
19 SERIALIZED_FIELD(OnGround, bool);
20#endif
21
23 };
24} //ProtocolCraft
#define SERIALIZED_FIELD(Name,...)