raspberry_games_server_game_logic 1.8.417 → 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/Kotlin-DateTime-library-kotlinx-datetime.js +1 -1
- package/Logic_Debertz-ai_module.js.map +1 -1
- package/Logic_Debertz-core.js +1 -1
- package/Logic_Debertz-engine.js +1307 -1258
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.d.ts +35 -9
- package/Logic_Debertz-game_server.js +540 -545
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +6 -6
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +7 -7
- 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,6 +2724,30 @@ 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, com.logic.redux.actions.validation.NotValidateIfGameFinished {
|
|
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
|
+
get table(): games.jass.logic.data.models.table.JassTable;
|
|
2730
|
+
get reason(): any/* com.logic.data.models.ContinueGameReason */;
|
|
2731
|
+
get payload(): Nullable<games.jass.logic.redux.AppStatePayload>;
|
|
2732
|
+
get aid(): Nullable<string>;
|
|
2733
|
+
get id(): string;
|
|
2734
|
+
get users(): kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>;
|
|
2735
|
+
get usersOrder(): Array<string>;
|
|
2736
|
+
get gameCreatorPlayerId(): string;
|
|
2737
|
+
get version(): string;
|
|
2738
|
+
get config(): games.jass.logic.data.models.table.config.Config;
|
|
2739
|
+
toString(): string;
|
|
2740
|
+
copy(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>): games.jass.logic.redux.actions.mechanic.ContinueGameMechanicAction;
|
|
2741
|
+
hashCode(): number;
|
|
2742
|
+
equals(other: Nullable<any>): boolean;
|
|
2743
|
+
get actionTag(): string;
|
|
2744
|
+
ignoreValidation(): boolean;
|
|
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
|
+
}
|
|
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
|
+
namespace ContinueGameMechanicAction.$metadata$ {
|
|
2749
|
+
const constructor: abstract new () => ContinueGameMechanicAction;
|
|
2750
|
+
}
|
|
2727
2751
|
class FinishingGameMechanicAction extends games.jass.logic.redux.actions.mechanic.MechanicAction.$metadata$.constructor implements games.jass.logic.redux.actions.mechanic.TerminatedAction, com.logic.redux.actions.validation.NotValidateIfGameFinishing {
|
|
2728
2752
|
constructor(reason: com.logic.data.models.TerminationGameReason, isGameFinished: boolean, transition: Nullable<games.jass.logic.redux.actions.mechanic.GameTransition>, sessionAnalytics?: Nullable<games.jass.logic.data.models.GameSessionAnalytics>, gameHistory?: Nullable<games.jass.logic.data.models.table.history.GameHistory>, isRoundHistorySaved?: boolean, aid?: Nullable<string>);
|
|
2729
2753
|
get reason(): com.logic.data.models.TerminationGameReason;
|
|
@@ -2839,6 +2863,7 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
|
|
|
2839
2863
|
get reconnectUntilTime(): Nullable<string>;
|
|
2840
2864
|
get aid(): Nullable<string>;
|
|
2841
2865
|
get isShouldBeDisconnectedFromSockets(): boolean;
|
|
2866
|
+
get originState(): com.logic.data.models.player.PlayerConnectionState;
|
|
2842
2867
|
get isDeleted(): boolean;
|
|
2843
2868
|
toString(): string;
|
|
2844
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;
|
|
@@ -3084,21 +3109,22 @@ export declare namespace games.jass.logic.server.domain {
|
|
|
3084
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;
|
|
3085
3110
|
roomOnContinueFromState(roomId: string, state: games.jass.logic.data.models.table.TableStateWithActions): void;
|
|
3086
3111
|
roomOnContinueFromRound(roomId: string, tableLite: games.jass.logic.data.models.table.JassTableLite): void;
|
|
3087
|
-
addSpectatorsToRoom(spectators: Array<com.logic.data.models.player.GameUserInfo>): void;
|
|
3088
|
-
removeSpectatorsFromRoom(spectators: Array<com.logic.data.models.player.GameUserInfo>): void;
|
|
3089
|
-
roomRefreshPlayerState(playerId: string): void;
|
|
3090
3112
|
roomOnDelete(newRid?: Nullable<string>): void;
|
|
3113
|
+
clear(): void;
|
|
3114
|
+
shutdown(reason: string, roomId?: Nullable<string>): void;
|
|
3091
3115
|
playerLostConnection(playerId: string): void;
|
|
3092
3116
|
playerLive(playerId: string): void;
|
|
3093
3117
|
playerLeft(playerId: string, permanently?: boolean): games.jass.logic.data.models.player.state.PlayerLeftResult;
|
|
3094
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;
|
|
3095
3123
|
subscribeToClientAction(subscriber: (p0: games.jass.logic.redux.actions.client.to.ToClientAction) => void): void;
|
|
3096
3124
|
subscribeServerStateUpdate(subscriber: (p0: games.jass.logic.server.data.models.state.ServerStateUpdate) => void): void;
|
|
3097
3125
|
subscribeServerStateUpdateJson(subscriber: (p0: games.jass.logic.server.data.models.serializable.ServerStateUpdateDto) => void): void;
|
|
3098
3126
|
subscribeWith(subscriber: (p0: any/* games.jass.logic.redux.AppState */) => void): void;
|
|
3099
|
-
clear(): void;
|
|
3100
3127
|
setCanStartNewGameEnabled(enabled: boolean): void;
|
|
3101
|
-
shutdown(reason: string, roomId?: Nullable<string>): void;
|
|
3102
3128
|
handlePlayerMessage(message: string, fromPlayerId: string, onMessageGenerated: (p0: games.jass.logic.data.models.messages.text.TextMessage) => void): void;
|
|
3103
3129
|
readonly __doNotUseOrImplementIt: {
|
|
3104
3130
|
readonly "games.jass.logic.server.domain.ServerGameEngineContract": unique symbol;
|