// Token: 0x0600E155 RID: 57685 RVA: 0x003CAD88 File Offset: 0x003C8F88 public void SetTimeText(TimeSpan ts) { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_SetTimeTextTimeSpan_hotfix != null) { this.m_SetTimeTextTimeSpan_hotfix.call(new object[] { this, ts }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; if (!(this.m_heroAssistantsTask.EndTime <= this.m_playerContext.GetServerTime())) { this.m_timeStateText.text = string.Format("{0:d2}:{1:d2}:{2:d2}", ts.Hours, ts.Minutes, ts.Seconds); return; } UIStateDesc currentUIState = this.m_stateCtrl.GetCurrentUIState(); if (currentUIState.StateName == "Finish") { return; } this.m_stateCtrl.SetToUIState("Finish", false, true); this.m_playerHeroGraphic.PlayAnimation("idle", true, 0); }
// Token: 0x0600E6CB RID: 59083 RVA: 0x003DE568 File Offset: 0x003DC768 public bool IsNewTagActive() { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_IsNewTagActive_hotfix != null) { return(Convert.ToBoolean(this.m_IsNewTagActive_hotfix.call(new object[] { this }))); } BJLuaObjHelper.IsSkipLuaHotfix = false; UIStateDesc currentUIState = this.m_uiStateCtrl.GetCurrentUIState(); return(currentUIState != null && currentUIState.StateName == "New"); }
// Token: 0x0600C459 RID: 50265 RVA: 0x00365E94 File Offset: 0x00364094 public bool IsPlaying() { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_IsPlaying_hotfix != null) { return(Convert.ToBoolean(this.m_IsPlaying_hotfix.call(new object[] { this }))); } BJLuaObjHelper.IsSkipLuaHotfix = false; UIStateDesc currentUIState = this.VoicePlayerStateCtrl.GetCurrentUIState(); return(currentUIState == null || currentUIState.StateName == "Show"); }
// Token: 0x06015899 RID: 88217 RVA: 0x0057C560 File Offset: 0x0057A760 public bool Cancel() { if (this.m_uiStateController == null) { return(false); } UIStateDesc currentUIState = this.m_uiStateController.GetCurrentUIState(); if (currentUIState == null || currentUIState.StateName != "Open") { return(false); } this.OnCancel(); return(true); }
// Token: 0x0600C39A RID: 50074 RVA: 0x00363548 File Offset: 0x00361748 public void SwitchExpressionPanel() { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_SwitchExpressionPanel_hotfix != null) { this.m_SwitchExpressionPanel_hotfix.call(new object[] { this }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; UIStateDesc currentUIState = this.PanelStateCtrl.GetCurrentUIState(); if (currentUIState.StateName == "Close") { UIUtility.SetUIStateOpen(this.PanelStateCtrl, "Show", null, false, true); } else { UIUtility.SetUIStateClose(this.PanelStateCtrl, "Close", null, false, true); } }