client_plugin_logic_deb 1.8.413 → 1.8.415
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 +309 -309
- package/Logic_Debertz-client_plugin.d.ts +22 -14
- package/Logic_Debertz-client_plugin.js +2027 -2027
- package/Logic_Debertz-core.js +940 -902
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +12703 -13120
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +6825 -6825
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js +1816 -1171
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +4 -4
- package/kotlinx-coroutines-core.js +1 -1
- package/package.json +1 -1
|
@@ -507,36 +507,40 @@ export declare namespace com.logic.data.models.player {
|
|
|
507
507
|
export declare namespace com.logic.data.models.player {
|
|
508
508
|
abstract class PlayerConnectionState {
|
|
509
509
|
private constructor();
|
|
510
|
+
static get WAITING(): com.logic.data.models.player.PlayerConnectionState & {
|
|
511
|
+
get name(): "WAITING";
|
|
512
|
+
get ordinal(): 0;
|
|
513
|
+
};
|
|
510
514
|
static get LIVE(): com.logic.data.models.player.PlayerConnectionState & {
|
|
511
515
|
get name(): "LIVE";
|
|
512
|
-
get ordinal():
|
|
516
|
+
get ordinal(): 1;
|
|
513
517
|
};
|
|
514
518
|
static get TIMEOUT(): com.logic.data.models.player.PlayerConnectionState & {
|
|
515
519
|
get name(): "TIMEOUT";
|
|
516
|
-
get ordinal():
|
|
520
|
+
get ordinal(): 2;
|
|
517
521
|
};
|
|
518
522
|
static get LOST_CONNECTION(): com.logic.data.models.player.PlayerConnectionState & {
|
|
519
523
|
get name(): "LOST_CONNECTION";
|
|
520
|
-
get ordinal():
|
|
524
|
+
get ordinal(): 3;
|
|
521
525
|
};
|
|
522
526
|
static get LEFT(): com.logic.data.models.player.PlayerConnectionState & {
|
|
523
527
|
get name(): "LEFT";
|
|
524
|
-
get ordinal():
|
|
528
|
+
get ordinal(): 4;
|
|
525
529
|
};
|
|
526
530
|
static get LEFT_PERMANENTLY(): com.logic.data.models.player.PlayerConnectionState & {
|
|
527
531
|
get name(): "LEFT_PERMANENTLY";
|
|
528
|
-
get ordinal():
|
|
532
|
+
get ordinal(): 5;
|
|
529
533
|
};
|
|
530
534
|
static get DISCONNECTING(): com.logic.data.models.player.PlayerConnectionState & {
|
|
531
535
|
get name(): "DISCONNECTING";
|
|
532
|
-
get ordinal():
|
|
536
|
+
get ordinal(): 6;
|
|
533
537
|
};
|
|
534
538
|
static get DELETED(): com.logic.data.models.player.PlayerConnectionState & {
|
|
535
539
|
get name(): "DELETED";
|
|
536
|
-
get ordinal():
|
|
540
|
+
get ordinal(): 7;
|
|
537
541
|
};
|
|
538
|
-
get name(): "LIVE" | "TIMEOUT" | "LOST_CONNECTION" | "LEFT" | "LEFT_PERMANENTLY" | "DISCONNECTING" | "DELETED";
|
|
539
|
-
get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
542
|
+
get name(): "WAITING" | "LIVE" | "TIMEOUT" | "LOST_CONNECTION" | "LEFT" | "LEFT_PERMANENTLY" | "DISCONNECTING" | "DELETED";
|
|
543
|
+
get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7;
|
|
540
544
|
get isLive(): boolean;
|
|
541
545
|
get isTimeOut(): boolean;
|
|
542
546
|
get isLostConnection(): boolean;
|
|
@@ -549,6 +553,7 @@ export declare namespace com.logic.data.models.player {
|
|
|
549
553
|
get isClientDisconnectReason(): boolean;
|
|
550
554
|
get isServerDisconnectReason(): boolean;
|
|
551
555
|
get canReconnect(): boolean;
|
|
556
|
+
get canUpdateRating(): boolean;
|
|
552
557
|
static values(): Array<com.logic.data.models.player.PlayerConnectionState>;
|
|
553
558
|
static valueOf(value: string): com.logic.data.models.player.PlayerConnectionState;
|
|
554
559
|
}
|
|
@@ -934,8 +939,9 @@ export declare namespace games.jass.logic.data.models.config {
|
|
|
934
939
|
}
|
|
935
940
|
export declare namespace games.jass.logic.data.models.config {
|
|
936
941
|
class ServerReduxConfig {
|
|
937
|
-
constructor(finishGameWhenNotLiveStrategy?: any/* games.jass.logic.data.models.config.FinishGameWhenNotLiveStrategy */, waitForPlayerToReconnect?: boolean, waitForPlayerToReconnectTimeOutMillis?: number, reconnectionCheckDurationMillis?: number, closeIfBotsAtFinish?: boolean, botReplacesPlayerAfterTimeout?: boolean, enabledCombinedEvents?: boolean, delayToAskBotMillis?: number, combinedEventsIntervalMillis?: number, serverStateUpdateIntervalMillis?: number);
|
|
942
|
+
constructor(finishGameWhenNotLiveStrategy?: any/* games.jass.logic.data.models.config.FinishGameWhenNotLiveStrategy */, waitForPlayerToConnectOnStart?: boolean, waitForPlayerToReconnect?: boolean, waitForPlayerToReconnectTimeOutMillis?: number, reconnectionCheckDurationMillis?: number, closeIfBotsAtFinish?: boolean, botReplacesPlayerAfterTimeout?: boolean, enabledCombinedEvents?: boolean, delayToAskBotMillis?: number, combinedEventsIntervalMillis?: number, serverStateUpdateIntervalMillis?: number);
|
|
938
943
|
get finishGameWhenNotLiveStrategy(): any/* games.jass.logic.data.models.config.FinishGameWhenNotLiveStrategy */;
|
|
944
|
+
get waitForPlayerToConnectOnStart(): boolean;
|
|
939
945
|
get waitForPlayerToReconnect(): boolean;
|
|
940
946
|
get waitForPlayerToReconnectTimeOutMillis(): number;
|
|
941
947
|
get reconnectionCheckDurationMillis(): number;
|
|
@@ -945,7 +951,7 @@ export declare namespace games.jass.logic.data.models.config {
|
|
|
945
951
|
get delayToAskBotMillis(): number;
|
|
946
952
|
get combinedEventsIntervalMillis(): number;
|
|
947
953
|
get serverStateUpdateIntervalMillis(): number;
|
|
948
|
-
copy(finishGameWhenNotLiveStrategy?: any/* games.jass.logic.data.models.config.FinishGameWhenNotLiveStrategy */, waitForPlayerToReconnect?: boolean, waitForPlayerToReconnectTimeOutMillis?: number, reconnectionCheckDurationMillis?: number, closeIfBotsAtFinish?: boolean, botReplacesPlayerAfterTimeout?: boolean, enabledCombinedEvents?: boolean, delayToAskBotMillis?: number, combinedEventsIntervalMillis?: number, serverStateUpdateIntervalMillis?: number): games.jass.logic.data.models.config.ServerReduxConfig;
|
|
954
|
+
copy(finishGameWhenNotLiveStrategy?: any/* games.jass.logic.data.models.config.FinishGameWhenNotLiveStrategy */, waitForPlayerToConnectOnStart?: boolean, waitForPlayerToReconnect?: boolean, waitForPlayerToReconnectTimeOutMillis?: number, reconnectionCheckDurationMillis?: number, closeIfBotsAtFinish?: boolean, botReplacesPlayerAfterTimeout?: boolean, enabledCombinedEvents?: boolean, delayToAskBotMillis?: number, combinedEventsIntervalMillis?: number, serverStateUpdateIntervalMillis?: number): games.jass.logic.data.models.config.ServerReduxConfig;
|
|
949
955
|
toString(): string;
|
|
950
956
|
hashCode(): number;
|
|
951
957
|
equals(other: Nullable<any>): boolean;
|
|
@@ -3172,7 +3178,8 @@ export declare namespace games.jass.logic.server.data.models.state {
|
|
|
3172
3178
|
export declare namespace games.jass.logic.server.domain {
|
|
3173
3179
|
interface ServerGameEngineContract extends games.jass.logic.GameStoreContract {
|
|
3174
3180
|
readonly metadata: games.jass.logic.server.data.models.RoomMetadata;
|
|
3175
|
-
canReconnectPlayer(
|
|
3181
|
+
canReconnectPlayer(playerId: string): boolean;
|
|
3182
|
+
canUpdatePlayerRating(playerId: string): boolean;
|
|
3176
3183
|
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;
|
|
3177
3184
|
roomOnContinueFromState(roomId: string, state: games.jass.logic.data.models.table.TableStateWithActions): void;
|
|
3178
3185
|
roomOnContinueFromRound(roomId: string, tableLite: games.jass.logic.data.models.table.JassTableLite): void;
|
|
@@ -3198,10 +3205,11 @@ export declare namespace games.jass.logic.server.domain {
|
|
|
3198
3205
|
}
|
|
3199
3206
|
export declare namespace games.jass.logic.server.redux.state {
|
|
3200
3207
|
class ServerStatePayload implements games.jass.logic.redux.AppStatePayload {
|
|
3201
|
-
constructor(config: games.jass.logic.server.data.models.config.ServerConfig, metadata: games.jass.logic.server.data.models.RoomMetadata);
|
|
3208
|
+
constructor(config: games.jass.logic.server.data.models.config.ServerConfig, metadata: games.jass.logic.server.data.models.RoomMetadata, connectedPlayers: kotlin.collections.KtList<string>);
|
|
3202
3209
|
get config(): games.jass.logic.server.data.models.config.ServerConfig;
|
|
3203
3210
|
get metadata(): games.jass.logic.server.data.models.RoomMetadata;
|
|
3204
|
-
|
|
3211
|
+
get connectedPlayers(): kotlin.collections.KtList<string>;
|
|
3212
|
+
copy(config?: games.jass.logic.server.data.models.config.ServerConfig, metadata?: games.jass.logic.server.data.models.RoomMetadata, connectedPlayers?: kotlin.collections.KtList<string>): games.jass.logic.server.redux.state.ServerStatePayload;
|
|
3205
3213
|
toString(): string;
|
|
3206
3214
|
hashCode(): number;
|
|
3207
3215
|
equals(other: Nullable<any>): boolean;
|