Пример #1
0
 // Token: 0x060014EF RID: 5359 RVA: 0x00076C40 File Offset: 0x00074E40
 public int IncrementId(PreemptiveCoroutineManager.CoroutineFunction func)
 {
     if (this.coroutineFuncIds.ContainsKey(func))
     {
         Dictionary <PreemptiveCoroutineManager.CoroutineFunction, int> dictionary2;
         Dictionary <PreemptiveCoroutineManager.CoroutineFunction, int> dictionary = dictionary2 = this.coroutineFuncIds;
         int num = dictionary2[func];
         return(dictionary[func] = num + 1);
     }
     return(this.ResetCoroutineId(func));
 }
Пример #2
0
 // Token: 0x060014F1 RID: 5361 RVA: 0x0000E11F File Offset: 0x0000C31F
 public int ResetCoroutineId(PreemptiveCoroutineManager.CoroutineFunction func)
 {
     this.coroutineFuncIds[func] = 0;
     return(0);
 }
Пример #3
0
 // Token: 0x060014F0 RID: 5360 RVA: 0x0000E0FB File Offset: 0x0000C2FB
 public bool IsCurrent(PreemptiveCoroutineManager.CoroutineFunction func, int coroutineId)
 {
     return(this.coroutineFuncIds.ContainsKey(func) && this.coroutineFuncIds[func] == coroutineId);
 }