internal override void Write(NBTStream stream) { foreach (Tag t in this.Tags.Values) { t.WriteTag(stream); } stream.WriteByteTag((byte)NBTTagType.END); }
internal override void Write(NBTStream stream) { stream.WriteByteTag((byte)this.ListTagType); stream.WriteIntTag(this.Tags.Count); for (int i = 0; i < this.Tags.Count; ++i) { this.Tags[i].Write(stream); } }
internal override void Write(NBTStream stream) { int len = this.Data.Length; stream.WriteIntTag(len); for (int i = 0; i < len; ++i) { stream.WriteByteTag(this.Data[i]); } }
internal override void Write(NBTStream stream) { stream.WriteByteTag(this.Data); }
internal void WriteTag(NBTStream stream) { stream.WriteByteTag((byte)this.Type); stream.WriteStringTag(this.Name); this.Write(stream); }