Botcraft
26.1.2
Loading...
Searching...
No Matches
DataComponentTypeProvidesBannerPattern.hpp
Go to the documentation of this file.
1
#if PROTOCOL_VERSION > 769
/* > 1.21.4 */
2
#pragma once
3
#include "
protocolCraft/Types/Components/DataComponentType.hpp
"
4
5
#if PROTOCOL_VERSION < 775
/* < 26.1 */
6
#include "
protocolCraft/Types/Identifier.hpp
"
7
#else
8
#include "
protocolCraft/Types/HolderSet.hpp
"
9
#endif
10
11
namespace
ProtocolCraft
12
{
13
namespace
Components
14
{
15
class
DataComponentTypeProvidesBannerPattern
:
public
DataComponentType
16
{
17
#if PROTOCOL_VERSION < 775
/* < 26.1 */
18
SERIALIZED_FIELD
(Key,
Identifier
);
19
#else
20
SERIALIZED_FIELD
(Keys,
HolderSet
);
21
#endif
22
23
DECLARE_READ_WRITE_SERIALIZE
;
24
};
25
}
26
}
27
#endif
SERIALIZED_FIELD
#define SERIALIZED_FIELD(Name,...)
Definition
AutoSerializedMacros.hpp:77
DataComponentType.hpp
HolderSet.hpp
Identifier.hpp
ProtocolCraft::Components::DataComponentTypeProvidesBannerPattern
Definition
DataComponentTypeProvidesBannerPattern.hpp:16
ProtocolCraft::Components::DataComponentTypeProvidesBannerPattern::DECLARE_READ_WRITE_SERIALIZE
DECLARE_READ_WRITE_SERIALIZE
Definition
DataComponentTypeProvidesBannerPattern.hpp:23
ProtocolCraft::Components::DataComponentTypeProvidesBannerPattern::SERIALIZED_FIELD
SERIALIZED_FIELD(Keys, HolderSet)
ProtocolCraft::Components::DataComponentType
Definition
DataComponentType.hpp:10
ProtocolCraft::HolderSet
Definition
HolderSet.hpp:12
ProtocolCraft::Identifier
Definition
Identifier.hpp:8
ProtocolCraft
Definition
ItemUtilities.hpp:8
protocolCraft
include
protocolCraft
Types
Components
DataComponentTypeProvidesBannerPattern.hpp
Generated by
1.9.8