| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056 |
- 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);
- // }
- [XmlRoot(ElementName = "extension")]
- public class Extension : BaseEntity
- {
- [XmlAttribute(AttributeName = "id")]
- public string Id { get; set; }
- [XmlAttribute(AttributeName = "nom")]
- public string Nom { get; set; }
- }
- [XmlRoot(ElementName = "extensions")]
- public class Extensions : BaseEntity
- {
- [XmlElement(ElementName = "extension")]
- public Extension Extension { get; set; }
- }
- [XmlRoot(ElementName = "accessoire")]
- 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 int 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; }
- }
- [XmlRoot(ElementName = "accessoires_armes")]
- public class AccessoiresArmes : BaseEntity
- {
- [XmlElement(ElementName = "accessoire", Type = typeof(List<Accessoire>))]
- public List<Accessoire> Accessoire { get; set; }
- }
- [XmlRoot(ElementName = "amélioration")]
- 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; }
- [XmlIgnoreAttribute] public int AméliorationId { get; set; }
- }
- [XmlRoot(ElementName = "améliorations")]
- public class Améliorations : BaseEntity
- {
- [XmlElement(ElementName = "amélioration", Type = typeof(List<Amélioration>))]
- public List<Amélioration> Amélioration { get; set; }
- }
- [XmlRoot(ElementName = "archétype")]
- 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 int Traits { get; set; }
- [XmlAttribute(AttributeName = "competences")]
- public string Competences { get; set; }
- [XmlAttribute(AttributeName = "talents")]
- public string Talents { get; set; }
- [XmlAttribute(AttributeName = "pouvoirs")]
- public int Pouvoirs { get; set; }
- [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; }
- }
- [XmlRoot(ElementName = "archétypes")]
- public class Archétypes : BaseEntity
- {
- [XmlElement(ElementName = "archétype", Type = typeof(List<Archétype>))]
- public List<Archétype> Archétype { get; set; }
- }
- [XmlRoot(ElementName = "arme")]
- 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 int 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; }
- }
- [XmlRoot(ElementName = "armes")]
- public class Armes : BaseEntity
- {
- [XmlElement(ElementName = "arme", Type = typeof(List<Arme>))]
- public List<Arme> Arme { get; set; }
- }
- [XmlRoot(ElementName = "armure")]
- 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; }
- }
- [XmlRoot(ElementName = "armures")]
- public class Armures : BaseEntity
- {
- [XmlElement(ElementName = "armure", Type = typeof(List<Armure>))]
- public List<Armure> Armure { get; set; }
- }
- [XmlRoot(ElementName = "assermentation")]
- 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; }
- }
- [XmlRoot(ElementName = "assermentations")]
- public class Assermentations : BaseEntity
- {
- [XmlElement(ElementName = "assermentation", Type = typeof(List<Assermentation>))]
- public List<Assermentation> Assermentation { get; set; }
- }
- [XmlRoot(ElementName = "attribut")]
- 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; }
- }
- [XmlRoot(ElementName = "attributs_armes")]
- public class AttributsArmes : BaseEntity
- {
- [XmlElement(ElementName = "attribut", Type = typeof(List<Attribut>))]
- public List<Attribut> Attribut { get; set; }
- }
- [XmlRoot(ElementName = "carrière")]
- 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; }
- }
- [XmlRoot(ElementName = "carrières")]
- public class Carrières : BaseEntity
- {
- [XmlElement(ElementName = "carrière", Type = typeof(List<Carrière>))]
- public List<Carrière> Carrière { get; set; }
- }
- [XmlRoot(ElementName = "competence")]
- 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; }
- }
- [XmlRoot(ElementName = "competences")]
- public class Competences : BaseEntity
- {
- [XmlElement(ElementName = "competence", Type = typeof(List<Competence>))]
- public List<Competence> Competence { get; set; }
- }
- [XmlRoot(ElementName = "coordonnée")]
- 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; }
- }
- [XmlRoot(ElementName = "coordonnées")]
- public class Coordonnées : BaseEntity
- {
- [XmlElement(ElementName = "coordonnée", Type = typeof(List<Coordonnées>))]
- public List<Coordonnée> Coordonnée { get; set; }
- }
- [XmlRoot(ElementName = "cybernétique")]
- 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; }
- }
- [XmlRoot(ElementName = "cybernétiques")]
- public class Cybernétiques : BaseEntity
- {
- [XmlElement(ElementName = "cybernétique", Type = typeof(List<Cybernétique>))]
- public List<Cybernétique> Cybernétique { get; set; }
- }
- [XmlRoot(ElementName = "discipline")]
- 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; }
- }
- [XmlRoot(ElementName = "disciplines")]
- public class Disciplines : BaseEntity
- {
- [XmlElement(ElementName = "discipline", Type = typeof(List<Discipline>))]
- public List<Discipline> Discipline { get; set; }
- }
- [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; }
- }
- [XmlRoot(ElementName = "divinations")]
- public class Divinations : BaseEntity
- {
- [XmlElement(ElementName = "divination", Type = typeof(List<Divination>))]
- public List<Divination> Divination { get; set; }
- }
- [XmlRoot(ElementName = "equipement")]
- 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; }
- }
- [XmlRoot(ElementName = "equipements")]
- public class Equipements : BaseEntity
- {
- [XmlElement(ElementName = "equipement", Type = typeof(List<Equipement>))]
- public List<Equipement> Equipement { get; set; }
- }
- [XmlRoot(ElementName = "implant")]
- 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; }
- }
- [XmlRoot(ElementName = "implants")]
- public class Implants : BaseEntity
- {
- [XmlElement(ElementName = "implant")]
- public List<Implant> Implant { get; set; }
- }
- [XmlRoot(ElementName = "monde")]
- 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; }
- }
- [XmlRoot(ElementName = "mondes")]
- public class Mondes : BaseEntity
- {
- [XmlElement(ElementName = "monde")]
- public List<Monde> Monde { get; set; }
- }
- [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; }
- }
- [XmlRoot(ElementName = "mutations")]
- public class Mutations : BaseEntity
- {
- [XmlElement(ElementName = "mutation")]
- public List<Mutation> Mutation { get; set; }
- }
- [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; }
- }
- [XmlRoot(ElementName = "pouvoirs")]
- public class Pouvoirs : BaseEntity
- {
- [XmlElement(ElementName = "pouvoir")]
- public List<Pouvoir> Pouvoir { get; set; }
- }
- [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; }
- }
- [XmlRoot(ElementName = "promotions")]
- public class Promotions : BaseEntity
- {
- [XmlElement(ElementName = "promotion")]
- public List<Promote> Promotion { get; set; }
- }
- [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; }
- }
- [XmlRoot(ElementName = "seuils_xp")]
- public class SeuilsXp : BaseEntity
- {
- [XmlElement(ElementName = "seuil")]
- public List<Seuil> Seuil { get; set; }
- }
- [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; }
- }
- [XmlRoot(ElementName = "sousmondes")]
- public class Sousmondes : BaseEntity
- {
- [XmlElement(ElementName = "sousmonde")]
- public List<Sousmonde> Sousmonde { get; set; }
- }
- [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; }
- }
- [XmlRoot(ElementName = "talents")]
- public class Talents : BaseEntity
- {
- [XmlElement(ElementName = "talent")]
- public List<Talent> Talent { get; set; }
- }
- [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; }
- }
- [XmlRoot(ElementName = "traits")]
- public class Traits : BaseEntity
- {
- [XmlElement(ElementName = "trait")]
- public List<Trait> Trait { get; set; }
- }
- [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; }
- }
- [XmlRoot(ElementName = "troubles")]
- public class Troubles : BaseEntity
- {
- [XmlElement(ElementName = "trouble")]
- public List<Trouble> Trouble { get; set; }
- }
- [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; }
- }
- [XmlRoot(ElementName = "type_mondes")]
- public class TypeMondes : BaseEntity
- {
- [XmlElement(ElementName = "type_monde")]
- public List<TypeMonde> TypeMonde { get; set; }
- }
- [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; }
- }
- [XmlRoot(ElementName = "types_nom")]
- public class TypesNom : BaseEntity
- {
- [XmlElement(ElementName = "type_nom")]
- public List<TypeName> TypeNom { get; set; }
- }
- [XmlRoot(ElementName = "root")]
- public class Root : BaseEntity
- {
- [XmlAttribute(AttributeName = "id")]
- public string Id { get; set; }
- [XmlElement(ElementName = "extensions")]
- public Extensions Extensions { get; set; }
- [XmlElement(ElementName = "accessoires_armes")]
- public AccessoiresArmes AccessoiresArmes { get; set; }
- [XmlElement(ElementName = "améliorations")]
- public Améliorations Améliorations { get; set; }
- [XmlElement(ElementName = "archétypes")]
- public Archétypes Archétypes { get; set; }
- [XmlElement(ElementName = "armes")]
- public Armes Armes { get; set; }
- [XmlElement(ElementName = "armures")]
- public Armures Armures { get; set; }
- [XmlElement(ElementName = "assermentations")]
- public Assermentations Assermentations { get; set; }
- [XmlElement(ElementName = "attributs_armes")]
- public AttributsArmes AttributsArmes { get; set; }
- [XmlElement(ElementName = "carrières")]
- public Carrières Carrières { get; set; }
- [XmlElement(ElementName = "competences")]
- public Competences Competences { get; set; }
- [XmlElement(ElementName = "coordonnées")]
- public Coordonnées Coordonnées { get; set; }
- [XmlElement(ElementName = "cybernétiques")]
- public Cybernétiques Cybernétiques { get; set; }
- [XmlElement(ElementName = "disciplines")]
- public Disciplines Disciplines { get; set; }
- [XmlElement(ElementName = "divinations")]
- public Divinations Divinations { get; set; }
- [XmlElement(ElementName = "equipements")]
- public Equipements Equipements { get; set; }
- [XmlElement(ElementName = "implants")]
- public Implants Implants { get; set; }
- [XmlElement(ElementName = "mondes")]
- public Mondes Mondes { get; set; }
- [XmlElement(ElementName = "mutations")]
- public Mutations Mutations { get; set; }
- [XmlElement(ElementName = "pouvoirs")]
- public Pouvoirs Pouvoirs { get; set; }
- [XmlElement(ElementName = "promotions")]
- public Promotions Promotions { get; set; }
- [XmlElement(ElementName = "seuils_xp")]
- public SeuilsXp SeuilsXp { get; set; }
- [XmlElement(ElementName = "sousmondes")]
- public Sousmondes Sousmondes { get; set; }
- [XmlElement(ElementName = "talents")]
- public Talents Talents { get; set; }
- [XmlElement(ElementName = "traits")]
- public Traits Traits { get; set; }
- [XmlElement(ElementName = "troubles")]
- public Troubles Troubles { get; set; }
- [XmlElement(ElementName = "type_mondes")]
- public TypeMondes TypeMondes { get; set; }
- [XmlElement(ElementName = "types_nom")]
- public TypesNom TypesNom { get; set; }
- }
- }
|