|
@@ -16,7 +16,7 @@ namespace GFGGame
|
|
|
private List<LongPressGesture> _listLongPress = new List<LongPressGesture>();
|
|
|
private List<FightData> _roleDatas; //可能是自己的搭配,也可能是对方玩家的搭配
|
|
|
private int _themeIndex = 0;
|
|
|
- private object[] _openViewName = new object[]{};
|
|
|
+ private string _openViewName = "";
|
|
|
private List<int> _itemList = new List<int>();
|
|
|
private string[] _tags;
|
|
|
private int _roleType = 0; //FightRoleType
|
|
@@ -75,7 +75,7 @@ namespace GFGGame
|
|
|
_roleType = (int)(this.viewData as object[])[0];
|
|
|
_themeIndex = (int)(this.viewData as object[])[1];
|
|
|
_roleDatas = (this.viewData as object[])[2] as List<FightData>;
|
|
|
- _openViewName = (this.viewData as object[]);//[3];//.ToString();
|
|
|
+ _openViewName = (this.viewData as object[])[3].ToString();
|
|
|
|
|
|
_ui.m_grhCloseComFightScore.visible = false;
|
|
|
_ui.m_c1.selectedIndex = _roleType;
|
|
@@ -112,11 +112,10 @@ namespace GFGGame
|
|
|
private void OnClickBtnBack()
|
|
|
{
|
|
|
ViewManager.GoBackFrom(typeof(ArenaDressInfoView).FullName); //返回竞技场主界面
|
|
|
- //if (!string.IsNullOrEmpty(_openViewName))
|
|
|
- //{
|
|
|
- ViewManager.Show<CreateRoleView>();
|
|
|
- //ViewManager.Show(_openViewName); //打开来源界面:如历史记录、排行榜
|
|
|
- // }
|
|
|
+ if (!string.IsNullOrEmpty(_openViewName))
|
|
|
+ {
|
|
|
+ ViewManager.Show(_openViewName); //打开来源界面:如历史记录、排行榜
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
private void OnThemeChange()
|