public DialogResponseData(string Tag = null)
     : base(Tag)
 {
     Type        = new DialogResponseType();
     NextSpeaker = new NextSpeaker();
     Flags       = new DialogResponseFlags();
 }
        protected override void WriteDataXML(XElement ele, ElderScrollsPlugin master)
        {
            XElement subEle;

            ele.TryPathTo("Type", true, out subEle);
            subEle.Value = Type.ToString();

            ele.TryPathTo("NextSpeaker", true, out subEle);
            subEle.Value = NextSpeaker.ToString();

            ele.TryPathTo("Flags", true, out subEle);
            subEle.Value = Flags.ToString();
        }
 public DialogResponseData(DialogResponseType Type, NextSpeaker NextSpeaker, DialogResponseFlags Flags)
 {
     this.Type        = Type;
     this.NextSpeaker = NextSpeaker;
     this.Flags       = Flags;
 }