forked from mirrors/NBTExplorer
26 lines
577 B
C#
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"; }
|
|
}
|
|
}
|
|
}
|