game_client_logic_deb 1.8.181 → 1.8.208

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.
Files changed (56) hide show
  1. package/Kosi-Kaverit-kaverit.js +80 -80
  2. package/Kosi-Kodein-kodein-di.js +654 -654
  3. package/Kosi-Kodein-kodein-di.js.map +1 -1
  4. package/Kotlin-DateTime-library-kotlinx-datetime.js +1536 -1536
  5. package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
  6. package/Logic_Debertz-core.js +1956 -1758
  7. package/Logic_Debertz-core.js.map +1 -1
  8. package/Logic_Debertz-engine.js +17460 -15728
  9. package/Logic_Debertz-engine.js.map +1 -1
  10. package/Logic_Debertz-game_client.d.ts +143 -53
  11. package/Logic_Debertz-game_client.js +4747 -4954
  12. package/Logic_Debertz-game_client.js.map +1 -1
  13. package/kotlin-kotlin-stdlib.js +3281 -2516
  14. package/kotlin-kotlin-stdlib.js.map +1 -1
  15. package/kotlinx-atomicfu.js +25 -25
  16. package/kotlinx-coroutines-core.js +3702 -2670
  17. package/kotlinx-coroutines-core.js.map +1 -1
  18. package/kotlinx-io-kotlinx-io-core.js +297 -297
  19. package/kotlinx-io-kotlinx-io-core.js.map +1 -1
  20. package/kotlinx-serialization-kotlinx-serialization-core.js +2154 -2126
  21. package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
  22. package/kotlinx-serialization-kotlinx-serialization-json.js +1512 -1498
  23. package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
  24. package/ktor-ktor-client-content-negotiation.js +703 -5
  25. package/ktor-ktor-client-content-negotiation.js.map +1 -1
  26. package/ktor-ktor-client-core.js +7197 -5
  27. package/ktor-ktor-client-core.js.map +1 -1
  28. package/ktor-ktor-client-logging.js +1460 -11
  29. package/ktor-ktor-client-logging.js.map +1 -1
  30. package/ktor-ktor-events.js +87 -5
  31. package/ktor-ktor-events.js.map +1 -1
  32. package/ktor-ktor-http.js +3253 -5
  33. package/ktor-ktor-http.js.map +1 -1
  34. package/ktor-ktor-io.js +6455 -5
  35. package/ktor-ktor-io.js.map +1 -1
  36. package/ktor-ktor-serialization-kotlinx-json.js +57 -5
  37. package/ktor-ktor-serialization-kotlinx-json.js.map +1 -1
  38. package/ktor-ktor-serialization-kotlinx.js +837 -5
  39. package/ktor-ktor-serialization-kotlinx.js.map +1 -1
  40. package/ktor-ktor-serialization.js +359 -5
  41. package/ktor-ktor-serialization.js.map +1 -1
  42. package/ktor-ktor-utils.js +2645 -5
  43. package/ktor-ktor-utils.js.map +1 -1
  44. package/ktor-ktor-websockets.js +456 -5
  45. package/ktor-ktor-websockets.js.map +1 -1
  46. package/package.json +1 -1
  47. package/raspberry-cardgame-lib-core.js +562 -186
  48. package/raspberry-cardgame-lib-core.js.map +1 -1
  49. package/raspberry-cardgame-lib-logger.js +122 -106
  50. package/raspberry-cardgame-lib-logger.js.map +1 -1
  51. package/raspberry-cardgame-lib-random.js +2827 -164
  52. package/raspberry-cardgame-lib-random.js.map +1 -1
  53. package/secure-random-secure-random.js +163 -5
  54. package/secure-random-secure-random.js.map +1 -1
  55. package/uuid.js +36 -36
  56. package/uuid.js.map +1 -1
@@ -53,18 +53,48 @@ export declare namespace games.raspberry.logger.output {
53
53
  };
54
54
  }
55
55
  }
56
+ export declare namespace games.raspberry.card_game.random.data.models {
57
+ class CardDecksRequestUserData {
58
+ constructor(id: string, count: number);
59
+ get id(): string;
60
+ get count(): number;
61
+ copy(id?: string, count?: number): games.raspberry.card_game.random.data.models.CardDecksRequestUserData;
62
+ toString(): string;
63
+ hashCode(): number;
64
+ equals(other: Nullable<any>): boolean;
65
+ }
66
+ class CardDeckRequestUserData {
67
+ constructor(players: kotlin.collections.KtList<games.raspberry.card_game.random.data.models.UserInfoData>, gameId: string);
68
+ get players(): kotlin.collections.KtList<games.raspberry.card_game.random.data.models.UserInfoData>;
69
+ get gameId(): string;
70
+ copy(players?: kotlin.collections.KtList<games.raspberry.card_game.random.data.models.UserInfoData>, gameId?: string): games.raspberry.card_game.random.data.models.CardDeckRequestUserData;
71
+ toString(): string;
72
+ hashCode(): number;
73
+ equals(other: Nullable<any>): boolean;
74
+ }
75
+ class UserInfoData {
76
+ constructor(id: string, name: string);
77
+ get id(): string;
78
+ get name(): string;
79
+ copy(id?: string, name?: string): games.raspberry.card_game.random.data.models.UserInfoData;
80
+ toString(): string;
81
+ hashCode(): number;
82
+ equals(other: Nullable<any>): boolean;
83
+ }
84
+ }
56
85
  export declare namespace games.raspberry.card_game.random.data.models {
57
86
  class GameCardDecksRecord {
58
- constructor(signature: string, userData: any/* games.raspberry.card_game.random.data.models.CardDeckRequestUserData */, rounds?: kotlin.collections.KtList<games.raspberry.card_game.random.data.models.GameCardDeckData>);
59
- get signature(): string;
60
- get userData(): any/* games.raspberry.card_game.random.data.models.CardDeckRequestUserData */;
87
+ constructor(id: string, signature: Nullable<string>, userData: games.raspberry.card_game.random.data.models.CardDeckRequestUserData, rounds?: kotlin.collections.KtList<games.raspberry.card_game.random.data.models.GameCardDeckData>);
88
+ get id(): string;
89
+ get signature(): Nullable<string>;
90
+ get userData(): games.raspberry.card_game.random.data.models.CardDeckRequestUserData;
61
91
  get rounds(): kotlin.collections.KtList<games.raspberry.card_game.random.data.models.GameCardDeckData>;
62
- copy(signature?: string, userData?: any/* games.raspberry.card_game.random.data.models.CardDeckRequestUserData */, rounds?: kotlin.collections.KtList<games.raspberry.card_game.random.data.models.GameCardDeckData>): games.raspberry.card_game.random.data.models.GameCardDecksRecord;
92
+ copy(id?: string, signature?: Nullable<string>, userData?: games.raspberry.card_game.random.data.models.CardDeckRequestUserData, rounds?: kotlin.collections.KtList<games.raspberry.card_game.random.data.models.GameCardDeckData>): games.raspberry.card_game.random.data.models.GameCardDecksRecord;
63
93
  toString(): string;
64
94
  hashCode(): number;
65
95
  equals(other: Nullable<any>): boolean;
66
96
  static get Companion(): {
67
- firstRound(signature: string, newCardDeckData: games.raspberry.card_game.random.data.models.GameCardDeckData, userData: any/* games.raspberry.card_game.random.data.models.CardDeckRequestUserData */): games.raspberry.card_game.random.data.models.GameCardDecksRecord;
97
+ firstRound(id: 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;
68
98
  newRound(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;
69
99
  };
70
100
  }
@@ -78,27 +108,39 @@ export declare namespace games.raspberry.card_game.random.data.models {
78
108
  equals(other: Nullable<any>): boolean;
79
109
  }
80
110
  }
111
+ export declare namespace games.raspberry.card_game.random.data.models {
112
+ class HttpConfig {
113
+ constructor(baseUrl: string, timeoutMillis?: number);
114
+ get baseUrl(): string;
115
+ get timeoutMillis(): number;
116
+ copy(baseUrl?: string, timeoutMillis?: number): games.raspberry.card_game.random.data.models.HttpConfig;
117
+ toString(): string;
118
+ hashCode(): number;
119
+ equals(other: Nullable<any>): boolean;
120
+ }
121
+ }
81
122
  export declare namespace games.raspberry.card_game.random.data.models {
82
123
  class RandomOrgConfig {
83
- constructor(apiKey?: string, poolSize?: number, thresholdForUsedPool?: number, httpConfig?: games.raspberry.card_game.random.di.HttpConfig);
124
+ constructor(apiKey?: string, poolSize?: number, thresholdForUsedPool?: number, httpConfig?: games.raspberry.card_game.random.data.models.HttpConfig);
84
125
  get apiKey(): string;
85
126
  get poolSize(): number;
86
127
  get thresholdForUsedPool(): number;
87
- get httpConfig(): games.raspberry.card_game.random.di.HttpConfig;
88
- copy(apiKey?: string, poolSize?: number, thresholdForUsedPool?: number, httpConfig?: games.raspberry.card_game.random.di.HttpConfig): games.raspberry.card_game.random.data.models.RandomOrgConfig;
128
+ get httpConfig(): games.raspberry.card_game.random.data.models.HttpConfig;
129
+ copy(apiKey?: string, poolSize?: number, thresholdForUsedPool?: number, httpConfig?: games.raspberry.card_game.random.data.models.HttpConfig): games.raspberry.card_game.random.data.models.RandomOrgConfig;
89
130
  toString(): string;
90
131
  hashCode(): number;
91
132
  equals(other: Nullable<any>): boolean;
92
133
  }
93
134
  }
94
- export declare namespace games.raspberry.card_game.random.di {
95
- class HttpConfig {
96
- constructor(baseUrl: string, timeoutMillis?: any/* kotlin.Long */, loggingLevel?: any/* io.ktor.client.plugins.logging.LogLevel */, json?: any/* kotlinx.serialization.json.Json */);
97
- get baseUrl(): string;
98
- get timeoutMillis(): any/* kotlin.Long */;
99
- get loggingLevel(): any/* io.ktor.client.plugins.logging.LogLevel */;
100
- get json(): any/* kotlinx.serialization.json.Json */;
101
- copy(baseUrl?: string, timeoutMillis?: any/* kotlin.Long */, loggingLevel?: any/* io.ktor.client.plugins.logging.LogLevel */, json?: any/* kotlinx.serialization.json.Json */): games.raspberry.card_game.random.di.HttpConfig;
135
+ export declare namespace games.raspberry.card_game.random.data.providers {
136
+ class PoolParams {
137
+ constructor(poolSize?: number, thresholdForUsedPool?: number, requestDurationWarn?: number, failedRequestAttempts?: number, failedAttemptCooldown?: any/* kotlin.time.Duration */);
138
+ get poolSize(): number;
139
+ get thresholdForUsedPool(): number;
140
+ get requestDurationWarn(): number;
141
+ get failedRequestAttempts(): number;
142
+ get failedAttemptCooldown(): any/* kotlin.time.Duration */;
143
+ copy(poolSize?: number, thresholdForUsedPool?: number, requestDurationWarn?: number, failedRequestAttempts?: number, failedAttemptCooldown?: any/* kotlin.time.Duration */): games.raspberry.card_game.random.data.providers.PoolParams;
102
144
  toString(): string;
103
145
  hashCode(): number;
104
146
  equals(other: Nullable<any>): boolean;
@@ -194,16 +236,20 @@ export declare namespace com.logic.data.models {
194
236
  get name(): "PLAYER_DELETED";
195
237
  get ordinal(): 1;
196
238
  };
239
+ static get FINISHED(): com.logic.data.models.GameFinishedReason.Reason & {
240
+ get name(): "FINISHED";
241
+ get ordinal(): 2;
242
+ };
197
243
  static get NO_ACTIVE_PLAYERS(): com.logic.data.models.GameFinishedReason.Reason & {
198
244
  get name(): "NO_ACTIVE_PLAYERS";
199
- get ordinal(): 2;
245
+ get ordinal(): 3;
200
246
  };
201
247
  static get GAME_NOT_EXISTS(): com.logic.data.models.GameFinishedReason.Reason & {
202
248
  get name(): "GAME_NOT_EXISTS";
203
- get ordinal(): 3;
249
+ get ordinal(): 4;
204
250
  };
205
- get name(): "DEPLOY" | "PLAYER_DELETED" | "NO_ACTIVE_PLAYERS" | "GAME_NOT_EXISTS";
206
- get ordinal(): 0 | 1 | 2 | 3;
251
+ get name(): "DEPLOY" | "PLAYER_DELETED" | "FINISHED" | "NO_ACTIVE_PLAYERS" | "GAME_NOT_EXISTS";
252
+ get ordinal(): 0 | 1 | 2 | 3 | 4;
207
253
  static values(): Array<com.logic.data.models.GameFinishedReason.Reason>;
208
254
  static valueOf(value: string): com.logic.data.models.GameFinishedReason.Reason;
209
255
  static get Companion(): {
@@ -481,14 +527,16 @@ export declare namespace games.jass.logic.data.models {
481
527
  }
482
528
  export declare namespace games.jass.logic.data.models {
483
529
  class EngineLogicConfig {
484
- constructor(supportBackwardActions?: boolean, validateTestMode?: boolean, verboseGameHistory?: boolean, gameHistoryAnalytics?: boolean, validateFromClientActionTags?: boolean, playerTimeoutFactorToFinishStep?: number);
530
+ constructor(supportBackwardActions?: boolean, validateTestMode?: boolean, verboseGameHistory?: boolean, gameHistoryAnalytics?: boolean, validateFromClientActionTags?: boolean, playerTimeoutFactorToFinishStep?: number, openRoomIfFinished?: boolean, minPlayersToOpenRoom?: number);
485
531
  get supportBackwardActions(): boolean;
486
532
  get validateTestMode(): boolean;
487
533
  get verboseGameHistory(): boolean;
488
534
  get gameHistoryMetadata(): boolean;
489
535
  get validateFromClientActionTags(): boolean;
490
536
  get playerTimeoutFactorToFinishStep(): number;
491
- copy(supportBackwardActions?: boolean, validateTestMode?: boolean, verboseGameHistory?: boolean, gameHistoryAnalytics?: boolean, validateFromClientActionTags?: boolean, playerTimeoutFactorToFinishStep?: number): games.jass.logic.data.models.EngineLogicConfig;
537
+ get openRoomIfFinished(): boolean;
538
+ get minPlayersToOpenRoom(): number;
539
+ copy(supportBackwardActions?: boolean, validateTestMode?: boolean, verboseGameHistory?: boolean, gameHistoryAnalytics?: boolean, validateFromClientActionTags?: boolean, playerTimeoutFactorToFinishStep?: number, openRoomIfFinished?: boolean, minPlayersToOpenRoom?: number): games.jass.logic.data.models.EngineLogicConfig;
492
540
  toString(): string;
493
541
  hashCode(): number;
494
542
  equals(other: Nullable<any>): boolean;
@@ -573,9 +621,15 @@ export declare namespace games.jass.logic.data.models.config {
573
621
  }
574
622
  export declare namespace games.jass.logic.data.models.dealer {
575
623
  class RandomData {
576
- constructor(signature: string, indexes: kotlin.collections.KtList<number>);
577
- get signature(): string;
624
+ constructor(signature: Nullable<string>, id: string, indexes: kotlin.collections.KtList<number>, provider: games.jass.logic.domain.interactors.dealer.DealerStrategy);
625
+ get signature(): Nullable<string>;
626
+ get id(): string;
578
627
  get indexes(): kotlin.collections.KtList<number>;
628
+ get provider(): games.jass.logic.domain.interactors.dealer.DealerStrategy;
629
+ copy(signature?: Nullable<string>, id?: string, indexes?: kotlin.collections.KtList<number>, provider?: games.jass.logic.domain.interactors.dealer.DealerStrategy): games.jass.logic.data.models.dealer.RandomData;
630
+ toString(): string;
631
+ hashCode(): number;
632
+ equals(other: Nullable<any>): boolean;
579
633
  }
580
634
  }
581
635
  export declare namespace games.jass.logic.data.models.messages.combinatios {
@@ -628,14 +682,27 @@ export declare namespace games.jass.logic.data.models.player {
628
682
  }
629
683
  }
630
684
  export declare namespace games.jass.logic.data.models.player.achievements {
631
- class PlayerAchievements {
685
+ class Achievements {
632
686
  constructor(oldRating: number, newRating: number);
633
687
  get oldRating(): number;
634
688
  get newRating(): number;
635
- copy(oldRating?: number, newRating?: number): games.jass.logic.data.models.player.achievements.PlayerAchievements;
689
+ copy(oldRating?: number, newRating?: number): games.jass.logic.data.models.player.achievements.Achievements;
690
+ toString(): string;
691
+ hashCode(): number;
692
+ equals(other: Nullable<any>): boolean;
693
+ }
694
+ }
695
+ export declare namespace games.jass.logic.data.models.player.achievements {
696
+ class PlayerAchievements implements com.logic.data.models.player.PlayerIdContract {
697
+ constructor(playerId: string, oldRating: number, newRating: number);
698
+ get playerId(): string;
699
+ get oldRating(): number;
700
+ get newRating(): number;
701
+ copy(playerId?: string, oldRating?: number, newRating?: number): games.jass.logic.data.models.player.achievements.PlayerAchievements;
636
702
  toString(): string;
637
703
  hashCode(): number;
638
704
  equals(other: Nullable<any>): boolean;
705
+ readonly __doNotUseOrImplementIt: com.logic.data.models.player.PlayerIdContract["__doNotUseOrImplementIt"];
639
706
  }
640
707
  }
641
708
  export declare namespace games.jass.logic.data.models.player.analytics {
@@ -677,11 +744,11 @@ export declare namespace games.jass.logic.data.models.player.analytics {
677
744
  }
678
745
  export declare namespace games.jass.logic.data.models.player.analytics {
679
746
  class PlayerHistoryAnalytics /* implements games.jass.logic.data.models.table.history.PlayerHistoryItem */ {
680
- constructor(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.PlayerAchievements>);
747
+ constructor(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>);
681
748
  get liveDurationPercentage(): Nullable<number>;
682
749
  get combinations(): Nullable<kotlin.collections.KtList<games.jass.logic.data.models.player.analytics.CombinationAnalytics>>;
683
- get achievements(): Nullable<games.jass.logic.data.models.player.achievements.PlayerAchievements>;
684
- 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.PlayerAchievements>): games.jass.logic.data.models.player.analytics.PlayerHistoryAnalytics;
750
+ get achievements(): Nullable<games.jass.logic.data.models.player.achievements.Achievements>;
751
+ 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;
685
752
  toString(): string;
686
753
  hashCode(): number;
687
754
  equals(other: Nullable<any>): boolean;
@@ -1327,8 +1394,12 @@ export declare namespace games.jass.logic.domain.interactors.dealer {
1327
1394
  get name(): "RANDOM_ORG";
1328
1395
  get ordinal(): 5;
1329
1396
  };
1330
- get name(): "FAKE" | "BASED_ON_PREVIOUS" | "EQUAL_HAND_BY_POINTS" | "EQUAL_HAND_BY_VALUE" | "RANDOM" | "RANDOM_ORG";
1331
- get ordinal(): 0 | 1 | 2 | 3 | 4 | 5;
1397
+ static get RANDOM_ORG_SIGNED(): games.jass.logic.domain.interactors.dealer.DealerStrategy & {
1398
+ get name(): "RANDOM_ORG_SIGNED";
1399
+ get ordinal(): 6;
1400
+ };
1401
+ get name(): "FAKE" | "BASED_ON_PREVIOUS" | "EQUAL_HAND_BY_POINTS" | "EQUAL_HAND_BY_VALUE" | "RANDOM" | "RANDOM_ORG" | "RANDOM_ORG_SIGNED";
1402
+ get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6;
1332
1403
  shouldEqualiseHand(): boolean;
1333
1404
  static values(): Array<games.jass.logic.domain.interactors.dealer.DealerStrategy>;
1334
1405
  static valueOf(value: string): games.jass.logic.domain.interactors.dealer.DealerStrategy;
@@ -1356,21 +1427,22 @@ export declare namespace games.jass.logic.redux.actions.client.from {
1356
1427
  }
1357
1428
  export declare namespace games.jass.logic.redux.actions.client.to {
1358
1429
  class ActionDeliveryPayload {
1359
- constructor(id: string, includePlayers: Array<string>, excludePlayers: Array<string>, deliveryType: games.jass.logic.redux.actions.client.to.ActionDeliveryType);
1430
+ constructor(tableId: string, aid: string, includePlayers: Array<string>, excludePlayers: Array<string>, deliveryType: games.jass.logic.redux.actions.client.to.ActionDeliveryType);
1360
1431
  get id(): string;
1432
+ get aid(): string;
1361
1433
  get includePlayers(): Array<string>;
1362
1434
  get excludePlayers(): Array<string>;
1363
1435
  get deliveryType(): games.jass.logic.redux.actions.client.to.ActionDeliveryType;
1364
1436
  get excludePlayerOrNull(): Nullable<string>;
1365
1437
  get sendToPlayerId(): string;
1366
1438
  get excludePlayerId(): string;
1439
+ toString(): string;
1367
1440
  equals(other: Nullable<any>): boolean;
1368
1441
  hashCode(): number;
1369
- toString(): string;
1370
- copy(id?: string, includePlayers?: Array<string>, excludePlayers?: Array<string>, deliveryType?: games.jass.logic.redux.actions.client.to.ActionDeliveryType): games.jass.logic.redux.actions.client.to.ActionDeliveryPayload;
1442
+ copy(tableId?: string, aid?: string, includePlayers?: Array<string>, excludePlayers?: Array<string>, deliveryType?: games.jass.logic.redux.actions.client.to.ActionDeliveryType): games.jass.logic.redux.actions.client.to.ActionDeliveryPayload;
1371
1443
  static get Companion(): {
1372
- userFromTable(table: games.jass.logic.data.models.table.JassTable, sendToPlayerId: string): games.jass.logic.redux.actions.client.to.ActionDeliveryPayload;
1373
- user(tableId: string, sendToPlayerId: string): games.jass.logic.redux.actions.client.to.ActionDeliveryPayload;
1444
+ userFromTable(aid: string, table: games.jass.logic.data.models.table.JassTable, sendToPlayerId: string): games.jass.logic.redux.actions.client.to.ActionDeliveryPayload;
1445
+ user(aid: string, tableId: string, sendToPlayerId: string): games.jass.logic.redux.actions.client.to.ActionDeliveryPayload;
1374
1446
  };
1375
1447
  }
1376
1448
  abstract class ActionDeliveryType {
@@ -1425,7 +1497,7 @@ export declare namespace games.jass.logic.redux.actions.game {
1425
1497
  get actionTag(): string;
1426
1498
  }
1427
1499
  class RoundEndedAction extends games.jass.logic.redux.actions.game.GameAction {
1428
- constructor(id: string, gameId: string, roundNumber: number, earnedBiggestPointPlayerId: string, gameLosers: Nullable<Array<string>> | undefined, gameWinners: Nullable<Array<string>> | undefined, playersGameAnalytics: Nullable<Array<games.jass.logic.data.models.player.analytics.PlayerAnalytics>>, playersRoundAnalytics: Nullable<Array<games.jass.logic.data.models.player.analytics.PlayerAnalytics>>, achievements: Nullable<kotlin.collections.KtMap<string, games.jass.logic.data.models.player.achievements.PlayerAchievements>>, gameHistory: games.jass.logic.data.models.table.history.GameHistory);
1500
+ constructor(id: string, gameId: string, roundNumber: number, earnedBiggestPointPlayerId: string, gameLosers: Nullable<Array<string>> | undefined, gameWinners: Nullable<Array<string>> | undefined, playersGameAnalytics: Nullable<Array<games.jass.logic.data.models.player.analytics.PlayerAnalytics>>, playersRoundAnalytics: Nullable<Array<games.jass.logic.data.models.player.analytics.PlayerAnalytics>>, achievements: Nullable<Array<games.jass.logic.data.models.player.achievements.PlayerAchievements>>, gameHistory: games.jass.logic.data.models.table.history.GameHistory);
1429
1501
  get id(): string;
1430
1502
  get gameId(): string;
1431
1503
  get roundNumber(): number;
@@ -1434,13 +1506,13 @@ export declare namespace games.jass.logic.redux.actions.game {
1434
1506
  get gameWinners(): Nullable<Array<string>>;
1435
1507
  get playersGameAnalytics(): Nullable<Array<games.jass.logic.data.models.player.analytics.PlayerAnalytics>>;
1436
1508
  get playersRoundAnalytics(): Nullable<Array<games.jass.logic.data.models.player.analytics.PlayerAnalytics>>;
1437
- get achievements(): Nullable<kotlin.collections.KtMap<string, games.jass.logic.data.models.player.achievements.PlayerAchievements>>;
1509
+ get achievements(): Nullable<Array<games.jass.logic.data.models.player.achievements.PlayerAchievements>>;
1438
1510
  get gameHistory(): games.jass.logic.data.models.table.history.GameHistory;
1439
1511
  get isGameFinished(): boolean;
1440
1512
  toString(): string;
1441
1513
  equals(other: Nullable<any>): boolean;
1442
1514
  hashCode(): number;
1443
- copy(id?: string, gameId?: string, roundNumber?: number, earnedBiggestPointPlayerId?: string, gameLosers?: Nullable<Array<string>>, gameWinners?: Nullable<Array<string>>, playersGameAnalytics?: Nullable<Array<games.jass.logic.data.models.player.analytics.PlayerAnalytics>>, playersRoundAnalytics?: Nullable<Array<games.jass.logic.data.models.player.analytics.PlayerAnalytics>>, achievements?: Nullable<kotlin.collections.KtMap<string, games.jass.logic.data.models.player.achievements.PlayerAchievements>>, gameHistory?: games.jass.logic.data.models.table.history.GameHistory): games.jass.logic.redux.actions.game.RoundEndedAction;
1515
+ copy(id?: string, gameId?: string, roundNumber?: number, earnedBiggestPointPlayerId?: string, gameLosers?: Nullable<Array<string>>, gameWinners?: Nullable<Array<string>>, playersGameAnalytics?: Nullable<Array<games.jass.logic.data.models.player.analytics.PlayerAnalytics>>, playersRoundAnalytics?: Nullable<Array<games.jass.logic.data.models.player.analytics.PlayerAnalytics>>, achievements?: Nullable<Array<games.jass.logic.data.models.player.achievements.PlayerAchievements>>, gameHistory?: games.jass.logic.data.models.table.history.GameHistory): games.jass.logic.redux.actions.game.RoundEndedAction;
1444
1516
  get actionTag(): string;
1445
1517
  }
1446
1518
  class PartyRestartedAction implements com.logic.redux.store.definitions.Action {
@@ -1455,9 +1527,21 @@ export declare namespace games.jass.logic.redux.actions.game {
1455
1527
  readonly __doNotUseOrImplementIt: com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
1456
1528
  }
1457
1529
  }
1530
+ export declare namespace games.jass.logic.redux.actions.mechanic {
1531
+ class GameToRoomTransition {
1532
+ constructor(roomId: string, playerIds: kotlin.collections.KtList<string>);
1533
+ get roomId(): string;
1534
+ get playerIds(): kotlin.collections.KtList<string>;
1535
+ copy(roomId?: string, playerIds?: kotlin.collections.KtList<string>): games.jass.logic.redux.actions.mechanic.GameToRoomTransition;
1536
+ toString(): string;
1537
+ hashCode(): number;
1538
+ equals(other: Nullable<any>): boolean;
1539
+ }
1540
+ }
1458
1541
  export declare namespace games.jass.logic.redux.actions.mechanic {
1459
1542
  abstract class MechanicAction implements com.logic.redux.actions.BufferedAction {
1460
1543
  protected constructor();
1544
+ abstract get aid(): Nullable<string>;
1461
1545
  get actionTag(): string;
1462
1546
  readonly __doNotUseOrImplementIt: com.logic.redux.actions.BufferedAction["__doNotUseOrImplementIt"];
1463
1547
  }
@@ -1472,13 +1556,14 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
1472
1556
  } & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"] & com.logic.redux.actions.IgnoreBufferForAction["__doNotUseOrImplementIt"];
1473
1557
  }
1474
1558
  class StartGameMechanicAction extends games.jass.logic.redux.actions.mechanic.MechanicAction implements games.jass.logic.redux.actions.mechanic.FirstMechanicAction {
1475
- constructor(config: games.jass.logic.data.models.table.config.Config, id: string, version: string, gameCreatorPlayerId: string, users: kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>);
1559
+ constructor(config: games.jass.logic.data.models.table.config.Config, roomId: string, version: string, gameCreatorPlayerId: string, users: kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>, aid?: Nullable<string>);
1476
1560
  get config(): games.jass.logic.data.models.table.config.Config;
1477
1561
  get id(): string;
1478
1562
  get version(): string;
1479
1563
  get gameCreatorPlayerId(): string;
1480
1564
  get users(): kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>;
1481
- copy(config?: games.jass.logic.data.models.table.config.Config, id?: string, version?: string, gameCreatorPlayerId?: string, users?: kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>): games.jass.logic.redux.actions.mechanic.StartGameMechanicAction;
1565
+ get aid(): Nullable<string>;
1566
+ copy(config?: games.jass.logic.data.models.table.config.Config, roomId?: string, version?: string, gameCreatorPlayerId?: string, users?: kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>, aid?: Nullable<string>): games.jass.logic.redux.actions.mechanic.StartGameMechanicAction;
1482
1567
  toString(): string;
1483
1568
  hashCode(): number;
1484
1569
  equals(other: Nullable<any>): boolean;
@@ -1486,10 +1571,11 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
1486
1571
  readonly __doNotUseOrImplementIt: games.jass.logic.redux.actions.mechanic.MechanicAction["__doNotUseOrImplementIt"] & games.jass.logic.redux.actions.mechanic.FirstMechanicAction["__doNotUseOrImplementIt"];
1487
1572
  }
1488
1573
  class StartNewGameMechanicAction extends games.jass.logic.redux.actions.mechanic.MechanicAction {
1489
- constructor(previousGameId: string, gameId: string);
1574
+ constructor(previousGameId: string, gameId: string, aid?: Nullable<string>);
1490
1575
  get previousGameId(): string;
1491
1576
  get gameId(): string;
1492
- copy(previousGameId?: string, gameId?: string): games.jass.logic.redux.actions.mechanic.StartNewGameMechanicAction;
1577
+ get aid(): Nullable<string>;
1578
+ copy(previousGameId?: string, gameId?: string, aid?: Nullable<string>): games.jass.logic.redux.actions.mechanic.StartNewGameMechanicAction;
1493
1579
  toString(): string;
1494
1580
  hashCode(): number;
1495
1581
  equals(other: Nullable<any>): boolean;
@@ -1497,27 +1583,30 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
1497
1583
  }
1498
1584
  /* @ts-ignore: https://github.com/microsoft/TypeScript/issues/4628 */
1499
1585
  class FinishingGameMechanicAction extends games.jass.logic.redux.actions.mechanic.MechanicAction implements games.jass.logic.redux.actions.mechanic.TerminatedAction, com.logic.redux.actions.validation.NotValidateIfGameFinishing {
1500
- constructor(reason: com.logic.data.models.TerminationGameReason, isGameFinished: boolean, sessionAnalytics?: Nullable<games.jass.logic.data.models.GameSessionAnalytics>, gameHistory?: Nullable<games.jass.logic.data.models.table.history.GameHistory>);
1586
+ constructor(reason: com.logic.data.models.TerminationGameReason, isGameFinished: boolean, transition?: Nullable<games.jass.logic.redux.actions.mechanic.GameToRoomTransition>, sessionAnalytics?: Nullable<games.jass.logic.data.models.GameSessionAnalytics>, gameHistory?: Nullable<games.jass.logic.data.models.table.history.GameHistory>, aid?: Nullable<string>);
1501
1587
  get reason(): com.logic.data.models.TerminationGameReason;
1502
1588
  get isGameFinished(): boolean;
1589
+ get transition(): Nullable<games.jass.logic.redux.actions.mechanic.GameToRoomTransition>;
1503
1590
  get sessionAnalytics(): Nullable<games.jass.logic.data.models.GameSessionAnalytics>;
1504
1591
  get gameHistory(): Nullable<games.jass.logic.data.models.table.history.GameHistory>;
1592
+ get aid(): Nullable<string>;
1505
1593
  toString(): string;
1506
- copy(reason?: com.logic.data.models.TerminationGameReason, isGameFinished?: boolean, sessionAnalytics?: Nullable<games.jass.logic.data.models.GameSessionAnalytics>, gameHistory?: Nullable<games.jass.logic.data.models.table.history.GameHistory>): games.jass.logic.redux.actions.mechanic.FinishingGameMechanicAction;
1594
+ copy(reason?: com.logic.data.models.TerminationGameReason, isGameFinished?: boolean, transition?: Nullable<games.jass.logic.redux.actions.mechanic.GameToRoomTransition>, sessionAnalytics?: Nullable<games.jass.logic.data.models.GameSessionAnalytics>, gameHistory?: Nullable<games.jass.logic.data.models.table.history.GameHistory>, aid?: Nullable<string>): games.jass.logic.redux.actions.mechanic.FinishingGameMechanicAction;
1507
1595
  hashCode(): number;
1508
1596
  equals(other: Nullable<any>): boolean;
1509
1597
  get actionTag(): string;
1510
1598
  notValidateWhenFinishing(): boolean;
1511
1599
  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"];
1512
1600
  static get Companion(): {
1513
- withAnalytics(reason: com.logic.data.models.TerminationGameReason, isGameFinished: boolean, table: Nullable<games.jass.logic.data.models.table.JassTable>): games.jass.logic.redux.actions.mechanic.FinishingGameMechanicAction;
1601
+ 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.GameToRoomTransition>): games.jass.logic.redux.actions.mechanic.FinishingGameMechanicAction;
1514
1602
  };
1515
1603
  }
1516
1604
  class FinishGameMechanicAction extends games.jass.logic.redux.actions.mechanic.MechanicAction implements com.logic.redux.actions.validation.NotValidateIfGameFinishing, games.jass.logic.redux.actions.mechanic.TerminatedAction {
1517
- constructor(reason: com.logic.data.models.TerminationGameReason, isGameFinished: boolean);
1605
+ constructor(reason: com.logic.data.models.TerminationGameReason, isGameFinished: boolean, aid?: Nullable<string>);
1518
1606
  get reason(): com.logic.data.models.TerminationGameReason;
1519
1607
  get isGameFinished(): boolean;
1520
- copy(reason?: com.logic.data.models.TerminationGameReason, isGameFinished?: boolean): games.jass.logic.redux.actions.mechanic.FinishGameMechanicAction;
1608
+ get aid(): Nullable<string>;
1609
+ copy(reason?: com.logic.data.models.TerminationGameReason, isGameFinished?: boolean, aid?: Nullable<string>): games.jass.logic.redux.actions.mechanic.FinishGameMechanicAction;
1521
1610
  toString(): string;
1522
1611
  hashCode(): number;
1523
1612
  equals(other: Nullable<any>): boolean;
@@ -1534,15 +1623,16 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
1534
1623
  } & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
1535
1624
  }
1536
1625
  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 */ {
1537
- constructor(sceneId: string, actId?: Nullable<string>, sceneData?: Nullable<games.jass.logic.data.models.scenes.SceneData>, actData?: Nullable<games.jass.logic.data.models.scenes.ActData>);
1626
+ 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>);
1538
1627
  get sceneId(): string;
1539
1628
  get actId(): Nullable<string>;
1540
1629
  get sceneData(): Nullable<games.jass.logic.data.models.scenes.SceneData>;
1541
1630
  get actData(): Nullable<games.jass.logic.data.models.scenes.ActData>;
1631
+ get aid(): Nullable<string>;
1542
1632
  notValidateWhenFinished(): boolean;
1543
1633
  notValidateWhenFinishing(): boolean;
1544
1634
  toString(): string;
1545
- copy(sceneId?: string, actId?: Nullable<string>, sceneData?: Nullable<games.jass.logic.data.models.scenes.SceneData>, actData?: Nullable<games.jass.logic.data.models.scenes.ActData>): games.jass.logic.redux.actions.mechanic.SceneMechanicAction;
1635
+ 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;
1546
1636
  hashCode(): number;
1547
1637
  equals(other: Nullable<any>): boolean;
1548
1638
  get actionTag(): string;
@@ -1556,17 +1646,17 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
1556
1646
  } & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
1557
1647
  }
1558
1648
  class PlayerConnectionChangedMechanicAction extends games.jass.logic.redux.actions.mechanic.MechanicAction implements com.logic.redux.actions.validation.NotValidateIfGameFinishing, com.logic.redux.actions.validation.NotValidateIfGameFinished {
1559
- constructor(playerId: string, state: com.logic.data.models.player.PlayerConnectionState, causeState?: Nullable<com.logic.data.models.player.PlayerConnectionState>, isNoneActivePlayers?: boolean, reconnectUntilTime?: Nullable<string>);
1649
+ constructor(playerId: string, state: com.logic.data.models.player.PlayerConnectionState, causeState?: Nullable<com.logic.data.models.player.PlayerConnectionState>, isNoneActivePlayers?: boolean, reconnectUntilTime?: Nullable<string>, aid?: Nullable<string>);
1560
1650
  get playerId(): string;
1561
1651
  get state(): com.logic.data.models.player.PlayerConnectionState;
1562
1652
  get causeState(): Nullable<com.logic.data.models.player.PlayerConnectionState>;
1563
1653
  get isNoneActivePlayers(): boolean;
1564
1654
  get reconnectUntilTime(): Nullable<string>;
1655
+ get aid(): Nullable<string>;
1565
1656
  get isShouldBeDisconnectedFromSockets(): boolean;
1566
1657
  get isDeleted(): boolean;
1567
- get shouldNotifyPlayers(): boolean;
1568
1658
  toString(): string;
1569
- copy(playerId?: string, state?: com.logic.data.models.player.PlayerConnectionState, causeState?: Nullable<com.logic.data.models.player.PlayerConnectionState>, isNoneActivePlayers?: boolean, reconnectUntilTime?: Nullable<string>): games.jass.logic.redux.actions.mechanic.PlayerConnectionChangedMechanicAction;
1659
+ copy(playerId?: string, state?: com.logic.data.models.player.PlayerConnectionState, causeState?: Nullable<com.logic.data.models.player.PlayerConnectionState>, isNoneActivePlayers?: boolean, reconnectUntilTime?: Nullable<string>, aid?: Nullable<string>): games.jass.logic.redux.actions.mechanic.PlayerConnectionChangedMechanicAction;
1570
1660
  hashCode(): number;
1571
1661
  equals(other: Nullable<any>): boolean;
1572
1662
  get actionTag(): string;