示例#1
0
        public static NbtBase createtag(Stream s)
        {
            NbtType T = NbtReader.TagType(s);

            if (T == NbtType.TAG_end)
            {
                return(new NbtEnd());
            }

            NbtBase n = createtag(T);

            n.tagname = NbtReader.TagString(s);
            return(n);
        }
示例#2
0
 public override void ReadStream(Stream s)
 {
     tagvalue = NbtReader.TagString(s);
 }