@mtgame/core 0.1.141 → 0.1.143
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 +209 -64
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/esm2015/localization/waterpolo-game-log-types.js +22 -17
- package/esm2015/models/waterpolo-game-log.js +6 -1
- package/esm2015/models/waterpolo-game-statistic.js +97 -35
- package/esm2015/models/waterpolo-statistic.js +24 -3
- package/fesm2015/mtgame-core.js +145 -52
- package/fesm2015/mtgame-core.js.map +1 -1
- package/localization/waterpolo-game-log-types.d.ts +5 -0
- package/models/waterpolo-game-log.d.ts +6 -1
- package/models/waterpolo-game-statistic.d.ts +31 -3
- package/models/waterpolo-statistic.d.ts +23 -2
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
package/fesm2015/mtgame-core.js
CHANGED
|
@@ -4962,30 +4962,39 @@ WaterpoloStatistic = __decorate([
|
|
|
4962
4962
|
pp_counterattack_goals: 'ppCounterAttackGoals',
|
|
4963
4963
|
pp_counterattack_on_goals: 'ppCounterAttackOnGoals',
|
|
4964
4964
|
pp_counterattack_misses: 'ppCounterAttackMisses',
|
|
4965
|
+
pp_counterattack_shots_blocked: 'ppCounterAttackShotsBlocked',
|
|
4965
4966
|
ev_counterattack_goals: 'evCounterAttackGoals',
|
|
4966
4967
|
ev_counterattack_on_goals: 'evCounterAttackOnGoals',
|
|
4967
4968
|
ev_counterattack_misses: 'evCounterAttackMisses',
|
|
4969
|
+
ev_counterattack_shots_blocked: 'evCounterAttackShotsBlocked',
|
|
4968
4970
|
sh_counterattack_goals: 'shCounterAttackGoals',
|
|
4969
4971
|
sh_counterattack_on_goals: 'shCounterAttackOnGoals',
|
|
4970
4972
|
sh_counterattack_misses: 'shCounterAttackMisses',
|
|
4973
|
+
sh_counterattack_shots_blocked: 'shCounterAttackShotsBlocked',
|
|
4971
4974
|
pp_maneuver_goals: 'ppManeuverGoals',
|
|
4972
4975
|
pp_maneuver_on_goals: 'ppManeuverOnGoals',
|
|
4973
4976
|
pp_maneuver_misses: 'ppManeuverMisses',
|
|
4977
|
+
pp_maneuver_shots_blocked: 'ppManeuverShotsBlocked',
|
|
4974
4978
|
ev_maneuver_goals: 'evManeuverGoals',
|
|
4975
4979
|
ev_maneuver_on_goals: 'evManeuverOnGoals',
|
|
4976
4980
|
ev_maneuver_misses: 'evManeuverMisses',
|
|
4981
|
+
ev_maneuver_shots_blocked: 'evManeuverShotsBlocked',
|
|
4977
4982
|
sh_maneuver_goals: 'shManeuverGoals',
|
|
4978
4983
|
sh_maneuver_on_goals: 'shManeuverOnGoals',
|
|
4979
4984
|
sh_maneuver_misses: 'shManeuverMisses',
|
|
4985
|
+
sh_maneuver_shots_blocked: 'shManeuverShotsBlocked',
|
|
4980
4986
|
pp_center_forward_goals: 'ppCenterForwardGoals',
|
|
4981
4987
|
pp_center_forward_on_goals: 'ppCenterForwardOnGoals',
|
|
4982
4988
|
pp_center_forward_misses: 'ppCenterForwardMisses',
|
|
4989
|
+
pp_center_forward_shots_blocked: 'ppCenterForwardShotsBlocked',
|
|
4983
4990
|
ev_center_forward_goals: 'evCenterForwardGoals',
|
|
4984
4991
|
ev_center_forward_on_goals: 'evCenterForwardOnGoals',
|
|
4985
4992
|
ev_center_forward_misses: 'evCenterForwardMisses',
|
|
4993
|
+
ev_center_forward_shots_blocked: 'evCenterForwardShotsBlocked',
|
|
4986
4994
|
sh_center_forward_goals: 'shCenterForwardGoals',
|
|
4987
4995
|
sh_center_forward_on_goals: 'shCenterForwardOnGoals',
|
|
4988
4996
|
sh_center_forward_misses: 'shCenterForwardMisses',
|
|
4997
|
+
sh_center_forward_shots_blocked: 'shCenterForwardShotsBlocked',
|
|
4989
4998
|
pp_assists: 'ppAssists',
|
|
4990
4999
|
ev_assists: 'evAssists',
|
|
4991
5000
|
sh_assists: 'shAssists',
|
|
@@ -5066,23 +5075,29 @@ WaterpoloStatistic = __decorate([
|
|
|
5066
5075
|
pp_free_kick_goals: 'ppFreeKickGoals',
|
|
5067
5076
|
pp_free_kick_on_goals: 'ppFreeKickOnGoals',
|
|
5068
5077
|
pp_free_kick_misses: 'ppFreeKickMisses',
|
|
5078
|
+
pp_free_kick_shots_blocked: 'ppFreeKickShotsBlocked',
|
|
5069
5079
|
sh_free_kick_goals: 'shFreeKickGoals',
|
|
5070
5080
|
sh_free_kick_on_goals: 'shFreeKickOnGoals',
|
|
5071
5081
|
sh_free_kick_misses: 'shFreeKickMisses',
|
|
5082
|
+
sh_free_kick_shots_blocked: 'shFreeKickShotsBlocked',
|
|
5072
5083
|
ev_free_kick_goals: 'evFreeKickGoals',
|
|
5073
5084
|
ev_free_kick_on_goals: 'evFreeKickOnGoals',
|
|
5074
5085
|
ev_free_kick_misses: 'evFreeKickMisses',
|
|
5086
|
+
ev_free_kick_shots_blocked: 'evFreeKickShotsBlocked',
|
|
5075
5087
|
free_kick_passes: 'freeKickPasses',
|
|
5076
5088
|
free_kick_selfs: 'freeKickSelfs',
|
|
5077
5089
|
pp_corner_goals: 'ppCornerGoals',
|
|
5078
5090
|
pp_corner_on_goals: 'ppCornerOnGoals',
|
|
5079
5091
|
pp_corner_misses: 'ppCornerMisses',
|
|
5092
|
+
pp_corner_shots_blocked: 'ppCornerShotsBlocked',
|
|
5080
5093
|
sh_corner_goals: 'shCornerGoals',
|
|
5081
5094
|
sh_corner_on_goals: 'shCornerOnGoals',
|
|
5082
5095
|
sh_corner_misses: 'shCornerMisses',
|
|
5096
|
+
sh_corner_shots_blocked: 'shCornerShotsBlocked',
|
|
5083
5097
|
ev_corner_goals: 'evCornerGoals',
|
|
5084
5098
|
ev_corner_on_goals: 'evCornerOnGoals',
|
|
5085
5099
|
ev_corner_misses: 'evCornerMisses',
|
|
5100
|
+
ev_corner_shots_blocked: 'evCornerShotsBlocked',
|
|
5086
5101
|
corner_passes: 'cornerPasses',
|
|
5087
5102
|
corner_selfs: 'cornerSelfs',
|
|
5088
5103
|
tackles: 'tackles',
|
|
@@ -5164,7 +5179,6 @@ WaterpoloStatistic = __decorate([
|
|
|
5164
5179
|
corner_shots_against: 'cornerShotsAgainst',
|
|
5165
5180
|
corner_saves_percent: 'cornerSavesPercent',
|
|
5166
5181
|
in_game_saves: 'inGameSaves',
|
|
5167
|
-
total_sh_saves: 'totalShSaves',
|
|
5168
5182
|
saves: 'saves',
|
|
5169
5183
|
total_saves: 'totalSaves',
|
|
5170
5184
|
shootout_shots_against: 'shootoutShotsAgainst',
|
|
@@ -5173,9 +5187,16 @@ WaterpoloStatistic = __decorate([
|
|
|
5173
5187
|
saves_percent: 'savesPercent',
|
|
5174
5188
|
total_shots_against: 'totalShotsAgainst',
|
|
5175
5189
|
total_saves_percent: 'totalSavesPercent',
|
|
5176
|
-
total_sh_goals_against: 'totalShGoalsAgainst',
|
|
5177
5190
|
in_game_goals_against: 'inGameGoalsAgainst',
|
|
5178
5191
|
total_goals_against: 'totalGoalsAgainst',
|
|
5192
|
+
total_sh_saves: 'totalShSaves',
|
|
5193
|
+
total_sh_goals_against: 'totalShGoalsAgainst',
|
|
5194
|
+
total_sh_shots_against: 'totalShShotsAgainst',
|
|
5195
|
+
total_sh_saves_percent: 'totalShSavesPercent',
|
|
5196
|
+
total_ev_saves: 'totalEvSaves',
|
|
5197
|
+
total_ev_goals_against: 'totalEvGoalsAgainst',
|
|
5198
|
+
total_ev_shots_against: 'totalEvShotsAgainst',
|
|
5199
|
+
total_ev_saves_percent: 'totalEvSavesPercent',
|
|
5179
5200
|
newbie: 'newbie',
|
|
5180
5201
|
rank: 'rank',
|
|
5181
5202
|
},
|
|
@@ -8679,6 +8700,11 @@ var WaterpoloGameLogTypes;
|
|
|
8679
8700
|
WaterpoloGameLogTypes[WaterpoloGameLogTypes["penalty_foul"] = 56] = "penalty_foul";
|
|
8680
8701
|
WaterpoloGameLogTypes[WaterpoloGameLogTypes["attack_foul"] = 57] = "attack_foul";
|
|
8681
8702
|
WaterpoloGameLogTypes[WaterpoloGameLogTypes["turnover"] = 58] = "turnover";
|
|
8703
|
+
WaterpoloGameLogTypes[WaterpoloGameLogTypes["counter_attack_shot_blocked"] = 59] = "counter_attack_shot_blocked";
|
|
8704
|
+
WaterpoloGameLogTypes[WaterpoloGameLogTypes["maneuver_shot_blocked"] = 60] = "maneuver_shot_blocked";
|
|
8705
|
+
WaterpoloGameLogTypes[WaterpoloGameLogTypes["center_forward_shot_blocked"] = 61] = "center_forward_shot_blocked";
|
|
8706
|
+
WaterpoloGameLogTypes[WaterpoloGameLogTypes["free_kick_shot_blocked"] = 62] = "free_kick_shot_blocked";
|
|
8707
|
+
WaterpoloGameLogTypes[WaterpoloGameLogTypes["corner_shot_blocked"] = 63] = "corner_shot_blocked";
|
|
8682
8708
|
})(WaterpoloGameLogTypes || (WaterpoloGameLogTypes = {}));
|
|
8683
8709
|
var WaterpoloAdvantageTypes;
|
|
8684
8710
|
(function (WaterpoloAdvantageTypes) {
|
|
@@ -8799,13 +8825,13 @@ let WaterpoloGameStatistic = class WaterpoloGameStatistic extends BaseModel {
|
|
|
8799
8825
|
return (this.ppCounterAttackGoals || 0) + (this.evCounterAttackGoals || 0) + (this.shCounterAttackGoals || 0);
|
|
8800
8826
|
}
|
|
8801
8827
|
get ppCounterAttackShots() {
|
|
8802
|
-
return (this.ppCounterAttackOnGoals || 0) + (this.ppCounterAttackMisses || 0);
|
|
8828
|
+
return (this.ppCounterAttackOnGoals || 0) + (this.ppCounterAttackMisses || 0) + (this.ppCounterAttackShotsBlocked || 0);
|
|
8803
8829
|
}
|
|
8804
8830
|
get shCounterAttackShots() {
|
|
8805
|
-
return (this.shCounterAttackOnGoals || 0) + (this.shCounterAttackMisses || 0);
|
|
8831
|
+
return (this.shCounterAttackOnGoals || 0) + (this.shCounterAttackMisses || 0) + (this.shCounterAttackShotsBlocked || 0);
|
|
8806
8832
|
}
|
|
8807
8833
|
get evCounterAttackShots() {
|
|
8808
|
-
return (this.evCounterAttackOnGoals || 0) + (this.evCounterAttackMisses || 0);
|
|
8834
|
+
return (this.evCounterAttackOnGoals || 0) + (this.evCounterAttackMisses || 0) + (this.evCounterAttackShotsBlocked || 0);
|
|
8809
8835
|
}
|
|
8810
8836
|
get counterAttackShotMisses() {
|
|
8811
8837
|
return (this.ppCounterAttackMisses || 0) + (this.shCounterAttackMisses || 0) + (this.evCounterAttackMisses || 0);
|
|
@@ -8813,8 +8839,11 @@ let WaterpoloGameStatistic = class WaterpoloGameStatistic extends BaseModel {
|
|
|
8813
8839
|
get counterAttackShotOnGoals() {
|
|
8814
8840
|
return (this.ppCounterAttackOnGoals || 0) + (this.shCounterAttackOnGoals || 0) + (this.evCounterAttackOnGoals || 0);
|
|
8815
8841
|
}
|
|
8842
|
+
get counterAttackShotsBlocked() {
|
|
8843
|
+
return (this.ppCounterAttackShotsBlocked || 0) + (this.shCounterAttackShotsBlocked || 0) + (this.evCounterAttackShotsBlocked || 0);
|
|
8844
|
+
}
|
|
8816
8845
|
get counterAttackShots() {
|
|
8817
|
-
return this.counterAttackShotMisses + this.counterAttackShotOnGoals;
|
|
8846
|
+
return this.counterAttackShotMisses + this.counterAttackShotOnGoals + this.counterAttackShotsBlocked;
|
|
8818
8847
|
}
|
|
8819
8848
|
get counterAttackGoalsPercent() {
|
|
8820
8849
|
if (!this.totalCounterAttackGoals || !this.counterAttackShots) {
|
|
@@ -8826,13 +8855,13 @@ let WaterpoloGameStatistic = class WaterpoloGameStatistic extends BaseModel {
|
|
|
8826
8855
|
return (this.ppManeuverGoals || 0) + (this.shManeuverGoals || 0) + (this.evManeuverGoals || 0);
|
|
8827
8856
|
}
|
|
8828
8857
|
get ppManeuverShots() {
|
|
8829
|
-
return (this.ppManeuverOnGoals || 0) + (this.ppManeuverMisses || 0);
|
|
8858
|
+
return (this.ppManeuverOnGoals || 0) + (this.ppManeuverMisses || 0) + (this.ppManeuverShotsBlocked || 0);
|
|
8830
8859
|
}
|
|
8831
8860
|
get shManeuverShots() {
|
|
8832
|
-
return (this.shManeuverOnGoals || 0) + (this.shManeuverMisses || 0);
|
|
8861
|
+
return (this.shManeuverOnGoals || 0) + (this.shManeuverMisses || 0) + (this.shManeuverShotsBlocked || 0);
|
|
8833
8862
|
}
|
|
8834
8863
|
get evManeuverShots() {
|
|
8835
|
-
return (this.evManeuverOnGoals || 0) + (this.evManeuverMisses || 0);
|
|
8864
|
+
return (this.evManeuverOnGoals || 0) + (this.evManeuverMisses || 0) + (this.evManeuverShotsBlocked || 0);
|
|
8836
8865
|
}
|
|
8837
8866
|
get maneuverShotMisses() {
|
|
8838
8867
|
return (this.ppManeuverMisses || 0) + (this.shManeuverMisses || 0) + (this.evManeuverMisses || 0);
|
|
@@ -8840,8 +8869,11 @@ let WaterpoloGameStatistic = class WaterpoloGameStatistic extends BaseModel {
|
|
|
8840
8869
|
get maneuverShotOnGoals() {
|
|
8841
8870
|
return (this.ppManeuverOnGoals || 0) + (this.shManeuverOnGoals || 0) + (this.evManeuverOnGoals || 0);
|
|
8842
8871
|
}
|
|
8872
|
+
get maneuverShotsBlocked() {
|
|
8873
|
+
return (this.ppManeuverShotsBlocked || 0) + (this.shManeuverShotsBlocked || 0) + (this.evManeuverShotsBlocked || 0);
|
|
8874
|
+
}
|
|
8843
8875
|
get maneuverShots() {
|
|
8844
|
-
return this.maneuverShotMisses + this.maneuverShotOnGoals;
|
|
8876
|
+
return this.maneuverShotMisses + this.maneuverShotOnGoals + this.maneuverShotsBlocked;
|
|
8845
8877
|
}
|
|
8846
8878
|
get maneuverGoalsPercent() {
|
|
8847
8879
|
if (!this.totalManeuverGoals || !this.maneuverShots) {
|
|
@@ -8853,13 +8885,13 @@ let WaterpoloGameStatistic = class WaterpoloGameStatistic extends BaseModel {
|
|
|
8853
8885
|
return (this.ppCenterForwardGoals || 0) + (this.shCenterForwardGoals || 0) + (this.evCenterForwardGoals || 0);
|
|
8854
8886
|
}
|
|
8855
8887
|
get ppCenterForwardShots() {
|
|
8856
|
-
return (this.ppCenterForwardOnGoals || 0) + (this.ppCenterForwardMisses || 0);
|
|
8888
|
+
return (this.ppCenterForwardOnGoals || 0) + (this.ppCenterForwardMisses || 0) + (this.ppCenterForwardShotsBlocked || 0);
|
|
8857
8889
|
}
|
|
8858
8890
|
get shCenterForwardShots() {
|
|
8859
|
-
return (this.shCenterForwardOnGoals || 0) + (this.shCenterForwardMisses || 0);
|
|
8891
|
+
return (this.shCenterForwardOnGoals || 0) + (this.shCenterForwardMisses || 0) + (this.shCenterForwardShotsBlocked || 0);
|
|
8860
8892
|
}
|
|
8861
8893
|
get evCenterForwardShots() {
|
|
8862
|
-
return (this.evCenterForwardOnGoals || 0) + (this.evCenterForwardMisses || 0);
|
|
8894
|
+
return (this.evCenterForwardOnGoals || 0) + (this.evCenterForwardMisses || 0) + (this.evCenterForwardShotsBlocked || 0);
|
|
8863
8895
|
}
|
|
8864
8896
|
get centerForwardShotMisses() {
|
|
8865
8897
|
return (this.ppCenterForwardMisses || 0) + (this.shCenterForwardMisses || 0) + (this.evCenterForwardMisses || 0);
|
|
@@ -8867,8 +8899,11 @@ let WaterpoloGameStatistic = class WaterpoloGameStatistic extends BaseModel {
|
|
|
8867
8899
|
get centerForwardShotOnGoals() {
|
|
8868
8900
|
return (this.ppCenterForwardOnGoals || 0) + (this.shCenterForwardOnGoals || 0) + (this.evCenterForwardOnGoals || 0);
|
|
8869
8901
|
}
|
|
8902
|
+
get centerForwardShotsBlocked() {
|
|
8903
|
+
return (this.ppCenterForwardShotsBlocked || 0) + (this.shCenterForwardShotsBlocked || 0) + (this.evCenterForwardShotsBlocked || 0);
|
|
8904
|
+
}
|
|
8870
8905
|
get centerForwardShots() {
|
|
8871
|
-
return this.centerForwardShotMisses + this.centerForwardShotOnGoals;
|
|
8906
|
+
return this.centerForwardShotMisses + this.centerForwardShotOnGoals + this.centerForwardShotsBlocked;
|
|
8872
8907
|
}
|
|
8873
8908
|
get centerForwardGoalsPercent() {
|
|
8874
8909
|
if (!this.totalCenterForwardGoals || !this.centerForwardShots) {
|
|
@@ -8878,20 +8913,20 @@ let WaterpoloGameStatistic = class WaterpoloGameStatistic extends BaseModel {
|
|
|
8878
8913
|
}
|
|
8879
8914
|
get ppShots() {
|
|
8880
8915
|
return (this.ppShotMisses || 0) + (this.ppShotsOnGoal || 0) + (this.ppShotsBlocked || 0) +
|
|
8881
|
-
(this.ppFreeKickMisses || 0) + (this.ppFreeKickOnGoals || 0) +
|
|
8882
|
-
(this.ppCornerMisses || 0) + (this.ppCornerOnGoals || 0) +
|
|
8916
|
+
(this.ppFreeKickMisses || 0) + (this.ppFreeKickOnGoals || 0) + (this.ppFreeKickShotsBlocked || 0) +
|
|
8917
|
+
(this.ppCornerMisses || 0) + (this.ppCornerOnGoals || 0) + (this.ppCornerShotsBlocked || 0) +
|
|
8883
8918
|
this.ppCounterAttackShots + this.ppManeuverShots + this.ppCenterForwardShots;
|
|
8884
8919
|
}
|
|
8885
8920
|
get evShots() {
|
|
8886
8921
|
return (this.evShotMisses || 0) + (this.evShotsOnGoal || 0) + (this.evShotsBlocked || 0) +
|
|
8887
|
-
(this.evFreeKickMisses || 0) + (this.evFreeKickOnGoals || 0) +
|
|
8888
|
-
(this.evCornerMisses || 0) + (this.evCornerOnGoals || 0) +
|
|
8922
|
+
(this.evFreeKickMisses || 0) + (this.evFreeKickOnGoals || 0) + (this.evFreeKickShotsBlocked || 0) +
|
|
8923
|
+
(this.evCornerMisses || 0) + (this.evCornerOnGoals || 0) + (this.evCornerShotsBlocked || 0) +
|
|
8889
8924
|
this.evCounterAttackShots + this.evManeuverShots + this.evCenterForwardShots;
|
|
8890
8925
|
}
|
|
8891
8926
|
get shShots() {
|
|
8892
8927
|
return (this.shShotMisses || 0) + (this.shShotsOnGoal || 0) + (this.shShotsBlocked || 0) +
|
|
8893
|
-
(this.shFreeKickMisses || 0) + (this.shFreeKickOnGoals || 0) +
|
|
8894
|
-
(this.shCornerMisses || 0) + (this.shCornerOnGoals || 0) +
|
|
8928
|
+
(this.shFreeKickMisses || 0) + (this.shFreeKickOnGoals || 0) + (this.shFreeKickShotsBlocked || 0) +
|
|
8929
|
+
(this.shCornerMisses || 0) + (this.shCornerOnGoals || 0) + (this.shCornerShotsBlocked || 0) +
|
|
8895
8930
|
this.shCounterAttackShots + this.shManeuverShots + this.shCenterForwardShots;
|
|
8896
8931
|
}
|
|
8897
8932
|
get totalShGoals() {
|
|
@@ -8942,9 +8977,6 @@ let WaterpoloGameStatistic = class WaterpoloGameStatistic extends BaseModel {
|
|
|
8942
8977
|
return (this.ppShotsOnGoal || 0) + (this.evShotsOnGoal || 0) + (this.shShotsOnGoal || 0) +
|
|
8943
8978
|
this.counterAttackShotOnGoals + this.maneuverShotOnGoals + this.centerForwardShotOnGoals;
|
|
8944
8979
|
}
|
|
8945
|
-
get shotsBlocked() {
|
|
8946
|
-
return (this.ppShotsBlocked || 0) + (this.evShotsBlocked || 0) + (this.shShotsBlocked || 0);
|
|
8947
|
-
}
|
|
8948
8980
|
get shots() {
|
|
8949
8981
|
return this.ppShots + this.evShots + this.shShots;
|
|
8950
8982
|
}
|
|
@@ -8957,6 +8989,9 @@ let WaterpoloGameStatistic = class WaterpoloGameStatistic extends BaseModel {
|
|
|
8957
8989
|
get freeKickShotMisses() {
|
|
8958
8990
|
return (this.ppFreeKickMisses || 0) + (this.evFreeKickMisses || 0) + (this.shFreeKickMisses || 0);
|
|
8959
8991
|
}
|
|
8992
|
+
get freeKickShotsBlocked() {
|
|
8993
|
+
return (this.ppFreeKickShotsBlocked || 0) + (this.evFreeKickShotsBlocked || 0) + (this.shFreeKickShotsBlocked || 0);
|
|
8994
|
+
}
|
|
8960
8995
|
get freeKickOnGoals() {
|
|
8961
8996
|
return (this.ppFreeKickOnGoals || 0) + (this.evFreeKickOnGoals || 0) + (this.shFreeKickOnGoals || 0);
|
|
8962
8997
|
}
|
|
@@ -8965,7 +9000,7 @@ let WaterpoloGameStatistic = class WaterpoloGameStatistic extends BaseModel {
|
|
|
8965
9000
|
}
|
|
8966
9001
|
get totalFreeKicks() {
|
|
8967
9002
|
return (this.freeKickSelfs || 0) + (this.freeKickPasses || 0) +
|
|
8968
|
-
this.freeKickShotMisses + this.freeKickOnGoals + this.totalFreeKickGoals;
|
|
9003
|
+
this.freeKickShotMisses + this.freeKickOnGoals + this.totalFreeKickGoals + this.freeKickShotsBlocked;
|
|
8969
9004
|
}
|
|
8970
9005
|
get freeKickGoalsPercent() {
|
|
8971
9006
|
if (!this.totalFreeKickGoals || !this.totalFreeKicks) {
|
|
@@ -8976,11 +9011,23 @@ let WaterpoloGameStatistic = class WaterpoloGameStatistic extends BaseModel {
|
|
|
8976
9011
|
get totalCornerGoals() {
|
|
8977
9012
|
return (this.ppCornerGoals || 0) + (this.shCornerGoals || 0) + (this.evCornerGoals || 0);
|
|
8978
9013
|
}
|
|
9014
|
+
get cornerShotMisses() {
|
|
9015
|
+
return (this.ppCornerMisses || 0) + (this.shCornerMisses || 0) + (this.evCornerMisses || 0);
|
|
9016
|
+
}
|
|
9017
|
+
get cornerOnGoals() {
|
|
9018
|
+
return (this.ppCornerOnGoals || 0) + (this.shCornerOnGoals || 0) + (this.evCornerOnGoals || 0);
|
|
9019
|
+
}
|
|
9020
|
+
get cornerShotsBlocked() {
|
|
9021
|
+
return (this.ppCornerShotsBlocked || 0) + (this.shCornerShotsBlocked || 0) + (this.evCornerShotsBlocked || 0);
|
|
9022
|
+
}
|
|
8979
9023
|
get totalCorners() {
|
|
8980
|
-
return (this.cornerSelfs || 0) + (this.cornerPasses || 0) +
|
|
8981
|
-
|
|
8982
|
-
|
|
8983
|
-
|
|
9024
|
+
return (this.cornerSelfs || 0) + (this.cornerPasses || 0) + this.cornerShotsBlocked +
|
|
9025
|
+
this.cornerOnGoals + this.cornerShotMisses + this.totalCornerGoals;
|
|
9026
|
+
}
|
|
9027
|
+
get shotsBlocked() {
|
|
9028
|
+
return (this.ppShotsBlocked || 0) + (this.evShotsBlocked || 0) + (this.shShotsBlocked || 0) +
|
|
9029
|
+
this.counterAttackShotsBlocked + this.maneuverShotsBlocked + this.centerForwardShotsBlocked +
|
|
9030
|
+
this.freeKickShotsBlocked + this.cornerShotsBlocked;
|
|
8984
9031
|
}
|
|
8985
9032
|
get totalFouls() {
|
|
8986
9033
|
return (this.fouls || 0) + (this.penaltyFouls || 0) + (this.attackFouls || 0) + (this.personalFouls || 0) +
|
|
@@ -9134,10 +9181,6 @@ let WaterpoloGameStatistic = class WaterpoloGameStatistic extends BaseModel {
|
|
|
9134
9181
|
}
|
|
9135
9182
|
return Math.round(1000 * this.cornerSaves / this.cornerShotsAgainst) / 10;
|
|
9136
9183
|
}
|
|
9137
|
-
get totalShSaves() {
|
|
9138
|
-
return (this.shCounterAttackSaves || 0) + (this.shManeuverSaves || 0) + (this.shCenterForwardSaves || 0) +
|
|
9139
|
-
(this.shSaves || 0) + (this.shFreeKickSaves || 0) + (this.shCornerSaves || 0);
|
|
9140
|
-
}
|
|
9141
9184
|
get inGameSaves() {
|
|
9142
9185
|
return (this.shSaves || 0) + (this.evSaves || 0) + (this.ppSaves || 0) +
|
|
9143
9186
|
this.counterAttackSaves + this.maneuverSaves + this.centerForwardSaves;
|
|
@@ -9148,10 +9191,6 @@ let WaterpoloGameStatistic = class WaterpoloGameStatistic extends BaseModel {
|
|
|
9148
9191
|
get totalSaves() {
|
|
9149
9192
|
return this.saves + (this.shootoutSaves || 0);
|
|
9150
9193
|
}
|
|
9151
|
-
get totalShGoalsAgainst() {
|
|
9152
|
-
return (this.shGoalsAgainst || 0) + (this.shFreeKickGoalsAgainst || 0) + (this.shCornerGoalsAgainst || 0) +
|
|
9153
|
-
(this.shCounterAttackGoalsAgainst || 0) + (this.shManeuverGoalsAgainst || 0) + (this.shCenterForwardGoalsAgainst || 0);
|
|
9154
|
-
}
|
|
9155
9194
|
get inGameGoalsAgainst() {
|
|
9156
9195
|
return (this.goalsAgainst || 0) + (this.counterAttackGoalsAgainst || 0) + (this.maneuverGoalsAgainst || 0) +
|
|
9157
9196
|
(this.centerForwardGoalsAgainst || 0);
|
|
@@ -9189,6 +9228,40 @@ let WaterpoloGameStatistic = class WaterpoloGameStatistic extends BaseModel {
|
|
|
9189
9228
|
}
|
|
9190
9229
|
return Math.round(1000 * this.totalSaves / this.totalShotsAgainst) / 10;
|
|
9191
9230
|
}
|
|
9231
|
+
get totalShSaves() {
|
|
9232
|
+
return (this.shCounterAttackSaves || 0) + (this.shManeuverSaves || 0) + (this.shCenterForwardSaves || 0) +
|
|
9233
|
+
(this.shSaves || 0) + (this.shFreeKickSaves || 0) + (this.shCornerSaves || 0);
|
|
9234
|
+
}
|
|
9235
|
+
get totalShGoalsAgainst() {
|
|
9236
|
+
return (this.shGoalsAgainst || 0) + (this.shFreeKickGoalsAgainst || 0) + (this.shCornerGoalsAgainst || 0) +
|
|
9237
|
+
(this.shCounterAttackGoalsAgainst || 0) + (this.shManeuverGoalsAgainst || 0) + (this.shCenterForwardGoalsAgainst || 0);
|
|
9238
|
+
}
|
|
9239
|
+
get totalShShotsAgainst() {
|
|
9240
|
+
return this.totalShSaves + this.totalShGoalsAgainst;
|
|
9241
|
+
}
|
|
9242
|
+
get totalShSavesPercent() {
|
|
9243
|
+
if (!this.totalShSaves || !this.totalShShotsAgainst) {
|
|
9244
|
+
return 0;
|
|
9245
|
+
}
|
|
9246
|
+
return Math.round(1000 * this.totalShSaves / this.totalShShotsAgainst) / 10;
|
|
9247
|
+
}
|
|
9248
|
+
get totalEvSaves() {
|
|
9249
|
+
return (this.evCounterAttackSaves || 0) + (this.evManeuverSaves || 0) + (this.evCenterForwardSaves || 0) +
|
|
9250
|
+
(this.evSaves || 0) + (this.evFreeKickSaves || 0) + (this.evCornerSaves || 0);
|
|
9251
|
+
}
|
|
9252
|
+
get totalEvGoalsAgainst() {
|
|
9253
|
+
return (this.evGoalsAgainst || 0) + (this.evFreeKickGoalsAgainst || 0) + (this.evCornerGoalsAgainst || 0) +
|
|
9254
|
+
(this.evCounterAttackGoalsAgainst || 0) + (this.evManeuverGoalsAgainst || 0) + (this.evCenterForwardGoalsAgainst || 0);
|
|
9255
|
+
}
|
|
9256
|
+
get totalEvShotsAgainst() {
|
|
9257
|
+
return this.totalEvSaves + this.totalEvGoalsAgainst;
|
|
9258
|
+
}
|
|
9259
|
+
get totalEvSavesPercent() {
|
|
9260
|
+
if (!this.totalEvSaves || !this.totalEvShotsAgainst) {
|
|
9261
|
+
return 0;
|
|
9262
|
+
}
|
|
9263
|
+
return Math.round(1000 * this.totalEvSaves / this.totalEvShotsAgainst) / 10;
|
|
9264
|
+
}
|
|
9192
9265
|
static toFront(data) { }
|
|
9193
9266
|
static toBack(data) { }
|
|
9194
9267
|
};
|
|
@@ -9222,30 +9295,39 @@ WaterpoloGameStatistic = __decorate([
|
|
|
9222
9295
|
pp_counterattack_goals: 'ppCounterAttackGoals',
|
|
9223
9296
|
pp_counterattack_on_goals: 'ppCounterAttackOnGoals',
|
|
9224
9297
|
pp_counterattack_misses: 'ppCounterAttackMisses',
|
|
9298
|
+
pp_counterattack_shots_blocked: 'ppCounterAttackShotsBlocked',
|
|
9225
9299
|
ev_counterattack_goals: 'evCounterAttackGoals',
|
|
9226
9300
|
ev_counterattack_on_goals: 'evCounterAttackOnGoals',
|
|
9227
9301
|
ev_counterattack_misses: 'evCounterAttackMisses',
|
|
9302
|
+
ev_counterattack_shots_blocked: 'evCounterAttackShotsBlocked',
|
|
9228
9303
|
sh_counterattack_goals: 'shCounterAttackGoals',
|
|
9229
9304
|
sh_counterattack_on_goals: 'shCounterAttackOnGoals',
|
|
9230
9305
|
sh_counterattack_misses: 'shCounterAttackMisses',
|
|
9306
|
+
sh_counterattack_shots_blocked: 'shCounterAttackShotsBlocked',
|
|
9231
9307
|
pp_maneuver_goals: 'ppManeuverGoals',
|
|
9232
9308
|
pp_maneuver_on_goals: 'ppManeuverOnGoals',
|
|
9233
9309
|
pp_maneuver_misses: 'ppManeuverMisses',
|
|
9310
|
+
pp_maneuver_shots_blocked: 'ppManeuverShotsBlocked',
|
|
9234
9311
|
ev_maneuver_goals: 'evManeuverGoals',
|
|
9235
9312
|
ev_maneuver_on_goals: 'evManeuverOnGoals',
|
|
9236
9313
|
ev_maneuver_misses: 'evManeuverMisses',
|
|
9314
|
+
ev_maneuver_shots_blocked: 'evManeuverShotsBlocked',
|
|
9237
9315
|
sh_maneuver_goals: 'shManeuverGoals',
|
|
9238
9316
|
sh_maneuver_on_goals: 'shManeuverOnGoals',
|
|
9239
9317
|
sh_maneuver_misses: 'shManeuverMisses',
|
|
9318
|
+
sh_maneuver_shots_blocked: 'shManeuverShotsBlocked',
|
|
9240
9319
|
pp_center_forward_goals: 'ppCenterForwardGoals',
|
|
9241
9320
|
pp_center_forward_on_goals: 'ppCenterForwardOnGoals',
|
|
9242
9321
|
pp_center_forward_misses: 'ppCenterForwardMisses',
|
|
9322
|
+
pp_center_forward_shots_blocked: 'ppCenterForwardShotsBlocked',
|
|
9243
9323
|
ev_center_forward_goals: 'evCenterForwardGoals',
|
|
9244
9324
|
ev_center_forward_on_goals: 'evCenterForwardOnGoals',
|
|
9245
9325
|
ev_center_forward_misses: 'evCenterForwardMisses',
|
|
9326
|
+
ev_center_forward_shots_blocked: 'evCenterForwardShotsBlocked',
|
|
9246
9327
|
sh_center_forward_goals: 'shCenterForwardGoals',
|
|
9247
9328
|
sh_center_forward_on_goals: 'shCenterForwardOnGoals',
|
|
9248
9329
|
sh_center_forward_misses: 'shCenterForwardMisses',
|
|
9330
|
+
sh_center_forward_shots_blocked: 'shCenterForwardShotsBlocked',
|
|
9249
9331
|
pp_assists: 'ppAssists',
|
|
9250
9332
|
ev_assists: 'evAssists',
|
|
9251
9333
|
sh_assists: 'shAssists',
|
|
@@ -9326,23 +9408,29 @@ WaterpoloGameStatistic = __decorate([
|
|
|
9326
9408
|
pp_free_kick_goals: 'ppFreeKickGoals',
|
|
9327
9409
|
pp_free_kick_on_goals: 'ppFreeKickOnGoals',
|
|
9328
9410
|
pp_free_kick_misses: 'ppFreeKickMisses',
|
|
9411
|
+
pp_free_kick_shots_blocked: 'ppFreeKickShotsBlocked',
|
|
9329
9412
|
sh_free_kick_goals: 'shFreeKickGoals',
|
|
9330
9413
|
sh_free_kick_on_goals: 'shFreeKickOnGoals',
|
|
9331
9414
|
sh_free_kick_misses: 'shFreeKickMisses',
|
|
9415
|
+
sh_free_kick_shots_blocked: 'shFreeKickShotsBlocked',
|
|
9332
9416
|
ev_free_kick_goals: 'evFreeKickGoals',
|
|
9333
9417
|
ev_free_kick_on_goals: 'evFreeKickOnGoals',
|
|
9334
9418
|
ev_free_kick_misses: 'evFreeKickMisses',
|
|
9419
|
+
ev_free_kick_shots_blocked: 'evFreeKickShotsBlocked',
|
|
9335
9420
|
free_kick_passes: 'freeKickPasses',
|
|
9336
9421
|
free_kick_selfs: 'freeKickSelfs',
|
|
9337
9422
|
pp_corner_goals: 'ppCornerGoals',
|
|
9338
9423
|
pp_corner_on_goals: 'ppCornerOnGoals',
|
|
9339
9424
|
pp_corner_misses: 'ppCornerMisses',
|
|
9425
|
+
pp_corner_shots_blocked: 'ppCornerShotsBlocked',
|
|
9340
9426
|
sh_corner_goals: 'shCornerGoals',
|
|
9341
9427
|
sh_corner_on_goals: 'shCornerOnGoals',
|
|
9342
9428
|
sh_corner_misses: 'shCornerMisses',
|
|
9429
|
+
sh_corner_shots_blocked: 'shCornerShotsBlocked',
|
|
9343
9430
|
ev_corner_goals: 'evCornerGoals',
|
|
9344
9431
|
ev_corner_on_goals: 'evCornerOnGoals',
|
|
9345
9432
|
ev_corner_misses: 'evCornerMisses',
|
|
9433
|
+
ev_corner_shots_blocked: 'evCornerShotsBlocked',
|
|
9346
9434
|
corner_passes: 'cornerPasses',
|
|
9347
9435
|
corner_selfs: 'cornerSelfs',
|
|
9348
9436
|
tackles: 'tackles',
|
|
@@ -9625,15 +9713,18 @@ const WaterpoloGameLogTypeLocalization = {
|
|
|
9625
9713
|
[WaterpoloGameLogTypes.exit_game]: 'Ушел с площадки',
|
|
9626
9714
|
[WaterpoloGameLogTypes.shot_miss]: 'Бросок мимо',
|
|
9627
9715
|
[WaterpoloGameLogTypes.counterattack_miss]: 'Бросок мимо в контратаке',
|
|
9628
|
-
[WaterpoloGameLogTypes.maneuver_miss]: 'Бросок мимо
|
|
9716
|
+
[WaterpoloGameLogTypes.maneuver_miss]: 'Бросок мимо с маневра',
|
|
9629
9717
|
[WaterpoloGameLogTypes.center_forward_miss]: 'Бросок мимо со столба',
|
|
9630
9718
|
[WaterpoloGameLogTypes.shot_on_goal]: 'Бросок по воротам',
|
|
9631
9719
|
[WaterpoloGameLogTypes.counterattack_on_goal]: 'Бросок по воротам в контратаке',
|
|
9632
|
-
[WaterpoloGameLogTypes.maneuver_on_goal]: 'Бросок по воротам
|
|
9720
|
+
[WaterpoloGameLogTypes.maneuver_on_goal]: 'Бросок по воротам с маневра',
|
|
9633
9721
|
[WaterpoloGameLogTypes.center_forward_on_goal]: 'Бросок по воротам со столба',
|
|
9634
|
-
[WaterpoloGameLogTypes.shot_blocked]: '
|
|
9722
|
+
[WaterpoloGameLogTypes.shot_blocked]: 'Заблокирован бросок',
|
|
9723
|
+
[WaterpoloGameLogTypes.counter_attack_shot_blocked]: 'Заблокирован бросок в контратаке',
|
|
9724
|
+
[WaterpoloGameLogTypes.maneuver_shot_blocked]: 'Заблокирован бросок с маневра',
|
|
9725
|
+
[WaterpoloGameLogTypes.center_forward_shot_blocked]: 'Заблокирован бросок со столба',
|
|
9635
9726
|
[WaterpoloGameLogTypes.goal]: 'Гол',
|
|
9636
|
-
[WaterpoloGameLogTypes.maneuver_goal]: 'Гол
|
|
9727
|
+
[WaterpoloGameLogTypes.maneuver_goal]: 'Гол с маневра',
|
|
9637
9728
|
[WaterpoloGameLogTypes.counterattack_goal]: 'Гол в контратаке',
|
|
9638
9729
|
[WaterpoloGameLogTypes.center_forward_goal]: 'Гол со столба',
|
|
9639
9730
|
[WaterpoloGameLogTypes.shootout_attempt]: 'Пенальти промах',
|
|
@@ -9658,8 +9749,8 @@ const WaterpoloGameLogTypeLocalization = {
|
|
|
9658
9749
|
[WaterpoloGameLogTypes.center_forward_save]: 'Отражен бросок со столба',
|
|
9659
9750
|
[WaterpoloGameLogTypes.free_kick_save]: 'Отражен бросок со свободного',
|
|
9660
9751
|
[WaterpoloGameLogTypes.corner_save]: 'Отражен бросок с углового',
|
|
9661
|
-
[WaterpoloGameLogTypes.shootout_save]: 'Отражен бросок',
|
|
9662
|
-
[WaterpoloGameLogTypes.after_game_shootout_save]: 'Отражен бросок',
|
|
9752
|
+
[WaterpoloGameLogTypes.shootout_save]: 'Отражен бросок с пенальти',
|
|
9753
|
+
[WaterpoloGameLogTypes.after_game_shootout_save]: 'Отражен бросок с пенальти',
|
|
9663
9754
|
[WaterpoloGameLogTypes.timeout]: 'Таймаут',
|
|
9664
9755
|
[WaterpoloGameLogTypes.penalty_start]: 'Начало штрафного времени',
|
|
9665
9756
|
[WaterpoloGameLogTypes.penalty_end]: 'Конец штрафного времени',
|
|
@@ -9669,16 +9760,18 @@ const WaterpoloGameLogTypeLocalization = {
|
|
|
9669
9760
|
[WaterpoloGameLogTypes.loss]: 'Потеря',
|
|
9670
9761
|
[WaterpoloGameLogTypes.steal]: 'Перехват',
|
|
9671
9762
|
[WaterpoloGameLogTypes.tackle]: 'Отбор',
|
|
9672
|
-
[WaterpoloGameLogTypes.free_kick_goal]: '
|
|
9673
|
-
[WaterpoloGameLogTypes.free_kick_on_goal]: '
|
|
9674
|
-
[WaterpoloGameLogTypes.free_kick_miss]: '
|
|
9675
|
-
[WaterpoloGameLogTypes.
|
|
9676
|
-
[WaterpoloGameLogTypes.
|
|
9677
|
-
[WaterpoloGameLogTypes.
|
|
9678
|
-
[WaterpoloGameLogTypes.
|
|
9679
|
-
[WaterpoloGameLogTypes.
|
|
9680
|
-
[WaterpoloGameLogTypes.
|
|
9681
|
-
[WaterpoloGameLogTypes.
|
|
9763
|
+
[WaterpoloGameLogTypes.free_kick_goal]: 'Гол со свободного удара',
|
|
9764
|
+
[WaterpoloGameLogTypes.free_kick_on_goal]: 'Бросок со свободного удара в створ',
|
|
9765
|
+
[WaterpoloGameLogTypes.free_kick_miss]: 'Бросок мимо со свободного удара',
|
|
9766
|
+
[WaterpoloGameLogTypes.free_kick_shot_blocked]: 'Заблокирован бросок со свободного удара',
|
|
9767
|
+
[WaterpoloGameLogTypes.free_kick_pass]: 'Пас со свободного удара',
|
|
9768
|
+
[WaterpoloGameLogTypes.free_kick_self]: 'Розыгрыш свободного удара',
|
|
9769
|
+
[WaterpoloGameLogTypes.corner_goal]: 'Гол с углового',
|
|
9770
|
+
[WaterpoloGameLogTypes.corner_on_goal]: 'Бросок с углового в створ',
|
|
9771
|
+
[WaterpoloGameLogTypes.corner_miss]: 'Бросок мимо с углового',
|
|
9772
|
+
[WaterpoloGameLogTypes.corner_shot_blocked]: 'Заблокирован бросок с углового',
|
|
9773
|
+
[WaterpoloGameLogTypes.corner_pass]: 'Пас с углового',
|
|
9774
|
+
[WaterpoloGameLogTypes.corner_self]: 'Розыгрыш углового'
|
|
9682
9775
|
};
|
|
9683
9776
|
|
|
9684
9777
|
const OvertimeTypeLocalization = {
|