@mtgame/core 0.1.78 → 0.1.80
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 +61 -2
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/esm2015/models/basketball-game-log.js +4 -1
- package/esm2015/models/volleyball-game-statistic.js +14 -2
- package/esm2015/models/volleyball-statistic.js +14 -2
- package/fesm2015/mtgame-core.js +29 -2
- package/fesm2015/mtgame-core.js.map +1 -1
- package/models/volleyball-game-statistic.d.ts +4 -0
- package/models/volleyball-statistic.d.ts +4 -0
- package/package.json +1 -1
|
@@ -3267,6 +3267,9 @@
|
|
|
3267
3267
|
};
|
|
3268
3268
|
BasketballGameLog.prototype.compare = function (model) {
|
|
3269
3269
|
if (this.time === model.time && this.period === model.period) {
|
|
3270
|
+
if (this.datetime.getTime() === model.datetime.getTime()) {
|
|
3271
|
+
return this.id > model.id ? 1 : -1;
|
|
3272
|
+
}
|
|
3270
3273
|
return this.datetime.getTime() < model.datetime.getTime() ? 1 : -1;
|
|
3271
3274
|
}
|
|
3272
3275
|
if (this.period === model.period) {
|
|
@@ -5411,7 +5414,35 @@
|
|
|
5411
5414
|
});
|
|
5412
5415
|
Object.defineProperty(VolleyballStatistic.prototype, "totalReceives", {
|
|
5413
5416
|
get: function () {
|
|
5414
|
-
return this.receives + this.excellentReceives;
|
|
5417
|
+
return this.receives + this.excellentReceives + this.receiveFaults;
|
|
5418
|
+
},
|
|
5419
|
+
enumerable: false,
|
|
5420
|
+
configurable: true
|
|
5421
|
+
});
|
|
5422
|
+
Object.defineProperty(VolleyballStatistic.prototype, "totalServeReceives", {
|
|
5423
|
+
get: function () {
|
|
5424
|
+
return this.serveReceives + this.excellentServeReceives + this.serveReceiveFaults;
|
|
5425
|
+
},
|
|
5426
|
+
enumerable: false,
|
|
5427
|
+
configurable: true
|
|
5428
|
+
});
|
|
5429
|
+
Object.defineProperty(VolleyballStatistic.prototype, "totalServes", {
|
|
5430
|
+
get: function () {
|
|
5431
|
+
return this.serveAces + this.serveHits + this.serveFaults;
|
|
5432
|
+
},
|
|
5433
|
+
enumerable: false,
|
|
5434
|
+
configurable: true
|
|
5435
|
+
});
|
|
5436
|
+
Object.defineProperty(VolleyballStatistic.prototype, "totalAttacks", {
|
|
5437
|
+
get: function () {
|
|
5438
|
+
return this.attackSpikes + this.attackShots + this.attackFaults;
|
|
5439
|
+
},
|
|
5440
|
+
enumerable: false,
|
|
5441
|
+
configurable: true
|
|
5442
|
+
});
|
|
5443
|
+
Object.defineProperty(VolleyballStatistic.prototype, "totalBlocks", {
|
|
5444
|
+
get: function () {
|
|
5445
|
+
return this.stuffBlocks + this.blockRebounds + this.blockFaults;
|
|
5415
5446
|
},
|
|
5416
5447
|
enumerable: false,
|
|
5417
5448
|
configurable: true
|
|
@@ -9231,7 +9262,35 @@
|
|
|
9231
9262
|
});
|
|
9232
9263
|
Object.defineProperty(VolleyballGameStatistic.prototype, "totalReceives", {
|
|
9233
9264
|
get: function () {
|
|
9234
|
-
return this.receives + this.excellentReceives;
|
|
9265
|
+
return this.receives + this.excellentReceives + this.receiveFaults;
|
|
9266
|
+
},
|
|
9267
|
+
enumerable: false,
|
|
9268
|
+
configurable: true
|
|
9269
|
+
});
|
|
9270
|
+
Object.defineProperty(VolleyballGameStatistic.prototype, "totalServeReceives", {
|
|
9271
|
+
get: function () {
|
|
9272
|
+
return this.serveReceives + this.excellentServeReceives + this.serveReceiveFaults;
|
|
9273
|
+
},
|
|
9274
|
+
enumerable: false,
|
|
9275
|
+
configurable: true
|
|
9276
|
+
});
|
|
9277
|
+
Object.defineProperty(VolleyballGameStatistic.prototype, "totalServes", {
|
|
9278
|
+
get: function () {
|
|
9279
|
+
return this.serveAces + this.serveHits + this.serveFaults;
|
|
9280
|
+
},
|
|
9281
|
+
enumerable: false,
|
|
9282
|
+
configurable: true
|
|
9283
|
+
});
|
|
9284
|
+
Object.defineProperty(VolleyballGameStatistic.prototype, "totalAttacks", {
|
|
9285
|
+
get: function () {
|
|
9286
|
+
return this.attackSpikes + this.attackShots + this.attackFaults;
|
|
9287
|
+
},
|
|
9288
|
+
enumerable: false,
|
|
9289
|
+
configurable: true
|
|
9290
|
+
});
|
|
9291
|
+
Object.defineProperty(VolleyballGameStatistic.prototype, "totalBlocks", {
|
|
9292
|
+
get: function () {
|
|
9293
|
+
return this.stuffBlocks + this.blockRebounds + this.blockFaults;
|
|
9235
9294
|
},
|
|
9236
9295
|
enumerable: false,
|
|
9237
9296
|
configurable: true
|