NBTExplorer/Model/TagIntArrayDataNode.cs

27 lines
577 B
C#
Raw Normal View History

2012-09-02 00:08:54 +00:00
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"; }
}
}
}