osukey/osu.Game/Rulesets/Difficulty/DifficultyAttributes.cs
2021-11-15 16:06:29 +09:00

36 lines
889 B
C#

// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using Newtonsoft.Json;
using osu.Game.Rulesets.Difficulty.Skills;
using osu.Game.Rulesets.Mods;
namespace osu.Game.Rulesets.Difficulty
{
public class DifficultyAttributes
{
[JsonIgnore]
public Mod[] Mods { get; set; }
[JsonIgnore]
public Skill[] Skills { get; set; }
[JsonProperty("star_rating")]
public double StarRating { get; set; }
[JsonProperty("max_combo")]
public int MaxCombo { get; set; }
public DifficultyAttributes()
{
}
public DifficultyAttributes(Mod[] mods, Skill[] skills, double starRating)
{
Mods = mods;
Skills = skills;
StarRating = starRating;
}
}
}