1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-31 01:00:51 +08:00

Make MarkerChecks and MarkerCheck class private

This commit is contained in:
Arthur Araujo
2024-07-02 21:09:49 -03:00
Unverified
parent 7cdad20119
commit 7143ff523f
@@ -16,7 +16,7 @@ namespace osu.Game.Rulesets.Edit.Checks
new IssueTemplateIncorrectMarker(this),
};
public IEnumerable<MarkerCheck> MarkerChecks = [
private IEnumerable<MarkerCheck> markerChecks = [
new MarkerCheck("(TV Size)", @"(?i)(tv (size|ver))"),
new MarkerCheck("(Game Ver.)", @"(?i)(game (size|ver))"),
new MarkerCheck("(Short Ver.)", @"(?i)(short (size|ver))"),
@@ -32,7 +32,7 @@ namespace osu.Game.Rulesets.Edit.Checks
string romanisedTitle = context.Beatmap.Metadata.Title;
string unicodeTitle = context.Beatmap.Metadata.TitleUnicode;
foreach (var check in MarkerChecks)
foreach (var check in markerChecks)
{
bool hasRomanisedTitle = unicodeTitle != romanisedTitle;
@@ -48,7 +48,7 @@ namespace osu.Game.Rulesets.Edit.Checks
}
}
public class MarkerCheck
private class MarkerCheck
{
public string CorrectMarkerFormat;
public Regex ExactRegex;