internal IUserProfile[] GetFriends()
 {
     if (!IsAuthenticated())
     {
         Logger.d("Cannot get friends when not authenticated!");
         return((IUserProfile[])new IUserProfile[0]);
     }
     return(mClient.GetFriends());
 }
        /// <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());
    }