1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-13 04:32:57 +08:00

Update all cinema/autoplay mods to specify the system user ID

This commit is contained in:
Dean Herbert 2022-03-28 22:21:23 +09:00
parent a0692ce477
commit d2d88015e3
12 changed files with 84 additions and 12 deletions

View File

@ -16,7 +16,11 @@ namespace osu.Game.Rulesets.EmptyFreeform.Mods
{
ScoreInfo = new ScoreInfo
{
User = new APIUser { Username = "sample" },
User = new APIUser
{
Id = APIUser.SYSTEM_USER_ID,
Username = "sample"
},
},
Replay = new EmptyFreeformAutoGenerator(beatmap).Generate(),
};

View File

@ -16,7 +16,11 @@ namespace osu.Game.Rulesets.Pippidon.Mods
{
ScoreInfo = new ScoreInfo
{
User = new APIUser { Username = "sample" },
User = new APIUser
{
Id = APIUser.SYSTEM_USER_ID,
Username = "sample"
},
},
Replay = new PippidonAutoGenerator(beatmap).Generate(),
};

View File

@ -16,7 +16,11 @@ namespace osu.Game.Rulesets.EmptyScrolling.Mods
{
ScoreInfo = new ScoreInfo
{
User = new APIUser { Username = "sample" },
User = new APIUser
{
Id = APIUser.SYSTEM_USER_ID,
Username = "sample"
},
},
Replay = new EmptyScrollingAutoGenerator(beatmap).Generate(),
};

View File

@ -16,7 +16,11 @@ namespace osu.Game.Rulesets.Pippidon.Mods
{
ScoreInfo = new ScoreInfo
{
User = new APIUser { Username = "sample" },
User = new APIUser
{
Id = APIUser.SYSTEM_USER_ID,
Username = "sample"
},
},
Replay = new PippidonAutoGenerator(beatmap).Generate(),
};

View File

@ -14,7 +14,14 @@ namespace osu.Game.Rulesets.Catch.Mods
{
public override Score CreateReplayScore(IBeatmap beatmap, IReadOnlyList<Mod> mods) => new Score
{
ScoreInfo = new ScoreInfo { User = new APIUser { Username = "osu!salad" } },
ScoreInfo = new ScoreInfo
{
User = new APIUser
{
Id = APIUser.SYSTEM_USER_ID,
Username = "osu!salad"
}
},
Replay = new CatchAutoGenerator(beatmap).Generate(),
};
}

View File

@ -15,7 +15,14 @@ namespace osu.Game.Rulesets.Catch.Mods
{
public override Score CreateReplayScore(IBeatmap beatmap, IReadOnlyList<Mod> mods) => new Score
{
ScoreInfo = new ScoreInfo { User = new APIUser { Username = "osu!salad" } },
ScoreInfo = new ScoreInfo
{
User = new APIUser
{
Id = APIUser.SYSTEM_USER_ID,
Username = "osu!salad"
}
},
Replay = new CatchAutoGenerator(beatmap).Generate(),
};
}

View File

@ -15,7 +15,14 @@ namespace osu.Game.Rulesets.Mania.Mods
{
public override Score CreateReplayScore(IBeatmap beatmap, IReadOnlyList<Mod> mods) => new Score
{
ScoreInfo = new ScoreInfo { User = new APIUser { Username = "osu!topus" } },
ScoreInfo = new ScoreInfo
{
User = new APIUser
{
Id = APIUser.SYSTEM_USER_ID,
Username = "osu!topus"
}
},
Replay = new ManiaAutoGenerator((ManiaBeatmap)beatmap).Generate(),
};
}

View File

@ -16,7 +16,14 @@ namespace osu.Game.Rulesets.Mania.Mods
{
public override Score CreateReplayScore(IBeatmap beatmap, IReadOnlyList<Mod> mods) => new Score
{
ScoreInfo = new ScoreInfo { User = new APIUser { Username = "osu!topus" } },
ScoreInfo = new ScoreInfo
{
User = new APIUser
{
Id = APIUser.SYSTEM_USER_ID,
Username = "osu!topus"
}
},
Replay = new ManiaAutoGenerator((ManiaBeatmap)beatmap).Generate(),
};
}

View File

@ -18,7 +18,14 @@ namespace osu.Game.Rulesets.Osu.Mods
public override Score CreateReplayScore(IBeatmap beatmap, IReadOnlyList<Mod> mods) => new Score
{
ScoreInfo = new ScoreInfo { User = new APIUser { Username = "Autoplay" } },
ScoreInfo = new ScoreInfo
{
User = new APIUser
{
Id = APIUser.SYSTEM_USER_ID,
Username = "Autoplay",
}
},
Replay = new OsuAutoGenerator(beatmap, mods).Generate()
};
}

View File

@ -19,7 +19,14 @@ namespace osu.Game.Rulesets.Osu.Mods
public override Score CreateReplayScore(IBeatmap beatmap, IReadOnlyList<Mod> mods) => new Score
{
ScoreInfo = new ScoreInfo { User = new APIUser { Username = "Autoplay" } },
ScoreInfo = new ScoreInfo
{
User = new APIUser
{
Id = APIUser.SYSTEM_USER_ID,
Username = "Autoplay"
}
},
Replay = new OsuAutoGenerator(beatmap, mods).Generate()
};
}

View File

@ -14,7 +14,14 @@ namespace osu.Game.Rulesets.Taiko.Mods
{
public override Score CreateReplayScore(IBeatmap beatmap, IReadOnlyList<Mod> mods) => new Score
{
ScoreInfo = new ScoreInfo { User = new APIUser { Username = "mekkadosu!" } },
ScoreInfo = new ScoreInfo
{
User = new APIUser
{
Id = APIUser.SYSTEM_USER_ID,
Username = "mekkadosu!"
}
},
Replay = new TaikoAutoGenerator(beatmap).Generate(),
};
}

View File

@ -15,7 +15,14 @@ namespace osu.Game.Rulesets.Taiko.Mods
{
public override Score CreateReplayScore(IBeatmap beatmap, IReadOnlyList<Mod> mods) => new Score
{
ScoreInfo = new ScoreInfo { User = new APIUser { Username = "mekkadosu!" } },
ScoreInfo = new ScoreInfo
{
User = new APIUser
{
Id = APIUser.SYSTEM_USER_ID,
Username = "mekkadosu!"
}
},
Replay = new TaikoAutoGenerator(beatmap).Generate(),
};
}