-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathJSONModels.cs
48 lines (43 loc) · 1.43 KB
/
JSONModels.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
namespace portaBLe
{
public class JsonPlayer
{
public string Id { get; set; }
public string Name { get; set; }
public string Country { get; set; }
public string Avatar { get; set; }
}
public class JsonScore
{
public int Id { get; set; }
public int Timepost { get; set; }
public string PlayerId { get; set; }
public string LeaderboardId { get; set; }
public float Accuracy { get; set; }
public string Modifiers { get; set; }
public bool FC { get; set; }
public float FCAcc { get; set; }
}
public class JsonLeaderboard
{
public string Id { get; set; }
public string Name { get; set; }
public string Hash { get; set; }
public string SongId { get; set; }
public string ModeName { get; set; }
public string DifficultyName { get; set; }
public string CoverImage { get; set; }
public string Mapper { get; set; }
public float PassRating { get; set; }
public float AccRating { get; set; }
public float TechRating { get; set; }
public float PredictedAcc { get; set; }
public ModifiersRating? ModifiersRating { get; set; }
}
public class RootObject
{
public List<JsonPlayer> Players { get; set; }
public List<JsonScore> Scores { get; set; }
public List<JsonLeaderboard> Maps { get; set; }
}
}