예제 #1
0
 public void Start()
 {
     if (double.IsNegativeInfinity(this.startTime))
     {
         this.startTime     = SystemTimestamp.TIME_SOURCE.NOW;
         this.deductSeconds = 0;
         this.endTime       = Double.PositiveInfinity;
     }
     else if (!double.IsPositiveInfinity(this.endTime))
     {
         double num = this.endTime;
         this.endTime = Double.PositiveInfinity;
         SystemTimestamp nOW = this;
         nOW.deductSeconds = nOW.deductSeconds + ((double)SystemTimestamp.TIME_SOURCE.NOW - (double)num);
     }
 }
예제 #2
0
 // Token: 0x06000E2F RID: 3631 RVA: 0x000366E8 File Offset: 0x000348E8
 private Timer(Facepunch.Clocks.Counters.SystemTimestamp clock)
 {
     this.clock = clock;
 }