@mtgame/core 0.2.120 → 0.2.121
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.
|
@@ -1709,6 +1709,22 @@
|
|
|
1709
1709
|
function TournamentSettings() {
|
|
1710
1710
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
1711
1711
|
}
|
|
1712
|
+
Object.defineProperty(TournamentSettings.prototype, "substituteManageMode", {
|
|
1713
|
+
get: function () {
|
|
1714
|
+
if (this._substituteManageMode) {
|
|
1715
|
+
return this._substituteManageMode;
|
|
1716
|
+
}
|
|
1717
|
+
if (this.substituteManageEnabled) {
|
|
1718
|
+
return exports.SubstituteManageTypes.split_screen;
|
|
1719
|
+
}
|
|
1720
|
+
return exports.SubstituteManageTypes.goalkeeper_only;
|
|
1721
|
+
},
|
|
1722
|
+
set: function (value) {
|
|
1723
|
+
this._substituteManageMode = value;
|
|
1724
|
+
},
|
|
1725
|
+
enumerable: false,
|
|
1726
|
+
configurable: true
|
|
1727
|
+
});
|
|
1712
1728
|
Object.defineProperty(TournamentSettings.prototype, "genderTitle", {
|
|
1713
1729
|
get: function () {
|
|
1714
1730
|
var yearDiff = new Date().getFullYear() - this.birthYearFrom;
|