dynval
This commit is contained in:
parent
f62c48396f
commit
bb13c0ae2b
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -34,14 +34,19 @@ public interface IValue<T>
|
|||
T Data { get; }
|
||||
}
|
||||
|
||||
public interface IDynamicValue : IValue<ulong>
|
||||
public interface ITypedValue
|
||||
{
|
||||
T ValueType { get; }
|
||||
}
|
||||
|
||||
public interface IDynamicValue : IValue<ulong>
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
[StructLayout(LayoutKind.Explicit, Size = 0x10)]
|
||||
public readonly struct Value :
|
||||
IDynamicValue,
|
||||
IDynamicValue,
|
||||
ISerialize<Value>,
|
||||
IDebug<string>
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue