1#if PROTOCOL_VERSION > 772
34 class DebugSubscriptionData;
SERIALIZED_DYNAMIC_FIELD(DebugSubscriptionEvent, Type, Data, DebugSubscriptionData, DebugSubscriptionEvent::CreateDebugSubscriptionData, Internal::DiffType< DebugSubscriptionDataType, VarInt >)
DECLARE_READ_WRITE_SERIALIZE
static std::shared_ptr< DebugSubscriptionData > CreateDebugSubscriptionData(const DebugSubscriptionDataType type)
SERIALIZED_FIELD_WITHOUT_GETTER_SETTER(Type, Internal::DiffType< DebugSubscriptionDataType, VarInt >)
DYNAMIC_TYPE_SETTER(Type, Data, DebugSubscriptionUpdate::CreateDebugSubscriptionData)
static std::shared_ptr< DebugSubscriptionData > CreateDebugSubscriptionData(const DebugSubscriptionDataType type)
DECLARE_READ_WRITE_SERIALIZE
SERIALIZED_FIELD_WITHOUT_GETTER_SETTER(Data, std::optional< std::shared_ptr< DebugSubscriptionData > >)
DebugSubscriptionUpdate & SetDataTypeNoData(const DebugSubscriptionDataType type)
DebugSubscriptionDataType
@ DedicatedServerTickTime
@ NUM_DEBUG_SUBSCRIPTION_DATA_TYPES
@ EntityBlockIntersections
@ RedstoneWireOrientations
Just a simple type wrapper that will store with T1 and serialize as T2 (can be used for Enum/VarInt f...