Botcraft 26.3
Loading...
Searching...
No Matches
ServerboundRecipePlacementPacket.hpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION > 316 /* > 1.11.2 */ && PROTOCOL_VERSION < 338 /* < 1.12.1 */
2#pragma once
3
5
7
8namespace ProtocolCraft
9{
10 class ServerboundRecipePlacementPacket : public BasePacket<ServerboundRecipePlacementPacket>
11 {
12 public:
13 static constexpr std::string_view packet_name = "Recipe Placement";
14
15 SERIALIZED_FIELD(ContainerId, unsigned char);
16 SERIALIZED_FIELD(Uid, short);
17 SERIALIZED_FIELD(MoveItemsFromGrid, Internal::Vector<RecipePlacementItemMove, short>);
18 SERIALIZED_FIELD(MoveItemsToGrid, Internal::Vector<RecipePlacementItemMove, short>);
19
21 };
22} //ProtocolCraft
23#endif
#define DECLARE_READ_WRITE_SERIALIZE
Define auto serializable utilities and declare ReadImpl, WriteImpl and SerializeImpl virtual function...
#define SERIALIZED_FIELD(Name,...)