@mtgame/core 0.1.130 → 0.1.131
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.
|
@@ -3671,6 +3671,13 @@
|
|
|
3671
3671
|
function GameUser() {
|
|
3672
3672
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
3673
3673
|
}
|
|
3674
|
+
Object.defineProperty(GameUser.prototype, "gameUserNumber", {
|
|
3675
|
+
get: function () {
|
|
3676
|
+
return this.number ? this.number : this.teamUser.number;
|
|
3677
|
+
},
|
|
3678
|
+
enumerable: false,
|
|
3679
|
+
configurable: true
|
|
3680
|
+
});
|
|
3674
3681
|
GameUser.toFront = function (data) { };
|
|
3675
3682
|
GameUser.toBack = function (data) { };
|
|
3676
3683
|
return GameUser;
|