/// <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); }
/// <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); }