raspberry_games_server_game_logic 1.8.388 → 1.8.389
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 +10 -11
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +1785 -1770
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.d.ts +16 -18
- package/Logic_Debertz-game_server.js +48 -48
- 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 +2 -2
- package/package.json +1 -1
|
@@ -584,16 +584,16 @@ export declare namespace com.logic.redux.actions {
|
|
|
584
584
|
}
|
|
585
585
|
}
|
|
586
586
|
export declare namespace com.logic.redux.actions.validation {
|
|
587
|
-
interface NotValidateIfGameFinished {
|
|
588
|
-
|
|
587
|
+
interface NotValidateIfGameFinished extends com.logic.redux.actions.validation.NotValidateIfGameFinishing {
|
|
588
|
+
ignoreValidation(): boolean;
|
|
589
589
|
readonly __doNotUseOrImplementIt: {
|
|
590
590
|
readonly "com.logic.redux.actions.validation.NotValidateIfGameFinished": unique symbol;
|
|
591
|
-
};
|
|
591
|
+
} & com.logic.redux.actions.validation.NotValidateIfGameFinishing["__doNotUseOrImplementIt"];
|
|
592
592
|
}
|
|
593
593
|
}
|
|
594
594
|
export declare namespace com.logic.redux.actions.validation {
|
|
595
595
|
interface NotValidateIfGameFinishing {
|
|
596
|
-
|
|
596
|
+
ignoreValidation(): boolean;
|
|
597
597
|
readonly __doNotUseOrImplementIt: {
|
|
598
598
|
readonly "com.logic.redux.actions.validation.NotValidateIfGameFinishing": unique symbol;
|
|
599
599
|
};
|
|
@@ -1552,6 +1552,7 @@ export declare namespace games.jass.logic.data.models.table {
|
|
|
1552
1552
|
get requestedCardDecks(): kotlin.collections.KtList<any/* games.jass.logic.data.models.table.cards.CardDeck */>;
|
|
1553
1553
|
get gameInfo(): any/* games.jass.logic.data.models.table.GameInfo */;
|
|
1554
1554
|
get gameHistory(): games.jass.logic.data.models.table.history.GameHistory;
|
|
1555
|
+
get roomId(): string;
|
|
1555
1556
|
get gameId(): string;
|
|
1556
1557
|
get gameDuration(): any/* kotlin.time.Duration */;
|
|
1557
1558
|
get gameCreatedAt(): any/* kotlin.time.Instant */;
|
|
@@ -2313,7 +2314,7 @@ export declare namespace games.jass.logic.redux {
|
|
|
2313
2314
|
}
|
|
2314
2315
|
}
|
|
2315
2316
|
export declare namespace games.jass.logic.redux.actions {
|
|
2316
|
-
class ClearAction implements com.logic.redux.store.definitions.Action, com.logic.redux.actions.validation.
|
|
2317
|
+
class ClearAction implements com.logic.redux.store.definitions.Action, com.logic.redux.actions.validation.NotValidateIfGameFinished {
|
|
2317
2318
|
constructor(transition: Nullable<games.jass.logic.redux.actions.mechanic.GameTransition>);
|
|
2318
2319
|
get transition(): Nullable<games.jass.logic.redux.actions.mechanic.GameTransition>;
|
|
2319
2320
|
copy(transition?: Nullable<games.jass.logic.redux.actions.mechanic.GameTransition>): games.jass.logic.redux.actions.ClearAction;
|
|
@@ -2321,9 +2322,8 @@ export declare namespace games.jass.logic.redux.actions {
|
|
|
2321
2322
|
hashCode(): number;
|
|
2322
2323
|
equals(other: Nullable<any>): boolean;
|
|
2323
2324
|
get actionTag(): string;
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
readonly __doNotUseOrImplementIt: com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinishing["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinished["__doNotUseOrImplementIt"];
|
|
2325
|
+
ignoreValidation(): boolean;
|
|
2326
|
+
readonly __doNotUseOrImplementIt: com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinished["__doNotUseOrImplementIt"];
|
|
2327
2327
|
}
|
|
2328
2328
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
2329
2329
|
namespace ClearAction.$metadata$ {
|
|
@@ -2613,7 +2613,7 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
|
|
|
2613
2613
|
hashCode(): number;
|
|
2614
2614
|
equals(other: Nullable<any>): boolean;
|
|
2615
2615
|
get actionTag(): string;
|
|
2616
|
-
|
|
2616
|
+
ignoreValidation(): boolean;
|
|
2617
2617
|
readonly __doNotUseOrImplementIt: games.jass.logic.redux.actions.mechanic.MechanicAction["__doNotUseOrImplementIt"] & games.jass.logic.redux.actions.mechanic.TerminatedAction["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinishing["__doNotUseOrImplementIt"];
|
|
2618
2618
|
}
|
|
2619
2619
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -2644,7 +2644,7 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
|
|
|
2644
2644
|
hashCode(): number;
|
|
2645
2645
|
equals(other: Nullable<any>): boolean;
|
|
2646
2646
|
get actionTag(): string;
|
|
2647
|
-
|
|
2647
|
+
ignoreValidation(): boolean;
|
|
2648
2648
|
readonly __doNotUseOrImplementIt: games.jass.logic.redux.actions.mechanic.MechanicAction["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinishing["__doNotUseOrImplementIt"] & games.jass.logic.redux.actions.mechanic.TerminatedAction["__doNotUseOrImplementIt"];
|
|
2649
2649
|
}
|
|
2650
2650
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -2659,22 +2659,21 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
|
|
|
2659
2659
|
readonly "games.jass.logic.redux.actions.mechanic.NavigationMechanicAction": unique symbol;
|
|
2660
2660
|
} & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
|
|
2661
2661
|
}
|
|
2662
|
-
class SceneMechanicAction extends games.jass.logic.redux.actions.mechanic.MechanicAction.$metadata$.constructor implements games.jass.logic.redux.actions.mechanic.NavigationMechanicAction, com.logic.redux.store.definitions.Action, com.logic.redux.actions.ReleaseBufferTriggerAction, com.logic.data.models.player.PlayerIdContract, com.logic.redux.actions.validation.
|
|
2662
|
+
class SceneMechanicAction extends games.jass.logic.redux.actions.mechanic.MechanicAction.$metadata$.constructor implements games.jass.logic.redux.actions.mechanic.NavigationMechanicAction, com.logic.redux.store.definitions.Action, com.logic.redux.actions.ReleaseBufferTriggerAction, com.logic.data.models.player.PlayerIdContract, com.logic.redux.actions.validation.NotValidateIfGameFinished/*, games.jass.logic.redux.actions.mechanic.NextPlayerTurnAction, games.jass.logic.redux.actions.mechanic.PlayerTurnIdAnswerAction */ {
|
|
2663
2663
|
constructor(currentTurnPlayerId: Nullable<string>, sceneId: string, actId?: Nullable<string>, sceneData?: Nullable<games.jass.logic.data.models.scenes.SceneData>, actData?: Nullable<games.jass.logic.data.models.scenes.ActData>, aid?: Nullable<string>);
|
|
2664
2664
|
get sceneId(): string;
|
|
2665
2665
|
get actId(): Nullable<string>;
|
|
2666
2666
|
get sceneData(): Nullable<games.jass.logic.data.models.scenes.SceneData>;
|
|
2667
2667
|
get actData(): Nullable<games.jass.logic.data.models.scenes.ActData>;
|
|
2668
2668
|
get aid(): Nullable<string>;
|
|
2669
|
-
|
|
2670
|
-
notValidateWhenFinishing(): boolean;
|
|
2669
|
+
ignoreValidation(): boolean;
|
|
2671
2670
|
toString(): string;
|
|
2672
2671
|
get playerId(): string;
|
|
2673
2672
|
copy(currentTurnPlayerId?: Nullable<string>, sceneId?: string, actId?: Nullable<string>, sceneData?: Nullable<games.jass.logic.data.models.scenes.SceneData>, actData?: Nullable<games.jass.logic.data.models.scenes.ActData>, aid?: Nullable<string>): games.jass.logic.redux.actions.mechanic.SceneMechanicAction;
|
|
2674
2673
|
hashCode(): number;
|
|
2675
2674
|
equals(other: Nullable<any>): boolean;
|
|
2676
2675
|
get actionTag(): string;
|
|
2677
|
-
readonly __doNotUseOrImplementIt: games.jass.logic.redux.actions.mechanic.MechanicAction["__doNotUseOrImplementIt"] & games.jass.logic.redux.actions.mechanic.NavigationMechanicAction["__doNotUseOrImplementIt"] & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"] & com.logic.redux.actions.ReleaseBufferTriggerAction["__doNotUseOrImplementIt"] & com.logic.data.models.player.PlayerIdContract["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.
|
|
2676
|
+
readonly __doNotUseOrImplementIt: games.jass.logic.redux.actions.mechanic.MechanicAction["__doNotUseOrImplementIt"] & games.jass.logic.redux.actions.mechanic.NavigationMechanicAction["__doNotUseOrImplementIt"] & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"] & com.logic.redux.actions.ReleaseBufferTriggerAction["__doNotUseOrImplementIt"] & com.logic.data.models.player.PlayerIdContract["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinished["__doNotUseOrImplementIt"];
|
|
2678
2677
|
}
|
|
2679
2678
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
2680
2679
|
namespace SceneMechanicAction.$metadata$ {
|
|
@@ -2688,7 +2687,7 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
|
|
|
2688
2687
|
readonly "games.jass.logic.redux.actions.mechanic.TerminatedAction": unique symbol;
|
|
2689
2688
|
} & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
|
|
2690
2689
|
}
|
|
2691
|
-
class PlayerConnectionChangedMechanicAction extends games.jass.logic.redux.actions.mechanic.MechanicAction.$metadata$.constructor implements com.logic.redux.actions.validation.
|
|
2690
|
+
class PlayerConnectionChangedMechanicAction extends games.jass.logic.redux.actions.mechanic.MechanicAction.$metadata$.constructor implements com.logic.redux.actions.validation.NotValidateIfGameFinished {
|
|
2692
2691
|
constructor(playerId: string, state: com.logic.data.models.player.PlayerConnectionState, causeState?: Nullable<com.logic.data.models.player.PlayerConnectionState>, isNoneActivePlayers?: boolean, reconnectUntilTime?: Nullable<string>, aid?: Nullable<string>);
|
|
2693
2692
|
get playerId(): string;
|
|
2694
2693
|
get state(): com.logic.data.models.player.PlayerConnectionState;
|
|
@@ -2703,9 +2702,8 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
|
|
|
2703
2702
|
hashCode(): number;
|
|
2704
2703
|
equals(other: Nullable<any>): boolean;
|
|
2705
2704
|
get actionTag(): string;
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
readonly __doNotUseOrImplementIt: games.jass.logic.redux.actions.mechanic.MechanicAction["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinishing["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinished["__doNotUseOrImplementIt"];
|
|
2705
|
+
ignoreValidation(): boolean;
|
|
2706
|
+
readonly __doNotUseOrImplementIt: games.jass.logic.redux.actions.mechanic.MechanicAction["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinished["__doNotUseOrImplementIt"];
|
|
2709
2707
|
}
|
|
2710
2708
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
2711
2709
|
namespace PlayerConnectionChangedMechanicAction.$metadata$ {
|
|
@@ -846,7 +846,7 @@
|
|
|
846
846
|
continue $sm;
|
|
847
847
|
case 1:
|
|
848
848
|
this.r8_1 = 2;
|
|
849
|
-
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.b9j_1).
|
|
849
|
+
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.b9j_1).s8j(), fromInt(_get_serverReduxConfig__rprcrm(this.b9j_1).serverStateUpdateIntervalMillis));
|
|
850
850
|
suspendResult = emitAll(this.c9j_1, new _no_name_provided__qut3iv(this_0, this.a9j_1), this);
|
|
851
851
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
852
852
|
return suspendResult;
|
|
@@ -2177,7 +2177,7 @@
|
|
|
2177
2177
|
var item = _iterator__ex2g4s.n();
|
|
2178
2178
|
destination.j(new GameServer$roomOnCreate$2$updatedUsers$previousTeams$1(item));
|
|
2179
2179
|
}
|
|
2180
|
-
var previousTeams = tmp_2.
|
|
2180
|
+
var previousTeams = tmp_2.j8j(destination);
|
|
2181
2181
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
2182
2182
|
var _iterator__ex2g4s_0 = users.l();
|
|
2183
2183
|
while (_iterator__ex2g4s_0.m()) {
|
|
@@ -2201,7 +2201,7 @@
|
|
|
2201
2201
|
destination_1.j(destination_2);
|
|
2202
2202
|
}
|
|
2203
2203
|
var updatedTeams = destination_1;
|
|
2204
|
-
tmp_1 = _get_teamsLogicProvider__u10pm6(this.o9r_1).
|
|
2204
|
+
tmp_1 = _get_teamsLogicProvider__u10pm6(this.o9r_1).n8j(updatedTeams);
|
|
2205
2205
|
} else {
|
|
2206
2206
|
tmp_1 = users;
|
|
2207
2207
|
}
|
|
@@ -2577,7 +2577,7 @@
|
|
|
2577
2577
|
var table = this.x9u_1.state.t6n();
|
|
2578
2578
|
var player = getPlayer(table.players, this.u9u_1);
|
|
2579
2579
|
if (player.u6q_1.x68().o67_1.isLive) {
|
|
2580
|
-
this.x9u_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.v9u_1).
|
|
2580
|
+
this.x9u_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.v9u_1).d8q(player, table));
|
|
2581
2581
|
} else {
|
|
2582
2582
|
var tmp_0 = this.x9u_1.dispatch;
|
|
2583
2583
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
@@ -2638,7 +2638,7 @@
|
|
|
2638
2638
|
tmp_0 = it;
|
|
2639
2639
|
}
|
|
2640
2640
|
var terminationState = tmp_0;
|
|
2641
|
-
var gameTransition = terminationState.
|
|
2641
|
+
var gameTransition = terminationState.a8u_1;
|
|
2642
2642
|
var tmp_1;
|
|
2643
2643
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
2644
2644
|
var tmp0_elvis_lhs = this.h9v_1;
|
|
@@ -2648,7 +2648,7 @@
|
|
|
2648
2648
|
}
|
|
2649
2649
|
var transition = tmp_1;
|
|
2650
2650
|
var tmp_2 = this.j9v_1.dispatch;
|
|
2651
|
-
var tmp0_reason = terminationState.
|
|
2651
|
+
var tmp0_reason = terminationState.z8t_1;
|
|
2652
2652
|
var tmp1_isGameFinished = this.g9v_1.u66().t6n().isGameFinished;
|
|
2653
2653
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
2654
2654
|
return Unit_instance;
|
|
@@ -2767,7 +2767,7 @@
|
|
|
2767
2767
|
this.e9w_1.h4q().w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.f9w_1);
|
|
2768
2768
|
var tmp_3 = this.h9w_1.dispatch;
|
|
2769
2769
|
var tmp2_safe_receiver = state.t6m_1;
|
|
2770
|
-
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
2770
|
+
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.a8u_1));
|
|
2771
2771
|
}
|
|
2772
2772
|
return Unit_instance;
|
|
2773
2773
|
} else if (tmp === 1) {
|
|
@@ -2882,7 +2882,7 @@
|
|
|
2882
2882
|
protoOf(GameServer).i9w = function (_set____db54di) {
|
|
2883
2883
|
this.u9m_1 = _set____db54di;
|
|
2884
2884
|
};
|
|
2885
|
-
protoOf(GameServer).
|
|
2885
|
+
protoOf(GameServer).s8e = function () {
|
|
2886
2886
|
return this.u9m_1;
|
|
2887
2887
|
};
|
|
2888
2888
|
protoOf(GameServer).y53 = function () {
|
|
@@ -3171,7 +3171,7 @@
|
|
|
3171
3171
|
this.r9w_1 = roomId;
|
|
3172
3172
|
this.table = table;
|
|
3173
3173
|
}
|
|
3174
|
-
protoOf(TableStateUpdateDto).
|
|
3174
|
+
protoOf(TableStateUpdateDto).m8b = function () {
|
|
3175
3175
|
return this.r9w_1;
|
|
3176
3176
|
};
|
|
3177
3177
|
protoOf(TableStateUpdateDto).t6n = function () {
|
|
@@ -3301,10 +3301,10 @@
|
|
|
3301
3301
|
this.u9w_1 = roomId;
|
|
3302
3302
|
this.actions = actions;
|
|
3303
3303
|
}
|
|
3304
|
-
protoOf(ActionsStateUpdateDto).
|
|
3304
|
+
protoOf(ActionsStateUpdateDto).m8b = function () {
|
|
3305
3305
|
return this.u9w_1;
|
|
3306
3306
|
};
|
|
3307
|
-
protoOf(ActionsStateUpdateDto).
|
|
3307
|
+
protoOf(ActionsStateUpdateDto).z8b = function () {
|
|
3308
3308
|
return this.actions;
|
|
3309
3309
|
};
|
|
3310
3310
|
protoOf(ActionsStateUpdateDto).ne = function () {
|
|
@@ -3364,10 +3364,10 @@
|
|
|
3364
3364
|
var tmp$ret$0 = mapToDto(item);
|
|
3365
3365
|
destination.j(tmp$ret$0);
|
|
3366
3366
|
}
|
|
3367
|
-
return new ActionsStateUpdateDto(_this__u8e3s4.v9w_1, encoderDecoderProvider.
|
|
3367
|
+
return new ActionsStateUpdateDto(_this__u8e3s4.v9w_1, encoderDecoderProvider.s8i(destination));
|
|
3368
3368
|
}
|
|
3369
3369
|
function mapToDto_3(_this__u8e3s4, encoderDecoderProvider) {
|
|
3370
|
-
return new TableStateUpdateDto(_this__u8e3s4.w9w_1, encoderDecoderProvider.
|
|
3370
|
+
return new TableStateUpdateDto(_this__u8e3s4.w9w_1, encoderDecoderProvider.q8i(mapToDto_0(_this__u8e3s4.table)));
|
|
3371
3371
|
}
|
|
3372
3372
|
function ServerStateUpdate() {
|
|
3373
3373
|
}
|
|
@@ -3375,7 +3375,7 @@
|
|
|
3375
3375
|
this.w9w_1 = roomId;
|
|
3376
3376
|
this.table = table;
|
|
3377
3377
|
}
|
|
3378
|
-
protoOf(TableStateUpdate).
|
|
3378
|
+
protoOf(TableStateUpdate).m8b = function () {
|
|
3379
3379
|
return this.w9w_1;
|
|
3380
3380
|
};
|
|
3381
3381
|
protoOf(TableStateUpdate).t6n = function () {
|
|
@@ -3418,10 +3418,10 @@
|
|
|
3418
3418
|
this.v9w_1 = roomId;
|
|
3419
3419
|
this.actions = actions;
|
|
3420
3420
|
}
|
|
3421
|
-
protoOf(ActionsStateUpdate).
|
|
3421
|
+
protoOf(ActionsStateUpdate).m8b = function () {
|
|
3422
3422
|
return this.v9w_1;
|
|
3423
3423
|
};
|
|
3424
|
-
protoOf(ActionsStateUpdate).
|
|
3424
|
+
protoOf(ActionsStateUpdate).z8b = function () {
|
|
3425
3425
|
return this.actions;
|
|
3426
3426
|
};
|
|
3427
3427
|
protoOf(ActionsStateUpdate).ne = function () {
|
|
@@ -4555,10 +4555,10 @@
|
|
|
4555
4555
|
var tmp;
|
|
4556
4556
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
4557
4557
|
var tmp0 = this.da0_1;
|
|
4558
|
-
var tmp2 = action_0.
|
|
4559
|
-
var tmp4 = action_0.
|
|
4558
|
+
var tmp2 = action_0.x8u_1;
|
|
4559
|
+
var tmp4 = action_0.z8u_1;
|
|
4560
4560
|
// Inline function 'kotlin.collections.map' call
|
|
4561
|
-
var this_0 = action_0.
|
|
4561
|
+
var this_0 = action_0.a8v_1;
|
|
4562
4562
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4563
4563
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
4564
4564
|
var _iterator__ex2g4s = this_0.l();
|
|
@@ -4625,7 +4625,7 @@
|
|
|
4625
4625
|
} else {
|
|
4626
4626
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
4627
4627
|
var tmp0_1 = this.da0_1;
|
|
4628
|
-
var tmp2_0 = action_0.
|
|
4628
|
+
var tmp2_0 = action_0.d8v_1.id;
|
|
4629
4629
|
var tmp4_0 = action_0.gameCreatorPlayerId;
|
|
4630
4630
|
// Inline function 'kotlin.collections.map' call
|
|
4631
4631
|
var this_1 = action_0.users;
|
|
@@ -4892,7 +4892,7 @@
|
|
|
4892
4892
|
var tmp0_9 = this.da0_1;
|
|
4893
4893
|
var tmp2_4 = state.t6n();
|
|
4894
4894
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4895
|
-
var exceptPlayerId = this.da0_1.ba0_1.supportBackwardActions ? action_0.
|
|
4895
|
+
var exceptPlayerId = this.da0_1.ba0_1.supportBackwardActions ? action_0.y8v_1 : null;
|
|
4896
4896
|
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.ca0_1.c6e(), tmp2_4.id, exceptPlayerId);
|
|
4897
4897
|
var tmp$ret$109 = mapToClient_7(action_0, sendToPlayer_9);
|
|
4898
4898
|
tmp = listOfNotNull(tmp$ret$109);
|
|
@@ -4901,7 +4901,7 @@
|
|
|
4901
4901
|
var tmp0_10 = this.da0_1;
|
|
4902
4902
|
var tmp2_5 = state.t6n();
|
|
4903
4903
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4904
|
-
var exceptPlayerId_0 = this.da0_1.ba0_1.supportBackwardActions ? action_0.
|
|
4904
|
+
var exceptPlayerId_0 = this.da0_1.ba0_1.supportBackwardActions ? action_0.a8r_1 : null;
|
|
4905
4905
|
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.ca0_1.c6e(), tmp2_5.id, exceptPlayerId_0);
|
|
4906
4906
|
var tmp$ret$111 = mapToClient_6(action_0, sendToPlayer_10);
|
|
4907
4907
|
tmp = listOfNotNull(tmp$ret$111);
|
|
@@ -4918,7 +4918,7 @@
|
|
|
4918
4918
|
var tmp0_12 = this.da0_1;
|
|
4919
4919
|
var tmp2_6 = state.t6n();
|
|
4920
4920
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4921
|
-
var exceptPlayerId_1 = this.da0_1.ba0_1.supportBackwardActions ? action_0.
|
|
4921
|
+
var exceptPlayerId_1 = this.da0_1.ba0_1.supportBackwardActions ? action_0.e8w_1 : null;
|
|
4922
4922
|
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.ca0_1.c6e(), tmp2_6.id, exceptPlayerId_1);
|
|
4923
4923
|
var tmp$ret$115 = mapToClient_4(action_0, sendToPlayer_12);
|
|
4924
4924
|
tmp = listOfNotNull(tmp$ret$115);
|
|
@@ -4927,7 +4927,7 @@
|
|
|
4927
4927
|
var tmp0_13 = this.da0_1;
|
|
4928
4928
|
var tmp2_7 = state.t6n();
|
|
4929
4929
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4930
|
-
var exceptPlayerId_2 = this.da0_1.ba0_1.supportBackwardActions ? action_0.
|
|
4930
|
+
var exceptPlayerId_2 = this.da0_1.ba0_1.supportBackwardActions ? action_0.f8r_1 : null;
|
|
4931
4931
|
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.ca0_1.c6e(), tmp2_7.id, exceptPlayerId_2);
|
|
4932
4932
|
var tmp$ret$117 = mapToClient_3(action_0, sendToPlayer_13);
|
|
4933
4933
|
tmp = listOfNotNull(tmp$ret$117);
|
|
@@ -4949,7 +4949,7 @@
|
|
|
4949
4949
|
tmp = listOfNotNull(tmp$ret$121);
|
|
4950
4950
|
} else {
|
|
4951
4951
|
if (action_0 instanceof MessageMechanicAction) {
|
|
4952
|
-
var message = action_0.
|
|
4952
|
+
var message = action_0.i8w_1;
|
|
4953
4953
|
var tmp0_16 = this.da0_1;
|
|
4954
4954
|
var tmp2_8 = state.t6n();
|
|
4955
4955
|
var tmp_1;
|
|
@@ -5107,7 +5107,7 @@
|
|
|
5107
5107
|
};
|
|
5108
5108
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).l99 = function (state, action) {
|
|
5109
5109
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
5110
|
-
return state.
|
|
5110
|
+
return state.y8t(VOID, get_serverStatePayload_0(state).copy(action_0.f9z_1));
|
|
5111
5111
|
};
|
|
5112
5112
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).q6h = function (state, action) {
|
|
5113
5113
|
return this.l99((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
@@ -5130,7 +5130,7 @@
|
|
|
5130
5130
|
var tmp_2 = PlayerConnectionState_LIVE_getInstance();
|
|
5131
5131
|
Companion_getInstance();
|
|
5132
5132
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
5133
|
-
var this_0 = $action.
|
|
5133
|
+
var this_0 = $action.w8u_1.timeoutTimeMillis;
|
|
5134
5134
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
5135
5135
|
tmp_0 = tmp_1.l67(tmp_2, tmp$ret$0);
|
|
5136
5136
|
}
|
|
@@ -5142,17 +5142,17 @@
|
|
|
5142
5142
|
this.ua0_1 = logger;
|
|
5143
5143
|
}
|
|
5144
5144
|
protoOf(ServerMechanicLifecycleReducer).x9a = function (state, action) {
|
|
5145
|
-
this.ua0_1.d('ServerMechanicLifecycleReducer', 'onStart ' + get_versionOrDefault(GameEngineConfig_instance));
|
|
5145
|
+
this.ua0_1.d('ServerMechanicLifecycleReducer', 'onStart ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
5146
5146
|
var serverState = get_serverStatePayloadOrNull(state.payload);
|
|
5147
5147
|
var tmp8_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5148
5148
|
var tmp0_$this = this.y9a_1;
|
|
5149
|
-
var tmp1_tableId = action.
|
|
5150
|
-
var tmp2_gameId = action.
|
|
5151
|
-
var tmp3_version = action.
|
|
5152
|
-
var tmp4_config = action.
|
|
5153
|
-
var tmp5_users = action.
|
|
5149
|
+
var tmp1_tableId = action.x8u_1;
|
|
5150
|
+
var tmp2_gameId = action.x8u_1;
|
|
5151
|
+
var tmp3_version = action.y8u_1;
|
|
5152
|
+
var tmp4_config = action.w8u_1;
|
|
5153
|
+
var tmp5_users = action.a8v_1;
|
|
5154
5154
|
var tmp6_spectators = action.spectators;
|
|
5155
|
-
var tmp7_gameCreatorPlayerId = action.
|
|
5155
|
+
var tmp7_gameCreatorPlayerId = action.z8u_1;
|
|
5156
5156
|
var tmp9_tableOrNull = tmp0_$this.e9c(tmp1_tableId, tmp2_gameId, tmp4_config, tmp3_version, tmp5_users, tmp6_spectators, tmp7_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
|
|
5157
5157
|
var tmp;
|
|
5158
5158
|
if (serverState == null) {
|
|
@@ -5162,24 +5162,24 @@
|
|
|
5162
5162
|
tmp = serverState;
|
|
5163
5163
|
}
|
|
5164
5164
|
var tmp10_payload = tmp;
|
|
5165
|
-
return state.
|
|
5165
|
+
return state.y8t(tmp9_tableOrNull, tmp10_payload, tmp8_gameLifecycleState);
|
|
5166
5166
|
};
|
|
5167
5167
|
protoOf(ServerMechanicLifecycleReducer).v9a = function (state, action) {
|
|
5168
|
-
this.ua0_1.d('ServerMechanicLifecycleReducer', 'onContinue ' + get_versionOrDefault(GameEngineConfig_instance));
|
|
5168
|
+
this.ua0_1.d('ServerMechanicLifecycleReducer', 'onContinue ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
5169
5169
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5170
|
-
var tmp2_tableOrNull = action.
|
|
5170
|
+
var tmp2_tableOrNull = action.d8v_1;
|
|
5171
5171
|
var tmp = Companion_instance_14;
|
|
5172
5172
|
var tmp_0 = get_serverStatePayload_0(state).config;
|
|
5173
|
-
var tmp_1 = action.
|
|
5173
|
+
var tmp_1 = action.e8v_1;
|
|
5174
5174
|
var tmp0_safe_receiver = tmp_1 instanceof RestartRoundReason ? tmp_1 : null;
|
|
5175
5175
|
var tmp3_payload = tmp.initial(tmp_0.copy(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.f65_1));
|
|
5176
|
-
return state.
|
|
5176
|
+
return state.y8t(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
|
|
5177
5177
|
};
|
|
5178
5178
|
protoOf(ServerMechanicLifecycleReducer).w9a = function (state, action) {
|
|
5179
5179
|
this.z9a_1.n58(action.previousGameId);
|
|
5180
5180
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5181
5181
|
var tmp1_tableOrNull = this.y9a_1.f9c(state.t6n(), action.gameId);
|
|
5182
|
-
return state.
|
|
5182
|
+
return state.y8t(tmp1_tableOrNull, VOID, tmp0_gameLifecycleState);
|
|
5183
5183
|
};
|
|
5184
5184
|
function spectatorsReducer(logger) {
|
|
5185
5185
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
@@ -5266,7 +5266,7 @@
|
|
|
5266
5266
|
destination_1.j(tmp$ret$13);
|
|
5267
5267
|
}
|
|
5268
5268
|
var spectatorsToAdd = toSet(destination_1);
|
|
5269
|
-
tmp = state.
|
|
5269
|
+
tmp = state.y8t(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
|
|
5270
5270
|
} else {
|
|
5271
5271
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
5272
5272
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
@@ -5363,7 +5363,7 @@
|
|
|
5363
5363
|
destination_4.j(element_5);
|
|
5364
5364
|
}
|
|
5365
5365
|
}
|
|
5366
|
-
tmp = state.
|
|
5366
|
+
tmp = state.y8t(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
|
|
5367
5367
|
} else {
|
|
5368
5368
|
noWhenBranchMatchedException();
|
|
5369
5369
|
}
|
|
@@ -5953,7 +5953,7 @@
|
|
|
5953
5953
|
tmp_1.sa1_1 = tmp_3.w64(this, getPropertyCallableRef('playerAnswerInteractor', 1, tmp_4, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy(), null));
|
|
5954
5954
|
}
|
|
5955
5955
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
5956
|
-
return _get_playerAnswerInteractor__msggz1(this).
|
|
5956
|
+
return _get_playerAnswerInteractor__msggz1(this).i8k(playerId, table, botConfig);
|
|
5957
5957
|
};
|
|
5958
5958
|
protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
|
|
5959
5959
|
var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
|
|
@@ -6078,7 +6078,7 @@
|
|
|
6078
6078
|
protoOf(GameServer).roomOnDelete = roomOnDelete;
|
|
6079
6079
|
protoOf(GameServer).shutdown = shutdown;
|
|
6080
6080
|
defineProp(protoOf(GameServer), 'metadata', function () {
|
|
6081
|
-
return this.
|
|
6081
|
+
return this.s8e();
|
|
6082
6082
|
}, function (value) {
|
|
6083
6083
|
this.i9w(value);
|
|
6084
6084
|
});
|
|
@@ -6096,17 +6096,17 @@
|
|
|
6096
6096
|
});
|
|
6097
6097
|
protoOf($serializer).wz = typeParametersSerializers;
|
|
6098
6098
|
defineProp(protoOf(TableStateUpdateDto), 'roomId', function () {
|
|
6099
|
-
return this.
|
|
6099
|
+
return this.m8b();
|
|
6100
6100
|
});
|
|
6101
6101
|
protoOf($serializer_0).wz = typeParametersSerializers;
|
|
6102
6102
|
defineProp(protoOf(ActionsStateUpdateDto), 'roomId', function () {
|
|
6103
|
-
return this.
|
|
6103
|
+
return this.m8b();
|
|
6104
6104
|
});
|
|
6105
6105
|
defineProp(protoOf(TableStateUpdate), 'roomId', function () {
|
|
6106
|
-
return this.
|
|
6106
|
+
return this.m8b();
|
|
6107
6107
|
});
|
|
6108
6108
|
defineProp(protoOf(ActionsStateUpdate), 'roomId', function () {
|
|
6109
|
-
return this.
|
|
6109
|
+
return this.m8b();
|
|
6110
6110
|
});
|
|
6111
6111
|
protoOf(UpdateServerConfigAction).q6f = get_actionTag;
|
|
6112
6112
|
defineProp(protoOf(UpdateServerConfigAction), 'actionTag', function () {
|