@mtgame/core 0.2.34 → 0.2.35
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 +3 -0
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/esm2015/models/sport.js +4 -1
- package/fesm2015/mtgame-core.js +3 -0
- package/fesm2015/mtgame-core.js.map +1 -1
- package/models/sport.d.ts +1 -0
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -798,6 +798,9 @@
|
|
|
798
798
|
Sport.prototype.isBasketball1x1 = function () {
|
|
799
799
|
return this.id === exports.SportTypes.basketball_1x1;
|
|
800
800
|
};
|
|
801
|
+
Sport.prototype.isMediaBasket = function () {
|
|
802
|
+
return this.id === exports.SportTypes.media_basket;
|
|
803
|
+
};
|
|
801
804
|
Sport.prototype.isVolleyball = function () {
|
|
802
805
|
return this.id === exports.SportTypes.volleyball || this.parentId === exports.SportTypes.volleyball;
|
|
803
806
|
};
|