mirror of
https://github.com/osukey/osukey.git
synced 2025-05-17 11:37:32 +09:00
Tidy some remaining code
This commit is contained in:
parent
8c31e96cdf
commit
78bbc8f5c8
@ -8,34 +8,54 @@ namespace osu.Game.Rulesets.Edit.Checks.Components
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public enum CheckCategory
|
public enum CheckCategory
|
||||||
{
|
{
|
||||||
/// <summary> Anything to do with control points. </summary>
|
/// <summary>
|
||||||
|
/// Anything to do with control points.
|
||||||
|
/// </summary>
|
||||||
Timing,
|
Timing,
|
||||||
|
|
||||||
/// <summary> Anything to do with artist, title, creator, etc. </summary>
|
/// <summary>
|
||||||
|
/// Anything to do with artist, title, creator, etc.
|
||||||
|
/// </summary>
|
||||||
Metadata,
|
Metadata,
|
||||||
|
|
||||||
/// <summary> Anything to do with non-audio files, e.g. background, skin, sprites, and video. </summary>
|
/// <summary>
|
||||||
|
/// Anything to do with non-audio files, e.g. background, skin, sprites, and video.
|
||||||
|
/// </summary>
|
||||||
Resources,
|
Resources,
|
||||||
|
|
||||||
/// <summary> Anything to do with audio files, e.g. song and hitsounds. </summary>
|
/// <summary>
|
||||||
|
/// Anything to do with audio files, e.g. song and hitsounds.
|
||||||
|
/// </summary>
|
||||||
Audio,
|
Audio,
|
||||||
|
|
||||||
/// <summary> Anything to do with files that don't fit into the above, e.g. unused, osu, or osb. </summary>
|
/// <summary>
|
||||||
|
/// Anything to do with files that don't fit into the above, e.g. unused, osu, or osb.
|
||||||
|
/// </summary>
|
||||||
Files,
|
Files,
|
||||||
|
|
||||||
/// <summary> Anything to do with hitobjects unrelated to spread. </summary>
|
/// <summary>
|
||||||
|
/// Anything to do with hitobjects unrelated to spread.
|
||||||
|
/// </summary>
|
||||||
Compose,
|
Compose,
|
||||||
|
|
||||||
/// <summary> Anything to do with difficulty levels or their progression. </summary>
|
/// <summary>
|
||||||
|
/// Anything to do with difficulty levels or their progression.
|
||||||
|
/// </summary>
|
||||||
Spread,
|
Spread,
|
||||||
|
|
||||||
/// <summary> Anything to do with variables like CS, OD, AR, HP, and global SV. </summary>
|
/// <summary>
|
||||||
|
/// Anything to do with variables like CS, OD, AR, HP, and global SV.
|
||||||
|
/// </summary>
|
||||||
Settings,
|
Settings,
|
||||||
|
|
||||||
/// <summary> Anything to do with hitobject feedback. </summary>
|
/// <summary>
|
||||||
Hitsounds,
|
/// Anything to do with hitobject feedback.
|
||||||
|
/// </summary>
|
||||||
|
HitObjects,
|
||||||
|
|
||||||
/// <summary> Anything to do with storyboarding, breaks, video offset, etc. </summary>
|
/// <summary>
|
||||||
|
/// Anything to do with storyboarding, breaks, video offset, etc.
|
||||||
|
/// </summary>
|
||||||
Events
|
Events
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -40,11 +40,7 @@ namespace osu.Game.Rulesets.Edit.Checks.Components
|
|||||||
Arguments = args;
|
Arguments = args;
|
||||||
|
|
||||||
if (template.Origin == null)
|
if (template.Origin == null)
|
||||||
{
|
throw new ArgumentException("A template had no origin. Make sure the `Templates()` method contains all templates used.");
|
||||||
throw new ArgumentException(
|
|
||||||
"A template had no origin. Make sure the `Templates()` method contains all templates used."
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public Issue(double? time, IssueTemplate template, params object[] args)
|
public Issue(double? time, IssueTemplate template, params object[] args)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user