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:
parent
8883505eed
commit
397971c631
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user