Esempio n. 1
0
 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);
     }
 }
Esempio n. 2
0
 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);
     }
 }