Reorganize attributes

This commit is contained in:
LumaLivy 2021-11-04 01:01:02 -04:00
commit 0938140e95

View file

@ -35,16 +35,16 @@ namespace LBPUnion.ProjectLighthouse.Types
set => this.PlayerIdCollection = string.Join(',', value); set => this.PlayerIdCollection = string.Join(',', value);
} }
[XmlElement("mainPlayer")]
[NotMapped] [NotMapped]
[XmlElement("mainPlayer")]
public string MainPlayer public string MainPlayer
{ {
get => this.PlayerIds[0]; get => this.PlayerIds[0];
set => this.PlayerIds[0] = value; set => this.PlayerIds[0] = value;
} }
[XmlElement("rank")]
[NotMapped] [NotMapped]
[XmlElement("rank")]
public int Rank { get; set; } public int Rank { get; set; }
[XmlElement("score")] [XmlElement("score")]