Botcraft 26.3
Loading...
Searching...
No Matches
ClientboundSetEntityNBTPacket.hpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION < 107 /* < 1.9 */
2#pragma once
3
6
7namespace ProtocolCraft
8{
9 class ClientboundSetEntityNBTPacket : public BasePacket<ClientboundSetEntityNBTPacket>
10 {
11 public:
12 static constexpr std::string_view packet_name = "Set Entity NBT";
13
14 SERIALIZED_FIELD(EntityId, VarInt);
15 SERIALIZED_FIELD(Data, NBT::UnnamedValue);
16
18 };
19} //ProtocolCraft
20#endif
#define DECLARE_READ_WRITE_SERIALIZE
Define auto serializable utilities and declare ReadImpl, WriteImpl and SerializeImpl virtual function...
#define SERIALIZED_FIELD(Name,...)