Example #1
0
 public override void WriteStream(Stream s)
 {
     NbtWriter.TagType(listtagtype, s);
     NbtWriter.TagInt(tagvalue.Count, s);
     foreach (NbtBase n in tagvalue)
     {
         n.WriteStream(s);
     }
 }
Example #2
0
 public override void WriteStream(Stream s)
 {
     foreach (NbtBase n in tagvalue)
     {
         NbtWriter.WriteTag(n, s);
         if (n.tagtype == NbtType.TAG_end)
         {
             break;
         }
     }
 }
Example #3
0
 public override void WriteStream(Stream s)
 {
     NbtWriter.TagByte(tagvalue, s);
 }
Example #4
0
 public override void WriteStream(Stream s)
 {
     NbtWriter.TagIntArray(tagvalue, s);
 }