public override void WriteDataXML(XElement ele, ElderScrollsPlugin master) { XElement subEle; if (EditorID != null) { ele.TryPathTo("EditorID", true, out subEle); EditorID.WriteXML(subEle, master); } if (ObjectBounds != null) { ele.TryPathTo("ObjectBounds", true, out subEle); ObjectBounds.WriteXML(subEle, master); } if (BaseImage_Transparency != null) { ele.TryPathTo("BaseImage_Transparency", true, out subEle); BaseImage_Transparency.WriteXML(subEle, master); } if (NormalMap_Specular != null) { ele.TryPathTo("NormalMap_Specular", true, out subEle); NormalMap_Specular.WriteXML(subEle, master); } if (EnvironmentMapMask != null) { ele.TryPathTo("EnvironmentMapMask", true, out subEle); EnvironmentMapMask.WriteXML(subEle, master); } if (GlowMap != null) { ele.TryPathTo("GlowMap", true, out subEle); GlowMap.WriteXML(subEle, master); } if (ParallaxMap != null) { ele.TryPathTo("ParallaxMap", true, out subEle); ParallaxMap.WriteXML(subEle, master); } if (EnvironmentMap != null) { ele.TryPathTo("EnvironmentMap", true, out subEle); EnvironmentMap.WriteXML(subEle, master); } if (DecalData != null) { ele.TryPathTo("DecalData", true, out subEle); DecalData.WriteXML(subEle, master); } if (TextureSetFlags != null) { ele.TryPathTo("TextureSetFlags", true, out subEle); TextureSetFlags.WriteXML(subEle, master); } }
public override void WriteDataXML(XElement ele, ElderScrollsPlugin master) { XElement subEle; if (EditorID != null) { ele.TryPathTo("EditorID", true, out subEle); EditorID.WriteXML(subEle, master); } if (Model != null) { ele.TryPathTo("Model", true, out subEle); Model.WriteXML(subEle, master); } if (Data != null) { ele.TryPathTo("Data", true, out subEle); Data.WriteXML(subEle, master); } if (DecalData != null) { ele.TryPathTo("DecalData", true, out subEle); DecalData.WriteXML(subEle, master); } if (TextureSet != null) { ele.TryPathTo("TextureSet", true, out subEle); TextureSet.WriteXML(subEle, master); } if (Sound1 != null) { ele.TryPathTo("Sound1", true, out subEle); Sound1.WriteXML(subEle, master); } if (Sound2 != null) { ele.TryPathTo("Sound2", true, out subEle); Sound2.WriteXML(subEle, master); } }