Пример #1
0
 public void CheckWsToken()
 {
     if (this.wsToken > -1 && !WorkScheduler.CheckTokenForPosition(this.position, this.wsToken))
     {
         this.WSRegistration(false);
         this.ShouldDoMainThreadRefresh = true;
     }
 }
Пример #2
0
 public void CheckWsToken2()
 {
     this.position = base.transform.position;
     if (this.wsToken > -1 && !WorkScheduler.CheckTokenForPosition(this.position, this.wsToken))
     {
         this.WSRegistration();
         this.ShouldDoMainThreadRefresh = false;
     }
 }