Botcraft 26.2
Loading...
Searching...
No Matches
ServerboundSpectatorActionPacket.hpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION > 775 /* > 26.1.2 */
2#pragma once
3
5
6#include <optional>
7
8namespace ProtocolCraft
9{
10 class ServerboundSpectatorActionPacket : public BasePacket<ServerboundSpectatorActionPacket>
11 {
12 public:
13 static constexpr std::string_view packet_name = "Spectator Action";
14
15 SERIALIZED_FIELD(SpectateEntityId, std::optional<VarInt>);
16
18 };
19} //ProtocolCraft
20#endif
SERIALIZED_FIELD(SpectateEntityId, std::optional< VarInt >)