mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-04 19:08:42 +00:00
Add ability to read vitaCrossControlRequired from uploaded cross controller slots
May fix #53
This commit is contained in:
parent
389ca16cf7
commit
75b22b1954
1 changed files with 4 additions and 0 deletions
|
@ -205,6 +205,9 @@ public class Slot
|
|||
[XmlElement("leveltype")]
|
||||
public string LevelType { get; set; } = "";
|
||||
|
||||
[XmlElement("vitaCrossControlRequired")]
|
||||
public bool CrossControllerRequired { get; set; }
|
||||
|
||||
public string SerializeResources()
|
||||
{
|
||||
return this.Resources.Aggregate("", (current, resource) => current + LbpSerializer.StringElement("resource", resource)) +
|
||||
|
@ -251,6 +254,7 @@ public class Slot
|
|||
LbpSerializer.StringElement("lbpvitaPlayCount", this.PlaysLBPVita) +
|
||||
LbpSerializer.StringElement("lbpvitaCompletionCount", this.PlaysLBPVitaComplete) +
|
||||
LbpSerializer.StringElement("lbpvitaUniquePlayCount", this.PlaysLBPVitaUnique) +
|
||||
LbpSerializer.StringElement("vitaCrossControlRequired", CrossControllerRequired) +
|
||||
LbpSerializer.StringElement("thumbsup", this.Thumbsup) +
|
||||
LbpSerializer.StringElement("thumbsdown", this.Thumbsdown) +
|
||||
LbpSerializer.StringElement("averageRating", this.RatingLBP1) +
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue