Skip to content

Apply adjustments for struct attributes#233

Closed
minisbett wants to merge 1 commit into
ppy:masterfrom
minisbett:use-structs
Closed

Apply adjustments for struct attributes#233
minisbett wants to merge 1 commit into
ppy:masterfrom
minisbett:use-structs

Conversation

@minisbett

@minisbett minisbett commented Nov 20, 2024

Copy link
Copy Markdown
Contributor

Comment on lines -62 to -81
public static DifficultyAttributes CreateDifficultyAttributes(int legacyId)
{
switch (legacyId)
{
case 0:
return new OsuDifficultyAttributes();

case 1:
return new TaikoDifficultyAttributes();

case 2:
return new CatchDifficultyAttributes();

case 3:
return new ManiaDifficultyAttributes();

default:
throw new ArgumentException($"Invalid ruleset ID: {legacyId}", nameof(legacyId));
}
}

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed this method as it is unused

@stanriders stanriders added the perfcalc-cli PerformanceCalculator label Dec 6, 2024
@minisbett minisbett closed this Jun 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

perfcalc-cli PerformanceCalculator

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants