using System.Collections.Generic; using System.Xml.Serialization; namespace D2Multi { /// XML shape only; encryption is applied in when saving. public class D2AccountPersisted { public string Name { get; set; } public string Email { get; set; } [XmlElement("EncryptedPassword")] public string EncryptedPassword { get; set; } [XmlElement("Character")] public List Characters { get; set; } } public class D2CharacterPersisted { public string Name { get; set; } public string Class { get; set; } [XmlElement("Mission")] public List Missions { get; set; } } public class D2MissionPersisted { public D2Level Level { get; set; } public bool A1_Enpowered { get; set; } public bool A5_Socket { get; set; } } }