Skip to content

Commit

Permalink
Update OneClickInstaller models to support newest changes to BeatSave…
Browse files Browse the repository at this point in the history
…r's API
  • Loading branch information
fuji97 committed Jul 9, 2019
1 parent 5c3b13f commit 7183377
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion ModAssistant/Classes/OneClickInstaller.cs
Original file line number Diff line number Diff line change
Expand Up @@ -247,14 +247,36 @@ public class Difficulties
public class Metadata
{
public Difficulties difficulties { get; set; }
public string[] characteristics { get; set; }
public Characteristic[] characteristics { get; set; }
public string songName { get; set; }
public string songSubName { get; set; }
public string songAuthorName { get; set; }
public string levelAuthorName { get; set; }
public double bpm { get; set; }
}

public class Characteristic {
public string name { get; set; }
public CharacteristicDifficulties difficulties { get; set; }
}

public class CharacteristicDifficulties {
public Difficulty easy { get; set; }
public Difficulty normal { get; set; }
public Difficulty hard { get; set; }
public Difficulty expert { get; set; }
public Difficulty expertPlus { get; set; }
}

public class Difficulty {
public double duration { get; set; }
public double length { get; set; }
public double bombs { get; set; }
public double notes { get; set; }
public double obstacles { get; set; }
public double njs { get; set; }
}

public class Stats
{
public int downloads { get; set; }
Expand Down

0 comments on commit 7183377

Please sign in to comment.