@mtgame/core 0.1.123 → 0.1.125

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.
@@ -6134,6 +6134,7 @@
6134
6134
  drop_goals: 'dropGoals',
6135
6135
  drop_goal_misses: 'dropGoalMisses',
6136
6136
  drop_goals_percent: 'dropGoalsPercent',
6137
+ total_goals: 'totalGoals',
6137
6138
  free_kicks: 'freeKicks',
6138
6139
  yellow_cards: 'yellowCards',
6139
6140
  red_cards: 'redCards',
@@ -6141,6 +6142,9 @@
6141
6142
  tackles: 'tackles',
6142
6143
  handling_errors: 'handlingErrors',
6143
6144
  carries_over_gainline: 'carriesOverGainline',
6145
+ foot_field_shots: 'footFieldShots',
6146
+ foot_out_shots: 'footOutShots',
6147
+ foot_shots: 'footShots',
6144
6148
  plus_minus: 'plusMinus',
6145
6149
  game_time: 'gameTime',
6146
6150
  // Team statistic
@@ -8329,6 +8333,20 @@
8329
8333
  enumerable: false,
8330
8334
  configurable: true
8331
8335
  });
8336
+ Object.defineProperty(RugbyGameStatistic.prototype, "totalGoals", {
8337
+ get: function () {
8338
+ return (this.conversionGoals || 0) + (this.dropGoals || 0) + (this.penaltyGoals || 0);
8339
+ },
8340
+ enumerable: false,
8341
+ configurable: true
8342
+ });
8343
+ Object.defineProperty(RugbyGameStatistic.prototype, "footShots", {
8344
+ get: function () {
8345
+ return (this.footFieldShots || 0) + (this.footOutShots || 0);
8346
+ },
8347
+ enumerable: false,
8348
+ configurable: true
8349
+ });
8332
8350
  RugbyGameStatistic.toFront = function (data) { };
8333
8351
  RugbyGameStatistic.toBack = function (data) { };
8334
8352
  return RugbyGameStatistic;
@@ -8366,6 +8384,8 @@
8366
8384
  tackles: 'tackles',
8367
8385
  handling_errors: 'handlingErrors',
8368
8386
  carries_over_gainline: 'carriesOverGainline',
8387
+ foot_field_shots: 'footFieldShots',
8388
+ foot_out_shots: 'footOutShots',
8369
8389
  game_time: 'gameTime',
8370
8390
  plus_minus: 'plusMinus'
8371
8391
  },
@@ -8437,21 +8457,26 @@
8437
8457
  RugbyGameLogTypes[RugbyGameLogTypes["head_injury"] = 20] = "head_injury";
8438
8458
  RugbyGameLogTypes[RugbyGameLogTypes["end_game_penalty_miss"] = 21] = "end_game_penalty_miss";
8439
8459
  RugbyGameLogTypes[RugbyGameLogTypes["end_game_penalty_goal"] = 22] = "end_game_penalty_goal";
8460
+ RugbyGameLogTypes[RugbyGameLogTypes["foot_field_shot"] = 23] = "foot_field_shot";
8461
+ RugbyGameLogTypes[RugbyGameLogTypes["foot_out_shot"] = 24] = "foot_out_shot";
8440
8462
  // team actions
8441
- RugbyGameLogTypes[RugbyGameLogTypes["timeout"] = 23] = "timeout";
8442
- RugbyGameLogTypes[RugbyGameLogTypes["tap_penalty"] = 24] = "tap_penalty";
8443
- RugbyGameLogTypes[RugbyGameLogTypes["penalty_kick_to_touch"] = 25] = "penalty_kick_to_touch";
8444
- RugbyGameLogTypes[RugbyGameLogTypes["scrum_won"] = 26] = "scrum_won";
8445
- RugbyGameLogTypes[RugbyGameLogTypes["scrum_lost"] = 27] = "scrum_lost";
8446
- RugbyGameLogTypes[RugbyGameLogTypes["scrum_won_free"] = 28] = "scrum_won_free";
8447
- RugbyGameLogTypes[RugbyGameLogTypes["lineout_won"] = 29] = "lineout_won";
8448
- RugbyGameLogTypes[RugbyGameLogTypes["lineout_lost"] = 30] = "lineout_lost";
8449
- RugbyGameLogTypes[RugbyGameLogTypes["quick_throw"] = 31] = "quick_throw";
8450
- RugbyGameLogTypes[RugbyGameLogTypes["ruck_won"] = 32] = "ruck_won";
8451
- RugbyGameLogTypes[RugbyGameLogTypes["ruck_lost"] = 33] = "ruck_lost";
8452
- RugbyGameLogTypes[RugbyGameLogTypes["maul_won"] = 34] = "maul_won";
8453
- RugbyGameLogTypes[RugbyGameLogTypes["maul_lost"] = 35] = "maul_lost";
8454
- RugbyGameLogTypes[RugbyGameLogTypes["team_foul"] = 36] = "team_foul";
8463
+ RugbyGameLogTypes[RugbyGameLogTypes["timeout"] = 25] = "timeout";
8464
+ RugbyGameLogTypes[RugbyGameLogTypes["tap_penalty"] = 26] = "tap_penalty";
8465
+ RugbyGameLogTypes[RugbyGameLogTypes["penalty_kick_to_touch"] = 27] = "penalty_kick_to_touch";
8466
+ RugbyGameLogTypes[RugbyGameLogTypes["scrum_won"] = 28] = "scrum_won";
8467
+ RugbyGameLogTypes[RugbyGameLogTypes["scrum_lost"] = 29] = "scrum_lost";
8468
+ RugbyGameLogTypes[RugbyGameLogTypes["scrum_won_free"] = 30] = "scrum_won_free";
8469
+ RugbyGameLogTypes[RugbyGameLogTypes["lineout_won"] = 31] = "lineout_won";
8470
+ RugbyGameLogTypes[RugbyGameLogTypes["lineout_lost"] = 32] = "lineout_lost";
8471
+ RugbyGameLogTypes[RugbyGameLogTypes["quick_throw"] = 33] = "quick_throw";
8472
+ RugbyGameLogTypes[RugbyGameLogTypes["ruck_won"] = 34] = "ruck_won";
8473
+ RugbyGameLogTypes[RugbyGameLogTypes["ruck_lost"] = 35] = "ruck_lost";
8474
+ RugbyGameLogTypes[RugbyGameLogTypes["maul_won"] = 36] = "maul_won";
8475
+ RugbyGameLogTypes[RugbyGameLogTypes["maul_lost"] = 37] = "maul_lost";
8476
+ RugbyGameLogTypes[RugbyGameLogTypes["team_foul"] = 38] = "team_foul";
8477
+ RugbyGameLogTypes[RugbyGameLogTypes["start_kick"] = 39] = "start_kick";
8478
+ RugbyGameLogTypes[RugbyGameLogTypes["twenty_two_meters_kick"] = 40] = "twenty_two_meters_kick";
8479
+ RugbyGameLogTypes[RugbyGameLogTypes["goal_kick"] = 41] = "goal_kick";
8455
8480
  })(exports.RugbyGameLogTypes || (exports.RugbyGameLogTypes = {}));
8456
8481
  var RUGBY_GAME_LOG_TYPE_POINTS = (_a$f = {},
8457
8482
  _a$f[exports.RugbyGameLogTypes.penalty_try] = 7,
@@ -11223,8 +11248,8 @@
11223
11248
 
11224
11249
  var _a$6;
11225
11250
  var RugbyGameLogTypeLocalization = (_a$6 = {},
11226
- _a$6[exports.RugbyGameLogTypes.enter_game] = 'Выход на площадку',
11227
- _a$6[exports.RugbyGameLogTypes.exit_game] = 'Ушел с площадки',
11251
+ _a$6[exports.RugbyGameLogTypes.enter_game] = 'Вышел на поле',
11252
+ _a$6[exports.RugbyGameLogTypes.exit_game] = 'Ушел с поля',
11228
11253
  _a$6[exports.RugbyGameLogTypes.try] = 'Попытка',
11229
11254
  _a$6[exports.RugbyGameLogTypes.penalty_try] = 'Штрафная попытка',
11230
11255
  _a$6[exports.RugbyGameLogTypes.conversion_goal] = 'Реализация',
@@ -11247,18 +11272,23 @@
11247
11272
  _a$6[exports.RugbyGameLogTypes.head_injury] = 'Травма головы',
11248
11273
  _a$6[exports.RugbyGameLogTypes.end_game_penalty_miss] = 'Штрафной промах',
11249
11274
  _a$6[exports.RugbyGameLogTypes.end_game_penalty_goal] = 'Штрафной гол',
11275
+ _a$6[exports.RugbyGameLogTypes.foot_field_shot] = 'Удар ногой в поле',
11276
+ _a$6[exports.RugbyGameLogTypes.foot_out_shot] = 'Удар ногой в аут',
11250
11277
  _a$6[exports.RugbyGameLogTypes.timeout] = 'Таймаут',
11251
11278
  _a$6[exports.RugbyGameLogTypes.scrum_won] = 'Схватка выиграна',
11252
11279
  _a$6[exports.RugbyGameLogTypes.scrum_lost] = 'Схватка проиграна',
11253
11280
  _a$6[exports.RugbyGameLogTypes.scrum_won_free] = 'Схватка выиграна без сопротивления',
11254
- _a$6[exports.RugbyGameLogTypes.lineout_won] = 'Корридор выиграно',
11255
- _a$6[exports.RugbyGameLogTypes.lineout_lost] = 'Корридор проиграно',
11281
+ _a$6[exports.RugbyGameLogTypes.lineout_won] = 'Коридор выигран',
11282
+ _a$6[exports.RugbyGameLogTypes.lineout_lost] = 'Коридор проигран',
11256
11283
  _a$6[exports.RugbyGameLogTypes.quick_throw] = 'Быстрый вброс',
11257
- _a$6[exports.RugbyGameLogTypes.ruck_won] = 'Рак выиграно',
11258
- _a$6[exports.RugbyGameLogTypes.ruck_lost] = 'Рак проиграно',
11259
- _a$6[exports.RugbyGameLogTypes.maul_won] = 'Мол выиграно',
11260
- _a$6[exports.RugbyGameLogTypes.maul_lost] = 'Мол проиграно',
11261
- _a$6[exports.RugbyGameLogTypes.team_foul] = 'Фол',
11284
+ _a$6[exports.RugbyGameLogTypes.ruck_won] = 'Рак выигран',
11285
+ _a$6[exports.RugbyGameLogTypes.ruck_lost] = 'Рак проигран',
11286
+ _a$6[exports.RugbyGameLogTypes.maul_won] = 'Мол выигран',
11287
+ _a$6[exports.RugbyGameLogTypes.maul_lost] = 'Мол проигран',
11288
+ _a$6[exports.RugbyGameLogTypes.team_foul] = 'Нарушение',
11289
+ _a$6[exports.RugbyGameLogTypes.start_kick] = 'Начальный удар',
11290
+ _a$6[exports.RugbyGameLogTypes.twenty_two_meters_kick] = 'Удар с 22 метров',
11291
+ _a$6[exports.RugbyGameLogTypes.goal_kick] = 'Удар от ворот',
11262
11292
  _a$6);
11263
11293
 
11264
11294
  var _a$5;