public void GetPlayerStats(Action <CommonStatusCodes, PlayerStats> callback) { if (mClient != null && mClient.IsAuthenticated()) { mClient.GetPlayerStats(callback); } else { Logger.e("GetPlayerStats can only be called after authentication."); callback(CommonStatusCodes.SignInRequired, new PlayerStats()); } }
public void GetPlayerStats(Action <CommonStatusCodes, PlayGamesLocalUser.PlayerStats> callback) { if (mClient != null && mClient.IsAuthenticated()) { mClient.GetPlayerStats(callback); } else { GooglePlayGames.OurUtils.Logger.e("GetPlayerStats can only be called after authentication."); callback(CommonStatusCodes.SignInRequired, null); } }