|
@@ -59,29 +59,31 @@ namespace GFGGame
|
|
|
{
|
|
|
if (!ActivityTeaDataManager.Instance.CheckOpenOne(ActivityType.AfternoonLeisure))
|
|
|
{
|
|
|
- PromptController.Instance.ShowFloatTextPrompt("未解锁,请通关前置关卡");
|
|
|
+ PromptController.Instance.ShowFloatTextPrompt("活动未在开启时间");
|
|
|
return;
|
|
|
}
|
|
|
//小游戏入口
|
|
|
- ViewManager.Show<ActivityHuaRongDaoEntryView>();
|
|
|
+ ViewManager.Show<ActivityHuaRongDaoEntryView>(5003);
|
|
|
}
|
|
|
|
|
|
- private void OnClickBtnVisitView()
|
|
|
+ private async void OnClickBtnVisitView()
|
|
|
{
|
|
|
if (!ActivityTeaDataManager.Instance.CheckOpenOne(ActivityType.NewYearVisit))
|
|
|
{
|
|
|
- PromptController.Instance.ShowFloatTextPrompt("未解锁,请通关前置关卡");
|
|
|
+ PromptController.Instance.ShowFloatTextPrompt("活动未在开启时间");
|
|
|
return;
|
|
|
}
|
|
|
+ //var result = await ActivityTeaSProxy.ReqGetNPCVisitInfo(5004);
|
|
|
+ //if (!result) return;
|
|
|
//拜访入口
|
|
|
ViewManager.Show<ActivityTeaVisitView>();
|
|
|
}
|
|
|
|
|
|
private void OnClickBtnMergeView()
|
|
|
{
|
|
|
- if (!ActivityTeaDataManager.Instance.CheckOpenOne(ActivityType.TEA + 3))
|
|
|
+ if (!ActivityTeaDataManager.Instance.CheckOpenOne(ActivityType.NewYearMerge))
|
|
|
{
|
|
|
- PromptController.Instance.ShowFloatTextPrompt("未解锁,请通关前置关卡");
|
|
|
+ PromptController.Instance.ShowFloatTextPrompt("活动未在开启时间");
|
|
|
return;
|
|
|
}
|
|
|
//合成入口
|