Botcraft 26.3
Loading...
Searching...
No Matches
ServerboundSeenAdvancementsPacket.hpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION > 316 /* > 1.11.2 */
2#pragma once
3
6
7namespace ProtocolCraft
8{
9 class ServerboundSeenAdvancementsPacket : public BasePacket<ServerboundSeenAdvancementsPacket>
10 {
11 public:
12 static constexpr std::string_view packet_name = "Seen Advancement";
13
14 DEFINE_CONDITION(HasTab, GetAction() == 0);
15
18
20 };
21} //ProtocolCraft
22#endif
SERIALIZED_FIELD(Tab, Internal::Conditioned< Identifier, &THIS::HasTab >)
A type wrapper to conditionally serialize a type.
Definition Templates.hpp:83