client_plugin_logic_deb 1.8.355 → 1.8.356
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-client_plugin.d.ts +1 -1
- package/Logic_Debertz-client_plugin.js +2098 -2098
- package/Logic_Debertz-core.js +1 -1
- package/Logic_Debertz-engine.js +13 -9
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +403 -300
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js +613 -613
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +29 -29
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +1 -1
- package/package.json +1 -1
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.356';
|
|
416
416
|
}
|
|
417
417
|
protoOf(GameEngineConfig).e3b = function () {
|
|
418
418
|
return this.version;
|
package/Logic_Debertz-engine.js
CHANGED
|
@@ -2341,7 +2341,7 @@
|
|
|
2341
2341
|
return this.DELAY_TO_BUFFER_STATE_UPDATES_MILLIS;
|
|
2342
2342
|
};
|
|
2343
2343
|
protoOf(Companion_4).z79 = function (botReplacesPlayerAfterTimeout, closeIfBotsAtFinish, enabledCombinedEvents, delayToAskBotMillis, combinedEventsIntervalMillis, serverStateUpdateIntervalMillis) {
|
|
2344
|
-
return new ServerReduxConfig(
|
|
2344
|
+
return new ServerReduxConfig(FinishGameWhenNotLiveStrategy_ALL_NOT_LIVE_OR_BOT_getInstance(), VOID, botReplacesPlayerAfterTimeout ? 15000 : 30000, closeIfBotsAtFinish, botReplacesPlayerAfterTimeout, enabledCombinedEvents, delayToAskBotMillis, combinedEventsIntervalMillis, serverStateUpdateIntervalMillis);
|
|
2345
2345
|
};
|
|
2346
2346
|
protoOf(Companion_4).getServerEngineMode = function (botReplacesPlayerAfterTimeout, closeIfBotsAtFinish, enabledCombinedEvents, delayToAskBotMillis, combinedEventsIntervalMillis, serverStateUpdateIntervalMillis, $super) {
|
|
2347
2347
|
closeIfBotsAtFinish = closeIfBotsAtFinish === VOID ? true : closeIfBotsAtFinish;
|
|
@@ -2356,7 +2356,7 @@
|
|
|
2356
2356
|
return Companion_instance_9;
|
|
2357
2357
|
}
|
|
2358
2358
|
function ServerReduxConfig(finishGameWhenNotLiveStrategy, waitForPlayerToReconnect, waitForPlayerToReconnectTimeOutMillis, closeIfBotsAtFinish, botReplacesPlayerAfterTimeout, enabledCombinedEvents, delayToAskBotMillis, combinedEventsIntervalMillis, serverStateUpdateIntervalMillis) {
|
|
2359
|
-
finishGameWhenNotLiveStrategy = finishGameWhenNotLiveStrategy === VOID ?
|
|
2359
|
+
finishGameWhenNotLiveStrategy = finishGameWhenNotLiveStrategy === VOID ? FinishGameWhenNotLiveStrategy_ALL_NOT_LIVE_OR_BOT_getInstance() : finishGameWhenNotLiveStrategy;
|
|
2360
2360
|
waitForPlayerToReconnect = waitForPlayerToReconnect === VOID ? true : waitForPlayerToReconnect;
|
|
2361
2361
|
waitForPlayerToReconnectTimeOutMillis = waitForPlayerToReconnectTimeOutMillis === VOID ? 30000 : waitForPlayerToReconnectTimeOutMillis;
|
|
2362
2362
|
closeIfBotsAtFinish = closeIfBotsAtFinish === VOID ? true : closeIfBotsAtFinish;
|
|
@@ -2485,8 +2485,8 @@
|
|
|
2485
2485
|
return false;
|
|
2486
2486
|
return true;
|
|
2487
2487
|
};
|
|
2488
|
-
var
|
|
2489
|
-
var
|
|
2488
|
+
var FinishGameWhenNotLiveStrategy_ALL_NOT_LIVE_instance;
|
|
2489
|
+
var FinishGameWhenNotLiveStrategy_ALL_NOT_LIVE_OR_BOT_instance;
|
|
2490
2490
|
var FinishGameWhenNotLiveStrategy_DISABLED_instance;
|
|
2491
2491
|
function Companion_5() {
|
|
2492
2492
|
}
|
|
@@ -2591,16 +2591,20 @@
|
|
|
2591
2591
|
if (FinishGameWhenNotLiveStrategy_entriesInitialized)
|
|
2592
2592
|
return Unit_instance;
|
|
2593
2593
|
FinishGameWhenNotLiveStrategy_entriesInitialized = true;
|
|
2594
|
-
|
|
2595
|
-
|
|
2594
|
+
FinishGameWhenNotLiveStrategy_ALL_NOT_LIVE_instance = new FinishGameWhenNotLiveStrategy('ALL_NOT_LIVE', 0);
|
|
2595
|
+
FinishGameWhenNotLiveStrategy_ALL_NOT_LIVE_OR_BOT_instance = new FinishGameWhenNotLiveStrategy('ALL_NOT_LIVE_OR_BOT', 1);
|
|
2596
2596
|
FinishGameWhenNotLiveStrategy_DISABLED_instance = new FinishGameWhenNotLiveStrategy('DISABLED', 2);
|
|
2597
2597
|
}
|
|
2598
2598
|
function FinishGameWhenNotLiveStrategy(name, ordinal) {
|
|
2599
2599
|
Enum.call(this, name, ordinal);
|
|
2600
2600
|
}
|
|
2601
|
-
function
|
|
2601
|
+
function FinishGameWhenNotLiveStrategy_ALL_NOT_LIVE_getInstance() {
|
|
2602
2602
|
FinishGameWhenNotLiveStrategy_initEntries();
|
|
2603
|
-
return
|
|
2603
|
+
return FinishGameWhenNotLiveStrategy_ALL_NOT_LIVE_instance;
|
|
2604
|
+
}
|
|
2605
|
+
function FinishGameWhenNotLiveStrategy_ALL_NOT_LIVE_OR_BOT_getInstance() {
|
|
2606
|
+
FinishGameWhenNotLiveStrategy_initEntries();
|
|
2607
|
+
return FinishGameWhenNotLiveStrategy_ALL_NOT_LIVE_OR_BOT_instance;
|
|
2604
2608
|
}
|
|
2605
2609
|
function RandomData(signature, id, indexes, provider) {
|
|
2606
2610
|
this.signature = signature;
|
|
@@ -64176,7 +64180,7 @@
|
|
|
64176
64180
|
_.$_$.o8 = GameStoreContract;
|
|
64177
64181
|
_.$_$.p8 = GameStore;
|
|
64178
64182
|
_.$_$.q8 = StateProvider;
|
|
64179
|
-
_.$_$.r8 =
|
|
64183
|
+
_.$_$.r8 = FinishGameWhenNotLiveStrategy_ALL_NOT_LIVE_getInstance;
|
|
64180
64184
|
_.$_$.s8 = ValidationCode_CARD_VALIDATION_HAS_HIGHER_TRUMP_CARD_getInstance;
|
|
64181
64185
|
_.$_$.t8 = ValidationCode_CARD_VALIDATION_HAS_SAME_CARD_getInstance;
|
|
64182
64186
|
_.$_$.u8 = ValidationCode_CARD_VALIDATION_HAS_TRUMP_CARD_getInstance;
|