1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 05:32:54 +08:00

Update template rulesets to include baked value

This commit is contained in:
Dean Herbert 2022-08-29 16:32:41 +09:00
parent 892f43da43
commit cf8fad045d
4 changed files with 12 additions and 0 deletions

View File

@ -77,5 +77,8 @@ namespace osu.Game.Rulesets.EmptyFreeform
}; };
} }
} }
// Leave this line intact. It will bake the correct version into the ruleset on each build/release.
public override string RulesetAPIVersionSupported => CURRENT_RULESET_API_VERSION;
} }
} }

View File

@ -49,5 +49,8 @@ namespace osu.Game.Rulesets.Pippidon
}; };
public override Drawable CreateIcon() => new PippidonRulesetIcon(this); public override Drawable CreateIcon() => new PippidonRulesetIcon(this);
// Leave this line intact. It will bake the correct version into the ruleset on each build/release.
public override string RulesetAPIVersionSupported => CURRENT_RULESET_API_VERSION;
} }
} }

View File

@ -54,5 +54,8 @@ namespace osu.Game.Rulesets.EmptyScrolling
Text = ShortName[0].ToString(), Text = ShortName[0].ToString(),
Font = OsuFont.Default.With(size: 18), Font = OsuFont.Default.With(size: 18),
}; };
// Leave this line intact. It will bake the correct version into the ruleset on each build/release.
public override string RulesetAPIVersionSupported => CURRENT_RULESET_API_VERSION;
} }
} }

View File

@ -46,5 +46,8 @@ namespace osu.Game.Rulesets.Pippidon
}; };
public override Drawable CreateIcon() => new PippidonRulesetIcon(this); public override Drawable CreateIcon() => new PippidonRulesetIcon(this);
// Leave this line intact. It will bake the correct version into the ruleset on each build/release.
public override string RulesetAPIVersionSupported => CURRENT_RULESET_API_VERSION;
} }
} }