public void OnOpenTaskForm(CUIEvent uiEvent)
 {
     if (!this.IsOpenTaskSys())
     {
         return;
     }
     this.m_taskView.OpenForm(uiEvent);
     TaskNetUT.Send_Update_Task(0u);
     CMiShuSystem.SendReqCoinGetPathData();
 }
Beispiel #2
0
 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]);
     }
 }
Beispiel #3
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]);
     }
 }