|
@@ -121,7 +121,7 @@ namespace GFGGame
|
|
/// <param name="viewData">要传递给视图的参数</param>
|
|
/// <param name="viewData">要传递给视图的参数</param>
|
|
/// <param name="goBackParams">从该视图返回的视图信息</param>
|
|
/// <param name="goBackParams">从该视图返回的视图信息</param>
|
|
/// <param name="hideOthers">是否关闭其他视图</param>
|
|
/// <param name="hideOthers">是否关闭其他视图</param>
|
|
- public static bool Show(string fullViewName, object viewData = null, bool hideOthers = false, bool resetGobackParams = false)
|
|
|
|
|
|
+ public static bool Show(string fullViewName, object viewData = null, bool hideOthers = false)
|
|
{
|
|
{
|
|
string name = GetName(fullViewName);
|
|
string name = GetName(fullViewName);
|
|
if (!GameGlobal.skipCheckOpen && !FunctionOpenDataManager.Instance.CheckIsFunOpenById(name))
|
|
if (!GameGlobal.skipCheckOpen && !FunctionOpenDataManager.Instance.CheckIsFunOpenById(name))
|
|
@@ -205,7 +205,7 @@ namespace GFGGame
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
|
|
|
|
- public static bool Show<T>(object viewData = null, bool hideOthers = false, bool resetGobackParams = false) where T : class, new()
|
|
|
|
|
|
+ public static bool Show<T>(object viewData = null, bool hideOthers = false) where T : class, new()
|
|
{
|
|
{
|
|
// string[] names = typeof(T).FullName.Split('.');
|
|
// string[] names = typeof(T).FullName.Split('.');
|
|
// string viewName = names[names.Length - 1];
|
|
// string viewName = names[names.Length - 1];
|
|
@@ -435,7 +435,7 @@ namespace GFGGame
|
|
else
|
|
else
|
|
{
|
|
{
|
|
if (!FunctionOpenDataManager.Instance.CheckIsFunOpenById(nameof(LeagueView))) return;
|
|
if (!FunctionOpenDataManager.Instance.CheckIsFunOpenById(nameof(LeagueView))) return;
|
|
- ViewManager.Show<LeagueJoinView>(null, hideOther, true);
|
|
|
|
|
|
+ ViewManager.Show<LeagueJoinView>(null, hideOther);
|
|
}
|
|
}
|
|
|
|
|
|
break;
|
|
break;
|
|
@@ -447,14 +447,14 @@ namespace GFGGame
|
|
}
|
|
}
|
|
else
|
|
else
|
|
{
|
|
{
|
|
- ViewManager.Show<LeagueJoinView>(null, hideOther, true);
|
|
|
|
|
|
+ ViewManager.Show<LeagueJoinView>(null, hideOther);
|
|
}
|
|
}
|
|
break;
|
|
break;
|
|
case nameof(StoreView):
|
|
case nameof(StoreView):
|
|
ViewManager.Show<StoreView>(param, hideOther);
|
|
ViewManager.Show<StoreView>(param, hideOther);
|
|
break;
|
|
break;
|
|
case nameof(StoryChapterListView):
|
|
case nameof(StoryChapterListView):
|
|
- ViewManager.Show($"GFGGame.{jumpId}", param, hideOther, true);
|
|
|
|
|
|
+ ViewManager.Show($"GFGGame.{jumpId}", param, hideOther);
|
|
break;
|
|
break;
|
|
case nameof(StoryChapterView):
|
|
case nameof(StoryChapterView):
|
|
ViewManager.Show<StoryChapterView>(param[0], hideOther);
|
|
ViewManager.Show<StoryChapterView>(param[0], hideOther);
|
|
@@ -472,7 +472,7 @@ namespace GFGGame
|
|
ViewManager.Show<LuckyBoxView>(null, hideOther);
|
|
ViewManager.Show<LuckyBoxView>(null, hideOther);
|
|
break;
|
|
break;
|
|
default:
|
|
default:
|
|
- ViewManager.Show($"GFGGame.{jumpId}", null, hideOther, true);
|
|
|
|
|
|
+ ViewManager.Show($"GFGGame.{jumpId}", null, hideOther);
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
onSuccess?.Invoke();
|
|
onSuccess?.Invoke();
|