|
@@ -415,7 +415,7 @@ namespace GFGGame
|
|
|
// _ui.m_btnMain.m_holder1.visible = false;
|
|
|
// this.Hide();
|
|
|
ViewManager.Show<StoryChapterListView>(null,
|
|
|
- new object[] { ViewName.MAINUI_VIEW, this.viewData });
|
|
|
+ new object[] { typeof(MainUIView).FullName, this.viewData });
|
|
|
isOpen = false;
|
|
|
;
|
|
|
|
|
@@ -433,7 +433,7 @@ namespace GFGGame
|
|
|
// {
|
|
|
_ui.m_btnHuanZhuang.m_holder1.visible = false;
|
|
|
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;
|
|
|
|
|
|
|
|
@@ -464,30 +464,31 @@ namespace GFGGame
|
|
|
isOpen = true;
|
|
|
_ui.m_btnXiuFang.m_holder1.visible = true;
|
|
|
_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;
|
|
|
}
|
|
|
|
|
|
private void OnClickBtnDailyLogin()
|
|
|
{
|
|
|
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 });
|
|
|
}
|
|
|
|
|
|
private void OnClickBtnDailyWelfare()
|
|
|
{
|
|
|
- ViewManager.Show<DailyWelfareView>(null, new object[] { ViewName.MAINUI_VIEW, this.viewData });
|
|
|
+ ViewManager.Show<DailyWelfareView>(null, new object[] { typeof(MainUIView).FullName, this.viewData });
|
|
|
}
|
|
|
|
|
|
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);
|
|
|
}
|
|
|
|
|
|
private void OnClickBtnLimitedRechargeDBGift()
|
|
|
{
|
|
|
- ViewManager.Show<LimitedRechargeDBGiftView>(null, new object[] { ViewName.MAINUI_VIEW, this.viewData });
|
|
|
+ ViewManager.Show<LimitedRechargeDBGiftView>(null, new object[] { typeof(MainUIView).FullName, this.viewData });
|
|
|
}
|
|
|
|
|
|
private void OnClickBtnCiPai()
|
|
@@ -500,27 +501,28 @@ namespace GFGGame
|
|
|
_ui.m_btnCiPai.m_holder1.visible = 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;
|
|
|
|
|
|
}
|
|
|
|
|
|
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()
|
|
|
{
|
|
|
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()
|
|
|
{
|
|
|
// 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()
|
|
@@ -536,7 +538,7 @@ namespace GFGGame
|
|
|
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>();
|
|
|
|
|
|
}
|
|
@@ -545,12 +547,12 @@ namespace GFGGame
|
|
|
{
|
|
|
// 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()
|
|
|
{
|
|
|
- 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()
|
|
@@ -576,13 +578,13 @@ namespace GFGGame
|
|
|
{
|
|
|
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()
|
|
|
{
|
|
|
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()
|
|
@@ -592,7 +594,7 @@ namespace GFGGame
|
|
|
|
|
|
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()
|
|
@@ -602,15 +604,15 @@ namespace GFGGame
|
|
|
|
|
|
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);
|
|
|
// ViewManager.Show<DailyTaskView>();
|
|
|
}
|
|
|
|
|
|
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()
|