|
1 |
| -namespace GeometryDashAPI.Server.Dtos |
| 1 | +using System; |
| 2 | +using GeometryDashAPI.Server.Enums; |
| 3 | + |
| 4 | +namespace GeometryDashAPI.Server.Dtos |
2 | 5 | {
|
3 | 6 | public class LevelPreviewDto : GameObject
|
4 | 7 | {
|
5 |
| - [GameProperty("1")] public int Id { get; set; } |
6 |
| - [GameProperty("2")] public string Name { get; set; } |
7 |
| - [GameProperty("3")] private string description; |
| 8 | + [GameProperty("1")] |
| 9 | + public int Id { get; set; } |
| 10 | + |
| 11 | + [GameProperty("2")] |
| 12 | + public string Name { get; set; } |
| 13 | + |
| 14 | + [GameProperty("3")] |
| 15 | + private string description; |
8 | 16 | public string Description
|
9 | 17 | {
|
10 | 18 | get => GameConvert.FromBase64S(description);
|
11 | 19 | set => description = GameConvert.ToBase64S(value);
|
12 | 20 | }
|
13 |
| - [GameProperty("5")] public int Version { get; set; } |
14 |
| - [GameProperty("6")] public int AuthorUserId { get; set; } |
15 |
| - [GameProperty("10")] public int Downloads { get; set; } |
16 |
| - [GameProperty("14")] public int Likes { get; set; } |
17 |
| - [GameProperty("18")] public int Difficult { get; set; } |
18 |
| - [GameProperty("35")] public int MusicId { get; set; } |
19 |
| - [GameProperty("42")] public bool Epic { get; set; } |
| 21 | + |
| 22 | + [GameProperty("5")] |
| 23 | + public int Version { get; set; } |
| 24 | + |
| 25 | + [GameProperty("6")] |
| 26 | + public int AuthorUserId { get; set; } |
| 27 | + |
| 28 | + [GameProperty("8")] |
| 29 | + public int Difficulty { get; set; } |
| 30 | + |
| 31 | + [GameProperty("9")] |
| 32 | + public int SlaveDifficulty { get; set; } |
| 33 | + |
| 34 | + [GameProperty("10")] |
| 35 | + public int Downloads { get; set; } |
| 36 | + |
| 37 | + [Obsolete] |
| 38 | + [GameProperty("11")] |
| 39 | + public int Completes { get; set; } |
| 40 | + |
| 41 | + [GameProperty("12")] |
| 42 | + public int OfficialSong { get; set; } |
| 43 | + |
| 44 | + [GameProperty("13")] |
| 45 | + public int GameVersion { get; set; } |
| 46 | + |
| 47 | + [GameProperty("14")] |
| 48 | + public int Likes { get; set; } |
| 49 | + |
| 50 | + [GameProperty("15")] |
| 51 | + public LengthType Length { get; set; } |
| 52 | + |
| 53 | + [GameProperty("17")] |
| 54 | + public bool Demon { get; set; } |
| 55 | + |
| 56 | + [GameProperty("18")] |
| 57 | + public int Stars { get; set; } |
| 58 | + |
| 59 | + [GameProperty("19")] |
| 60 | + public int FeatureScore { get; set; } |
| 61 | + |
| 62 | + [GameProperty("25")] |
| 63 | + public bool Auto { get; set; } |
| 64 | + |
| 65 | + [GameProperty("30")] |
| 66 | + public int CopiedId { get; set; } |
| 67 | + |
| 68 | + [GameProperty("31")] |
| 69 | + public bool TwoPlayer { get; set; } |
| 70 | + |
| 71 | + [GameProperty("35")] |
| 72 | + public int MusicId { get; set; } |
| 73 | + |
| 74 | + [GameProperty("37")] |
| 75 | + public int Coins { get; set; } |
| 76 | + |
| 77 | + [GameProperty("38")] |
| 78 | + public bool CoinsVerified { get; set; } |
| 79 | + |
| 80 | + [GameProperty("39")] |
| 81 | + public int StarsRequested { get; set; } |
| 82 | + |
| 83 | + [GameProperty("42")] |
| 84 | + public bool Epic { get; set; } |
| 85 | + |
| 86 | + [GameProperty("43")] |
| 87 | + public int DemonDifficulty { get; set; } |
| 88 | + |
| 89 | + [GameProperty("45")] |
| 90 | + public int Objects { get; set; } |
| 91 | + |
| 92 | + [GameProperty("46")] |
| 93 | + public int EditorTime { get; set; } |
| 94 | + |
| 95 | + [GameProperty("47")] |
| 96 | + public int EditorTimeCopies { get; set; } |
20 | 97 |
|
21 | 98 | public override string GetParserSense() => ":";
|
22 | 99 | }
|
|
0 commit comments