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