Botcraft 26.3
Loading...
Searching...
No Matches
ConsumeEffect.hpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION > 767 /* > 1.21.1 */
2#pragma once
5
6#include <memory>
7
8namespace ProtocolCraft
9{
10 namespace Components
11 {
22
23 class ConsumeEffectData;
24
34 }
35}
36#endif
static std::shared_ptr< ConsumeEffectData > CreateConsumeEffectData(const ConsumeEffectDataType type)
SERIALIZED_DYNAMIC_FIELD(ConsumeEffect, Type, Data, ConsumeEffectData, ConsumeEffect::CreateConsumeEffectData, Internal::DiffType< ConsumeEffectDataType, VarInt >)
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