protected override void Read(NReader rdr) { TickId = rdr.ReadInt32(); Time = rdr.ReadInt32(); Position = Position.Read(rdr); Records = new TimedPosition[rdr.ReadInt16()]; for (int i = 0; i < Records.Length; i++) { Records[i] = TimedPosition.Read(rdr); } }
protected override void Read(ClientProcessor psr, NReader rdr) { TickId = rdr.ReadInt32(); Time = rdr.ReadInt32(); Position = Position.Read(rdr); Records = new TimedPosition[rdr.ReadInt16()]; for (var i = 0; i < Records.Length; i++) { Records[i] = TimedPosition.Read(rdr); } }