Botcraft 26.3
Loading...
Searching...
No Matches
ItemAttributeModifiersDisplay.hpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION > 770 /* > 1.21.5 */
2#pragma once
5
6namespace ProtocolCraft
7{
8 namespace Components
9 {
11 {
12 None = -1,
13 Default,
14 Hidden,
17 };
18
19 class ItemAttributeModifiersDisplayData;
20
30 }
31}
32#endif
SERIALIZED_DYNAMIC_FIELD(ItemAttributeModifiersDisplay, Type, Data, ItemAttributeModifiersDisplayData, ItemAttributeModifiersDisplay::CreateItemAttributeModifiersDisplayData, Internal::DiffType< ItemAttributeModifiersDisplayType, VarInt >)
static std::shared_ptr< ItemAttributeModifiersDisplayData > CreateItemAttributeModifiersDisplayData(const ItemAttributeModifiersDisplayType type)
Just a simple type wrapper that will store with T1 and serialize as T2 (can be used for Enum/VarInt f...
Definition Templates.hpp:72