//========================================================================================= /// <summary> /// In this function each derived class should write its own data to /// the given XML node representing this object and its attributes. Base methods should /// also be called as part of this process. /// </summary> /// /// <param name="data"> /// An object representing the xml data for this XMLObject. Data values should be /// written to here. /// </param> //========================================================================================= public override void WriteXml( XmlObjectData data ) { // Call base class function base.WriteXml(data); // Write all data: data.Write( "NextScreen" , m_next_screen ); data.Write( "PreviousScreen" , m_previous_screen ); }
//========================================================================================= /// <summary> /// In this function each derived class should write its own data to /// the given XML node representing this object and its attributes. Base methods should /// also be called as part of this process. /// </summary> /// /// <param name="data"> /// An object representing the xml data for this XMLObject. Data values should be /// written to here. /// </param> //========================================================================================= public override void WriteXml( XmlObjectData data ) { // Call base class function base.WriteXml(data); // Write all data: data.Write( "UseEvent" , m_use_event ); data.Write( "BackEvent" , m_back_event ); data.Write( "ExpandTime" , m_expand_time ); data.Write( "Expansion" , m_expansion ); data.Write( "HighlightWobbleSpeed" , m_highlight_wobble_speed ); data.Write( "HighlightWobbleIntensity" , m_highlight_wobble_intensity ); data.Write( "FocusSound" , m_focus_sound ); data.Write( "UseSound" , m_use_sound ); }