internal PlayGamesLocalUser(PlayGamesPlatform plaf) : base("localUser", string.Empty, string.Empty) { this.mPlatform = plaf; this.emailAddress = (string)null; this.mStats = (PlayGamesLocalUser.PlayerStats)null; }
public void GetStats(Action <CommonStatusCodes, PlayGamesLocalUser.PlayerStats> callback) { if (this.mStats == null) { this.mPlatform.GetPlayerStats((Action <CommonStatusCodes, PlayGamesLocalUser.PlayerStats>)((rc, stats) => { this.mStats = stats; callback(rc, stats); })); } else { callback(CommonStatusCodes.Success, this.mStats); } }