mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 11:37:28 +08:00
Update all cinema/autoplay mods to specify the system user ID
This commit is contained in:
parent
a0692ce477
commit
d2d88015e3
@ -16,7 +16,11 @@ namespace osu.Game.Rulesets.EmptyFreeform.Mods
|
|||||||
{
|
{
|
||||||
ScoreInfo = new ScoreInfo
|
ScoreInfo = new ScoreInfo
|
||||||
{
|
{
|
||||||
User = new APIUser { Username = "sample" },
|
User = new APIUser
|
||||||
|
{
|
||||||
|
Id = APIUser.SYSTEM_USER_ID,
|
||||||
|
Username = "sample"
|
||||||
|
},
|
||||||
},
|
},
|
||||||
Replay = new EmptyFreeformAutoGenerator(beatmap).Generate(),
|
Replay = new EmptyFreeformAutoGenerator(beatmap).Generate(),
|
||||||
};
|
};
|
||||||
|
@ -16,7 +16,11 @@ namespace osu.Game.Rulesets.Pippidon.Mods
|
|||||||
{
|
{
|
||||||
ScoreInfo = new ScoreInfo
|
ScoreInfo = new ScoreInfo
|
||||||
{
|
{
|
||||||
User = new APIUser { Username = "sample" },
|
User = new APIUser
|
||||||
|
{
|
||||||
|
Id = APIUser.SYSTEM_USER_ID,
|
||||||
|
Username = "sample"
|
||||||
|
},
|
||||||
},
|
},
|
||||||
Replay = new PippidonAutoGenerator(beatmap).Generate(),
|
Replay = new PippidonAutoGenerator(beatmap).Generate(),
|
||||||
};
|
};
|
||||||
|
@ -16,7 +16,11 @@ namespace osu.Game.Rulesets.EmptyScrolling.Mods
|
|||||||
{
|
{
|
||||||
ScoreInfo = new ScoreInfo
|
ScoreInfo = new ScoreInfo
|
||||||
{
|
{
|
||||||
User = new APIUser { Username = "sample" },
|
User = new APIUser
|
||||||
|
{
|
||||||
|
Id = APIUser.SYSTEM_USER_ID,
|
||||||
|
Username = "sample"
|
||||||
|
},
|
||||||
},
|
},
|
||||||
Replay = new EmptyScrollingAutoGenerator(beatmap).Generate(),
|
Replay = new EmptyScrollingAutoGenerator(beatmap).Generate(),
|
||||||
};
|
};
|
||||||
|
@ -16,7 +16,11 @@ namespace osu.Game.Rulesets.Pippidon.Mods
|
|||||||
{
|
{
|
||||||
ScoreInfo = new ScoreInfo
|
ScoreInfo = new ScoreInfo
|
||||||
{
|
{
|
||||||
User = new APIUser { Username = "sample" },
|
User = new APIUser
|
||||||
|
{
|
||||||
|
Id = APIUser.SYSTEM_USER_ID,
|
||||||
|
Username = "sample"
|
||||||
|
},
|
||||||
},
|
},
|
||||||
Replay = new PippidonAutoGenerator(beatmap).Generate(),
|
Replay = new PippidonAutoGenerator(beatmap).Generate(),
|
||||||
};
|
};
|
||||||
|
@ -14,7 +14,14 @@ namespace osu.Game.Rulesets.Catch.Mods
|
|||||||
{
|
{
|
||||||
public override Score CreateReplayScore(IBeatmap beatmap, IReadOnlyList<Mod> mods) => new Score
|
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(),
|
Replay = new CatchAutoGenerator(beatmap).Generate(),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -15,7 +15,14 @@ namespace osu.Game.Rulesets.Catch.Mods
|
|||||||
{
|
{
|
||||||
public override Score CreateReplayScore(IBeatmap beatmap, IReadOnlyList<Mod> mods) => new Score
|
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(),
|
Replay = new CatchAutoGenerator(beatmap).Generate(),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -15,7 +15,14 @@ namespace osu.Game.Rulesets.Mania.Mods
|
|||||||
{
|
{
|
||||||
public override Score CreateReplayScore(IBeatmap beatmap, IReadOnlyList<Mod> mods) => new Score
|
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(),
|
Replay = new ManiaAutoGenerator((ManiaBeatmap)beatmap).Generate(),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,14 @@ namespace osu.Game.Rulesets.Mania.Mods
|
|||||||
{
|
{
|
||||||
public override Score CreateReplayScore(IBeatmap beatmap, IReadOnlyList<Mod> mods) => new Score
|
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(),
|
Replay = new ManiaAutoGenerator((ManiaBeatmap)beatmap).Generate(),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -18,7 +18,14 @@ namespace osu.Game.Rulesets.Osu.Mods
|
|||||||
|
|
||||||
public override Score CreateReplayScore(IBeatmap beatmap, IReadOnlyList<Mod> mods) => new Score
|
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()
|
Replay = new OsuAutoGenerator(beatmap, mods).Generate()
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -19,7 +19,14 @@ namespace osu.Game.Rulesets.Osu.Mods
|
|||||||
|
|
||||||
public override Score CreateReplayScore(IBeatmap beatmap, IReadOnlyList<Mod> mods) => new Score
|
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()
|
Replay = new OsuAutoGenerator(beatmap, mods).Generate()
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -14,7 +14,14 @@ namespace osu.Game.Rulesets.Taiko.Mods
|
|||||||
{
|
{
|
||||||
public override Score CreateReplayScore(IBeatmap beatmap, IReadOnlyList<Mod> mods) => new Score
|
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(),
|
Replay = new TaikoAutoGenerator(beatmap).Generate(),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -15,7 +15,14 @@ namespace osu.Game.Rulesets.Taiko.Mods
|
|||||||
{
|
{
|
||||||
public override Score CreateReplayScore(IBeatmap beatmap, IReadOnlyList<Mod> mods) => new Score
|
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(),
|
Replay = new TaikoAutoGenerator(beatmap).Generate(),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user