client_plugin_logic_deb 1.8.243 → 1.8.245

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.
@@ -377,7 +377,7 @@
377
377
  return tmp;
378
378
  }
379
379
  initMetadataForInterface(AbstractWithOffsetBuilder, 'AbstractWithOffsetBuilder', VOID, VOID, [WithUtcOffset]);
380
- initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithTime, WithUtcOffset, WithDate]);
380
+ initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithUtcOffset, WithDate, WithTime]);
381
381
  initMetadataForClass(AbstractDateTimeFormat, 'AbstractDateTimeFormat');
382
382
  initMetadataForClass(DateTimeComponentsFormat, 'DateTimeComponentsFormat', VOID, AbstractDateTimeFormat);
383
383
  initMetadataForClass(TwoDigitNumber, 'TwoDigitNumber');
@@ -152,7 +152,7 @@
152
152
  var RandomPoolProvider = kotlin_io_raspberryapps_cardgame_random.$_$.i;
153
153
  var FakeCardsDealerProvider = kotlin_io_raspberryapps_cardgame_core.$_$.z;
154
154
  var CardsDealerProvider = kotlin_io_raspberryapps_cardgame_core.$_$.y;
155
- var HttpFactory_instance = kotlin_io_raspberryapps_cardgame_random.$_$.l;
155
+ var HttpFactory_instance = kotlin_io_raspberryapps_cardgame_random.$_$.k;
156
156
  var mapToParams = kotlin_io_raspberryapps_cardgame_random.$_$.d;
157
157
  var RandomOrgApiServiceImpl = kotlin_io_raspberryapps_cardgame_random.$_$.f;
158
158
  var PoolParams = kotlin_io_raspberryapps_cardgame_random.$_$.e;
@@ -415,7 +415,7 @@
415
415
  initMetadataForClass(AppEnvironmentValue, 'AppEnvironmentValue', VOID, Enum);
416
416
  //endregion
417
417
  function GameEngineConfig() {
418
- this.version = '1.8.243';
418
+ this.version = '1.8.245';
419
419
  }
420
420
  protoOf(GameEngineConfig).i33 = function () {
421
421
  return this.version;
@@ -42077,14 +42077,15 @@
42077
42077
  while (_iterator__ex2g4s.k()) {
42078
42078
  var _destruct__k2r9zo = _iterator__ex2g4s.l();
42079
42079
  var playerId = _destruct__k2r9zo.pe();
42080
- var cardsCount = _destruct__k2r9zo.qe();
42080
+ var maxCardsCount = _destruct__k2r9zo.qe();
42081
42081
  var tmp0_elvis_lhs = playersCards.g2(playerId);
42082
42082
  var currentPlayerCards = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
42083
- var requestedCardsCount = cardsCount - currentPlayerCards.m() | 0;
42084
- // Inline function 'kotlin.collections.set' call
42083
+ var requestedCardsCount = maxCardsCount - currentPlayerCards.m() | 0;
42085
42084
  // Inline function 'kotlin.math.min' call
42086
- var tmp$ret$4 = Math.min(cardsInCycle, requestedCardsCount);
42087
- var value = plus(currentPlayerCards, distributeCardsBottom(cards, tmp$ret$4));
42085
+ var countToDistribute = Math.min(cardsInCycle, requestedCardsCount);
42086
+ var distributeCards = distributeCardsBottom(cards, countToDistribute);
42087
+ // Inline function 'kotlin.collections.set' call
42088
+ var value = plus(currentPlayerCards, distributeCards);
42088
42089
  playersCards.j2(playerId, value);
42089
42090
  }
42090
42091
  }
@@ -42169,12 +42170,12 @@
42169
42170
  protoOf(CardsIntercatorImpl).w8y = function (cards, trumpCard, selectedTrump, players, config) {
42170
42171
  var whoGetsTheTrumpCard = this.p8y_1.u8v(players, config);
42171
42172
  // Inline function 'kotlin.collections.mutableMapOf' call
42172
- var playerCards = LinkedHashMap_init_$Create$();
42173
+ var playersCards = LinkedHashMap_init_$Create$();
42173
42174
  if (!((whoGetsTheTrumpCard == null ? null : whoGetsTheTrumpCard.playerId) == null)) {
42174
42175
  // Inline function 'kotlin.collections.set' call
42175
42176
  var key = whoGetsTheTrumpCard.playerId;
42176
42177
  var value = listOf_0(trumpCard);
42177
- playerCards.j2(key, value);
42178
+ playersCards.j2(key, value);
42178
42179
  }
42179
42180
  var cardsInTheCardDeck = toMutableList(cards);
42180
42181
  // Inline function 'kotlin.collections.map' call
@@ -42184,11 +42185,11 @@
42184
42185
  while (tmp0_iterator.k()) {
42185
42186
  var item = tmp0_iterator.l();
42186
42187
  // Inline function 'games.jass.logic.domain.interactors.dealer.CardsIntercatorImpl.distributeSecondRoundCards.<anonymous>' call
42187
- var neededCardsCount = (config.playerHandCardsSize - item.x6e() | 0) - playerCards.m() | 0;
42188
+ var neededCardsCount = config.playerHandCardsSize - item.x6e() | 0;
42188
42189
  var tmp$ret$1 = to(item.playerId, neededCardsCount);
42189
42190
  destination.e(tmp$ret$1);
42190
42191
  }
42191
- var distributedPlayersCards = distributeCardsByCycles(this, 1, cardsInTheCardDeck, destination, playerCards);
42192
+ var distributedPlayersCards = distributeCardsByCycles(this, 1, cardsInTheCardDeck, destination, playersCards);
42192
42193
  var frezaCard = this.r8y_1.c8w(config) ? single(distributeCardsTop(cardsInTheCardDeck, 1)) : null;
42193
42194
  var tmp1_$this = this.s8y_1;
42194
42195
  // Inline function 'kotlin.collections.map' call