예제 #1
0
 public static void SerializePong(IStreamWriter writer, PongCommand pong)
 {
     writer.WriteUint64(pong.EchoedTime.Raw);
 }
예제 #2
0
 public static void SerializePing(IStreamWriter writer, PingCommand ping)
 {
     writer.WriteUint64(ping.SentTime.Raw);
 }
 public static void SerializeTimestamp(IStreamWriter stream, Timestamp remoteTime)
 {
     stream.WriteUint64(remoteTime.Raw);
 }