|
@@ -71,7 +71,6 @@ namespace GFGGame
|
|
|
ViewManager.Show<ActivityTeaMainView>();
|
|
|
return;
|
|
|
}
|
|
|
- EventAgent.AddEventListener(ConstMessage.NOTICE_BATCH_TASK_STATE_CHANGE, OnTasksChange);
|
|
|
npcId = (int)this.viewData;
|
|
|
if (!TaskDataManager.Instance.TaskInfosDic.TryGetValue(ActivityVisitCfgArray.Instance.dataArray[npcId].taskIdArr[0], out TaskInfo item))
|
|
|
{
|
|
@@ -80,7 +79,7 @@ namespace GFGGame
|
|
|
{
|
|
|
return;
|
|
|
}
|
|
|
- Timers.inst.Add(1.0f, 1, UpdateView);
|
|
|
+ Timers.inst.Add(2.0f, 1, UpdateView);
|
|
|
}
|
|
|
else
|
|
|
{
|
|
@@ -113,7 +112,7 @@ namespace GFGGame
|
|
|
}
|
|
|
}
|
|
|
GetRewardState();
|
|
|
-
|
|
|
+ EventAgent.AddEventListener(ConstMessage.NOTICE_BATCH_TASK_STATE_CHANGE, OnTasksChange);
|
|
|
_ui.m_DialogText.m_txtName.text = ActivityVisitCfgArray.Instance.dataArray[npcId].name;
|
|
|
_ui.m_DialogText.m_txtContent.text = "";
|
|
|
_ui.m_DialogText.m_In.Play();
|