Botcraft
1.21.5
Loading...
Searching...
No Matches
DataComponentTypeArmorTrim.hpp
Go to the documentation of this file.
1
#if PROTOCOL_VERSION > 765
/* > 1.20.4 */
2
#pragma once
3
#include "
protocolCraft/Types/Components/DataComponentType.hpp
"
4
#include "
protocolCraft/Types/Holder.hpp
"
5
#include "
protocolCraft/Types/Components/Subtypes/TrimMaterial.hpp
"
6
#include "
protocolCraft/Types/Components/Subtypes/TrimPattern.hpp
"
7
8
namespace
ProtocolCraft
9
{
10
namespace
Components
11
{
12
class
DataComponentTypeArmorTrim
:
public
DataComponentType
13
{
14
SERIALIZED_FIELD
(Material,
Holder<TrimMaterial>
);
15
SERIALIZED_FIELD
(Pattern,
Holder<TrimPattern>
);
16
#if PROTOCOL_VERSION < 770
/* < 1.21.5 */
17
SERIALIZED_FIELD
(ShowInTooltip,
bool
);
18
#endif
19
20
DECLARE_READ_WRITE_SERIALIZE
;
21
};
22
}
23
}
24
#endif
SERIALIZED_FIELD
#define SERIALIZED_FIELD(Name,...)
Definition
AutoSerializedMacros.hpp:77
DataComponentType.hpp
Holder.hpp
TrimMaterial.hpp
TrimPattern.hpp
ProtocolCraft::Components::DataComponentTypeArmorTrim
Definition
DataComponentTypeArmorTrim.hpp:13
ProtocolCraft::Components::DataComponentTypeArmorTrim::SERIALIZED_FIELD
SERIALIZED_FIELD(Material, Holder< TrimMaterial >)
ProtocolCraft::Components::DataComponentTypeArmorTrim::SERIALIZED_FIELD
SERIALIZED_FIELD(Pattern, Holder< TrimPattern >)
ProtocolCraft::Components::DataComponentTypeArmorTrim::DECLARE_READ_WRITE_SERIALIZE
DECLARE_READ_WRITE_SERIALIZE
Definition
DataComponentTypeArmorTrim.hpp:20
ProtocolCraft::Components::DataComponentType
Definition
DataComponentType.hpp:10
ProtocolCraft::Holder
Definition
Holder.hpp:11
ProtocolCraft
Definition
ItemUtilities.hpp:8
protocolCraft
include
protocolCraft
Types
Components
DataComponentTypeArmorTrim.hpp
Generated by
1.9.8