client_plugin_logic_deb 1.8.259 → 1.8.289
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/Kosi-Kodein-kodein-di.js +67 -67
- package/Kosi-Kodein-kodein-di.js.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1 -1
- package/Logic_Debertz-client_plugin.d.ts +170 -58
- package/Logic_Debertz-client_plugin.js +1999 -1999
- package/Logic_Debertz-client_plugin.js.map +1 -1
- package/Logic_Debertz-core.js +1876 -1706
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +18150 -16810
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +6187 -6281
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js +2387 -1084
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +18 -18
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +3 -3
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
- package/raspberry-cardgame-lib-core.js +1 -1
- package/raspberry-cardgame-lib-random.js +28 -16
- package/raspberry-cardgame-lib-random.js.map +1 -1
|
@@ -104,7 +104,7 @@ export declare namespace games.raspberry.card_game.random.data.models {
|
|
|
104
104
|
equals(other: Nullable<any>): boolean;
|
|
105
105
|
static get Companion(): {
|
|
106
106
|
firstRound(poolId: string, signature: Nullable<string>, newCardDeckData: games.raspberry.card_game.random.data.models.GameCardDeckData, userData: games.raspberry.card_game.random.data.models.CardDeckRequestUserData): games.raspberry.card_game.random.data.models.GameCardDecksRecord;
|
|
107
|
-
|
|
107
|
+
nextRound(gameCardDecksRecord: games.raspberry.card_game.random.data.models.GameCardDecksRecord, newCardDeckData: games.raspberry.card_game.random.data.models.GameCardDeckData): games.raspberry.card_game.random.data.models.GameCardDecksRecord;
|
|
108
108
|
};
|
|
109
109
|
}
|
|
110
110
|
class GameCardDeckData {
|
|
@@ -317,15 +317,17 @@ export declare namespace com.logic.data.models {
|
|
|
317
317
|
}
|
|
318
318
|
export declare namespace com.logic.data.models.player {
|
|
319
319
|
class GameUserInfo implements com.logic.data.models.player.PlayerIdContract {
|
|
320
|
-
constructor(playerId: string, name: string, avatarUrl?: Nullable<string>, isBot?: boolean, initialLuckyFactor?: Nullable<number>, payload?: Nullable<any>);
|
|
320
|
+
constructor(playerId: string, name: string, avatarUrl?: Nullable<string>, isBot?: boolean, initialLuckyFactor?: Nullable<number>, rating?: Nullable<number>, payload?: Nullable<any>);
|
|
321
321
|
get playerId(): string;
|
|
322
322
|
get name(): string;
|
|
323
323
|
get avatarUrl(): Nullable<string>;
|
|
324
324
|
get isBot(): boolean;
|
|
325
325
|
get initialLuckyFactor(): Nullable<number>;
|
|
326
|
+
get rating(): Nullable<number>;
|
|
326
327
|
get payload(): Nullable<any>;
|
|
328
|
+
getRatingOrDefault(initialUserRating: number): number;
|
|
327
329
|
toString(): string;
|
|
328
|
-
copy(playerId?: string, name?: string, avatarUrl?: Nullable<string>, isBot?: boolean, initialLuckyFactor?: Nullable<number>, payload?: Nullable<any>): com.logic.data.models.player.GameUserInfo;
|
|
330
|
+
copy(playerId?: string, name?: string, avatarUrl?: Nullable<string>, isBot?: boolean, initialLuckyFactor?: Nullable<number>, rating?: Nullable<number>, payload?: Nullable<any>): com.logic.data.models.player.GameUserInfo;
|
|
329
331
|
hashCode(): number;
|
|
330
332
|
equals(other: Nullable<any>): boolean;
|
|
331
333
|
readonly __doNotUseOrImplementIt: com.logic.data.models.player.PlayerIdContract["__doNotUseOrImplementIt"];
|
|
@@ -553,7 +555,7 @@ export declare namespace games.jass.logic.data.models {
|
|
|
553
555
|
equals(other: Nullable<any>): boolean;
|
|
554
556
|
static get Companion(): {
|
|
555
557
|
getClientEngineTestMode(): games.jass.logic.data.models.EngineLogicConfig;
|
|
556
|
-
getServerEngineMode(
|
|
558
|
+
getServerEngineMode(roomMode: string, isPrivate: boolean, transition: Nullable<games.jass.logic.redux.actions.mechanic.GameTransition>, fromRound: Nullable<number>, isProduction: boolean, validateFromClientActionTags?: boolean, openRoomIfFinished?: boolean, playerTimeoutFactorToFinishStep?: number): games.jass.logic.data.models.EngineLogicConfig;
|
|
557
559
|
};
|
|
558
560
|
}
|
|
559
561
|
}
|
|
@@ -754,11 +756,10 @@ export declare namespace games.jass.logic.data.models.player {
|
|
|
754
756
|
}
|
|
755
757
|
export declare namespace games.jass.logic.data.models.player {
|
|
756
758
|
class UserProfilePayload {
|
|
757
|
-
constructor(socketId?: Nullable<string>,
|
|
759
|
+
constructor(socketId?: Nullable<string>, playedGamesCount?: number);
|
|
758
760
|
get socketId(): Nullable<string>;
|
|
759
|
-
get rating(): Nullable<number>;
|
|
760
761
|
get playedGamesCount(): number;
|
|
761
|
-
copy(socketId?: Nullable<string>,
|
|
762
|
+
copy(socketId?: Nullable<string>, playedGamesCount?: number): games.jass.logic.data.models.player.UserProfilePayload;
|
|
762
763
|
toString(): string;
|
|
763
764
|
hashCode(): number;
|
|
764
765
|
equals(other: Nullable<any>): boolean;
|
|
@@ -833,6 +834,7 @@ export declare namespace games.jass.logic.data.models.player.analytics {
|
|
|
833
834
|
get liveDurationPercentage(): Nullable<number>;
|
|
834
835
|
get combinations(): Nullable<kotlin.collections.KtList<games.jass.logic.data.models.player.analytics.CombinationAnalytics>>;
|
|
835
836
|
get achievements(): Nullable<games.jass.logic.data.models.player.achievements.Achievements>;
|
|
837
|
+
get wasPlayerOffline(): boolean;
|
|
836
838
|
copy(playerId?: string, liveDurationPercentage?: Nullable<number>, combinations?: Nullable<kotlin.collections.KtList<games.jass.logic.data.models.player.analytics.CombinationAnalytics>>, achievements?: Nullable<games.jass.logic.data.models.player.achievements.Achievements>): games.jass.logic.data.models.player.analytics.PlayerHistoryAnalytics;
|
|
837
839
|
toString(): string;
|
|
838
840
|
hashCode(): number;
|
|
@@ -1090,7 +1092,7 @@ export declare namespace games.jass.logic.data.models.table {
|
|
|
1090
1092
|
equals(other: Nullable<any>): boolean;
|
|
1091
1093
|
static get Companion(): {
|
|
1092
1094
|
initial(tableId: string, gameId: string, version: string, config: games.jass.logic.data.models.table.config.Config, players: kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.player.JassPlayer */>, spectators: kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.player.Spectator */>): games.jass.logic.data.models.table.JassTable;
|
|
1093
|
-
restartRound(version: string, tableLite: games.jass.logic.data.models.table.JassTableLite): games.jass.logic.data.models.table.JassTable;
|
|
1095
|
+
restartRound(roomId: string, gameId: string, version: string, tableLite: games.jass.logic.data.models.table.JassTableLite): games.jass.logic.data.models.table.JassTable;
|
|
1094
1096
|
};
|
|
1095
1097
|
}
|
|
1096
1098
|
}
|
|
@@ -1130,6 +1132,17 @@ export declare namespace games.jass.logic.data.models.table {
|
|
|
1130
1132
|
readonly __doNotUseOrImplementIt: games.raspberry.logger.LoggerPayload["__doNotUseOrImplementIt"];
|
|
1131
1133
|
}
|
|
1132
1134
|
}
|
|
1135
|
+
export declare namespace games.jass.logic.data.models.table {
|
|
1136
|
+
class TableStateWithActions {
|
|
1137
|
+
constructor(table: games.jass.logic.data.models.table.JassTable, actions: kotlin.collections.KtList<games.jass.logic.redux.actions.mechanic.MechanicAction>);
|
|
1138
|
+
get table(): games.jass.logic.data.models.table.JassTable;
|
|
1139
|
+
get actions(): kotlin.collections.KtList<games.jass.logic.redux.actions.mechanic.MechanicAction>;
|
|
1140
|
+
copy(table?: games.jass.logic.data.models.table.JassTable, actions?: kotlin.collections.KtList<games.jass.logic.redux.actions.mechanic.MechanicAction>): games.jass.logic.data.models.table.TableStateWithActions;
|
|
1141
|
+
toString(): string;
|
|
1142
|
+
hashCode(): number;
|
|
1143
|
+
equals(other: Nullable<any>): boolean;
|
|
1144
|
+
}
|
|
1145
|
+
}
|
|
1133
1146
|
export declare namespace games.jass.logic.data.models.table.combinations {
|
|
1134
1147
|
class Combination /* implements games.jass.logic.data.models.table.combinations.CombinationContract */ {
|
|
1135
1148
|
constructor(id: string, type: games.jass.logic.data.models.table.combinations.CombinationType, cards: Nullable<kotlin.collections.KtList<any/* io.raspberryapps.card_game.core.data.models.cards.GameCard */>>, reasons: kotlin.collections.KtSet<games.jass.logic.data.models.messages.combinatios.CombinationReason>);
|
|
@@ -1308,7 +1321,7 @@ export declare namespace games.jass.logic.data.models.table.config {
|
|
|
1308
1321
|
}
|
|
1309
1322
|
export declare namespace games.jass.logic.data.models.table.config {
|
|
1310
1323
|
class Config {
|
|
1311
|
-
constructor(rules: games.jass.logic.data.models.rules.Rules, rulesSetType: games.jass.logic.data.models.rules.RulesSetType, options: games.jass.logic.data.models.table.config.Options, playersMode: games.jass.logic.data.models.table.config.PlayersMode, pointsMode: games.jass.logic.data.models.table.config.PointsMode, timeoutTimeMillis: number, isPrivate: boolean, dealerStrategy: Nullable<games.jass.logic.domain.interactors.dealer.DealerStrategy
|
|
1324
|
+
constructor(rules: games.jass.logic.data.models.rules.Rules, rulesSetType: games.jass.logic.data.models.rules.RulesSetType, options: games.jass.logic.data.models.table.config.Options, playersMode: games.jass.logic.data.models.table.config.PlayersMode, pointsMode: games.jass.logic.data.models.table.config.PointsMode, timeoutTimeMillis: number, isPrivate: boolean, dealerStrategy: Nullable<games.jass.logic.domain.interactors.dealer.DealerStrategy>, league: Nullable<games.jass.logic.data.models.leagues.League>, mode: games.jass.logic.data.models.table.config.RoomMode);
|
|
1312
1325
|
get rules(): games.jass.logic.data.models.rules.Rules;
|
|
1313
1326
|
get rulesSetType(): games.jass.logic.data.models.rules.RulesSetType;
|
|
1314
1327
|
get options(): games.jass.logic.data.models.table.config.Options;
|
|
@@ -1317,8 +1330,10 @@ export declare namespace games.jass.logic.data.models.table.config {
|
|
|
1317
1330
|
get timeoutTimeMillis(): number;
|
|
1318
1331
|
get isPrivate(): boolean;
|
|
1319
1332
|
get dealerStrategy(): Nullable<games.jass.logic.domain.interactors.dealer.DealerStrategy>;
|
|
1333
|
+
get league(): Nullable<games.jass.logic.data.models.leagues.League>;
|
|
1334
|
+
get mode(): games.jass.logic.data.models.table.config.RoomMode;
|
|
1320
1335
|
get playerHandCardsSize(): number;
|
|
1321
|
-
copy(rules?: games.jass.logic.data.models.rules.Rules, rulesSetType?: games.jass.logic.data.models.rules.RulesSetType, options?: games.jass.logic.data.models.table.config.Options, playersMode?: games.jass.logic.data.models.table.config.PlayersMode, pointsMode?: games.jass.logic.data.models.table.config.PointsMode, timeoutTimeMillis?: number, isPrivate?: boolean, dealerStrategy?: Nullable<games.jass.logic.domain.interactors.dealer.DealerStrategy
|
|
1336
|
+
copy(rules?: games.jass.logic.data.models.rules.Rules, rulesSetType?: games.jass.logic.data.models.rules.RulesSetType, options?: games.jass.logic.data.models.table.config.Options, playersMode?: games.jass.logic.data.models.table.config.PlayersMode, pointsMode?: games.jass.logic.data.models.table.config.PointsMode, timeoutTimeMillis?: number, isPrivate?: boolean, dealerStrategy?: Nullable<games.jass.logic.domain.interactors.dealer.DealerStrategy>, league?: Nullable<games.jass.logic.data.models.leagues.League>, mode?: games.jass.logic.data.models.table.config.RoomMode): games.jass.logic.data.models.table.config.Config;
|
|
1322
1337
|
toString(): string;
|
|
1323
1338
|
hashCode(): number;
|
|
1324
1339
|
equals(other: Nullable<any>): boolean;
|
|
@@ -1326,7 +1341,8 @@ export declare namespace games.jass.logic.data.models.table.config {
|
|
|
1326
1341
|
}
|
|
1327
1342
|
export declare namespace games.jass.logic.data.models.table.config {
|
|
1328
1343
|
class ConfigLite {
|
|
1329
|
-
constructor(players: games.jass.logic.data.models.table.config.PlayersMode, points: games.jass.logic.data.models.table.config.PointsMode, timeoutTimeMillis: number, rulesPreset: games.jass.logic.data.models.rules.RulesSetType, isPrivate: boolean, isChatEnabled: boolean, isBotsEnabled: boolean, rules: Nullable<games.jass.logic.data.models.rules.Rules>);
|
|
1344
|
+
constructor(mode: games.jass.logic.data.models.table.config.RoomMode, players: games.jass.logic.data.models.table.config.PlayersMode, points: games.jass.logic.data.models.table.config.PointsMode, timeoutTimeMillis: number, rulesPreset: games.jass.logic.data.models.rules.RulesSetType, isPrivate: boolean, isChatEnabled: boolean, isBotsEnabled: boolean, rules: Nullable<games.jass.logic.data.models.rules.Rules>);
|
|
1345
|
+
get mode(): games.jass.logic.data.models.table.config.RoomMode;
|
|
1330
1346
|
get players(): games.jass.logic.data.models.table.config.PlayersMode;
|
|
1331
1347
|
get points(): games.jass.logic.data.models.table.config.PointsMode;
|
|
1332
1348
|
get timeoutTimeMillis(): number;
|
|
@@ -1335,7 +1351,7 @@ export declare namespace games.jass.logic.data.models.table.config {
|
|
|
1335
1351
|
get isChatEnabled(): boolean;
|
|
1336
1352
|
get isBotsEnabled(): boolean;
|
|
1337
1353
|
get rules(): Nullable<games.jass.logic.data.models.rules.Rules>;
|
|
1338
|
-
copy(players?: games.jass.logic.data.models.table.config.PlayersMode, points?: games.jass.logic.data.models.table.config.PointsMode, timeoutTimeMillis?: number, rulesPreset?: games.jass.logic.data.models.rules.RulesSetType, isPrivate?: boolean, isChatEnabled?: boolean, isBotsEnabled?: boolean, rules?: Nullable<games.jass.logic.data.models.rules.Rules>): games.jass.logic.data.models.table.config.ConfigLite;
|
|
1354
|
+
copy(mode?: games.jass.logic.data.models.table.config.RoomMode, players?: games.jass.logic.data.models.table.config.PlayersMode, points?: games.jass.logic.data.models.table.config.PointsMode, timeoutTimeMillis?: number, rulesPreset?: games.jass.logic.data.models.rules.RulesSetType, isPrivate?: boolean, isChatEnabled?: boolean, isBotsEnabled?: boolean, rules?: Nullable<games.jass.logic.data.models.rules.Rules>): games.jass.logic.data.models.table.config.ConfigLite;
|
|
1339
1355
|
toString(): string;
|
|
1340
1356
|
hashCode(): number;
|
|
1341
1357
|
equals(other: Nullable<any>): boolean;
|
|
@@ -1386,7 +1402,7 @@ export declare namespace games.jass.logic.data.models.table.config {
|
|
|
1386
1402
|
static values(): Array<games.jass.logic.data.models.table.config.PlayersMode>;
|
|
1387
1403
|
static valueOf(value: string): games.jass.logic.data.models.table.config.PlayersMode;
|
|
1388
1404
|
static get Companion(): {
|
|
1389
|
-
create(
|
|
1405
|
+
create(number: number): games.jass.logic.data.models.table.config.PlayersMode;
|
|
1390
1406
|
} & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
1391
1407
|
}
|
|
1392
1408
|
}
|
|
@@ -1419,6 +1435,64 @@ export declare namespace games.jass.logic.data.models.table.config {
|
|
|
1419
1435
|
} & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
1420
1436
|
}
|
|
1421
1437
|
}
|
|
1438
|
+
export declare namespace games.jass.logic.data.models.table.config {
|
|
1439
|
+
class RoomConfig {
|
|
1440
|
+
constructor(players: number, points: number, timeoutTime: number, rulesPreset: string, isPrivate: Nullable<boolean>, isChatEnabled: Nullable<boolean>, rules: Nullable<any>/* Nullable<com.logic.data.models.serializable.rules.RulesDto> */, isBotsEnabled: Nullable<boolean>, dealerStrategy: Nullable<games.jass.logic.domain.interactors.dealer.DealerStrategy>, league: Nullable<games.jass.logic.data.models.leagues.League>);
|
|
1441
|
+
get players(): number;
|
|
1442
|
+
get points(): number;
|
|
1443
|
+
get timeoutTime(): number;
|
|
1444
|
+
get rulesPreset(): string;
|
|
1445
|
+
get isPrivate(): Nullable<boolean>;
|
|
1446
|
+
get isChatEnabled(): Nullable<boolean>;
|
|
1447
|
+
get rules(): Nullable<any>/* Nullable<com.logic.data.models.serializable.rules.RulesDto> */;
|
|
1448
|
+
get isBotsEnabled(): Nullable<boolean>;
|
|
1449
|
+
get dealerStrategy(): Nullable<games.jass.logic.domain.interactors.dealer.DealerStrategy>;
|
|
1450
|
+
get league(): Nullable<games.jass.logic.data.models.leagues.League>;
|
|
1451
|
+
copy(players?: number, points?: number, timeoutTime?: number, rulesPreset?: string, isPrivate?: Nullable<boolean>, isChatEnabled?: Nullable<boolean>, rules?: Nullable<any>/* Nullable<com.logic.data.models.serializable.rules.RulesDto> */, isBotsEnabled?: Nullable<boolean>, dealerStrategy?: Nullable<games.jass.logic.domain.interactors.dealer.DealerStrategy>, league?: Nullable<games.jass.logic.data.models.leagues.League>): games.jass.logic.data.models.table.config.RoomConfig;
|
|
1452
|
+
toString(): string;
|
|
1453
|
+
hashCode(): number;
|
|
1454
|
+
equals(other: Nullable<any>): boolean;
|
|
1455
|
+
}
|
|
1456
|
+
}
|
|
1457
|
+
export declare namespace games.jass.logic.data.models.table.config {
|
|
1458
|
+
abstract class RoomMode {
|
|
1459
|
+
private constructor();
|
|
1460
|
+
static get DEFAULT(): games.jass.logic.data.models.table.config.RoomMode & {
|
|
1461
|
+
get name(): "DEFAULT";
|
|
1462
|
+
get ordinal(): 0;
|
|
1463
|
+
};
|
|
1464
|
+
static get REVENGE(): games.jass.logic.data.models.table.config.RoomMode & {
|
|
1465
|
+
get name(): "REVENGE";
|
|
1466
|
+
get ordinal(): 1;
|
|
1467
|
+
};
|
|
1468
|
+
static get QUICK(): games.jass.logic.data.models.table.config.RoomMode & {
|
|
1469
|
+
get name(): "QUICK";
|
|
1470
|
+
get ordinal(): 2;
|
|
1471
|
+
};
|
|
1472
|
+
static get LEAGUE(): games.jass.logic.data.models.table.config.RoomMode & {
|
|
1473
|
+
get name(): "LEAGUE";
|
|
1474
|
+
get ordinal(): 3;
|
|
1475
|
+
};
|
|
1476
|
+
get name(): "DEFAULT" | "REVENGE" | "QUICK" | "LEAGUE";
|
|
1477
|
+
get ordinal(): 0 | 1 | 2 | 3;
|
|
1478
|
+
get shufflePlayers(): boolean;
|
|
1479
|
+
get hasRatingSupport(): boolean;
|
|
1480
|
+
get isEnableChoosePartnerScreen(): boolean;
|
|
1481
|
+
static values(): Array<games.jass.logic.data.models.table.config.RoomMode>;
|
|
1482
|
+
static valueOf(value: string): games.jass.logic.data.models.table.config.RoomMode;
|
|
1483
|
+
}
|
|
1484
|
+
}
|
|
1485
|
+
export declare namespace games.jass.logic.data.models.table.history {
|
|
1486
|
+
class ClientGameHistory {
|
|
1487
|
+
constructor(roundNumber: Nullable<number>, metadata: Nullable<games.jass.logic.data.models.table.history.GameHistoryMetadata>);
|
|
1488
|
+
get roundNumber(): Nullable<number>;
|
|
1489
|
+
get metadata(): Nullable<games.jass.logic.data.models.table.history.GameHistoryMetadata>;
|
|
1490
|
+
copy(roundNumber?: Nullable<number>, metadata?: Nullable<games.jass.logic.data.models.table.history.GameHistoryMetadata>): games.jass.logic.data.models.table.history.ClientGameHistory;
|
|
1491
|
+
toString(): string;
|
|
1492
|
+
hashCode(): number;
|
|
1493
|
+
equals(other: Nullable<any>): boolean;
|
|
1494
|
+
}
|
|
1495
|
+
}
|
|
1422
1496
|
export declare namespace games.jass.logic.data.models.table.history {
|
|
1423
1497
|
class GameHistory {
|
|
1424
1498
|
constructor(gameId: string, createdAt: any/* kotlinx.datetime.Instant */, rounds: Array<games.jass.logic.data.models.table.history.RoundHistory>, gameWinners: Nullable<Array<string>>, metadata: Nullable<games.jass.logic.data.models.table.history.GameHistoryMetadata>);
|
|
@@ -1542,9 +1616,9 @@ export declare namespace games.jass.logic.domain.interactors.dealer {
|
|
|
1542
1616
|
}
|
|
1543
1617
|
export declare namespace games.jass.logic.redux.actions {
|
|
1544
1618
|
class ClearAction implements com.logic.redux.store.definitions.Action, com.logic.redux.actions.validation.NotValidateIfGameFinishing, com.logic.redux.actions.validation.NotValidateIfGameFinished {
|
|
1545
|
-
constructor(transition?: Nullable<games.jass.logic.redux.actions.mechanic.
|
|
1546
|
-
get transition(): Nullable<games.jass.logic.redux.actions.mechanic.
|
|
1547
|
-
copy(transition?: Nullable<games.jass.logic.redux.actions.mechanic.
|
|
1619
|
+
constructor(transition?: Nullable<games.jass.logic.redux.actions.mechanic.GameTransition>);
|
|
1620
|
+
get transition(): Nullable<games.jass.logic.redux.actions.mechanic.GameTransition>;
|
|
1621
|
+
copy(transition?: Nullable<games.jass.logic.redux.actions.mechanic.GameTransition>): games.jass.logic.redux.actions.ClearAction;
|
|
1548
1622
|
toString(): string;
|
|
1549
1623
|
hashCode(): number;
|
|
1550
1624
|
equals(other: Nullable<any>): boolean;
|
|
@@ -1666,15 +1740,38 @@ export declare namespace games.jass.logic.redux.actions.game {
|
|
|
1666
1740
|
}
|
|
1667
1741
|
}
|
|
1668
1742
|
export declare namespace games.jass.logic.redux.actions.mechanic {
|
|
1669
|
-
|
|
1670
|
-
|
|
1743
|
+
interface GameTransition {
|
|
1744
|
+
readonly previousPlayers: Nullable<kotlin.collections.KtList<string>>;
|
|
1745
|
+
readonly isEnableChoosePartnerScreen: boolean;
|
|
1746
|
+
readonly readyPlayerIdsArray: Array<string>;
|
|
1747
|
+
readonly __doNotUseOrImplementIt: {
|
|
1748
|
+
readonly "games.jass.logic.redux.actions.mechanic.GameTransition": unique symbol;
|
|
1749
|
+
};
|
|
1750
|
+
}
|
|
1751
|
+
class RevengeRoomTransition implements games.jass.logic.redux.actions.mechanic.GameTransition {
|
|
1752
|
+
constructor(originalRoomMode: games.jass.logic.data.models.table.config.RoomMode, previousPlayers: Nullable<kotlin.collections.KtList<string>>);
|
|
1753
|
+
get originalRoomMode(): games.jass.logic.data.models.table.config.RoomMode;
|
|
1754
|
+
get previousPlayers(): Nullable<kotlin.collections.KtList<string>>;
|
|
1755
|
+
copy(originalRoomMode?: games.jass.logic.data.models.table.config.RoomMode, previousPlayers?: Nullable<kotlin.collections.KtList<string>>): games.jass.logic.redux.actions.mechanic.RevengeRoomTransition;
|
|
1756
|
+
toString(): string;
|
|
1757
|
+
hashCode(): number;
|
|
1758
|
+
equals(other: Nullable<any>): boolean;
|
|
1759
|
+
get isEnableChoosePartnerScreen(): boolean;
|
|
1760
|
+
get readyPlayerIdsArray(): Array<string>;
|
|
1761
|
+
readonly __doNotUseOrImplementIt: games.jass.logic.redux.actions.mechanic.GameTransition["__doNotUseOrImplementIt"];
|
|
1762
|
+
}
|
|
1763
|
+
class GameToRoomTransition implements games.jass.logic.redux.actions.mechanic.GameTransition {
|
|
1764
|
+
constructor(roomId: string, playerIds: Nullable<kotlin.collections.KtList<string>>, previousPlayers: Nullable<kotlin.collections.KtList<string>>);
|
|
1671
1765
|
get roomId(): string;
|
|
1672
|
-
get playerIds(): kotlin.collections.KtList<string
|
|
1673
|
-
get
|
|
1674
|
-
|
|
1766
|
+
get playerIds(): Nullable<kotlin.collections.KtList<string>>;
|
|
1767
|
+
get previousPlayers(): Nullable<kotlin.collections.KtList<string>>;
|
|
1768
|
+
get readyPlayerIdsArray(): Array<string>;
|
|
1769
|
+
copy(roomId?: string, playerIds?: Nullable<kotlin.collections.KtList<string>>, previousPlayers?: Nullable<kotlin.collections.KtList<string>>): games.jass.logic.redux.actions.mechanic.GameToRoomTransition;
|
|
1675
1770
|
toString(): string;
|
|
1676
1771
|
hashCode(): number;
|
|
1677
1772
|
equals(other: Nullable<any>): boolean;
|
|
1773
|
+
get isEnableChoosePartnerScreen(): boolean;
|
|
1774
|
+
readonly __doNotUseOrImplementIt: games.jass.logic.redux.actions.mechanic.GameTransition["__doNotUseOrImplementIt"];
|
|
1678
1775
|
}
|
|
1679
1776
|
}
|
|
1680
1777
|
export declare namespace games.jass.logic.redux.actions.mechanic {
|
|
@@ -1723,33 +1820,33 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
|
|
|
1723
1820
|
}
|
|
1724
1821
|
/* @ts-ignore: https://github.com/microsoft/TypeScript/issues/4628 */
|
|
1725
1822
|
class FinishingGameMechanicAction extends games.jass.logic.redux.actions.mechanic.MechanicAction implements games.jass.logic.redux.actions.mechanic.TerminatedAction, com.logic.redux.actions.validation.NotValidateIfGameFinishing {
|
|
1726
|
-
constructor(reason: com.logic.data.models.TerminationGameReason, isGameFinished: boolean, transition?: Nullable<games.jass.logic.redux.actions.mechanic.
|
|
1823
|
+
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>);
|
|
1727
1824
|
get reason(): com.logic.data.models.TerminationGameReason;
|
|
1728
1825
|
get isGameFinished(): boolean;
|
|
1729
|
-
get transition(): Nullable<games.jass.logic.redux.actions.mechanic.
|
|
1826
|
+
get transition(): Nullable<games.jass.logic.redux.actions.mechanic.GameTransition>;
|
|
1730
1827
|
get sessionAnalytics(): Nullable<games.jass.logic.data.models.GameSessionAnalytics>;
|
|
1731
1828
|
get gameHistory(): Nullable<games.jass.logic.data.models.table.history.GameHistory>;
|
|
1732
1829
|
get isRoundHistorySaved(): boolean;
|
|
1733
1830
|
get aid(): Nullable<string>;
|
|
1734
1831
|
toString(): string;
|
|
1735
|
-
copy(reason?: com.logic.data.models.TerminationGameReason, isGameFinished?: boolean, transition?: Nullable<games.jass.logic.redux.actions.mechanic.
|
|
1832
|
+
copy(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>): games.jass.logic.redux.actions.mechanic.FinishingGameMechanicAction;
|
|
1736
1833
|
hashCode(): number;
|
|
1737
1834
|
equals(other: Nullable<any>): boolean;
|
|
1738
1835
|
get actionTag(): string;
|
|
1739
1836
|
notValidateWhenFinishing(): boolean;
|
|
1740
1837
|
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"];
|
|
1741
1838
|
static get Companion(): {
|
|
1742
|
-
withAnalytics(reason: com.logic.data.models.TerminationGameReason, isGameFinished: boolean, table: Nullable<games.jass.logic.data.models.table.JassTable>, transition?: Nullable<games.jass.logic.redux.actions.mechanic.
|
|
1839
|
+
withAnalytics(reason: com.logic.data.models.TerminationGameReason, isGameFinished: boolean, table: Nullable<games.jass.logic.data.models.table.JassTable>, transition?: Nullable<games.jass.logic.redux.actions.mechanic.GameTransition>): games.jass.logic.redux.actions.mechanic.FinishingGameMechanicAction;
|
|
1743
1840
|
};
|
|
1744
1841
|
}
|
|
1745
1842
|
class FinishGameMechanicAction extends games.jass.logic.redux.actions.mechanic.MechanicAction implements com.logic.redux.actions.validation.NotValidateIfGameFinishing, games.jass.logic.redux.actions.mechanic.TerminatedAction {
|
|
1746
|
-
constructor(reason: com.logic.data.models.TerminationGameReason, isGameFinished: boolean, aid?: Nullable<string>, transition?: Nullable<games.jass.logic.redux.actions.mechanic.
|
|
1843
|
+
constructor(reason: com.logic.data.models.TerminationGameReason, isGameFinished: boolean, aid?: Nullable<string>, transition?: Nullable<games.jass.logic.redux.actions.mechanic.GameTransition>);
|
|
1747
1844
|
get reason(): com.logic.data.models.TerminationGameReason;
|
|
1748
1845
|
get isGameFinished(): boolean;
|
|
1749
1846
|
get aid(): Nullable<string>;
|
|
1750
|
-
get transition(): Nullable<games.jass.logic.redux.actions.mechanic.
|
|
1847
|
+
get transition(): Nullable<games.jass.logic.redux.actions.mechanic.GameTransition>;
|
|
1751
1848
|
toString(): string;
|
|
1752
|
-
copy(reason?: com.logic.data.models.TerminationGameReason, isGameFinished?: boolean, aid?: Nullable<string>, transition?: Nullable<games.jass.logic.redux.actions.mechanic.
|
|
1849
|
+
copy(reason?: com.logic.data.models.TerminationGameReason, isGameFinished?: boolean, aid?: Nullable<string>, transition?: Nullable<games.jass.logic.redux.actions.mechanic.GameTransition>): games.jass.logic.redux.actions.mechanic.FinishGameMechanicAction;
|
|
1753
1850
|
hashCode(): number;
|
|
1754
1851
|
equals(other: Nullable<any>): boolean;
|
|
1755
1852
|
get actionTag(): string;
|
|
@@ -1764,8 +1861,8 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
|
|
|
1764
1861
|
readonly "games.jass.logic.redux.actions.mechanic.NavigationMechanicAction": unique symbol;
|
|
1765
1862
|
} & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
|
|
1766
1863
|
}
|
|
1767
|
-
class SceneMechanicAction extends games.jass.logic.redux.actions.mechanic.MechanicAction implements games.jass.logic.redux.actions.mechanic.NavigationMechanicAction, com.logic.redux.store.definitions.Action, com.logic.redux.actions.ReleaseBufferTriggerAction, com.logic.redux.actions.validation.NotValidateIfGameFinishing, com.logic.redux.actions.validation.NotValidateIfGameFinished/*, games.jass.logic.redux.actions.mechanic.NextPlayerTurnAction */ {
|
|
1768
|
-
constructor(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>);
|
|
1864
|
+
class SceneMechanicAction extends games.jass.logic.redux.actions.mechanic.MechanicAction 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.NotValidateIfGameFinishing, com.logic.redux.actions.validation.NotValidateIfGameFinished/*, games.jass.logic.redux.actions.mechanic.NextPlayerTurnAction, games.jass.logic.redux.actions.mechanic.PlayerTurnIdAnswerAction */ {
|
|
1865
|
+
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>);
|
|
1769
1866
|
get sceneId(): string;
|
|
1770
1867
|
get actId(): Nullable<string>;
|
|
1771
1868
|
get sceneData(): Nullable<games.jass.logic.data.models.scenes.SceneData>;
|
|
@@ -1774,16 +1871,17 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
|
|
|
1774
1871
|
notValidateWhenFinished(): boolean;
|
|
1775
1872
|
notValidateWhenFinishing(): boolean;
|
|
1776
1873
|
toString(): string;
|
|
1777
|
-
copy(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;
|
|
1874
|
+
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;
|
|
1778
1875
|
hashCode(): number;
|
|
1779
1876
|
equals(other: Nullable<any>): boolean;
|
|
1780
1877
|
get actionTag(): string;
|
|
1781
|
-
|
|
1878
|
+
get playerId(): string;
|
|
1879
|
+
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.NotValidateIfGameFinishing["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinished["__doNotUseOrImplementIt"];
|
|
1782
1880
|
}
|
|
1783
1881
|
interface TerminatedAction extends com.logic.redux.store.definitions.Action {
|
|
1784
1882
|
readonly reason: com.logic.data.models.TerminationGameReason;
|
|
1785
1883
|
readonly isGameFinished: boolean;
|
|
1786
|
-
readonly transition: Nullable<games.jass.logic.redux.actions.mechanic.
|
|
1884
|
+
readonly transition: Nullable<games.jass.logic.redux.actions.mechanic.GameTransition>;
|
|
1787
1885
|
readonly __doNotUseOrImplementIt: {
|
|
1788
1886
|
readonly "games.jass.logic.redux.actions.mechanic.TerminatedAction": unique symbol;
|
|
1789
1887
|
} & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
|
|
@@ -1815,8 +1913,8 @@ export declare interface GameHelper {
|
|
|
1815
1913
|
filterRealPlayers(store: com.logic.redux.store.definitions.Store<any/* games.jass.logic.redux.AppState */>, playerIds: Array<string>): Array<string>;
|
|
1816
1914
|
getUserSocketId(store: com.logic.redux.store.definitions.Store<any/* games.jass.logic.redux.AppState */>, playerId: string): Nullable<string>;
|
|
1817
1915
|
getUserSocketIds(store: com.logic.redux.store.definitions.Store<any/* games.jass.logic.redux.AppState */>): Nullable<Array<string>>;
|
|
1818
|
-
createConfig(points: number, players: number, timeoutTimeMillis: number, rulesSetType: games.jass.logic.data.models.rules.RulesSetType, rules: any, isEnableChat: boolean, isBotsEnabled: boolean, isPrivate: boolean, dealerStrategy?: Nullable<string>): games.jass.logic.data.models.table.config.Config;
|
|
1819
|
-
mapToRoomConfig(config: games.jass.logic.data.models.table.config.Config): models.RoomConfig;
|
|
1916
|
+
createConfig(mode: string, points: number, players: number, timeoutTimeMillis: number, rulesSetType: games.jass.logic.data.models.rules.RulesSetType, rules: any, isEnableChat: boolean, isBotsEnabled: boolean, isPrivate: boolean, dealerStrategy: Nullable<string>, transition: Nullable<games.jass.logic.redux.actions.mechanic.GameTransition>, league?: Nullable<string>): games.jass.logic.data.models.table.config.Config;
|
|
1917
|
+
mapToRoomConfig(config: games.jass.logic.data.models.table.config.Config): games.jass.logic.data.models.table.config.RoomConfig;
|
|
1820
1918
|
mapPoints(points: number): games.jass.logic.data.models.table.config.PointsMode;
|
|
1821
1919
|
mapPlayers(players: number): games.jass.logic.data.models.table.config.PlayersMode;
|
|
1822
1920
|
mapRules(rules: any): games.jass.logic.data.models.rules.Rules;
|
|
@@ -1848,11 +1946,13 @@ export declare interface ParserHelper {
|
|
|
1848
1946
|
encodeGameRound(round: games.jass.logic.data.models.table.history.RoundHistory): string;
|
|
1849
1947
|
encodeGameRoundItems(round: games.jass.logic.data.models.table.history.RoundHistory): string;
|
|
1850
1948
|
encodeGameMetadata(metadata: games.jass.logic.data.models.table.history.GameHistoryMetadata): string;
|
|
1851
|
-
encodeRoomConfig(config: models.RoomConfig): string;
|
|
1949
|
+
encodeRoomConfig(config: games.jass.logic.data.models.table.config.RoomConfig): string;
|
|
1852
1950
|
decodeTableLite(json: string): games.jass.logic.data.models.table.JassTableLite;
|
|
1853
1951
|
decodeFullGameHistoryToTableLite(json: string, round: Nullable<number>): games.jass.logic.data.models.table.JassTableLite;
|
|
1854
|
-
encodeGameToRoomTransition(transition: games.jass.logic.redux.actions.mechanic.
|
|
1855
|
-
decodeGameToRoomTransition(json: string): games.jass.logic.redux.actions.mechanic.
|
|
1952
|
+
encodeGameToRoomTransition(transition: games.jass.logic.redux.actions.mechanic.GameTransition): string;
|
|
1953
|
+
decodeGameToRoomTransition(json: string): games.jass.logic.redux.actions.mechanic.GameTransition;
|
|
1954
|
+
decodeTableStateWithActions(json: string): games.jass.logic.data.models.table.TableStateWithActions;
|
|
1955
|
+
encodeTableStateWithActions(table: games.jass.logic.data.models.table.TableStateWithActions): string;
|
|
1856
1956
|
readonly __doNotUseOrImplementIt: {
|
|
1857
1957
|
readonly ParserHelper: unique symbol;
|
|
1858
1958
|
};
|
|
@@ -1867,29 +1967,13 @@ export declare interface RatingHelper {
|
|
|
1867
1967
|
}
|
|
1868
1968
|
export declare namespace di {
|
|
1869
1969
|
class EngineHelpersFactory {
|
|
1870
|
-
constructor();
|
|
1970
|
+
constructor(loggerCallback?: Nullable<(p0: string, p1: Nullable<string>, p2: string, p3: Nullable<Error>, p4: Nullable<any>) => void>);
|
|
1871
1971
|
get ratingHelper(): RatingHelper;
|
|
1872
1972
|
get parserHelper(): ParserHelper;
|
|
1873
1973
|
get gameHelper(): GameHelper;
|
|
1874
1974
|
get gameResources(): GameResources;
|
|
1875
1975
|
}
|
|
1876
1976
|
}
|
|
1877
|
-
export declare namespace models {
|
|
1878
|
-
class RoomConfig {
|
|
1879
|
-
constructor(players: number, points: number, timeoutTime: number, rulesPreset: string, isPrivate?: Nullable<boolean>, isChatEnabled?: Nullable<boolean>, rules?: Nullable<any>/* Nullable<com.logic.data.models.serializable.rules.RulesDto> */);
|
|
1880
|
-
get players(): number;
|
|
1881
|
-
get points(): number;
|
|
1882
|
-
get timeoutTime(): number;
|
|
1883
|
-
get rulesPreset(): string;
|
|
1884
|
-
get isPrivate(): Nullable<boolean>;
|
|
1885
|
-
get isChatEnabled(): Nullable<boolean>;
|
|
1886
|
-
get rules(): Nullable<any>/* Nullable<com.logic.data.models.serializable.rules.RulesDto> */;
|
|
1887
|
-
copy(players?: number, points?: number, timeoutTime?: number, rulesPreset?: string, isPrivate?: Nullable<boolean>, isChatEnabled?: Nullable<boolean>, rules?: Nullable<any>/* Nullable<com.logic.data.models.serializable.rules.RulesDto> */): models.RoomConfig;
|
|
1888
|
-
toString(): string;
|
|
1889
|
-
hashCode(): number;
|
|
1890
|
-
equals(other: Nullable<any>): boolean;
|
|
1891
|
-
}
|
|
1892
|
-
}
|
|
1893
1977
|
export declare namespace games.jass.logic.client.data.models.config {
|
|
1894
1978
|
abstract class GameType {
|
|
1895
1979
|
private constructor();
|
|
@@ -1923,14 +2007,15 @@ export declare namespace games.jass.logic.client.data.models.config {
|
|
|
1923
2007
|
}
|
|
1924
2008
|
export declare namespace games.jass.logic.client.data.models.config {
|
|
1925
2009
|
class GameClientConfig {
|
|
1926
|
-
constructor(validateSceneActiveState?: boolean, validateCardOnMove?: boolean, validateExpectantActions?: boolean, isAutoStepCurrentPlayer?: boolean, areOpponentsCardsOpened?: boolean, sessionAnalytics?: boolean);
|
|
2010
|
+
constructor(validateSceneActiveState?: boolean, validateCardOnMove?: boolean, validateExpectantActions?: boolean, isAutoStepCurrentPlayer?: boolean, areOpponentsCardsOpened?: boolean, sessionAnalytics?: boolean, showPlayerConnectionState?: boolean);
|
|
1927
2011
|
get validateSceneActiveState(): boolean;
|
|
1928
2012
|
get validateCardOnMove(): boolean;
|
|
1929
2013
|
get validateExpectantActions(): boolean;
|
|
1930
2014
|
get isAutoStepCurrentPlayer(): boolean;
|
|
1931
2015
|
get areOpponentsCardsOpened(): boolean;
|
|
1932
2016
|
get sessionAnalytics(): boolean;
|
|
1933
|
-
|
|
2017
|
+
get showPlayerConnectionState(): boolean;
|
|
2018
|
+
copy(validateSceneActiveState?: boolean, validateCardOnMove?: boolean, validateExpectantActions?: boolean, isAutoStepCurrentPlayer?: boolean, areOpponentsCardsOpened?: boolean, sessionAnalytics?: boolean, showPlayerConnectionState?: boolean): games.jass.logic.client.data.models.config.GameClientConfig;
|
|
1934
2019
|
toString(): string;
|
|
1935
2020
|
hashCode(): number;
|
|
1936
2021
|
equals(other: Nullable<any>): boolean;
|
|
@@ -2036,9 +2121,35 @@ export declare interface GameClientEngineController {
|
|
|
2036
2121
|
};
|
|
2037
2122
|
}
|
|
2038
2123
|
export declare function createGameClientController(loggerCallback: (p0: string, p1: Nullable<string>, p2: string, p3: Nullable<Error>, p4: Nullable<any>) => void): GameClientEngineController;
|
|
2124
|
+
export declare namespace games.jass.logic.server.data.models.state {
|
|
2125
|
+
interface ServerStateUpdate {
|
|
2126
|
+
readonly __doNotUseOrImplementIt: {
|
|
2127
|
+
readonly "games.jass.logic.server.data.models.state.ServerStateUpdate": unique symbol;
|
|
2128
|
+
};
|
|
2129
|
+
}
|
|
2130
|
+
class TableStateUpdate implements games.jass.logic.server.data.models.state.ServerStateUpdate {
|
|
2131
|
+
constructor(table: games.jass.logic.data.models.table.JassTable);
|
|
2132
|
+
get table(): games.jass.logic.data.models.table.JassTable;
|
|
2133
|
+
copy(table?: games.jass.logic.data.models.table.JassTable): games.jass.logic.server.data.models.state.TableStateUpdate;
|
|
2134
|
+
toString(): string;
|
|
2135
|
+
hashCode(): number;
|
|
2136
|
+
equals(other: Nullable<any>): boolean;
|
|
2137
|
+
readonly __doNotUseOrImplementIt: games.jass.logic.server.data.models.state.ServerStateUpdate["__doNotUseOrImplementIt"];
|
|
2138
|
+
}
|
|
2139
|
+
class ActionsStateUpdate implements games.jass.logic.server.data.models.state.ServerStateUpdate {
|
|
2140
|
+
constructor(actions: kotlin.collections.KtList<games.jass.logic.redux.actions.mechanic.MechanicAction>);
|
|
2141
|
+
get actions(): kotlin.collections.KtList<games.jass.logic.redux.actions.mechanic.MechanicAction>;
|
|
2142
|
+
copy(actions?: kotlin.collections.KtList<games.jass.logic.redux.actions.mechanic.MechanicAction>): games.jass.logic.server.data.models.state.ActionsStateUpdate;
|
|
2143
|
+
toString(): string;
|
|
2144
|
+
hashCode(): number;
|
|
2145
|
+
equals(other: Nullable<any>): boolean;
|
|
2146
|
+
readonly __doNotUseOrImplementIt: games.jass.logic.server.data.models.state.ServerStateUpdate["__doNotUseOrImplementIt"];
|
|
2147
|
+
}
|
|
2148
|
+
}
|
|
2039
2149
|
export declare namespace games.jass.logic.server.domain {
|
|
2040
2150
|
interface ServerGameEngineContract extends games.jass.logic.GameStoreContract {
|
|
2041
|
-
roomOnCreate(roomId: string, gameCreatorId: string, config: games.jass.logic.data.models.table.config.Config,
|
|
2151
|
+
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;
|
|
2152
|
+
roomOnContinueFromState(roomId: string, state: games.jass.logic.data.models.table.TableStateWithActions): void;
|
|
2042
2153
|
roomOnContinueFromRound(roomId: string, tableLite: games.jass.logic.data.models.table.JassTableLite): void;
|
|
2043
2154
|
addSpectatorsToRoom(spectators: Array<com.logic.data.models.player.GameUserInfo>): void;
|
|
2044
2155
|
removeSpectatorsFromRoom(spectators: Array<com.logic.data.models.player.GameUserInfo>): void;
|
|
@@ -2049,6 +2160,7 @@ export declare namespace games.jass.logic.server.domain {
|
|
|
2049
2160
|
playerLeft(playerId: string): void;
|
|
2050
2161
|
fromClientEvent(action: games.jass.logic.redux.actions.client.from.FromClientAction): void;
|
|
2051
2162
|
subscribeToClientAction(subscriber: (p0: games.jass.logic.redux.actions.client.to.ToClientAction) => void): void;
|
|
2163
|
+
subscribeServerStateUpdate(subscriber: (p0: games.jass.logic.server.data.models.state.ServerStateUpdate) => void): void;
|
|
2052
2164
|
subscribeWith(subscriber: (p0: any/* games.jass.logic.redux.AppState */) => void): void;
|
|
2053
2165
|
clear(): void;
|
|
2054
2166
|
setCanStartNewGameEnabled(enabled: boolean): void;
|