Botcraft 1.21.4
Loading...
Searching...
No Matches
ClientboundPlayerRotationPacket.hpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION > 767 /* > 1.21.1 */
2#pragma once
3
5
6namespace ProtocolCraft
7{
8 class ClientboundPlayerRotationPacket : public BaseMessage<ClientboundPlayerRotationPacket>
9 {
10 public:
11 static constexpr std::string_view packet_name = "Player Rotation";
12
13 SERIALIZED_FIELD(YRot, float);
14 SERIALIZED_FIELD(XRot, float);
15
17 };
18}
19#endif