@mtgame/core 0.0.54 → 0.0.55

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3010,6 +3010,16 @@
3010
3010
  enumerable: true,
3011
3011
  configurable: true
3012
3012
  });
3013
+ Object.defineProperty(HockeyStatistic.prototype, "gamesWonPercent", {
3014
+ get: function () {
3015
+ if (!this.gamesCount) {
3016
+ return 0;
3017
+ }
3018
+ return Math.floor(1000 * this.wonGamesCount / this.gamesCount) / 10;
3019
+ },
3020
+ enumerable: true,
3021
+ configurable: true
3022
+ });
3013
3023
  HockeyStatistic.toFront = function (data) { };
3014
3024
  HockeyStatistic.toBack = function (data) { };
3015
3025
  __decorate([
@@ -3030,6 +3040,7 @@
3030
3040
  win_lose: 'winLose',
3031
3041
  games_count: 'gamesCount',
3032
3042
  won_games_count: 'wonGamesCount',
3043
+ lose_games_count: 'loseGamesCount',
3033
3044
  points: 'points',
3034
3045
  pp_shots: 'ppShots',
3035
3046
  pp_shot_misses: 'ppShotMisses',