raspberry_games_server_game_logic 1.8.273 → 1.8.274
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/Kotlin-DateTime-library-kotlinx-datetime.js +1 -1
- package/Logic_Debertz-core.js +1 -1
- package/Logic_Debertz-engine.js +11 -12
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.d.ts +2 -2
- package/Logic_Debertz-game_server.js +403 -402
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +6 -6
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +9 -9
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -324,7 +324,7 @@
|
|
|
324
324
|
function addFormatStructureForTime(structure) {
|
|
325
325
|
this.z59(structure);
|
|
326
326
|
}
|
|
327
|
-
initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder,
|
|
327
|
+
initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithDate, WithTime]);
|
|
328
328
|
function offsetHours$default(padding, $super) {
|
|
329
329
|
padding = padding === VOID ? Padding_ZERO_getInstance() : padding;
|
|
330
330
|
var tmp;
|
package/Logic_Debertz-core.js
CHANGED
|
@@ -375,7 +375,7 @@
|
|
|
375
375
|
initMetadataForClass(AppEnvironmentValue, 'AppEnvironmentValue', VOID, Enum);
|
|
376
376
|
//endregion
|
|
377
377
|
function GameEngineConfig() {
|
|
378
|
-
this.version = '1.8.
|
|
378
|
+
this.version = '1.8.274';
|
|
379
379
|
}
|
|
380
380
|
protoOf(GameEngineConfig).p2z = function () {
|
|
381
381
|
return this.version;
|
package/Logic_Debertz-engine.js
CHANGED
|
@@ -33491,9 +33491,8 @@
|
|
|
33491
33491
|
function mapToClient_4(_this__u8e3s4) {
|
|
33492
33492
|
return new ClientGameInfo(_this__u8e3s4.gameNumber, _this__u8e3s4.round);
|
|
33493
33493
|
}
|
|
33494
|
-
function mapFromLite_1(_this__u8e3s4, version, createdAt) {
|
|
33494
|
+
function mapFromLite_1(_this__u8e3s4, roomId, version, createdAt) {
|
|
33495
33495
|
var config = mapFromLite(_this__u8e3s4.config, Companion_instance_172.getServerOptions(_this__u8e3s4.config.isChatEnabled));
|
|
33496
|
-
var tmp0_id = _this__u8e3s4.id;
|
|
33497
33496
|
// Inline function 'kotlin.collections.map' call
|
|
33498
33497
|
var this_0 = _this__u8e3s4.players;
|
|
33499
33498
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -33505,14 +33504,14 @@
|
|
|
33505
33504
|
var tmp$ret$0 = mapFromLite_0(item, config);
|
|
33506
33505
|
destination.e(tmp$ret$0);
|
|
33507
33506
|
}
|
|
33508
|
-
var
|
|
33509
|
-
var
|
|
33510
|
-
var
|
|
33511
|
-
var
|
|
33512
|
-
var
|
|
33513
|
-
var
|
|
33514
|
-
var
|
|
33515
|
-
return new JassTable(
|
|
33507
|
+
var tmp1_sceneInfo = new SceneInfo('WAITING');
|
|
33508
|
+
var tmp2_cardsOnTable = emptyList();
|
|
33509
|
+
var tmp3_gameInfo = _this__u8e3s4.gameInfo;
|
|
33510
|
+
var tmp4_requestedCardDecks = emptyList();
|
|
33511
|
+
var tmp5_spectators = emptyList();
|
|
33512
|
+
var tmp6_bribes = emptyList();
|
|
33513
|
+
var tmp7_gameHistory = Companion_instance_175.initial(_this__u8e3s4.id, createdAt);
|
|
33514
|
+
return new JassTable(roomId, version, createdAt, config, destination, tmp5_spectators, tmp1_sceneInfo, tmp2_cardsOnTable, tmp6_bribes, null, tmp4_requestedCardDecks, tmp3_gameInfo, tmp7_gameHistory);
|
|
33516
33515
|
}
|
|
33517
33516
|
function mapFromDto_117(_this__u8e3s4) {
|
|
33518
33517
|
var tmp = mapFromDto_84(_this__u8e3s4.j8g_1);
|
|
@@ -34352,9 +34351,9 @@
|
|
|
34352
34351
|
var tmp5_gameHistory = Companion_instance_175.initial(gameId, createdAt);
|
|
34353
34352
|
return new JassTable(tableId, version, createdAt, config, players, spectators, tmp0_sceneInfo, tmp1_cardsOnTable, tmp2_bribes, null, tmp3_requestedCardDecks, tmp4_gameInfo, tmp5_gameHistory);
|
|
34354
34353
|
};
|
|
34355
|
-
protoOf(Companion_159).restartRound = function (version, tableLite) {
|
|
34354
|
+
protoOf(Companion_159).restartRound = function (roomId, version, tableLite) {
|
|
34356
34355
|
var createdAt = System_instance.x55();
|
|
34357
|
-
return mapFromLite_1(tableLite, version, createdAt);
|
|
34356
|
+
return mapFromLite_1(tableLite, roomId, version, createdAt);
|
|
34358
34357
|
};
|
|
34359
34358
|
var Companion_instance_164;
|
|
34360
34359
|
function Companion_getInstance_166() {
|