Beispiel #1
0
 /// <summary>
 /// Encode data for network transmission.
 /// </summary>
 /// <param name="bw"></param>
 public override void Encode(BinaryWriter bw)
 {
     base.Encode(bw);
     realWorldTime.Encode(bw);
     simTime.Encode(bw);
     bw.Write(requestID);
 }
Beispiel #2
0
 /// <summary>
 /// Encode data for network transmission.
 /// </summary>
 /// <param name="bw"></param>
 public override void Encode(BinaryWriter bw)
 {
     base.Encode(bw);
     realWorldTime.Encode(bw);
     bw.Write(reason);
     bw.Write(frozenBehavior);
     bw.Write(( ushort )0);   // padding
     bw.Write(requestID);
 }