mirror of
https://github.com/osukey/osukey.git
synced 2025-06-05 21:07:18 +09:00
Expose more pieces of APIBeatmap
for testing purposes
This commit is contained in:
parent
993a28b37e
commit
b8ee7e05f4
@ -43,16 +43,16 @@ namespace osu.Game.Online.API.Requests.Responses
|
|||||||
public double StarRating { get; set; }
|
public double StarRating { get; set; }
|
||||||
|
|
||||||
[JsonProperty(@"drain")]
|
[JsonProperty(@"drain")]
|
||||||
private float drainRate { get; set; }
|
public float DrainRate { get; set; }
|
||||||
|
|
||||||
[JsonProperty(@"cs")]
|
[JsonProperty(@"cs")]
|
||||||
private float circleSize { get; set; }
|
public float CircleSize { get; set; }
|
||||||
|
|
||||||
[JsonProperty(@"ar")]
|
[JsonProperty(@"ar")]
|
||||||
private float approachRate { get; set; }
|
public float ApproachRate { get; set; }
|
||||||
|
|
||||||
[JsonProperty(@"accuracy")]
|
[JsonProperty(@"accuracy")]
|
||||||
private float overallDifficulty { get; set; }
|
public float OverallDifficulty { get; set; }
|
||||||
|
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
public double Length { get; set; }
|
public double Length { get; set; }
|
||||||
@ -115,10 +115,10 @@ namespace osu.Game.Online.API.Requests.Responses
|
|||||||
|
|
||||||
public IBeatmapDifficultyInfo Difficulty => new BeatmapDifficulty
|
public IBeatmapDifficultyInfo Difficulty => new BeatmapDifficulty
|
||||||
{
|
{
|
||||||
DrainRate = drainRate,
|
DrainRate = DrainRate,
|
||||||
CircleSize = circleSize,
|
CircleSize = CircleSize,
|
||||||
ApproachRate = approachRate,
|
ApproachRate = ApproachRate,
|
||||||
OverallDifficulty = overallDifficulty,
|
OverallDifficulty = OverallDifficulty,
|
||||||
};
|
};
|
||||||
|
|
||||||
IBeatmapSetInfo? IBeatmapInfo.BeatmapSet => BeatmapSet;
|
IBeatmapSetInfo? IBeatmapInfo.BeatmapSet => BeatmapSet;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user