mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 21:02:54 +08:00
Merge pull request #20093 from smoogipoo/dont-serialise-has-replay
Don't serialise `has_replay`
This commit is contained in:
commit
7364173fa9
@ -18,9 +18,6 @@ namespace osu.Game.Online.API.Requests.Responses
|
|||||||
[Serializable]
|
[Serializable]
|
||||||
public class SoloScoreInfo : IHasOnlineID<long>
|
public class SoloScoreInfo : IHasOnlineID<long>
|
||||||
{
|
{
|
||||||
[JsonProperty("has_replay")]
|
|
||||||
public bool HasReplay { get; set; }
|
|
||||||
|
|
||||||
[JsonProperty("beatmap_id")]
|
[JsonProperty("beatmap_id")]
|
||||||
public int BeatmapID { get; set; }
|
public int BeatmapID { get; set; }
|
||||||
|
|
||||||
@ -114,12 +111,16 @@ namespace osu.Game.Online.API.Requests.Responses
|
|||||||
[JsonProperty("pp")]
|
[JsonProperty("pp")]
|
||||||
public double? PP { get; set; }
|
public double? PP { get; set; }
|
||||||
|
|
||||||
|
[JsonProperty("has_replay")]
|
||||||
|
public bool HasReplay { get; set; }
|
||||||
|
|
||||||
public bool ShouldSerializeID() => false;
|
public bool ShouldSerializeID() => false;
|
||||||
public bool ShouldSerializeUser() => false;
|
public bool ShouldSerializeUser() => false;
|
||||||
public bool ShouldSerializeBeatmap() => false;
|
public bool ShouldSerializeBeatmap() => false;
|
||||||
public bool ShouldSerializeBeatmapSet() => false;
|
public bool ShouldSerializeBeatmapSet() => false;
|
||||||
public bool ShouldSerializePP() => false;
|
public bool ShouldSerializePP() => false;
|
||||||
public bool ShouldSerializeOnlineID() => false;
|
public bool ShouldSerializeOnlineID() => false;
|
||||||
|
public bool ShouldSerializeHasReplay() => false;
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user