game_client_logic_deb 1.8.491 → 1.8.493
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/Logic_Debertz-core.js
CHANGED
|
@@ -412,7 +412,7 @@
|
|
|
412
412
|
initMetadataForClass(BrowserCompressionService, 'BrowserCompressionService', BrowserCompressionService, VOID, [CompressionService], [2]);
|
|
413
413
|
//endregion
|
|
414
414
|
function GameEngineConfig() {
|
|
415
|
-
this.version = '1.8.
|
|
415
|
+
this.version = '1.8.493';
|
|
416
416
|
}
|
|
417
417
|
protoOf(GameEngineConfig).v41 = function () {
|
|
418
418
|
return this.version;
|
|
@@ -176,6 +176,7 @@
|
|
|
176
176
|
var NextPlayerTurnAction = kotlin_io_raspberryapps_game_engine_engine.$_$.i3;
|
|
177
177
|
var singleOrNull = kotlin_kotlin.$_$.q9;
|
|
178
178
|
var firstOrNull = kotlin_kotlin.$_$.r7;
|
|
179
|
+
var PutCardMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.l3;
|
|
179
180
|
var getGrowth = kotlin_io_raspberryapps_game_engine_engine.$_$.e1;
|
|
180
181
|
var ValidationCode_CARD_VALIDATION_HAS_HIGHER_TRUMP_CARD_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.c5;
|
|
181
182
|
var Collection = kotlin_kotlin.$_$.l5;
|
|
@@ -256,7 +257,6 @@
|
|
|
256
257
|
var CalcPointsSceneData = kotlin_io_raspberryapps_game_engine_engine.$_$.x;
|
|
257
258
|
var getWhoChoseSuit = kotlin_io_raspberryapps_game_engine_engine.$_$.u;
|
|
258
259
|
var TradeSceneData = kotlin_io_raspberryapps_game_engine_engine.$_$.a1;
|
|
259
|
-
var PutCardMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.l3;
|
|
260
260
|
var SuitChoiceMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.p3;
|
|
261
261
|
var SceneMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.o3;
|
|
262
262
|
var SuitChoiceFromClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.t2;
|
|
@@ -739,10 +739,10 @@
|
|
|
739
739
|
initMetadataForClass(clientErrorStateWhenTerminationActionReducer$$inlined$reducerForActionType$1, VOID, VOID, VOID, [Reducer]);
|
|
740
740
|
initMetadataForClass(expectantLifecycleReducer$$inlined$reducerForActionType$1, VOID, VOID, VOID, [Reducer]);
|
|
741
741
|
initMetadataForClass(interceptorActionReducer$$inlined$reducerForActionType$1, VOID, VOID, VOID, [Reducer]);
|
|
742
|
-
function reducers(currentPlayerId, useTransitions) {
|
|
742
|
+
function reducers(currentPlayerId, useTransitions, isAutoStepCurrentPlayer) {
|
|
743
743
|
var tmp;
|
|
744
744
|
if (useTransitions) {
|
|
745
|
-
tmp = listOf_0([this.cca(currentPlayerId), this.dca(currentPlayerId), this.eca(currentPlayerId), this.fca(currentPlayerId), this.gca(), this.hca(currentPlayerId), transitionFailsafeFlagReducer()]);
|
|
745
|
+
tmp = listOf_0([this.cca(currentPlayerId), this.dca(currentPlayerId, isAutoStepCurrentPlayer), this.eca(currentPlayerId), this.fca(currentPlayerId), this.gca(), this.hca(currentPlayerId), transitionFailsafeFlagReducer()]);
|
|
746
746
|
} else {
|
|
747
747
|
tmp = emptyList();
|
|
748
748
|
}
|
|
@@ -800,7 +800,7 @@
|
|
|
800
800
|
ratingConfig = ratingConfig === VOID ? new RatingConfig() : ratingConfig;
|
|
801
801
|
leaguesConfig = leaguesConfig === VOID ? Companion_instance_6.defaultConfig() : leaguesConfig;
|
|
802
802
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
803
|
-
return $super === VOID ? this.
|
|
803
|
+
return $super === VOID ? this.pcb(currentPlayerId, reducers, middlewares, gameClientConfig, engineBotConfig, logicConfig, dealerConfig, ratingConfig, leaguesConfig, coreConfig) : $super.pcb.call(this, currentPlayerId, reducers, middlewares, gameClientConfig, engineBotConfig, logicConfig, dealerConfig, ratingConfig, leaguesConfig, coreConfig);
|
|
804
804
|
}
|
|
805
805
|
initMetadataForInterface(GameClientEngineController, 'GameClientEngineController');
|
|
806
806
|
initMetadataForClass(GameClientEngineControllerImpl$createOnlineGameEngineWithLogic$$inlined$map$1, VOID, VOID, VOID, [Reducer]);
|
|
@@ -5507,6 +5507,21 @@
|
|
|
5507
5507
|
tmp = tmp0_elvis_lhs;
|
|
5508
5508
|
}
|
|
5509
5509
|
var blocking = tmp;
|
|
5510
|
+
var tmp_0;
|
|
5511
|
+
var tmp_1;
|
|
5512
|
+
if (action instanceof PutCardMechanicAction) {
|
|
5513
|
+
tmp_1 = blocking instanceof PutCardOnTableTransition;
|
|
5514
|
+
} else {
|
|
5515
|
+
tmp_1 = false;
|
|
5516
|
+
}
|
|
5517
|
+
if (tmp_1) {
|
|
5518
|
+
tmp_0 = blocking.mav_1 === action.y9r_1;
|
|
5519
|
+
} else {
|
|
5520
|
+
tmp_0 = false;
|
|
5521
|
+
}
|
|
5522
|
+
if (tmp_0) {
|
|
5523
|
+
return new AvoidBuffer('WaitWhenTransitionsActiveBufferUseCase.samePlayerPutCard');
|
|
5524
|
+
}
|
|
5510
5525
|
return new PutInBuffer('WaitWhenTransitionsActiveBufferUseCase.transitionActive(' + ('' + getKClassFromExpression(blocking).o() + '(' + blocking.y5t() + '))'));
|
|
5511
5526
|
};
|
|
5512
5527
|
function ClientGameHistoryInteractor() {
|
|
@@ -12280,7 +12295,7 @@
|
|
|
12280
12295
|
tmp_60.lc3_1 = tmp_62.l6u(this, getPropertyCallableRef('gameLogger', 1, tmp_63, ClientOnlineGameStoreContract$_get_gameLogger_$ref_blu27b(), null));
|
|
12281
12296
|
}
|
|
12282
12297
|
protoOf(ClientOnlineGameStoreContract).j9z = function () {
|
|
12283
|
-
var tmp = plus(plus(plus(plus(this.rc2_1.j9z(), _get_transitionsReducer__bsis4j(this).mc3(this.qc2_1, !_get_gameClientConfig__xfscic_1(this).validateExpectantActions)), listOf_0([_get_mechanicReducers__ipi0tc(this).ra0(), clientErrorStateWhenTerminationActionReducer(_get_clientLifecycleReducer__6ihp6m_0(this))])), this.uc2_1.j9z()), this.sc2_1.j9z());
|
|
12298
|
+
var tmp = plus(plus(plus(plus(this.rc2_1.j9z(), _get_transitionsReducer__bsis4j(this).mc3(this.qc2_1, !_get_gameClientConfig__xfscic_1(this).validateExpectantActions, _get_gameClientConfig__xfscic_1(this).isAutoStepCurrentPlayer)), listOf_0([_get_mechanicReducers__ipi0tc(this).ra0(), clientErrorStateWhenTerminationActionReducer(_get_clientLifecycleReducer__6ihp6m_0(this))])), this.uc2_1.j9z()), this.sc2_1.j9z());
|
|
12284
12299
|
var tmp_0;
|
|
12285
12300
|
if (_get_gameClientConfig__xfscic_1(this).isAutoStepCurrentPlayer) {
|
|
12286
12301
|
tmp_0 = this.tc2_1.j9z();
|
|
@@ -12686,7 +12701,7 @@
|
|
|
12686
12701
|
tmp_48.kc4_1 = tmp_50.l6u(this, getPropertyCallableRef('gameLogger', 1, tmp_51, ClientSingleGameStoreContract$_get_gameLogger_$ref_mi6elu(), null));
|
|
12687
12702
|
}
|
|
12688
12703
|
protoOf(ClientSingleGameStoreContract).j9z = function () {
|
|
12689
|
-
return plus(plus(plus(plus(plus(this.uc3_1.j9z(), _get_transitionsReducer__bsis4j_0(this).mc3(this.tc3_1, !_get_gameClientConfig__xfscic_2(this).validateExpectantActions)), this.wc3_1.j9z()), this.vc3_1.j9z()), this.xc3_1.j9z()), this.yc3_1.j9z());
|
|
12704
|
+
return plus(plus(plus(plus(plus(this.uc3_1.j9z(), _get_transitionsReducer__bsis4j_0(this).mc3(this.tc3_1, !_get_gameClientConfig__xfscic_2(this).validateExpectantActions, _get_gameClientConfig__xfscic_2(this).isAutoStepCurrentPlayer)), this.wc3_1.j9z()), this.vc3_1.j9z()), this.xc3_1.j9z()), this.yc3_1.j9z());
|
|
12690
12705
|
};
|
|
12691
12706
|
protoOf(ClientSingleGameStoreContract).k9z = function () {
|
|
12692
12707
|
var messagesMiddleware = new MessagesMiddleware(_get_messageFactory__6vg0vc_1(this), _get_pointsInteractor__5t71wv_0(this), _get_teamsLogicProvider__u10pm6_0(this), !_get_gameClientConfig__xfscic_2(this).validateExpectantActions);
|
|
@@ -16003,9 +16018,10 @@
|
|
|
16003
16018
|
protoOf(TransitionsReducerImpl$addTransitionWhenPutCardAndCheckCombinationReducer$$inlined$reducerForActionType$1).c78 = function (state, action) {
|
|
16004
16019
|
return this.kaa((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
16005
16020
|
};
|
|
16006
|
-
function TransitionsReducerImpl$addTransitionWhenPutCardReducer$$inlined$reducerForActionType$1($currentPlayerId, this$0) {
|
|
16021
|
+
function TransitionsReducerImpl$addTransitionWhenPutCardReducer$$inlined$reducerForActionType$1($currentPlayerId, $isAutoStepCurrentPlayer, this$0) {
|
|
16007
16022
|
this.xca_1 = $currentPlayerId;
|
|
16008
|
-
this.yca_1 =
|
|
16023
|
+
this.yca_1 = $isAutoStepCurrentPlayer;
|
|
16024
|
+
this.zca_1 = this$0;
|
|
16009
16025
|
}
|
|
16010
16026
|
protoOf(TransitionsReducerImpl$addTransitionWhenPutCardReducer$$inlined$reducerForActionType$1).m76 = function (action) {
|
|
16011
16027
|
return action instanceof PutCardMechanicAction;
|
|
@@ -16014,11 +16030,11 @@
|
|
|
16014
16030
|
var tmp2 = action instanceof PutCardMechanicAction ? action : THROW_CCE();
|
|
16015
16031
|
var tmp$ret$0;
|
|
16016
16032
|
$l$block: {
|
|
16017
|
-
if (tmp2.playerId === this.xca_1) {
|
|
16033
|
+
if (tmp2.playerId === this.xca_1 && !this.yca_1) {
|
|
16018
16034
|
tmp$ret$0 = state;
|
|
16019
16035
|
break $l$block;
|
|
16020
16036
|
}
|
|
16021
|
-
var updatedTransitions = addPutCardOnTableTransition(this.
|
|
16037
|
+
var updatedTransitions = addPutCardOnTableTransition(this.zca_1, tmp2.playerId, this.xca_1, tmp2.v9r_1, state.m7f(), get_clientPayload_0(state));
|
|
16022
16038
|
tmp$ret$0 = state.t9u(VOID, get_clientPayload_0(state).dc5(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, updatedTransitions));
|
|
16023
16039
|
}
|
|
16024
16040
|
return tmp$ret$0;
|
|
@@ -16027,8 +16043,8 @@
|
|
|
16027
16043
|
return this.kaa((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
16028
16044
|
};
|
|
16029
16045
|
function TransitionsReducerImpl$addTransitionWhenCardDistributionReducer$$inlined$reducerForActionType$1(this$0, $currentPlayerId) {
|
|
16030
|
-
this.
|
|
16031
|
-
this.
|
|
16046
|
+
this.acb_1 = this$0;
|
|
16047
|
+
this.bcb_1 = $currentPlayerId;
|
|
16032
16048
|
}
|
|
16033
16049
|
protoOf(TransitionsReducerImpl$addTransitionWhenCardDistributionReducer$$inlined$reducerForActionType$1).m76 = function (action) {
|
|
16034
16050
|
return action instanceof SceneMechanicAction;
|
|
@@ -16038,10 +16054,10 @@
|
|
|
16038
16054
|
var tmp;
|
|
16039
16055
|
switch (action_0.m9r_1) {
|
|
16040
16056
|
case 'TRADE':
|
|
16041
|
-
tmp = handleTradeScene(this.
|
|
16057
|
+
tmp = handleTradeScene(this.acb_1, state, action_0, this.bcb_1);
|
|
16042
16058
|
break;
|
|
16043
16059
|
case 'EARN_POINTS':
|
|
16044
|
-
tmp = handleEarnPointsScene(this.
|
|
16060
|
+
tmp = handleEarnPointsScene(this.acb_1, state, action_0, this.bcb_1);
|
|
16045
16061
|
break;
|
|
16046
16062
|
default:
|
|
16047
16063
|
tmp = state;
|
|
@@ -16053,8 +16069,8 @@
|
|
|
16053
16069
|
return this.kaa((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
16054
16070
|
};
|
|
16055
16071
|
function TransitionsReducerImpl$addTransitionWhenShowCombinationReducer$$inlined$reducerForActionType$1(this$0, $currentPlayerId) {
|
|
16056
|
-
this.
|
|
16057
|
-
this.
|
|
16072
|
+
this.ccb_1 = this$0;
|
|
16073
|
+
this.dcb_1 = $currentPlayerId;
|
|
16058
16074
|
}
|
|
16059
16075
|
protoOf(TransitionsReducerImpl$addTransitionWhenShowCombinationReducer$$inlined$reducerForActionType$1).m76 = function (action) {
|
|
16060
16076
|
return action instanceof WinnerCombinationsMechanicAction;
|
|
@@ -16062,7 +16078,7 @@
|
|
|
16062
16078
|
protoOf(TransitionsReducerImpl$addTransitionWhenShowCombinationReducer$$inlined$reducerForActionType$1).kaa = function (state, action) {
|
|
16063
16079
|
var action_0 = action instanceof WinnerCombinationsMechanicAction ? action : THROW_CCE();
|
|
16064
16080
|
var clientPayload = get_clientPayload_0(state);
|
|
16065
|
-
var tmp = this.
|
|
16081
|
+
var tmp = this.ccb_1.kca_1.w73();
|
|
16066
16082
|
// Inline function 'kotlin.collections.associate' call
|
|
16067
16083
|
var this_0 = action_0.q9y_1;
|
|
16068
16084
|
var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_0, 10)), 16);
|
|
@@ -16086,7 +16102,7 @@
|
|
|
16086
16102
|
var combinationCards = flatten(destination_0);
|
|
16087
16103
|
var tmp0_players = state.m7f().players;
|
|
16088
16104
|
var tmp1_processingCard = clientPayload.fb1_1;
|
|
16089
|
-
var openOrHiddenCards = getOpenOrHiddenCardsInHand(this.
|
|
16105
|
+
var openOrHiddenCards = getOpenOrHiddenCardsInHand(this.ccb_1, player, this.dcb_1, tmp0_players, tmp1_processingCard, combinationCards);
|
|
16090
16106
|
// Inline function 'kotlin.collections.mapIndexed' call
|
|
16091
16107
|
var this_2 = zip(combinationCards, openOrHiddenCards);
|
|
16092
16108
|
// Inline function 'kotlin.collections.mapIndexedTo' call
|
|
@@ -16116,7 +16132,7 @@
|
|
|
16116
16132
|
return this.kaa((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
16117
16133
|
};
|
|
16118
16134
|
function TransitionsReducerImpl$addTransitionWhenPickUpBribeReducer$$inlined$reducerForActionType$1(this$0) {
|
|
16119
|
-
this.
|
|
16135
|
+
this.ecb_1 = this$0;
|
|
16120
16136
|
}
|
|
16121
16137
|
protoOf(TransitionsReducerImpl$addTransitionWhenPickUpBribeReducer$$inlined$reducerForActionType$1).m76 = function (action) {
|
|
16122
16138
|
return action instanceof PickUpBribeMechanicAction;
|
|
@@ -16124,7 +16140,7 @@
|
|
|
16124
16140
|
protoOf(TransitionsReducerImpl$addTransitionWhenPickUpBribeReducer$$inlined$reducerForActionType$1).kaa = function (state, action) {
|
|
16125
16141
|
var action_0 = action instanceof PickUpBribeMechanicAction ? action : THROW_CCE();
|
|
16126
16142
|
var clientPayload = get_clientPayload_0(state);
|
|
16127
|
-
var tmp = this.
|
|
16143
|
+
var tmp = this.ecb_1.kca_1.w73();
|
|
16128
16144
|
// Inline function 'kotlin.collections.map' call
|
|
16129
16145
|
var this_0 = state.m7f().cardsOnTable;
|
|
16130
16146
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -16142,8 +16158,8 @@
|
|
|
16142
16158
|
return this.kaa((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
16143
16159
|
};
|
|
16144
16160
|
function TransitionsReducerImpl$addTransitionWhenCombinationChoiceReducer$$inlined$reducerForActionType$1(this$0, $currentPlayerId) {
|
|
16145
|
-
this.
|
|
16146
|
-
this.
|
|
16161
|
+
this.fcb_1 = this$0;
|
|
16162
|
+
this.gcb_1 = $currentPlayerId;
|
|
16147
16163
|
}
|
|
16148
16164
|
protoOf(TransitionsReducerImpl$addTransitionWhenCombinationChoiceReducer$$inlined$reducerForActionType$1).m76 = function (action) {
|
|
16149
16165
|
return action instanceof CombinationChoiceMechanicAction;
|
|
@@ -16155,8 +16171,8 @@
|
|
|
16155
16171
|
if (action_0.j9y_1 && combination.n85_1.equals(CombinationType_SEVEN_TRUMP_getInstance())) {
|
|
16156
16172
|
var clientPayload = get_clientPayload_0(state);
|
|
16157
16173
|
var trumpCard = single(combination.x9a());
|
|
16158
|
-
var trumpCardOrOrigin = getOpenOrHiddenCardInHand(this.
|
|
16159
|
-
var tmp0_id = this.
|
|
16174
|
+
var trumpCardOrOrigin = getOpenOrHiddenCardInHand(this.fcb_1, trumpCard, getPlayer(state.m7f().players, action_0.playerId), this.gcb_1, state.m7f().players);
|
|
16175
|
+
var tmp0_id = this.fcb_1.kca_1.w73();
|
|
16160
16176
|
var tmp1_playerIds = listOf(action_0.playerId);
|
|
16161
16177
|
var tmp2_toCard2 = state.m7f().requireCardDeck.p8g_1;
|
|
16162
16178
|
var tmp3_fromCard2 = state.m7f().requireCardDeck.p8g_1;
|
|
@@ -16185,9 +16201,9 @@
|
|
|
16185
16201
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
16186
16202
|
return new TransitionsReducerImpl$addTransitionWhenPutCardAndCheckCombinationReducer$$inlined$reducerForActionType$1(this, currentPlayerId);
|
|
16187
16203
|
};
|
|
16188
|
-
protoOf(TransitionsReducerImpl).dca = function (currentPlayerId) {
|
|
16204
|
+
protoOf(TransitionsReducerImpl).dca = function (currentPlayerId, isAutoStepCurrentPlayer) {
|
|
16189
16205
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
16190
|
-
return new TransitionsReducerImpl$addTransitionWhenPutCardReducer$$inlined$reducerForActionType$1(currentPlayerId, this);
|
|
16206
|
+
return new TransitionsReducerImpl$addTransitionWhenPutCardReducer$$inlined$reducerForActionType$1(currentPlayerId, isAutoStepCurrentPlayer, this);
|
|
16191
16207
|
};
|
|
16192
16208
|
protoOf(TransitionsReducerImpl).eca = function (currentPlayerId) {
|
|
16193
16209
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
@@ -16224,12 +16240,12 @@
|
|
|
16224
16240
|
};
|
|
16225
16241
|
function Companion_4() {
|
|
16226
16242
|
}
|
|
16227
|
-
protoOf(Companion_4).
|
|
16243
|
+
protoOf(Companion_4).hcb = function (config, combinationsToAnnounce) {
|
|
16228
16244
|
return new ClientStatePayload(config, VOID, VOID, VOID, VOID, Companion_instance_16.g99(), VOID, VOID, VOID, combinationsToAnnounce);
|
|
16229
16245
|
};
|
|
16230
16246
|
protoOf(Companion_4).uc9 = function (config, combinationsToAnnounce, $super) {
|
|
16231
16247
|
combinationsToAnnounce = combinationsToAnnounce === VOID ? null : combinationsToAnnounce;
|
|
16232
|
-
return $super === VOID ? this.
|
|
16248
|
+
return $super === VOID ? this.hcb(config, combinationsToAnnounce) : $super.hcb.call(this, config, combinationsToAnnounce);
|
|
16233
16249
|
};
|
|
16234
16250
|
protoOf(Companion_4).ec9 = function (config, uiState, isSceneActive, messages, bufferedActions, error) {
|
|
16235
16251
|
return new ClientStatePayload(config, messages, VOID, VOID, bufferedActions, uiState, isSceneActive, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, error);
|
|
@@ -16278,7 +16294,7 @@
|
|
|
16278
16294
|
this.ib1_1 = error;
|
|
16279
16295
|
this.jb1_1 = tutorial;
|
|
16280
16296
|
}
|
|
16281
|
-
protoOf(ClientStatePayload).
|
|
16297
|
+
protoOf(ClientStatePayload).icb = function (config, messages, infoMessage, interceptedActions, bufferedActions, uiState, isSceneActive, chatOpened, settingsOpened, combinationsToAnnounce, lastBribe, gameInfo, processingCard, transitions, transitionFailsafeRunning, error, tutorial) {
|
|
16282
16298
|
return new ClientStatePayload(config, messages, infoMessage, interceptedActions, bufferedActions, uiState, isSceneActive, chatOpened, settingsOpened, combinationsToAnnounce, lastBribe, gameInfo, processingCard, transitions, transitionFailsafeRunning, error, tutorial);
|
|
16283
16299
|
};
|
|
16284
16300
|
protoOf(ClientStatePayload).dc5 = function (config, messages, infoMessage, interceptedActions, bufferedActions, uiState, isSceneActive, chatOpened, settingsOpened, combinationsToAnnounce, lastBribe, gameInfo, processingCard, transitions, transitionFailsafeRunning, error, tutorial, $super) {
|
|
@@ -16299,7 +16315,7 @@
|
|
|
16299
16315
|
transitionFailsafeRunning = transitionFailsafeRunning === VOID ? this.hb1_1 : transitionFailsafeRunning;
|
|
16300
16316
|
error = error === VOID ? this.ib1_1 : error;
|
|
16301
16317
|
tutorial = tutorial === VOID ? this.jb1_1 : tutorial;
|
|
16302
|
-
return $super === VOID ? this.
|
|
16318
|
+
return $super === VOID ? this.icb(config, messages, infoMessage, interceptedActions, bufferedActions, uiState, isSceneActive, chatOpened, settingsOpened, combinationsToAnnounce, lastBribe, gameInfo, processingCard, transitions, transitionFailsafeRunning, error, tutorial) : $super.icb.call(this, config, messages, infoMessage, interceptedActions, bufferedActions, uiState, isSceneActive, chatOpened, settingsOpened, combinationsToAnnounce, lastBribe, gameInfo, processingCard, transitions, transitionFailsafeRunning, error, tutorial);
|
|
16303
16319
|
};
|
|
16304
16320
|
protoOf(ClientStatePayload).toString = function () {
|
|
16305
16321
|
return 'ClientStatePayload(config=' + this.tb0_1.toString() + ', messages=' + toString(this.ub0_1) + ', infoMessage=' + toString_0(this.vb0_1) + ', interceptedActions=' + toString(this.wb0_1) + ', bufferedActions=' + toString(this.xb0_1) + ', uiState=' + this.yb0_1.toString() + ', isSceneActive=' + this.zb0_1 + ', chatOpened=' + this.ab1_1 + ', settingsOpened=' + this.bb1_1 + ', combinationsToAnnounce=' + toString_0(this.cb1_1) + ', lastBribe=' + toString_0(this.db1_1) + ', gameInfo=' + toString_0(this.eb1_1) + ', processingCard=' + toString_0(this.fb1_1) + ', transitions=' + toString(this.gb1_1) + ', transitionFailsafeRunning=' + this.hb1_1 + ', error=' + toString_0(this.ib1_1) + ', tutorial=' + this.jb1_1 + ')';
|
|
@@ -16459,13 +16475,13 @@
|
|
|
16459
16475
|
this.gc9_1 = created;
|
|
16460
16476
|
this.hc9_1 = focused;
|
|
16461
16477
|
}
|
|
16462
|
-
protoOf(UIState).
|
|
16478
|
+
protoOf(UIState).jcb = function (created, focused) {
|
|
16463
16479
|
return new UIState(created, focused);
|
|
16464
16480
|
};
|
|
16465
16481
|
protoOf(UIState).ic9 = function (created, focused, $super) {
|
|
16466
16482
|
created = created === VOID ? this.gc9_1 : created;
|
|
16467
16483
|
focused = focused === VOID ? this.hc9_1 : focused;
|
|
16468
|
-
return $super === VOID ? this.
|
|
16484
|
+
return $super === VOID ? this.jcb(created, focused) : $super.jcb.call(this, created, focused);
|
|
16469
16485
|
};
|
|
16470
16486
|
protoOf(UIState).toString = function () {
|
|
16471
16487
|
return 'UIState(created=' + this.gc9_1 + ', focused=' + this.hc9_1 + ')';
|
|
@@ -16560,14 +16576,14 @@
|
|
|
16560
16576
|
return new GameClientEngineControllerImpl(loggerCallback);
|
|
16561
16577
|
}
|
|
16562
16578
|
function _get_logger__rkp4sl_0($this) {
|
|
16563
|
-
var tmp0 = $this.
|
|
16579
|
+
var tmp0 = $this.rcb_1;
|
|
16564
16580
|
var tmp = KProperty1;
|
|
16565
16581
|
// Inline function 'kotlin.getValue' call
|
|
16566
16582
|
getPropertyCallableRef('logger', 1, tmp, GameClientEngineControllerImpl$_get_logger_$ref_da2dm5(), null);
|
|
16567
16583
|
return tmp0.o1();
|
|
16568
16584
|
}
|
|
16569
16585
|
function _get_di__ndbzja($this) {
|
|
16570
|
-
var tmp0 = $this.
|
|
16586
|
+
var tmp0 = $this.scb_1;
|
|
16571
16587
|
var tmp = KProperty1;
|
|
16572
16588
|
// Inline function 'kotlin.getValue' call
|
|
16573
16589
|
getPropertyCallableRef('di', 1, tmp, GameClientEngineControllerImpl$_get_di_$ref_2o2v5u(), null);
|
|
@@ -16584,8 +16600,8 @@
|
|
|
16584
16600
|
}
|
|
16585
16601
|
function createCallbackOutput($this, gameClient) {
|
|
16586
16602
|
var tmp;
|
|
16587
|
-
if (!($this.
|
|
16588
|
-
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.
|
|
16603
|
+
if (!($this.qcb_1 == null)) {
|
|
16604
|
+
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.qcb_1);
|
|
16589
16605
|
tmp = new CallbackWrapperLoggerOutput(tmp_0, GameClientEngineControllerImpl$createCallbackOutput$lambda(gameClient));
|
|
16590
16606
|
} else {
|
|
16591
16607
|
tmp = null;
|
|
@@ -16651,13 +16667,13 @@
|
|
|
16651
16667
|
};
|
|
16652
16668
|
}
|
|
16653
16669
|
function GameClientEngineControllerImpl$createOnlineGameEngineWithLogic$$inlined$map$1($reducer) {
|
|
16654
|
-
this.
|
|
16670
|
+
this.ucb_1 = $reducer;
|
|
16655
16671
|
}
|
|
16656
16672
|
protoOf(GameClientEngineControllerImpl$createOnlineGameEngineWithLogic$$inlined$map$1).m76 = function (action) {
|
|
16657
16673
|
return isInterface(action, Action);
|
|
16658
16674
|
};
|
|
16659
16675
|
protoOf(GameClientEngineControllerImpl$createOnlineGameEngineWithLogic$$inlined$map$1).kaa = function (state, action) {
|
|
16660
|
-
return this.
|
|
16676
|
+
return this.ucb_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
16661
16677
|
};
|
|
16662
16678
|
protoOf(GameClientEngineControllerImpl$createOnlineGameEngineWithLogic$$inlined$map$1).c78 = function (state, action) {
|
|
16663
16679
|
return this.kaa((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
@@ -16788,7 +16804,7 @@
|
|
|
16788
16804
|
function GameClientEngineControllerImpl(loggerCallback, production) {
|
|
16789
16805
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
16790
16806
|
production = production === VOID ? true : production;
|
|
16791
|
-
this.
|
|
16807
|
+
this.qcb_1 = loggerCallback;
|
|
16792
16808
|
var tmp = AppEnvironment_getInstance();
|
|
16793
16809
|
var tmp_0;
|
|
16794
16810
|
if (production) {
|
|
@@ -16798,9 +16814,9 @@
|
|
|
16798
16814
|
}
|
|
16799
16815
|
tmp.c7a(tmp_0);
|
|
16800
16816
|
var tmp_1 = this;
|
|
16801
|
-
tmp_1.
|
|
16817
|
+
tmp_1.rcb_1 = lazy_0(GameClientEngineControllerImpl$logger$delegate$lambda);
|
|
16802
16818
|
var tmp_2 = this;
|
|
16803
|
-
tmp_2.
|
|
16819
|
+
tmp_2.scb_1 = lazy_0(GameClientEngineControllerImpl$di$delegate$lambda(this));
|
|
16804
16820
|
var tmp_3 = this;
|
|
16805
16821
|
// Inline function 'org.kodein.di.instance' call
|
|
16806
16822
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -16809,10 +16825,10 @@
|
|
|
16809
16825
|
var tmp$ret$0 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
16810
16826
|
var tmp_5 = Instance(this_0, tmp$ret$0, null);
|
|
16811
16827
|
var tmp_6 = KProperty1;
|
|
16812
|
-
tmp_3.
|
|
16828
|
+
tmp_3.tcb_1 = tmp_5.l6u(this, getPropertyCallableRef('parser', 1, tmp_6, GameClientEngineControllerImpl$_get_parser_$ref_1fv1b8(), null));
|
|
16813
16829
|
}
|
|
16814
|
-
protoOf(GameClientEngineControllerImpl).
|
|
16815
|
-
var tmp0 = this.
|
|
16830
|
+
protoOf(GameClientEngineControllerImpl).ocb = function () {
|
|
16831
|
+
var tmp0 = this.tcb_1;
|
|
16816
16832
|
var tmp = KProperty1;
|
|
16817
16833
|
// Inline function 'kotlin.getValue' call
|
|
16818
16834
|
getPropertyCallableRef('parser', 1, tmp, GameClientEngineControllerImpl$_get_parser_$ref_1fv1b8_0(), null);
|
|
@@ -16824,7 +16840,7 @@
|
|
|
16824
16840
|
protoOf(GameClientEngineControllerImpl).createOnlineGameEngine = function (currentPlayerId) {
|
|
16825
16841
|
return this.createOnlineGameEngineWithLogic(currentPlayerId);
|
|
16826
16842
|
};
|
|
16827
|
-
protoOf(GameClientEngineControllerImpl).
|
|
16843
|
+
protoOf(GameClientEngineControllerImpl).pcb = function (currentPlayerId, reducers, middlewares, gameClientConfig, engineBotConfig, logicConfig, dealerConfig, ratingConfig, leaguesConfig, coreConfig) {
|
|
16828
16844
|
var combinedLogger = Companion_instance_8.fy();
|
|
16829
16845
|
var gameClient = {_v: null};
|
|
16830
16846
|
var tmp0_clientConfig = new ClientConfig(GameType_SERVER_getInstance(), get_entries());
|
|
@@ -17017,7 +17033,7 @@
|
|
|
17017
17033
|
protoOf(TransitionsReducerImpl).nc3 = middlewares;
|
|
17018
17034
|
protoOf(GameClientEngineControllerImpl).createOnlineGameEngineWithLogic = createOnlineGameEngineWithLogic;
|
|
17019
17035
|
defineProp(protoOf(GameClientEngineControllerImpl), 'parser', function () {
|
|
17020
|
-
return this.
|
|
17036
|
+
return this.ocb();
|
|
17021
17037
|
});
|
|
17022
17038
|
//endregion
|
|
17023
17039
|
//region block: init
|