19 lines
391 B
C#
19 lines
391 B
C#
namespace Qrakhen.Qamp.Core.Values.Objects;
|
|
|
|
public class Obj(ValueType type) : IValue
|
|
{
|
|
public bool __gcMarked = false;
|
|
public int __gcCount = 1;
|
|
|
|
public readonly ValueType Type = type;
|
|
|
|
public ValueType ValueType => Type;
|
|
|
|
public static Value Create(Obj obj)
|
|
{
|
|
return new Value(Ptr.Create(obj));
|
|
}
|
|
|
|
public override string ToString() => "Obj<undefined>";
|
|
}
|