public override void Write(XmlWriter writer) { writer.WriteStartElement(this.elementName); foreach (FieldInfo fieldInfo in this.FieldInfos) { writer.WriteStartElement(fieldInfo.Name); writer.WriteValue(BaseSystem.ConvertString(fieldInfo.GetValue((object)this))); writer.WriteEndElement(); } writer.WriteEndElement(); }
public override void Write(XmlWriter writer) { writer.WriteStartElement(this.elementName); writer.WriteStartElement("SelfShadow"); writer.WriteValue(BaseSystem.ConvertString((object)this.SelfShadow)); writer.WriteEndElement(); writer.WriteStartElement("Bloom"); writer.WriteValue(BaseSystem.ConvertString((object)this.Bloom)); writer.WriteEndElement(); writer.WriteStartElement("SSAO"); writer.WriteValue(BaseSystem.ConvertString((object)this.SSAO)); writer.WriteEndElement(); writer.WriteStartElement("SSR"); writer.WriteValue(BaseSystem.ConvertString((object)this.SSR)); writer.WriteEndElement(); writer.WriteStartElement("DepthOfField"); writer.WriteValue(BaseSystem.ConvertString((object)this.DepthOfField)); writer.WriteEndElement(); writer.WriteStartElement("Atmospheric"); writer.WriteValue(BaseSystem.ConvertString((object)this.Atmospheric)); writer.WriteEndElement(); writer.WriteStartElement("Vignette"); writer.WriteValue(BaseSystem.ConvertString((object)this.Vignette)); writer.WriteEndElement(); writer.WriteStartElement("Rain"); writer.WriteValue(BaseSystem.ConvertString((object)this.Rain)); writer.WriteEndElement(); writer.WriteStartElement("CharaGraphicQuality"); writer.WriteValue(BaseSystem.ConvertString((object)this.CharaGraphicQuality)); writer.WriteEndElement(); writer.WriteStartElement("MapGraphicQuality"); writer.WriteValue(BaseSystem.ConvertString((object)this.MapGraphicQuality)); writer.WriteEndElement(); writer.WriteStartElement("FaceLight"); writer.WriteValue(BaseSystem.ConvertString((object)this.FaceLight)); writer.WriteEndElement(); writer.WriteStartElement("AmbientLight"); writer.WriteValue(BaseSystem.ConvertString((object)this.AmbientLight)); writer.WriteEndElement(); writer.WriteStartElement("Shield"); writer.WriteValue(BaseSystem.ConvertString((object)this.Shield)); writer.WriteEndElement(); writer.WriteStartElement("SimpleBody"); writer.WriteValue(BaseSystem.ConvertString((object)this.SimpleBody)); writer.WriteEndElement(); writer.WriteStartElement("SilhouetteColor"); writer.WriteValue(BaseSystem.ConvertString((object)this.SilhouetteColor)); writer.WriteEndElement(); writer.WriteStartElement("BackColor"); writer.WriteValue(BaseSystem.ConvertString((object)this.BackColor)); writer.WriteEndElement(); writer.WriteStartElement("MaxCharaNum"); writer.WriteValue(BaseSystem.ConvertString((object)this.MaxCharaNum)); writer.WriteEndElement(); for (int index = 0; index < 4; ++index) { string localName = "CharasEntry" + (object)index; writer.WriteStartElement(localName); writer.WriteValue(BaseSystem.ConvertString((object)this.CharasEntry[index])); writer.WriteEndElement(); } writer.WriteEndElement(); }