Botcraft 1.21.4
Loading...
Searching...
No Matches
ClientboundResourcePackPushConfigurationPacket.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 ClientboundResourcePackPushConfigurationPacket : public BaseMessage<ClientboundResourcePackPushConfigurationPacket>
10 {
11 public:
12 static constexpr std::string_view packet_name = "Resource Pack Push (Configuration)";
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
std::array< unsigned char, 16 > UUID