public void ReadFromStream(MStreamReader sr) { Extra = sr.ReadInt32(); int count = sr.ReadInt16(); ReplayFrames = new List <ReplayFrame>(count); for (var i = 0; i < count; i++) { var rframes = sr.ReadData <ReplayFrame>(); ReplayFrames.Add(rframes); } Action = sr.ReadByte(); var sframe = new ScoreFrame(); sframe.ReadFromStream(sr); ScoreFrame = sframe; }
public void ReadFromStream(MStreamReader sr) { Frame = sr.ReadData <ScoreFrame>(); }