|
| 1 | +namespace TetrLoader.JsonClass |
| 2 | +{ |
| 3 | + public class ConfigData |
| 4 | + { |
| 5 | + |
| 6 | + } |
| 7 | + |
| 8 | + // Root myDeserializedClass = JsonConvert.DeserializeObject<Root>(myJsonResponse); |
| 9 | + public class Bgmtweak |
| 10 | + { |
| 11 | + } |
| 12 | + |
| 13 | + public class Controls |
| 14 | + { |
| 15 | + public string? style { get; set; } |
| 16 | + public Custom? custom { get; set; } |
| 17 | + public double? sensitivity { get; set; } |
| 18 | + public string? vibration { get; set; } |
| 19 | + } |
| 20 | + |
| 21 | + public class Custom |
| 22 | + { |
| 23 | + public List<string>? moveLeft { get; set; } |
| 24 | + public List<string>? moveRight { get; set; } |
| 25 | + public List<string>? softDrop { get; set; } |
| 26 | + public List<string>? hardDrop { get; set; } |
| 27 | + public List<string>? rotateCCW { get; set; } |
| 28 | + public List<string>? rotateCW { get; set; } |
| 29 | + public List<string>? rotate180 { get; set; } |
| 30 | + public List<string>? hold { get; set; } |
| 31 | + public List<string>? exit { get; set; } |
| 32 | + public List<string>? retry { get; set; } |
| 33 | + public List<string>? chat { get; set; } |
| 34 | + public List<object>? target1 { get; set; } |
| 35 | + public List<object>? target2 { get; set; } |
| 36 | + public List<object>? target3 { get; set; } |
| 37 | + public List<object>? target4 { get; set; } |
| 38 | + public List<string>? menuUp { get; set; } |
| 39 | + public List<string>? menuDown { get; set; } |
| 40 | + public List<string>? menuLeft { get; set; } |
| 41 | + public List<string>? menuRight { get; set; } |
| 42 | + public List<string>? menuBack { get; set; } |
| 43 | + public List<string>? menuConfirm { get; set; } |
| 44 | + public List<object>? openSocial { get; set; } |
| 45 | + } |
| 46 | + |
| 47 | + public class Electron |
| 48 | + { |
| 49 | + public string? loginskip { get; set; } |
| 50 | + public string? frameratelimit { get; set; } |
| 51 | + public bool? presence { get; set; } |
| 52 | + public bool? taskbarflash { get; set; } |
| 53 | + public bool? anglecompat { get; set; } |
| 54 | + public bool? adblock { get; set; } |
| 55 | + } |
| 56 | + |
| 57 | + public class Gameoptions |
| 58 | + { |
| 59 | + public bool? pro_40l { get; set; } |
| 60 | + public bool? pro_40l_alert { get; set; } |
| 61 | + public bool? pro_40l_retry { get; set; } |
| 62 | + public bool? stride_40l { get; set; } |
| 63 | + public bool? pro_blitz { get; set; } |
| 64 | + public bool? pro_blitz_alert { get; set; } |
| 65 | + public bool? pro_blitz_retry { get; set; } |
| 66 | + public bool? stride_blitz { get; set; } |
| 67 | + } |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + public class Notifications |
| 72 | + { |
| 73 | + public bool? suppress { get; set; } |
| 74 | + public bool? forcesound { get; set; } |
| 75 | + public string? online { get; set; } |
| 76 | + public string? offline { get; set; } |
| 77 | + public string? dm { get; set; } |
| 78 | + public string? dm_pending { get; set; } |
| 79 | + public string? invite { get; set; } |
| 80 | + public string? other { get; set; } |
| 81 | + } |
| 82 | + |
| 83 | + public class Root |
| 84 | + { |
| 85 | + public Controls? controls { get; set; } |
| 86 | + public Handling? handling { get; set; } |
| 87 | + public Volume? volume { get; set; } |
| 88 | + public Video? video { get; set; } |
| 89 | + public Gameoptions? gameoptions { get; set; } |
| 90 | + public Electron? electron { get; set; } |
| 91 | + public Notifications? notifications { get; set; } |
| 92 | + } |
| 93 | + |
| 94 | + public class Video |
| 95 | + { |
| 96 | + public string? graphics { get; set; } |
| 97 | + public string? caching { get; set; } |
| 98 | + public string? actiontext { get; set; } |
| 99 | + public double? particles { get; set; } |
| 100 | + public double? background { get; set; } |
| 101 | + public string? bounciness { get; set; } |
| 102 | + public string? shakiness { get; set; } |
| 103 | + public double? gridopacity { get; set; } |
| 104 | + public double? boardopacity { get; set; } |
| 105 | + public double? shadowopacity { get; set; } |
| 106 | + public string? zoom { get; set; } |
| 107 | + public bool? alwaystiny { get; set; } |
| 108 | + public bool? nosuperlobbyanim { get; set; } |
| 109 | + public bool? colorshadow { get; set; } |
| 110 | + public bool? sidebyside { get; set; } |
| 111 | + public bool? spin { get; set; } |
| 112 | + public bool? chatfilter { get; set; } |
| 113 | + public object? background_url { get; set; } |
| 114 | + public object? background_usecustom { get; set; } |
| 115 | + public bool? nochat { get; set; } |
| 116 | + public bool? hideroomids { get; set; } |
| 117 | + public bool? emotes { get; set; } |
| 118 | + public bool? emotes_anim { get; set; } |
| 119 | + public bool? siren { get; set; } |
| 120 | + public bool? powersave { get; set; } |
| 121 | + public bool? invert { get; set; } |
| 122 | + public bool? nobg { get; set; } |
| 123 | + public bool? chatbg { get; set; } |
| 124 | + public bool? replaytoolsnocollapse { get; set; } |
| 125 | + public bool? kos { get; set; } |
| 126 | + public bool? fire { get; set; } |
| 127 | + public bool? focuswarning { get; set; } |
| 128 | + public bool? hidenetwork { get; set; } |
| 129 | + public bool? guide { get; set; } |
| 130 | + public bool? lowrescounters { get; set; } |
| 131 | + public bool? desktopnotifications { get; set; } |
| 132 | + public bool? lowres { get; set; } |
| 133 | + public string? webgl { get; set; } |
| 134 | + public int? bloom { get; set; } |
| 135 | + public double? chroma { get; set; } |
| 136 | + public int? flashwave { get; set; } |
| 137 | + } |
| 138 | + |
| 139 | + public class Volume |
| 140 | + { |
| 141 | + public bool? disable { get; set; } |
| 142 | + public double? music { get; set; } |
| 143 | + public double? sfx { get; set; } |
| 144 | + public double? stereo { get; set; } |
| 145 | + public bool? others { get; set; } |
| 146 | + public bool? attacks { get; set; } |
| 147 | + public bool? next { get; set; } |
| 148 | + public bool? noreset { get; set; } |
| 149 | + public bool? oof { get; set; } |
| 150 | + public bool? scrollable { get; set; } |
| 151 | + public Bgmtweak? bgmtweak { get; set; } |
| 152 | + } |
| 153 | + |
| 154 | + |
| 155 | +} |
0 commit comments