@mtgame/core 0.0.21 → 0.0.22

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.
@@ -2309,6 +2309,8 @@ var HockeyGameLogTypes;
2309
2309
  HockeyGameLogTypes[HockeyGameLogTypes["face_off_win"] = 18] = "face_off_win";
2310
2310
  HockeyGameLogTypes[HockeyGameLogTypes["save"] = 19] = "save";
2311
2311
  HockeyGameLogTypes[HockeyGameLogTypes["timeout"] = 20] = "timeout";
2312
+ HockeyGameLogTypes[HockeyGameLogTypes["penalty_start"] = 21] = "penalty_start";
2313
+ HockeyGameLogTypes[HockeyGameLogTypes["penalty_end"] = 22] = "penalty_end";
2312
2314
  })(HockeyGameLogTypes || (HockeyGameLogTypes = {}));
2313
2315
  var HockeyAdvantageTypes;
2314
2316
  (function (HockeyAdvantageTypes) {
@@ -2323,6 +2325,19 @@ var HockeyGameLog = /** @class */ (function (_super) {
2323
2325
  _this.active = true;
2324
2326
  return _this;
2325
2327
  }
2328
+ Object.defineProperty(HockeyGameLog.prototype, "penalizedGameUserId", {
2329
+ get: function () {
2330
+ if (this._penalizedGameUserId) {
2331
+ return this._penalizedGameUserId;
2332
+ }
2333
+ return this.gameUserId;
2334
+ },
2335
+ set: function (value) {
2336
+ this._penalizedGameUserId = value;
2337
+ },
2338
+ enumerable: true,
2339
+ configurable: true
2340
+ });
2326
2341
  HockeyGameLog.prototype.compare = function (model) {
2327
2342
  if (this.time === model.time && this.period === model.period) {
2328
2343
  return this.datetime.getTime() < model.datetime.getTime() ? 1 : -1;
@@ -2384,7 +2399,8 @@ var HockeyGameLog = /** @class */ (function (_super) {
2384
2399
  is_highlight: 'isHighlight',
2385
2400
  advantage: 'advantage',
2386
2401
  is_goalie: 'isGoalie',
2387
- penalty_type: 'penaltyType'
2402
+ penalty_type: 'penaltyType',
2403
+ penalized_game_user_id: 'penalizedGameUserId',
2388
2404
  },
2389
2405
  relation: {
2390
2406
  datetime: DateTimeField,
@@ -5905,6 +5921,8 @@ var HockeyGameLogTypeLocalization = (_a$2 = {},
5905
5921
  _a$2[HockeyGameLogTypes.face_off_win] = 'Победа в вбрасывании',
5906
5922
  _a$2[HockeyGameLogTypes.save] = 'Отражен бросок',
5907
5923
  _a$2[HockeyGameLogTypes.timeout] = 'Таймаут',
5924
+ _a$2[HockeyGameLogTypes.penalty_start] = 'Начало штрафного времени',
5925
+ _a$2[HockeyGameLogTypes.penalty_end] = 'Конец штрафного времени',
5908
5926
  _a$2);
5909
5927
 
5910
5928
  var _a$3;