dynval
This commit is contained in:
parent
f62c48396f
commit
bb13c0ae2b
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue