mirror of
https://github.com/knah/VRCMelonAssistant.git
synced 2024-06-29 03:20:18 +12:00
Update OneClickInstaller models to support newest changes to BeatSaver's API
This commit is contained in:
parent
5c3b13f1c5
commit
7183377e9e
|
@ -247,7 +247,7 @@ namespace ModAssistant
|
|||
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; }
|
||||
|
@ -255,6 +255,28 @@ namespace ModAssistant
|
|||
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; }
|
||||
|
|
Loading…
Reference in a new issue