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.
@@ -324,7 +324,7 @@
324
324
  function addFormatStructureForTime(structure) {
325
325
  this.z59(structure);
326
326
  }
327
- initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithTime, WithDate]);
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;
@@ -375,7 +375,7 @@
375
375
  initMetadataForClass(AppEnvironmentValue, 'AppEnvironmentValue', VOID, Enum);
376
376
  //endregion
377
377
  function GameEngineConfig() {
378
- this.version = '1.8.273';
378
+ this.version = '1.8.274';
379
379
  }
380
380
  protoOf(GameEngineConfig).p2z = function () {
381
381
  return this.version;
@@ -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 tmp2_sceneInfo = new SceneInfo('WAITING');
33509
- var tmp3_cardsOnTable = emptyList();
33510
- var tmp4_gameInfo = _this__u8e3s4.gameInfo;
33511
- var tmp5_requestedCardDecks = emptyList();
33512
- var tmp6_spectators = emptyList();
33513
- var tmp7_bribes = emptyList();
33514
- var tmp8_gameHistory = Companion_instance_175.initial(_this__u8e3s4.id, createdAt);
33515
- return new JassTable(tmp0_id, version, createdAt, config, destination, tmp6_spectators, tmp2_sceneInfo, tmp3_cardsOnTable, tmp7_bribes, null, tmp5_requestedCardDecks, tmp4_gameInfo, tmp8_gameHistory);
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() {