This commit is contained in:
Qrakhen 2026-01-07 18:10:42 +01:00
parent f62c48396f
commit bb13c0ae2b
2 changed files with 8 additions and 3 deletions

View File

@ -1,6 +1,6 @@
namespace Qrakhen.Qamp.Core.Values.Objects; namespace Qrakhen.Qamp.Core.Values.Objects;
public class Obj(ValueType type) : IDynamicValue public class Obj(ValueType type) : ITypedValue
{ {
public bool __gcMarked = false; public bool __gcMarked = false;
public int __gcCount = 1; public int __gcCount = 1;

View File

@ -34,11 +34,16 @@ public interface IValue<T>
T Data { get; } T Data { get; }
} }
public interface IDynamicValue : IValue<ulong> public interface ITypedValue
{ {
T ValueType { get; } T ValueType { get; }
} }
public interface IDynamicValue : IValue<ulong>
{
}
[StructLayout(LayoutKind.Explicit, Size = 0x10)] [StructLayout(LayoutKind.Explicit, Size = 0x10)]
public readonly struct Value : public readonly struct Value :
IDynamicValue, IDynamicValue,