// Token: 0x06000097 RID: 151 RVA: 0x000038DD File Offset: 0x00001ADD public static void StartTimer2(int int_0) { int_0 = SlavCore.ConvertMinutesToMilliseconds(int_0); System.Timers.Timer timer = new System.Timers.Timer((double)int_0); timer.AutoReset = true; timer.Elapsed += SlavCore.t_Elapsed2; timer.Start(); }
// Token: 0x06000095 RID: 149 RVA: 0x00009D88 File Offset: 0x00007F88 public static void UpdateTitle(string customField1 = null, int customInt1 = 0, string customField2 = null, int customInt2 = 0) { if (string.IsNullOrEmpty(customField1)) { Console.Title = string.Concat(new object[] { string.Format("{0} | Hits: {1} | Invalid: {2} | Checked: {3} | Remaining: {4} | Retries: {5} | Errors: {6} | CPM: {7}", new object[] { Var.title, Var.hitCnt, Var.invalidCnt, Var.checkedCnt, Var.comboQueue.Count, Var.retryCnt, Var.errorCnt, Var.cpm2 * 12 }) }); } else if (!string.IsNullOrEmpty(customField1) && string.IsNullOrEmpty(customField2)) { Console.Title = string.Concat(new object[] { string.Format("{0} | Hits: {1} | {2}: {3} | Invalid: {4} | Checked: {5} | Remaining: {6} | Retries: {7} | Errors: {8} | CPM: {9}", new object[] { Var.title, Var.hitCnt, customField1, customInt1, Var.invalidCnt, Var.checkedCnt, Var.comboQueue.Count, Var.retryCnt, Var.errorCnt, Var.cpm2 * 12 }) }); } else { Console.Title = string.Concat(new object[] { string.Format("{0} | Hits: {1} | {2}: {3} | {4}: {5} | Invalid: {6} | Checked: {7} | Remaining: {8} | Retries: {9} | Errors: {10} | CPM: {11}", new object[] { Var.title, Var.hitCnt, customField1, customInt1, customField2, customInt2, Var.invalidCnt, Var.checkedCnt, Var.comboQueue.Count, Var.retryCnt, Var.errorCnt, Var.cpm2 * 12 }) }); } SlavCore.SaveProgress(Var.checkedCnt); }