@mtgame/core 0.2.106 → 0.2.107

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.
@@ -7643,11 +7643,17 @@
7643
7643
  two_points_made: 'twoPointsMade',
7644
7644
  three_points_made: 'threePointsMade',
7645
7645
  free_throws_made: 'freeThrowsMade',
7646
+ two_points_free_throw_made: 'twoPointsFreeThrowMade',
7647
+ three_points_free_throw_made: 'threePointsFreeThrowMade',
7648
+ total_free_throw_made: 'totalFreeThrowMade',
7646
7649
  one_points_made: 'onePointsMade',
7647
7650
  dunks_made: 'dunksMade',
7648
7651
  two_point_attempts: 'twoPointAttempts',
7649
7652
  three_point_attempts: 'threePointAttempts',
7650
7653
  free_throw_attempts: 'freeThrowAttempts',
7654
+ two_point_free_throw_attempts: 'twoPointFreeThrowAttempts',
7655
+ three_point_free_throw_attempts: 'threePointFreeThrowAttempts',
7656
+ total_free_throw_attempts: 'totalFreeThrowAttempts',
7651
7657
  one_point_attempts: 'onePointAttempts',
7652
7658
  dunk_attempts: 'dunkAttempts',
7653
7659
  two_point_percent: 'twoPointPercent',
@@ -13512,7 +13518,12 @@
13512
13518
  WrestballGameStatistic.toBack = function (data) { };
13513
13519
  Object.defineProperty(WrestballGameStatistic.prototype, "totalFouls", {
13514
13520
  get: function () {
13515
- return (this.personalFouls || 0) + (this.technicalFouls || 0) + (this.unsportsmanlikeFouls || 0) + (this.disqualificationFouls || 0);
13521
+ return (this.personalFouls || 0)
13522
+ + (this.technicalFouls || 0)
13523
+ + (this.unsportsmanlikeFouls || 0)
13524
+ + (this.disqualificationFouls || 0)
13525
+ + (this.yellowCards || 0)
13526
+ + (this.redCards || 0);
13516
13527
  },
13517
13528
  enumerable: false,
13518
13529
  configurable: true
@@ -13651,6 +13662,9 @@
13651
13662
  game_user_id: 'gameUserId',
13652
13663
  points: 'points',
13653
13664
  free_throws_made: 'freeThrowsMade',
13665
+ two_points_free_throw_made: 'twoPointsFreeThrowMade',
13666
+ three_points_free_throw_made: 'threePointsFreeThrowMade',
13667
+ total_free_throw_made: 'totalFreeThrowMade',
13654
13668
  two_points_made: 'twoPointsMade',
13655
13669
  three_points_made: 'threePointsMade',
13656
13670
  one_points_made: 'onePointsMade',
@@ -13658,6 +13672,9 @@
13658
13672
  two_point_attempts: 'twoPointAttempts',
13659
13673
  three_point_attempts: 'threePointAttempts',
13660
13674
  free_throw_attempts: 'freeThrowAttempts',
13675
+ two_point_free_throw_attempts: 'twoPointFreeThrowAttempts',
13676
+ three_point_free_throw_attempts: 'threePointFreeThrowAttempts',
13677
+ total_free_throw_attempts: 'totalFreeThrowAttempts',
13661
13678
  one_point_attempts: 'onePointAttempts',
13662
13679
  dunk_attempts: 'dunkAttempts',
13663
13680
  one_point_percent: 'onePointPercent',
@@ -13741,6 +13758,10 @@
13741
13758
  WrestballGameLogTypes[WrestballGameLogTypes["scrum_ball_advantage_tie"] = 35] = "scrum_ball_advantage_tie";
13742
13759
  WrestballGameLogTypes[WrestballGameLogTypes["dunk_made"] = 36] = "dunk_made";
13743
13760
  WrestballGameLogTypes[WrestballGameLogTypes["dunk_attempt"] = 37] = "dunk_attempt";
13761
+ WrestballGameLogTypes[WrestballGameLogTypes["two_point_free_throw_made"] = 38] = "two_point_free_throw_made";
13762
+ WrestballGameLogTypes[WrestballGameLogTypes["two_point_free_throw_attempt"] = 39] = "two_point_free_throw_attempt";
13763
+ WrestballGameLogTypes[WrestballGameLogTypes["three_point_free_throw_made"] = 40] = "three_point_free_throw_made";
13764
+ WrestballGameLogTypes[WrestballGameLogTypes["three_point_free_throw_attempt"] = 41] = "three_point_free_throw_attempt";
13744
13765
  })(exports.WrestballGameLogTypes || (exports.WrestballGameLogTypes = {}));
13745
13766
  exports.WrestballGameLog = /** @class */ (function (_super) {
13746
13767
  __extends(WrestballGameLog, _super);
@@ -13754,6 +13775,8 @@
13754
13775
  exports.WrestballGameLogTypes.two_point_made,
13755
13776
  exports.WrestballGameLogTypes.three_point_made,
13756
13777
  exports.WrestballGameLogTypes.free_throw_made,
13778
+ exports.WrestballGameLogTypes.two_point_free_throw_made,
13779
+ exports.WrestballGameLogTypes.three_point_free_throw_made,
13757
13780
  exports.WrestballGameLogTypes.one_point_made,
13758
13781
  exports.WrestballGameLogTypes.scrum_won,
13759
13782
  exports.WrestballGameLogTypes.wrestler_scrum_won,
@@ -13772,6 +13795,8 @@
13772
13795
  WrestballGameLog.prototype.isFoulType = function () {
13773
13796
  return [
13774
13797
  exports.WrestballGameLogTypes.personal_foul,
13798
+ exports.WrestballGameLogTypes.yellow_card,
13799
+ exports.WrestballGameLogTypes.red_card,
13775
13800
  ].indexOf(this.logType) > -1;
13776
13801
  };
13777
13802
  WrestballGameLog.prototype.isScrumType = function () {
@@ -13799,6 +13824,8 @@
13799
13824
  var scoreMapping = (_a = {},
13800
13825
  _a[exports.WrestballGameLogTypes.one_point_made] = 1,
13801
13826
  _a[exports.WrestballGameLogTypes.free_throw_made] = 1,
13827
+ _a[exports.WrestballGameLogTypes.two_point_free_throw_made] = 2,
13828
+ _a[exports.WrestballGameLogTypes.three_point_free_throw_made] = 3,
13802
13829
  _a[exports.WrestballGameLogTypes.two_point_made] = 2,
13803
13830
  _a[exports.WrestballGameLogTypes.three_point_made] = 3,
13804
13831
  _a[exports.WrestballGameLogTypes.scrum_won] = 2,
@@ -14451,11 +14478,15 @@
14451
14478
  _a$2[exports.WrestballGameLogTypes.remove_game] = 'Удаление с площадки',
14452
14479
  _a$2[exports.WrestballGameLogTypes.two_point_attempt] = 'Бросок 2 очка',
14453
14480
  _a$2[exports.WrestballGameLogTypes.three_point_attempt] = 'Бросок 3 очка',
14454
- _a$2[exports.WrestballGameLogTypes.free_throw_attempt] = 'Штрафной бросок',
14481
+ _a$2[exports.WrestballGameLogTypes.free_throw_attempt] = 'Штрафной бросок 1 очко',
14482
+ _a$2[exports.WrestballGameLogTypes.two_point_free_throw_attempt] = 'Штрафной бросок 2 очка',
14483
+ _a$2[exports.WrestballGameLogTypes.three_point_free_throw_attempt] = 'Штрафной бросок 3 очка',
14455
14484
  _a$2[exports.WrestballGameLogTypes.one_point_attempt] = 'Бросок 1 очко',
14456
14485
  _a$2[exports.WrestballGameLogTypes.two_point_made] = '2 очка',
14457
14486
  _a$2[exports.WrestballGameLogTypes.three_point_made] = '3 очка',
14458
14487
  _a$2[exports.WrestballGameLogTypes.free_throw_made] = '1 очко, штрафной',
14488
+ _a$2[exports.WrestballGameLogTypes.two_point_free_throw_made] = '2 очка, штрафной',
14489
+ _a$2[exports.WrestballGameLogTypes.three_point_free_throw_made] = '3 очка, штрафной',
14459
14490
  _a$2[exports.WrestballGameLogTypes.one_point_made] = '1 очко',
14460
14491
  _a$2[exports.WrestballGameLogTypes.dunk_made] = '2 очка, данк',
14461
14492
  _a$2[exports.WrestballGameLogTypes.dunk_attempt] = 'Попытка данка',