ICalibrator.cs 390 B

1234567891011121314
  1. namespace XGame.Framework.Time
  2. {
  3. /// <summary>
  4. /// 校准器(用于时间校准,重新设置时间戳)
  5. /// </summary>
  6. public interface ICalibrator
  7. {
  8. /// <summary>
  9. /// 设置时间戳,用于校准时间
  10. /// </summary>
  11. /// <param name="timestamp">时间戳,单位:毫秒</param>
  12. void SetTime(long timestamp);
  13. }
  14. }