@mtgame/core 0.2.98 → 0.2.100

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.
@@ -2107,7 +2107,24 @@
2107
2107
  });
2108
2108
  Object.defineProperty(HockeyGameConfig.prototype, "playoffBullitsPeriod", {
2109
2109
  get: function () {
2110
- return this.periodsCount + 3;
2110
+ if (this.playoffSeriesOvertimeType === exports.OvertimeTypes.to_first_goal_and_bullitts) {
2111
+ return this.periodsCount + 4;
2112
+ }
2113
+ else {
2114
+ return this.periodsCount + 3;
2115
+ }
2116
+ },
2117
+ enumerable: false,
2118
+ configurable: true
2119
+ });
2120
+ Object.defineProperty(HockeyGameConfig.prototype, "playoffOvertimePeriod", {
2121
+ get: function () {
2122
+ if (this.playoffSeriesOvertimeType === exports.OvertimeTypes.to_first_goal_and_bullitts) {
2123
+ return this.periodsCount + 3;
2124
+ }
2125
+ else {
2126
+ return null;
2127
+ }
2111
2128
  },
2112
2129
  enumerable: false,
2113
2130
  configurable: true
@@ -2138,10 +2155,13 @@
2138
2155
  misconduct_penalty_time: 'misconductPenaltyTime',
2139
2156
  game_misconduct_penalty_time: 'gameMisconductPenaltyTime',
2140
2157
  match_penalty_time: 'matchPenaltyTime',
2158
+ playoff_series_overtime_type: 'playoffSeriesOvertimeType',
2159
+ playoff_series_overtime_time: 'playoffSeriesOvertimeTime',
2141
2160
  },
2142
2161
  relation: {
2143
2162
  overtimeType: enumField(exports.OvertimeTypes),
2144
2163
  gameTimeType: enumField(exports.GameTimeTypes),
2164
+ playoffSeriesType: enumField(exports.OvertimeTypes),
2145
2165
  }
2146
2166
  })
2147
2167
  ], exports.HockeyGameConfig);