@mtgame/core 0.0.13 → 0.0.14
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 +4 -2
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/bundles/mtgame-core.umd.min.js +1 -1
- package/bundles/mtgame-core.umd.min.js.map +1 -1
- package/esm2015/localization/hockey-game-log-types.js +4 -3
- package/esm2015/models/hockey-game-log.js +2 -1
- package/esm2015/models/hockey-game-statistic.js +2 -2
- package/esm5/localization/hockey-game-log-types.js +3 -2
- package/esm5/models/hockey-game-log.js +2 -1
- package/esm5/models/hockey-game-statistic.js +2 -2
- package/fesm2015/mtgame-core.js +5 -3
- package/fesm2015/mtgame-core.js.map +1 -1
- package/fesm5/mtgame-core.js +4 -2
- package/fesm5/mtgame-core.js.map +1 -1
- package/localization/hockey-game-log-types.d.ts +1 -0
- package/models/hockey-game-log.d.ts +2 -1
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -2438,6 +2438,7 @@
|
|
|
2438
2438
|
HockeyGameLogTypes[HockeyGameLogTypes["face_off_lose"] = 17] = "face_off_lose";
|
|
2439
2439
|
HockeyGameLogTypes[HockeyGameLogTypes["face_off_win"] = 18] = "face_off_win";
|
|
2440
2440
|
HockeyGameLogTypes[HockeyGameLogTypes["save"] = 19] = "save";
|
|
2441
|
+
HockeyGameLogTypes[HockeyGameLogTypes["timeout"] = 20] = "timeout";
|
|
2441
2442
|
})(exports.HockeyGameLogTypes || (exports.HockeyGameLogTypes = {}));
|
|
2442
2443
|
|
|
2443
2444
|
(function (HockeyAdvantageTypes) {
|
|
@@ -2543,7 +2544,7 @@
|
|
|
2543
2544
|
});
|
|
2544
2545
|
Object.defineProperty(HockeyGameStatistic.prototype, "shots", {
|
|
2545
2546
|
get: function () {
|
|
2546
|
-
return this.ppShots + this.evShots + this.shShots;
|
|
2547
|
+
return this.goals + this.ppShots + this.evShots + this.shShots;
|
|
2547
2548
|
},
|
|
2548
2549
|
enumerable: true,
|
|
2549
2550
|
configurable: true
|
|
@@ -5979,7 +5980,7 @@
|
|
|
5979
5980
|
_a$2[exports.HockeyGameLogTypes.shootout_goal] = 'Булит гол',
|
|
5980
5981
|
_a$2[exports.HockeyGameLogTypes.assist] = 'Передача',
|
|
5981
5982
|
_a$2[exports.HockeyGameLogTypes.block_shot] = 'Блокировка броска',
|
|
5982
|
-
_a$2[exports.HockeyGameLogTypes.minor_penalty] = '
|
|
5983
|
+
_a$2[exports.HockeyGameLogTypes.minor_penalty] = 'Малый штраф',
|
|
5983
5984
|
_a$2[exports.HockeyGameLogTypes.major_penalty] = 'Большой штраф',
|
|
5984
5985
|
_a$2[exports.HockeyGameLogTypes.misconduct_penalty] = 'Дисциплинарный штраф',
|
|
5985
5986
|
_a$2[exports.HockeyGameLogTypes.game_misconduct_penalty] = 'Дисциплинарный штраф до конца игры',
|
|
@@ -5988,6 +5989,7 @@
|
|
|
5988
5989
|
_a$2[exports.HockeyGameLogTypes.face_off_lose] = 'Проирыш в вбрасывании',
|
|
5989
5990
|
_a$2[exports.HockeyGameLogTypes.face_off_win] = 'Победа в вбрасывании',
|
|
5990
5991
|
_a$2[exports.HockeyGameLogTypes.save] = 'Отражен бросок',
|
|
5992
|
+
_a$2[exports.HockeyGameLogTypes.timeout] = 'Таймаут',
|
|
5991
5993
|
_a$2);
|
|
5992
5994
|
|
|
5993
5995
|
var _a$3;
|