コード例 #1
0
 internal IUserProfile[] GetFriends()
 {
     if (!IsAuthenticated())
     {
         Logger.d("Cannot get friends when not authenticated!");
         return((IUserProfile[])new IUserProfile[0]);
     }
     return(mClient.GetFriends());
 }
コード例 #2
0
        /// <summary>
        /// Internal implmentation of getFriends.Gets the friends.
        /// </summary>
        /// <returns>The friends.</returns>
        internal IUserProfile[] GetFriends()
        {
            if (!IsAuthenticated())
            {
                GooglePlayGames.OurUtils.Logger.d("Cannot get friends when not authenticated!");
                return(new IUserProfile[0]);
            }

            return(mClient.GetFriends());
        }
コード例 #3
0
    public IUserProfile[] GetFriends()
    {
        if (!IsAuthenticated())
        {
            Debug.Log("Cannot get friends when not authenticated!");
            return(new IUserProfile[0]);
        }

        return(mClient.GetFriends());
    }