Botcraft
1.21.5
Loading...
Searching...
No Matches
DataComponentTypeTooltipDisplay.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
#include "
protocolCraft/Types/Components/DataComponents.hpp
"
5
6
namespace
ProtocolCraft
7
{
8
namespace
Components
9
{
10
class
DataComponentTypeTooltipDisplay
:
public
DataComponentType
11
{
12
SERIALIZED_FIELD
(HideTooltip,
bool
);
13
SERIALIZED_FIELD
(HiddenComponents,
Internal::DiffType
<std::vector<DataComponentTypes>, std::vector<VarInt>>);
14
15
DECLARE_READ_WRITE_SERIALIZE
;
16
};
17
}
18
}
19
#endif
DataComponentType.hpp
DataComponents.hpp
ProtocolCraft::Components::DataComponentTypeTooltipDisplay
Definition
DataComponentTypeTooltipDisplay.hpp:11
ProtocolCraft::Components::DataComponentTypeTooltipDisplay::SERIALIZED_FIELD
SERIALIZED_FIELD(HideTooltip, bool)
ProtocolCraft::Components::DataComponentTypeTooltipDisplay::SERIALIZED_FIELD
SERIALIZED_FIELD(HiddenComponents, Internal::DiffType< std::vector< DataComponentTypes >, std::vector< VarInt > >)
ProtocolCraft::Components::DataComponentTypeTooltipDisplay::DECLARE_READ_WRITE_SERIALIZE
DECLARE_READ_WRITE_SERIALIZE
Definition
DataComponentTypeTooltipDisplay.hpp:15
ProtocolCraft::Components::DataComponentType
Definition
DataComponentType.hpp:10
ProtocolCraft
Definition
ItemUtilities.hpp:8
ProtocolCraft::Internal::DiffType
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
protocolCraft
include
protocolCraft
Types
Components
DataComponentTypeTooltipDisplay.hpp
Generated by
1.9.8