static OsuGameActivity() { // When a ruleset assembly is missing, the exception will be thrown during JIT-ing the lambda method // and will be handled in LoadRulesetFromType(). RulesetStore.LoadRulesetFromType(() => typeof(Game.Rulesets.Osu.OsuRuleset), "osu"); RulesetStore.LoadRulesetFromType(() => typeof(Game.Rulesets.Taiko.TaikoRuleset), "taiko"); RulesetStore.LoadRulesetFromType(() => typeof(Game.Rulesets.Mania.ManiaRuleset), "mania"); RulesetStore.LoadRulesetFromType(() => typeof(Game.Rulesets.Catch.CatchRuleset), "catch"); }