Пример #1
0
 /// <summary>
 /// Decode network data.
 /// </summary>
 /// <param name="h"></param>
 /// <param name="br"></param>
 public override void Decode(Header h, BinaryReader br)
 {
     base.Decode(h, br);
     realWorldTime.Decode(br);
     simTime.Decode(br);
     requestID = ( int )br.ReadUInt32();
 }
Пример #2
0
 /// <summary>
 /// Decode network data.
 /// </summary>
 /// <param name="h"></param>
 /// <param name="br"></param>
 public override void Decode(Header h, BinaryReader br)
 {
     base.Decode(h, br);
     realWorldTime.Decode(br);
     reason         = br.ReadByte();
     frozenBehavior = br.ReadByte();
     br.ReadUInt16();
     requestID = ( int )br.ReadUInt32();
 }