コード例 #1
0
 public void LoadScores(string category, Action <IScore[]> callback)
 {
     if (!this.VerifyAuthentication())
     {
         if (callback != null)
         {
             callback(new Score[0]);
         }
     }
     else
     {
         GameCenterPlatform.InternalLoadScores(category, callback);
     }
 }
コード例 #2
0
        public void LoadScores(string category, Action <IScore[]> callback)
        {
            bool flag = !this.VerifyAuthentication();

            if (flag)
            {
                bool flag2 = callback != null;
                if (flag2)
                {
                    IScore[] obj = new Score[0];
                    callback(obj);
                }
            }
            else
            {
                GameCenterPlatform.InternalLoadScores(category, callback);
            }
        }