game_client_logic_deb 1.6.62 → 1.6.63
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/Logic_Debertz-core.js +1 -1
- package/Logic_Debertz-engine.js +81 -8
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +1 -0
- package/Logic_Debertz-game_client.js +21 -84
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +6 -6
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +7 -7
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
- package/package.json +1 -1
package/Logic_Debertz-core.js
CHANGED
|
@@ -349,7 +349,7 @@
|
|
|
349
349
|
setMetadataFor(PlatformLogger, 'PlatformLogger', classMeta, VOID, VOID, PlatformLogger);
|
|
350
350
|
//endregion
|
|
351
351
|
function GameEngineConfig() {
|
|
352
|
-
this.version = '1.6.
|
|
352
|
+
this.version = '1.6.63';
|
|
353
353
|
}
|
|
354
354
|
protoOf(GameEngineConfig).b2k = function () {
|
|
355
355
|
return this.version;
|
package/Logic_Debertz-engine.js
CHANGED
|
@@ -24934,7 +24934,18 @@
|
|
|
24934
24934
|
return result;
|
|
24935
24935
|
};
|
|
24936
24936
|
protoOf(GameHistory).toString = function () {
|
|
24937
|
-
|
|
24937
|
+
var tmp = 'GameHistory(' + ("gameId='" + this.gameId + "', ") + ('createdAt=' + this.createdAt + ', ') + ('lastRoundHistory=' + this.lastRoundHistory.toStringShort() + ', ');
|
|
24938
|
+
// Inline function 'kotlin.takeIf' call
|
|
24939
|
+
var this_0 = 'isFirstRound=' + this.isFirstRound;
|
|
24940
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
24941
|
+
var tmp_0;
|
|
24942
|
+
// Inline function 'com.debertz.logic.data.models.table.history.GameHistory.toString.<anonymous>' call
|
|
24943
|
+
if (this.isFirstRound) {
|
|
24944
|
+
tmp_0 = this_0;
|
|
24945
|
+
} else {
|
|
24946
|
+
tmp_0 = null;
|
|
24947
|
+
}
|
|
24948
|
+
return tmp + tmp_0 + ')';
|
|
24938
24949
|
};
|
|
24939
24950
|
protoOf(GameHistory).cd = function () {
|
|
24940
24951
|
return this.gameId;
|
|
@@ -25019,6 +25030,9 @@
|
|
|
25019
25030
|
result = imul(31, result) + contentHashCode(this.items) | 0;
|
|
25020
25031
|
return result;
|
|
25021
25032
|
};
|
|
25033
|
+
protoOf(RoundHistory).toStringShort = function () {
|
|
25034
|
+
return 'RoundHistory(' + ('roundNumber=' + this.roundNumber + ', ') + ('itemsCount=' + this.items.length) + ')';
|
|
25035
|
+
};
|
|
25022
25036
|
protoOf(RoundHistory).cd = function () {
|
|
25023
25037
|
return this.roundNumber;
|
|
25024
25038
|
};
|
|
@@ -33533,14 +33547,73 @@
|
|
|
33533
33547
|
return result;
|
|
33534
33548
|
};
|
|
33535
33549
|
protoOf(RoundEndedAction).toString = function () {
|
|
33536
|
-
var tmp = contentToString(this.roundCommitted);
|
|
33537
|
-
|
|
33538
|
-
var
|
|
33539
|
-
var
|
|
33550
|
+
var tmp = 'RoundEndedAction(' + ("id='" + this.id + "', ") + ("gameId='" + this.gameId + "', ") + ('roundNumber=' + this.roundNumber + ', ') + ("earnedBiggestPointPlayerId='" + this.earnedBiggestPointPlayerId + "', ") + ('roundCommitted=' + contentToString(this.roundCommitted) + ', ') + ('roundWinners=' + contentToString(this.roundWinners) + ', ');
|
|
33551
|
+
// Inline function 'kotlin.takeUnless' call
|
|
33552
|
+
var tmp2_safe_receiver = this.gameLosers;
|
|
33553
|
+
var this_0 = 'gameLosers=' + (tmp2_safe_receiver == null ? null : contentToString(tmp2_safe_receiver)) + ', ';
|
|
33554
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
33555
|
+
var tmp_0;
|
|
33556
|
+
// Inline function 'com.debertz.logic.redux.actions.game.RoundEndedAction.toString.<anonymous>' call
|
|
33557
|
+
// Inline function 'kotlin.collections.isNullOrEmpty' call
|
|
33558
|
+
var this_1 = this.gameLosers;
|
|
33559
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
33560
|
+
var tmp_1;
|
|
33561
|
+
if (this_1 == null) {
|
|
33562
|
+
tmp_1 = true;
|
|
33563
|
+
} else {
|
|
33564
|
+
// Inline function 'kotlin.collections.isEmpty' call
|
|
33565
|
+
tmp_1 = this_1.length === 0;
|
|
33566
|
+
}
|
|
33567
|
+
if (!tmp_1) {
|
|
33568
|
+
tmp_0 = this_0;
|
|
33569
|
+
} else {
|
|
33570
|
+
tmp_0 = null;
|
|
33571
|
+
}
|
|
33572
|
+
var tmp_2 = tmp + tmp_0;
|
|
33573
|
+
// Inline function 'kotlin.takeUnless' call
|
|
33540
33574
|
var tmp1_safe_receiver = this.gameWinners;
|
|
33541
|
-
var
|
|
33542
|
-
|
|
33543
|
-
|
|
33575
|
+
var this_2 = 'gameWinners=' + (tmp1_safe_receiver == null ? null : contentToString(tmp1_safe_receiver)) + ', ';
|
|
33576
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
33577
|
+
var tmp_3;
|
|
33578
|
+
// Inline function 'com.debertz.logic.redux.actions.game.RoundEndedAction.toString.<anonymous>' call
|
|
33579
|
+
// Inline function 'kotlin.collections.isNullOrEmpty' call
|
|
33580
|
+
var this_3 = this.gameWinners;
|
|
33581
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
33582
|
+
var tmp_4;
|
|
33583
|
+
if (this_3 == null) {
|
|
33584
|
+
tmp_4 = true;
|
|
33585
|
+
} else {
|
|
33586
|
+
// Inline function 'kotlin.collections.isEmpty' call
|
|
33587
|
+
tmp_4 = this_3.length === 0;
|
|
33588
|
+
}
|
|
33589
|
+
if (!tmp_4) {
|
|
33590
|
+
tmp_3 = this_2;
|
|
33591
|
+
} else {
|
|
33592
|
+
tmp_3 = null;
|
|
33593
|
+
}
|
|
33594
|
+
var tmp_5 = tmp_2 + tmp_3;
|
|
33595
|
+
// Inline function 'kotlin.takeUnless' call
|
|
33596
|
+
var tmp0_safe_receiver = this.luckyFactors;
|
|
33597
|
+
var this_4 = 'luckyFactors=' + (tmp0_safe_receiver == null ? null : contentToString(tmp0_safe_receiver)) + ', ';
|
|
33598
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
33599
|
+
var tmp_6;
|
|
33600
|
+
// Inline function 'com.debertz.logic.redux.actions.game.RoundEndedAction.toString.<anonymous>' call
|
|
33601
|
+
// Inline function 'kotlin.collections.isNullOrEmpty' call
|
|
33602
|
+
var this_5 = this.luckyFactors;
|
|
33603
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
33604
|
+
var tmp_7;
|
|
33605
|
+
if (this_5 == null) {
|
|
33606
|
+
tmp_7 = true;
|
|
33607
|
+
} else {
|
|
33608
|
+
// Inline function 'kotlin.collections.isEmpty' call
|
|
33609
|
+
tmp_7 = this_5.length === 0;
|
|
33610
|
+
}
|
|
33611
|
+
if (!tmp_7) {
|
|
33612
|
+
tmp_6 = this_4;
|
|
33613
|
+
} else {
|
|
33614
|
+
tmp_6 = null;
|
|
33615
|
+
}
|
|
33616
|
+
return tmp_5 + tmp_6 + ('gameHistory=' + this.gameHistory) + ')';
|
|
33544
33617
|
};
|
|
33545
33618
|
protoOf(RoundEndedAction).cd = function () {
|
|
33546
33619
|
return this.id;
|