client_plugin_logic_deb 1.8.321 → 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.
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1 -1
- package/Logic_Debertz-core.js +1 -1
- package/Logic_Debertz-engine.js +45 -45
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +1 -1
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +10 -10
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +7 -7
- 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.v5d(structure);
|
|
326
326
|
}
|
|
327
|
-
initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder,
|
|
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;
|
package/Logic_Debertz-core.js
CHANGED
|
@@ -412,7 +412,7 @@
|
|
|
412
412
|
initMetadataForClass(AppEnvironmentValue, 'AppEnvironmentValue', VOID, Enum);
|
|
413
413
|
//endregion
|
|
414
414
|
function GameEngineConfig() {
|
|
415
|
-
this.version = '1.8.
|
|
415
|
+
this.version = '1.8.322';
|
|
416
416
|
}
|
|
417
417
|
protoOf(GameEngineConfig).l33 = function () {
|
|
418
418
|
return this.version;
|
package/Logic_Debertz-engine.js
CHANGED
|
@@ -54563,7 +54563,7 @@
|
|
|
54563
54563
|
tmp_17.m9g_1 = Instance(di, tmp$ret$18, null).w67(this, mechanicReducers$factory());
|
|
54564
54564
|
}
|
|
54565
54565
|
protoOf(GameMechanicStoreContract).s9f = function () {
|
|
54566
|
-
return plus_0(plus(this.
|
|
54566
|
+
return plus_0(plus(listOf(_get_mechanicReducers__ipi0tc(this).x9g()), this.c9g_1.s9f()), fromClientReducer());
|
|
54567
54567
|
};
|
|
54568
54568
|
protoOf(GameMechanicStoreContract).t9f = function () {
|
|
54569
54569
|
var tmp = sceneLifecycleMiddleware(_get_sceneFactory__scjsbx(this), _get_sceneRouter__ee4ncs(this), _get_sceneValidationInteractor__iffomr(this), _get_asyncProvider__jbpyhw_2(this));
|
|
@@ -54680,53 +54680,53 @@
|
|
|
54680
54680
|
}
|
|
54681
54681
|
function _get_playerTurnInteractor__lczh1o_0($this) {
|
|
54682
54682
|
// Inline function 'kotlin.getValue' call
|
|
54683
|
-
var this_0 = $this.
|
|
54683
|
+
var this_0 = $this.a9h_1;
|
|
54684
54684
|
playerTurnInteractor$factory_2();
|
|
54685
54685
|
return this_0.u();
|
|
54686
54686
|
}
|
|
54687
54687
|
function _get_playerTurnMechanicReducer__y10a87($this) {
|
|
54688
54688
|
// Inline function 'kotlin.getValue' call
|
|
54689
|
-
var this_0 = $this.
|
|
54689
|
+
var this_0 = $this.b9h_1;
|
|
54690
54690
|
playerTurnMechanicReducer$factory_0();
|
|
54691
54691
|
return this_0.u();
|
|
54692
54692
|
}
|
|
54693
54693
|
function _get_logger__rkp4sl_1($this) {
|
|
54694
54694
|
// Inline function 'kotlin.getValue' call
|
|
54695
|
-
var this_0 = $this.
|
|
54695
|
+
var this_0 = $this.c9h_1;
|
|
54696
54696
|
logger$factory_4();
|
|
54697
54697
|
return this_0.u();
|
|
54698
54698
|
}
|
|
54699
54699
|
function PlayerTurnStoreContract$_get_reducers_$lambda_rtq1w8(this$0) {
|
|
54700
54700
|
return function (player) {
|
|
54701
|
-
return this$0.
|
|
54701
|
+
return this$0.y9g_1 || player.playerId === this$0.z9g_1;
|
|
54702
54702
|
};
|
|
54703
54703
|
}
|
|
54704
54704
|
function PlayerTurnStoreContract$_get_reducers_$lambda_rtq1w8_0(this$0) {
|
|
54705
54705
|
return function (it) {
|
|
54706
|
-
return !(it.playerId === this$0.
|
|
54706
|
+
return !(it.playerId === this$0.z9g_1);
|
|
54707
54707
|
};
|
|
54708
54708
|
}
|
|
54709
54709
|
function PlayerTurnStoreContract(di, resetPlayerTurnByMechanicActions, currentPlayerId) {
|
|
54710
|
-
this.
|
|
54711
|
-
this.
|
|
54710
|
+
this.y9g_1 = resetPlayerTurnByMechanicActions;
|
|
54711
|
+
this.z9g_1 = currentPlayerId;
|
|
54712
54712
|
var tmp = this;
|
|
54713
54713
|
// Inline function 'org.kodein.di.instance' call
|
|
54714
54714
|
// Inline function 'org.kodein.type.generic' call
|
|
54715
54715
|
var tmp_0 = typeToken(createKType(getKClass(PlayerTurnInteractor), arrayOf([]), false));
|
|
54716
54716
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
54717
|
-
tmp.
|
|
54717
|
+
tmp.a9h_1 = Instance(di, tmp$ret$0, null).w67(this, playerTurnInteractor$factory_1());
|
|
54718
54718
|
var tmp_1 = this;
|
|
54719
54719
|
// Inline function 'org.kodein.di.instance' call
|
|
54720
54720
|
// Inline function 'org.kodein.type.generic' call
|
|
54721
54721
|
var tmp_2 = typeToken(createKType(getKClass(PlayerTurnMechanicReducer), arrayOf([]), false));
|
|
54722
54722
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
54723
|
-
tmp_1.
|
|
54723
|
+
tmp_1.b9h_1 = Instance(di, tmp$ret$2, null).w67(this, playerTurnMechanicReducer$factory());
|
|
54724
54724
|
var tmp_3 = this;
|
|
54725
54725
|
// Inline function 'org.kodein.di.instance' call
|
|
54726
54726
|
// Inline function 'org.kodein.type.generic' call
|
|
54727
54727
|
var tmp_4 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
54728
54728
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
54729
|
-
tmp_3.
|
|
54729
|
+
tmp_3.c9h_1 = Instance(di, tmp$ret$4, null).w67(this, logger$factory_3());
|
|
54730
54730
|
}
|
|
54731
54731
|
protoOf(PlayerTurnStoreContract).s9f = function () {
|
|
54732
54732
|
var tmp = _get_playerTurnInteractor__lczh1o_0(this);
|
|
@@ -54734,7 +54734,7 @@
|
|
|
54734
54734
|
var tmp_1 = _get_logger__rkp4sl_1(this);
|
|
54735
54735
|
var tmp_2 = resetPlayerTurnWhenAnswerFromActionReducer(tmp, tmp_0, tmp_1, PlayerTurnStoreContract$_get_reducers_$lambda_rtq1w8(this));
|
|
54736
54736
|
var tmp_3;
|
|
54737
|
-
if (!this.
|
|
54737
|
+
if (!this.y9g_1) {
|
|
54738
54738
|
var tmp_4 = _get_playerTurnInteractor__lczh1o_0(this);
|
|
54739
54739
|
var tmp_5 = _get_playerTurnMechanicReducer__y10a87(this);
|
|
54740
54740
|
var tmp_6 = _get_logger__rkp4sl_1(this);
|
|
@@ -58371,7 +58371,7 @@
|
|
|
58371
58371
|
};
|
|
58372
58372
|
function MechanicReducers$reducer$o$reduce$lambda(this$0, $action) {
|
|
58373
58373
|
return function (tbl) {
|
|
58374
|
-
return this$0.
|
|
58374
|
+
return this$0.t9g_1.t9q(tbl, $action.m89_1, $action.sceneData, $action.n89_1, $action.o89_1);
|
|
58375
58375
|
};
|
|
58376
58376
|
}
|
|
58377
58377
|
function MechanicReducers$reducer$o$reduce$lambda_0($action, this$0) {
|
|
@@ -58380,7 +58380,7 @@
|
|
|
58380
58380
|
if ($action.n89_1 == null) {
|
|
58381
58381
|
tmp = tbl;
|
|
58382
58382
|
} else {
|
|
58383
|
-
tmp = this$0.
|
|
58383
|
+
tmp = this$0.u9g_1.u9q(tbl, $action);
|
|
58384
58384
|
}
|
|
58385
58385
|
return tmp;
|
|
58386
58386
|
};
|
|
@@ -58394,9 +58394,9 @@
|
|
|
58394
58394
|
protoOf(_no_name_provided__qut3iv_34).m9q = function (state, action) {
|
|
58395
58395
|
// Inline function 'games.jass.logic.redux.reducers.MechanicReducers.reducer.<anonymous>' call
|
|
58396
58396
|
var action_0 = action instanceof MechanicAction ? action : THROW_CCE();
|
|
58397
|
-
if (this.v9q_1.
|
|
58397
|
+
if (this.v9q_1.v9g_1.validateIfMainThread) {
|
|
58398
58398
|
// Inline function 'games.logic.utils.runSafeOnProd' call
|
|
58399
|
-
var logger = this.v9q_1.
|
|
58399
|
+
var logger = this.v9q_1.w9g_1;
|
|
58400
58400
|
var tmp;
|
|
58401
58401
|
try {
|
|
58402
58402
|
assertIfMainThread('mechanicReducer is called from main thread for action = ' + toString(action_0));
|
|
@@ -58417,46 +58417,46 @@
|
|
|
58417
58417
|
}
|
|
58418
58418
|
var tmp_1;
|
|
58419
58419
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
58420
|
-
tmp_1 = this.v9q_1.
|
|
58420
|
+
tmp_1 = this.v9q_1.n9g_1.y9r(state, action_0);
|
|
58421
58421
|
} else {
|
|
58422
58422
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
58423
|
-
tmp_1 = this.v9q_1.
|
|
58423
|
+
tmp_1 = this.v9q_1.n9g_1.x9r(state, action_0);
|
|
58424
58424
|
} else {
|
|
58425
58425
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
58426
|
-
tmp_1 = this.v9q_1.
|
|
58426
|
+
tmp_1 = this.v9q_1.n9g_1.w9r(state, action_0);
|
|
58427
58427
|
} else {
|
|
58428
58428
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
58429
|
-
tmp_1 = this.v9q_1.
|
|
58429
|
+
tmp_1 = this.v9q_1.n9g_1.v9r(state, action_0);
|
|
58430
58430
|
} else {
|
|
58431
58431
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
58432
|
-
tmp_1 = this.v9q_1.
|
|
58432
|
+
tmp_1 = this.v9q_1.n9g_1.u9r(state, action_0);
|
|
58433
58433
|
} else {
|
|
58434
58434
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
58435
|
-
tmp_1 = this.v9q_1.
|
|
58435
|
+
tmp_1 = this.v9q_1.n9g_1.t9r(state, action_0);
|
|
58436
58436
|
} else {
|
|
58437
58437
|
if (action_0 instanceof ErrorAction) {
|
|
58438
|
-
tmp_1 = this.v9q_1.
|
|
58438
|
+
tmp_1 = this.v9q_1.n9g_1.s9r(state, action_0);
|
|
58439
58439
|
} else {
|
|
58440
58440
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
58441
|
-
tmp_1 = state.u9c(state.i6x().copy(VOID, VOID, VOID, VOID, this.v9q_1.
|
|
58441
|
+
tmp_1 = state.u9c(state.i6x().copy(VOID, VOID, VOID, VOID, this.v9q_1.o9g_1.r9r(state.i6x().players, action_0)));
|
|
58442
58442
|
} else {
|
|
58443
58443
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
58444
|
-
tmp_1 = this.v9q_1.
|
|
58444
|
+
tmp_1 = this.v9q_1.p9g_1.q9r(state, action_0);
|
|
58445
58445
|
} else {
|
|
58446
58446
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
58447
|
-
tmp_1 = this.v9q_1.
|
|
58447
|
+
tmp_1 = this.v9q_1.p9g_1.p9r(state, action_0);
|
|
58448
58448
|
} else {
|
|
58449
58449
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
58450
|
-
tmp_1 = this.v9q_1.
|
|
58450
|
+
tmp_1 = this.v9q_1.r9g_1.m9r(state, action_0);
|
|
58451
58451
|
} else {
|
|
58452
58452
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
58453
|
-
tmp_1 = this.v9q_1.
|
|
58453
|
+
tmp_1 = this.v9q_1.q9g_1.l9r(state, action_0);
|
|
58454
58454
|
} else {
|
|
58455
58455
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
58456
|
-
tmp_1 = this.v9q_1.
|
|
58456
|
+
tmp_1 = this.v9q_1.q9g_1.k9r(state, action_0);
|
|
58457
58457
|
} else {
|
|
58458
58458
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
58459
|
-
tmp_1 = this.v9q_1.
|
|
58459
|
+
tmp_1 = this.v9q_1.r9g_1.c9r(state, action_0);
|
|
58460
58460
|
} else {
|
|
58461
58461
|
if (action_0 instanceof SceneMechanicAction) {
|
|
58462
58462
|
// Inline function 'kotlin.collections.fold' call
|
|
@@ -58473,13 +58473,13 @@
|
|
|
58473
58473
|
tmp_1 = state.u9c(tmp$ret$2);
|
|
58474
58474
|
} else {
|
|
58475
58475
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
58476
|
-
tmp_1 = state.u9c(this.v9q_1.
|
|
58476
|
+
tmp_1 = state.u9c(this.v9q_1.u9g_1.u9q(state.i6x(), action_0));
|
|
58477
58477
|
} else {
|
|
58478
58478
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
58479
|
-
tmp_1 = state.u9c(this.v9q_1.
|
|
58479
|
+
tmp_1 = state.u9c(this.v9q_1.s9g_1.w9q(state.i6x(), action_0));
|
|
58480
58480
|
} else {
|
|
58481
58481
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
58482
|
-
tmp_1 = state.u9c(this.v9q_1.
|
|
58482
|
+
tmp_1 = state.u9c(this.v9q_1.s9g_1.u99(state.i6x(), action_0.playerId, action_0.state, action_0.reconnectUntilTime));
|
|
58483
58483
|
} else {
|
|
58484
58484
|
if (action_0 instanceof MessageMechanicAction) {
|
|
58485
58485
|
tmp_1 = state;
|
|
@@ -58510,18 +58510,18 @@
|
|
|
58510
58510
|
return this.m9q((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
58511
58511
|
};
|
|
58512
58512
|
function MechanicReducers(gameLifecycleReducer, teamsMechanicReducer, tradeMechanicReducer, earnPointsMechanicReducer, combinationsMechanicReducer, playerTurnMechanicReducer, sceneReducer, sceneActReducer, engineLogicConfig, logger) {
|
|
58513
|
-
this.
|
|
58514
|
-
this.
|
|
58515
|
-
this.
|
|
58516
|
-
this.
|
|
58517
|
-
this.
|
|
58518
|
-
this.
|
|
58519
|
-
this.
|
|
58520
|
-
this.
|
|
58521
|
-
this.
|
|
58522
|
-
this.
|
|
58523
|
-
}
|
|
58524
|
-
protoOf(MechanicReducers).
|
|
58513
|
+
this.n9g_1 = gameLifecycleReducer;
|
|
58514
|
+
this.o9g_1 = teamsMechanicReducer;
|
|
58515
|
+
this.p9g_1 = tradeMechanicReducer;
|
|
58516
|
+
this.q9g_1 = earnPointsMechanicReducer;
|
|
58517
|
+
this.r9g_1 = combinationsMechanicReducer;
|
|
58518
|
+
this.s9g_1 = playerTurnMechanicReducer;
|
|
58519
|
+
this.t9g_1 = sceneReducer;
|
|
58520
|
+
this.u9g_1 = sceneActReducer;
|
|
58521
|
+
this.v9g_1 = engineLogicConfig;
|
|
58522
|
+
this.w9g_1 = logger;
|
|
58523
|
+
}
|
|
58524
|
+
protoOf(MechanicReducers).x9g = function () {
|
|
58525
58525
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
58526
58526
|
return new _no_name_provided__qut3iv_34(this);
|
|
58527
58527
|
};
|