Botcraft 1.21.4
Loading...
Searching...
No Matches
ClientboundChangeDifficultyPacket.hpp
Go to the documentation of this file.
1#pragma once
2
4
5namespace ProtocolCraft
6{
7 class ClientboundChangeDifficultyPacket : public BaseMessage<ClientboundChangeDifficultyPacket>
8 {
9 public:
10 static constexpr std::string_view packet_name = "Change Difficulty";
11
12 SERIALIZED_FIELD(Difficulty, unsigned char);
13#if PROTOCOL_VERSION > 404 /* > 1.13.2 */
14 SERIALIZED_FIELD(Locked, bool);
15#endif
16
18 };
19} //ProtocolCraft