Botcraft 1.21.4
Loading...
Searching...
No Matches
ClientboundResourcePackPushPacket.hpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION > 764 /* > 1.20.2 */
2#pragma once
3
6
7namespace ProtocolCraft
8{
9 class ClientboundResourcePackPushPacket : public BaseMessage<ClientboundResourcePackPushPacket>
10 {
11 public:
12 static constexpr std::string_view packet_name = "Ressource Pack Push";
13
15 SERIALIZED_FIELD(Url, std::string);
16 SERIALIZED_FIELD(Hash, std::string);
17 SERIALIZED_FIELD(Required, bool);
18 SERIALIZED_FIELD(Prompt, std::optional<Chat>);
19
21 };
22} //ProtocolCraft
23#endif
SERIALIZED_FIELD(Prompt, std::optional< Chat >)
std::array< unsigned char, 16 > UUID