game_client_logic_deb 1.8.68 → 1.8.69
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 +1 -1
- package/Logic_Debertz-game_client.d.ts +1 -1
- package/Logic_Debertz-game_client.js +12 -12
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +3 -3
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +8 -8
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
- package/package.json +1 -1
package/Logic_Debertz-core.js
CHANGED
|
@@ -359,7 +359,7 @@
|
|
|
359
359
|
setMetadataFor(PlatformLogger, 'PlatformLogger', classMeta, VOID, VOID, PlatformLogger);
|
|
360
360
|
//endregion
|
|
361
361
|
function GameEngineConfig() {
|
|
362
|
-
this.version = '1.8.
|
|
362
|
+
this.version = '1.8.69';
|
|
363
363
|
}
|
|
364
364
|
protoOf(GameEngineConfig).e2k = function () {
|
|
365
365
|
return this.version;
|
|
@@ -1202,7 +1202,7 @@ export declare interface GameClientEngineController {
|
|
|
1202
1202
|
readonly parser: ParserHelper;
|
|
1203
1203
|
setEnableLogger(enabled: boolean): void;
|
|
1204
1204
|
createOnlineGameEngine(currentPlayerId: string): com.debertz.logic.client.domain.mechanic.online.OnlineGameMechanic;
|
|
1205
|
-
createOnlineGameEngineWithLogic(currentPlayerId: string, reducers?: Array<(p0: any/* com.debertz.logic.redux.AppState */, p1: any) => any/* com.debertz.logic.redux.AppState */>, middlewares?: Array<(p0: com.logic.redux.store.definitions.Store<any/* com.debertz.logic.redux.AppState */>, p1: (p0: com.logic.redux.store.definitions.Action) => void, p2: any) => void>, isAutoStepCurrentPlayer?: boolean, botExitsWhenNGameNumberIsFinished?: Nullable<number
|
|
1205
|
+
createOnlineGameEngineWithLogic(currentPlayerId: string, reducers?: Array<(p0: any/* com.debertz.logic.redux.AppState */, p1: any) => any/* com.debertz.logic.redux.AppState */>, middlewares?: Array<(p0: com.logic.redux.store.definitions.Store<any/* com.debertz.logic.redux.AppState */>, p1: (p0: com.logic.redux.store.definitions.Action) => void, p2: any) => void>, isAutoStepCurrentPlayer?: boolean, botExitsWhenNGameNumberIsFinished?: Nullable<number>, logicConfig?: com.debertz.logic.data.models.EngineLogicConfig, dealerConfig?: com.debertz.logic.data.models.DealerConfig, coreConfig?: com.logic.data.models.CoreConfig): com.debertz.logic.client.domain.mechanic.online.OnlineGameMechanic;
|
|
1206
1206
|
readonly __doNotUseOrImplementIt: {
|
|
1207
1207
|
readonly GameClientEngineController: unique symbol;
|
|
1208
1208
|
};
|
|
@@ -303,6 +303,8 @@
|
|
|
303
303
|
var PlayerTurnAnswerAction = kotlin_com_gamewithcats_game_engine_engine.$_$.d3;
|
|
304
304
|
var AppStatePayload = kotlin_com_gamewithcats_game_engine_engine.$_$.i4;
|
|
305
305
|
var LoggerOutput = kotlin_com_gamewithcats_game_engine_core.$_$.e3;
|
|
306
|
+
var DealerConfig = kotlin_com_gamewithcats_game_engine_engine.$_$.o1;
|
|
307
|
+
var CoreConfig = kotlin_com_gamewithcats_game_engine_core.$_$.g1;
|
|
306
308
|
var Companion_instance_3 = kotlin_org_kodein_di_kodein_di.$_$.b;
|
|
307
309
|
var FileLoggerOutput = kotlin_com_gamewithcats_game_engine_engine.$_$.m4;
|
|
308
310
|
var FileLoggerOutputImpl = kotlin_com_gamewithcats_game_engine_engine.$_$.l4;
|
|
@@ -314,11 +316,9 @@
|
|
|
314
316
|
var coreModule = kotlin_com_gamewithcats_game_engine_core.$_$.t1;
|
|
315
317
|
var ParserHelperImpl = kotlin_com_gamewithcats_game_engine_engine.$_$.b;
|
|
316
318
|
var Logger_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.b5;
|
|
317
|
-
var CoreConfig = kotlin_com_gamewithcats_game_engine_core.$_$.g1;
|
|
318
319
|
var Companion_instance_6 = kotlin_com_gamewithcats_game_engine_core.$_$.a5;
|
|
319
320
|
var LoggerCallbacksWrapperLoggerOutput = kotlin_com_gamewithcats_game_engine_engine.$_$.a;
|
|
320
321
|
var get_entries = kotlin_com_gamewithcats_game_engine_core.$_$.z;
|
|
321
|
-
var DealerConfig = kotlin_com_gamewithcats_game_engine_engine.$_$.o1;
|
|
322
322
|
var toList = kotlin_kotlin.$_$.h8;
|
|
323
323
|
//endregion
|
|
324
324
|
//region block: pre-declaration
|
|
@@ -679,7 +679,7 @@
|
|
|
679
679
|
setMetadataFor(GameInfoState, 'GameInfoState', classMeta);
|
|
680
680
|
setMetadataFor(LastBribeState, 'LastBribeState', classMeta);
|
|
681
681
|
setMetadataFor(ShowErrorLoggerOutput, 'ShowErrorLoggerOutput', interfaceMeta, VOID, [LoggerOutput]);
|
|
682
|
-
function createOnlineGameEngineWithLogic(currentPlayerId, reducers, middlewares, isAutoStepCurrentPlayer, botExitsWhenNGameNumberIsFinished, $super) {
|
|
682
|
+
function createOnlineGameEngineWithLogic(currentPlayerId, reducers, middlewares, isAutoStepCurrentPlayer, botExitsWhenNGameNumberIsFinished, logicConfig, dealerConfig, coreConfig, $super) {
|
|
683
683
|
var tmp;
|
|
684
684
|
if (reducers === VOID) {
|
|
685
685
|
// Inline function 'kotlin.emptyArray' call
|
|
@@ -698,7 +698,10 @@
|
|
|
698
698
|
middlewares = tmp_0;
|
|
699
699
|
isAutoStepCurrentPlayer = isAutoStepCurrentPlayer === VOID ? false : isAutoStepCurrentPlayer;
|
|
700
700
|
botExitsWhenNGameNumberIsFinished = botExitsWhenNGameNumberIsFinished === VOID ? null : botExitsWhenNGameNumberIsFinished;
|
|
701
|
-
|
|
701
|
+
logicConfig = logicConfig === VOID ? new EngineLogicConfig(VOID, VOID, false) : logicConfig;
|
|
702
|
+
dealerConfig = dealerConfig === VOID ? new DealerConfig() : dealerConfig;
|
|
703
|
+
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
704
|
+
return this.h6o(currentPlayerId, reducers, middlewares, isAutoStepCurrentPlayer, botExitsWhenNGameNumberIsFinished, logicConfig, dealerConfig, coreConfig);
|
|
702
705
|
}
|
|
703
706
|
setMetadataFor(GameClientEngineController, 'GameClientEngineController', interfaceMeta);
|
|
704
707
|
setMetadataFor(_no_name_provided__qut3iv_72, VOID, classMeta, VOID, [Reducer]);
|
|
@@ -13968,8 +13971,7 @@
|
|
|
13968
13971
|
protoOf(GameClientEngineControllerImpl).createOnlineGameEngine = function (currentPlayerId) {
|
|
13969
13972
|
return this.createOnlineGameEngineWithLogic(currentPlayerId);
|
|
13970
13973
|
};
|
|
13971
|
-
protoOf(GameClientEngineControllerImpl).h6o = function (currentPlayerId, reducers, middlewares, isAutoStepCurrentPlayer, botExitsWhenNGameNumberIsFinished) {
|
|
13972
|
-
var coreConfig = new CoreConfig();
|
|
13974
|
+
protoOf(GameClientEngineControllerImpl).h6o = function (currentPlayerId, reducers, middlewares, isAutoStepCurrentPlayer, botExitsWhenNGameNumberIsFinished, logicConfig, dealerConfig, coreConfig) {
|
|
13973
13975
|
var combinedLogger = Companion_instance_6.ss();
|
|
13974
13976
|
var tmp;
|
|
13975
13977
|
if (coreConfig.fileLogsEnabled) {
|
|
@@ -13988,8 +13990,6 @@
|
|
|
13988
13990
|
var tmp0_clientConfig = new ClientConfig(GameType_SERVER_getInstance(), get_entries());
|
|
13989
13991
|
var tmp1_botConfig = new EngineBotConfig(botExitsWhenNGameNumberIsFinished);
|
|
13990
13992
|
var tmp2_gameClientConfig = new GameClientConfig(false, VOID, false, isAutoStepCurrentPlayer);
|
|
13991
|
-
var tmp3_engineLogicConfig = new EngineLogicConfig(VOID, VOID, false);
|
|
13992
|
-
var tmp4_dealerConfig = new DealerConfig();
|
|
13993
13993
|
// Inline function 'kotlin.collections.map' call
|
|
13994
13994
|
// Inline function 'kotlin.collections.mapTo' call
|
|
13995
13995
|
var destination = ArrayList_init_$Create$(reducers.length);
|
|
@@ -14003,7 +14003,7 @@
|
|
|
14003
14003
|
var tmp$ret$1 = new _no_name_provided__qut3iv_72(item);
|
|
14004
14004
|
destination.s(tmp$ret$1);
|
|
14005
14005
|
}
|
|
14006
|
-
var
|
|
14006
|
+
var tmp3_externalReducers = toList(destination);
|
|
14007
14007
|
// Inline function 'kotlin.collections.map' call
|
|
14008
14008
|
// Inline function 'kotlin.collections.mapTo' call
|
|
14009
14009
|
var destination_0 = ArrayList_init_$Create$(middlewares.length);
|
|
@@ -14016,9 +14016,9 @@
|
|
|
14016
14016
|
var tmp$ret$4 = middleware(item_0);
|
|
14017
14017
|
destination_0.s(tmp$ret$4);
|
|
14018
14018
|
}
|
|
14019
|
-
var
|
|
14020
|
-
var
|
|
14021
|
-
var di = createDI(this, combinedLogger, currentPlayerId, coreConfig, tmp0_clientConfig, tmp1_botConfig, tmp2_gameClientConfig,
|
|
14019
|
+
var tmp4_externalMiddlewares = toList(destination_0);
|
|
14020
|
+
var tmp5_externalModule = Module_init_$Create$('External Module', VOID, VOID, GameClientEngineControllerImpl$createOnlineGameEngineWithLogic$lambda(fileLoggerOutput, callbackWrapperLoggerOutput));
|
|
14021
|
+
var di = createDI(this, combinedLogger, currentPlayerId, coreConfig, tmp0_clientConfig, tmp1_botConfig, tmp2_gameClientConfig, logicConfig, dealerConfig, tmp3_externalReducers, tmp4_externalMiddlewares, tmp5_externalModule);
|
|
14022
14022
|
// Inline function 'org.kodein.di.instance' call
|
|
14023
14023
|
var tmp_1 = get_direct(di).h1i();
|
|
14024
14024
|
// Inline function 'org.kodein.type.generic' call
|