|
@@ -414,7 +414,7 @@ namespace GFGGame
|
|
// _ui.m_btnMain.m_holder1.visible = false;
|
|
// _ui.m_btnMain.m_holder1.visible = false;
|
|
// this.Hide();
|
|
// this.Hide();
|
|
ViewManager.Show<StoryChapterListView>(null,
|
|
ViewManager.Show<StoryChapterListView>(null,
|
|
- new object[] { ViewName.MAINUI_VIEW, this.viewData });
|
|
|
|
|
|
+ new object[] { typeof(MainUIView).FullName, this.viewData });
|
|
isOpen = false;
|
|
isOpen = false;
|
|
;
|
|
;
|
|
|
|
|
|
@@ -432,7 +432,7 @@ namespace GFGGame
|
|
// {
|
|
// {
|
|
_ui.m_btnHuanZhuang.m_holder1.visible = false;
|
|
_ui.m_btnHuanZhuang.m_holder1.visible = false;
|
|
this.Hide();
|
|
this.Hide();
|
|
- ViewManager.Show<DressUpView>(null, new object[] { ViewName.MAINUI_VIEW, this.viewData });
|
|
|
|
|
|
+ ViewManager.Show<DressUpView>(null, new object[] { typeof(MainUIView).FullName, this.viewData });
|
|
isOpen = false;
|
|
isOpen = false;
|
|
|
|
|
|
|
|
|
|
@@ -465,7 +465,7 @@ namespace GFGGame
|
|
// Timers.inst.Add(effectTime, 1, (param) =>
|
|
// Timers.inst.Add(effectTime, 1, (param) =>
|
|
// {
|
|
// {
|
|
_ui.m_btnXiuFang.m_holder1.visible = false;
|
|
_ui.m_btnXiuFang.m_holder1.visible = false;
|
|
- ViewManager.Show<XiuFangView>(null, new object[] { ViewName.MAINUI_VIEW, this.viewData });
|
|
|
|
|
|
+ ViewManager.Show<XiuFangView>(null, new object[] { typeof(MainUIView).FullName, this.viewData });
|
|
isOpen = false;
|
|
isOpen = false;
|
|
|
|
|
|
|
|
|
|
@@ -486,7 +486,7 @@ namespace GFGGame
|
|
// ViewManager.Show<FunctionOpenView>(list);
|
|
// ViewManager.Show<FunctionOpenView>(list);
|
|
LogServerHelper.SendPlayParticipationLog((int)PlayParticipationEnum.MEI_RI_DNEG_LU, 1);
|
|
LogServerHelper.SendPlayParticipationLog((int)PlayParticipationEnum.MEI_RI_DNEG_LU, 1);
|
|
|
|
|
|
- ViewManager.Show<SevenDayLoginView>(null, new object[] { ViewName.MAINUI_VIEW, this.viewData });
|
|
|
|
|
|
+ ViewManager.Show<SevenDayLoginView>(null, new object[] { typeof(MainUIView).FullName, this.viewData });
|
|
// isOpen = false;
|
|
// isOpen = false;
|
|
// });
|
|
// });
|
|
}
|
|
}
|
|
@@ -505,14 +505,14 @@ namespace GFGGame
|
|
// ViewManager.Show<FunctionOpenView>(list);
|
|
// ViewManager.Show<FunctionOpenView>(list);
|
|
// LogServerHelper.SendPlayParticipationLog((int)PlayParticipationEnum.MEI_RI_DNEG_LU, 1);
|
|
// LogServerHelper.SendPlayParticipationLog((int)PlayParticipationEnum.MEI_RI_DNEG_LU, 1);
|
|
|
|
|
|
- ViewManager.Show<DailyWelfareView>(null, new object[] { ViewName.MAINUI_VIEW, this.viewData });
|
|
|
|
|
|
+ ViewManager.Show<DailyWelfareView>(null, new object[] { typeof(MainUIView).FullName, this.viewData });
|
|
// isOpen = false;
|
|
// isOpen = false;
|
|
// });
|
|
// });
|
|
}
|
|
}
|
|
|
|
|
|
private void OnClickBtnActivityLuckyBox()
|
|
private void OnClickBtnActivityLuckyBox()
|
|
{
|
|
{
|
|
- ViewManager.Show<ActivityThemeLuckyBoxView>(null, new object[] { ViewName.MAINUI_VIEW, this.viewData },
|
|
|
|
|
|
+ ViewManager.Show<ActivityThemeLuckyBoxView>(null, new object[] { typeof(MainUIView).FullName, this.viewData },
|
|
true);
|
|
true);
|
|
}
|
|
}
|
|
|
|
|
|
@@ -528,7 +528,7 @@ namespace GFGGame
|
|
_ui.m_btnCiPai.m_holder1.visible = false;
|
|
_ui.m_btnCiPai.m_holder1.visible = false;
|
|
|
|
|
|
CardDataManager.isFilter = false;
|
|
CardDataManager.isFilter = false;
|
|
- ViewManager.Show<CardDetailView>(null, new object[] { ViewName.MAINUI_VIEW, this.viewData });
|
|
|
|
|
|
+ ViewManager.Show<CardDetailView>(null, new object[] { typeof(MainUIView).FullName, this.viewData });
|
|
isOpen = false;
|
|
isOpen = false;
|
|
|
|
|
|
// });
|
|
// });
|
|
@@ -536,21 +536,21 @@ namespace GFGGame
|
|
|
|
|
|
private void OnClickBtnStudio()
|
|
private void OnClickBtnStudio()
|
|
{
|
|
{
|
|
- ViewManager.Show<StudioView>(null, new object[] { ViewName.MAINUI_VIEW, this.viewData });
|
|
|
|
|
|
+ ViewManager.Show<StudioView>(null, new object[] { typeof(MainUIView).FullName, this.viewData });
|
|
}
|
|
}
|
|
|
|
|
|
private void OnClickBtnField()
|
|
private void OnClickBtnField()
|
|
{
|
|
{
|
|
LogServerHelper.SendPlayParticipationLog((int)PlayParticipationEnum.TIAN_YE_DIAO_CHA, 1);
|
|
LogServerHelper.SendPlayParticipationLog((int)PlayParticipationEnum.TIAN_YE_DIAO_CHA, 1);
|
|
|
|
|
|
- ViewManager.Show<FieldView>(null, new object[] { ViewName.MAINUI_VIEW, this.viewData });
|
|
|
|
|
|
+ ViewManager.Show<FieldView>(null, new object[] {typeof(MainUIView).FullName, this.viewData });
|
|
}
|
|
}
|
|
|
|
|
|
private void OnClickBtnPoem()
|
|
private void OnClickBtnPoem()
|
|
{
|
|
{
|
|
// LogServerHelper.SendNodeLog((int)PlayParticipationEnum.TIAN_YE_DIAO_CHA, 1);
|
|
// LogServerHelper.SendNodeLog((int)PlayParticipationEnum.TIAN_YE_DIAO_CHA, 1);
|
|
|
|
|
|
- ViewManager.Show<PoemView>(null, new object[] { ViewName.MAINUI_VIEW, this.viewData });
|
|
|
|
|
|
+ ViewManager.Show<PoemView>(null, new object[] { typeof(MainUIView).FullName, this.viewData });
|
|
}
|
|
}
|
|
|
|
|
|
private void OnClickBtnArena()
|
|
private void OnClickBtnArena()
|
|
@@ -566,7 +566,7 @@ namespace GFGGame
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
|
|
- ViewManager.Show<ArenaView>(null, new object[] { ViewName.MAINUI_VIEW, this.viewData }, true);
|
|
|
|
|
|
+ ViewManager.Show<ArenaView>(null, new object[] { typeof(MainUIView).FullName, this.viewData }, true);
|
|
ViewManager.Show<ArenaLoadingView>();
|
|
ViewManager.Show<ArenaLoadingView>();
|
|
|
|
|
|
}
|
|
}
|
|
@@ -575,12 +575,12 @@ namespace GFGGame
|
|
{
|
|
{
|
|
// LogServerHelper.SendNodeLog((int)PlayParticipationEnum.TIAN_YE_DIAO_CHA, 1);
|
|
// LogServerHelper.SendNodeLog((int)PlayParticipationEnum.TIAN_YE_DIAO_CHA, 1);
|
|
|
|
|
|
- ViewManager.Show<TravelView>(null, new object[] { ViewName.MAINUI_VIEW, this.viewData });
|
|
|
|
|
|
+ ViewManager.Show<TravelView>(null, new object[] { typeof(MainUIView).FullName, this.viewData });
|
|
}
|
|
}
|
|
|
|
|
|
private void OnClickBtnBag()
|
|
private void OnClickBtnBag()
|
|
{
|
|
{
|
|
- ViewManager.Show<BagView>(null, new object[] { ViewName.MAINUI_VIEW, this.viewData });
|
|
|
|
|
|
+ ViewManager.Show<BagView>(null, new object[] { typeof(MainUIView).FullName, this.viewData });
|
|
}
|
|
}
|
|
|
|
|
|
private void OnClickBtnLeague()
|
|
private void OnClickBtnLeague()
|
|
@@ -606,13 +606,13 @@ namespace GFGGame
|
|
{
|
|
{
|
|
LogServerHelper.SendPlayParticipationLog((int)PlayParticipationEnum.SHANG_CHENG, 1);
|
|
LogServerHelper.SendPlayParticipationLog((int)PlayParticipationEnum.SHANG_CHENG, 1);
|
|
|
|
|
|
- ViewManager.Show<StoreView>(null, new object[] { ViewName.MAINUI_VIEW, this.viewData });
|
|
|
|
|
|
+ ViewManager.Show<StoreView>(null, new object[] { typeof(MainUIView).FullName, this.viewData });
|
|
}
|
|
}
|
|
|
|
|
|
private void OnClickBtnTuJian()
|
|
private void OnClickBtnTuJian()
|
|
{
|
|
{
|
|
LogServerHelper.SendPlayParticipationLog((int)PlayParticipationEnum.TU_JIAN, 1);
|
|
LogServerHelper.SendPlayParticipationLog((int)PlayParticipationEnum.TU_JIAN, 1);
|
|
- ViewManager.Show<FieldGuideView>(null, new object[] { ViewName.MAINUI_VIEW, this.viewData });
|
|
|
|
|
|
+ ViewManager.Show<FieldGuideView>(null, new object[] { typeof(MainUIView).FullName, this.viewData });
|
|
}
|
|
}
|
|
|
|
|
|
private void OnClickBtnYouJian()
|
|
private void OnClickBtnYouJian()
|
|
@@ -622,26 +622,26 @@ namespace GFGGame
|
|
|
|
|
|
private void OnClickBtnHaoYou()
|
|
private void OnClickBtnHaoYou()
|
|
{
|
|
{
|
|
- ViewManager.Show<FriendView>(null, new object[] { ViewName.MAINUI_VIEW, this.viewData }, true);
|
|
|
|
|
|
+ ViewManager.Show<FriendView>(null, new object[] { typeof(MainUIView).FullName, this.viewData }, true);
|
|
}
|
|
}
|
|
|
|
|
|
private void OnClickBtnGongGao()
|
|
private void OnClickBtnGongGao()
|
|
{
|
|
{
|
|
- // /null, new object[] { ViewName.MAINUI_VIEW, this.viewData }
|
|
|
|
|
|
+ // /null, new object[] { typeof(MainUIView).FullName, this.viewData }
|
|
ViewManager.Show<NoticeView>();
|
|
ViewManager.Show<NoticeView>();
|
|
}
|
|
}
|
|
|
|
|
|
private void OnClickBtnRenWu()
|
|
private void OnClickBtnRenWu()
|
|
{
|
|
{
|
|
- ViewManager.Show<TaskView>(null, new[] { ViewName.MAINUI_VIEW, this.viewData });
|
|
|
|
- // ViewManager.Show<ActivityDay7View>(null, new[] { ViewName.MAINUI_VIEW, this.viewData });
|
|
|
|
|
|
+ ViewManager.Show<TaskView>(null, new[] { typeof(MainUIView).FullName, this.viewData });
|
|
|
|
+ // ViewManager.Show<ActivityDay7View>(null, new[] { typeof(MainUIView).FullName, this.viewData });
|
|
// LogServerHelper.SendPlayParticipationLog((int)PlayParticipationEnum.MEI_RI_REN_WU, 1);
|
|
// LogServerHelper.SendPlayParticipationLog((int)PlayParticipationEnum.MEI_RI_REN_WU, 1);
|
|
// ViewManager.Show<DailyTaskView>();
|
|
// ViewManager.Show<DailyTaskView>();
|
|
}
|
|
}
|
|
|
|
|
|
private void OnClickBtnDay7()
|
|
private void OnClickBtnDay7()
|
|
{
|
|
{
|
|
- ViewManager.Show<ActivityDay7View>(null, new[] { ViewName.MAINUI_VIEW, this.viewData });
|
|
|
|
|
|
+ ViewManager.Show<ActivityDay7View>(null, new[] { typeof(MainUIView).FullName, this.viewData });
|
|
}
|
|
}
|
|
|
|
|
|
private void OnClickBtnFirstRecharge()
|
|
private void OnClickBtnFirstRecharge()
|