raspberry_games_server_game_logic 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.c5a(structure);
326
326
  }
327
- initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithDate, WithTime]);
327
+ initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithTime, WithDate]);
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, WithUtcOffset, WithTime, WithDate]);
380
+ initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithTime, WithDate, WithUtcOffset]);
381
381
  initMetadataForClass(AbstractDateTimeFormat, 'AbstractDateTimeFormat');
382
382
  initMetadataForClass(DateTimeComponentsFormat, 'DateTimeComponentsFormat', VOID, AbstractDateTimeFormat);
383
383
  initMetadataForClass(TwoDigitNumber, 'TwoDigitNumber');
@@ -376,7 +376,7 @@
376
376
  initMetadataForClass(AppEnvironmentValue, 'AppEnvironmentValue', VOID, Enum);
377
377
  //endregion
378
378
  function GameEngineConfig() {
379
- this.version = '1.8.320';
379
+ this.version = '1.8.322';
380
380
  }
381
381
  protoOf(GameEngineConfig).s2z = function () {
382
382
  return this.version;
@@ -49175,7 +49175,7 @@
49175
49175
  tmp_17.r92_1 = Instance(di, tmp$ret$18, null).d64(this, mechanicReducers$factory());
49176
49176
  }
49177
49177
  protoOf(GameMechanicStoreContract).x91 = function () {
49178
- return plus_0(plus(this.h92_1.x91(), listOf(_get_mechanicReducers__ipi0tc(this).h93())), fromClientReducer());
49178
+ return plus_0(plus(listOf(_get_mechanicReducers__ipi0tc(this).c93()), this.h92_1.x91()), fromClientReducer());
49179
49179
  };
49180
49180
  protoOf(GameMechanicStoreContract).y91 = function () {
49181
49181
  var tmp = sceneLifecycleMiddleware(_get_sceneFactory__scjsbx(this), _get_sceneRouter__ee4ncs(this), _get_sceneValidationInteractor__iffomr(this), _get_asyncProvider__jbpyhw_2(this));
@@ -49292,53 +49292,53 @@
49292
49292
  }
49293
49293
  function _get_playerTurnInteractor__lczh1o_0($this) {
49294
49294
  // Inline function 'kotlin.getValue' call
49295
- var this_0 = $this.u92_1;
49295
+ var this_0 = $this.f93_1;
49296
49296
  playerTurnInteractor$factory_2();
49297
49297
  return this_0.u();
49298
49298
  }
49299
49299
  function _get_playerTurnMechanicReducer__y10a87($this) {
49300
49300
  // Inline function 'kotlin.getValue' call
49301
- var this_0 = $this.v92_1;
49301
+ var this_0 = $this.g93_1;
49302
49302
  playerTurnMechanicReducer$factory_0();
49303
49303
  return this_0.u();
49304
49304
  }
49305
49305
  function _get_logger__rkp4sl_1($this) {
49306
49306
  // Inline function 'kotlin.getValue' call
49307
- var this_0 = $this.w92_1;
49307
+ var this_0 = $this.h93_1;
49308
49308
  logger$factory_4();
49309
49309
  return this_0.u();
49310
49310
  }
49311
49311
  function PlayerTurnStoreContract$_get_reducers_$lambda_rtq1w8(this$0) {
49312
49312
  return function (player) {
49313
- return this$0.s92_1 || player.playerId === this$0.t92_1;
49313
+ return this$0.d93_1 || player.playerId === this$0.e93_1;
49314
49314
  };
49315
49315
  }
49316
49316
  function PlayerTurnStoreContract$_get_reducers_$lambda_rtq1w8_0(this$0) {
49317
49317
  return function (it) {
49318
- return !(it.playerId === this$0.t92_1);
49318
+ return !(it.playerId === this$0.e93_1);
49319
49319
  };
49320
49320
  }
49321
49321
  function PlayerTurnStoreContract(di, resetPlayerTurnByMechanicActions, currentPlayerId) {
49322
- this.s92_1 = resetPlayerTurnByMechanicActions;
49323
- this.t92_1 = currentPlayerId;
49322
+ this.d93_1 = resetPlayerTurnByMechanicActions;
49323
+ this.e93_1 = currentPlayerId;
49324
49324
  var tmp = this;
49325
49325
  // Inline function 'org.kodein.di.instance' call
49326
49326
  // Inline function 'org.kodein.type.generic' call
49327
49327
  var tmp_0 = typeToken(createKType(getKClass(PlayerTurnInteractor), arrayOf([]), false));
49328
49328
  var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
49329
- tmp.u92_1 = Instance(di, tmp$ret$0, null).d64(this, playerTurnInteractor$factory_1());
49329
+ tmp.f93_1 = Instance(di, tmp$ret$0, null).d64(this, playerTurnInteractor$factory_1());
49330
49330
  var tmp_1 = this;
49331
49331
  // Inline function 'org.kodein.di.instance' call
49332
49332
  // Inline function 'org.kodein.type.generic' call
49333
49333
  var tmp_2 = typeToken(createKType(getKClass(PlayerTurnMechanicReducer), arrayOf([]), false));
49334
49334
  var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
49335
- tmp_1.v92_1 = Instance(di, tmp$ret$2, null).d64(this, playerTurnMechanicReducer$factory());
49335
+ tmp_1.g93_1 = Instance(di, tmp$ret$2, null).d64(this, playerTurnMechanicReducer$factory());
49336
49336
  var tmp_3 = this;
49337
49337
  // Inline function 'org.kodein.di.instance' call
49338
49338
  // Inline function 'org.kodein.type.generic' call
49339
49339
  var tmp_4 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
49340
49340
  var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
49341
- tmp_3.w92_1 = Instance(di, tmp$ret$4, null).d64(this, logger$factory_3());
49341
+ tmp_3.h93_1 = Instance(di, tmp$ret$4, null).d64(this, logger$factory_3());
49342
49342
  }
49343
49343
  protoOf(PlayerTurnStoreContract).x91 = function () {
49344
49344
  var tmp = _get_playerTurnInteractor__lczh1o_0(this);
@@ -49346,7 +49346,7 @@
49346
49346
  var tmp_1 = _get_logger__rkp4sl_1(this);
49347
49347
  var tmp_2 = resetPlayerTurnWhenAnswerFromActionReducer(tmp, tmp_0, tmp_1, PlayerTurnStoreContract$_get_reducers_$lambda_rtq1w8(this));
49348
49348
  var tmp_3;
49349
- if (!this.s92_1) {
49349
+ if (!this.d93_1) {
49350
49350
  var tmp_4 = _get_playerTurnInteractor__lczh1o_0(this);
49351
49351
  var tmp_5 = _get_playerTurnMechanicReducer__y10a87(this);
49352
49352
  var tmp_6 = _get_logger__rkp4sl_1(this);
@@ -52916,7 +52916,7 @@
52916
52916
  };
52917
52917
  function MechanicReducers$reducer$o$reduce$lambda(this$0, $action) {
52918
52918
  return function (tbl) {
52919
- return this$0.d93_1.m9c(tbl, $action.a8u_1, $action.sceneData, $action.b8u_1, $action.c8u_1);
52919
+ return this$0.y92_1.m9c(tbl, $action.a8u_1, $action.sceneData, $action.b8u_1, $action.c8u_1);
52920
52920
  };
52921
52921
  }
52922
52922
  function MechanicReducers$reducer$o$reduce$lambda_0($action, this$0) {
@@ -52925,7 +52925,7 @@
52925
52925
  if ($action.b8u_1 == null) {
52926
52926
  tmp = tbl;
52927
52927
  } else {
52928
- tmp = this$0.e93_1.n9c(tbl, $action);
52928
+ tmp = this$0.z92_1.n9c(tbl, $action);
52929
52929
  }
52930
52930
  return tmp;
52931
52931
  };
@@ -52939,9 +52939,9 @@
52939
52939
  protoOf(_no_name_provided__qut3iv_33).f9c = function (state, action) {
52940
52940
  // Inline function 'games.jass.logic.redux.reducers.MechanicReducers.reducer.<anonymous>' call
52941
52941
  var action_0 = action instanceof MechanicAction ? action : THROW_CCE();
52942
- if (this.o9c_1.f93_1.validateIfMainThread) {
52942
+ if (this.o9c_1.a93_1.validateIfMainThread) {
52943
52943
  // Inline function 'games.logic.utils.runSafeOnProd' call
52944
- var logger = this.o9c_1.g93_1;
52944
+ var logger = this.o9c_1.b93_1;
52945
52945
  var tmp;
52946
52946
  try {
52947
52947
  assertIfMainThread('mechanicReducer is called from main thread for action = ' + toString(action_0));
@@ -52962,46 +52962,46 @@
52962
52962
  }
52963
52963
  var tmp_1;
52964
52964
  if (action_0 instanceof StartGameMechanicAction) {
52965
- tmp_1 = this.o9c_1.x92_1.r9d(state, action_0);
52965
+ tmp_1 = this.o9c_1.s92_1.r9d(state, action_0);
52966
52966
  } else {
52967
52967
  if (action_0 instanceof StartNewGameMechanicAction) {
52968
- tmp_1 = this.o9c_1.x92_1.q9d(state, action_0);
52968
+ tmp_1 = this.o9c_1.s92_1.q9d(state, action_0);
52969
52969
  } else {
52970
52970
  if (action_0 instanceof ContinueGameMechanicAction) {
52971
- tmp_1 = this.o9c_1.x92_1.p9d(state, action_0);
52971
+ tmp_1 = this.o9c_1.s92_1.p9d(state, action_0);
52972
52972
  } else {
52973
52973
  if (action_0 instanceof FinishingGameMechanicAction) {
52974
- tmp_1 = this.o9c_1.x92_1.o9d(state, action_0);
52974
+ tmp_1 = this.o9c_1.s92_1.o9d(state, action_0);
52975
52975
  } else {
52976
52976
  if (action_0 instanceof FinishGameMechanicAction) {
52977
- tmp_1 = this.o9c_1.x92_1.n9d(state, action_0);
52977
+ tmp_1 = this.o9c_1.s92_1.n9d(state, action_0);
52978
52978
  } else {
52979
52979
  if (action_0 instanceof RestartGameMechanicAction) {
52980
- tmp_1 = this.o9c_1.x92_1.m9d(state, action_0);
52980
+ tmp_1 = this.o9c_1.s92_1.m9d(state, action_0);
52981
52981
  } else {
52982
52982
  if (action_0 instanceof ErrorAction) {
52983
- tmp_1 = this.o9c_1.x92_1.l9d(state, action_0);
52983
+ tmp_1 = this.o9c_1.s92_1.l9d(state, action_0);
52984
52984
  } else {
52985
52985
  if (action_0 instanceof TeamsDataMechanicAction) {
52986
- tmp_1 = state.l8x(state.s6r().copy(VOID, VOID, VOID, VOID, this.o9c_1.y92_1.k9d(state.s6r().players, action_0)));
52986
+ tmp_1 = state.l8x(state.s6r().copy(VOID, VOID, VOID, VOID, this.o9c_1.t92_1.k9d(state.s6r().players, action_0)));
52987
52987
  } else {
52988
52988
  if (action_0 instanceof SuitChoiceMechanicAction) {
52989
- tmp_1 = this.o9c_1.z92_1.j9d(state, action_0);
52989
+ tmp_1 = this.o9c_1.u92_1.j9d(state, action_0);
52990
52990
  } else {
52991
52991
  if (action_0 instanceof TrumpMechanicAction) {
52992
- tmp_1 = this.o9c_1.z92_1.i9d(state, action_0);
52992
+ tmp_1 = this.o9c_1.u92_1.i9d(state, action_0);
52993
52993
  } else {
52994
52994
  if (action_0 instanceof CombinationChoiceMechanicAction) {
52995
- tmp_1 = this.o9c_1.b93_1.f9d(state, action_0);
52995
+ tmp_1 = this.o9c_1.w92_1.f9d(state, action_0);
52996
52996
  } else {
52997
52997
  if (action_0 instanceof PutCardMechanicAction) {
52998
- tmp_1 = this.o9c_1.a93_1.e9d(state, action_0);
52998
+ tmp_1 = this.o9c_1.v92_1.e9d(state, action_0);
52999
52999
  } else {
53000
53000
  if (action_0 instanceof PickUpBribeMechanicAction) {
53001
- tmp_1 = this.o9c_1.a93_1.d9d(state, action_0);
53001
+ tmp_1 = this.o9c_1.v92_1.d9d(state, action_0);
53002
53002
  } else {
53003
53003
  if (action_0 instanceof WinnerCombinationsMechanicAction) {
53004
- tmp_1 = this.o9c_1.b93_1.v9c(state, action_0);
53004
+ tmp_1 = this.o9c_1.w92_1.v9c(state, action_0);
53005
53005
  } else {
53006
53006
  if (action_0 instanceof SceneMechanicAction) {
53007
53007
  // Inline function 'kotlin.collections.fold' call
@@ -53018,13 +53018,13 @@
53018
53018
  tmp_1 = state.l8x(tmp$ret$2);
53019
53019
  } else {
53020
53020
  if (action_0 instanceof SceneActMechanicAction) {
53021
- tmp_1 = state.l8x(this.o9c_1.e93_1.n9c(state.s6r(), action_0));
53021
+ tmp_1 = state.l8x(this.o9c_1.z92_1.n9c(state.s6r(), action_0));
53022
53022
  } else {
53023
53023
  if (action_0 instanceof PlayerReadyMechanicAction) {
53024
- tmp_1 = state.l8x(this.o9c_1.c93_1.p9c(state.s6r(), action_0));
53024
+ tmp_1 = state.l8x(this.o9c_1.x92_1.p9c(state.s6r(), action_0));
53025
53025
  } else {
53026
53026
  if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
53027
- tmp_1 = state.l8x(this.o9c_1.c93_1.p8t(state.s6r(), action_0.playerId, action_0.state, action_0.reconnectUntilTime));
53027
+ tmp_1 = state.l8x(this.o9c_1.x92_1.p8t(state.s6r(), action_0.playerId, action_0.state, action_0.reconnectUntilTime));
53028
53028
  } else {
53029
53029
  if (action_0 instanceof MessageMechanicAction) {
53030
53030
  tmp_1 = state;
@@ -53055,18 +53055,18 @@
53055
53055
  return this.f9c((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
53056
53056
  };
53057
53057
  function MechanicReducers(gameLifecycleReducer, teamsMechanicReducer, tradeMechanicReducer, earnPointsMechanicReducer, combinationsMechanicReducer, playerTurnMechanicReducer, sceneReducer, sceneActReducer, engineLogicConfig, logger) {
53058
- this.x92_1 = gameLifecycleReducer;
53059
- this.y92_1 = teamsMechanicReducer;
53060
- this.z92_1 = tradeMechanicReducer;
53061
- this.a93_1 = earnPointsMechanicReducer;
53062
- this.b93_1 = combinationsMechanicReducer;
53063
- this.c93_1 = playerTurnMechanicReducer;
53064
- this.d93_1 = sceneReducer;
53065
- this.e93_1 = sceneActReducer;
53066
- this.f93_1 = engineLogicConfig;
53067
- this.g93_1 = logger;
53068
- }
53069
- protoOf(MechanicReducers).h93 = function () {
53058
+ this.s92_1 = gameLifecycleReducer;
53059
+ this.t92_1 = teamsMechanicReducer;
53060
+ this.u92_1 = tradeMechanicReducer;
53061
+ this.v92_1 = earnPointsMechanicReducer;
53062
+ this.w92_1 = combinationsMechanicReducer;
53063
+ this.x92_1 = playerTurnMechanicReducer;
53064
+ this.y92_1 = sceneReducer;
53065
+ this.z92_1 = sceneActReducer;
53066
+ this.a93_1 = engineLogicConfig;
53067
+ this.b93_1 = logger;
53068
+ }
53069
+ protoOf(MechanicReducers).c93 = function () {
53070
53070
  // Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
53071
53071
  return new _no_name_provided__qut3iv_33(this);
53072
53072
  };