示例#1
0
        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;
        }
示例#2
0
 public void ReadFromStream(MStreamReader sr)
 {
     Frame = sr.ReadData <ScoreFrame>();
 }