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