@mtgame/core 0.1.131 → 0.1.133

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.
@@ -6442,37 +6442,48 @@
6442
6442
  team_missed_sum: 'teamMissedSum',
6443
6443
  tournament_points: 'tournamentPoints',
6444
6444
  points: 'points',
6445
- pp_shots: 'ppShots',
6446
6445
  pp_shot_misses: 'ppShotMisses',
6447
6446
  pp_shots_on_goal: 'ppShotsOnGoal',
6448
6447
  pp_shots_blocked: 'ppShotsBlocked',
6449
- ev_shots: 'evShots',
6450
6448
  ev_shot_misses: 'evShotMisses',
6451
6449
  ev_shots_on_goal: 'evShotsOnGoal',
6452
6450
  ev_shots_blocked: 'evShotsBlocked',
6453
- sh_shots: 'shShots',
6454
6451
  sh_shot_misses: 'shShotMisses',
6455
6452
  sh_shots_on_goal: 'shShotsOnGoal',
6456
6453
  sh_shots_blocked: 'shShotsBlocked',
6457
- pp_goals_percent: 'ppGoalsPercent',
6454
+ pp_total_shots_on_goal: 'ppTotalShotsOnGoal',
6455
+ ev_total_shots_on_goal: 'evTotalShotsOnGoal',
6456
+ sh_total_shots_on_goal: 'shTotalShotsOnGoal',
6458
6457
  pp_goals: 'ppGoals',
6459
- total_pp_goals: 'totalPpGoals',
6460
- ev_goals_percent: 'evGoalsPercent',
6461
6458
  ev_goals: 'evGoals',
6462
- total_ev_goals: 'totalEvGoals',
6463
- sh_goals_percent: 'shGoalsPercent',
6464
- goals: 'goals',
6465
- total_goals: 'totalGoals',
6466
6459
  sh_goals: 'shGoals',
6467
- total_sh_goals: 'totalShGoals',
6468
- shot_misses: 'shotMisses',
6469
- shots_on_goal: 'shotsOnGoal',
6470
- shots_on_goal_percent: 'shotsOnGoalPercent',
6471
- shots_blocked: 'shotsBlocked',
6472
- shots: 'shots',
6473
- total_shots: 'totalShots',
6474
- goals_percent: 'goalsPercent',
6475
- total_goals_percent: 'totalGoalsPercent',
6460
+ pp_counterattack_goals: 'ppCounterAttackGoals',
6461
+ pp_counterattack_on_goals: 'ppCounterAttackOnGoals',
6462
+ pp_counterattack_misses: 'ppCounterAttackMisses',
6463
+ ev_counterattack_goals: 'evCounterAttackGoals',
6464
+ ev_counterattack_on_goals: 'evCounterAttackOnGoals',
6465
+ ev_counterattack_misses: 'evCounterAttackMisses',
6466
+ sh_counterattack_goals: 'shCounterAttackGoals',
6467
+ sh_counterattack_on_goals: 'shCounterAttackOnGoals',
6468
+ sh_counterattack_misses: 'shCounterAttackMisses',
6469
+ pp_maneuver_goals: 'ppManeuverGoals',
6470
+ pp_maneuver_on_goals: 'ppManeuverOnGoals',
6471
+ pp_maneuver_misses: 'ppManeuverMisses',
6472
+ ev_maneuver_goals: 'evManeuverGoals',
6473
+ ev_maneuver_on_goals: 'evManeuverOnGoals',
6474
+ ev_maneuver_misses: 'evManeuverMisses',
6475
+ sh_maneuver_goals: 'shManeuverGoals',
6476
+ sh_maneuver_on_goals: 'shManeuverOnGoals',
6477
+ sh_maneuver_misses: 'shManeuverMisses',
6478
+ pp_center_forward_goals: 'ppCenterForwardGoals',
6479
+ pp_center_forward_on_goals: 'ppCenterForwardOnGoals',
6480
+ pp_center_forward_misses: 'ppCenterForwardMisses',
6481
+ ev_center_forward_goals: 'evCenterForwardGoals',
6482
+ ev_center_forward_on_goals: 'evCenterForwardOnGoals',
6483
+ ev_center_forward_misses: 'evCenterForwardMisses',
6484
+ sh_center_forward_goals: 'shCenterForwardGoals',
6485
+ sh_center_forward_on_goals: 'shCenterForwardOnGoals',
6486
+ sh_center_forward_misses: 'shCenterForwardMisses',
6476
6487
  pp_assists: 'ppAssists',
6477
6488
  ev_assists: 'evAssists',
6478
6489
  sh_assists: 'shAssists',
@@ -6483,31 +6494,73 @@
6483
6494
  block_shots: 'blockShots',
6484
6495
  face_off_losses: 'faceOffLosses',
6485
6496
  face_off_wins: 'faceOffWins',
6486
- face_offs: 'faceOffs',
6487
- face_off_percent: 'faceOffPercent',
6488
- saves: 'saves',
6489
- total_saves: 'totalSaves',
6497
+ pp_saves: 'ppSaves',
6498
+ sh_saves: 'shSaves',
6499
+ ev_saves: 'evSaves',
6500
+ pp_counterattack_saves: 'ppCounterAttackSaves',
6501
+ sh_counterattack_saves: 'shCounterAttackSaves',
6502
+ ev_counterattack_saves: 'evCounterAttackSaves',
6503
+ pp_maneuver_saves: 'ppManeuverSaves',
6504
+ sh_maneuver_saves: 'shManeuverSaves',
6505
+ ev_maneuver_saves: 'evManeuverSaves',
6506
+ pp_center_forward_saves: 'ppCenterForwardSaves',
6507
+ sh_center_forward_saves: 'shCenterForwardSaves',
6508
+ ev_center_forward_saves: 'evCenterForwardSaves',
6509
+ pp_free_kick_saves: 'ppFreeKickSaves',
6510
+ sh_free_kick_saves: 'shFreeKickSaves',
6511
+ ev_free_kick_saves: 'evFreeKickSaves',
6512
+ pp_corner_saves: 'ppCornerSaves',
6513
+ sh_corner_saves: 'shCornerSaves',
6514
+ ev_corner_saves: 'evCornerSaves',
6515
+ pp_total_game_saves: 'ppTotalGameSaves',
6516
+ sh_total_game_saves: 'shTotalGameSaves',
6517
+ ev_total_game_saves: 'evTotalGameSaves',
6490
6518
  shootout_saves: 'shootoutSaves',
6491
- shots_against: 'shotsAgainst',
6492
- shootout_shots_against: 'shootoutShotsAgainst',
6493
- total_shots_against: 'totalShotsAgainst',
6494
- saves_percent: 'savesPercent',
6495
- total_saves_percent: 'totalSavesPercent',
6519
+ after_game_shootout_saves: 'afterGameShootoutSaves',
6520
+ pp_goals_against: 'ppGoalsAgainst',
6521
+ sh_goals_against: 'shGoalsAgainst',
6522
+ ev_goals_against: 'evGoalsAgainst',
6496
6523
  goals_against: 'goalsAgainst',
6524
+ pp_counterattack_goals_against: 'ppCounterAttackGoalsAgainst',
6525
+ sh_counterattack_goals_against: 'shCounterAttackGoalsAgainst',
6526
+ ev_counterattack_goals_against: 'evCounterAttackGoalsAgainst',
6527
+ counterattack_goals_against: 'counterAttackGoalsAgainst',
6528
+ pp_maneuver_goals_against: 'ppManeuverGoalsAgainst',
6529
+ sh_maneuver_goals_against: 'shManeuverGoalsAgainst',
6530
+ ev_maneuver_goals_against: 'evManeuverGoalsAgainst',
6531
+ maneuver_goals_against: 'maneuverGoalsAgainst',
6532
+ pp_center_forward_goals_against: 'ppCenterForwardGoalsAgainst',
6533
+ sh_center_forward_goals_against: 'shCenterForwardGoalsAgainst',
6534
+ ev_center_forward_goals_against: 'evCenterForwardGoalsAgainst',
6535
+ center_forward_goals_against: 'centerForwardGoalsAgainst',
6536
+ pp_free_kick_goals_against: 'ppFreeKickGoalsAgainst',
6537
+ sh_free_kick_goals_against: 'shFreeKickGoalsAgainst',
6538
+ ev_free_kick_goals_against: 'evFreeKickGoalsAgainst',
6539
+ free_kick_goals_against: 'freeKickGoalsAgainst',
6540
+ pp_corner_goals_against: 'ppCornerGoalsAgainst',
6541
+ sh_corner_goals_against: 'shCornerGoalsAgainst',
6542
+ ev_corner_goals_against: 'evCornerGoalsAgainst',
6543
+ corner_goals_against: 'cornerGoalsAgainst',
6497
6544
  shootout_goals_against: 'shootoutGoalsAgainst',
6498
- total_goals_against: 'totalGoalsAgainst',
6545
+ after_game_shootout_goals_against: 'afterGameShootoutGoalsAgainst',
6499
6546
  safety_rate: 'safetyRate',
6500
6547
  penalty_minutes: 'penaltyMinutes',
6501
6548
  game_time: 'gameTime',
6502
6549
  plus_minus: 'plusMinus',
6503
- yellow_cards: 'yellowCards',
6504
- red_cards: 'redCards',
6505
6550
  fouls: 'fouls',
6551
+ minor_penalties: 'minorPenalties',
6552
+ major_penalties: 'majorPenalties',
6553
+ match_penalties: 'matchPenalties',
6554
+ penalty_fouls: 'penaltyFouls',
6555
+ turnovers: 'turnovers',
6556
+ attack_fouls: 'attackFouls',
6506
6557
  personal_fouls: 'personalFouls',
6507
- total_fouls: 'totalFouls',
6558
+ drawn_fouls: 'drawnFouls',
6559
+ drawn_turnovers: 'drawnTurnovers',
6560
+ yellow_cards: 'yellowCards',
6561
+ red_cards: 'redCards',
6508
6562
  losses: 'losses',
6509
6563
  steals: 'steals',
6510
- drawn_fouls: 'drawnFouls',
6511
6564
  pp_free_kick_goals: 'ppFreeKickGoals',
6512
6565
  pp_free_kick_on_goals: 'ppFreeKickOnGoals',
6513
6566
  pp_free_kick_misses: 'ppFreeKickMisses',
@@ -6530,8 +6583,65 @@
6530
6583
  ev_corner_misses: 'evCornerMisses',
6531
6584
  corner_passes: 'cornerPasses',
6532
6585
  corner_selfs: 'cornerSelfs',
6533
- total_corners: 'totalCorners',
6586
+ tackles: 'tackles',
6587
+ player_efficiency: 'playerEfficiency',
6588
+ pp_shots: 'ppShots',
6589
+ ev_shots: 'evShots',
6590
+ sh_shots: 'shShots',
6591
+ pp_goals_percent: 'ppGoalsPercent',
6592
+ sh_goals_percent: 'shGoalsPercent',
6593
+ ev_goals_percent: 'evGoalsPercent',
6594
+ total_pp_goals: 'totalPpGoals',
6595
+ total_sh_goals: 'totalShGoals',
6596
+ total_ev_goals: 'totalEvGoals',
6597
+ goals: 'goals',
6598
+ total_goals: 'totalGoals',
6599
+ total_counterattack_goals: 'totalCounterAttackGoals',
6600
+ total_maneuver_goals: 'totalManeuverGoals',
6601
+ total_center_forward_goals: 'totalCenterForwardGoals',
6602
+ total_in_game_goals: 'totalInGameGoals',
6603
+ in_game_shot_misses: 'inGameShotMisses',
6604
+ counterattack_shot_misses: 'counterAttackShotMisses',
6605
+ center_forward_shot_misses: 'centerForwardShotMisses',
6606
+ total_pp_shot_misses: 'totalPpShotMisses',
6607
+ free_kick_shot_misses: 'freeKickShotMisses',
6608
+ shot_misses: 'shotMisses',
6609
+ total_pp_shots_on_goal: 'totalPpShotsOnGoal',
6610
+ counterattack_shot_on_goals: 'counterAttackShotOnGoals',
6611
+ center_forward_shot_on_goals: 'centerForwardShotOnGoals',
6612
+ free_kick_on_goals: 'freeKickOnGoals',
6613
+ in_game_shots_on_goals: 'inGameShotsOnGoals',
6614
+ shots_on_goal: 'shotsOnGoal',
6615
+ shots_blocked: 'shotsBlocked',
6616
+ shots: 'shots',
6617
+ shots_on_goal_percent: 'shotsOnGoalPercent',
6618
+ total_shots: 'totalShots',
6619
+ goals_percent: 'goalsPercent',
6620
+ total_goals_percent: 'totalGoalsPercent',
6621
+ face_offs: 'faceOffs',
6622
+ face_off_percent: 'faceOffPercent',
6623
+ total_free_kick_goals: 'totalFreeKickGoals',
6534
6624
  total_free_kicks: 'totalFreeKicks',
6625
+ total_corner_goals: 'totalCornerGoals',
6626
+ total_corners: 'totalCorners',
6627
+ total_fouls: 'totalFouls',
6628
+ shootout_shots: 'shootoutShots',
6629
+ shootout_goals_percent: 'shootoutGoalsPercent',
6630
+ /*goalie stat*/
6631
+ counterattack_saves: 'counterAttackSaves',
6632
+ center_forward_saves: 'centerForwardSaves',
6633
+ free_kick_saves: 'freeKickSaves',
6634
+ in_game_saves: 'inGameSaves',
6635
+ total_sh_saves: 'totalShSaves',
6636
+ saves: 'saves',
6637
+ total_saves: 'totalSaves',
6638
+ shootout_shots_against: 'shootoutShotsAgainst',
6639
+ shootout_saves_percent: 'shootoutSavesPercent',
6640
+ game_shots_against: 'gameShotsAgainst',
6641
+ saves_percent: 'savesPercent',
6642
+ total_shots_against: 'totalShotsAgainst',
6643
+ total_saves_percent: 'totalSavesPercent',
6644
+ total_sh_goals_against: 'totalShGoalsAgainst',
6535
6645
  newbie: 'newbie',
6536
6646
  rank: 'rank',
6537
6647
  },
@@ -10836,6 +10946,24 @@
10836
10946
  WaterpoloGameLogTypes[WaterpoloGameLogTypes["corner_pass"] = 38] = "corner_pass";
10837
10947
  WaterpoloGameLogTypes[WaterpoloGameLogTypes["corner_self"] = 39] = "corner_self";
10838
10948
  WaterpoloGameLogTypes[WaterpoloGameLogTypes["personal_foul"] = 40] = "personal_foul";
10949
+ WaterpoloGameLogTypes[WaterpoloGameLogTypes["counterattack_goal"] = 41] = "counterattack_goal";
10950
+ WaterpoloGameLogTypes[WaterpoloGameLogTypes["counterattack_on_goal"] = 42] = "counterattack_on_goal";
10951
+ WaterpoloGameLogTypes[WaterpoloGameLogTypes["counterattack_miss"] = 43] = "counterattack_miss";
10952
+ WaterpoloGameLogTypes[WaterpoloGameLogTypes["counterattack_save"] = 44] = "counterattack_save";
10953
+ WaterpoloGameLogTypes[WaterpoloGameLogTypes["maneuver_goal"] = 45] = "maneuver_goal";
10954
+ WaterpoloGameLogTypes[WaterpoloGameLogTypes["maneuver_on_goal"] = 46] = "maneuver_on_goal";
10955
+ WaterpoloGameLogTypes[WaterpoloGameLogTypes["maneuver_miss"] = 47] = "maneuver_miss";
10956
+ WaterpoloGameLogTypes[WaterpoloGameLogTypes["maneuver_save"] = 48] = "maneuver_save";
10957
+ WaterpoloGameLogTypes[WaterpoloGameLogTypes["center_forward_goal"] = 49] = "center_forward_goal";
10958
+ WaterpoloGameLogTypes[WaterpoloGameLogTypes["center_forward_on_goal"] = 50] = "center_forward_on_goal";
10959
+ WaterpoloGameLogTypes[WaterpoloGameLogTypes["center_forward_miss"] = 51] = "center_forward_miss";
10960
+ WaterpoloGameLogTypes[WaterpoloGameLogTypes["center_forward_save"] = 52] = "center_forward_save";
10961
+ WaterpoloGameLogTypes[WaterpoloGameLogTypes["free_kick_save"] = 53] = "free_kick_save";
10962
+ WaterpoloGameLogTypes[WaterpoloGameLogTypes["corner_save"] = 54] = "corner_save";
10963
+ WaterpoloGameLogTypes[WaterpoloGameLogTypes["tackle"] = 55] = "tackle";
10964
+ WaterpoloGameLogTypes[WaterpoloGameLogTypes["penalty_foul"] = 56] = "penalty_foul";
10965
+ WaterpoloGameLogTypes[WaterpoloGameLogTypes["attack_foul"] = 57] = "attack_foul";
10966
+ WaterpoloGameLogTypes[WaterpoloGameLogTypes["turnover"] = 58] = "turnover";
10839
10967
  })(exports.WaterpoloGameLogTypes || (exports.WaterpoloGameLogTypes = {}));
10840
10968
  exports.WaterpoloAdvantageTypes = void 0;
10841
10969
  (function (WaterpoloAdvantageTypes) {
@@ -10883,7 +11011,8 @@
10883
11011
  });
10884
11012
  WaterpoloGameLog.prototype.isScoreType = function () {
10885
11013
  return [exports.WaterpoloGameLogTypes.goal, exports.WaterpoloGameLogTypes.shootout_goal, exports.WaterpoloGameLogTypes.after_game_shootout_goal,
10886
- exports.WaterpoloGameLogTypes.free_kick_goal, exports.WaterpoloGameLogTypes.corner_goal].indexOf(this.logType) > -1;
11014
+ exports.WaterpoloGameLogTypes.free_kick_goal, exports.WaterpoloGameLogTypes.corner_goal,
11015
+ exports.WaterpoloGameLogTypes.counterattack_goal, exports.WaterpoloGameLogTypes.maneuver_goal, exports.WaterpoloGameLogTypes.center_forward_goal].indexOf(this.logType) > -1;
10887
11016
  };
10888
11017
  WaterpoloGameLog.prototype.isPenaltyType = function () {
10889
11018
  return [
@@ -10892,7 +11021,8 @@
10892
11021
  };
10893
11022
  WaterpoloGameLog.prototype.isFoulType = function () {
10894
11023
  return [
10895
- exports.WaterpoloGameLogTypes.minor_penalty, exports.WaterpoloGameLogTypes.major_penalty, exports.WaterpoloGameLogTypes.match_penalty, exports.WaterpoloGameLogTypes.personal_foul, exports.WaterpoloGameLogTypes.foul
11024
+ exports.WaterpoloGameLogTypes.minor_penalty, exports.WaterpoloGameLogTypes.major_penalty, exports.WaterpoloGameLogTypes.match_penalty,
11025
+ exports.WaterpoloGameLogTypes.personal_foul, exports.WaterpoloGameLogTypes.foul, exports.WaterpoloGameLogTypes.attack_foul
10896
11026
  ].indexOf(this.logType) > -1;
10897
11027
  };
10898
11028
  WaterpoloGameLog.prototype.isAfter = function (log) {
@@ -10955,27 +11085,154 @@
10955
11085
  enumerable: false,
10956
11086
  configurable: true
10957
11087
  });
10958
- Object.defineProperty(WaterpoloGameStatistic.prototype, "shotsOnGoal", {
11088
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "gameMinutes", {
10959
11089
  get: function () {
10960
- return (this.evShotsOnGoal || 0) + (this.ppShotsOnGoal || 0) + (this.shShotsOnGoal || 0) +
10961
- (this.evCornerOnGoals || 0) + (this.ppCornerOnGoals || 0) + (this.shCornerOnGoals || 0) +
10962
- (this.evFreeKickOnGoals || 0) + (this.ppFreeKickOnGoals || 0) + (this.shFreeKickOnGoals || 0);
11090
+ return Math.floor(this.gameTime / 60);
10963
11091
  },
10964
11092
  enumerable: false,
10965
11093
  configurable: true
10966
11094
  });
10967
- Object.defineProperty(WaterpoloGameStatistic.prototype, "shotsBlocked", {
11095
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "penaltyTime", {
10968
11096
  get: function () {
10969
- return (this.evShotsBlocked || 0) + (this.ppShotsBlocked || 0) + (this.shShotsBlocked || 0);
11097
+ if (!this.penaltyMinutes) {
11098
+ return '00:00';
11099
+ }
11100
+ var minutes = Math.floor(this.penaltyMinutes / 60);
11101
+ var seconds = Math.floor(this.penaltyMinutes - minutes * 60);
11102
+ return "" + (minutes < 10 ? 0 : '') + minutes + ":" + (seconds < 10 ? 0 : '') + seconds;
10970
11103
  },
10971
11104
  enumerable: false,
10972
11105
  configurable: true
10973
11106
  });
10974
- Object.defineProperty(WaterpoloGameStatistic.prototype, "shotMisses", {
11107
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "assists", {
11108
+ get: function () {
11109
+ return (this.ppAssists || 0) + (this.shAssists || 0) + (this.evAssists || 0);
11110
+ },
11111
+ enumerable: false,
11112
+ configurable: true
11113
+ });
11114
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "totalCounterAttackGoals", {
11115
+ get: function () {
11116
+ return (this.ppCounterAttackGoals || 0) + (this.evCounterAttackGoals || 0) + (this.shCounterAttackGoals || 0);
11117
+ },
11118
+ enumerable: false,
11119
+ configurable: true
11120
+ });
11121
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "ppCounterAttackShots", {
11122
+ get: function () {
11123
+ return (this.ppCounterAttackOnGoals || 0) + (this.ppCounterAttackMisses || 0);
11124
+ },
11125
+ enumerable: false,
11126
+ configurable: true
11127
+ });
11128
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "shCounterAttackShots", {
11129
+ get: function () {
11130
+ return (this.shCounterAttackOnGoals || 0) + (this.shCounterAttackMisses || 0);
11131
+ },
11132
+ enumerable: false,
11133
+ configurable: true
11134
+ });
11135
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "evCounterAttackShots", {
11136
+ get: function () {
11137
+ return (this.evCounterAttackOnGoals || 0) + (this.evCounterAttackMisses || 0);
11138
+ },
11139
+ enumerable: false,
11140
+ configurable: true
11141
+ });
11142
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "counterAttackShotMisses", {
11143
+ get: function () {
11144
+ return (this.ppCounterAttackMisses || 0) + (this.shCounterAttackMisses || 0) + (this.evCounterAttackMisses || 0);
11145
+ },
11146
+ enumerable: false,
11147
+ configurable: true
11148
+ });
11149
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "counterAttackShotOnGoals", {
11150
+ get: function () {
11151
+ return (this.ppCounterAttackOnGoals || 0) + (this.shCounterAttackOnGoals || 0) + (this.evCounterAttackOnGoals || 0);
11152
+ },
11153
+ enumerable: false,
11154
+ configurable: true
11155
+ });
11156
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "totalManeuverGoals", {
11157
+ get: function () {
11158
+ return (this.ppManeuverGoals || 0) + (this.shManeuverGoals || 0) + (this.evManeuverGoals || 0);
11159
+ },
11160
+ enumerable: false,
11161
+ configurable: true
11162
+ });
11163
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "ppManeuverShots", {
11164
+ get: function () {
11165
+ return (this.ppManeuverOnGoals || 0) + (this.ppManeuverMisses || 0);
11166
+ },
11167
+ enumerable: false,
11168
+ configurable: true
11169
+ });
11170
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "shManeuverShots", {
11171
+ get: function () {
11172
+ return (this.shManeuverOnGoals || 0) + (this.shManeuverMisses || 0);
11173
+ },
11174
+ enumerable: false,
11175
+ configurable: true
11176
+ });
11177
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "evManeuverShots", {
11178
+ get: function () {
11179
+ return (this.evManeuverOnGoals || 0) + (this.evManeuverMisses || 0);
11180
+ },
11181
+ enumerable: false,
11182
+ configurable: true
11183
+ });
11184
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "maneuverShotMisses", {
11185
+ get: function () {
11186
+ return (this.ppManeuverMisses || 0) + (this.shManeuverMisses || 0) + (this.evManeuverMisses || 0);
11187
+ },
11188
+ enumerable: false,
11189
+ configurable: true
11190
+ });
11191
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "maneuverShotOnGoals", {
10975
11192
  get: function () {
10976
- return (this.evShotMisses || 0) + (this.ppShotMisses || 0) + (this.shShotMisses || 0) +
10977
- (this.evCornerMisses || 0) + (this.ppCornerMisses || 0) + (this.shCornerMisses || 0) +
10978
- (this.evFreeKickMisses || 0) + (this.ppFreeKickMisses || 0) + (this.shFreeKickMisses || 0);
11193
+ return (this.ppManeuverOnGoals || 0) + (this.shManeuverOnGoals || 0) + (this.evManeuverOnGoals || 0);
11194
+ },
11195
+ enumerable: false,
11196
+ configurable: true
11197
+ });
11198
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "totalCenterForwardGoals", {
11199
+ get: function () {
11200
+ return (this.ppCenterForwardGoals || 0) + (this.shCenterForwardGoals || 0) + (this.evCenterForwardGoals || 0);
11201
+ },
11202
+ enumerable: false,
11203
+ configurable: true
11204
+ });
11205
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "ppCenterForwardShots", {
11206
+ get: function () {
11207
+ return (this.ppCenterForwardOnGoals || 0) + (this.ppCenterForwardMisses || 0);
11208
+ },
11209
+ enumerable: false,
11210
+ configurable: true
11211
+ });
11212
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "shCenterForwardShots", {
11213
+ get: function () {
11214
+ return (this.shCenterForwardOnGoals || 0) + (this.shCenterForwardMisses || 0);
11215
+ },
11216
+ enumerable: false,
11217
+ configurable: true
11218
+ });
11219
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "evCenterForwardShots", {
11220
+ get: function () {
11221
+ return (this.evCenterForwardOnGoals || 0) + (this.evCenterForwardMisses || 0);
11222
+ },
11223
+ enumerable: false,
11224
+ configurable: true
11225
+ });
11226
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "centerForwardShotMisses", {
11227
+ get: function () {
11228
+ return (this.ppCenterForwardMisses || 0) + (this.shCenterForwardMisses || 0) + (this.evCenterForwardMisses || 0);
11229
+ },
11230
+ enumerable: false,
11231
+ configurable: true
11232
+ });
11233
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "centerForwardShotOnGoals", {
11234
+ get: function () {
11235
+ return (this.ppCenterForwardOnGoals || 0) + (this.shCenterForwardOnGoals || 0) + (this.evCenterForwardOnGoals || 0);
10979
11236
  },
10980
11237
  enumerable: false,
10981
11238
  configurable: true
@@ -10983,8 +11240,9 @@
10983
11240
  Object.defineProperty(WaterpoloGameStatistic.prototype, "ppShots", {
10984
11241
  get: function () {
10985
11242
  return (this.ppShotMisses || 0) + (this.ppShotsOnGoal || 0) + (this.ppShotsBlocked || 0) +
11243
+ (this.ppFreeKickMisses || 0) + (this.ppFreeKickOnGoals || 0) +
10986
11244
  (this.ppCornerMisses || 0) + (this.ppCornerOnGoals || 0) +
10987
- (this.ppFreeKickMisses || 0) + (this.ppFreeKickOnGoals || 0);
11245
+ this.ppCounterAttackShots + this.ppManeuverShots + this.ppCenterForwardShots;
10988
11246
  },
10989
11247
  enumerable: false,
10990
11248
  configurable: true
@@ -10992,8 +11250,9 @@
10992
11250
  Object.defineProperty(WaterpoloGameStatistic.prototype, "evShots", {
10993
11251
  get: function () {
10994
11252
  return (this.evShotMisses || 0) + (this.evShotsOnGoal || 0) + (this.evShotsBlocked || 0) +
11253
+ (this.evFreeKickMisses || 0) + (this.evFreeKickOnGoals || 0) +
10995
11254
  (this.evCornerMisses || 0) + (this.evCornerOnGoals || 0) +
10996
- (this.evFreeKickMisses || 0) + (this.evFreeKickOnGoals || 0);
11255
+ this.evCounterAttackShots + this.evManeuverShots + this.evCenterForwardShots;
10997
11256
  },
10998
11257
  enumerable: false,
10999
11258
  configurable: true
@@ -11001,74 +11260,126 @@
11001
11260
  Object.defineProperty(WaterpoloGameStatistic.prototype, "shShots", {
11002
11261
  get: function () {
11003
11262
  return (this.shShotMisses || 0) + (this.shShotsOnGoal || 0) + (this.shShotsBlocked || 0) +
11263
+ (this.shFreeKickMisses || 0) + (this.shFreeKickOnGoals || 0) +
11004
11264
  (this.shCornerMisses || 0) + (this.shCornerOnGoals || 0) +
11005
- (this.shFreeKickMisses || 0) + (this.shFreeKickOnGoals || 0);
11265
+ this.shCounterAttackShots + this.shManeuverShots + this.shCenterForwardShots;
11006
11266
  },
11007
11267
  enumerable: false,
11008
11268
  configurable: true
11009
11269
  });
11010
- Object.defineProperty(WaterpoloGameStatistic.prototype, "shots", {
11270
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "totalShGoals", {
11011
11271
  get: function () {
11012
- return this.ppShots + this.evShots + this.shShots + (this.shootoutAttempts || 0);
11272
+ return (this.shGoals || 0) + (this.shFreeKickGoals || 0) + (this.shCornerGoals || 0) +
11273
+ (this.shCounterAttackGoals || 0) + (this.shManeuverGoals || 0) + (this.shCenterForwardGoals || 0);
11013
11274
  },
11014
11275
  enumerable: false,
11015
11276
  configurable: true
11016
11277
  });
11017
- Object.defineProperty(WaterpoloGameStatistic.prototype, "shotsOnGoalPercent", {
11278
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "totalEvGoals", {
11018
11279
  get: function () {
11019
- if (!this.shots || !this.shotsOnGoal) {
11020
- return 0;
11021
- }
11022
- return Math.round(1000 * this.shotsOnGoal / this.shots) / 10;
11280
+ return (this.evGoals || 0) + (this.evFreeKickGoals || 0) + (this.evCornerGoals || 0) +
11281
+ (this.evCounterAttackGoals || 0) + (this.evManeuverGoals || 0) + (this.evCenterForwardGoals || 0);
11023
11282
  },
11024
11283
  enumerable: false,
11025
11284
  configurable: true
11026
11285
  });
11027
- Object.defineProperty(WaterpoloGameStatistic.prototype, "totalShots", {
11286
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "totalPpGoals", {
11028
11287
  get: function () {
11029
- return this.shots + (this.shootoutAttempts || 0);
11288
+ return (this.ppGoals || 0) + (this.ppFreeKickGoals || 0) + (this.ppCornerGoals || 0) +
11289
+ (this.ppCounterAttackGoals || 0) + (this.ppManeuverGoals || 0) + (this.ppCenterForwardGoals || 0);
11030
11290
  },
11031
11291
  enumerable: false,
11032
11292
  configurable: true
11033
11293
  });
11034
- Object.defineProperty(WaterpoloGameStatistic.prototype, "totalShGoals", {
11294
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "goals", {
11035
11295
  get: function () {
11036
- return (this.shGoals || 0) + (this.shFreeKickGoals || 0) + (this.shCornerGoals || 0);
11296
+ return this.totalShGoals + this.totalEvGoals + this.totalPpGoals;
11037
11297
  },
11038
11298
  enumerable: false,
11039
11299
  configurable: true
11040
11300
  });
11041
- Object.defineProperty(WaterpoloGameStatistic.prototype, "totalEvGoals", {
11301
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "totalGoals", {
11042
11302
  get: function () {
11043
- return (this.evGoals || 0) + (this.evFreeKickGoals || 0) + (this.evCornerGoals || 0);
11303
+ return this.goals + (this.shootoutGoals || 0);
11044
11304
  },
11045
11305
  enumerable: false,
11046
11306
  configurable: true
11047
11307
  });
11048
- Object.defineProperty(WaterpoloGameStatistic.prototype, "totalPpGoals", {
11308
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "shootoutShots", {
11049
11309
  get: function () {
11050
- return (this.ppGoals || 0) + (this.ppFreeKickGoals || 0) + (this.ppCornerGoals || 0);
11310
+ return (this.shootoutGoals || 0) + (this.shootoutAttempts || 0);
11051
11311
  },
11052
11312
  enumerable: false,
11053
11313
  configurable: true
11054
11314
  });
11055
- Object.defineProperty(WaterpoloGameStatistic.prototype, "goals", {
11315
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "inGameShotMisses", {
11056
11316
  get: function () {
11057
- return this.totalEvGoals + this.totalPpGoals + this.totalShGoals;
11317
+ return (this.ppShotMisses || 0) + (this.evShotMisses || 0) + (this.shShotMisses || 0) +
11318
+ this.counterAttackShotMisses + this.maneuverShotMisses + this.centerForwardShotMisses;
11058
11319
  },
11059
11320
  enumerable: false,
11060
11321
  configurable: true
11061
11322
  });
11062
- Object.defineProperty(WaterpoloGameStatistic.prototype, "totalGoals", {
11323
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "shotMisses", {
11063
11324
  get: function () {
11064
- return this.goals + (this.shootoutGoals || 0);
11325
+ return (this.ppFreeKickMisses || 0) + (this.evFreeKickMisses || 0) + (this.shFreeKickMisses || 0) +
11326
+ (this.ppCornerMisses || 0) + (this.evCornerMisses || 0) + (this.shCornerMisses || 0) +
11327
+ this.inGameShotMisses;
11065
11328
  },
11066
11329
  enumerable: false,
11067
11330
  configurable: true
11068
11331
  });
11069
- Object.defineProperty(WaterpoloGameStatistic.prototype, "assists", {
11332
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "totalPpShotMisses", {
11070
11333
  get: function () {
11071
- return (this.ppAssists || 0) + (this.evAssists || 0) + (this.shAssists || 0);
11334
+ return (this.ppShotMisses || 0) + (this.ppFreeKickMisses || 0) + (this.ppCornerMisses || 0) +
11335
+ (this.ppCounterAttackMisses || 0) + (this.ppManeuverMisses || 0) + (this.ppCenterForwardMisses || 0);
11336
+ },
11337
+ enumerable: false,
11338
+ configurable: true
11339
+ });
11340
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "shotsOnGoal", {
11341
+ get: function () {
11342
+ return (this.ppShotsOnGoal || 0) + (this.evShotsOnGoal || 0) + (this.shShotsOnGoal || 0) +
11343
+ (this.ppFreeKickOnGoals || 0) + (this.evFreeKickOnGoals || 0) + (this.shFreeKickOnGoals || 0) +
11344
+ (this.ppCornerOnGoals || 0) + (this.evCornerOnGoals || 0) + (this.shCornerOnGoals || 0) +
11345
+ this.counterAttackShotOnGoals + this.maneuverShotOnGoals + this.centerForwardShotOnGoals;
11346
+ },
11347
+ enumerable: false,
11348
+ configurable: true
11349
+ });
11350
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "totalPpShotsOnGoal", {
11351
+ get: function () {
11352
+ return (this.ppShotsOnGoal || 0) + (this.ppFreeKickOnGoals || 0) + (this.ppCornerOnGoals || 0) +
11353
+ (this.ppCounterAttackOnGoals || 0) + (this.ppManeuverOnGoals || 0) + (this.ppCenterForwardOnGoals || 0);
11354
+ },
11355
+ enumerable: false,
11356
+ configurable: true
11357
+ });
11358
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "inGameShotsOnGoals", {
11359
+ get: function () {
11360
+ return (this.ppShotsOnGoal || 0) + (this.evShotsOnGoal || 0) + (this.shShotsOnGoal || 0) +
11361
+ this.counterAttackShotOnGoals + this.maneuverShotOnGoals + this.centerForwardShotOnGoals;
11362
+ },
11363
+ enumerable: false,
11364
+ configurable: true
11365
+ });
11366
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "shotsBlocked", {
11367
+ get: function () {
11368
+ return (this.ppShotsBlocked || 0) + (this.evShotsBlocked || 0) + (this.shShotsBlocked || 0);
11369
+ },
11370
+ enumerable: false,
11371
+ configurable: true
11372
+ });
11373
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "shots", {
11374
+ get: function () {
11375
+ return this.ppShots + this.evShots + this.shShots;
11376
+ },
11377
+ enumerable: false,
11378
+ configurable: true
11379
+ });
11380
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "totalShots", {
11381
+ get: function () {
11382
+ return this.shots + (this.shootoutAttempts || 0);
11072
11383
  },
11073
11384
  enumerable: false,
11074
11385
  configurable: true
@@ -11080,95 +11391,124 @@
11080
11391
  enumerable: false,
11081
11392
  configurable: true
11082
11393
  });
11083
- Object.defineProperty(WaterpoloGameStatistic.prototype, "shootOuts", {
11394
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "freeKickShotMisses", {
11084
11395
  get: function () {
11085
- return (this.shootoutAttempts || 0) + (this.shootoutGoals || 0);
11396
+ return (this.ppFreeKickMisses || 0) + (this.evFreeKickMisses || 0) + (this.shFreeKickMisses || 0);
11086
11397
  },
11087
11398
  enumerable: false,
11088
11399
  configurable: true
11089
11400
  });
11090
- Object.defineProperty(WaterpoloGameStatistic.prototype, "shotsAgainst", {
11401
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "freeKickOnGoals", {
11091
11402
  get: function () {
11092
- return (this.saves || 0) + (this.goalsAgainst || 0);
11403
+ return (this.ppFreeKickOnGoals || 0) + (this.evFreeKickOnGoals || 0) + (this.shFreeKickOnGoals || 0);
11093
11404
  },
11094
11405
  enumerable: false,
11095
11406
  configurable: true
11096
11407
  });
11097
- Object.defineProperty(WaterpoloGameStatistic.prototype, "shootoutShotsAgainst", {
11408
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "totalFreeKickGoals", {
11098
11409
  get: function () {
11099
- return (this.shootoutSaves || 0) + (this.shootoutGoalsAgainst || 0);
11410
+ return (this.ppFreeKickGoals || 0) + (this.shFreeKickGoals || 0) + (this.evFreeKickGoals || 0);
11100
11411
  },
11101
11412
  enumerable: false,
11102
11413
  configurable: true
11103
11414
  });
11104
- Object.defineProperty(WaterpoloGameStatistic.prototype, "totalShotsAgainst", {
11415
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "totalFreeKicks", {
11105
11416
  get: function () {
11106
- return this.shotsAgainst + this.shootoutShotsAgainst;
11417
+ return (this.freeKickSelfs || 0) + (this.freeKickPasses || 0) +
11418
+ this.freeKickShotMisses + this.freeKickOnGoals + this.totalFreeKickGoals;
11107
11419
  },
11108
11420
  enumerable: false,
11109
11421
  configurable: true
11110
11422
  });
11111
- Object.defineProperty(WaterpoloGameStatistic.prototype, "savesPercent", {
11423
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "totalCornerGoals", {
11112
11424
  get: function () {
11113
- if (!this.shotsAgainst || !this.saves) {
11114
- return 0;
11115
- }
11116
- return Math.round(1000 * this.saves / this.shotsAgainst) / 10;
11425
+ return (this.ppCornerGoals || 0) + (this.shCornerGoals || 0) + (this.evCornerGoals || 0);
11117
11426
  },
11118
11427
  enumerable: false,
11119
11428
  configurable: true
11120
11429
  });
11121
- Object.defineProperty(WaterpoloGameStatistic.prototype, "totalSaves", {
11430
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "totalCorners", {
11122
11431
  get: function () {
11123
- return (this.saves || 0) + (this.shootoutSaves || 0);
11432
+ return (this.cornerSelfs || 0) + (this.cornerPasses || 0) +
11433
+ (this.ppCornerOnGoals || 0) + (this.shCornerOnGoals || 0) + (this.evCornerOnGoals || 0) +
11434
+ (this.ppCornerMisses || 0) + (this.shCornerMisses || 0) + (this.evCornerMisses || 0) +
11435
+ this.totalCornerGoals;
11124
11436
  },
11125
11437
  enumerable: false,
11126
11438
  configurable: true
11127
11439
  });
11128
- Object.defineProperty(WaterpoloGameStatistic.prototype, "totalSavesPercent", {
11440
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "totalFouls", {
11129
11441
  get: function () {
11130
- if (!this.totalShotsAgainst || !this.totalSaves) {
11442
+ return (this.fouls || 0) + (this.penaltyFouls || 0) + (this.attackFouls || 0) + (this.personalFouls || 0);
11443
+ },
11444
+ enumerable: false,
11445
+ configurable: true
11446
+ });
11447
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "inGameGoals", {
11448
+ get: function () {
11449
+ return (this.shGoals || 0) + (this.evGoals || 0) + (this.ppGoals || 0);
11450
+ },
11451
+ enumerable: false,
11452
+ configurable: true
11453
+ });
11454
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "totalInGameGoals", {
11455
+ get: function () {
11456
+ return this.totalCenterForwardGoals + this.totalManeuverGoals + this.totalCounterAttackGoals + this.inGameGoals;
11457
+ },
11458
+ enumerable: false,
11459
+ configurable: true
11460
+ });
11461
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "ppGoalsPercent", {
11462
+ get: function () {
11463
+ if (!this.totalPpGoals || !this.ppShots) {
11131
11464
  return 0;
11132
11465
  }
11133
- return Math.round(1000 * this.totalSaves / this.totalShotsAgainst) / 10;
11466
+ return Math.round(1000 * this.totalPpGoals / this.ppShots) / 10;
11134
11467
  },
11135
11468
  enumerable: false,
11136
11469
  configurable: true
11137
11470
  });
11138
- Object.defineProperty(WaterpoloGameStatistic.prototype, "totalGoalsAgainst", {
11471
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "evGoalsPercent", {
11139
11472
  get: function () {
11140
- return (this.goalsAgainst || 0) + (this.shootoutGoalsAgainst || 0);
11473
+ if (!this.totalEvGoals || !this.evShots) {
11474
+ return 0;
11475
+ }
11476
+ return Math.round(1000 * this.totalEvGoals / this.evShots) / 10;
11141
11477
  },
11142
11478
  enumerable: false,
11143
11479
  configurable: true
11144
11480
  });
11145
- Object.defineProperty(WaterpoloGameStatistic.prototype, "totalFouls", {
11481
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "shGoalsPercent", {
11146
11482
  get: function () {
11147
- return (this.fouls || 0) + (this.personalFouls || 0);
11483
+ if (!this.totalShGoals || !this.shShots) {
11484
+ return 0;
11485
+ }
11486
+ return Math.round(1000 * this.totalShGoals / this.shShots) / 10;
11148
11487
  },
11149
11488
  enumerable: false,
11150
11489
  configurable: true
11151
11490
  });
11152
- Object.defineProperty(WaterpoloGameStatistic.prototype, "gameMinutes", {
11491
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "shotsOnGoalPercent", {
11153
11492
  get: function () {
11154
- return Math.floor(this.gameTime / 60);
11493
+ if (!this.shotsOnGoal || !this.shots) {
11494
+ return 0;
11495
+ }
11496
+ return Math.round(1000 * this.shotsOnGoal / this.shots) / 10;
11155
11497
  },
11156
11498
  enumerable: false,
11157
11499
  configurable: true
11158
11500
  });
11159
- Object.defineProperty(WaterpoloGameStatistic.prototype, "penaltyTime", {
11501
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "goalsPercent", {
11160
11502
  get: function () {
11161
- if (!this.penaltyMinutes) {
11162
- return '00:00';
11503
+ if (!this.goals || !this.shots) {
11504
+ return 0;
11163
11505
  }
11164
- var minutes = Math.floor(this.penaltyMinutes / 60);
11165
- var seconds = Math.floor(this.penaltyMinutes - minutes * 60);
11166
- return "" + (minutes < 10 ? 0 : '') + minutes + ":" + (seconds < 10 ? 0 : '') + seconds;
11506
+ return Math.round(1000 * this.goals / this.shots) / 10;
11167
11507
  },
11168
11508
  enumerable: false,
11169
11509
  configurable: true
11170
11510
  });
11171
- Object.defineProperty(WaterpoloGameStatistic.prototype, "goalsPercent", {
11511
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "totalGoalsPercent", {
11172
11512
  get: function () {
11173
11513
  if (!this.totalGoals || !this.totalShots) {
11174
11514
  return 0;
@@ -11188,6 +11528,16 @@
11188
11528
  enumerable: false,
11189
11529
  configurable: true
11190
11530
  });
11531
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "shootoutGoalsPercent", {
11532
+ get: function () {
11533
+ if (!this.shootoutGoals || !this.shootoutShots) {
11534
+ return 0;
11535
+ }
11536
+ return Math.round(1000 * this.shootoutGoals / this.shootoutShots) / 10;
11537
+ },
11538
+ enumerable: false,
11539
+ configurable: true
11540
+ });
11191
11541
  Object.defineProperty(WaterpoloGameStatistic.prototype, "goalpass", {
11192
11542
  get: function () {
11193
11543
  return (this.totalGoals || 0) + (this.assists || 0);
@@ -11195,22 +11545,149 @@
11195
11545
  enumerable: false,
11196
11546
  configurable: true
11197
11547
  });
11198
- Object.defineProperty(WaterpoloGameStatistic.prototype, "totalFreeKicks", {
11548
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "counterAttackSaves", {
11549
+ /*goalie stat */
11199
11550
  get: function () {
11200
- return (this.freeKickPasses || 0) + (this.freeKickSelfs || 0) +
11201
- (this.ppFreeKickGoals || 0) + (this.ppFreeKickOnGoals || 0) + (this.ppFreeKickMisses || 0) +
11202
- (this.evFreeKickGoals || 0) + (this.evFreeKickOnGoals || 0) + (this.evFreeKickMisses || 0) +
11203
- (this.shFreeKickGoals || 0) + (this.shFreeKickOnGoals || 0) + (this.shFreeKickMisses || 0);
11551
+ return (this.ppCounterAttackSaves || 0) + (this.shCounterAttackSaves || 0) + (this.evCounterAttackSaves || 0);
11204
11552
  },
11205
11553
  enumerable: false,
11206
11554
  configurable: true
11207
11555
  });
11208
- Object.defineProperty(WaterpoloGameStatistic.prototype, "totalCorners", {
11556
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "centerForwardSaves", {
11557
+ get: function () {
11558
+ return (this.ppCenterForwardSaves || 0) + (this.shCenterForwardSaves || 0) + (this.evCenterForwardSaves || 0);
11559
+ },
11560
+ enumerable: false,
11561
+ configurable: true
11562
+ });
11563
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "maneuverSaves", {
11209
11564
  get: function () {
11210
- return (this.cornerPasses || 0) + (this.cornerSelfs || 0) +
11211
- (this.ppCornerGoals || 0) + (this.ppCornerOnGoals || 0) + (this.ppCornerMisses || 0) +
11212
- (this.evCornerGoals || 0) + (this.evCornerOnGoals || 0) + (this.evCornerMisses || 0) +
11213
- (this.shCornerGoals || 0) + (this.shCornerOnGoals || 0) + (this.shCornerMisses || 0);
11565
+ return (this.ppManeuverSaves || 0) + (this.shManeuverSaves || 0) + (this.evManeuverSaves || 0);
11566
+ },
11567
+ enumerable: false,
11568
+ configurable: true
11569
+ });
11570
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "freeKickSaves", {
11571
+ get: function () {
11572
+ return (this.ppFreeKickSaves || 0) + (this.shFreeKickSaves || 0) + (this.evFreeKickSaves || 0);
11573
+ },
11574
+ enumerable: false,
11575
+ configurable: true
11576
+ });
11577
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "cornerSaves", {
11578
+ get: function () {
11579
+ return (this.ppCornerSaves || 0) + (this.shCornerSaves || 0) + (this.evCornerSaves || 0);
11580
+ },
11581
+ enumerable: false,
11582
+ configurable: true
11583
+ });
11584
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "totalShSaves", {
11585
+ get: function () {
11586
+ return (this.shCounterAttackSaves || 0) + (this.shManeuverSaves || 0) + (this.shCenterForwardSaves || 0) +
11587
+ (this.shSaves || 0) + (this.shFreeKickSaves || 0) + (this.shCornerSaves || 0);
11588
+ },
11589
+ enumerable: false,
11590
+ configurable: true
11591
+ });
11592
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "inGameSaves", {
11593
+ get: function () {
11594
+ return (this.shSaves || 0) + (this.evSaves || 0) + (this.ppSaves || 0) +
11595
+ this.counterAttackSaves + this.maneuverSaves + this.centerForwardSaves;
11596
+ },
11597
+ enumerable: false,
11598
+ configurable: true
11599
+ });
11600
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "saves", {
11601
+ get: function () {
11602
+ return this.inGameSaves + this.freeKickSaves + this.cornerSaves;
11603
+ },
11604
+ enumerable: false,
11605
+ configurable: true
11606
+ });
11607
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "totalSaves", {
11608
+ get: function () {
11609
+ return this.saves + (this.shootoutSaves || 0);
11610
+ },
11611
+ enumerable: false,
11612
+ configurable: true
11613
+ });
11614
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "totalShGoalsAgainst", {
11615
+ get: function () {
11616
+ return (this.shGoalsAgainst || 0) + (this.shFreeKickGoalsAgainst || 0) + (this.shCornerGoalsAgainst || 0) +
11617
+ (this.shCounterAttackGoalsAgainst || 0) + (this.shManeuverGoalsAgainst || 0) + (this.shCenterForwardGoalsAgainst || 0);
11618
+ },
11619
+ enumerable: false,
11620
+ configurable: true
11621
+ });
11622
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "inGameGoalsAgainst", {
11623
+ get: function () {
11624
+ return (this.goalsAgainst || 0) + (this.counterAttackGoalsAgainst || 0) + (this.maneuverGoalsAgainst || 0) +
11625
+ (this.centerForwardGoalsAgainst || 0);
11626
+ },
11627
+ enumerable: false,
11628
+ configurable: true
11629
+ });
11630
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "shootoutShotsAgainst", {
11631
+ get: function () {
11632
+ return (this.shootoutSaves || 0) + (this.shootoutGoalsAgainst || 0);
11633
+ },
11634
+ enumerable: false,
11635
+ configurable: true
11636
+ });
11637
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "gameGoalsAgainst", {
11638
+ get: function () {
11639
+ return this.inGameGoalsAgainst + (this.freeKickGoalsAgainst || 0) + (this.cornerGoalsAgainst || 0);
11640
+ },
11641
+ enumerable: false,
11642
+ configurable: true
11643
+ });
11644
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "totalGoalsAgainst", {
11645
+ get: function () {
11646
+ return this.gameGoalsAgainst + (this.shootoutGoalsAgainst || 0);
11647
+ },
11648
+ enumerable: false,
11649
+ configurable: true
11650
+ });
11651
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "gameShotsAgainst", {
11652
+ get: function () {
11653
+ return this.saves + this.gameGoalsAgainst;
11654
+ },
11655
+ enumerable: false,
11656
+ configurable: true
11657
+ });
11658
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "totalShotsAgainst", {
11659
+ get: function () {
11660
+ return this.gameShotsAgainst + this.shootoutShotsAgainst;
11661
+ },
11662
+ enumerable: false,
11663
+ configurable: true
11664
+ });
11665
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "shootoutSavesPercent", {
11666
+ get: function () {
11667
+ if (!this.shootoutSaves || !this.shootoutShotsAgainst) {
11668
+ return 0;
11669
+ }
11670
+ return Math.round(1000 * this.shootoutSaves / this.shootoutShotsAgainst) / 10;
11671
+ },
11672
+ enumerable: false,
11673
+ configurable: true
11674
+ });
11675
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "savesPercent", {
11676
+ get: function () {
11677
+ if (!this.saves || !this.gameShotsAgainst) {
11678
+ return 0;
11679
+ }
11680
+ return Math.round(1000 * this.saves / this.gameShotsAgainst) / 10;
11681
+ },
11682
+ enumerable: false,
11683
+ configurable: true
11684
+ });
11685
+ Object.defineProperty(WaterpoloGameStatistic.prototype, "totalSavesPercent", {
11686
+ get: function () {
11687
+ if (!this.totalSaves || !this.totalShotsAgainst) {
11688
+ return 0;
11689
+ }
11690
+ return Math.round(1000 * this.totalSaves / this.totalShotsAgainst) / 10;
11214
11691
  },
11215
11692
  enumerable: false,
11216
11693
  configurable: true
@@ -11240,9 +11717,39 @@
11240
11717
  sh_shot_misses: 'shShotMisses',
11241
11718
  sh_shots_on_goal: 'shShotsOnGoal',
11242
11719
  sh_shots_blocked: 'shShotsBlocked',
11720
+ pp_total_shots_on_goal: 'ppTotalShotsOnGoal',
11721
+ ev_total_shots_on_goal: 'evTotalShotsOnGoal',
11722
+ sh_total_shots_on_goal: 'shTotalShotsOnGoal',
11243
11723
  pp_goals: 'ppGoals',
11244
11724
  ev_goals: 'evGoals',
11245
11725
  sh_goals: 'shGoals',
11726
+ pp_counterattack_goals: 'ppCounterAttackGoals',
11727
+ pp_counterattack_on_goals: 'ppCounterAttackOnGoals',
11728
+ pp_counterattack_misses: 'ppCounterAttackMisses',
11729
+ ev_counterattack_goals: 'evCounterAttackGoals',
11730
+ ev_counterattack_on_goals: 'evCounterAttackOnGoals',
11731
+ ev_counterattack_misses: 'evCounterAttackMisses',
11732
+ sh_counterattack_goals: 'shCounterAttackGoals',
11733
+ sh_counterattack_on_goals: 'shCounterAttackOnGoals',
11734
+ sh_counterattack_misses: 'shCounterAttackMisses',
11735
+ pp_maneuver_goals: 'ppManeuverGoals',
11736
+ pp_maneuver_on_goals: 'ppManeuverOnGoals',
11737
+ pp_maneuver_misses: 'ppManeuverMisses',
11738
+ ev_maneuver_goals: 'evManeuverGoals',
11739
+ ev_maneuver_on_goals: 'evManeuverOnGoals',
11740
+ ev_maneuver_misses: 'evManeuverMisses',
11741
+ sh_maneuver_goals: 'shManeuverGoals',
11742
+ sh_maneuver_on_goals: 'shManeuverOnGoals',
11743
+ sh_maneuver_misses: 'shManeuverMisses',
11744
+ pp_center_forward_goals: 'ppCenterForwardGoals',
11745
+ pp_center_forward_on_goals: 'ppCenterForwardOnGoals',
11746
+ pp_center_forward_misses: 'ppCenterForwardMisses',
11747
+ ev_center_forward_goals: 'evCenterForwardGoals',
11748
+ ev_center_forward_on_goals: 'evCenterForwardOnGoals',
11749
+ ev_center_forward_misses: 'evCenterForwardMisses',
11750
+ sh_center_forward_goals: 'shCenterForwardGoals',
11751
+ sh_center_forward_on_goals: 'shCenterForwardOnGoals',
11752
+ sh_center_forward_misses: 'shCenterForwardMisses',
11246
11753
  pp_assists: 'ppAssists',
11247
11754
  ev_assists: 'evAssists',
11248
11755
  sh_assists: 'shAssists',
@@ -11253,23 +11760,73 @@
11253
11760
  block_shots: 'blockShots',
11254
11761
  face_off_losses: 'faceOffLosses',
11255
11762
  face_off_wins: 'faceOffWins',
11256
- saves: 'saves',
11257
- shootout_save: 'shootoutSaves',
11763
+ pp_saves: 'ppSaves',
11764
+ sh_saves: 'shSaves',
11765
+ ev_saves: 'evSaves',
11766
+ pp_counterattack_saves: 'ppCounterAttackSaves',
11767
+ sh_counterattack_saves: 'shCounterAttackSaves',
11768
+ ev_counterattack_saves: 'evCounterAttackSaves',
11769
+ pp_maneuver_saves: 'ppManeuverSaves',
11770
+ sh_maneuver_saves: 'shManeuverSaves',
11771
+ ev_maneuver_saves: 'evManeuverSaves',
11772
+ pp_center_forward_saves: 'ppCenterForwardSaves',
11773
+ sh_center_forward_saves: 'shCenterForwardSaves',
11774
+ ev_center_forward_saves: 'evCenterForwardSaves',
11775
+ pp_free_kick_saves: 'ppFreeKickSaves',
11776
+ sh_free_kick_saves: 'shFreeKickSaves',
11777
+ ev_free_kick_saves: 'evFreeKickSaves',
11778
+ pp_corner_saves: 'ppCornerSaves',
11779
+ sh_corner_saves: 'shCornerSaves',
11780
+ ev_corner_saves: 'evCornerSaves',
11781
+ pp_total_game_saves: 'ppTotalGameSaves',
11782
+ sh_total_game_saves: 'shTotalGameSaves',
11783
+ ev_total_game_saves: 'evTotalGameSaves',
11784
+ shootout_saves: 'shootoutSaves',
11258
11785
  after_game_shootout_saves: 'afterGameShootoutSaves',
11786
+ pp_goals_against: 'ppGoalsAgainst',
11787
+ sh_goals_against: 'shGoalsAgainst',
11788
+ ev_goals_against: 'evGoalsAgainst',
11259
11789
  goals_against: 'goalsAgainst',
11790
+ pp_counterattack_goals_against: 'ppCounterAttackGoalsAgainst',
11791
+ sh_counterattack_goals_against: 'shCounterAttackGoalsAgainst',
11792
+ ev_counterattack_goals_against: 'evCounterAttackGoalsAgainst',
11793
+ counterattack_goals_against: 'counterAttackGoalsAgainst',
11794
+ pp_maneuver_goals_against: 'ppManeuverGoalsAgainst',
11795
+ sh_maneuver_goals_against: 'shManeuverGoalsAgainst',
11796
+ ev_maneuver_goals_against: 'evManeuverGoalsAgainst',
11797
+ maneuver_goals_against: 'maneuverGoalsAgainst',
11798
+ pp_center_forward_goals_against: 'ppCenterForwardGoalsAgainst',
11799
+ sh_center_forward_goals_against: 'shCenterForwardGoalsAgainst',
11800
+ ev_center_forward_goals_against: 'evCenterForwardGoalsAgainst',
11801
+ center_forward_goals_against: 'centerForwardGoalsAgainst',
11802
+ pp_free_kick_goals_against: 'ppFreeKickGoalsAgainst',
11803
+ sh_free_kick_goals_against: 'shFreeKickGoalsAgainst',
11804
+ ev_free_kick_goals_against: 'evFreeKickGoalsAgainst',
11805
+ free_kick_goals_against: 'freeKickGoalsAgainst',
11806
+ pp_corner_goals_against: 'ppCornerGoalsAgainst',
11807
+ sh_corner_goals_against: 'shCornerGoalsAgainst',
11808
+ ev_corner_goals_against: 'evCornerGoalsAgainst',
11809
+ corner_goals_against: 'cornerGoalsAgainst',
11260
11810
  shootout_goals_against: 'shootoutGoalsAgainst',
11261
11811
  after_game_shootout_goals_against: 'afterGameShootoutGoalsAgainst',
11262
11812
  safety_rate: 'safetyRate',
11263
11813
  penalty_minutes: 'penaltyMinutes',
11264
11814
  game_time: 'gameTime',
11265
11815
  plus_minus: 'plusMinus',
11266
- yellow_cards: 'yellowCards',
11267
- red_cards: 'redCards',
11268
11816
  fouls: 'fouls',
11817
+ minor_penalties: 'minorPenalties',
11818
+ major_penalties: 'majorPenalties',
11819
+ match_penalties: 'matchPenalties',
11820
+ penalty_fouls: 'penaltyFouls',
11821
+ turnovers: 'turnovers',
11822
+ attack_fouls: 'attackFouls',
11269
11823
  personal_fouls: 'personalFouls',
11824
+ drawn_fouls: 'drawnFouls',
11825
+ drawn_turnovers: 'drawnTurnovers',
11826
+ yellow_cards: 'yellowCards',
11827
+ red_cards: 'redCards',
11270
11828
  losses: 'losses',
11271
11829
  steals: 'steals',
11272
- drawn_fouls: 'drawnFouls',
11273
11830
  pp_free_kick_goals: 'ppFreeKickGoals',
11274
11831
  pp_free_kick_on_goals: 'ppFreeKickOnGoals',
11275
11832
  pp_free_kick_misses: 'ppFreeKickMisses',
@@ -11291,7 +11848,9 @@
11291
11848
  ev_corner_on_goals: 'evCornerOnGoals',
11292
11849
  ev_corner_misses: 'evCornerMisses',
11293
11850
  corner_passes: 'cornerPasses',
11294
- corner_selfs: 'cornerSelfs'
11851
+ corner_selfs: 'cornerSelfs',
11852
+ tackles: 'tackles',
11853
+ player_efficiency: 'playerEfficiency'
11295
11854
  },
11296
11855
  relation: {
11297
11856
  updatedAt: DateTimeField,
@@ -11597,24 +12156,40 @@
11597
12156
  _a$a[exports.WaterpoloGameLogTypes.enter_game] = 'Выход на площадку',
11598
12157
  _a$a[exports.WaterpoloGameLogTypes.exit_game] = 'Ушел с площадки',
11599
12158
  _a$a[exports.WaterpoloGameLogTypes.shot_miss] = 'Бросок мимо',
12159
+ _a$a[exports.WaterpoloGameLogTypes.counterattack_miss] = 'Бросок мимо',
12160
+ _a$a[exports.WaterpoloGameLogTypes.maneuver_miss] = 'Бросок мимо',
12161
+ _a$a[exports.WaterpoloGameLogTypes.center_forward_miss] = 'Бросок мимо',
11600
12162
  _a$a[exports.WaterpoloGameLogTypes.shot_on_goal] = 'Бросок по воротам',
12163
+ _a$a[exports.WaterpoloGameLogTypes.counterattack_on_goal] = 'Бросок по воротам',
12164
+ _a$a[exports.WaterpoloGameLogTypes.maneuver_on_goal] = 'Бросок по воротам',
12165
+ _a$a[exports.WaterpoloGameLogTypes.center_forward_on_goal] = 'Бросок по воротам',
11601
12166
  _a$a[exports.WaterpoloGameLogTypes.shot_blocked] = 'Заблокированный бросок',
11602
12167
  _a$a[exports.WaterpoloGameLogTypes.goal] = 'Гол',
12168
+ _a$a[exports.WaterpoloGameLogTypes.maneuver_goal] = 'Гол',
12169
+ _a$a[exports.WaterpoloGameLogTypes.counterattack_goal] = 'Гол',
12170
+ _a$a[exports.WaterpoloGameLogTypes.center_forward_goal] = 'Гол',
11603
12171
  _a$a[exports.WaterpoloGameLogTypes.shootout_attempt] = 'Пенальти промах',
11604
12172
  _a$a[exports.WaterpoloGameLogTypes.shootout_goal] = 'Пенальти гол',
11605
12173
  _a$a[exports.WaterpoloGameLogTypes.after_game_shootout_attempt] = 'Пенальти промах',
11606
12174
  _a$a[exports.WaterpoloGameLogTypes.after_game_shootout_goal] = 'Пенальти гол',
11607
- _a$a[exports.WaterpoloGameLogTypes.assist] = 'Передача',
12175
+ _a$a[exports.WaterpoloGameLogTypes.assist] = 'Голевая передача',
11608
12176
  _a$a[exports.WaterpoloGameLogTypes.block_shot] = 'Блокировка броска',
11609
12177
  _a$a[exports.WaterpoloGameLogTypes.minor_penalty] = 'Удаление на 20 сек.',
11610
12178
  _a$a[exports.WaterpoloGameLogTypes.major_penalty] = 'Удаление + 4 мин. штраф',
11611
12179
  _a$a[exports.WaterpoloGameLogTypes.match_penalty] = 'Удаление до конца матча',
11612
12180
  _a$a[exports.WaterpoloGameLogTypes.foul] = 'Фол',
12181
+ _a$a[exports.WaterpoloGameLogTypes.penalty_foul] = 'Фол пенальти',
12182
+ _a$a[exports.WaterpoloGameLogTypes.attack_foul] = 'Фол в нападении',
11613
12183
  _a$a[exports.WaterpoloGameLogTypes.personal_foul] = 'Персональный фол',
11614
12184
  _a$a[exports.WaterpoloGameLogTypes.penalty_shot] = 'Штрафной бросок',
11615
12185
  _a$a[exports.WaterpoloGameLogTypes.face_off_lose] = 'Проигрыш в спринте',
11616
12186
  _a$a[exports.WaterpoloGameLogTypes.face_off_win] = 'Победа в спринте',
11617
12187
  _a$a[exports.WaterpoloGameLogTypes.save] = 'Отражен бросок',
12188
+ _a$a[exports.WaterpoloGameLogTypes.counterattack_save] = 'Отражен бросок',
12189
+ _a$a[exports.WaterpoloGameLogTypes.maneuver_save] = 'Отражен бросок',
12190
+ _a$a[exports.WaterpoloGameLogTypes.center_forward_save] = 'Отражен бросок',
12191
+ _a$a[exports.WaterpoloGameLogTypes.free_kick_save] = 'Отражен бросок',
12192
+ _a$a[exports.WaterpoloGameLogTypes.corner_save] = 'Отражен бросок',
11618
12193
  _a$a[exports.WaterpoloGameLogTypes.shootout_save] = 'Отражен бросок',
11619
12194
  _a$a[exports.WaterpoloGameLogTypes.after_game_shootout_save] = 'Отражен бросок',
11620
12195
  _a$a[exports.WaterpoloGameLogTypes.timeout] = 'Таймаут',
@@ -11622,8 +12197,10 @@
11622
12197
  _a$a[exports.WaterpoloGameLogTypes.penalty_end] = 'Конец штрафного времени',
11623
12198
  _a$a[exports.WaterpoloGameLogTypes.yellow_card] = 'Желтая карточка',
11624
12199
  _a$a[exports.WaterpoloGameLogTypes.red_card] = 'Красная карточка',
12200
+ _a$a[exports.WaterpoloGameLogTypes.turnover] = 'Переход владения',
11625
12201
  _a$a[exports.WaterpoloGameLogTypes.loss] = 'Потеря',
11626
12202
  _a$a[exports.WaterpoloGameLogTypes.steal] = 'Перехват',
12203
+ _a$a[exports.WaterpoloGameLogTypes.tackle] = 'Отбор',
11627
12204
  _a$a[exports.WaterpoloGameLogTypes.free_kick_goal] = 'Свободный удар - гол',
11628
12205
  _a$a[exports.WaterpoloGameLogTypes.free_kick_on_goal] = 'Свободный удар в створ',
11629
12206
  _a$a[exports.WaterpoloGameLogTypes.free_kick_miss] = 'Свободный удар мимо',