mirror of
https://github.com/knah/VRCMelonAssistant.git
synced 2024-09-30 09:06:15 +13:00
Update OneClickInstaller models to support newest changes to BeatSaver's API
This commit is contained in:
parent
5c3b13f1c5
commit
7183377e9e
1 changed files with 23 additions and 1 deletions
|
@ -247,7 +247,7 @@ namespace ModAssistant
|
||||||
public class Metadata
|
public class Metadata
|
||||||
{
|
{
|
||||||
public Difficulties difficulties { get; set; }
|
public Difficulties difficulties { get; set; }
|
||||||
public string[] characteristics { get; set; }
|
public Characteristic[] characteristics { get; set; }
|
||||||
public string songName { get; set; }
|
public string songName { get; set; }
|
||||||
public string songSubName { get; set; }
|
public string songSubName { get; set; }
|
||||||
public string songAuthorName { get; set; }
|
public string songAuthorName { get; set; }
|
||||||
|
@ -255,6 +255,28 @@ namespace ModAssistant
|
||||||
public double bpm { 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 class Stats
|
||||||
{
|
{
|
||||||
public int downloads { get; set; }
|
public int downloads { get; set; }
|
||||||
|
|
Loading…
Reference in a new issue