Botcraft 26.2
Loading...
Searching...
No Matches
ServerboundSpectateEntityPacket.hpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION > 774 /* > 1.21.11 */ && PROTOCOL_VERSION < 776 /* < 26.2 */
2#pragma once
3
5
6namespace ProtocolCraft
7{
8 class ServerboundSpectateEntityPacket : public BasePacket<ServerboundSpectateEntityPacket>
9 {
10 public:
11 static constexpr std::string_view packet_name = "Spectate Entity";
12
13 SERIALIZED_FIELD(EntityId, VarInt);
14
16 };
17} //ProtocolCraft
18#endif
#define DECLARE_READ_WRITE_SERIALIZE
Define auto serializable utilities and declare ReadImpl, WriteImpl and SerializeImpl virtual function...
#define SERIALIZED_FIELD(Name,...)