|
@@ -385,6 +385,19 @@ namespace GFGGame
|
|
|
|
|
|
private void OnClickBtnOpenServerActivity()
|
|
|
{
|
|
|
+ var titleIndex = PlayerPrefs.GetString("seeOpenServerActivityStory" + GameGlobal.userId);
|
|
|
+ if (titleIndex == null || titleIndex == "")
|
|
|
+ {
|
|
|
+ PlayerPrefs.SetString("seeOpenServerActivityStory"+ GameGlobal.userId, "1");
|
|
|
+ ViewManager.Show<StoryDialogView>(new object[] { "10151", false, new OnCompleteStoryDialogCall(OnCompletePriorStoryDialog), null, false }, true);
|
|
|
+ }
|
|
|
+ else
|
|
|
+ ViewManager.Show<OpenServerActivityView>();
|
|
|
+ }
|
|
|
+
|
|
|
+ private static void OnCompletePriorStoryDialog(bool isSkip, object param)
|
|
|
+ {
|
|
|
+ ViewManager.DeleteViewStackCountDown(null, 1);
|
|
|
ViewManager.Show<OpenServerActivityView>();
|
|
|
}
|
|
|
|