1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 12:17:26 +08:00

Change FrameDataBundle.Frames into an IList

This commit is contained in:
Dan Balasescu 2022-01-28 22:06:34 +09:00
parent 8883505eed
commit 397971c631

View File

@ -20,16 +20,16 @@ namespace osu.Game.Online.Spectator
public FrameHeader Header { get; set; }
[Key(1)]
public IEnumerable<LegacyReplayFrame> Frames { get; set; }
public IList<LegacyReplayFrame> Frames { get; set; }
public FrameDataBundle(ScoreInfo score, IEnumerable<LegacyReplayFrame> frames)
public FrameDataBundle(ScoreInfo score, IList<LegacyReplayFrame> frames)
{
Frames = frames;
Header = new FrameHeader(score);
}
[JsonConstructor]
public FrameDataBundle(FrameHeader header, IEnumerable<LegacyReplayFrame> frames)
public FrameDataBundle(FrameHeader header, IList<LegacyReplayFrame> frames)
{
Header = header;
Frames = frames;