18 lines
425 B
C#
18 lines
425 B
C#
namespace Qrakhen.Qamp.Core.Values.Objects;
|
|
|
|
public class Obj(ValueType type) : IValue
|
|
{
|
|
public bool __gcMarked { get; private set; }
|
|
public int __gcCount { get; private set; } = 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>";
|
|
} |