42 lines
No EOL
788 B
C#
42 lines
No EOL
788 B
C#
using System;
|
|
using LibAC.NBT.API;
|
|
|
|
namespace LibAC.NBT;
|
|
|
|
public class EndTag : Tag
|
|
{
|
|
public override TagType GetTagType()
|
|
{
|
|
return TagType.End;
|
|
}
|
|
|
|
public override void WriteValue(ByteLayer data)
|
|
{
|
|
}
|
|
|
|
public override void ReadValue(ByteLayer data)
|
|
{
|
|
}
|
|
|
|
public override dynamic GetValue()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
public override void SetValue(dynamic val)
|
|
{
|
|
}
|
|
|
|
public override void WriteStringifiedValue(StringBuilder builder, int indent, bool isList)
|
|
{
|
|
}
|
|
|
|
public override void ReadStringifiedValue(StringReader reader)
|
|
{
|
|
}
|
|
|
|
public override void PrettyPrint(int indent, bool recurse)
|
|
{
|
|
Console.WriteLine($"{"".PadLeft(indent, '\t')}{Tag.GetCanonicalName(GetTagType())}");
|
|
}
|
|
} |