// Token: 0x06001B4D RID: 6989 RVA: 0x00306744 File Offset: 0x00304944 public void Onfunc(UITimeBar sender) { if (sender.m_TimerSpriteType == eTimerSpriteType.Speed) { this.door.OpenMenu(EGUIWindow.UI_BagFilter, 2, 18, false); } }
// Token: 0x06002054 RID: 8276 RVA: 0x003D4634 File Offset: 0x003D2834 public void OnCancel(UITimeBar sender) { if (DataManager.Instance.ResearchTech > 0) { GUIManager.Instance.OpenOKCancelBox(this.baseBuild, DataManager.Instance.mStringTable.GetStringByID(5023u), DataManager.Instance.mStringTable.GetStringByID(5024u), 14, 0, DataManager.Instance.mStringTable.GetStringByID(5026u), DataManager.Instance.mStringTable.GetStringByID(5025u)); } }
// Token: 0x060017AC RID: 6060 RVA: 0x00286448 File Offset: 0x00284648 public void Init(UITimeBar timer, UIButton traningBtn, UIButton ReceiveBtn, int timerID) { this.m_Timer = timer; this.m_TrainingBtn = traningBtn; this.m_ReceiveBtn = ReceiveBtn; this.m_State = PetManager.EPetTrainDataState.Empty; this.m_Timer.m_TimeBarID = timerID; GUIManager.Instance.CreateTimerBar(this.m_Timer, 0L, 0L, 0L, eTimeBarType.CancelType, DataManager.Instance.mStringTable.GetStringByID(17113u), DataManager.Instance.mStringTable.GetStringByID(17113u)); this.m_Timer.m_FuntionBtn.gameObject.SetActive(false); }
// Token: 0x06000FDD RID: 4061 RVA: 0x001BC6B0 File Offset: 0x001BA8B0 public void OnTimer(UITimeBar sender) { this.Title.text = DataManager.Instance.mStringTable.GetStringByID(4876u); this.RedShellAlpha.gameObject.SetActive(true); this.RedShellAlpha.alpha = 1f; if (this.Hander != null) { this.Hander.OnTimer(sender); } }
// Token: 0x06000FC1 RID: 4033 RVA: 0x001B9498 File Offset: 0x001B7698 public override void OnTimer(UITimeBar sender) { if (sender.m_TimeBarID == 1) { return; } if (this.JoinBtn.enabled) { this.LeftJoinImg.gameObject.SetActive(false); } }
// Token: 0x060020FA RID: 8442 RVA: 0x003EBD68 File Offset: 0x003E9F68 public void OnTimer(UITimeBar sender) { if (this.m_Effect >= 4 && this.timeBar.gameObject.activeSelf) { this.text_TimeBar.text = this.DM.mStringTable.GetStringByID(5776u); this.text_TimeBar.SetAllDirty(); this.text_TimeBar.cachedTextGenerator.Invalidate(); this.text_TimeBar.alignment = TextAnchor.UpperCenter; this.timeBar.gameObject.SetActive(false); } }
// Token: 0x060020CE RID: 8398 RVA: 0x003E5CD4 File Offset: 0x003E3ED4 public void Onfunc(UITimeBar sender) { eTimerSpriteType timerSpriteType = sender.m_TimerSpriteType; if (timerSpriteType == eTimerSpriteType.Speed) { GUIManager.Instance.OpenMenu(EGUIWindow.UI_BagFilter, 2, 16, false, false, false); } else if (timerSpriteType == eTimerSpriteType.Free) { DataManager.Instance.SendHeroStarUp_Free(); } }
// Token: 0x06000FD8 RID: 4056 RVA: 0x001BC314 File Offset: 0x001BA514 public RallyTimeBar(UITimeBar timebar, int TimeBarID = 0) { this.TimeBar = timebar; this.TimeBar.m_Handler = this; this.TimeBar.m_TimeBarID = TimeBarID; this.transform = (this.TimeBar.transform as RectTransform); this.gameObject = this.transform.gameObject; this.RedShellAlpha = this.transform.GetChild(0).GetComponent <CanvasGroup>(); this.RedShellAlpha.gameObject.SetActive(false); this.TitleStr = StringManager.Instance.SpawnString(30); GUIManager.Instance.CreateTimerBar(this.TimeBar, 0L, 0L, 0L, eTimeBarType.Marshal, string.Empty, string.Empty); this.BlueImg = this.transform.GetChild(2).GetComponent <Image>(); this.RedImg = this.transform.GetChild(1).GetComponent <Image>(); this.Title = this.transform.GetChild(3).GetComponent <UIText>(); }
// Token: 0x06002053 RID: 8275 RVA: 0x003D45C8 File Offset: 0x003D27C8 public void Onfunc(UITimeBar sender) { if (sender.m_TimerSpriteType == eTimerSpriteType.Speed) { Door door = GUIManager.Instance.FindMenu(EGUIWindow.Door) as Door; door.OpenMenu(EGUIWindow.UI_BagFilter, 2, 1, false); } else if (sender.m_TimerSpriteType == eTimerSpriteType.Free) { DataManager.Instance.sendTechnologyCompleteFree(); } else if (sender.m_TimerSpriteType == eTimerSpriteType.Help) { DataManager.Instance.SendAllianceHelp(0); } }
// Token: 0x06002052 RID: 8274 RVA: 0x003D45B4 File Offset: 0x003D27B4 public void OnNotify(UITimeBar sender) { this.GUIM.SetTimerSpriteType(this.timeBar, eTimerSpriteType.Free); }
// Token: 0x060016FF RID: 5887 RVA: 0x0027B454 File Offset: 0x00279654 public void OnTimer(UITimeBar sender) { this.timeBar.gameObject.SetActive(false); this.text_Info.gameObject.SetActive(true); this.bFusion = false; }
// Token: 0x060020EF RID: 8431 RVA: 0x003E8D98 File Offset: 0x003E6F98 public void Onfunc(UITimeBar sender) { }
// Token: 0x06000FCB RID: 4043 RVA: 0x001BAF0C File Offset: 0x001B910C public override void OnTimer(UITimeBar sender) { }
// Token: 0x06001702 RID: 5890 RVA: 0x0027B4B0 File Offset: 0x002796B0 public void OnCancel(UITimeBar sender) { this.GUIM.OpenOKCancelBox(this, this.DM.mStringTable.GetStringByID(14662u), this.DM.mStringTable.GetStringByID(14663u), 1, 0, this.DM.mStringTable.GetStringByID(3925u), this.DM.mStringTable.GetStringByID(3926u)); }
// Token: 0x060020ED RID: 8429 RVA: 0x003E8D90 File Offset: 0x003E6F90 public void OnTimer(UITimeBar sender) { }
// Token: 0x060020EE RID: 8430 RVA: 0x003E8D94 File Offset: 0x003E6F94 public void OnNotify(UITimeBar sender) { }
// Token: 0x06001B4E RID: 6990 RVA: 0x00306764 File Offset: 0x00304964 public void OnCancel(UITimeBar sender) { this.GUIM.OpenOKCancelBox(this, this.DM.mStringTable.GetStringByID(7514u), this.DM.mStringTable.GetStringByID(7513u), 1, 0, this.DM.mStringTable.GetStringByID(7426u), this.DM.mStringTable.GetStringByID(188u)); }
// Token: 0x060020F0 RID: 8432 RVA: 0x003E8D9C File Offset: 0x003E6F9C public void OnCancel(UITimeBar sender) { }
// Token: 0x0600194C RID: 6476 RVA: 0x002AA0DC File Offset: 0x002A82DC public void OnTimer(UITimeBar sender) { this.timeBar.gameObject.SetActive(false); this.text_Training.gameObject.SetActive(true); this.bTraining = false; }