diff --git a/Qrakhen.Qamp.Core/Values/Objects/Obj.cs b/Qrakhen.Qamp.Core/Values/Objects/Obj.cs index 58af599..f2861a4 100644 --- a/Qrakhen.Qamp.Core/Values/Objects/Obj.cs +++ b/Qrakhen.Qamp.Core/Values/Objects/Obj.cs @@ -1,6 +1,6 @@ namespace Qrakhen.Qamp.Core.Values.Objects; -public class Obj(ValueType type) : IDynamicValue +public class Obj(ValueType type) : ITypedValue { public bool __gcMarked = false; public int __gcCount = 1; diff --git a/Qrakhen.Qamp.Core/Values/Value.cs b/Qrakhen.Qamp.Core/Values/Value.cs index c50155f..2629059 100644 --- a/Qrakhen.Qamp.Core/Values/Value.cs +++ b/Qrakhen.Qamp.Core/Values/Value.cs @@ -34,14 +34,19 @@ public interface IValue T Data { get; } } -public interface IDynamicValue : IValue +public interface ITypedValue { T ValueType { get; } } +public interface IDynamicValue : IValue +{ + +} + [StructLayout(LayoutKind.Explicit, Size = 0x10)] public readonly struct Value : - IDynamicValue, + IDynamicValue, ISerialize, IDebug {