Botcraft 1.21.4
Loading...
Searching...
No Matches
ServerboundContainerAckPacket.hpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION < 755 /* < 1.17 */
2#pragma once
3
5
6namespace ProtocolCraft
7{
8 class ServerboundContainerAckPacket : public BaseMessage<ServerboundContainerAckPacket>
9 {
10 public:
11 static constexpr std::string_view packet_name = "Container Ack";
12
13 SERIALIZED_FIELD(ContainerId, char);
14 SERIALIZED_FIELD(Uid, short);
15 SERIALIZED_FIELD(Accepted, bool);
16
18 };
19} //ProtocolCraft
20#endif
#define DECLARE_READ_WRITE_SERIALIZE
Define auto serializable utilities and declare ReadImpl, WriteImpl and SerializeImpl virtual function...
#define SERIALIZED_FIELD(Name,...)