示例#1
0
            public static AchievementCompleteEvent CreateFromXml(System.Xml.XmlElement n)
            {
                Events.AchievementCompleteEvent e = new Events.AchievementCompleteEvent();

                e.ikey           = n.GetAttribute("ikey");
                e.steps          = n.GetAttribute("steps");
                e.label          = n.GetAttribute("label");
                e.progress_count = n.GetAttribute("progress_count");
                e.description    = n.GetAttribute("description");
                e.task_ikey      = n.GetAttribute("job_ikey");
                e.task_label     = n.GetAttribute("job_label");

                return(e);
            }
示例#2
0
            public static AchievementCompleteEvent CreateFromXml( System.Xml.XmlElement n)
            {
                Events.AchievementCompleteEvent e = new Events.AchievementCompleteEvent();

                e.ikey = n.GetAttribute("ikey");
                e.steps = n.GetAttribute("steps");
                e.label = n.GetAttribute("label");
                e.progress_count = n.GetAttribute("progress_count");
                e.description = n.GetAttribute("description");
                e.task_ikey = n.GetAttribute("job_ikey");
                e.task_label = n.GetAttribute("job_label");

                return e;
            }