@mtgame/core 0.1.139 → 0.1.140

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.
@@ -6602,19 +6602,32 @@
6602
6602
  position_attack_shots: 'positionAttackShots',
6603
6603
  position_attack_goals_percent: 'positionAttackGoalsPercent',
6604
6604
  total_counterattack_goals: 'totalCounterAttackGoals',
6605
+ counterattack_shot_on_goals: 'counterAttackShotOnGoals',
6606
+ counterattack_shot_misses: 'counterAttackShotMisses',
6607
+ counterattack_shots: 'counterAttackShots',
6608
+ counterattack_goals_percent: 'counterAttackGoalsPercent',
6605
6609
  total_maneuver_goals: 'totalManeuverGoals',
6610
+ maneuver_shot_misses: 'maneuverShotMisses',
6611
+ maneuver_shot_on_goals: 'maneuverShotOnGoals',
6612
+ maneuver_shots: 'maneuverShots',
6613
+ maneuver_goals_percent: 'maneuverGoalsPercent',
6606
6614
  total_center_forward_goals: 'totalCenterForwardGoals',
6615
+ center_forward_shot_on_goals: 'centerForwardShotOnGoals',
6616
+ center_forward_shot_misses: 'centerForwardShotMisses',
6617
+ center_forward_shots: 'centerForwardShots',
6618
+ center_forward_goals_percent: 'centerForwardGoalsPercent',
6619
+ total_free_kick_goals: 'totalFreeKickGoals',
6620
+ free_kick_shot_misses: 'freeKickShotMisses',
6621
+ free_kick_on_goals: 'freeKickOnGoals',
6622
+ total_free_kicks: 'totalFreeKicks',
6623
+ free_kick_goals_percent: 'freeKickGoalsPercent',
6624
+ total_corner_goals: 'totalCornerGoals',
6625
+ total_corners: 'totalCorners',
6607
6626
  total_in_game_goals: 'totalInGameGoals',
6608
6627
  in_game_shot_misses: 'inGameShotMisses',
6609
- counterattack_shot_misses: 'counterAttackShotMisses',
6610
- center_forward_shot_misses: 'centerForwardShotMisses',
6611
6628
  total_pp_shot_misses: 'totalPpShotMisses',
6612
- free_kick_shot_misses: 'freeKickShotMisses',
6613
6629
  shot_misses: 'shotMisses',
6614
6630
  total_pp_shots_on_goal: 'totalPpShotsOnGoal',
6615
- counterattack_shot_on_goals: 'counterAttackShotOnGoals',
6616
- center_forward_shot_on_goals: 'centerForwardShotOnGoals',
6617
- free_kick_on_goals: 'freeKickOnGoals',
6618
6631
  in_game_shots_on_goals: 'inGameShotsOnGoals',
6619
6632
  shots_on_goal: 'shotsOnGoal',
6620
6633
  shots_blocked: 'shotsBlocked',
@@ -6625,10 +6638,6 @@
6625
6638
  total_goals_percent: 'totalGoalsPercent',
6626
6639
  face_offs: 'faceOffs',
6627
6640
  face_off_percent: 'faceOffPercent',
6628
- total_free_kick_goals: 'totalFreeKickGoals',
6629
- total_free_kicks: 'totalFreeKicks',
6630
- total_corner_goals: 'totalCornerGoals',
6631
- total_corners: 'totalCorners',
6632
6641
  total_fouls: 'totalFouls',
6633
6642
  total_penalties: 'totalPenalties',
6634
6643
  shootout_shots: 'shootoutShots',
@@ -11161,6 +11170,23 @@
11161
11170
  enumerable: false,
11162
11171
  configurable: true
11163
11172
  });
11173
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "counterAttackShots", {
11174
+ get: function () {
11175
+ return this.counterAttackShotMisses + this.counterAttackShotOnGoals;
11176
+ },
11177
+ enumerable: false,
11178
+ configurable: true
11179
+ });
11180
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "counterAttackGoalsPercent", {
11181
+ get: function () {
11182
+ if (!this.totalCounterAttackGoals || !this.counterAttackShots) {
11183
+ return 0;
11184
+ }
11185
+ return Math.round(1000 * this.totalCounterAttackGoals / this.counterAttackShots) / 10;
11186
+ },
11187
+ enumerable: false,
11188
+ configurable: true
11189
+ });
11164
11190
  Object.defineProperty(WaterpoloGameStatistic.prototype, "totalManeuverGoals", {
11165
11191
  get: function () {
11166
11192
  return (this.ppManeuverGoals || 0) + (this.shManeuverGoals || 0) + (this.evManeuverGoals || 0);
@@ -11203,6 +11229,23 @@
11203
11229
  enumerable: false,
11204
11230
  configurable: true
11205
11231
  });
11232
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "maneuverShots", {
11233
+ get: function () {
11234
+ return this.maneuverShotMisses + this.maneuverShotOnGoals;
11235
+ },
11236
+ enumerable: false,
11237
+ configurable: true
11238
+ });
11239
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "maneuverGoalsPercent", {
11240
+ get: function () {
11241
+ if (!this.totalManeuverGoals || !this.maneuverShots) {
11242
+ return 0;
11243
+ }
11244
+ return Math.round(1000 * this.totalManeuverGoals / this.maneuverShots) / 10;
11245
+ },
11246
+ enumerable: false,
11247
+ configurable: true
11248
+ });
11206
11249
  Object.defineProperty(WaterpoloGameStatistic.prototype, "totalCenterForwardGoals", {
11207
11250
  get: function () {
11208
11251
  return (this.ppCenterForwardGoals || 0) + (this.shCenterForwardGoals || 0) + (this.evCenterForwardGoals || 0);
@@ -11245,6 +11288,23 @@
11245
11288
  enumerable: false,
11246
11289
  configurable: true
11247
11290
  });
11291
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "centerForwardShots", {
11292
+ get: function () {
11293
+ return this.centerForwardShotMisses + this.centerForwardShotOnGoals;
11294
+ },
11295
+ enumerable: false,
11296
+ configurable: true
11297
+ });
11298
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "centerForwardGoalsPercent", {
11299
+ get: function () {
11300
+ if (!this.totalCenterForwardGoals || !this.centerForwardShots) {
11301
+ return 0;
11302
+ }
11303
+ return Math.round(1000 * this.totalCenterForwardGoals / this.centerForwardShots) / 10;
11304
+ },
11305
+ enumerable: false,
11306
+ configurable: true
11307
+ });
11248
11308
  Object.defineProperty(WaterpoloGameStatistic.prototype, "ppShots", {
11249
11309
  get: function () {
11250
11310
  return (this.ppShotMisses || 0) + (this.ppShotsOnGoal || 0) + (this.ppShotsBlocked || 0) +
@@ -11428,6 +11488,16 @@
11428
11488
  enumerable: false,
11429
11489
  configurable: true
11430
11490
  });
11491
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "freeKickGoalsPercent", {
11492
+ get: function () {
11493
+ if (!this.totalFreeKickGoals || !this.totalFreeKicks) {
11494
+ return 0;
11495
+ }
11496
+ return Math.round(1000 * this.totalFreeKickGoals / this.totalFreeKicks) / 10;
11497
+ },
11498
+ enumerable: false,
11499
+ configurable: true
11500
+ });
11431
11501
  Object.defineProperty(WaterpoloGameStatistic.prototype, "totalCornerGoals", {
11432
11502
  get: function () {
11433
11503
  return (this.ppCornerGoals || 0) + (this.shCornerGoals || 0) + (this.evCornerGoals || 0);