raspberry_games_server_game_logic 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-core.js
CHANGED
|
@@ -376,7 +376,7 @@
|
|
|
376
376
|
initMetadataForClass(AppEnvironmentValue, 'AppEnvironmentValue', VOID, Enum);
|
|
377
377
|
//endregion
|
|
378
378
|
function GameEngineConfig() {
|
|
379
|
-
this.version = '1.8.
|
|
379
|
+
this.version = '1.8.356';
|
|
380
380
|
}
|
|
381
381
|
protoOf(GameEngineConfig).s32 = function () {
|
|
382
382
|
return this.version;
|
package/Logic_Debertz-engine.js
CHANGED
|
@@ -2232,7 +2232,7 @@
|
|
|
2232
2232
|
return this.DELAY_TO_BUFFER_STATE_UPDATES_MILLIS;
|
|
2233
2233
|
};
|
|
2234
2234
|
protoOf(Companion_4).n6z = function (botReplacesPlayerAfterTimeout, closeIfBotsAtFinish, enabledCombinedEvents, delayToAskBotMillis, combinedEventsIntervalMillis, serverStateUpdateIntervalMillis) {
|
|
2235
|
-
return new ServerReduxConfig(
|
|
2235
|
+
return new ServerReduxConfig(FinishGameWhenNotLiveStrategy_ALL_NOT_LIVE_OR_BOT_getInstance(), VOID, botReplacesPlayerAfterTimeout ? 15000 : 30000, closeIfBotsAtFinish, botReplacesPlayerAfterTimeout, enabledCombinedEvents, delayToAskBotMillis, combinedEventsIntervalMillis, serverStateUpdateIntervalMillis);
|
|
2236
2236
|
};
|
|
2237
2237
|
protoOf(Companion_4).getServerEngineMode = function (botReplacesPlayerAfterTimeout, closeIfBotsAtFinish, enabledCombinedEvents, delayToAskBotMillis, combinedEventsIntervalMillis, serverStateUpdateIntervalMillis, $super) {
|
|
2238
2238
|
closeIfBotsAtFinish = closeIfBotsAtFinish === VOID ? true : closeIfBotsAtFinish;
|
|
@@ -2247,7 +2247,7 @@
|
|
|
2247
2247
|
return Companion_instance_9;
|
|
2248
2248
|
}
|
|
2249
2249
|
function ServerReduxConfig(finishGameWhenNotLiveStrategy, waitForPlayerToReconnect, waitForPlayerToReconnectTimeOutMillis, closeIfBotsAtFinish, botReplacesPlayerAfterTimeout, enabledCombinedEvents, delayToAskBotMillis, combinedEventsIntervalMillis, serverStateUpdateIntervalMillis) {
|
|
2250
|
-
finishGameWhenNotLiveStrategy = finishGameWhenNotLiveStrategy === VOID ?
|
|
2250
|
+
finishGameWhenNotLiveStrategy = finishGameWhenNotLiveStrategy === VOID ? FinishGameWhenNotLiveStrategy_ALL_NOT_LIVE_OR_BOT_getInstance() : finishGameWhenNotLiveStrategy;
|
|
2251
2251
|
waitForPlayerToReconnect = waitForPlayerToReconnect === VOID ? true : waitForPlayerToReconnect;
|
|
2252
2252
|
waitForPlayerToReconnectTimeOutMillis = waitForPlayerToReconnectTimeOutMillis === VOID ? 30000 : waitForPlayerToReconnectTimeOutMillis;
|
|
2253
2253
|
closeIfBotsAtFinish = closeIfBotsAtFinish === VOID ? true : closeIfBotsAtFinish;
|
|
@@ -2376,8 +2376,8 @@
|
|
|
2376
2376
|
return false;
|
|
2377
2377
|
return true;
|
|
2378
2378
|
};
|
|
2379
|
-
var
|
|
2380
|
-
var
|
|
2379
|
+
var FinishGameWhenNotLiveStrategy_ALL_NOT_LIVE_instance;
|
|
2380
|
+
var FinishGameWhenNotLiveStrategy_ALL_NOT_LIVE_OR_BOT_instance;
|
|
2381
2381
|
var FinishGameWhenNotLiveStrategy_DISABLED_instance;
|
|
2382
2382
|
function Companion_5() {
|
|
2383
2383
|
}
|
|
@@ -2482,16 +2482,20 @@
|
|
|
2482
2482
|
if (FinishGameWhenNotLiveStrategy_entriesInitialized)
|
|
2483
2483
|
return Unit_instance;
|
|
2484
2484
|
FinishGameWhenNotLiveStrategy_entriesInitialized = true;
|
|
2485
|
-
|
|
2486
|
-
|
|
2485
|
+
FinishGameWhenNotLiveStrategy_ALL_NOT_LIVE_instance = new FinishGameWhenNotLiveStrategy('ALL_NOT_LIVE', 0);
|
|
2486
|
+
FinishGameWhenNotLiveStrategy_ALL_NOT_LIVE_OR_BOT_instance = new FinishGameWhenNotLiveStrategy('ALL_NOT_LIVE_OR_BOT', 1);
|
|
2487
2487
|
FinishGameWhenNotLiveStrategy_DISABLED_instance = new FinishGameWhenNotLiveStrategy('DISABLED', 2);
|
|
2488
2488
|
}
|
|
2489
2489
|
function FinishGameWhenNotLiveStrategy(name, ordinal) {
|
|
2490
2490
|
Enum.call(this, name, ordinal);
|
|
2491
2491
|
}
|
|
2492
|
-
function
|
|
2492
|
+
function FinishGameWhenNotLiveStrategy_ALL_NOT_LIVE_getInstance() {
|
|
2493
2493
|
FinishGameWhenNotLiveStrategy_initEntries();
|
|
2494
|
-
return
|
|
2494
|
+
return FinishGameWhenNotLiveStrategy_ALL_NOT_LIVE_instance;
|
|
2495
|
+
}
|
|
2496
|
+
function FinishGameWhenNotLiveStrategy_ALL_NOT_LIVE_OR_BOT_getInstance() {
|
|
2497
|
+
FinishGameWhenNotLiveStrategy_initEntries();
|
|
2498
|
+
return FinishGameWhenNotLiveStrategy_ALL_NOT_LIVE_OR_BOT_instance;
|
|
2495
2499
|
}
|
|
2496
2500
|
function RandomData(signature, id, indexes, provider) {
|
|
2497
2501
|
this.signature = signature;
|
|
@@ -58485,7 +58489,7 @@
|
|
|
58485
58489
|
_.$_$.d4 = GameStoreContract;
|
|
58486
58490
|
_.$_$.e4 = GameStore;
|
|
58487
58491
|
_.$_$.f4 = StateProvider;
|
|
58488
|
-
_.$_$.g4 =
|
|
58492
|
+
_.$_$.g4 = FinishGameWhenNotLiveStrategy_ALL_NOT_LIVE_getInstance;
|
|
58489
58493
|
_.$_$.h4 = RoomMode_REVENGE_getInstance;
|
|
58490
58494
|
_.$_$.i4 = GameLifecycleState_CREATED_getInstance;
|
|
58491
58495
|
_.$_$.j4 = UserActionPayload_init_$Create$;
|