public void ShowNativeAchievementsPage(ShowNativeViewDoneCallbackMethod callback)
 {
     guiMode = ReignScores_ClassicGuiModes.LoadingAchievements;
     guiAchievementOffset          = 0;
     guiShowNativeViewDoneCallback = callback;
     plugin.RequestAchievements(guiRequestAchievementsCallback, this);
 }
 /// <summary>
 /// Dumy method.
 /// </summary>
 /// <param name="callback"></param>
 public void ShowNativeAchievementsPage(ShowNativeViewDoneCallbackMethod callback, MonoBehaviour services)
 {
     if (callback != null)
     {
         callback(false, "Dumy Score Obj");
     }
 }
示例#3
0
 public void ShowNativeAchievementsPage(ShowNativeViewDoneCallbackMethod callback)
 {
     mode = ReignScores_UnityUIModes.LoadingAchievements;
     achievementOffset          = 0;
     showNativeViewDoneCallback = callback;
     plugin.RequestAchievements(requestAchievementsCallback, this);
 }
 /// <summary>
 /// Dumy method.
 /// </summary>
 /// <param name="leaderboardID"></param>
 /// <param name="callback"></param>
 /// <param name="services"></param>
 public void ShowNativeScoresPage(string leaderboardID, ShowNativeViewDoneCallbackMethod callback, MonoBehaviour services)
 {
     if (callback != null)
     {
         callback(false, "Dumy Score Obj");
     }
 }
 public void ShowNativeScoresPage(string leaderboardID, ShowNativeViewDoneCallbackMethod callback)
 {
     guiMode = ReignScores_ClassicGuiModes.LoadingScores;
     guiShowNativeViewDoneCallback = callback;
     guiLeaderboardID = leaderboardID;
     guiScoreOffset   = 0;
     plugin.RequestScores(leaderboardID, guiScoreOffset, TopScoresToListPerPage, guiRequestScoresCallback, this);
 }
示例#6
0
 public void ShowNativeScoresPage(string leaderboardID, ShowNativeViewDoneCallbackMethod callback)
 {
     mode = ReignScores_UnityUIModes.LoadingScores;
     showNativeViewDoneCallback = callback;
     this.leaderboardID         = leaderboardID;
     scoreOffset = 0;
     plugin.RequestScores(leaderboardID, scoreOffset, TopScoresToListPerPage, requestScoresCallback, this);
 }
        /// <summary>
        /// Use to show native achievement UI view.
        /// </summary>
        /// <param name="callback">The callback that fires when done.</param>
        public static void ShowNativeAchievementsPage(ShowNativeViewDoneCallbackMethod callback)
        {
            if (waitingForOperation)
            {
                Debug.LogError("Must wait for last Score operation to complete.");
                return;
            }

            waitingForOperation    = true;
            showNativeViewCallback = callback;
            plugin.ShowNativeAchievementsPage(async_showNativeViewCallback, ReignServices.Singleton);
        }
示例#8
0
 public void ShowNativeAchievementsPage(ShowNativeViewDoneCallbackMethod callback, MonoBehaviour services)
 {
     if (IsAuthenticated)
     {
         GameCeneterShowAchievementsPage();
         if (callback != null)
         {
             callback(true, null);
         }
     }
     else
     {
         if (callback != null)
         {
             callback(false, "Not Authenticated!");
         }
     }
 }
示例#9
0
 public void ShowNativeScoresPage(string leaderboardID, ShowNativeViewDoneCallbackMethod callback, MonoBehaviour services)
 {
     if (IsAuthenticated)
     {
         GameCenterShowScoresPage(findNativeLoaderboardID(leaderboardID));
         if (callback != null)
         {
             callback(true, null);
         }
     }
     else
     {
         if (callback != null)
         {
             callback(false, "Not Authenticated!");
         }
     }
 }
 public void ShowNativeAchievementsPage(ShowNativeViewDoneCallbackMethod callback, MonoBehaviour services)
 {
     ui.ShowNativeAchievementsPage(callback);
 }
 public void ShowNativeScoresPage(string leaderboardID, ShowNativeViewDoneCallbackMethod callback, MonoBehaviour services)
 {
     ui.ShowNativeScoresPage(leaderboardID, callback);
 }
		public void ShowNativeScoresPage(string leaderboardID, ShowNativeViewDoneCallbackMethod callback)
		{
			guiMode = ReignScores_ClassicGuiModes.LoadingScores;
			guiShowNativeViewDoneCallback = callback;
			guiLeaderboardID = leaderboardID;
			guiScoreOffset = 0;
			plugin.RequestScores(leaderboardID, guiScoreOffset, TopScoresToListPerPage, guiRequestScoresCallback, this);
		}
		public void ShowNativeAchievementsPage(ShowNativeViewDoneCallbackMethod callback)
		{
			guiMode = ReignScores_ClassicGuiModes.LoadingAchievements;
			guiAchievementOffset = 0;
			guiShowNativeViewDoneCallback = callback;
			plugin.RequestAchievements(guiRequestAchievementsCallback, this);
		}
		public void ShowNativeScoresPage(string leaderboardID, ShowNativeViewDoneCallbackMethod callback, MonoBehaviour services)
		{
			ui.ShowNativeScoresPage(leaderboardID, callback);
		}
		public void ShowNativeAchievementsPage(ShowNativeViewDoneCallbackMethod callback, MonoBehaviour services)
		{
			ui.ShowNativeAchievementsPage(callback);
		}
示例#16
0
		/// <summary>
		/// Dumy method.
		/// </summary>
		/// <param name="callback"></param>
		public void ShowNativeAchievementsPage(ShowNativeViewDoneCallbackMethod callback, MonoBehaviour services)
		{
			if (callback != null) callback(false, "Dumy Score Obj");
		}
 public void ShowNativeAchievementsPage(ShowNativeViewDoneCallbackMethod callback, MonoBehaviour services)
 {
     showNativeViewDoneCallback = callback;
     native.CallStatic("ShowNativeAchievementsPage");
 }
		public void ShowNativeScoresPage (string leaderboardID, ShowNativeViewDoneCallbackMethod callback, MonoBehaviour services)
		{
			#if !IOS_DISABLE_APPLE_SCORES
			if (IsAuthenticated)
			{
				GameCenterShowScoresPage(findNativeLoaderboardID(leaderboardID));
				if (callback != null) callback(true, null);
			}
			else
			{
				if (callback != null) callback(false, "Not Authenticated!");
			}
			#endif
		}
		public void ShowNativeAchievementsPage (ShowNativeViewDoneCallbackMethod callback, MonoBehaviour services)
		{
			#if !IOS_DISABLE_APPLE_SCORES
			if (IsAuthenticated)
			{
				GameCeneterShowAchievementsPage();
				if (callback != null) callback(true, null);
			}
			else
			{
				if (callback != null) callback(false, "Not Authenticated!");
			}
			#endif
		}
		public void ShowNativeScoresPage(string leaderboardID, ShowNativeViewDoneCallbackMethod callback)
		{
			mode = ReignScores_UnityUIModes.LoadingScores;
			showNativeViewDoneCallback = callback;
			this.leaderboardID = leaderboardID;
			scoreOffset = 0;
			plugin.RequestScores(leaderboardID, scoreOffset, TopScoresToListPerPage, requestScoresCallback, this);
		}
		public void ShowNativeAchievementsPage(ShowNativeViewDoneCallbackMethod callback)
		{
			mode = ReignScores_UnityUIModes.LoadingAchievements;
			achievementOffset = 0;
			showNativeViewDoneCallback = callback;
			plugin.RequestAchievements(requestAchievementsCallback, this);
		}
示例#22
0
		/// <summary>
		/// Dumy method.
		/// </summary>
		/// <param name="leaderboardID"></param>
		/// <param name="callback"></param>
		/// <param name="services"></param>
		public void ShowNativeScoresPage(string leaderboardID, ShowNativeViewDoneCallbackMethod callback, MonoBehaviour services)
		{
			if (callback != null) callback(false, "Dumy Score Obj");
		}
		public void ShowNativeAchievementsPage (ShowNativeViewDoneCallbackMethod callback, MonoBehaviour services)
		{
			showNativeViewDoneCallback = callback;
			native.CallStatic("ShowNativeAchievementsPage");
		}
 public void ShowNativeScoresPage(string leaderboardID, ShowNativeViewDoneCallbackMethod callback, MonoBehaviour services)
 {
     showNativeViewDoneCallback = callback;
     native.CallStatic("ShowNativeScoresPage", findLeaderboardID(leaderboardID));
 }
		public void ShowNativeScoresPage (string leaderboardID, ShowNativeViewDoneCallbackMethod callback, MonoBehaviour services)
		{
			showNativeViewDoneCallback = callback;
			native.CallStatic("ShowNativeScoresPage", findLeaderboardID(leaderboardID));
		}
示例#26
0
		/// <summary>
		/// Use to show native achievement UI view.
		/// </summary>
		/// <param name="callback">The callback that fires when done.</param>
		public static void ShowNativeAchievementsPage(ShowNativeViewDoneCallbackMethod callback)
		{
			if (waitingForOperation)
			{
				Debug.LogError("Must wait for last Score operation to complete.");
				return;
			}

			waitingForOperation = true;
			showNativeViewCallback = callback;
			plugin.ShowNativeAchievementsPage(async_showNativeViewCallback, ReignServices.Singleton);
		}