NBTExplorer/Model/TagIntArrayDataNode.cs
2012-09-01 20:08:54 -04:00

26 lines
577 B
C#

using Substrate.Nbt;
namespace NBTExplorer.Model
{
public class TagIntArrayDataNode : TagDataNode
{
public TagIntArrayDataNode (TagNodeIntArray tag)
: base(tag)
{ }
protected new TagNodeIntArray Tag
{
get { return base.Tag as TagNodeIntArray; }
}
public override bool EditNode ()
{
return EditIntHexValue(Tag);
}
public override string NodeDisplay
{
get { return NodeDisplayPrefix + Tag.Data.Length + " integers"; }
}
}
}