public void OnOpenTaskForm(CUIEvent uiEvent) { if (!this.IsOpenTaskSys()) { return; } this.m_taskView.OpenForm(uiEvent); TaskNetUT.Send_Update_Task(0u); CMiShuSystem.SendReqCoinGetPathData(); }
public void OnOpenTaskForm(CUIEvent uiEvent) { if (Singleton <CFunctionUnlockSys> .instance.FucIsUnlock(RES_SPECIALFUNCUNLOCK_TYPE.RES_SPECIALFUNCUNLOCKTYPE_TASK)) { this.m_taskView.OpenForm(uiEvent); TaskNetUT.Send_Update_Task(0); CMiShuSystem.SendReqCoinGetPathData(); } else { ResSpecialFucUnlock dataByKey = GameDataMgr.specialFunUnlockDatabin.GetDataByKey((uint)0x10); Singleton <CUIManager> .instance.OpenTips(Utility.UTF8Convert(dataByKey.szLockedTip), false, 1f, null, new object[0]); } }
public void OnOpenTaskForm(CUIEvent uiEvent) { if (Singleton <CFunctionUnlockSys> .get_instance().FucIsUnlock(16)) { this.m_taskView.OpenForm(uiEvent); TaskNetUT.Send_Update_Task(0u); CMiShuSystem.SendReqCoinGetPathData(); } else { ResSpecialFucUnlock dataByKey = GameDataMgr.specialFunUnlockDatabin.GetDataByKey(16u); Singleton <CUIManager> .get_instance().OpenTips(Utility.UTF8Convert(dataByKey.szLockedTip), false, 1.5f, null, new object[0]); } }