Botcraft 1.21.4
Loading...
Searching...
No Matches
ServerboundCommandSuggestionPacket.hpp
Go to the documentation of this file.
1#pragma once
2
4#if PROTOCOL_VERSION < 393 /* < 1.13 */
6#endif
7
8namespace ProtocolCraft
9{
10 class ServerboundCommandSuggestionPacket : public BaseMessage<ServerboundCommandSuggestionPacket>
11 {
12 public:
13 static constexpr std::string_view packet_name = "Command Suggestion";
14
15#if PROTOCOL_VERSION > 344 /* > 1.12.2 */
17#endif
18 SERIALIZED_FIELD(Command, std::string);
19#if PROTOCOL_VERSION < 393 /* < 1.13 */
20 SERIALIZED_FIELD(AssumeCommand, bool);
21 SERIALIZED_FIELD(LookedAtBlock, std::optional<NetworkPosition>);
22#endif
23
25 };
26} //ProtocolCraft
#define SERIALIZED_FIELD(Name,...)