@mtgame/core 0.2.107 → 0.2.108
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.
- package/bundles/mtgame-core.umd.js +13 -0
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/esm2015/models/wrestball-game-statistic.js +9 -1
- package/esm2015/models/wrestball-statistic.js +2 -1
- package/fesm2015/mtgame-core.js +9 -0
- package/fesm2015/mtgame-core.js.map +1 -1
- package/models/wrestball-game-statistic.d.ts +2 -0
- package/models/wrestball-statistic.d.ts +1 -0
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -7659,6 +7659,7 @@
|
|
|
7659
7659
|
two_point_percent: 'twoPointPercent',
|
|
7660
7660
|
three_point_percent: 'threePointPercent',
|
|
7661
7661
|
free_throw_percent: 'freeThrowPercent',
|
|
7662
|
+
total_free_throw_percent: 'totalFreeThrowPercent',
|
|
7662
7663
|
one_point_percent: 'onePointPercent',
|
|
7663
7664
|
dunks_made_percent: 'dunksMadePercent',
|
|
7664
7665
|
assists: 'assists',
|
|
@@ -13572,6 +13573,17 @@
|
|
|
13572
13573
|
enumerable: false,
|
|
13573
13574
|
configurable: true
|
|
13574
13575
|
});
|
|
13576
|
+
Object.defineProperty(WrestballGameStatistic.prototype, "totalFreeThrowPercent", {
|
|
13577
|
+
get: function () {
|
|
13578
|
+
if (!this.totalFreeThrowMade || !this.totalFreeThrowAttempts) {
|
|
13579
|
+
return 0;
|
|
13580
|
+
}
|
|
13581
|
+
return Math.round(1000 * this.totalFreeThrowMade / this.totalFreeThrowAttempts) / 10;
|
|
13582
|
+
},
|
|
13583
|
+
set: function (v) { },
|
|
13584
|
+
enumerable: false,
|
|
13585
|
+
configurable: true
|
|
13586
|
+
});
|
|
13575
13587
|
Object.defineProperty(WrestballGameStatistic.prototype, "dunksMadePercent", {
|
|
13576
13588
|
get: function () {
|
|
13577
13589
|
return !this.dunksMade || !this.dunkAttempts ? 0 : Math.round(1000 * this.dunksMade / this.dunkAttempts) / 10;
|
|
@@ -13681,6 +13693,7 @@
|
|
|
13681
13693
|
two_point_percent: 'twoPointPercent',
|
|
13682
13694
|
three_point_percent: 'threePointPercent',
|
|
13683
13695
|
free_throw_percent: 'freeThrowPercent',
|
|
13696
|
+
total_free_throw_percent: 'totalFreeThrowPercent',
|
|
13684
13697
|
dunks_made_percent: 'dunksMadePercent',
|
|
13685
13698
|
assists: 'assists',
|
|
13686
13699
|
blocks: 'blocks',
|