@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.
@@ -2797,6 +2797,16 @@ var HockeyStatistic = /** @class */ (function (_super) {
2797
2797
  enumerable: true,
2798
2798
  configurable: true
2799
2799
  });
2800
+ Object.defineProperty(HockeyStatistic.prototype, "gamesWonPercent", {
2801
+ get: function () {
2802
+ if (!this.gamesCount) {
2803
+ return 0;
2804
+ }
2805
+ return Math.floor(1000 * this.wonGamesCount / this.gamesCount) / 10;
2806
+ },
2807
+ enumerable: true,
2808
+ configurable: true
2809
+ });
2800
2810
  HockeyStatistic.toFront = function (data) { };
2801
2811
  HockeyStatistic.toBack = function (data) { };
2802
2812
  __decorate([
@@ -2817,6 +2827,7 @@ var HockeyStatistic = /** @class */ (function (_super) {
2817
2827
  win_lose: 'winLose',
2818
2828
  games_count: 'gamesCount',
2819
2829
  won_games_count: 'wonGamesCount',
2830
+ lose_games_count: 'loseGamesCount',
2820
2831
  points: 'points',
2821
2832
  pp_shots: 'ppShots',
2822
2833
  pp_shot_misses: 'ppShotMisses',