@mtgame/core 0.1.130 → 0.1.132
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.
- package/bundles/mtgame-core.umd.js +683 -117
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/esm2015/models/game-user.js +4 -1
- package/esm2015/models/waterpolo-game-log.js +23 -3
- package/esm2015/models/waterpolo-game-statistic.js +328 -79
- package/esm2015/models/waterpolo-statistic.js +145 -35
- package/fesm2015/mtgame-core.js +496 -114
- package/fesm2015/mtgame-core.js.map +1 -1
- package/models/game-user.d.ts +1 -0
- package/models/waterpolo-game-log.d.ts +19 -1
- package/models/waterpolo-game-statistic.d.ts +148 -21
- package/models/waterpolo-statistic.d.ts +141 -32
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
package/fesm2015/mtgame-core.js
CHANGED
|
@@ -2799,6 +2799,9 @@ BasketballGameLog = __decorate([
|
|
|
2799
2799
|
], BasketballGameLog);
|
|
2800
2800
|
|
|
2801
2801
|
let GameUser = class GameUser extends BaseModel {
|
|
2802
|
+
get gameUserNumber() {
|
|
2803
|
+
return this.number ? this.number : this.teamUser.number;
|
|
2804
|
+
}
|
|
2802
2805
|
static toFront(data) { }
|
|
2803
2806
|
static toBack(data) { }
|
|
2804
2807
|
};
|
|
@@ -4941,37 +4944,48 @@ WaterpoloStatistic = __decorate([
|
|
|
4941
4944
|
team_missed_sum: 'teamMissedSum',
|
|
4942
4945
|
tournament_points: 'tournamentPoints',
|
|
4943
4946
|
points: 'points',
|
|
4944
|
-
pp_shots: 'ppShots',
|
|
4945
4947
|
pp_shot_misses: 'ppShotMisses',
|
|
4946
4948
|
pp_shots_on_goal: 'ppShotsOnGoal',
|
|
4947
4949
|
pp_shots_blocked: 'ppShotsBlocked',
|
|
4948
|
-
ev_shots: 'evShots',
|
|
4949
4950
|
ev_shot_misses: 'evShotMisses',
|
|
4950
4951
|
ev_shots_on_goal: 'evShotsOnGoal',
|
|
4951
4952
|
ev_shots_blocked: 'evShotsBlocked',
|
|
4952
|
-
sh_shots: 'shShots',
|
|
4953
4953
|
sh_shot_misses: 'shShotMisses',
|
|
4954
4954
|
sh_shots_on_goal: 'shShotsOnGoal',
|
|
4955
4955
|
sh_shots_blocked: 'shShotsBlocked',
|
|
4956
|
-
|
|
4956
|
+
pp_total_shots_on_goal: 'ppTotalShotsOnGoal',
|
|
4957
|
+
ev_total_shots_on_goal: 'evTotalShotsOnGoal',
|
|
4958
|
+
sh_total_shots_on_goal: 'shTotalShotsOnGoal',
|
|
4957
4959
|
pp_goals: 'ppGoals',
|
|
4958
|
-
total_pp_goals: 'totalPpGoals',
|
|
4959
|
-
ev_goals_percent: 'evGoalsPercent',
|
|
4960
4960
|
ev_goals: 'evGoals',
|
|
4961
|
-
total_ev_goals: 'totalEvGoals',
|
|
4962
|
-
sh_goals_percent: 'shGoalsPercent',
|
|
4963
|
-
goals: 'goals',
|
|
4964
|
-
total_goals: 'totalGoals',
|
|
4965
4961
|
sh_goals: 'shGoals',
|
|
4966
|
-
|
|
4967
|
-
|
|
4968
|
-
|
|
4969
|
-
|
|
4970
|
-
|
|
4971
|
-
|
|
4972
|
-
|
|
4973
|
-
|
|
4974
|
-
|
|
4962
|
+
pp_counterattack_goals: 'ppCounterAttackGoals',
|
|
4963
|
+
pp_counterattack_on_goals: 'ppCounterAttackOnGoals',
|
|
4964
|
+
pp_counterattack_misses: 'ppCounterAttackMisses',
|
|
4965
|
+
ev_counterattack_goals: 'evCounterAttackGoals',
|
|
4966
|
+
ev_counterattack_on_goals: 'evCounterAttackOnGoals',
|
|
4967
|
+
ev_counterattack_misses: 'evCounterAttackMisses',
|
|
4968
|
+
sh_counterattack_goals: 'shCounterAttackGoals',
|
|
4969
|
+
sh_counterattack_on_goals: 'shCounterAttackOnGoals',
|
|
4970
|
+
sh_counterattack_misses: 'shCounterAttackMisses',
|
|
4971
|
+
pp_maneuver_goals: 'ppManeuverGoals',
|
|
4972
|
+
pp_maneuver_on_goals: 'ppManeuverOnGoals',
|
|
4973
|
+
pp_maneuver_misses: 'ppManeuverMisses',
|
|
4974
|
+
ev_maneuver_goals: 'evManeuverGoals',
|
|
4975
|
+
ev_maneuver_on_goals: 'evManeuverOnGoals',
|
|
4976
|
+
ev_maneuver_misses: 'evManeuverMisses',
|
|
4977
|
+
sh_maneuver_goals: 'shManeuverGoals',
|
|
4978
|
+
sh_maneuver_on_goals: 'shManeuverOnGoals',
|
|
4979
|
+
sh_maneuver_misses: 'shManeuverMisses',
|
|
4980
|
+
pp_center_forward_goals: 'ppCenterForwardGoals',
|
|
4981
|
+
pp_center_forward_on_goals: 'ppCenterForwardOnGoals',
|
|
4982
|
+
pp_center_forward_misses: 'ppCenterForwardMisses',
|
|
4983
|
+
ev_center_forward_goals: 'evCenterForwardGoals',
|
|
4984
|
+
ev_center_forward_on_goals: 'evCenterForwardOnGoals',
|
|
4985
|
+
ev_center_forward_misses: 'evCenterForwardMisses',
|
|
4986
|
+
sh_center_forward_goals: 'shCenterForwardGoals',
|
|
4987
|
+
sh_center_forward_on_goals: 'shCenterForwardOnGoals',
|
|
4988
|
+
sh_center_forward_misses: 'shCenterForwardMisses',
|
|
4975
4989
|
pp_assists: 'ppAssists',
|
|
4976
4990
|
ev_assists: 'evAssists',
|
|
4977
4991
|
sh_assists: 'shAssists',
|
|
@@ -4982,31 +4996,73 @@ WaterpoloStatistic = __decorate([
|
|
|
4982
4996
|
block_shots: 'blockShots',
|
|
4983
4997
|
face_off_losses: 'faceOffLosses',
|
|
4984
4998
|
face_off_wins: 'faceOffWins',
|
|
4985
|
-
|
|
4986
|
-
|
|
4987
|
-
|
|
4988
|
-
|
|
4999
|
+
pp_saves: 'ppSaves',
|
|
5000
|
+
sh_saves: 'shSaves',
|
|
5001
|
+
ev_saves: 'evSaves',
|
|
5002
|
+
pp_counterattack_saves: 'ppCounterAttackSaves',
|
|
5003
|
+
sh_counterattack_saves: 'shCounterAttackSaves',
|
|
5004
|
+
ev_counterattack_saves: 'evCounterAttackSaves',
|
|
5005
|
+
pp_maneuver_saves: 'ppManeuverSaves',
|
|
5006
|
+
sh_maneuver_saves: 'shManeuverSaves',
|
|
5007
|
+
ev_maneuver_saves: 'evManeuverSaves',
|
|
5008
|
+
pp_center_forward_saves: 'ppCenterForwardSaves',
|
|
5009
|
+
sh_center_forward_saves: 'shCenterForwardSaves',
|
|
5010
|
+
ev_center_forward_saves: 'evCenterForwardSaves',
|
|
5011
|
+
pp_free_kick_saves: 'ppFreeKickSaves',
|
|
5012
|
+
sh_free_kick_saves: 'shFreeKickSaves',
|
|
5013
|
+
ev_free_kick_saves: 'evFreeKickSaves',
|
|
5014
|
+
pp_corner_saves: 'ppCornerSaves',
|
|
5015
|
+
sh_corner_saves: 'shCornerSaves',
|
|
5016
|
+
ev_corner_saves: 'evCornerSaves',
|
|
5017
|
+
pp_total_game_saves: 'ppTotalGameSaves',
|
|
5018
|
+
sh_total_game_saves: 'shTotalGameSaves',
|
|
5019
|
+
ev_total_game_saves: 'evTotalGameSaves',
|
|
4989
5020
|
shootout_saves: 'shootoutSaves',
|
|
4990
|
-
|
|
4991
|
-
|
|
4992
|
-
|
|
4993
|
-
|
|
4994
|
-
total_saves_percent: 'totalSavesPercent',
|
|
5021
|
+
after_game_shootout_saves: 'afterGameShootoutSaves',
|
|
5022
|
+
pp_goals_against: 'ppGoalsAgainst',
|
|
5023
|
+
sh_goals_against: 'shGoalsAgainst',
|
|
5024
|
+
ev_goals_against: 'evGoalsAgainst',
|
|
4995
5025
|
goals_against: 'goalsAgainst',
|
|
5026
|
+
pp_counterattack_goals_against: 'ppCounterAttackGoalsAgainst',
|
|
5027
|
+
sh_counterattack_goals_against: 'shCounterAttackGoalsAgainst',
|
|
5028
|
+
ev_counterattack_goals_against: 'evCounterAttackGoalsAgainst',
|
|
5029
|
+
counterattack_goals_against: 'counterAttackGoalsAgainst',
|
|
5030
|
+
pp_maneuver_goals_against: 'ppManeuverGoalsAgainst',
|
|
5031
|
+
sh_maneuver_goals_against: 'shManeuverGoalsAgainst',
|
|
5032
|
+
ev_maneuver_goals_against: 'evManeuverGoalsAgainst',
|
|
5033
|
+
maneuver_goals_against: 'maneuverGoalsAgainst',
|
|
5034
|
+
pp_center_forward_goals_against: 'ppCenterForwardGoalsAgainst',
|
|
5035
|
+
sh_center_forward_goals_against: 'shCenterForwardGoalsAgainst',
|
|
5036
|
+
ev_center_forward_goals_against: 'evCenterForwardGoalsAgainst',
|
|
5037
|
+
center_forward_goals_against: 'centerForwardGoalsAgainst',
|
|
5038
|
+
pp_free_kick_goals_against: 'ppFreeKickGoalsAgainst',
|
|
5039
|
+
sh_free_kick_goals_against: 'shFreeKickGoalsAgainst',
|
|
5040
|
+
ev_free_kick_goals_against: 'evFreeKickGoalsAgainst',
|
|
5041
|
+
free_kick_goals_against: 'freeKickGoalsAgainst',
|
|
5042
|
+
pp_corner_goals_against: 'ppCornerGoalsAgainst',
|
|
5043
|
+
sh_corner_goals_against: 'shCornerGoalsAgainst',
|
|
5044
|
+
ev_corner_goals_against: 'evCornerGoalsAgainst',
|
|
5045
|
+
corner_goals_against: 'cornerGoalsAgainst',
|
|
4996
5046
|
shootout_goals_against: 'shootoutGoalsAgainst',
|
|
4997
|
-
|
|
5047
|
+
after_game_shootout_goals_against: 'afterGameShootoutGoalsAgainst',
|
|
4998
5048
|
safety_rate: 'safetyRate',
|
|
4999
5049
|
penalty_minutes: 'penaltyMinutes',
|
|
5000
5050
|
game_time: 'gameTime',
|
|
5001
5051
|
plus_minus: 'plusMinus',
|
|
5002
|
-
yellow_cards: 'yellowCards',
|
|
5003
|
-
red_cards: 'redCards',
|
|
5004
5052
|
fouls: 'fouls',
|
|
5053
|
+
minor_penalties: 'minorPenalties',
|
|
5054
|
+
major_penalties: 'majorPenalties',
|
|
5055
|
+
match_penalties: 'matchPenalties',
|
|
5056
|
+
penalty_fouls: 'penaltyFouls',
|
|
5057
|
+
turnovers: 'turnovers',
|
|
5058
|
+
attack_fouls: 'attackFouls',
|
|
5005
5059
|
personal_fouls: 'personalFouls',
|
|
5006
|
-
|
|
5060
|
+
drawn_fouls: 'drawnFouls',
|
|
5061
|
+
drawn_turnovers: 'drawnTurnovers',
|
|
5062
|
+
yellow_cards: 'yellowCards',
|
|
5063
|
+
red_cards: 'redCards',
|
|
5007
5064
|
losses: 'losses',
|
|
5008
5065
|
steals: 'steals',
|
|
5009
|
-
drawn_fouls: 'drawnFouls',
|
|
5010
5066
|
pp_free_kick_goals: 'ppFreeKickGoals',
|
|
5011
5067
|
pp_free_kick_on_goals: 'ppFreeKickOnGoals',
|
|
5012
5068
|
pp_free_kick_misses: 'ppFreeKickMisses',
|
|
@@ -5029,8 +5085,65 @@ WaterpoloStatistic = __decorate([
|
|
|
5029
5085
|
ev_corner_misses: 'evCornerMisses',
|
|
5030
5086
|
corner_passes: 'cornerPasses',
|
|
5031
5087
|
corner_selfs: 'cornerSelfs',
|
|
5032
|
-
|
|
5088
|
+
tackles: 'tackles',
|
|
5089
|
+
player_efficiency: 'playerEfficiency',
|
|
5090
|
+
pp_shots: 'ppShots',
|
|
5091
|
+
ev_shots: 'evShots',
|
|
5092
|
+
sh_shots: 'shShots',
|
|
5093
|
+
pp_goals_percent: 'ppGoalsPercent',
|
|
5094
|
+
sh_goals_percent: 'shGoalsPercent',
|
|
5095
|
+
ev_goals_percent: 'evGoalsPercent',
|
|
5096
|
+
total_pp_goals: 'totalPpGoals',
|
|
5097
|
+
total_sh_goals: 'totalShGoals',
|
|
5098
|
+
total_ev_goals: 'totalEvGoals',
|
|
5099
|
+
goals: 'goals',
|
|
5100
|
+
total_goals: 'totalGoals',
|
|
5101
|
+
total_counterattack_goals: 'totalCounterAttackGoals',
|
|
5102
|
+
total_maneuver_goals: 'totalManeuverGoals',
|
|
5103
|
+
total_center_forward_goals: 'totalCenterForwardGoals',
|
|
5104
|
+
total_in_game_goals: 'totalInGameGoals',
|
|
5105
|
+
in_game_shot_misses: 'inGameShotMisses',
|
|
5106
|
+
counterattack_shot_misses: 'counterAttackShotMisses',
|
|
5107
|
+
center_forward_shot_misses: 'centerForwardShotMisses',
|
|
5108
|
+
total_pp_shot_misses: 'totalPpShotMisses',
|
|
5109
|
+
free_kick_shot_misses: 'freeKickShotMisses',
|
|
5110
|
+
shot_misses: 'shotMisses',
|
|
5111
|
+
total_pp_shots_on_goal: 'totalPpShotsOnGoal',
|
|
5112
|
+
counterattack_shot_on_goals: 'counterAttackShotOnGoals',
|
|
5113
|
+
center_forward_shot_on_goals: 'centerForwardShotOnGoals',
|
|
5114
|
+
free_kick_on_goals: 'freeKickOnGoals',
|
|
5115
|
+
in_game_shots_on_goals: 'inGameShotsOnGoals',
|
|
5116
|
+
shots_on_goal: 'shotsOnGoal',
|
|
5117
|
+
shots_blocked: 'shotsBlocked',
|
|
5118
|
+
shots: 'shots',
|
|
5119
|
+
shots_on_goal_percent: 'shotsOnGoalPercent',
|
|
5120
|
+
total_shots: 'totalShots',
|
|
5121
|
+
goals_percent: 'goalsPercent',
|
|
5122
|
+
total_goals_percent: 'totalGoalsPercent',
|
|
5123
|
+
face_offs: 'faceOffs',
|
|
5124
|
+
face_off_percent: 'faceOffPercent',
|
|
5125
|
+
total_free_kick_goals: 'totalFreeKickGoals',
|
|
5033
5126
|
total_free_kicks: 'totalFreeKicks',
|
|
5127
|
+
total_corner_goals: 'totalCornerGoals',
|
|
5128
|
+
total_corners: 'totalCorners',
|
|
5129
|
+
total_fouls: 'totalFouls',
|
|
5130
|
+
shootout_shots: 'shootoutShots',
|
|
5131
|
+
shootout_goals_percent: 'shootoutGoalsPercent',
|
|
5132
|
+
/*goalie stat*/
|
|
5133
|
+
counterattack_saves: 'counterAttackSaves',
|
|
5134
|
+
center_forward_saves: 'centerForwardSaves',
|
|
5135
|
+
free_kick_saves: 'freeKickSaves',
|
|
5136
|
+
in_game_saves: 'inGameSaves',
|
|
5137
|
+
total_sh_saves: 'totalShSaves',
|
|
5138
|
+
saves: 'saves',
|
|
5139
|
+
total_saves: 'totalSaves',
|
|
5140
|
+
shootout_shots_against: 'shootoutShotsAgainst',
|
|
5141
|
+
shootout_saves_percent: 'shootoutSavesPercent',
|
|
5142
|
+
game_shots_against: 'gameShotsAgainst',
|
|
5143
|
+
saves_percent: 'savesPercent',
|
|
5144
|
+
total_shots_against: 'totalShotsAgainst',
|
|
5145
|
+
total_saves_percent: 'totalSavesPercent',
|
|
5146
|
+
total_sh_goals_against: 'totalShGoalsAgainst',
|
|
5034
5147
|
newbie: 'newbie',
|
|
5035
5148
|
rank: 'rank',
|
|
5036
5149
|
},
|
|
@@ -8516,6 +8629,24 @@ var WaterpoloGameLogTypes;
|
|
|
8516
8629
|
WaterpoloGameLogTypes[WaterpoloGameLogTypes["corner_pass"] = 38] = "corner_pass";
|
|
8517
8630
|
WaterpoloGameLogTypes[WaterpoloGameLogTypes["corner_self"] = 39] = "corner_self";
|
|
8518
8631
|
WaterpoloGameLogTypes[WaterpoloGameLogTypes["personal_foul"] = 40] = "personal_foul";
|
|
8632
|
+
WaterpoloGameLogTypes[WaterpoloGameLogTypes["counterattack_goal"] = 41] = "counterattack_goal";
|
|
8633
|
+
WaterpoloGameLogTypes[WaterpoloGameLogTypes["counterattack_on_goal"] = 42] = "counterattack_on_goal";
|
|
8634
|
+
WaterpoloGameLogTypes[WaterpoloGameLogTypes["counterattack_miss"] = 43] = "counterattack_miss";
|
|
8635
|
+
WaterpoloGameLogTypes[WaterpoloGameLogTypes["counterattack_save"] = 44] = "counterattack_save";
|
|
8636
|
+
WaterpoloGameLogTypes[WaterpoloGameLogTypes["maneuver_goal"] = 45] = "maneuver_goal";
|
|
8637
|
+
WaterpoloGameLogTypes[WaterpoloGameLogTypes["maneuver_on_goal"] = 46] = "maneuver_on_goal";
|
|
8638
|
+
WaterpoloGameLogTypes[WaterpoloGameLogTypes["maneuver_miss"] = 47] = "maneuver_miss";
|
|
8639
|
+
WaterpoloGameLogTypes[WaterpoloGameLogTypes["maneuver_save"] = 48] = "maneuver_save";
|
|
8640
|
+
WaterpoloGameLogTypes[WaterpoloGameLogTypes["center_forward_goal"] = 49] = "center_forward_goal";
|
|
8641
|
+
WaterpoloGameLogTypes[WaterpoloGameLogTypes["center_forward_on_goal"] = 50] = "center_forward_on_goal";
|
|
8642
|
+
WaterpoloGameLogTypes[WaterpoloGameLogTypes["center_forward_miss"] = 51] = "center_forward_miss";
|
|
8643
|
+
WaterpoloGameLogTypes[WaterpoloGameLogTypes["center_forward_save"] = 52] = "center_forward_save";
|
|
8644
|
+
WaterpoloGameLogTypes[WaterpoloGameLogTypes["free_kick_save"] = 53] = "free_kick_save";
|
|
8645
|
+
WaterpoloGameLogTypes[WaterpoloGameLogTypes["corner_save"] = 54] = "corner_save";
|
|
8646
|
+
WaterpoloGameLogTypes[WaterpoloGameLogTypes["tackle"] = 55] = "tackle";
|
|
8647
|
+
WaterpoloGameLogTypes[WaterpoloGameLogTypes["penalty_foul"] = 56] = "penalty_foul";
|
|
8648
|
+
WaterpoloGameLogTypes[WaterpoloGameLogTypes["attack_foul"] = 57] = "attack_foul";
|
|
8649
|
+
WaterpoloGameLogTypes[WaterpoloGameLogTypes["turnover"] = 58] = "turnover";
|
|
8519
8650
|
})(WaterpoloGameLogTypes || (WaterpoloGameLogTypes = {}));
|
|
8520
8651
|
var WaterpoloAdvantageTypes;
|
|
8521
8652
|
(function (WaterpoloAdvantageTypes) {
|
|
@@ -8553,7 +8684,8 @@ let WaterpoloGameLog = class WaterpoloGameLog extends BaseModel {
|
|
|
8553
8684
|
}
|
|
8554
8685
|
isScoreType() {
|
|
8555
8686
|
return [WaterpoloGameLogTypes.goal, WaterpoloGameLogTypes.shootout_goal, WaterpoloGameLogTypes.after_game_shootout_goal,
|
|
8556
|
-
WaterpoloGameLogTypes.free_kick_goal, WaterpoloGameLogTypes.corner_goal
|
|
8687
|
+
WaterpoloGameLogTypes.free_kick_goal, WaterpoloGameLogTypes.corner_goal,
|
|
8688
|
+
WaterpoloGameLogTypes.counterattack_goal, WaterpoloGameLogTypes.maneuver_goal, WaterpoloGameLogTypes.center_forward_goal].indexOf(this.logType) > -1;
|
|
8557
8689
|
}
|
|
8558
8690
|
isPenaltyType() {
|
|
8559
8691
|
return [
|
|
@@ -8562,7 +8694,8 @@ let WaterpoloGameLog = class WaterpoloGameLog extends BaseModel {
|
|
|
8562
8694
|
}
|
|
8563
8695
|
isFoulType() {
|
|
8564
8696
|
return [
|
|
8565
|
-
WaterpoloGameLogTypes.minor_penalty, WaterpoloGameLogTypes.major_penalty, WaterpoloGameLogTypes.match_penalty,
|
|
8697
|
+
WaterpoloGameLogTypes.minor_penalty, WaterpoloGameLogTypes.major_penalty, WaterpoloGameLogTypes.match_penalty,
|
|
8698
|
+
WaterpoloGameLogTypes.personal_foul, WaterpoloGameLogTypes.foul, WaterpoloGameLogTypes.attack_foul
|
|
8566
8699
|
].indexOf(this.logType) > -1;
|
|
8567
8700
|
}
|
|
8568
8701
|
isAfter(log) {
|
|
@@ -8616,112 +8749,214 @@ let WaterpoloGameStatistic = class WaterpoloGameStatistic extends BaseModel {
|
|
|
8616
8749
|
get id() {
|
|
8617
8750
|
return this.gameUserId;
|
|
8618
8751
|
}
|
|
8619
|
-
get
|
|
8620
|
-
return
|
|
8621
|
-
(this.evCornerOnGoals || 0) + (this.ppCornerOnGoals || 0) + (this.shCornerOnGoals || 0) +
|
|
8622
|
-
(this.evFreeKickOnGoals || 0) + (this.ppFreeKickOnGoals || 0) + (this.shFreeKickOnGoals || 0);
|
|
8752
|
+
get gameMinutes() {
|
|
8753
|
+
return Math.floor(this.gameTime / 60);
|
|
8623
8754
|
}
|
|
8624
|
-
get
|
|
8625
|
-
|
|
8755
|
+
get penaltyTime() {
|
|
8756
|
+
if (!this.penaltyMinutes) {
|
|
8757
|
+
return '00:00';
|
|
8758
|
+
}
|
|
8759
|
+
const minutes = Math.floor(this.penaltyMinutes / 60);
|
|
8760
|
+
const seconds = Math.floor(this.penaltyMinutes - minutes * 60);
|
|
8761
|
+
return `${minutes < 10 ? 0 : ''}${minutes}:${seconds < 10 ? 0 : ''}${seconds}`;
|
|
8626
8762
|
}
|
|
8627
|
-
get
|
|
8628
|
-
return (this.
|
|
8629
|
-
|
|
8630
|
-
|
|
8763
|
+
get assists() {
|
|
8764
|
+
return (this.ppAssists || 0) + (this.shAssists || 0) + (this.evAssists || 0);
|
|
8765
|
+
}
|
|
8766
|
+
get totalCounterAttackGoals() {
|
|
8767
|
+
return (this.ppCounterAttackGoals || 0) + (this.evCounterAttackGoals || 0) + (this.shCounterAttackGoals || 0);
|
|
8768
|
+
}
|
|
8769
|
+
get ppCounterAttackShots() {
|
|
8770
|
+
return (this.ppCounterAttackOnGoals || 0) + (this.ppCounterAttackMisses || 0);
|
|
8771
|
+
}
|
|
8772
|
+
get shCounterAttackShots() {
|
|
8773
|
+
return (this.shCounterAttackOnGoals || 0) + (this.shCounterAttackMisses || 0);
|
|
8774
|
+
}
|
|
8775
|
+
get evCounterAttackShots() {
|
|
8776
|
+
return (this.evCounterAttackOnGoals || 0) + (this.evCounterAttackMisses || 0);
|
|
8777
|
+
}
|
|
8778
|
+
get counterAttackShotMisses() {
|
|
8779
|
+
return (this.ppCounterAttackMisses || 0) + (this.shCounterAttackMisses || 0) + (this.evCounterAttackMisses || 0);
|
|
8780
|
+
}
|
|
8781
|
+
get counterAttackShotOnGoals() {
|
|
8782
|
+
return (this.ppCounterAttackOnGoals || 0) + (this.shCounterAttackOnGoals || 0) + (this.evCounterAttackOnGoals || 0);
|
|
8783
|
+
}
|
|
8784
|
+
get totalManeuverGoals() {
|
|
8785
|
+
return (this.ppManeuverGoals || 0) + (this.shManeuverGoals || 0) + (this.evManeuverGoals || 0);
|
|
8786
|
+
}
|
|
8787
|
+
get ppManeuverShots() {
|
|
8788
|
+
return (this.ppManeuverOnGoals || 0) + (this.ppManeuverMisses || 0);
|
|
8789
|
+
}
|
|
8790
|
+
get shManeuverShots() {
|
|
8791
|
+
return (this.shManeuverOnGoals || 0) + (this.shManeuverMisses || 0);
|
|
8792
|
+
}
|
|
8793
|
+
get evManeuverShots() {
|
|
8794
|
+
return (this.evManeuverOnGoals || 0) + (this.evManeuverMisses || 0);
|
|
8795
|
+
}
|
|
8796
|
+
get maneuverShotMisses() {
|
|
8797
|
+
return (this.ppManeuverMisses || 0) + (this.shManeuverMisses || 0) + (this.evManeuverMisses || 0);
|
|
8798
|
+
}
|
|
8799
|
+
get maneuverShotOnGoals() {
|
|
8800
|
+
return (this.ppManeuverOnGoals || 0) + (this.shManeuverOnGoals || 0) + (this.evManeuverOnGoals || 0);
|
|
8801
|
+
}
|
|
8802
|
+
get totalCenterForwardGoals() {
|
|
8803
|
+
return (this.ppCenterForwardGoals || 0) + (this.shCenterForwardGoals || 0) + (this.evCenterForwardGoals || 0);
|
|
8804
|
+
}
|
|
8805
|
+
get ppCenterForwardShots() {
|
|
8806
|
+
return (this.ppCenterForwardOnGoals || 0) + (this.ppCenterForwardMisses || 0);
|
|
8807
|
+
}
|
|
8808
|
+
get shCenterForwardShots() {
|
|
8809
|
+
return (this.shCenterForwardOnGoals || 0) + (this.shCenterForwardMisses || 0);
|
|
8810
|
+
}
|
|
8811
|
+
get evCenterForwardShots() {
|
|
8812
|
+
return (this.evCenterForwardOnGoals || 0) + (this.evCenterForwardMisses || 0);
|
|
8813
|
+
}
|
|
8814
|
+
get centerForwardShotMisses() {
|
|
8815
|
+
return (this.ppCenterForwardMisses || 0) + (this.shCenterForwardMisses || 0) + (this.evCenterForwardMisses || 0);
|
|
8816
|
+
}
|
|
8817
|
+
get centerForwardShotOnGoals() {
|
|
8818
|
+
return (this.ppCenterForwardOnGoals || 0) + (this.shCenterForwardOnGoals || 0) + (this.evCenterForwardOnGoals || 0);
|
|
8631
8819
|
}
|
|
8632
8820
|
get ppShots() {
|
|
8633
8821
|
return (this.ppShotMisses || 0) + (this.ppShotsOnGoal || 0) + (this.ppShotsBlocked || 0) +
|
|
8822
|
+
(this.ppFreeKickMisses || 0) + (this.ppFreeKickOnGoals || 0) +
|
|
8634
8823
|
(this.ppCornerMisses || 0) + (this.ppCornerOnGoals || 0) +
|
|
8635
|
-
|
|
8824
|
+
this.ppCounterAttackShots + this.ppManeuverShots + this.ppCenterForwardShots;
|
|
8636
8825
|
}
|
|
8637
8826
|
get evShots() {
|
|
8638
8827
|
return (this.evShotMisses || 0) + (this.evShotsOnGoal || 0) + (this.evShotsBlocked || 0) +
|
|
8828
|
+
(this.evFreeKickMisses || 0) + (this.evFreeKickOnGoals || 0) +
|
|
8639
8829
|
(this.evCornerMisses || 0) + (this.evCornerOnGoals || 0) +
|
|
8640
|
-
|
|
8830
|
+
this.evCounterAttackShots + this.evManeuverShots + this.evCenterForwardShots;
|
|
8641
8831
|
}
|
|
8642
8832
|
get shShots() {
|
|
8643
8833
|
return (this.shShotMisses || 0) + (this.shShotsOnGoal || 0) + (this.shShotsBlocked || 0) +
|
|
8834
|
+
(this.shFreeKickMisses || 0) + (this.shFreeKickOnGoals || 0) +
|
|
8644
8835
|
(this.shCornerMisses || 0) + (this.shCornerOnGoals || 0) +
|
|
8645
|
-
|
|
8646
|
-
}
|
|
8647
|
-
get shots() {
|
|
8648
|
-
return this.ppShots + this.evShots + this.shShots + (this.shootoutAttempts || 0);
|
|
8649
|
-
}
|
|
8650
|
-
get shotsOnGoalPercent() {
|
|
8651
|
-
if (!this.shots || !this.shotsOnGoal) {
|
|
8652
|
-
return 0;
|
|
8653
|
-
}
|
|
8654
|
-
return Math.round(1000 * this.shotsOnGoal / this.shots) / 10;
|
|
8655
|
-
}
|
|
8656
|
-
get totalShots() {
|
|
8657
|
-
return this.shots + (this.shootoutAttempts || 0);
|
|
8836
|
+
this.shCounterAttackShots + this.shManeuverShots + this.shCenterForwardShots;
|
|
8658
8837
|
}
|
|
8659
8838
|
get totalShGoals() {
|
|
8660
|
-
return (this.shGoals || 0) + (this.shFreeKickGoals || 0) + (this.shCornerGoals || 0)
|
|
8839
|
+
return (this.shGoals || 0) + (this.shFreeKickGoals || 0) + (this.shCornerGoals || 0) +
|
|
8840
|
+
(this.shCounterAttackGoals || 0) + (this.shManeuverGoals || 0) + (this.shCenterForwardGoals || 0);
|
|
8661
8841
|
}
|
|
8662
8842
|
get totalEvGoals() {
|
|
8663
|
-
return (this.evGoals || 0) + (this.evFreeKickGoals || 0) + (this.evCornerGoals || 0)
|
|
8843
|
+
return (this.evGoals || 0) + (this.evFreeKickGoals || 0) + (this.evCornerGoals || 0) +
|
|
8844
|
+
(this.evCounterAttackGoals || 0) + (this.evManeuverGoals || 0) + (this.evCenterForwardGoals || 0);
|
|
8664
8845
|
}
|
|
8665
8846
|
get totalPpGoals() {
|
|
8666
|
-
return (this.ppGoals || 0) + (this.ppFreeKickGoals || 0) + (this.ppCornerGoals || 0)
|
|
8847
|
+
return (this.ppGoals || 0) + (this.ppFreeKickGoals || 0) + (this.ppCornerGoals || 0) +
|
|
8848
|
+
(this.ppCounterAttackGoals || 0) + (this.ppManeuverGoals || 0) + (this.ppCenterForwardGoals || 0);
|
|
8667
8849
|
}
|
|
8668
8850
|
get goals() {
|
|
8669
|
-
return this.
|
|
8851
|
+
return this.totalShGoals + this.totalEvGoals + this.totalPpGoals;
|
|
8670
8852
|
}
|
|
8671
8853
|
get totalGoals() {
|
|
8672
8854
|
return this.goals + (this.shootoutGoals || 0);
|
|
8673
8855
|
}
|
|
8674
|
-
get
|
|
8675
|
-
return (this.
|
|
8856
|
+
get shootoutShots() {
|
|
8857
|
+
return (this.shootoutGoals || 0) + (this.shootoutAttempts || 0);
|
|
8858
|
+
}
|
|
8859
|
+
get inGameShotMisses() {
|
|
8860
|
+
return (this.ppShotMisses || 0) + (this.evShotMisses || 0) + (this.shShotMisses || 0) +
|
|
8861
|
+
this.counterAttackShotMisses + this.maneuverShotMisses + this.centerForwardShotMisses;
|
|
8862
|
+
}
|
|
8863
|
+
get shotMisses() {
|
|
8864
|
+
return (this.ppFreeKickMisses || 0) + (this.evFreeKickMisses || 0) + (this.shFreeKickMisses || 0) +
|
|
8865
|
+
(this.ppCornerMisses || 0) + (this.evCornerMisses || 0) + (this.shCornerMisses || 0) +
|
|
8866
|
+
this.inGameShotMisses;
|
|
8867
|
+
}
|
|
8868
|
+
get totalPpShotMisses() {
|
|
8869
|
+
return (this.ppShotMisses || 0) + (this.ppFreeKickMisses || 0) + (this.ppCornerMisses || 0) +
|
|
8870
|
+
(this.ppCounterAttackMisses || 0) + (this.ppManeuverMisses || 0) + (this.ppCenterForwardMisses || 0);
|
|
8871
|
+
}
|
|
8872
|
+
get shotsOnGoal() {
|
|
8873
|
+
return (this.ppShotsOnGoal || 0) + (this.evShotsOnGoal || 0) + (this.shShotsOnGoal || 0) +
|
|
8874
|
+
(this.ppFreeKickOnGoals || 0) + (this.evFreeKickOnGoals || 0) + (this.shFreeKickOnGoals || 0) +
|
|
8875
|
+
(this.ppCornerOnGoals || 0) + (this.evCornerOnGoals || 0) + (this.shCornerOnGoals || 0) +
|
|
8876
|
+
this.counterAttackShotOnGoals + this.maneuverShotOnGoals + this.centerForwardShotOnGoals;
|
|
8877
|
+
}
|
|
8878
|
+
get totalPpShotsOnGoal() {
|
|
8879
|
+
return (this.ppShotsOnGoal || 0) + (this.ppFreeKickOnGoals || 0) + (this.ppCornerOnGoals || 0) +
|
|
8880
|
+
(this.ppCounterAttackOnGoals || 0) + (this.ppManeuverOnGoals || 0) + (this.ppCenterForwardOnGoals || 0);
|
|
8881
|
+
}
|
|
8882
|
+
get inGameShotsOnGoals() {
|
|
8883
|
+
return (this.ppShotsOnGoal || 0) + (this.evShotsOnGoal || 0) + (this.shShotsOnGoal || 0) +
|
|
8884
|
+
this.counterAttackShotOnGoals + this.maneuverShotOnGoals + this.centerForwardShotOnGoals;
|
|
8885
|
+
}
|
|
8886
|
+
get shotsBlocked() {
|
|
8887
|
+
return (this.ppShotsBlocked || 0) + (this.evShotsBlocked || 0) + (this.shShotsBlocked || 0);
|
|
8888
|
+
}
|
|
8889
|
+
get shots() {
|
|
8890
|
+
return this.ppShots + this.evShots + this.shShots;
|
|
8891
|
+
}
|
|
8892
|
+
get totalShots() {
|
|
8893
|
+
return this.shots + (this.shootoutAttempts || 0);
|
|
8676
8894
|
}
|
|
8677
8895
|
get faceOffs() {
|
|
8678
8896
|
return (this.faceOffWins || 0) + (this.faceOffLosses || 0);
|
|
8679
8897
|
}
|
|
8680
|
-
get
|
|
8681
|
-
return (this.
|
|
8898
|
+
get freeKickShotMisses() {
|
|
8899
|
+
return (this.ppFreeKickMisses || 0) + (this.evFreeKickMisses || 0) + (this.shFreeKickMisses || 0);
|
|
8682
8900
|
}
|
|
8683
|
-
get
|
|
8684
|
-
return (this.
|
|
8901
|
+
get freeKickOnGoals() {
|
|
8902
|
+
return (this.ppFreeKickOnGoals || 0) + (this.evFreeKickOnGoals || 0) + (this.shFreeKickOnGoals || 0);
|
|
8685
8903
|
}
|
|
8686
|
-
get
|
|
8687
|
-
return (this.
|
|
8904
|
+
get totalFreeKickGoals() {
|
|
8905
|
+
return (this.ppFreeKickGoals || 0) + (this.shFreeKickGoals || 0) + (this.evFreeKickGoals || 0);
|
|
8688
8906
|
}
|
|
8689
|
-
get
|
|
8690
|
-
return this.
|
|
8907
|
+
get totalFreeKicks() {
|
|
8908
|
+
return (this.freeKickSelfs || 0) + (this.freeKickPasses || 0) +
|
|
8909
|
+
this.freeKickShotMisses + this.freeKickOnGoals + this.totalFreeKickGoals;
|
|
8691
8910
|
}
|
|
8692
|
-
get
|
|
8693
|
-
|
|
8694
|
-
return 0;
|
|
8695
|
-
}
|
|
8696
|
-
return Math.round(1000 * this.saves / this.shotsAgainst) / 10;
|
|
8911
|
+
get totalCornerGoals() {
|
|
8912
|
+
return (this.ppCornerGoals || 0) + (this.shCornerGoals || 0) + (this.evCornerGoals || 0);
|
|
8697
8913
|
}
|
|
8698
|
-
get
|
|
8699
|
-
return (this.
|
|
8914
|
+
get totalCorners() {
|
|
8915
|
+
return (this.cornerSelfs || 0) + (this.cornerPasses || 0) +
|
|
8916
|
+
(this.ppCornerOnGoals || 0) + (this.shCornerOnGoals || 0) + (this.evCornerOnGoals || 0) +
|
|
8917
|
+
(this.ppCornerMisses || 0) + (this.shCornerMisses || 0) + (this.evCornerMisses || 0) +
|
|
8918
|
+
this.totalCornerGoals;
|
|
8700
8919
|
}
|
|
8701
|
-
get
|
|
8702
|
-
|
|
8920
|
+
get totalFouls() {
|
|
8921
|
+
return (this.fouls || 0) + (this.penaltyFouls || 0) + (this.attackFouls || 0) + (this.personalFouls || 0);
|
|
8922
|
+
}
|
|
8923
|
+
get inGameGoals() {
|
|
8924
|
+
return (this.shGoals || 0) + (this.evGoals || 0) + (this.ppGoals || 0);
|
|
8925
|
+
}
|
|
8926
|
+
get totalInGameGoals() {
|
|
8927
|
+
return this.totalCenterForwardGoals + this.totalManeuverGoals + this.totalCounterAttackGoals + this.inGameGoals;
|
|
8928
|
+
}
|
|
8929
|
+
get ppGoalsPercent() {
|
|
8930
|
+
if (!this.totalPpGoals || !this.ppShots) {
|
|
8703
8931
|
return 0;
|
|
8704
8932
|
}
|
|
8705
|
-
return Math.round(1000 * this.
|
|
8933
|
+
return Math.round(1000 * this.totalPpGoals / this.ppShots) / 10;
|
|
8706
8934
|
}
|
|
8707
|
-
get
|
|
8708
|
-
|
|
8709
|
-
|
|
8710
|
-
|
|
8711
|
-
return (this.
|
|
8935
|
+
get evGoalsPercent() {
|
|
8936
|
+
if (!this.totalEvGoals || !this.evShots) {
|
|
8937
|
+
return 0;
|
|
8938
|
+
}
|
|
8939
|
+
return Math.round(1000 * this.totalEvGoals / this.evShots) / 10;
|
|
8712
8940
|
}
|
|
8713
|
-
get
|
|
8714
|
-
|
|
8941
|
+
get shGoalsPercent() {
|
|
8942
|
+
if (!this.totalShGoals || !this.shShots) {
|
|
8943
|
+
return 0;
|
|
8944
|
+
}
|
|
8945
|
+
return Math.round(1000 * this.totalShGoals / this.shShots) / 10;
|
|
8715
8946
|
}
|
|
8716
|
-
get
|
|
8717
|
-
if (!this.
|
|
8718
|
-
return
|
|
8947
|
+
get shotsOnGoalPercent() {
|
|
8948
|
+
if (!this.shotsOnGoal || !this.shots) {
|
|
8949
|
+
return 0;
|
|
8719
8950
|
}
|
|
8720
|
-
|
|
8721
|
-
const seconds = Math.floor(this.penaltyMinutes - minutes * 60);
|
|
8722
|
-
return `${minutes < 10 ? 0 : ''}${minutes}:${seconds < 10 ? 0 : ''}${seconds}`;
|
|
8951
|
+
return Math.round(1000 * this.shotsOnGoal / this.shots) / 10;
|
|
8723
8952
|
}
|
|
8724
8953
|
get goalsPercent() {
|
|
8954
|
+
if (!this.goals || !this.shots) {
|
|
8955
|
+
return 0;
|
|
8956
|
+
}
|
|
8957
|
+
return Math.round(1000 * this.goals / this.shots) / 10;
|
|
8958
|
+
}
|
|
8959
|
+
get totalGoalsPercent() {
|
|
8725
8960
|
if (!this.totalGoals || !this.totalShots) {
|
|
8726
8961
|
return 0;
|
|
8727
8962
|
}
|
|
@@ -8733,20 +8968,85 @@ let WaterpoloGameStatistic = class WaterpoloGameStatistic extends BaseModel {
|
|
|
8733
8968
|
}
|
|
8734
8969
|
return Math.round(1000 * this.faceOffWins / this.faceOffs) / 10;
|
|
8735
8970
|
}
|
|
8971
|
+
get shootoutGoalsPercent() {
|
|
8972
|
+
if (!this.shootoutGoals || !this.shootoutShots) {
|
|
8973
|
+
return 0;
|
|
8974
|
+
}
|
|
8975
|
+
return Math.round(1000 * this.shootoutGoals / this.shootoutShots) / 10;
|
|
8976
|
+
}
|
|
8736
8977
|
get goalpass() {
|
|
8737
8978
|
return (this.totalGoals || 0) + (this.assists || 0);
|
|
8738
8979
|
}
|
|
8739
|
-
|
|
8740
|
-
|
|
8741
|
-
|
|
8742
|
-
(this.evFreeKickGoals || 0) + (this.evFreeKickOnGoals || 0) + (this.evFreeKickMisses || 0) +
|
|
8743
|
-
(this.shFreeKickGoals || 0) + (this.shFreeKickOnGoals || 0) + (this.shFreeKickMisses || 0);
|
|
8980
|
+
/*goalie stat */
|
|
8981
|
+
get counterAttackSaves() {
|
|
8982
|
+
return (this.ppCounterAttackSaves || 0) + (this.shCounterAttackSaves || 0) + (this.evCounterAttackSaves || 0);
|
|
8744
8983
|
}
|
|
8745
|
-
get
|
|
8746
|
-
return (this.
|
|
8747
|
-
|
|
8748
|
-
|
|
8749
|
-
|
|
8984
|
+
get centerForwardSaves() {
|
|
8985
|
+
return (this.ppCenterForwardSaves || 0) + (this.shCenterForwardSaves || 0) + (this.evCenterForwardSaves || 0);
|
|
8986
|
+
}
|
|
8987
|
+
get maneuverSaves() {
|
|
8988
|
+
return (this.ppManeuverSaves || 0) + (this.shManeuverSaves || 0) + (this.evManeuverSaves || 0);
|
|
8989
|
+
}
|
|
8990
|
+
get freeKickSaves() {
|
|
8991
|
+
return (this.ppFreeKickSaves || 0) + (this.shFreeKickSaves || 0) + (this.evFreeKickSaves || 0);
|
|
8992
|
+
}
|
|
8993
|
+
get cornerSaves() {
|
|
8994
|
+
return (this.ppCornerSaves || 0) + (this.shCornerSaves || 0) + (this.evCornerSaves || 0);
|
|
8995
|
+
}
|
|
8996
|
+
get totalShSaves() {
|
|
8997
|
+
return (this.shCounterAttackSaves || 0) + (this.shManeuverSaves || 0) + (this.shCenterForwardSaves || 0) +
|
|
8998
|
+
(this.shSaves || 0) + (this.shFreeKickSaves || 0) + (this.shCornerSaves || 0);
|
|
8999
|
+
}
|
|
9000
|
+
get inGameSaves() {
|
|
9001
|
+
return (this.shSaves || 0) + (this.evSaves || 0) + (this.ppSaves || 0) +
|
|
9002
|
+
this.counterAttackSaves + this.maneuverSaves + this.centerForwardSaves;
|
|
9003
|
+
}
|
|
9004
|
+
get saves() {
|
|
9005
|
+
return this.inGameSaves + this.freeKickSaves + this.cornerSaves;
|
|
9006
|
+
}
|
|
9007
|
+
get totalSaves() {
|
|
9008
|
+
return this.saves + (this.shootoutSaves || 0);
|
|
9009
|
+
}
|
|
9010
|
+
get totalShGoalsAgainst() {
|
|
9011
|
+
return (this.shGoalsAgainst || 0) + (this.shFreeKickGoalsAgainst || 0) + (this.shCornerGoalsAgainst || 0) +
|
|
9012
|
+
(this.shCounterAttackGoalsAgainst || 0) + (this.shManeuverGoalsAgainst || 0) + (this.shCenterForwardGoalsAgainst || 0);
|
|
9013
|
+
}
|
|
9014
|
+
get inGameGoalsAgainst() {
|
|
9015
|
+
return (this.goalsAgainst || 0) + (this.counterAttackGoalsAgainst || 0) + (this.maneuverGoalsAgainst || 0) +
|
|
9016
|
+
(this.centerForwardGoalsAgainst || 0);
|
|
9017
|
+
}
|
|
9018
|
+
get shootoutShotsAgainst() {
|
|
9019
|
+
return (this.shootoutSaves || 0) + (this.shootoutGoalsAgainst || 0);
|
|
9020
|
+
}
|
|
9021
|
+
get gameGoalsAgainst() {
|
|
9022
|
+
return this.inGameGoalsAgainst + (this.freeKickGoalsAgainst || 0) + (this.cornerGoalsAgainst || 0);
|
|
9023
|
+
}
|
|
9024
|
+
get totalGoalsAgainst() {
|
|
9025
|
+
return this.gameGoalsAgainst + (this.shootoutGoalsAgainst || 0);
|
|
9026
|
+
}
|
|
9027
|
+
get gameShotsAgainst() {
|
|
9028
|
+
return this.saves + this.gameGoalsAgainst;
|
|
9029
|
+
}
|
|
9030
|
+
get totalShotsAgainst() {
|
|
9031
|
+
return this.gameShotsAgainst + this.shootoutShotsAgainst;
|
|
9032
|
+
}
|
|
9033
|
+
get shootoutSavesPercent() {
|
|
9034
|
+
if (!this.shootoutSaves || !this.shootoutShotsAgainst) {
|
|
9035
|
+
return 0;
|
|
9036
|
+
}
|
|
9037
|
+
return Math.round(1000 * this.shootoutSaves / this.shootoutShotsAgainst) / 10;
|
|
9038
|
+
}
|
|
9039
|
+
get savesPercent() {
|
|
9040
|
+
if (!this.saves || !this.gameShotsAgainst) {
|
|
9041
|
+
return 0;
|
|
9042
|
+
}
|
|
9043
|
+
return Math.round(1000 * this.saves / this.gameShotsAgainst) / 10;
|
|
9044
|
+
}
|
|
9045
|
+
get totalSavesPercent() {
|
|
9046
|
+
if (!this.totalSaves || !this.totalShotsAgainst) {
|
|
9047
|
+
return 0;
|
|
9048
|
+
}
|
|
9049
|
+
return Math.round(1000 * this.totalSaves / this.totalShotsAgainst) / 10;
|
|
8750
9050
|
}
|
|
8751
9051
|
static toFront(data) { }
|
|
8752
9052
|
static toBack(data) { }
|
|
@@ -8772,9 +9072,39 @@ WaterpoloGameStatistic = __decorate([
|
|
|
8772
9072
|
sh_shot_misses: 'shShotMisses',
|
|
8773
9073
|
sh_shots_on_goal: 'shShotsOnGoal',
|
|
8774
9074
|
sh_shots_blocked: 'shShotsBlocked',
|
|
9075
|
+
pp_total_shots_on_goal: 'ppTotalShotsOnGoal',
|
|
9076
|
+
ev_total_shots_on_goal: 'evTotalShotsOnGoal',
|
|
9077
|
+
sh_total_shots_on_goal: 'shTotalShotsOnGoal',
|
|
8775
9078
|
pp_goals: 'ppGoals',
|
|
8776
9079
|
ev_goals: 'evGoals',
|
|
8777
9080
|
sh_goals: 'shGoals',
|
|
9081
|
+
pp_counterattack_goals: 'ppCounterAttackGoals',
|
|
9082
|
+
pp_counterattack_on_goals: 'ppCounterAttackOnGoals',
|
|
9083
|
+
pp_counterattack_misses: 'ppCounterAttackMisses',
|
|
9084
|
+
ev_counterattack_goals: 'evCounterAttackGoals',
|
|
9085
|
+
ev_counterattack_on_goals: 'evCounterAttackOnGoals',
|
|
9086
|
+
ev_counterattack_misses: 'evCounterAttackMisses',
|
|
9087
|
+
sh_counterattack_goals: 'shCounterAttackGoals',
|
|
9088
|
+
sh_counterattack_on_goals: 'shCounterAttackOnGoals',
|
|
9089
|
+
sh_counterattack_misses: 'shCounterAttackMisses',
|
|
9090
|
+
pp_maneuver_goals: 'ppManeuverGoals',
|
|
9091
|
+
pp_maneuver_on_goals: 'ppManeuverOnGoals',
|
|
9092
|
+
pp_maneuver_misses: 'ppManeuverMisses',
|
|
9093
|
+
ev_maneuver_goals: 'evManeuverGoals',
|
|
9094
|
+
ev_maneuver_on_goals: 'evManeuverOnGoals',
|
|
9095
|
+
ev_maneuver_misses: 'evManeuverMisses',
|
|
9096
|
+
sh_maneuver_goals: 'shManeuverGoals',
|
|
9097
|
+
sh_maneuver_on_goals: 'shManeuverOnGoals',
|
|
9098
|
+
sh_maneuver_misses: 'shManeuverMisses',
|
|
9099
|
+
pp_center_forward_goals: 'ppCenterForwardGoals',
|
|
9100
|
+
pp_center_forward_on_goals: 'ppCenterForwardOnGoals',
|
|
9101
|
+
pp_center_forward_misses: 'ppCenterForwardMisses',
|
|
9102
|
+
ev_center_forward_goals: 'evCenterForwardGoals',
|
|
9103
|
+
ev_center_forward_on_goals: 'evCenterForwardOnGoals',
|
|
9104
|
+
ev_center_forward_misses: 'evCenterForwardMisses',
|
|
9105
|
+
sh_center_forward_goals: 'shCenterForwardGoals',
|
|
9106
|
+
sh_center_forward_on_goals: 'shCenterForwardOnGoals',
|
|
9107
|
+
sh_center_forward_misses: 'shCenterForwardMisses',
|
|
8778
9108
|
pp_assists: 'ppAssists',
|
|
8779
9109
|
ev_assists: 'evAssists',
|
|
8780
9110
|
sh_assists: 'shAssists',
|
|
@@ -8785,23 +9115,73 @@ WaterpoloGameStatistic = __decorate([
|
|
|
8785
9115
|
block_shots: 'blockShots',
|
|
8786
9116
|
face_off_losses: 'faceOffLosses',
|
|
8787
9117
|
face_off_wins: 'faceOffWins',
|
|
8788
|
-
|
|
8789
|
-
|
|
9118
|
+
pp_saves: 'ppSaves',
|
|
9119
|
+
sh_saves: 'shSaves',
|
|
9120
|
+
ev_saves: 'evSaves',
|
|
9121
|
+
pp_counterattack_saves: 'ppCounterAttackSaves',
|
|
9122
|
+
sh_counterattack_saves: 'shCounterAttackSaves',
|
|
9123
|
+
ev_counterattack_saves: 'evCounterAttackSaves',
|
|
9124
|
+
pp_maneuver_saves: 'ppManeuverSaves',
|
|
9125
|
+
sh_maneuver_saves: 'shManeuverSaves',
|
|
9126
|
+
ev_maneuver_saves: 'evManeuverSaves',
|
|
9127
|
+
pp_center_forward_saves: 'ppCenterForwardSaves',
|
|
9128
|
+
sh_center_forward_saves: 'shCenterForwardSaves',
|
|
9129
|
+
ev_center_forward_saves: 'evCenterForwardSaves',
|
|
9130
|
+
pp_free_kick_saves: 'ppFreeKickSaves',
|
|
9131
|
+
sh_free_kick_saves: 'shFreeKickSaves',
|
|
9132
|
+
ev_free_kick_saves: 'evFreeKickSaves',
|
|
9133
|
+
pp_corner_saves: 'ppCornerSaves',
|
|
9134
|
+
sh_corner_saves: 'shCornerSaves',
|
|
9135
|
+
ev_corner_saves: 'evCornerSaves',
|
|
9136
|
+
pp_total_game_saves: 'ppTotalGameSaves',
|
|
9137
|
+
sh_total_game_saves: 'shTotalGameSaves',
|
|
9138
|
+
ev_total_game_saves: 'evTotalGameSaves',
|
|
9139
|
+
shootout_saves: 'shootoutSaves',
|
|
8790
9140
|
after_game_shootout_saves: 'afterGameShootoutSaves',
|
|
9141
|
+
pp_goals_against: 'ppGoalsAgainst',
|
|
9142
|
+
sh_goals_against: 'shGoalsAgainst',
|
|
9143
|
+
ev_goals_against: 'evGoalsAgainst',
|
|
8791
9144
|
goals_against: 'goalsAgainst',
|
|
9145
|
+
pp_counterattack_goals_against: 'ppCounterAttackGoalsAgainst',
|
|
9146
|
+
sh_counterattack_goals_against: 'shCounterAttackGoalsAgainst',
|
|
9147
|
+
ev_counterattack_goals_against: 'evCounterAttackGoalsAgainst',
|
|
9148
|
+
counterattack_goals_against: 'counterAttackGoalsAgainst',
|
|
9149
|
+
pp_maneuver_goals_against: 'ppManeuverGoalsAgainst',
|
|
9150
|
+
sh_maneuver_goals_against: 'shManeuverGoalsAgainst',
|
|
9151
|
+
ev_maneuver_goals_against: 'evManeuverGoalsAgainst',
|
|
9152
|
+
maneuver_goals_against: 'maneuverGoalsAgainst',
|
|
9153
|
+
pp_center_forward_goals_against: 'ppCenterForwardGoalsAgainst',
|
|
9154
|
+
sh_center_forward_goals_against: 'shCenterForwardGoalsAgainst',
|
|
9155
|
+
ev_center_forward_goals_against: 'evCenterForwardGoalsAgainst',
|
|
9156
|
+
center_forward_goals_against: 'centerForwardGoalsAgainst',
|
|
9157
|
+
pp_free_kick_goals_against: 'ppFreeKickGoalsAgainst',
|
|
9158
|
+
sh_free_kick_goals_against: 'shFreeKickGoalsAgainst',
|
|
9159
|
+
ev_free_kick_goals_against: 'evFreeKickGoalsAgainst',
|
|
9160
|
+
free_kick_goals_against: 'freeKickGoalsAgainst',
|
|
9161
|
+
pp_corner_goals_against: 'ppCornerGoalsAgainst',
|
|
9162
|
+
sh_corner_goals_against: 'shCornerGoalsAgainst',
|
|
9163
|
+
ev_corner_goals_against: 'evCornerGoalsAgainst',
|
|
9164
|
+
corner_goals_against: 'cornerGoalsAgainst',
|
|
8792
9165
|
shootout_goals_against: 'shootoutGoalsAgainst',
|
|
8793
9166
|
after_game_shootout_goals_against: 'afterGameShootoutGoalsAgainst',
|
|
8794
9167
|
safety_rate: 'safetyRate',
|
|
8795
9168
|
penalty_minutes: 'penaltyMinutes',
|
|
8796
9169
|
game_time: 'gameTime',
|
|
8797
9170
|
plus_minus: 'plusMinus',
|
|
8798
|
-
yellow_cards: 'yellowCards',
|
|
8799
|
-
red_cards: 'redCards',
|
|
8800
9171
|
fouls: 'fouls',
|
|
9172
|
+
minor_penalties: 'minorPenalties',
|
|
9173
|
+
major_penalties: 'majorPenalties',
|
|
9174
|
+
match_penalties: 'matchPenalties',
|
|
9175
|
+
penalty_fouls: 'penaltyFouls',
|
|
9176
|
+
turnovers: 'turnovers',
|
|
9177
|
+
attack_fouls: 'attackFouls',
|
|
8801
9178
|
personal_fouls: 'personalFouls',
|
|
9179
|
+
drawn_fouls: 'drawnFouls',
|
|
9180
|
+
drawn_turnovers: 'drawnTurnovers',
|
|
9181
|
+
yellow_cards: 'yellowCards',
|
|
9182
|
+
red_cards: 'redCards',
|
|
8802
9183
|
losses: 'losses',
|
|
8803
9184
|
steals: 'steals',
|
|
8804
|
-
drawn_fouls: 'drawnFouls',
|
|
8805
9185
|
pp_free_kick_goals: 'ppFreeKickGoals',
|
|
8806
9186
|
pp_free_kick_on_goals: 'ppFreeKickOnGoals',
|
|
8807
9187
|
pp_free_kick_misses: 'ppFreeKickMisses',
|
|
@@ -8823,7 +9203,9 @@ WaterpoloGameStatistic = __decorate([
|
|
|
8823
9203
|
ev_corner_on_goals: 'evCornerOnGoals',
|
|
8824
9204
|
ev_corner_misses: 'evCornerMisses',
|
|
8825
9205
|
corner_passes: 'cornerPasses',
|
|
8826
|
-
corner_selfs: 'cornerSelfs'
|
|
9206
|
+
corner_selfs: 'cornerSelfs',
|
|
9207
|
+
tackles: 'tackles',
|
|
9208
|
+
player_efficiency: 'playerEfficiency'
|
|
8827
9209
|
},
|
|
8828
9210
|
relation: {
|
|
8829
9211
|
updatedAt: DateTimeField,
|