| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911 |
- using Azure;
- using Domain.XML_Model;
- using Domain;
- using System.ComponentModel.DataAnnotations;
- using System.Xml.Serialization;
- namespace Domain.XML_Model
- {
- // using System.Xml.Serialization;
- // XmlSerializer serializer = new XmlSerializer(typeof(Root));
- // using (StringReader reader = new StringReader(xml))
- // {
- // var test = (Root)serializer.Deserialize(reader);
- // }
- [Serializable]
- //[XmlRoot(ElementName = "extensions")]
- public class Extension : BaseEntity
- {
- [XmlAttribute(AttributeName = "id")]
- public string Id { get; set; }
- [XmlAttribute(AttributeName = "nom")]
- public string? Nom { get; set; }
- }
- [Serializable]
- [XmlRoot(ElementName = "accessoires")]
- public class Accessoire : BaseEntity
- {
- [XmlAttribute(AttributeName = "id")]
- public string Id { get; set; }
- [XmlAttribute(AttributeName = "nom")]
- public string? Nom { get; set; }
- [XmlAttribute(AttributeName = "modif_poids")]
- public string? ModifPoids { get; set; }
- [XmlAttribute(AttributeName = "prix")]
- public int Prix { get; set; }
- [XmlAttribute(AttributeName = "disponibilité")]
- public string? Disponibilité { get; set; }
- [XmlAttribute(AttributeName = "effet")]
- public string? Effet { get; set; }
- [XmlAttribute(AttributeName = "description")]
- public string? Description { get; set; }
- [XmlIgnoreAttribute] public int AccessoireId { get; set; }
- }
- [Serializable]
- //[XmlRoot(ElementName = "améliorations")]
- public class Amélioration : BaseEntity
- {
- [XmlAttribute(AttributeName = "id")]
- public string Id { get; set; }
- [XmlAttribute(AttributeName = "catégorie")]
- public string? Catégorie { get; set; }
- [XmlAttribute(AttributeName = "souscatégorie")]
- public string? Souscatégorie { get; set; }
- [XmlAttribute(AttributeName = "promotion")]
- public int Promotion { get; set; }
- [XmlAttribute(AttributeName = "type")]
- public string? Type { get; set; }
- [XmlAttribute(AttributeName = "nom")]
- public string? Nom { get; set; }
- [XmlAttribute(AttributeName = "cout")]
- public int Cout { get; set; }
- [XmlAttribute(AttributeName = "nb_max_ou_rang")]
- public int NbMaxOuRang { get; set; }
- [XmlAttribute(AttributeName = "condition")]
- public string? Condition { get; set; }
- [XmlIgnore] public int AméliorationId { get; set; }
- }
- [Serializable]
- [XmlRoot(ElementName = "archétypes")]
- public class Archétype : BaseEntity
- {
- [XmlAttribute(AttributeName = "id")]
- public string Id { get; set; }
- [XmlAttribute(AttributeName = "nom")]
- public string? Nom { get; set; }
- [XmlAttribute(AttributeName = "caractéristiques")]
- public string? Caractéristiques { get; set; }
- [XmlAttribute(AttributeName = "mouvement")]
- public string? Mouvement { get; set; }
- [XmlAttribute(AttributeName = "blessures")]
- public int Blessures { get; set; }
- [XmlAttribute(AttributeName = "traits")]
- public string? Traits { get; set; }
- //[XmlAttribute(AttributeName = "traits")]
- //public string? TraitsAsText {
- // get { return (Traits.HasValue) ? Traits.ToString() : null; }
- // set { Traits = !string?.IsNullOrEmpty(value) ? int.Parse(value) : default(int?); }
- //}
- [XmlAttribute(AttributeName = "competences")]
- public string? Competences { get; set; }
- [XmlAttribute(AttributeName = "talents")]
- public string? Talents { get; set; }
- [XmlAttribute(AttributeName = "pouvoirs")]
- public string? Pouvoirs { get; set; }
- //[XmlAttribute(AttributeName = "pouvoirs")]
- //public string? PouvoirsAsText
- //{
- // get { return (Pouvoirs.HasValue) ? Pouvoirs.ToString() : null; }
- // set { Pouvoirs = !string?.IsNullOrEmpty(value) ? int.Parse(value) : default(int?); }
- //}
- [XmlAttribute(AttributeName = "armures")]
- public string? Armures { get; set; }
- [XmlAttribute(AttributeName = "armes")]
- public string? Armes { get; set; }
- [XmlAttribute(AttributeName = "equipement")]
- public string? Equipement { get; set; }
- [XmlAttribute(AttributeName = "menace")]
- public string? Menace { get; set; }
- [XmlAttribute(AttributeName = "description")]
- public string? Description { get; set; }
- [XmlIgnoreAttribute] public int ArchétypeId { get; set; }
- }
- [Serializable]
- [XmlRoot(ElementName = "armes")]
- public class Arme : BaseEntity
- {
- [XmlAttribute(AttributeName = "id")]
- public string Id { get; set; }
- [XmlAttribute(AttributeName = "nom")]
- public string? Nom { get; set; }
- [XmlAttribute(AttributeName = "genre")]
- public string? Genre { get; set; }
- [XmlAttribute(AttributeName = "type")]
- public string? Type { get; set; }
- [XmlAttribute(AttributeName = "groupe")]
- public string? Groupe { get; set; }
- [XmlAttribute(AttributeName = "portée")]
- public int Portée { get; set; }
- [XmlAttribute(AttributeName = "modes")]
- public string? Modes { get; set; }
- [XmlAttribute(AttributeName = "dégâts")]
- public string? Dégâts { get; set; }
- [XmlAttribute(AttributeName = "type_dégâts")]
- public string? TypeDégâts { get; set; }
- [XmlAttribute(AttributeName = "pénétration")]
- public int Pénétration { get; set; }
- [XmlAttribute(AttributeName = "autonomie")]
- public int Autonomie { get; set; }
- [XmlAttribute(AttributeName = "rechargement")]
- public int Rechargement { get; set; }
- [XmlAttribute(AttributeName = "attributs")]
- public string? Attributs { get; set; }
- [XmlAttribute(AttributeName = "accessoires")]
- public string? Accessoires { get; set; }
- [XmlAttribute(AttributeName = "poids")]
- public int Poids { get; set; }
- [XmlAttribute(AttributeName = "bonus_bf")]
- public int BonusBf { get; set; }
- [XmlAttribute(AttributeName = "prix")]
- public int Prix { get; set; }
- [XmlAttribute(AttributeName = "disponibilité")]
- public string? Disponibilité { get; set; }
- [XmlAttribute(AttributeName = "description")]
- public string? Description { get; set; }
- [XmlIgnoreAttribute] public int ArmeId { get; set; }
- }
- [Serializable]
- [XmlRoot(ElementName = "armures")]
- public class Armure : BaseEntity
- {
- [XmlAttribute(AttributeName = "id")]
- public string Id { get; set; }
- [XmlAttribute(AttributeName = "nom")]
- public string? Nom { get; set; }
- [XmlAttribute(AttributeName = "type")]
- public string? Type { get; set; }
- [XmlAttribute(AttributeName = "pa_tête")]
- public int PaTête { get; set; }
- [XmlAttribute(AttributeName = "pa_bras")]
- public int PaBras { get; set; }
- [XmlAttribute(AttributeName = "pa_corps")]
- public int PaCorps { get; set; }
- [XmlAttribute(AttributeName = "pa_jambes")]
- public int PaJambes { get; set; }
- [XmlAttribute(AttributeName = "effet")]
- public string? Effet { get; set; }
- [XmlAttribute(AttributeName = "poids")]
- public int Poids { get; set; }
- [XmlAttribute(AttributeName = "prix")]
- public int Prix { get; set; }
- [XmlAttribute(AttributeName = "qualité")]
- public string? Qualité { get; set; }
- [XmlAttribute(AttributeName = "disponibilité")]
- public string? Disponibilité { get; set; }
- [XmlAttribute(AttributeName = "description")]
- public string? Description { get; set; }
- [XmlIgnoreAttribute] public int ArmureId { get; set; }
- }
- [Serializable]
- [XmlRoot(ElementName = "assermentations")]
- public class Assermentation : BaseEntity
- {
- [XmlAttribute(AttributeName = "id")]
- public string Id { get; set; }
- [XmlAttribute(AttributeName = "nom")]
- public string? Nom { get; set; }
- [XmlAttribute(AttributeName = "seuil_min")]
- public int SeuilMin { get; set; }
- [XmlAttribute(AttributeName = "seuil_max")]
- public int SeuilMax { get; set; }
- [XmlAttribute(AttributeName = "effet")]
- public string? Effet { get; set; }
- [XmlAttribute(AttributeName = "description")]
- public string? Description { get; set; }
- [XmlIgnoreAttribute] public int AssermentationId { get; set; }
- }
- [Serializable]
- [XmlRoot(ElementName = "attributs_armes")]
- public class Attribut : BaseEntity
- {
- [XmlAttribute(AttributeName = "id")]
- public string Id { get; set; }
- [XmlAttribute(AttributeName = "nom")]
- public string? Nom { get; set; }
- [XmlAttribute(AttributeName = "effet")]
- public string? Effet { get; set; }
- [XmlAttribute(AttributeName = "description")]
- public string? Description { get; set; }
- [XmlIgnoreAttribute] public int AttributId { get; set; }
- }
- [Serializable]
- [XmlRoot(ElementName = "carrières")]
- public class Carrière : BaseEntity
- {
- [XmlAttribute(AttributeName = "id")]
- public string Id { get; set; }
- [XmlAttribute(AttributeName = "nom")]
- public string? Nom { get; set; }
- [XmlAttribute(AttributeName = "effet")]
- public string? Effet { get; set; }
- [XmlAttribute(AttributeName = "types_mondes_autorisés")]
- public string? TypesMondesAutorisés { get; set; }
- [XmlAttribute(AttributeName = "description")]
- public string? Description { get; set; }
- [XmlIgnoreAttribute] public int CarrièreId { get; set; }
- }
- [Serializable]
- [XmlRoot(ElementName = "competences")]
- public class Competence : BaseEntity
- {
- [XmlAttribute(AttributeName = "id")]
- public string Id { get; set; }
- [XmlAttribute(AttributeName = "nom")]
- public string? Nom { get; set; }
- [XmlAttribute(AttributeName = "type")]
- public string? Type { get; set; }
- [XmlAttribute(AttributeName = "carac")]
- public string? Carac { get; set; }
- [XmlAttribute(AttributeName = "registre")]
- public string? Registre { get; set; }
- [XmlAttribute(AttributeName = "description")]
- public string? Description { get; set; }
- [XmlIgnoreAttribute] public int CompetenceId { get; set; }
- }
- [Serializable]
- [XmlRoot(ElementName = "coordonnées")]
- public class Coordonnée : BaseEntity
- {
- [XmlAttribute(AttributeName = "id")]
- public string Id { get; set; }
- [XmlAttribute(AttributeName = "nom")]
- public string? Nom { get; set; }
- [XmlAttribute(AttributeName = "sous_secteur")]
- public string? SousSecteur { get; set; }
- [XmlAttribute(AttributeName = "type")]
- public string? Type { get; set; }
- [XmlAttribute(AttributeName = "coord_x")]
- public int CoordX { get; set; }
- [XmlAttribute(AttributeName = "coord_y")]
- public int CoordY { get; set; }
- [XmlAttribute(AttributeName = "description")]
- public string? Description { get; set; }
- [XmlIgnoreAttribute] public int CoordonnéeId { get; set; }
- }
- [Serializable]
- [XmlRoot(ElementName = "cybernétiques")]
- public class Cybernétique : BaseEntity
- {
- [XmlAttribute(AttributeName = "id")]
- public string Id { get; set; }
- [XmlAttribute(AttributeName = "nom")]
- public string? Nom { get; set; }
- [XmlAttribute(AttributeName = "type")]
- public string? Type { get; set; }
- [XmlAttribute(AttributeName = "effet_qualité_médiocre")]
- public string? EffetQualitéMédiocre { get; set; }
- [XmlAttribute(AttributeName = "effet_qualité_moyenne")]
- public string? EffetQualitéMoyenne { get; set; }
- [XmlAttribute(AttributeName = "effet_qualité_bonne")]
- public string? EffetQualitéBonne { get; set; }
- [XmlAttribute(AttributeName = "effet_qualité_exceptionnelle")]
- public string? EffetQualitéExceptionnelle { get; set; }
- [XmlAttribute(AttributeName = "cout")]
- public int Cout { get; set; }
- [XmlAttribute(AttributeName = "disponibilité")]
- public string? Disponibilité { get; set; }
- [XmlAttribute(AttributeName = "description")]
- public string? Description { get; set; }
- [XmlIgnoreAttribute] public int CybernétiqueId { get; set; }
- }
- [Serializable]
- [XmlRoot(ElementName = "disciplines")]
- public class Discipline : BaseEntity
- {
- [XmlAttribute(AttributeName = "id")]
- public string Id { get; set; }
- [XmlAttribute(AttributeName = "nom")]
- public string? Nom { get; set; }
- [XmlAttribute(AttributeName = "description")]
- public string? Description { get; set; }
- [XmlIgnoreAttribute] public int DisciplineId { get; set; }
- }
- [Serializable]
- [XmlRoot(ElementName = "divination")]
- public class Divination : BaseEntity
- {
- [XmlAttribute(AttributeName = "id")]
- public string Id { get; set; }
- [XmlAttribute(AttributeName = "nom")]
- public string? Nom { get; set; }
- [XmlAttribute(AttributeName = "effet")]
- public string? Effet { get; set; }
- [XmlAttribute(AttributeName = "seuil_min")]
- public int SeuilMin { get; set; }
- [XmlAttribute(AttributeName = "seuil_max")]
- public int SeuilMax { get; set; }
- [XmlAttribute(AttributeName = "description")]
- public string? Description { get; set; }
- [XmlIgnoreAttribute] public int DivinationId { get; set; }
- }
- [Serializable]
- [XmlRoot(ElementName = "equipements")]
- public class Equipement : BaseEntity
- {
- [XmlAttribute(AttributeName = "id")]
- public string Id { get; set; }
- [XmlAttribute(AttributeName = "nom")]
- public string? Nom { get; set; }
- [XmlAttribute(AttributeName = "type")]
- public string? Type { get; set; }
- [XmlAttribute(AttributeName = "poids")]
- public double Poids { get; set; }
- [XmlAttribute(AttributeName = "prix")]
- public int Prix { get; set; }
- [XmlAttribute(AttributeName = "disponibilité")]
- public string? Disponibilité { get; set; }
- [XmlAttribute(AttributeName = "description")]
- public int Description { get; set; }
- [XmlIgnoreAttribute] public int EquipementId { get; set; }
- }
- [Serializable]
- [XmlRoot(ElementName = "implants")]
- public class Implant : BaseEntity
- {
- [XmlAttribute(AttributeName = "id")]
- public string Id { get; set; }
- [XmlAttribute(AttributeName = "nom")]
- public string? Nom { get; set; }
- [XmlAttribute(AttributeName = "effet")]
- public string? Effet { get; set; }
- [XmlAttribute(AttributeName = "description")]
- public string? Description { get; set; }
- [XmlIgnoreAttribute] public int ImplantId { get; set; }
- }
- [Serializable]
- [XmlRoot(ElementName = "mondes")]
- public class Monde : BaseEntity
- {
- [XmlAttribute(AttributeName = "id")]
- public string Id { get; set; }
- [XmlAttribute(AttributeName = "nom")]
- public string? Nom { get; set; }
- [XmlAttribute(AttributeName = "type")]
- public string? Type { get; set; }
- [XmlAttribute(AttributeName = "effet")]
- public string? Effet { get; set; }
- [XmlAttribute(AttributeName = "destin")]
- public string? Destin { get; set; }
- [XmlAttribute(AttributeName = "description")]
- public string? Description { get; set; }
- [XmlIgnoreAttribute] public int MondeId { get; set; }
- }
- [Serializable]
- [XmlRoot(ElementName = "mutation")]
- public class Mutation : BaseEntity
- {
- [XmlAttribute(AttributeName = "id")]
- public string Id { get; set; }
- [XmlAttribute(AttributeName = "nom")]
- public string? Nom { get; set; }
- [XmlAttribute(AttributeName = "type")]
- public string? Type { get; set; }
- [XmlAttribute(AttributeName = "effet")]
- public string? Effet { get; set; }
- [XmlAttribute(AttributeName = "seuil_min")]
- public int SeuilMin { get; set; }
- [XmlAttribute(AttributeName = "seuil_max")]
- public int SeuilMax { get; set; }
- [XmlAttribute(AttributeName = "description")]
- public string? Description { get; set; }
- [XmlIgnoreAttribute] public int MutationId { get; set; }
- }
- [Serializable]
- [XmlRoot(ElementName = "pouvoir")]
- public class Pouvoir : BaseEntity
- {
- [XmlAttribute(AttributeName = "id")]
- public string Id { get; set; }
- [XmlAttribute(AttributeName = "nom")]
- public string? Nom { get; set; }
- [XmlAttribute(AttributeName = "discipline")]
- public string? Discipline { get; set; }
- [XmlAttribute(AttributeName = "seuil")]
- public int Seuil { get; set; }
- [XmlAttribute(AttributeName = "action")]
- public string? Action { get; set; }
- [XmlAttribute(AttributeName = "opposé")]
- public bool Opposé { get; set; }
- [XmlAttribute(AttributeName = "portée")]
- public string? Portée { get; set; }
- [XmlAttribute(AttributeName = "prolongeable")]
- public bool Prolongeable { get; set; }
- [XmlAttribute(AttributeName = "description")]
- public string? Description { get; set; }
- [XmlIgnoreAttribute] public int PouvoirId { get; set; }
- }
- [Serializable]
- [XmlRoot(ElementName = "promotion")]
- public class Promote : BaseEntity
- {
- [XmlAttribute(AttributeName = "id")]
- public string Id { get; set; }
- [XmlAttribute(AttributeName = "nom")]
- public string? Nom { get; set; }
- [XmlAttribute(AttributeName = "promotion")]
- public int Promotion { get; set; }
- [XmlAttribute(AttributeName = "effet")]
- public string? Effet { get; set; }
- [XmlAttribute(AttributeName = "condition")]
- public string? Condition { get; set; }
- [XmlAttribute(AttributeName = "alternative")]
- public bool Alternative { get; set; }
- [XmlAttribute(AttributeName = "description")]
- public string? Description { get; set; }
- [XmlIgnoreAttribute] public int PromotionId { get; set; }
- }
- [Serializable]
- [XmlRoot(ElementName = "seuil")]
- public class Seuil : BaseEntity
- {
- [XmlAttribute(AttributeName = "id")]
- public string Id { get; set; }
- [XmlAttribute(AttributeName = "rang")]
- public int Rang { get; set; }
- [XmlAttribute(AttributeName = "valeur_min")]
- public int ValeurMin { get; set; }
- [XmlAttribute(AttributeName = "valeur_max")]
- public int ValeurMax { get; set; }
- [XmlIgnoreAttribute] public int SeuilId { get; set; }
- }
- [Serializable]
- [XmlRoot(ElementName = "sousmonde")]
- public class Sousmonde : BaseEntity
- {
- [XmlAttribute(AttributeName = "id")]
- public string Id { get; set; }
- [XmlAttribute(AttributeName = "nom")]
- public string? Nom { get; set; }
- [XmlAttribute(AttributeName = "type_monde")]
- public string? TypeMonde { get; set; }
- [XmlAttribute(AttributeName = "seuil_min")]
- public int SeuilMin { get; set; }
- [XmlAttribute(AttributeName = "seuil_max")]
- public int SeuilMax { get; set; }
- [XmlAttribute(AttributeName = "description")]
- public string? Description { get; set; }
- [XmlIgnoreAttribute] public int SousmondeId { get; set; }
- }
- [Serializable]
- [XmlRoot(ElementName = "talent")]
- public class Talent : BaseEntity
- {
- [XmlAttribute(AttributeName = "id")]
- public string Id { get; set; }
- [XmlAttribute(AttributeName = "nom")]
- public string? Nom { get; set; }
- [XmlAttribute(AttributeName = "multiple")]
- public bool Multiple { get; set; }
- [XmlAttribute(AttributeName = "condition")]
- public string? Condition { get; set; }
- [XmlAttribute(AttributeName = "effet")]
- public string? Effet { get; set; }
- [XmlAttribute(AttributeName = "description")]
- public string? Description { get; set; }
- [XmlIgnoreAttribute] public int TalentId { get; set; }
- }
- [Serializable]
- [XmlRoot(ElementName = "trait")]
- public class Trait : BaseEntity
- {
- [XmlAttribute(AttributeName = "id")]
- public string Id { get; set; }
- [XmlAttribute(AttributeName = "nom")]
- public string? Nom { get; set; }
- [XmlAttribute(AttributeName = "effet")]
- public string? Effet { get; set; }
- [XmlAttribute(AttributeName = "multiple")]
- public bool Multiple { get; set; }
- [XmlAttribute(AttributeName = "description")]
- public string? Description { get; set; }
- [XmlIgnoreAttribute] public int TraitId { get; set; }
- }
- [Serializable]
- [XmlRoot(ElementName = "trouble")]
- public class Trouble : BaseEntity
- {
- [XmlAttribute(AttributeName = "id")]
- public string Id { get; set; }
- [XmlAttribute(AttributeName = "nom")]
- public string? Nom { get; set; }
- [XmlAttribute(AttributeName = "effet")]
- public string? Effet { get; set; }
- [XmlAttribute(AttributeName = "description")]
- public string? Description { get; set; }
- [XmlIgnoreAttribute] public int TroubleId { get; set; }
- }
- [Serializable]
- [XmlRoot(ElementName = "type_monde")]
- public class TypeMonde : BaseEntity
- {
- [XmlAttribute(AttributeName = "id")]
- public string Id { get; set; }
- [XmlAttribute(AttributeName = "nom")]
- public string? Nom { get; set; }
- [XmlAttribute(AttributeName = "texte_section")]
- public string? TexteSection { get; set; }
- [XmlAttribute(AttributeName = "age")]
- public string? Age { get; set; }
- [XmlAttribute(AttributeName = "cheveux")]
- public string? Cheveux { get; set; }
- [XmlAttribute(AttributeName = "corpulence")]
- public string? Corpulence { get; set; }
- [XmlAttribute(AttributeName = "particularités_physiques")]
- public string? ParticularitésPhysiques { get; set; }
- [XmlAttribute(AttributeName = "peau")]
- public string? Peau { get; set; }
- [XmlAttribute(AttributeName = "yeux")]
- public string? Yeux { get; set; }
- [XmlAttribute(AttributeName = "description")]
- public string? Description { get; set; }
- [XmlIgnoreAttribute] public int TypeMondeId { get; set; }
- }
- [Serializable]
- [XmlRoot(ElementName = "type_nom")]
- public class TypeName : BaseEntity
- {
- [XmlAttribute(AttributeName = "id")]
- public string Id { get; set; }
- [XmlAttribute(AttributeName = "nom")]
- public string? Nom { get; set; }
- [XmlAttribute(AttributeName = "type_nom")]
- public string? TypeNom { get; set; }
- [XmlAttribute(AttributeName = "genre")]
- public string? Genre { get; set; }
- [XmlAttribute(AttributeName = "seuil_min")]
- public int SeuilMin { get; set; }
- [XmlAttribute(AttributeName = "seuil_max")]
- public int SeuilMax { get; set; }
- [XmlIgnoreAttribute]
- public int TypeNomId { get; set; }
- }
- [Serializable]
- [XmlRoot(ElementName = "root")]
- public class Root : BaseEntity
- {
- [XmlAttribute(AttributeName = "id")]
- public string Id { get; set; }
- [XmlArray(ElementName = "extensions")]
- [XmlArrayItem(ElementName = "extension")]
- public List<Extension> Extensions { get; set; }
- [XmlArray(ElementName = "accessoires_armes")]
- [XmlArrayItem(ElementName = "accessoire")]
- public List<Accessoire> AccessoiresArmes { get; set; }
- [XmlArray(ElementName = "améliorations")]
- [XmlArrayItem(ElementName = "amélioration")]
- public List<Amélioration> Améliorations { get; set; }
- [XmlArray(ElementName = "archétypes")]
- [XmlArrayItem(ElementName = "archétype")]
- public List<Archétype> Archétypes { get; set; }
- [XmlArray(ElementName = "armes")]
- [XmlArrayItem(ElementName = "arme")]
- public List<Arme> Armes { get; set; }
- [XmlArray(ElementName = "armures")]
- [XmlArrayItem(ElementName = "armure")]
- public List<Armure> Armures { get; set; }
- [XmlArray(ElementName = "assermentations")]
- [XmlArrayItem(ElementName = "assermentation")]
- public List<Assermentation> Assermentations { get; set; }
- [XmlArray(ElementName = "attributs_armes")]
- [XmlArrayItem(ElementName = "attribut")]
- public List<Attribut> AttributsArmes { get; set; }
- [XmlArray(ElementName = "carrières")]
- [XmlArrayItem(ElementName = "carrière")]
- public List<Carrière> Carrières { get; set; }
- [XmlArray(ElementName = "competences")]
- [XmlArrayItem(ElementName = "competence")]
- public List<Competence> Competences { get; set; }
- [XmlArray(ElementName = "coordonnées")]
- [XmlArrayItem(ElementName = "coordonnée")]
- public List<Coordonnée> Coordonnées { get; set; }
- [XmlArray(ElementName = "cybernétiques")]
- [XmlArrayItem(ElementName = "cybernétique")]
- public List<Cybernétique> Cybernétiques { get; set; }
- [XmlArray(ElementName = "disciplines")]
- [XmlArrayItem(ElementName = "discipline")]
- public List<Discipline> Disciplines { get; set; }
- [XmlArray(ElementName = "divinations")]
- [XmlArrayItem(ElementName = "divination")]
- public List<Divination> Divinations { get; set; }
- [XmlArray(ElementName = "equipements")]
- [XmlArrayItem(ElementName = "equipement")]
- public List<Equipement> Equipements { get; set; }
- [XmlArray(ElementName = "implants")]
- [XmlArrayItem(ElementName = "implant")]
- public List<Implant> Implants { get; set; }
- [XmlArray(ElementName = "mondes")]
- [XmlArrayItem(ElementName = "monde")]
- public List<Monde> Mondes { get; set; }
- [XmlArray(ElementName = "mutations")]
- [XmlArrayItem(ElementName = "mutation")]
- public List<Mutation> Mutations { get; set; }
- [XmlArray(ElementName = "pouvoirs")]
- [XmlArrayItem(ElementName = "pouvoir")]
- public List<Pouvoir> Pouvoirs { get; set; }
- [XmlArray(ElementName = "promotions")]
- [XmlArrayItem(ElementName = "promotion")]
- public List<Promote> Promotions { get; set; }
- [XmlArray(ElementName = "seuils_xp")]
- [XmlArrayItem(ElementName = "seuil")]
- public List<Seuil> SeuilsXp { get; set; }
- [XmlArray(ElementName = "sousmondes")]
- [XmlArrayItem(ElementName = "sousmonde")]
- public List<Sousmonde> Sousmondes { get; set; }
- [XmlArray(ElementName = "talents")]
- [XmlArrayItem(ElementName = "talent")]
- public List<Talent> Talents { get; set; }
- [XmlArray(ElementName = "traits")]
- [XmlArrayItem(ElementName = "trait")]
- public List<Trait> Traits { get; set; }
- [XmlArray(ElementName = "troubles")]
- [XmlArrayItem(ElementName = "trouble")]
- public List<Trouble> Troubles { get; set; }
- [XmlArray(ElementName = "type_mondes")]
- [XmlArrayItem(ElementName = "type_monde")]
- public List<TypeMonde> TypeMondes { get; set; }
- [XmlArray(ElementName = "types_nom")]
- [XmlArrayItem(ElementName = "type_nom")]
- public List<TypeName> TypesNom { get; set; }
- }
- }
|