Minecraft-Console-Client/MinecraftClient/Protocol/Handlers/StructuredComponents/Core/SubComponent.cs
2024-09-11 19:12:31 +02:00

12 lines
No EOL
479 B
C#

using System.Collections.Generic;
namespace MinecraftClient.Protocol.Handlers.StructuredComponents.Core;
public abstract class SubComponent(DataTypes dataTypes, SubComponentRegistry subComponentRegistry)
{
protected DataTypes DataTypes { get; private set; } = dataTypes;
protected SubComponentRegistry SubComponentRegistry { get; private set; } = subComponentRegistry;
protected abstract void Parse(Queue<byte> data);
public abstract Queue<byte> Serialize();
}