Botcraft 1.21.4
Loading...
Searching...
No Matches
ConsumeEffect.hpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION > 767 /* > 1.21.1 */
2#pragma once
4
5#include <memory>
6
7namespace ProtocolCraft
8{
9 namespace Components
10 {
21
22 class ConsumeEffectData;
23
37 }
38}
39#endif
ConsumeEffect & SetType(const ConsumeEffectDataType type)
SERIALIZED_FIELD_WITHOUT_GETTER_SETTER(Data, std::shared_ptr< ConsumeEffectData >)
SERIALIZED_FIELD_WITHOUT_GETTER_SETTER(Type, 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