game_client_logic_deb 1.8.320 → 1.8.322

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.y58(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;
@@ -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, WithDate, WithUtcOffset]);
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');
@@ -380,7 +380,7 @@
380
380
  initMetadataForClass(AppEnvironmentValue, 'AppEnvironmentValue', VOID, Enum);
381
381
  //endregion
382
382
  function GameEngineConfig() {
383
- this.version = '1.8.320';
383
+ this.version = '1.8.322';
384
384
  }
385
385
  protoOf(GameEngineConfig).o2y = function () {
386
386
  return this.version;
@@ -48160,7 +48160,7 @@
48160
48160
  tmp_17.i8z_1 = Instance(di, tmp$ret$18, null).d62(this, mechanicReducers$factory());
48161
48161
  }
48162
48162
  protoOf(GameMechanicStoreContract).o8y = function () {
48163
- return plus_0(plus(this.y8y_1.o8y(), listOf(_get_mechanicReducers__ipi0tc(this).y8z())), fromClientReducer());
48163
+ return plus_0(plus(listOf(_get_mechanicReducers__ipi0tc(this).t8z()), this.y8y_1.o8y()), fromClientReducer());
48164
48164
  };
48165
48165
  protoOf(GameMechanicStoreContract).p8y = function () {
48166
48166
  var tmp = sceneLifecycleMiddleware(_get_sceneFactory__scjsbx(this), _get_sceneRouter__ee4ncs(this), _get_sceneValidationInteractor__iffomr(this), _get_asyncProvider__jbpyhw_2(this));
@@ -48277,53 +48277,53 @@
48277
48277
  }
48278
48278
  function _get_playerTurnInteractor__lczh1o_0($this) {
48279
48279
  // Inline function 'kotlin.getValue' call
48280
- var this_0 = $this.l8z_1;
48280
+ var this_0 = $this.w8z_1;
48281
48281
  playerTurnInteractor$factory_2();
48282
48282
  return this_0.u();
48283
48283
  }
48284
48284
  function _get_playerTurnMechanicReducer__y10a87($this) {
48285
48285
  // Inline function 'kotlin.getValue' call
48286
- var this_0 = $this.m8z_1;
48286
+ var this_0 = $this.x8z_1;
48287
48287
  playerTurnMechanicReducer$factory_0();
48288
48288
  return this_0.u();
48289
48289
  }
48290
48290
  function _get_logger__rkp4sl_1($this) {
48291
48291
  // Inline function 'kotlin.getValue' call
48292
- var this_0 = $this.n8z_1;
48292
+ var this_0 = $this.y8z_1;
48293
48293
  logger$factory_4();
48294
48294
  return this_0.u();
48295
48295
  }
48296
48296
  function PlayerTurnStoreContract$_get_reducers_$lambda_rtq1w8(this$0) {
48297
48297
  return function (player) {
48298
- return this$0.j8z_1 || player.playerId === this$0.k8z_1;
48298
+ return this$0.u8z_1 || player.playerId === this$0.v8z_1;
48299
48299
  };
48300
48300
  }
48301
48301
  function PlayerTurnStoreContract$_get_reducers_$lambda_rtq1w8_0(this$0) {
48302
48302
  return function (it) {
48303
- return !(it.playerId === this$0.k8z_1);
48303
+ return !(it.playerId === this$0.v8z_1);
48304
48304
  };
48305
48305
  }
48306
48306
  function PlayerTurnStoreContract(di, resetPlayerTurnByMechanicActions, currentPlayerId) {
48307
- this.j8z_1 = resetPlayerTurnByMechanicActions;
48308
- this.k8z_1 = currentPlayerId;
48307
+ this.u8z_1 = resetPlayerTurnByMechanicActions;
48308
+ this.v8z_1 = currentPlayerId;
48309
48309
  var tmp = this;
48310
48310
  // Inline function 'org.kodein.di.instance' call
48311
48311
  // Inline function 'org.kodein.type.generic' call
48312
48312
  var tmp_0 = typeToken(createKType(getKClass(PlayerTurnInteractor), arrayOf([]), false));
48313
48313
  var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
48314
- tmp.l8z_1 = Instance(di, tmp$ret$0, null).d62(this, playerTurnInteractor$factory_1());
48314
+ tmp.w8z_1 = Instance(di, tmp$ret$0, null).d62(this, playerTurnInteractor$factory_1());
48315
48315
  var tmp_1 = this;
48316
48316
  // Inline function 'org.kodein.di.instance' call
48317
48317
  // Inline function 'org.kodein.type.generic' call
48318
48318
  var tmp_2 = typeToken(createKType(getKClass(PlayerTurnMechanicReducer), arrayOf([]), false));
48319
48319
  var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
48320
- tmp_1.m8z_1 = Instance(di, tmp$ret$2, null).d62(this, playerTurnMechanicReducer$factory());
48320
+ tmp_1.x8z_1 = Instance(di, tmp$ret$2, null).d62(this, playerTurnMechanicReducer$factory());
48321
48321
  var tmp_3 = this;
48322
48322
  // Inline function 'org.kodein.di.instance' call
48323
48323
  // Inline function 'org.kodein.type.generic' call
48324
48324
  var tmp_4 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
48325
48325
  var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
48326
- tmp_3.n8z_1 = Instance(di, tmp$ret$4, null).d62(this, logger$factory_3());
48326
+ tmp_3.y8z_1 = Instance(di, tmp$ret$4, null).d62(this, logger$factory_3());
48327
48327
  }
48328
48328
  protoOf(PlayerTurnStoreContract).o8y = function () {
48329
48329
  var tmp = _get_playerTurnInteractor__lczh1o_0(this);
@@ -48331,7 +48331,7 @@
48331
48331
  var tmp_1 = _get_logger__rkp4sl_1(this);
48332
48332
  var tmp_2 = resetPlayerTurnWhenAnswerFromActionReducer(tmp, tmp_0, tmp_1, PlayerTurnStoreContract$_get_reducers_$lambda_rtq1w8(this));
48333
48333
  var tmp_3;
48334
- if (!this.j8z_1) {
48334
+ if (!this.u8z_1) {
48335
48335
  var tmp_4 = _get_playerTurnInteractor__lczh1o_0(this);
48336
48336
  var tmp_5 = _get_playerTurnMechanicReducer__y10a87(this);
48337
48337
  var tmp_6 = _get_logger__rkp4sl_1(this);
@@ -51452,7 +51452,7 @@
51452
51452
  };
51453
51453
  function MechanicReducers$reducer$o$reduce$lambda(this$0, $action) {
51454
51454
  return function (tbl) {
51455
- return this$0.u8z_1.h97(tbl, $action.u8q_1, $action.sceneData, $action.v8q_1, $action.w8q_1);
51455
+ return this$0.p8z_1.h97(tbl, $action.u8q_1, $action.sceneData, $action.v8q_1, $action.w8q_1);
51456
51456
  };
51457
51457
  }
51458
51458
  function MechanicReducers$reducer$o$reduce$lambda_0($action, this$0) {
@@ -51461,7 +51461,7 @@
51461
51461
  if ($action.v8q_1 == null) {
51462
51462
  tmp = tbl;
51463
51463
  } else {
51464
- tmp = this$0.v8z_1.i97(tbl, $action);
51464
+ tmp = this$0.q8z_1.i97(tbl, $action);
51465
51465
  }
51466
51466
  return tmp;
51467
51467
  };
@@ -51475,9 +51475,9 @@
51475
51475
  protoOf(_no_name_provided__qut3iv_28).a97 = function (state, action) {
51476
51476
  // Inline function 'games.jass.logic.redux.reducers.MechanicReducers.reducer.<anonymous>' call
51477
51477
  var action_0 = action instanceof MechanicAction ? action : THROW_CCE();
51478
- if (this.j97_1.w8z_1.validateIfMainThread) {
51478
+ if (this.j97_1.r8z_1.validateIfMainThread) {
51479
51479
  // Inline function 'games.logic.utils.runSafeOnProd' call
51480
- var logger = this.j97_1.x8z_1;
51480
+ var logger = this.j97_1.s8z_1;
51481
51481
  var tmp;
51482
51482
  try {
51483
51483
  assertIfMainThread('mechanicReducer is called from main thread for action = ' + toString(action_0));
@@ -51498,46 +51498,46 @@
51498
51498
  }
51499
51499
  var tmp_1;
51500
51500
  if (action_0 instanceof StartGameMechanicAction) {
51501
- tmp_1 = this.j97_1.o8z_1.q98(state, action_0);
51501
+ tmp_1 = this.j97_1.j8z_1.q98(state, action_0);
51502
51502
  } else {
51503
51503
  if (action_0 instanceof StartNewGameMechanicAction) {
51504
- tmp_1 = this.j97_1.o8z_1.p98(state, action_0);
51504
+ tmp_1 = this.j97_1.j8z_1.p98(state, action_0);
51505
51505
  } else {
51506
51506
  if (action_0 instanceof ContinueGameMechanicAction) {
51507
- tmp_1 = this.j97_1.o8z_1.o98(state, action_0);
51507
+ tmp_1 = this.j97_1.j8z_1.o98(state, action_0);
51508
51508
  } else {
51509
51509
  if (action_0 instanceof FinishingGameMechanicAction) {
51510
- tmp_1 = this.j97_1.o8z_1.n98(state, action_0);
51510
+ tmp_1 = this.j97_1.j8z_1.n98(state, action_0);
51511
51511
  } else {
51512
51512
  if (action_0 instanceof FinishGameMechanicAction) {
51513
- tmp_1 = this.j97_1.o8z_1.m98(state, action_0);
51513
+ tmp_1 = this.j97_1.j8z_1.m98(state, action_0);
51514
51514
  } else {
51515
51515
  if (action_0 instanceof RestartGameMechanicAction) {
51516
- tmp_1 = this.j97_1.o8z_1.l98(state, action_0);
51516
+ tmp_1 = this.j97_1.j8z_1.l98(state, action_0);
51517
51517
  } else {
51518
51518
  if (action_0 instanceof ErrorAction) {
51519
- tmp_1 = this.j97_1.o8z_1.k98(state, action_0);
51519
+ tmp_1 = this.j97_1.j8z_1.k98(state, action_0);
51520
51520
  } else {
51521
51521
  if (action_0 instanceof TeamsDataMechanicAction) {
51522
- tmp_1 = state.f8u(state.o6n().copy(VOID, VOID, VOID, VOID, this.j97_1.p8z_1.j98(state.o6n().players, action_0)));
51522
+ tmp_1 = state.f8u(state.o6n().copy(VOID, VOID, VOID, VOID, this.j97_1.k8z_1.j98(state.o6n().players, action_0)));
51523
51523
  } else {
51524
51524
  if (action_0 instanceof SuitChoiceMechanicAction) {
51525
- tmp_1 = this.j97_1.q8z_1.i98(state, action_0);
51525
+ tmp_1 = this.j97_1.l8z_1.i98(state, action_0);
51526
51526
  } else {
51527
51527
  if (action_0 instanceof TrumpMechanicAction) {
51528
- tmp_1 = this.j97_1.q8z_1.h98(state, action_0);
51528
+ tmp_1 = this.j97_1.l8z_1.h98(state, action_0);
51529
51529
  } else {
51530
51530
  if (action_0 instanceof CombinationChoiceMechanicAction) {
51531
- tmp_1 = this.j97_1.s8z_1.e98(state, action_0);
51531
+ tmp_1 = this.j97_1.n8z_1.e98(state, action_0);
51532
51532
  } else {
51533
51533
  if (action_0 instanceof PutCardMechanicAction) {
51534
- tmp_1 = this.j97_1.r8z_1.d98(state, action_0);
51534
+ tmp_1 = this.j97_1.m8z_1.d98(state, action_0);
51535
51535
  } else {
51536
51536
  if (action_0 instanceof PickUpBribeMechanicAction) {
51537
- tmp_1 = this.j97_1.r8z_1.c98(state, action_0);
51537
+ tmp_1 = this.j97_1.m8z_1.c98(state, action_0);
51538
51538
  } else {
51539
51539
  if (action_0 instanceof WinnerCombinationsMechanicAction) {
51540
- tmp_1 = this.j97_1.s8z_1.u97(state, action_0);
51540
+ tmp_1 = this.j97_1.n8z_1.u97(state, action_0);
51541
51541
  } else {
51542
51542
  if (action_0 instanceof SceneMechanicAction) {
51543
51543
  // Inline function 'kotlin.collections.fold' call
@@ -51554,13 +51554,13 @@
51554
51554
  tmp_1 = state.f8u(tmp$ret$2);
51555
51555
  } else {
51556
51556
  if (action_0 instanceof SceneActMechanicAction) {
51557
- tmp_1 = state.f8u(this.j97_1.v8z_1.i97(state.o6n(), action_0));
51557
+ tmp_1 = state.f8u(this.j97_1.q8z_1.i97(state.o6n(), action_0));
51558
51558
  } else {
51559
51559
  if (action_0 instanceof PlayerReadyMechanicAction) {
51560
- tmp_1 = state.f8u(this.j97_1.t8z_1.o97(state.o6n(), action_0));
51560
+ tmp_1 = state.f8u(this.j97_1.o8z_1.o97(state.o6n(), action_0));
51561
51561
  } else {
51562
51562
  if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
51563
- tmp_1 = state.f8u(this.j97_1.t8z_1.n97(state.o6n(), action_0.playerId, action_0.state, action_0.reconnectUntilTime));
51563
+ tmp_1 = state.f8u(this.j97_1.o8z_1.n97(state.o6n(), action_0.playerId, action_0.state, action_0.reconnectUntilTime));
51564
51564
  } else {
51565
51565
  if (action_0 instanceof MessageMechanicAction) {
51566
51566
  tmp_1 = state;
@@ -51591,18 +51591,18 @@
51591
51591
  return this.a97((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
51592
51592
  };
51593
51593
  function MechanicReducers(gameLifecycleReducer, teamsMechanicReducer, tradeMechanicReducer, earnPointsMechanicReducer, combinationsMechanicReducer, playerTurnMechanicReducer, sceneReducer, sceneActReducer, engineLogicConfig, logger) {
51594
- this.o8z_1 = gameLifecycleReducer;
51595
- this.p8z_1 = teamsMechanicReducer;
51596
- this.q8z_1 = tradeMechanicReducer;
51597
- this.r8z_1 = earnPointsMechanicReducer;
51598
- this.s8z_1 = combinationsMechanicReducer;
51599
- this.t8z_1 = playerTurnMechanicReducer;
51600
- this.u8z_1 = sceneReducer;
51601
- this.v8z_1 = sceneActReducer;
51602
- this.w8z_1 = engineLogicConfig;
51603
- this.x8z_1 = logger;
51604
- }
51605
- protoOf(MechanicReducers).y8z = function () {
51594
+ this.j8z_1 = gameLifecycleReducer;
51595
+ this.k8z_1 = teamsMechanicReducer;
51596
+ this.l8z_1 = tradeMechanicReducer;
51597
+ this.m8z_1 = earnPointsMechanicReducer;
51598
+ this.n8z_1 = combinationsMechanicReducer;
51599
+ this.o8z_1 = playerTurnMechanicReducer;
51600
+ this.p8z_1 = sceneReducer;
51601
+ this.q8z_1 = sceneActReducer;
51602
+ this.r8z_1 = engineLogicConfig;
51603
+ this.s8z_1 = logger;
51604
+ }
51605
+ protoOf(MechanicReducers).t8z = function () {
51606
51606
  // Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
51607
51607
  return new _no_name_provided__qut3iv_28(this);
51608
51608
  };