mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09:00
Turn on warnings, resolve issues
This commit is contained in:
@ -253,7 +253,7 @@ namespace osu.Game.Online.API
|
||||
handleWebException(we);
|
||||
return false;
|
||||
}
|
||||
catch (Exception e)
|
||||
catch
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
@ -7,7 +7,6 @@ using System.Linq;
|
||||
using Newtonsoft.Json;
|
||||
using osu.Game.Beatmaps;
|
||||
using osu.Game.Rulesets;
|
||||
using osu.Game.Rulesets.Scoring;
|
||||
using osu.Game.Scoring.Legacy;
|
||||
using osu.Game.Users;
|
||||
|
||||
@ -71,7 +70,6 @@ namespace osu.Game.Online.API.Requests.Responses
|
||||
{
|
||||
foreach (var kvp in value)
|
||||
{
|
||||
HitResult newKey;
|
||||
switch (kvp.Key)
|
||||
{
|
||||
case @"count_geki":
|
||||
|
@ -10,16 +10,16 @@ namespace osu.Game.Online.API.Requests.Responses
|
||||
public class APIUserMostPlayedBeatmap
|
||||
{
|
||||
[JsonProperty("beatmap_id")]
|
||||
public int BeatmapID;
|
||||
public int BeatmapID { get; set; }
|
||||
|
||||
[JsonProperty("count")]
|
||||
public int PlayCount;
|
||||
public int PlayCount { get; set; }
|
||||
|
||||
[JsonProperty]
|
||||
private BeatmapInfo beatmap;
|
||||
private BeatmapInfo beatmap { get; set; }
|
||||
|
||||
[JsonProperty]
|
||||
private APIBeatmapSet beatmapSet;
|
||||
private APIBeatmapSet beatmapSet { get; set; }
|
||||
|
||||
public BeatmapInfo GetBeatmapInfo(RulesetStore rulesets)
|
||||
{
|
||||
|
Reference in New Issue
Block a user