Botcraft 1.21.4
Loading...
Searching...
No Matches
ClientboundAddGlobalEntityPacket.hpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION < 721 /* < 1.16 */
2#pragma once
3
5
6namespace ProtocolCraft
7{
8 class ClientboundAddGlobalEntityPacket : public BaseMessage<ClientboundAddGlobalEntityPacket>
9 {
10 public:
11 static constexpr std::string_view packet_name = "Add Global Entity";
12
13 SERIALIZED_FIELD(EntityId, VarInt);
14 SERIALIZED_FIELD(Type, char);
15 SERIALIZED_FIELD(X, double);
16 SERIALIZED_FIELD(Y, double);
17 SERIALIZED_FIELD(Z, double);
18
20 };
21} //ProtocolCraft
22#endif
#define DECLARE_READ_WRITE_SERIALIZE
Define auto serializable utilities and declare ReadImpl, WriteImpl and SerializeImpl virtual function...
#define SERIALIZED_FIELD(Name,...)