Botcraft 1.21.4
Loading...
Searching...
No Matches
ClientboundUpdateAttributesPacket.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <vector>
4
7
8namespace ProtocolCraft
9{
10 class ClientboundUpdateAttributesPacket : public BaseMessage<ClientboundUpdateAttributesPacket>
11 {
12 public:
13 static constexpr std::string_view packet_name = "Update Attributes";
14
16#if PROTOCOL_VERSION < 755 /* < 1.17 */
18#else
19 SERIALIZED_FIELD(Attributes, std::vector<EntityProperty>);
20#endif
21
23 };
24} //ProtocolCraft
#define SERIALIZED_FIELD(Name,...)
SERIALIZED_FIELD(Attributes, std::vector< EntityProperty >)