@mtgame/core 0.2.30 → 0.2.32
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 +22 -19
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/esm2015/localization/rugby-foul-sanction.js +2 -2
- package/esm2015/models/rugby-game-log.js +19 -18
- package/esm2015/models/rugby-game-statistic.js +3 -2
- package/esm2015/models/rugby-statistic.js +2 -1
- package/fesm2015/mtgame-core.js +22 -19
- package/fesm2015/mtgame-core.js.map +1 -1
- package/localization/rugby-game-log-types.d.ts +3 -3
- package/models/rugby-game-log.d.ts +18 -17
- package/models/rugby-game-statistic.d.ts +1 -0
- package/models/rugby-statistic.d.ts +1 -0
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -6579,6 +6579,7 @@
|
|
|
6579
6579
|
foot_field_shots: 'footFieldShots',
|
|
6580
6580
|
foot_out_shots: 'footOutShots',
|
|
6581
6581
|
foot_shots: 'footShots',
|
|
6582
|
+
foot_kicks_50_22: 'footKicks5022',
|
|
6582
6583
|
plus_minus: 'plusMinus',
|
|
6583
6584
|
game_time: 'gameTime',
|
|
6584
6585
|
// Team statistic
|
|
@@ -9112,7 +9113,7 @@
|
|
|
9112
9113
|
});
|
|
9113
9114
|
Object.defineProperty(RugbyGameStatistic.prototype, "footShots", {
|
|
9114
9115
|
get: function () {
|
|
9115
|
-
return (this.footFieldShots || 0) + (this.footOutShots || 0);
|
|
9116
|
+
return (this.footFieldShots || 0) + (this.footOutShots || 0) + (this.footKicks5022 || 0);
|
|
9116
9117
|
},
|
|
9117
9118
|
enumerable: false,
|
|
9118
9119
|
configurable: true
|
|
@@ -9157,6 +9158,7 @@
|
|
|
9157
9158
|
carries_over_gainline: 'carriesOverGainline',
|
|
9158
9159
|
foot_field_shots: 'footFieldShots',
|
|
9159
9160
|
foot_out_shots: 'footOutShots',
|
|
9161
|
+
foot_kicks_50_22: 'footKicks5022',
|
|
9160
9162
|
fouls: 'fouls',
|
|
9161
9163
|
team_fouls: 'teamFouls',
|
|
9162
9164
|
game_time: 'gameTime',
|
|
@@ -9250,24 +9252,25 @@
|
|
|
9250
9252
|
RugbyGameLogTypes[RugbyGameLogTypes["end_game_penalty_goal"] = 22] = "end_game_penalty_goal";
|
|
9251
9253
|
RugbyGameLogTypes[RugbyGameLogTypes["foot_field_shot"] = 23] = "foot_field_shot";
|
|
9252
9254
|
RugbyGameLogTypes[RugbyGameLogTypes["foot_out_shot"] = 24] = "foot_out_shot";
|
|
9255
|
+
RugbyGameLogTypes[RugbyGameLogTypes["foot_kick_50_22"] = 25] = "foot_kick_50_22";
|
|
9253
9256
|
// team actions
|
|
9254
|
-
RugbyGameLogTypes[RugbyGameLogTypes["timeout"] =
|
|
9255
|
-
RugbyGameLogTypes[RugbyGameLogTypes["tap_penalty"] =
|
|
9256
|
-
RugbyGameLogTypes[RugbyGameLogTypes["penalty_kick_to_touch"] =
|
|
9257
|
-
RugbyGameLogTypes[RugbyGameLogTypes["scrum_won"] =
|
|
9258
|
-
RugbyGameLogTypes[RugbyGameLogTypes["scrum_lost"] =
|
|
9259
|
-
RugbyGameLogTypes[RugbyGameLogTypes["scrum_won_free"] =
|
|
9260
|
-
RugbyGameLogTypes[RugbyGameLogTypes["lineout_won"] =
|
|
9261
|
-
RugbyGameLogTypes[RugbyGameLogTypes["lineout_lost"] =
|
|
9262
|
-
RugbyGameLogTypes[RugbyGameLogTypes["quick_throw"] =
|
|
9263
|
-
RugbyGameLogTypes[RugbyGameLogTypes["ruck_won"] =
|
|
9264
|
-
RugbyGameLogTypes[RugbyGameLogTypes["ruck_lost"] =
|
|
9265
|
-
RugbyGameLogTypes[RugbyGameLogTypes["maul_won"] =
|
|
9266
|
-
RugbyGameLogTypes[RugbyGameLogTypes["maul_lost"] =
|
|
9267
|
-
RugbyGameLogTypes[RugbyGameLogTypes["team_foul"] =
|
|
9268
|
-
RugbyGameLogTypes[RugbyGameLogTypes["start_kick"] =
|
|
9269
|
-
RugbyGameLogTypes[RugbyGameLogTypes["twenty_two_meters_kick"] =
|
|
9270
|
-
RugbyGameLogTypes[RugbyGameLogTypes["goal_kick"] =
|
|
9257
|
+
RugbyGameLogTypes[RugbyGameLogTypes["timeout"] = 26] = "timeout";
|
|
9258
|
+
RugbyGameLogTypes[RugbyGameLogTypes["tap_penalty"] = 27] = "tap_penalty";
|
|
9259
|
+
RugbyGameLogTypes[RugbyGameLogTypes["penalty_kick_to_touch"] = 28] = "penalty_kick_to_touch";
|
|
9260
|
+
RugbyGameLogTypes[RugbyGameLogTypes["scrum_won"] = 29] = "scrum_won";
|
|
9261
|
+
RugbyGameLogTypes[RugbyGameLogTypes["scrum_lost"] = 30] = "scrum_lost";
|
|
9262
|
+
RugbyGameLogTypes[RugbyGameLogTypes["scrum_won_free"] = 31] = "scrum_won_free";
|
|
9263
|
+
RugbyGameLogTypes[RugbyGameLogTypes["lineout_won"] = 32] = "lineout_won";
|
|
9264
|
+
RugbyGameLogTypes[RugbyGameLogTypes["lineout_lost"] = 33] = "lineout_lost";
|
|
9265
|
+
RugbyGameLogTypes[RugbyGameLogTypes["quick_throw"] = 34] = "quick_throw";
|
|
9266
|
+
RugbyGameLogTypes[RugbyGameLogTypes["ruck_won"] = 35] = "ruck_won";
|
|
9267
|
+
RugbyGameLogTypes[RugbyGameLogTypes["ruck_lost"] = 36] = "ruck_lost";
|
|
9268
|
+
RugbyGameLogTypes[RugbyGameLogTypes["maul_won"] = 37] = "maul_won";
|
|
9269
|
+
RugbyGameLogTypes[RugbyGameLogTypes["maul_lost"] = 38] = "maul_lost";
|
|
9270
|
+
RugbyGameLogTypes[RugbyGameLogTypes["team_foul"] = 39] = "team_foul";
|
|
9271
|
+
RugbyGameLogTypes[RugbyGameLogTypes["start_kick"] = 40] = "start_kick";
|
|
9272
|
+
RugbyGameLogTypes[RugbyGameLogTypes["twenty_two_meters_kick"] = 41] = "twenty_two_meters_kick";
|
|
9273
|
+
RugbyGameLogTypes[RugbyGameLogTypes["goal_kick"] = 42] = "goal_kick";
|
|
9271
9274
|
})(exports.RugbyGameLogTypes || (exports.RugbyGameLogTypes = {}));
|
|
9272
9275
|
var RUGBY_GAME_LOG_TYPE_POINTS = (_a$g = {},
|
|
9273
9276
|
_a$g[exports.RugbyGameLogTypes.penalty_try] = 7,
|
|
@@ -13032,7 +13035,7 @@
|
|
|
13032
13035
|
var _a$8;
|
|
13033
13036
|
var RugbyFoulSanctionLocalization = (_a$8 = {},
|
|
13034
13037
|
_a$8[exports.RugbyFoulSanctions.scrum] = 'Схватка',
|
|
13035
|
-
_a$8[exports.RugbyFoulSanctions.lineout] = '
|
|
13038
|
+
_a$8[exports.RugbyFoulSanctions.lineout] = 'Коридор',
|
|
13036
13039
|
_a$8[exports.RugbyFoulSanctions.start_kick] = 'Начальный удар',
|
|
13037
13040
|
_a$8[exports.RugbyFoulSanctions.free_kick] = 'Свободный удар',
|
|
13038
13041
|
_a$8[exports.RugbyFoulSanctions.penalty_shot] = 'Штрафной удар',
|