game_client_logic_deb 1.8.260 → 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/Logic_Debertz-core.js +1934 -1325
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +21060 -14338
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +112 -57
- package/Logic_Debertz-game_client.js +2842 -2733
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +14 -14
- 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
- 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>, mode: games.jass.logic.data.models.table.config.RoomMode);
|
|
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,9 +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>;
|
|
1320
1334
|
get mode(): games.jass.logic.data.models.table.config.RoomMode;
|
|
1321
1335
|
get playerHandCardsSize(): number;
|
|
1322
|
-
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>, mode?: games.jass.logic.data.models.table.config.RoomMode): games.jass.logic.data.models.table.config.Config;
|
|
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;
|
|
1323
1337
|
toString(): string;
|
|
1324
1338
|
hashCode(): number;
|
|
1325
1339
|
equals(other: Nullable<any>): boolean;
|
|
@@ -1327,7 +1341,8 @@ export declare namespace games.jass.logic.data.models.table.config {
|
|
|
1327
1341
|
}
|
|
1328
1342
|
export declare namespace games.jass.logic.data.models.table.config {
|
|
1329
1343
|
class ConfigLite {
|
|
1330
|
-
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;
|
|
1331
1346
|
get players(): games.jass.logic.data.models.table.config.PlayersMode;
|
|
1332
1347
|
get points(): games.jass.logic.data.models.table.config.PointsMode;
|
|
1333
1348
|
get timeoutTimeMillis(): number;
|
|
@@ -1336,7 +1351,7 @@ export declare namespace games.jass.logic.data.models.table.config {
|
|
|
1336
1351
|
get isChatEnabled(): boolean;
|
|
1337
1352
|
get isBotsEnabled(): boolean;
|
|
1338
1353
|
get rules(): Nullable<games.jass.logic.data.models.rules.Rules>;
|
|
1339
|
-
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;
|
|
1340
1355
|
toString(): string;
|
|
1341
1356
|
hashCode(): number;
|
|
1342
1357
|
equals(other: Nullable<any>): boolean;
|
|
@@ -1387,7 +1402,7 @@ export declare namespace games.jass.logic.data.models.table.config {
|
|
|
1387
1402
|
static values(): Array<games.jass.logic.data.models.table.config.PlayersMode>;
|
|
1388
1403
|
static valueOf(value: string): games.jass.logic.data.models.table.config.PlayersMode;
|
|
1389
1404
|
static get Companion(): {
|
|
1390
|
-
create(
|
|
1405
|
+
create(number: number): games.jass.logic.data.models.table.config.PlayersMode;
|
|
1391
1406
|
} & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
1392
1407
|
}
|
|
1393
1408
|
}
|
|
@@ -1420,6 +1435,25 @@ export declare namespace games.jass.logic.data.models.table.config {
|
|
|
1420
1435
|
} & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
1421
1436
|
}
|
|
1422
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
|
+
}
|
|
1423
1457
|
export declare namespace games.jass.logic.data.models.table.config {
|
|
1424
1458
|
abstract class RoomMode {
|
|
1425
1459
|
private constructor();
|
|
@@ -1448,6 +1482,17 @@ export declare namespace games.jass.logic.data.models.table.config {
|
|
|
1448
1482
|
static valueOf(value: string): games.jass.logic.data.models.table.config.RoomMode;
|
|
1449
1483
|
}
|
|
1450
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
|
+
}
|
|
1451
1496
|
export declare namespace games.jass.logic.data.models.table.history {
|
|
1452
1497
|
class GameHistory {
|
|
1453
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>);
|
|
@@ -1571,9 +1616,9 @@ export declare namespace games.jass.logic.domain.interactors.dealer {
|
|
|
1571
1616
|
}
|
|
1572
1617
|
export declare namespace games.jass.logic.redux.actions {
|
|
1573
1618
|
class ClearAction implements com.logic.redux.store.definitions.Action, com.logic.redux.actions.validation.NotValidateIfGameFinishing, com.logic.redux.actions.validation.NotValidateIfGameFinished {
|
|
1574
|
-
constructor(transition?: Nullable<games.jass.logic.redux.actions.mechanic.
|
|
1575
|
-
get transition(): Nullable<games.jass.logic.redux.actions.mechanic.
|
|
1576
|
-
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;
|
|
1577
1622
|
toString(): string;
|
|
1578
1623
|
hashCode(): number;
|
|
1579
1624
|
equals(other: Nullable<any>): boolean;
|
|
@@ -1695,16 +1740,38 @@ export declare namespace games.jass.logic.redux.actions.game {
|
|
|
1695
1740
|
}
|
|
1696
1741
|
}
|
|
1697
1742
|
export declare namespace games.jass.logic.redux.actions.mechanic {
|
|
1698
|
-
|
|
1699
|
-
|
|
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>>);
|
|
1700
1765
|
get roomId(): string;
|
|
1701
|
-
get playerIds(): kotlin.collections.KtList<string
|
|
1766
|
+
get playerIds(): Nullable<kotlin.collections.KtList<string>>;
|
|
1702
1767
|
get previousPlayers(): Nullable<kotlin.collections.KtList<string>>;
|
|
1703
|
-
get
|
|
1704
|
-
copy(roomId?: string, playerIds?: 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;
|
|
1705
1770
|
toString(): string;
|
|
1706
1771
|
hashCode(): number;
|
|
1707
1772
|
equals(other: Nullable<any>): boolean;
|
|
1773
|
+
get isEnableChoosePartnerScreen(): boolean;
|
|
1774
|
+
readonly __doNotUseOrImplementIt: games.jass.logic.redux.actions.mechanic.GameTransition["__doNotUseOrImplementIt"];
|
|
1708
1775
|
}
|
|
1709
1776
|
}
|
|
1710
1777
|
export declare namespace games.jass.logic.redux.actions.mechanic {
|
|
@@ -1753,33 +1820,33 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
|
|
|
1753
1820
|
}
|
|
1754
1821
|
/* @ts-ignore: https://github.com/microsoft/TypeScript/issues/4628 */
|
|
1755
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 {
|
|
1756
|
-
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>);
|
|
1757
1824
|
get reason(): com.logic.data.models.TerminationGameReason;
|
|
1758
1825
|
get isGameFinished(): boolean;
|
|
1759
|
-
get transition(): Nullable<games.jass.logic.redux.actions.mechanic.
|
|
1826
|
+
get transition(): Nullable<games.jass.logic.redux.actions.mechanic.GameTransition>;
|
|
1760
1827
|
get sessionAnalytics(): Nullable<games.jass.logic.data.models.GameSessionAnalytics>;
|
|
1761
1828
|
get gameHistory(): Nullable<games.jass.logic.data.models.table.history.GameHistory>;
|
|
1762
1829
|
get isRoundHistorySaved(): boolean;
|
|
1763
1830
|
get aid(): Nullable<string>;
|
|
1764
1831
|
toString(): string;
|
|
1765
|
-
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;
|
|
1766
1833
|
hashCode(): number;
|
|
1767
1834
|
equals(other: Nullable<any>): boolean;
|
|
1768
1835
|
get actionTag(): string;
|
|
1769
1836
|
notValidateWhenFinishing(): boolean;
|
|
1770
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"];
|
|
1771
1838
|
static get Companion(): {
|
|
1772
|
-
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;
|
|
1773
1840
|
};
|
|
1774
1841
|
}
|
|
1775
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 {
|
|
1776
|
-
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>);
|
|
1777
1844
|
get reason(): com.logic.data.models.TerminationGameReason;
|
|
1778
1845
|
get isGameFinished(): boolean;
|
|
1779
1846
|
get aid(): Nullable<string>;
|
|
1780
|
-
get transition(): Nullable<games.jass.logic.redux.actions.mechanic.
|
|
1847
|
+
get transition(): Nullable<games.jass.logic.redux.actions.mechanic.GameTransition>;
|
|
1781
1848
|
toString(): string;
|
|
1782
|
-
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;
|
|
1783
1850
|
hashCode(): number;
|
|
1784
1851
|
equals(other: Nullable<any>): boolean;
|
|
1785
1852
|
get actionTag(): string;
|
|
@@ -1794,8 +1861,8 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
|
|
|
1794
1861
|
readonly "games.jass.logic.redux.actions.mechanic.NavigationMechanicAction": unique symbol;
|
|
1795
1862
|
} & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
|
|
1796
1863
|
}
|
|
1797
|
-
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 */ {
|
|
1798
|
-
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>);
|
|
1799
1866
|
get sceneId(): string;
|
|
1800
1867
|
get actId(): Nullable<string>;
|
|
1801
1868
|
get sceneData(): Nullable<games.jass.logic.data.models.scenes.SceneData>;
|
|
@@ -1804,16 +1871,17 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
|
|
|
1804
1871
|
notValidateWhenFinished(): boolean;
|
|
1805
1872
|
notValidateWhenFinishing(): boolean;
|
|
1806
1873
|
toString(): string;
|
|
1807
|
-
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;
|
|
1808
1875
|
hashCode(): number;
|
|
1809
1876
|
equals(other: Nullable<any>): boolean;
|
|
1810
1877
|
get actionTag(): string;
|
|
1811
|
-
|
|
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"];
|
|
1812
1880
|
}
|
|
1813
1881
|
interface TerminatedAction extends com.logic.redux.store.definitions.Action {
|
|
1814
1882
|
readonly reason: com.logic.data.models.TerminationGameReason;
|
|
1815
1883
|
readonly isGameFinished: boolean;
|
|
1816
|
-
readonly transition: Nullable<games.jass.logic.redux.actions.mechanic.
|
|
1884
|
+
readonly transition: Nullable<games.jass.logic.redux.actions.mechanic.GameTransition>;
|
|
1817
1885
|
readonly __doNotUseOrImplementIt: {
|
|
1818
1886
|
readonly "games.jass.logic.redux.actions.mechanic.TerminatedAction": unique symbol;
|
|
1819
1887
|
} & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
|
|
@@ -1845,8 +1913,8 @@ export declare interface GameHelper {
|
|
|
1845
1913
|
filterRealPlayers(store: com.logic.redux.store.definitions.Store<any/* games.jass.logic.redux.AppState */>, playerIds: Array<string>): Array<string>;
|
|
1846
1914
|
getUserSocketId(store: com.logic.redux.store.definitions.Store<any/* games.jass.logic.redux.AppState */>, playerId: string): Nullable<string>;
|
|
1847
1915
|
getUserSocketIds(store: com.logic.redux.store.definitions.Store<any/* games.jass.logic.redux.AppState */>): Nullable<Array<string>>;
|
|
1848
|
-
createConfig(points: number, players: number, timeoutTimeMillis: number, rulesSetType: games.jass.logic.data.models.rules.RulesSetType, rules: any, isEnableChat: boolean, isBotsEnabled: boolean, isPrivate: boolean, dealerStrategy
|
|
1849
|
-
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;
|
|
1850
1918
|
mapPoints(points: number): games.jass.logic.data.models.table.config.PointsMode;
|
|
1851
1919
|
mapPlayers(players: number): games.jass.logic.data.models.table.config.PlayersMode;
|
|
1852
1920
|
mapRules(rules: any): games.jass.logic.data.models.rules.Rules;
|
|
@@ -1878,11 +1946,13 @@ export declare interface ParserHelper {
|
|
|
1878
1946
|
encodeGameRound(round: games.jass.logic.data.models.table.history.RoundHistory): string;
|
|
1879
1947
|
encodeGameRoundItems(round: games.jass.logic.data.models.table.history.RoundHistory): string;
|
|
1880
1948
|
encodeGameMetadata(metadata: games.jass.logic.data.models.table.history.GameHistoryMetadata): string;
|
|
1881
|
-
encodeRoomConfig(config: models.RoomConfig): string;
|
|
1949
|
+
encodeRoomConfig(config: games.jass.logic.data.models.table.config.RoomConfig): string;
|
|
1882
1950
|
decodeTableLite(json: string): games.jass.logic.data.models.table.JassTableLite;
|
|
1883
1951
|
decodeFullGameHistoryToTableLite(json: string, round: Nullable<number>): games.jass.logic.data.models.table.JassTableLite;
|
|
1884
|
-
encodeGameToRoomTransition(transition: games.jass.logic.redux.actions.mechanic.
|
|
1885
|
-
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;
|
|
1886
1956
|
readonly __doNotUseOrImplementIt: {
|
|
1887
1957
|
readonly ParserHelper: unique symbol;
|
|
1888
1958
|
};
|
|
@@ -1897,29 +1967,13 @@ export declare interface RatingHelper {
|
|
|
1897
1967
|
}
|
|
1898
1968
|
export declare namespace di {
|
|
1899
1969
|
class EngineHelpersFactory {
|
|
1900
|
-
constructor();
|
|
1970
|
+
constructor(loggerCallback?: Nullable<(p0: string, p1: Nullable<string>, p2: string, p3: Nullable<Error>, p4: Nullable<any>) => void>);
|
|
1901
1971
|
get ratingHelper(): RatingHelper;
|
|
1902
1972
|
get parserHelper(): ParserHelper;
|
|
1903
1973
|
get gameHelper(): GameHelper;
|
|
1904
1974
|
get gameResources(): GameResources;
|
|
1905
1975
|
}
|
|
1906
1976
|
}
|
|
1907
|
-
export declare namespace models {
|
|
1908
|
-
class RoomConfig {
|
|
1909
|
-
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> */);
|
|
1910
|
-
get players(): number;
|
|
1911
|
-
get points(): number;
|
|
1912
|
-
get timeoutTime(): number;
|
|
1913
|
-
get rulesPreset(): string;
|
|
1914
|
-
get isPrivate(): Nullable<boolean>;
|
|
1915
|
-
get isChatEnabled(): Nullable<boolean>;
|
|
1916
|
-
get rules(): Nullable<any>/* Nullable<com.logic.data.models.serializable.rules.RulesDto> */;
|
|
1917
|
-
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;
|
|
1918
|
-
toString(): string;
|
|
1919
|
-
hashCode(): number;
|
|
1920
|
-
equals(other: Nullable<any>): boolean;
|
|
1921
|
-
}
|
|
1922
|
-
}
|
|
1923
1977
|
export declare namespace games.jass.logic.client.data.models.config {
|
|
1924
1978
|
abstract class GameType {
|
|
1925
1979
|
private constructor();
|
|
@@ -1953,14 +2007,15 @@ export declare namespace games.jass.logic.client.data.models.config {
|
|
|
1953
2007
|
}
|
|
1954
2008
|
export declare namespace games.jass.logic.client.data.models.config {
|
|
1955
2009
|
class GameClientConfig {
|
|
1956
|
-
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);
|
|
1957
2011
|
get validateSceneActiveState(): boolean;
|
|
1958
2012
|
get validateCardOnMove(): boolean;
|
|
1959
2013
|
get validateExpectantActions(): boolean;
|
|
1960
2014
|
get isAutoStepCurrentPlayer(): boolean;
|
|
1961
2015
|
get areOpponentsCardsOpened(): boolean;
|
|
1962
2016
|
get sessionAnalytics(): boolean;
|
|
1963
|
-
|
|
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;
|
|
1964
2019
|
toString(): string;
|
|
1965
2020
|
hashCode(): number;
|
|
1966
2021
|
equals(other: Nullable<any>): boolean;
|