Botcraft 1.21.4
Loading...
Searching...
No Matches
ClientboundSetDisplayObjectivePacket.hpp
Go to the documentation of this file.
1#pragma once
2
4
5namespace ProtocolCraft
6{
7 class ClientboundSetDisplayObjectivePacket : public BaseMessage<ClientboundSetDisplayObjectivePacket>
8 {
9 public:
10 static constexpr std::string_view packet_name = "Set Display Objective";
11
12#if PROTOCOL_VERSION < 764 /* < 1.20.2 */
14#else
16#endif
17 SERIALIZED_FIELD(ObjectiveName, std::string);
18
20 };
21} //ProtocolCraft
#define SERIALIZED_FIELD(Name,...)