raspberry_games_server_game_logic 1.8.418 → 1.8.419
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-ai_module.js.map +1 -1
- package/Logic_Debertz-core.js +1 -1
- package/Logic_Debertz-engine.js +866 -849
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.d.ts +13 -11
- package/Logic_Debertz-game_server.js +884 -889
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlinx-coroutines-core.js +9 -9
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -2672,7 +2672,7 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
|
|
|
2672
2672
|
namespace MechanicAction.$metadata$ {
|
|
2673
2673
|
const constructor: abstract new () => MechanicAction;
|
|
2674
2674
|
}
|
|
2675
|
-
interface FirstMechanicAction extends com.logic.redux.store.definitions.Action, com.logic.redux.actions.IgnoreBufferForAction {
|
|
2675
|
+
interface FirstMechanicAction extends com.logic.redux.store.definitions.Action, com.logic.redux.actions.IgnoreBufferForAction, games.jass.logic.redux.actions.mechanic.PlayerOrderChangeMechanicAction {
|
|
2676
2676
|
readonly id: string;
|
|
2677
2677
|
readonly version: string;
|
|
2678
2678
|
readonly users: kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>;
|
|
@@ -2680,7 +2680,7 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
|
|
|
2680
2680
|
readonly gameCreatorPlayerId: string;
|
|
2681
2681
|
readonly __doNotUseOrImplementIt: {
|
|
2682
2682
|
readonly "games.jass.logic.redux.actions.mechanic.FirstMechanicAction": unique symbol;
|
|
2683
|
-
} & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"] & com.logic.redux.actions.IgnoreBufferForAction["__doNotUseOrImplementIt"];
|
|
2683
|
+
} & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"] & com.logic.redux.actions.IgnoreBufferForAction["__doNotUseOrImplementIt"] & games.jass.logic.redux.actions.mechanic.PlayerOrderChangeMechanicAction["__doNotUseOrImplementIt"];
|
|
2684
2684
|
}
|
|
2685
2685
|
interface PlayerOrderChangeMechanicAction extends com.logic.redux.store.definitions.Action {
|
|
2686
2686
|
readonly usersOrder: Array<string>;
|
|
@@ -2688,7 +2688,7 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
|
|
|
2688
2688
|
readonly "games.jass.logic.redux.actions.mechanic.PlayerOrderChangeMechanicAction": unique symbol;
|
|
2689
2689
|
} & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
|
|
2690
2690
|
}
|
|
2691
|
-
class StartGameMechanicAction extends games.jass.logic.redux.actions.mechanic.MechanicAction.$metadata$.constructor implements games.jass.logic.redux.actions.mechanic.FirstMechanicAction
|
|
2691
|
+
class StartGameMechanicAction extends games.jass.logic.redux.actions.mechanic.MechanicAction.$metadata$.constructor implements games.jass.logic.redux.actions.mechanic.FirstMechanicAction {
|
|
2692
2692
|
constructor(config: games.jass.logic.data.models.table.config.Config, roomId: string, version: string, gameCreatorPlayerId: string, users: kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>, aid: Nullable<string> | undefined, spectators: kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>);
|
|
2693
2693
|
get config(): games.jass.logic.data.models.table.config.Config;
|
|
2694
2694
|
get id(): string;
|
|
@@ -2703,7 +2703,7 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
|
|
|
2703
2703
|
hashCode(): number;
|
|
2704
2704
|
equals(other: Nullable<any>): boolean;
|
|
2705
2705
|
get actionTag(): string;
|
|
2706
|
-
readonly __doNotUseOrImplementIt: games.jass.logic.redux.actions.mechanic.MechanicAction["__doNotUseOrImplementIt"] & games.jass.logic.redux.actions.mechanic.FirstMechanicAction["__doNotUseOrImplementIt"]
|
|
2706
|
+
readonly __doNotUseOrImplementIt: games.jass.logic.redux.actions.mechanic.MechanicAction["__doNotUseOrImplementIt"] & games.jass.logic.redux.actions.mechanic.FirstMechanicAction["__doNotUseOrImplementIt"];
|
|
2707
2707
|
}
|
|
2708
2708
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
2709
2709
|
namespace StartGameMechanicAction.$metadata$ {
|
|
@@ -2724,7 +2724,7 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
|
|
|
2724
2724
|
namespace StartNewGameMechanicAction.$metadata$ {
|
|
2725
2725
|
const constructor: abstract new () => StartNewGameMechanicAction;
|
|
2726
2726
|
}
|
|
2727
|
-
class ContinueGameMechanicAction extends games.jass.logic.redux.actions.mechanic.MechanicAction.$metadata$.constructor implements games.jass.logic.redux.actions.mechanic.FirstMechanicAction,
|
|
2727
|
+
class ContinueGameMechanicAction extends games.jass.logic.redux.actions.mechanic.MechanicAction.$metadata$.constructor implements games.jass.logic.redux.actions.mechanic.FirstMechanicAction, com.logic.redux.actions.validation.NotValidateIfGameFinished {
|
|
2728
2728
|
constructor(table: games.jass.logic.data.models.table.JassTable, reason: any/* com.logic.data.models.ContinueGameReason */, payload?: Nullable<games.jass.logic.redux.AppStatePayload>, aid?: Nullable<string>);
|
|
2729
2729
|
get table(): games.jass.logic.data.models.table.JassTable;
|
|
2730
2730
|
get reason(): any/* com.logic.data.models.ContinueGameReason */;
|
|
@@ -2742,7 +2742,7 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
|
|
|
2742
2742
|
equals(other: Nullable<any>): boolean;
|
|
2743
2743
|
get actionTag(): string;
|
|
2744
2744
|
ignoreValidation(): boolean;
|
|
2745
|
-
readonly __doNotUseOrImplementIt: games.jass.logic.redux.actions.mechanic.MechanicAction["__doNotUseOrImplementIt"] & games.jass.logic.redux.actions.mechanic.FirstMechanicAction["__doNotUseOrImplementIt"] &
|
|
2745
|
+
readonly __doNotUseOrImplementIt: games.jass.logic.redux.actions.mechanic.MechanicAction["__doNotUseOrImplementIt"] & games.jass.logic.redux.actions.mechanic.FirstMechanicAction["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinished["__doNotUseOrImplementIt"];
|
|
2746
2746
|
}
|
|
2747
2747
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
2748
2748
|
namespace ContinueGameMechanicAction.$metadata$ {
|
|
@@ -2863,6 +2863,7 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
|
|
|
2863
2863
|
get reconnectUntilTime(): Nullable<string>;
|
|
2864
2864
|
get aid(): Nullable<string>;
|
|
2865
2865
|
get isShouldBeDisconnectedFromSockets(): boolean;
|
|
2866
|
+
get originState(): com.logic.data.models.player.PlayerConnectionState;
|
|
2866
2867
|
get isDeleted(): boolean;
|
|
2867
2868
|
toString(): string;
|
|
2868
2869
|
copy(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>): games.jass.logic.redux.actions.mechanic.PlayerConnectionChangedMechanicAction;
|
|
@@ -3108,21 +3109,22 @@ export declare namespace games.jass.logic.server.domain {
|
|
|
3108
3109
|
roomOnCreate(roomId: string, gameCreatorId: string, config: games.jass.logic.data.models.table.config.Config, usersArray: Array<com.logic.data.models.player.GameUserInfo>, transition?: Nullable<games.jass.logic.redux.actions.mechanic.GameTransition>, spectators?: Array<com.logic.data.models.player.GameUserInfo>): void;
|
|
3109
3110
|
roomOnContinueFromState(roomId: string, state: games.jass.logic.data.models.table.TableStateWithActions): void;
|
|
3110
3111
|
roomOnContinueFromRound(roomId: string, tableLite: games.jass.logic.data.models.table.JassTableLite): void;
|
|
3111
|
-
addSpectatorsToRoom(spectators: Array<com.logic.data.models.player.GameUserInfo>): void;
|
|
3112
|
-
removeSpectatorsFromRoom(spectators: Array<com.logic.data.models.player.GameUserInfo>): void;
|
|
3113
|
-
roomRefreshPlayerState(playerId: string): void;
|
|
3114
3112
|
roomOnDelete(newRid?: Nullable<string>): void;
|
|
3113
|
+
clear(): void;
|
|
3114
|
+
shutdown(reason: string, roomId?: Nullable<string>): void;
|
|
3115
3115
|
playerLostConnection(playerId: string): void;
|
|
3116
3116
|
playerLive(playerId: string): void;
|
|
3117
3117
|
playerLeft(playerId: string, permanently?: boolean): games.jass.logic.data.models.player.state.PlayerLeftResult;
|
|
3118
3118
|
fromClientEvent(action: games.jass.logic.redux.actions.client.from.FromClientAction): void;
|
|
3119
|
+
roomRefreshPlayerState(playerId: string): void;
|
|
3120
|
+
getToClientFinishActionBeforeDisconnect(playerId: string, originState: com.logic.data.models.player.PlayerConnectionState): Nullable<games.jass.logic.redux.actions.client.to.ToClientAction>;
|
|
3121
|
+
addSpectatorsToRoom(spectators: Array<com.logic.data.models.player.GameUserInfo>): void;
|
|
3122
|
+
removeSpectatorsFromRoom(spectators: Array<com.logic.data.models.player.GameUserInfo>): void;
|
|
3119
3123
|
subscribeToClientAction(subscriber: (p0: games.jass.logic.redux.actions.client.to.ToClientAction) => void): void;
|
|
3120
3124
|
subscribeServerStateUpdate(subscriber: (p0: games.jass.logic.server.data.models.state.ServerStateUpdate) => void): void;
|
|
3121
3125
|
subscribeServerStateUpdateJson(subscriber: (p0: games.jass.logic.server.data.models.serializable.ServerStateUpdateDto) => void): void;
|
|
3122
3126
|
subscribeWith(subscriber: (p0: any/* games.jass.logic.redux.AppState */) => void): void;
|
|
3123
|
-
clear(): void;
|
|
3124
3127
|
setCanStartNewGameEnabled(enabled: boolean): void;
|
|
3125
|
-
shutdown(reason: string, roomId?: Nullable<string>): void;
|
|
3126
3128
|
handlePlayerMessage(message: string, fromPlayerId: string, onMessageGenerated: (p0: games.jass.logic.data.models.messages.text.TextMessage) => void): void;
|
|
3127
3129
|
readonly __doNotUseOrImplementIt: {
|
|
3128
3130
|
readonly "games.jass.logic.server.domain.ServerGameEngineContract": unique symbol;
|