@mtgame/core 0.1.42 → 0.1.43

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.
@@ -1789,6 +1789,16 @@ var RugbyGameConfig = /** @class */ (function (_super) {
1789
1789
  function RugbyGameConfig() {
1790
1790
  return _super !== null && _super.apply(this, arguments) || this;
1791
1791
  }
1792
+ Object.defineProperty(RugbyGameConfig.prototype, "penaltyPeriod", {
1793
+ get: function () {
1794
+ if (this.overtimeType !== OvertimeTypes.time_and_penalties) {
1795
+ return +this.periodsCount + 1;
1796
+ }
1797
+ return +this.periodsCount + this.overtimePeriods + 1;
1798
+ },
1799
+ enumerable: true,
1800
+ configurable: true
1801
+ });
1792
1802
  RugbyGameConfig.toFront = function (data) { };
1793
1803
  RugbyGameConfig.toBack = function (data) { };
1794
1804
  __decorate([
@@ -2352,7 +2362,11 @@ var TournamentTeam = /** @class */ (function (_super) {
2352
2362
  lose_normal_time_games_count: 'loseNormalTimeGamesCount',
2353
2363
  win_overtime_games_count: 'winOvertimeGamesCount',
2354
2364
  lose_overtime_games_count: 'loseOvertimeGamesCount',
2355
- last_five_games: 'lastFiveGames'
2365
+ last_five_games: 'lastFiveGames',
2366
+ tries_scored: 'triesScored',
2367
+ tries_missed: 'triesMissed',
2368
+ attack_bonuses: 'attackBonuses',
2369
+ defense_bonuses: 'defenseBonuses',
2356
2370
  },
2357
2371
  relation: {
2358
2372
  logo: File,
@@ -7130,20 +7144,22 @@ var RugbyGameLogTypes;
7130
7144
  RugbyGameLogTypes[RugbyGameLogTypes["carries_other_gainline"] = 20] = "carries_other_gainline";
7131
7145
  RugbyGameLogTypes[RugbyGameLogTypes["bleeding_injury"] = 21] = "bleeding_injury";
7132
7146
  RugbyGameLogTypes[RugbyGameLogTypes["head_injury"] = 22] = "head_injury";
7147
+ RugbyGameLogTypes[RugbyGameLogTypes["end_game_penalty_miss"] = 23] = "end_game_penalty_miss";
7148
+ RugbyGameLogTypes[RugbyGameLogTypes["end_game_penalty_goal"] = 24] = "end_game_penalty_goal";
7133
7149
  // team actions
7134
- RugbyGameLogTypes[RugbyGameLogTypes["timeout"] = 23] = "timeout";
7135
- RugbyGameLogTypes[RugbyGameLogTypes["scrum_won"] = 24] = "scrum_won";
7136
- RugbyGameLogTypes[RugbyGameLogTypes["scrum_lose"] = 25] = "scrum_lose";
7137
- RugbyGameLogTypes[RugbyGameLogTypes["scrum_won_free"] = 26] = "scrum_won_free";
7138
- RugbyGameLogTypes[RugbyGameLogTypes["lineout_success"] = 27] = "lineout_success";
7139
- RugbyGameLogTypes[RugbyGameLogTypes["lineout_loss"] = 28] = "lineout_loss";
7140
- RugbyGameLogTypes[RugbyGameLogTypes["lineout_steal"] = 29] = "lineout_steal";
7141
- RugbyGameLogTypes[RugbyGameLogTypes["quick_throw"] = 30] = "quick_throw";
7142
- RugbyGameLogTypes[RugbyGameLogTypes["ruck_won"] = 31] = "ruck_won";
7143
- RugbyGameLogTypes[RugbyGameLogTypes["ruck_lose"] = 32] = "ruck_lose";
7144
- RugbyGameLogTypes[RugbyGameLogTypes["maul_won"] = 33] = "maul_won";
7145
- RugbyGameLogTypes[RugbyGameLogTypes["maul_lose"] = 34] = "maul_lose";
7146
- RugbyGameLogTypes[RugbyGameLogTypes["team_foul"] = 35] = "team_foul";
7150
+ RugbyGameLogTypes[RugbyGameLogTypes["timeout"] = 25] = "timeout";
7151
+ RugbyGameLogTypes[RugbyGameLogTypes["scrum_won"] = 26] = "scrum_won";
7152
+ RugbyGameLogTypes[RugbyGameLogTypes["scrum_lose"] = 27] = "scrum_lose";
7153
+ RugbyGameLogTypes[RugbyGameLogTypes["scrum_won_free"] = 28] = "scrum_won_free";
7154
+ RugbyGameLogTypes[RugbyGameLogTypes["lineout_success"] = 29] = "lineout_success";
7155
+ RugbyGameLogTypes[RugbyGameLogTypes["lineout_loss"] = 30] = "lineout_loss";
7156
+ RugbyGameLogTypes[RugbyGameLogTypes["lineout_steal"] = 31] = "lineout_steal";
7157
+ RugbyGameLogTypes[RugbyGameLogTypes["quick_throw"] = 32] = "quick_throw";
7158
+ RugbyGameLogTypes[RugbyGameLogTypes["ruck_won"] = 33] = "ruck_won";
7159
+ RugbyGameLogTypes[RugbyGameLogTypes["ruck_lose"] = 34] = "ruck_lose";
7160
+ RugbyGameLogTypes[RugbyGameLogTypes["maul_won"] = 35] = "maul_won";
7161
+ RugbyGameLogTypes[RugbyGameLogTypes["maul_lose"] = 36] = "maul_lose";
7162
+ RugbyGameLogTypes[RugbyGameLogTypes["team_foul"] = 37] = "team_foul";
7147
7163
  })(RugbyGameLogTypes || (RugbyGameLogTypes = {}));
7148
7164
  var RUGBY_GAME_LOG_TYPE_POINTS = (_a$1 = {},
7149
7165
  _a$1[RugbyGameLogTypes.penalty_try] = 7,
@@ -9158,6 +9174,8 @@ var RugbyGameLogTypeLocalization = (_a$8 = {},
9158
9174
  _a$8[RugbyGameLogTypes.carries_other_gainline] = 'Прорыв линии',
9159
9175
  _a$8[RugbyGameLogTypes.bleeding_injury] = 'Кровоточащая травма',
9160
9176
  _a$8[RugbyGameLogTypes.head_injury] = 'Травма головы',
9177
+ _a$8[RugbyGameLogTypes.end_game_penalty_miss] = 'Штрафной промах',
9178
+ _a$8[RugbyGameLogTypes.end_game_penalty_goal] = 'Штрафной гол',
9161
9179
  _a$8[RugbyGameLogTypes.timeout] = 'Таймаут',
9162
9180
  _a$8[RugbyGameLogTypes.scrum_won] = 'Свахтка выиграна',
9163
9181
  _a$8[RugbyGameLogTypes.scrum_lose] = 'Схватка проиграна',