game_client_logic_deb 1.8.72 → 1.8.96

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 (29) hide show
  1. package/Kosi-Kaverit-kaverit.js +75 -75
  2. package/Kosi-Kodein-kodein-di.js +618 -618
  3. package/Kotlin-DateTime-library-kotlinx-datetime.js +143 -143
  4. package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
  5. package/Logic_Debertz-core.js +1786 -2739
  6. package/Logic_Debertz-core.js.map +1 -1
  7. package/Logic_Debertz-engine.js +14930 -13437
  8. package/Logic_Debertz-engine.js.map +1 -1
  9. package/Logic_Debertz-game_client.d.ts +231 -73
  10. package/Logic_Debertz-game_client.js +4726 -4631
  11. package/Logic_Debertz-game_client.js.map +1 -1
  12. package/kotlin-kotlin-stdlib.js +2075 -1984
  13. package/kotlin-kotlin-stdlib.js.map +1 -1
  14. package/{88b0986a7186d029-atomicfu-js-ir.js → kotlinx-atomicfu.js} +29 -29
  15. package/kotlinx-atomicfu.js.map +1 -0
  16. package/{kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js → kotlinx-coroutines-core.js} +2720 -2683
  17. package/kotlinx-coroutines-core.js.map +1 -0
  18. package/kotlinx-io-kotlinx-io-core.js +292 -292
  19. package/kotlinx-io-kotlinx-io-core.js.map +1 -1
  20. package/kotlinx-serialization-kotlinx-serialization-core.js +1885 -1885
  21. package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
  22. package/kotlinx-serialization-kotlinx-serialization-json.js +1405 -1405
  23. package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
  24. package/package.json +1 -1
  25. package/raspberry-cardgame-lib-core.js +1196 -0
  26. package/raspberry-cardgame-lib-core.js.map +1 -0
  27. package/uuid.js +32 -32
  28. package/88b0986a7186d029-atomicfu-js-ir.js.map +0 -1
  29. package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +0 -1
@@ -1,4 +1,47 @@
1
1
  type Nullable<T> = T | null | undefined
2
+ export declare namespace io.raspberryapps.cardgame.core {
3
+ const CoreConfig: {
4
+ get version(): string;
5
+ };
6
+ }
7
+ export declare namespace io.raspberryapps.card_game.core.utils.logger {
8
+ interface LoggerEnabledTrigger extends io.raspberryapps.card_game.core.utils.logger.RaspberryLogger {
9
+ enabled: boolean;
10
+ d(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
11
+ e(tag: Nullable<string>, message: Nullable<string>, exception: Nullable<Error>, payload: Nullable<any>): void;
12
+ w(tag: Nullable<string>, message: Nullable<string>, exception: Nullable<Error>, payload: Nullable<any>): void;
13
+ readonly __doNotUseOrImplementIt: {
14
+ readonly "io.raspberryapps.card_game.core.utils.logger.LoggerEnabledTrigger": unique symbol;
15
+ } & io.raspberryapps.card_game.core.utils.logger.RaspberryLogger["__doNotUseOrImplementIt"];
16
+ }
17
+ }
18
+ export declare namespace io.raspberryapps.card_game.core.utils.logger {
19
+ interface LoggerPayload {
20
+ readonly __doNotUseOrImplementIt: {
21
+ readonly "io.raspberryapps.card_game.core.utils.logger.LoggerPayload": unique symbol;
22
+ };
23
+ }
24
+ }
25
+ export declare namespace io.raspberryapps.card_game.core.utils.logger {
26
+ interface RaspberryLogger extends io.raspberryapps.card_game.core.utils.logger.output.LoggerOutput {
27
+ d(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
28
+ e(tag: Nullable<string>, message: Nullable<string>, exception: Nullable<Error>, payload: Nullable<any>): void;
29
+ w(tag: Nullable<string>, message: Nullable<string>, exception: Nullable<Error>, payload: Nullable<any>): void;
30
+ readonly __doNotUseOrImplementIt: {
31
+ readonly "io.raspberryapps.card_game.core.utils.logger.RaspberryLogger": unique symbol;
32
+ } & io.raspberryapps.card_game.core.utils.logger.output.LoggerOutput["__doNotUseOrImplementIt"];
33
+ }
34
+ }
35
+ export declare namespace io.raspberryapps.card_game.core.utils.logger.output {
36
+ interface LoggerOutput {
37
+ d(tag: Nullable<string> | undefined, message: string, payload?: Nullable<any>): void;
38
+ e(tag?: Nullable<string>, message?: Nullable<string>, exception?: Nullable<Error>, payload?: Nullable<any>): void;
39
+ w(tag?: Nullable<string>, message?: Nullable<string>, exception?: Nullable<Error>, payload?: Nullable<any>): void;
40
+ readonly __doNotUseOrImplementIt: {
41
+ readonly "io.raspberryapps.card_game.core.utils.logger.output.LoggerOutput": unique symbol;
42
+ };
43
+ }
44
+ }
2
45
  export declare namespace com.logic {
3
46
  const GameEngineConfig: {
4
47
  get version(): string;
@@ -182,20 +225,6 @@ export declare namespace com.logic.data.models.player {
182
225
  } & any/* kotlinx.serialization.internal.SerializerFactory */;
183
226
  }
184
227
  }
185
- export declare namespace com.logic.data.models.player {
186
- class PlayerLuckyFactor implements com.logic.data.models.player.PlayerIdContract {
187
- constructor(playerId: string, factor: number, wasLiveDuringGame: boolean, liveDurationPercentage: Nullable<number>);
188
- get playerId(): string;
189
- get factor(): number;
190
- get wasLiveDuringGame(): boolean;
191
- get liveDurationPercentage(): Nullable<number>;
192
- copy(playerId?: string, factor?: number, wasLiveDuringGame?: boolean, liveDurationPercentage?: Nullable<number>): com.logic.data.models.player.PlayerLuckyFactor;
193
- toString(): string;
194
- hashCode(): number;
195
- equals(other: Nullable<any>): boolean;
196
- readonly __doNotUseOrImplementIt: com.logic.data.models.player.PlayerIdContract["__doNotUseOrImplementIt"];
197
- }
198
- }
199
228
  export declare namespace com.logic.data.models.rules {
200
229
  class Rules {
201
230
  constructor(needToPutHigherTrump: boolean, distributePoints: boolean, protectBella: boolean, oneTryToProtectBella: boolean, enableFourSevensCombination: boolean, enableTrumpSevenCombination: boolean, enableTrumpSevenCombinationAfterDistribution: boolean, playerWhoChooseSuitGoFirst: boolean, winnerShuffleCards: boolean, playWithoutLiabilities: boolean, trumpCardGoToPlayerWhoShuffleCards: boolean, enableFineIfNoBribes: boolean, fineIfNoBribes: number, enableFineAfterThirdByte: boolean, checkTrumpCombination: boolean, checkOnlyTrumpDebertz: boolean, tenCardsInHand: boolean);
@@ -350,23 +379,6 @@ export declare namespace com.logic.redux.store.definitions {
350
379
  };
351
380
  }
352
381
  }
353
- export declare namespace com.logic.utils.logger.game {
354
- interface GameLogger extends com.logic.utils.logger.outputs.LoggerOutput {
355
- d(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
356
- e(tag: Nullable<string>, message: Nullable<string>, exception: Nullable<Error>, payload: Nullable<any>): void;
357
- w(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
358
- readonly __doNotUseOrImplementIt: {
359
- readonly "com.logic.utils.logger.game.GameLogger": unique symbol;
360
- } & com.logic.utils.logger.outputs.LoggerOutput["__doNotUseOrImplementIt"];
361
- }
362
- }
363
- export declare namespace com.logic.utils.logger.game {
364
- interface LoggerPayload {
365
- readonly __doNotUseOrImplementIt: {
366
- readonly "com.logic.utils.logger.game.LoggerPayload": unique symbol;
367
- };
368
- }
369
- }
370
382
  export declare namespace com.logic.utils.logger.outputs {
371
383
  abstract class LogType {
372
384
  private constructor();
@@ -391,36 +403,15 @@ export declare namespace com.logic.utils.logger.outputs {
391
403
  }
392
404
  }
393
405
  export declare namespace com.logic.utils.logger.outputs {
394
- interface LoggerEnabledTrigger extends com.logic.utils.logger.game.GameLogger {
395
- enabled: boolean;
396
- d(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
397
- e(tag: Nullable<string>, message: Nullable<string>, exception: Nullable<Error>, payload: Nullable<any>): void;
398
- w(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
399
- readonly __doNotUseOrImplementIt: {
400
- readonly "com.logic.utils.logger.outputs.LoggerEnabledTrigger": unique symbol;
401
- } & com.logic.utils.logger.game.GameLogger["__doNotUseOrImplementIt"];
402
- }
403
- }
404
- export declare namespace com.logic.utils.logger.outputs {
405
- interface LoggerOutput {
406
- d(tag: Nullable<string> | undefined, message: string, payload?: Nullable<any>): void;
407
- e(tag?: Nullable<string>, message?: Nullable<string>, exception?: Nullable<Error>, payload?: Nullable<any>): void;
408
- w(tag: Nullable<string> | undefined, message: string, payload?: Nullable<any>): void;
409
- readonly __doNotUseOrImplementIt: {
410
- readonly "com.logic.utils.logger.outputs.LoggerOutput": unique symbol;
411
- };
412
- }
413
- }
414
- export declare namespace com.logic.utils.logger.outputs {
415
- interface ObservableLoggerOutput extends com.logic.utils.logger.outputs.LoggerOutput, com.logic.utils.logger.outputs.LoggerEnabledTrigger {
406
+ interface ObservableLoggerOutput extends io.raspberryapps.card_game.core.utils.logger.output.LoggerOutput, io.raspberryapps.card_game.core.utils.logger.LoggerEnabledTrigger {
416
407
  observe(types?: Array<com.logic.utils.logger.outputs.LogType>): any/* kotlinx.coroutines.flow.Flow<com.logic.utils.logger.outputs.LoggerOutputDataDto> */;
417
408
  d(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
418
409
  e(tag: Nullable<string>, message: Nullable<string>, exception: Nullable<Error>, payload: Nullable<any>): void;
419
- w(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
410
+ w(tag: Nullable<string>, message: Nullable<string>, exception: Nullable<Error>, payload: Nullable<any>): void;
420
411
  enabled: boolean;
421
412
  readonly __doNotUseOrImplementIt: {
422
413
  readonly "com.logic.utils.logger.outputs.ObservableLoggerOutput": unique symbol;
423
- } & com.logic.utils.logger.outputs.LoggerOutput["__doNotUseOrImplementIt"] & com.logic.utils.logger.outputs.LoggerEnabledTrigger["__doNotUseOrImplementIt"];
414
+ } & io.raspberryapps.card_game.core.utils.logger.output.LoggerOutput["__doNotUseOrImplementIt"] & io.raspberryapps.card_game.core.utils.logger.LoggerEnabledTrigger["__doNotUseOrImplementIt"];
424
415
  }
425
416
  class LoggerOutputDataDto {
426
417
  constructor(type: com.logic.utils.logger.outputs.LogType, tag: Nullable<string>, message: Nullable<string>, stackTrace: Nullable<string>);
@@ -458,6 +449,10 @@ export declare namespace com.debertz.logic.data.models {
458
449
  hashCode(): number;
459
450
  copy(dealerStrategy?: com.debertz.logic.domain.interactors.dealer.DealerStrategy, isBotsAreHappy?: boolean, cards?: Nullable<Array<number>>): com.debertz.logic.data.models.DealerConfig;
460
451
  toString(): string;
452
+ static get Companion(): {
453
+ getFromServerConfig(dealerStrategy?: string, cards?: Nullable<Array<number>>): com.debertz.logic.data.models.DealerConfig;
454
+ fake(cards?: Array<number>): com.debertz.logic.data.models.DealerConfig;
455
+ };
461
456
  }
462
457
  }
463
458
  export declare namespace com.debertz.logic.data.models {
@@ -515,6 +510,49 @@ export declare namespace com.debertz.logic.data.models {
515
510
  } & any/* kotlinx.serialization.internal.SerializerFactory */;
516
511
  }
517
512
  }
513
+ export declare namespace com.debertz.logic.data.models {
514
+ class GameSessionAnalytics {
515
+ constructor(duration: any/* kotlin.time.Duration */, gamesCount: number, roundsCountTotal: number, playerAnalytics: any/* kotlin.collections.List<com.debertz.logic.data.models.player.hand.PlayerAnalytics> */);
516
+ get duration(): any/* kotlin.time.Duration */;
517
+ get gamesCount(): number;
518
+ get roundsCountTotal(): number;
519
+ get playerAnalytics(): any/* kotlin.collections.List<com.debertz.logic.data.models.player.hand.PlayerAnalytics> */;
520
+ get allCombinationCounts(): any/* kotlin.collections.Map<com.debertz.logic.data.models.table.combinations.CombinationType, number> */;
521
+ copy(duration?: any/* kotlin.time.Duration */, gamesCount?: number, roundsCountTotal?: number, playerAnalytics?: any/* kotlin.collections.List<com.debertz.logic.data.models.player.hand.PlayerAnalytics> */): com.debertz.logic.data.models.GameSessionAnalytics;
522
+ toString(): string;
523
+ hashCode(): number;
524
+ equals(other: Nullable<any>): boolean;
525
+ }
526
+ }
527
+ export declare namespace com.debertz.logic.data.models.player.hand {
528
+ class CombinationRecord {
529
+ constructor(id: string, type: com.debertz.logic.data.models.table.combinations.CombinationType, state: com.debertz.logic.data.models.table.combinations.CombinationState, value: number);
530
+ get id(): string;
531
+ get type(): com.debertz.logic.data.models.table.combinations.CombinationType;
532
+ get state(): com.debertz.logic.data.models.table.combinations.CombinationState;
533
+ get value(): number;
534
+ copy(id?: string, type?: com.debertz.logic.data.models.table.combinations.CombinationType, state?: com.debertz.logic.data.models.table.combinations.CombinationState, value?: number): com.debertz.logic.data.models.player.hand.CombinationRecord;
535
+ toString(): string;
536
+ hashCode(): number;
537
+ equals(other: Nullable<any>): boolean;
538
+ }
539
+ }
540
+ export declare namespace com.debertz.logic.data.models.player.hand {
541
+ class PlayerAnalytics implements com.logic.data.models.player.PlayerIdContract {
542
+ constructor(playerId: string, factor: number, wasLiveDuringGame: boolean, liveDurationPercentage: Nullable<number>, combinationRecords: any/* kotlin.collections.List<com.debertz.logic.data.models.player.hand.CombinationRecord> */);
543
+ get playerId(): string;
544
+ get factor(): number;
545
+ get wasLiveDuringGame(): boolean;
546
+ get liveDurationPercentage(): Nullable<number>;
547
+ get combinationRecords(): any/* kotlin.collections.List<com.debertz.logic.data.models.player.hand.CombinationRecord> */;
548
+ get combinationCounts(): any/* kotlin.collections.Map<com.debertz.logic.data.models.table.combinations.CombinationType, number> */;
549
+ copy(playerId?: string, factor?: number, wasLiveDuringGame?: boolean, liveDurationPercentage?: Nullable<number>, combinationRecords?: any/* kotlin.collections.List<com.debertz.logic.data.models.player.hand.CombinationRecord> */): com.debertz.logic.data.models.player.hand.PlayerAnalytics;
550
+ toString(): string;
551
+ hashCode(): number;
552
+ equals(other: Nullable<any>): boolean;
553
+ readonly __doNotUseOrImplementIt: com.logic.data.models.player.PlayerIdContract["__doNotUseOrImplementIt"];
554
+ }
555
+ }
518
556
  export declare namespace com.debertz.logic.data.models.player.state {
519
557
  abstract class RoundContractState {
520
558
  private constructor();
@@ -578,7 +616,7 @@ export declare namespace com.debertz.logic.data.models.table {
578
616
  get users(): Array<com.logic.data.models.player.GameUserInfo>;
579
617
  get isCardDeckExist(): boolean;
580
618
  get requireCardDeck(): any/* com.debertz.logic.data.models.table.cards.CardDeck */;
581
- get currentTrump(): Nullable<any>/* Nullable<com.logic.data.models.table.cards.Suit> */;
619
+ get currentTrump(): Nullable<any>/* Nullable<io.raspberryapps.card_game.core.data.models.cards.Suit> */;
582
620
  get isGameFinished(): boolean;
583
621
  toString(): string;
584
622
  copy(id?: string, version?: string, createdAt?: any/* kotlinx.datetime.Instant */, config?: com.debertz.logic.data.models.table.config.Config, players?: any/* kotlin.collections.List<com.debertz.logic.data.models.player.DebertzPlayer> */, sceneInfo?: any/* com.debertz.logic.data.models.table.scene.SceneInfo */, cardsOnTable?: any/* kotlin.collections.List<com.debertz.logic.data.models.table.bribes.CardOnTable> */, bribes?: any/* kotlin.collections.List<com.debertz.logic.data.models.table.cards.Bribe> */, cardDeck?: Nullable<any>/* Nullable<com.debertz.logic.data.models.table.cards.CardDeck> */, gameInfo?: any/* com.debertz.logic.data.models.table.GameInfo */, gameHistory?: com.debertz.logic.data.models.table.history.GameHistory): com.debertz.logic.data.models.table.DebertzTable;
@@ -590,7 +628,7 @@ export declare namespace com.debertz.logic.data.models.table {
590
628
  }
591
629
  }
592
630
  export declare namespace com.debertz.logic.data.models.table {
593
- class TableLoggerPayload implements com.logic.utils.logger.game.LoggerPayload {
631
+ class TableLoggerPayload implements io.raspberryapps.card_game.core.utils.logger.LoggerPayload {
594
632
  constructor(id: string, gameId: string, players: Array<com.debertz.logic.data.models.table.PlayerLoggerPayload>);
595
633
  get id(): string;
596
634
  get gameId(): string;
@@ -599,9 +637,9 @@ export declare namespace com.debertz.logic.data.models.table {
599
637
  hashCode(): number;
600
638
  toString(): string;
601
639
  copy(id?: string, gameId?: string, players?: Array<com.debertz.logic.data.models.table.PlayerLoggerPayload>): com.debertz.logic.data.models.table.TableLoggerPayload;
602
- readonly __doNotUseOrImplementIt: com.logic.utils.logger.game.LoggerPayload["__doNotUseOrImplementIt"];
640
+ readonly __doNotUseOrImplementIt: io.raspberryapps.card_game.core.utils.logger.LoggerPayload["__doNotUseOrImplementIt"];
603
641
  }
604
- class PlayerLoggerPayload implements com.logic.utils.logger.game.LoggerPayload {
642
+ class PlayerLoggerPayload implements io.raspberryapps.card_game.core.utils.logger.LoggerPayload {
605
643
  constructor(playerId: string, connectionState: Nullable<com.logic.data.models.player.PlayerConnectionState>);
606
644
  get playerId(): string;
607
645
  get connectionState(): Nullable<com.logic.data.models.player.PlayerConnectionState>;
@@ -609,7 +647,119 @@ export declare namespace com.debertz.logic.data.models.table {
609
647
  copy(playerId?: string, connectionState?: Nullable<com.logic.data.models.player.PlayerConnectionState>): com.debertz.logic.data.models.table.PlayerLoggerPayload;
610
648
  hashCode(): number;
611
649
  equals(other: Nullable<any>): boolean;
612
- readonly __doNotUseOrImplementIt: com.logic.utils.logger.game.LoggerPayload["__doNotUseOrImplementIt"];
650
+ readonly __doNotUseOrImplementIt: io.raspberryapps.card_game.core.utils.logger.LoggerPayload["__doNotUseOrImplementIt"];
651
+ }
652
+ }
653
+ export declare namespace com.debertz.logic.data.models.table.combinations {
654
+ class Combination /* implements com.debertz.logic.data.models.table.combinations.CombinationContract */ {
655
+ constructor(id: string, type: com.debertz.logic.data.models.table.combinations.CombinationType, cards: Nullable<any>/* Nullable<kotlin.collections.List<io.raspberryapps.card_game.core.data.models.cards.GameCard>> */);
656
+ copy(id?: string, type?: com.debertz.logic.data.models.table.combinations.CombinationType, cards?: Nullable<any>/* Nullable<kotlin.collections.List<io.raspberryapps.card_game.core.data.models.cards.GameCard>> */): com.debertz.logic.data.models.table.combinations.Combination;
657
+ toString(): string;
658
+ hashCode(): number;
659
+ equals(other: Nullable<any>): boolean;
660
+ }
661
+ }
662
+ export declare namespace com.debertz.logic.data.models.table.combinations {
663
+ abstract class CombinationState {
664
+ private constructor();
665
+ static get NOT_VERIFIED(): com.debertz.logic.data.models.table.combinations.CombinationState & {
666
+ get name(): "NOT_VERIFIED";
667
+ get ordinal(): 0;
668
+ };
669
+ static get VERIFYING(): com.debertz.logic.data.models.table.combinations.CombinationState & {
670
+ get name(): "VERIFYING";
671
+ get ordinal(): 1;
672
+ };
673
+ static get ACCEPTED(): com.debertz.logic.data.models.table.combinations.CombinationState & {
674
+ get name(): "ACCEPTED";
675
+ get ordinal(): 2;
676
+ };
677
+ static get NOT_ACCEPTED(): com.debertz.logic.data.models.table.combinations.CombinationState & {
678
+ get name(): "NOT_ACCEPTED";
679
+ get ordinal(): 3;
680
+ };
681
+ static get REJECTED(): com.debertz.logic.data.models.table.combinations.CombinationState & {
682
+ get name(): "REJECTED";
683
+ get ordinal(): 4;
684
+ };
685
+ static get CANCELED(): com.debertz.logic.data.models.table.combinations.CombinationState & {
686
+ get name(): "CANCELED";
687
+ get ordinal(): 5;
688
+ };
689
+ static values(): Array<com.debertz.logic.data.models.table.combinations.CombinationState>;
690
+ static valueOf(value: string): com.debertz.logic.data.models.table.combinations.CombinationState;
691
+ get name(): "NOT_VERIFIED" | "VERIFYING" | "ACCEPTED" | "NOT_ACCEPTED" | "REJECTED" | "CANCELED";
692
+ get ordinal(): 0 | 1 | 2 | 3 | 4 | 5;
693
+ static get Companion(): {
694
+ } & any/* kotlinx.serialization.internal.SerializerFactory */;
695
+ }
696
+ }
697
+ export declare namespace com.debertz.logic.data.models.table.combinations {
698
+ abstract class CombinationType {
699
+ private constructor();
700
+ static get BELA(): com.debertz.logic.data.models.table.combinations.CombinationType & {
701
+ get name(): "BELA";
702
+ get ordinal(): 0;
703
+ };
704
+ static get THREE_IN_ROW(): com.debertz.logic.data.models.table.combinations.CombinationType & {
705
+ get name(): "THREE_IN_ROW";
706
+ get ordinal(): 1;
707
+ };
708
+ static get FOUR_IN_ROW(): com.debertz.logic.data.models.table.combinations.CombinationType & {
709
+ get name(): "FOUR_IN_ROW";
710
+ get ordinal(): 2;
711
+ };
712
+ static get SEVEN_IN_ROW(): com.debertz.logic.data.models.table.combinations.CombinationType & {
713
+ get name(): "SEVEN_IN_ROW";
714
+ get ordinal(): 3;
715
+ };
716
+ static get SEVEN_TRUMP(): com.debertz.logic.data.models.table.combinations.CombinationType & {
717
+ get name(): "SEVEN_TRUMP";
718
+ get ordinal(): 4;
719
+ };
720
+ static get FOUR_SEVENS(): com.debertz.logic.data.models.table.combinations.CombinationType & {
721
+ get name(): "FOUR_SEVENS";
722
+ get ordinal(): 5;
723
+ };
724
+ static get FINE_NO_BRIBES(): com.debertz.logic.data.models.table.combinations.CombinationType & {
725
+ get name(): "FINE_NO_BRIBES";
726
+ get ordinal(): 6;
727
+ };
728
+ static get FINE_THIRD_FAILED_CONTRACT(): com.debertz.logic.data.models.table.combinations.CombinationType & {
729
+ get name(): "FINE_THIRD_FAILED_CONTRACT";
730
+ get ordinal(): 7;
731
+ };
732
+ static get BONUS_LAST_BRIBE(): com.debertz.logic.data.models.table.combinations.CombinationType & {
733
+ get name(): "BONUS_LAST_BRIBE";
734
+ get ordinal(): 8;
735
+ };
736
+ static get BONUS_FAILED_CONTRACT(): com.debertz.logic.data.models.table.combinations.CombinationType & {
737
+ get name(): "BONUS_FAILED_CONTRACT";
738
+ get ordinal(): 9;
739
+ };
740
+ static get BONUS_CONTROVERSIAL_CONTRACT(): com.debertz.logic.data.models.table.combinations.CombinationType & {
741
+ get name(): "BONUS_CONTROVERSIAL_CONTRACT";
742
+ get ordinal(): 10;
743
+ };
744
+ static values(): Array<com.debertz.logic.data.models.table.combinations.CombinationType>;
745
+ static valueOf(value: string): com.debertz.logic.data.models.table.combinations.CombinationType;
746
+ get name(): "BELA" | "THREE_IN_ROW" | "FOUR_IN_ROW" | "SEVEN_IN_ROW" | "SEVEN_TRUMP" | "FOUR_SEVENS" | "FINE_NO_BRIBES" | "FINE_THIRD_FAILED_CONTRACT" | "BONUS_LAST_BRIBE" | "BONUS_FAILED_CONTRACT" | "BONUS_CONTROVERSIAL_CONTRACT";
747
+ get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
748
+ static get Companion(): {
749
+ getSupportedInRowCardsCombinations(): any/* kotlin.collections.Set<number> */;
750
+ } & any/* kotlinx.serialization.internal.SerializerFactory */;
751
+ }
752
+ }
753
+ export declare namespace com.debertz.logic.data.models.table.combinations {
754
+ class PlayerCombinations implements com.logic.data.models.player.PlayerIdContract {
755
+ constructor(playerId: string, combinations: Array<com.debertz.logic.data.models.table.combinations.Combination>);
756
+ get playerId(): string;
757
+ get combinations(): Array<com.debertz.logic.data.models.table.combinations.Combination>;
758
+ equals(other: Nullable<any>): boolean;
759
+ hashCode(): number;
760
+ copy(playerId?: string, combinations?: Array<com.debertz.logic.data.models.table.combinations.Combination>): com.debertz.logic.data.models.table.combinations.PlayerCombinations;
761
+ toString(): string;
762
+ readonly __doNotUseOrImplementIt: com.logic.data.models.player.PlayerIdContract["__doNotUseOrImplementIt"];
613
763
  }
614
764
  }
615
765
  export declare namespace com.debertz.logic.data.models.table.config {
@@ -759,6 +909,7 @@ export declare namespace com.debertz.logic.data.models.table.history {
759
909
  get date(): string;
760
910
  get lastRoundHistory(): com.debertz.logic.data.models.table.history.RoundHistory;
761
911
  get isFirstRound(): boolean;
912
+ get roundsCount(): number;
762
913
  equals(other: Nullable<any>): boolean;
763
914
  hashCode(): number;
764
915
  toString(): string;
@@ -907,7 +1058,7 @@ export declare namespace com.debertz.logic.redux.actions.game {
907
1058
  get actionTag(): string;
908
1059
  }
909
1060
  class RoundEndedAction extends com.debertz.logic.redux.actions.game.GameAction {
910
- constructor(id: string, gameId: string, roundNumber: number, earnedBiggestPointPlayerId: string, roundCommitted: Array<string>, roundContractState: com.debertz.logic.data.models.player.state.RoundContractState, roundWinners: Array<string>, gameLosers: Nullable<Array<string>> | undefined, gameWinners: Nullable<Array<string>> | undefined, luckyFactors: Nullable<Array<com.logic.data.models.player.PlayerLuckyFactor>> | undefined, gameHistory: com.debertz.logic.data.models.table.history.GameHistory);
1061
+ constructor(id: string, gameId: string, roundNumber: number, earnedBiggestPointPlayerId: string, roundCommitted: Array<string>, roundContractState: com.debertz.logic.data.models.player.state.RoundContractState, roundWinners: Array<string>, gameLosers: Nullable<Array<string>> | undefined, gameWinners: Nullable<Array<string>> | undefined, playersGameAnalytics: Nullable<Array<com.debertz.logic.data.models.player.hand.PlayerAnalytics>> | undefined, playersRoundAnalytics: Nullable<Array<com.debertz.logic.data.models.player.hand.PlayerAnalytics>> | undefined, gameHistory: com.debertz.logic.data.models.table.history.GameHistory);
911
1062
  get id(): string;
912
1063
  get gameId(): string;
913
1064
  get roundNumber(): number;
@@ -917,13 +1068,15 @@ export declare namespace com.debertz.logic.redux.actions.game {
917
1068
  get roundWinners(): Array<string>;
918
1069
  get gameLosers(): Nullable<Array<string>>;
919
1070
  get gameWinners(): Nullable<Array<string>>;
920
- get luckyFactors(): Nullable<Array<com.logic.data.models.player.PlayerLuckyFactor>>;
1071
+ get playersGameAnalytics(): Nullable<Array<com.debertz.logic.data.models.player.hand.PlayerAnalytics>>;
1072
+ get playersRoundAnalytics(): Nullable<Array<com.debertz.logic.data.models.player.hand.PlayerAnalytics>>;
921
1073
  get gameHistory(): com.debertz.logic.data.models.table.history.GameHistory;
1074
+ get roundContractStateName(): string;
922
1075
  get isGameFinished(): boolean;
923
1076
  toString(): string;
924
1077
  equals(other: Nullable<any>): boolean;
925
1078
  hashCode(): number;
926
- copy(id?: string, gameId?: string, roundNumber?: number, earnedBiggestPointPlayerId?: string, roundCommitted?: Array<string>, roundContractState?: com.debertz.logic.data.models.player.state.RoundContractState, roundWinners?: Array<string>, gameLosers?: Nullable<Array<string>>, gameWinners?: Nullable<Array<string>>, luckyFactors?: Nullable<Array<com.logic.data.models.player.PlayerLuckyFactor>>, gameHistory?: com.debertz.logic.data.models.table.history.GameHistory): com.debertz.logic.redux.actions.game.RoundEndedAction;
1079
+ copy(id?: string, gameId?: string, roundNumber?: number, earnedBiggestPointPlayerId?: string, roundCommitted?: Array<string>, roundContractState?: com.debertz.logic.data.models.player.state.RoundContractState, roundWinners?: Array<string>, gameLosers?: Nullable<Array<string>>, gameWinners?: Nullable<Array<string>>, playersGameAnalytics?: Nullable<Array<com.debertz.logic.data.models.player.hand.PlayerAnalytics>>, playersRoundAnalytics?: Nullable<Array<com.debertz.logic.data.models.player.hand.PlayerAnalytics>>, gameHistory?: com.debertz.logic.data.models.table.history.GameHistory): com.debertz.logic.redux.actions.game.RoundEndedAction;
927
1080
  get actionTag(): string;
928
1081
  }
929
1082
  class PartyRestartedAction implements com.logic.redux.store.definitions.Action {
@@ -980,15 +1133,19 @@ export declare namespace com.debertz.logic.redux.actions.mechanic {
980
1133
  get actionTag(): string;
981
1134
  }
982
1135
  class FinishingGameMechanicAction extends com.debertz.logic.redux.actions.mechanic.MechanicAction implements com.debertz.logic.redux.actions.mechanic.TerminatedAction {
983
- constructor(reason: com.logic.data.models.TerminationGameReason, isGameFinished: boolean);
1136
+ constructor(reason: com.logic.data.models.TerminationGameReason, sessionAnalytics: Nullable<com.debertz.logic.data.models.GameSessionAnalytics> | undefined, isGameFinished: boolean);
984
1137
  get reason(): com.logic.data.models.TerminationGameReason;
1138
+ get sessionAnalytics(): Nullable<com.debertz.logic.data.models.GameSessionAnalytics>;
985
1139
  get isGameFinished(): boolean;
986
- copy(reason?: com.logic.data.models.TerminationGameReason, isGameFinished?: boolean): com.debertz.logic.redux.actions.mechanic.FinishingGameMechanicAction;
987
1140
  toString(): string;
1141
+ copy(reason?: com.logic.data.models.TerminationGameReason, sessionAnalytics?: Nullable<com.debertz.logic.data.models.GameSessionAnalytics>, isGameFinished?: boolean): com.debertz.logic.redux.actions.mechanic.FinishingGameMechanicAction;
988
1142
  hashCode(): number;
989
1143
  equals(other: Nullable<any>): boolean;
990
1144
  get actionTag(): string;
991
1145
  readonly __doNotUseOrImplementIt: com.debertz.logic.redux.actions.mechanic.MechanicAction["__doNotUseOrImplementIt"] & com.debertz.logic.redux.actions.mechanic.TerminatedAction["__doNotUseOrImplementIt"];
1146
+ static get Companion(): {
1147
+ withAnalytics(reason: com.logic.data.models.TerminationGameReason, isGameFinished: boolean, table: Nullable<com.debertz.logic.data.models.table.DebertzTable>): com.debertz.logic.redux.actions.mechanic.FinishingGameMechanicAction;
1148
+ };
992
1149
  }
993
1150
  class FinishGameMechanicAction extends com.debertz.logic.redux.actions.mechanic.MechanicAction implements com.logic.redux.actions.validation.NotValidateIfGameFinishing, com.debertz.logic.redux.actions.mechanic.TerminatedAction {
994
1151
  constructor(reason: com.logic.data.models.TerminationGameReason);
@@ -1018,8 +1175,8 @@ export declare namespace com.debertz.logic.redux.actions.mechanic {
1018
1175
  get actData(): Nullable<com.debertz.logic.data.models.scenes.ActData>;
1019
1176
  notValidateWhenFinished(): boolean;
1020
1177
  notValidateWhenFinishing(): boolean;
1021
- copy(sceneId?: string, actId?: Nullable<string>, sceneData?: Nullable<com.debertz.logic.data.models.scenes.SceneData>, actData?: Nullable<com.debertz.logic.data.models.scenes.ActData>): com.debertz.logic.redux.actions.mechanic.SceneMechanicAction;
1022
1178
  toString(): string;
1179
+ copy(sceneId?: string, actId?: Nullable<string>, sceneData?: Nullable<com.debertz.logic.data.models.scenes.SceneData>, actData?: Nullable<com.debertz.logic.data.models.scenes.ActData>): com.debertz.logic.redux.actions.mechanic.SceneMechanicAction;
1023
1180
  hashCode(): number;
1024
1181
  equals(other: Nullable<any>): boolean;
1025
1182
  get actionTag(): string;
@@ -1042,8 +1199,8 @@ export declare namespace com.debertz.logic.redux.actions.mechanic {
1042
1199
  get isShouldBeDisconnectedFromSockets(): boolean;
1043
1200
  get isDeleted(): boolean;
1044
1201
  get shouldNotifyPlayers(): boolean;
1045
- copy(playerId?: string, state?: com.logic.data.models.player.PlayerConnectionState, causeState?: Nullable<com.logic.data.models.player.PlayerConnectionState>, isNoneActivePlayers?: boolean, reconnectUntilTime?: Nullable<string>): com.debertz.logic.redux.actions.mechanic.PlayerConnectionChangedMechanicAction;
1046
1202
  toString(): string;
1203
+ copy(playerId?: string, state?: com.logic.data.models.player.PlayerConnectionState, causeState?: Nullable<com.logic.data.models.player.PlayerConnectionState>, isNoneActivePlayers?: boolean, reconnectUntilTime?: Nullable<string>): com.debertz.logic.redux.actions.mechanic.PlayerConnectionChangedMechanicAction;
1047
1204
  hashCode(): number;
1048
1205
  equals(other: Nullable<any>): boolean;
1049
1206
  get actionTag(): string;
@@ -1099,13 +1256,14 @@ export declare namespace com.debertz.logic.client.data.models.config {
1099
1256
  }
1100
1257
  export declare namespace com.debertz.logic.client.data.models.config {
1101
1258
  class GameClientConfig {
1102
- constructor(validateSceneActiveState?: boolean, validateCardOnMove?: boolean, validateExpectantActions?: boolean, isAutoStepCurrentPlayer?: boolean, areOpponentsCardsOpened?: boolean);
1259
+ constructor(validateSceneActiveState?: boolean, validateCardOnMove?: boolean, validateExpectantActions?: boolean, isAutoStepCurrentPlayer?: boolean, areOpponentsCardsOpened?: boolean, sessionAnalytics?: boolean);
1103
1260
  get validateSceneActiveState(): boolean;
1104
1261
  get validateCardOnMove(): boolean;
1105
1262
  get validateExpectantActions(): boolean;
1106
1263
  get isAutoStepCurrentPlayer(): boolean;
1107
1264
  get areOpponentsCardsOpened(): boolean;
1108
- copy(validateSceneActiveState?: boolean, validateCardOnMove?: boolean, validateExpectantActions?: boolean, isAutoStepCurrentPlayer?: boolean, areOpponentsCardsOpened?: boolean): com.debertz.logic.client.data.models.config.GameClientConfig;
1265
+ get sessionAnalytics(): boolean;
1266
+ copy(validateSceneActiveState?: boolean, validateCardOnMove?: boolean, validateExpectantActions?: boolean, isAutoStepCurrentPlayer?: boolean, areOpponentsCardsOpened?: boolean, sessionAnalytics?: boolean): com.debertz.logic.client.data.models.config.GameClientConfig;
1109
1267
  toString(): string;
1110
1268
  hashCode(): number;
1111
1269
  equals(other: Nullable<any>): boolean;
@@ -1241,15 +1399,15 @@ export declare namespace com.debertz.logic.client.redux.state {
1241
1399
  }
1242
1400
  }
1243
1401
  export declare namespace com.debertz.logic.client.utils {
1244
- interface ShowErrorLoggerOutput extends com.logic.utils.logger.outputs.LoggerOutput {
1402
+ interface ShowErrorLoggerOutput extends io.raspberryapps.card_game.core.utils.logger.output.LoggerOutput {
1245
1403
  skipWarnings: boolean;
1246
1404
  gameClientProvider: Nullable<() => any/* com.debertz.logic.client.GameClient */>;
1247
1405
  d(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
1248
1406
  e(tag: Nullable<string>, message: Nullable<string>, exception: Nullable<Error>, payload: Nullable<any>): void;
1249
- w(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
1407
+ w(tag: Nullable<string>, message: Nullable<string>, exception: Nullable<Error>, payload: Nullable<any>): void;
1250
1408
  readonly __doNotUseOrImplementIt: {
1251
1409
  readonly "com.debertz.logic.client.utils.ShowErrorLoggerOutput": unique symbol;
1252
- } & com.logic.utils.logger.outputs.LoggerOutput["__doNotUseOrImplementIt"];
1410
+ } & io.raspberryapps.card_game.core.utils.logger.output.LoggerOutput["__doNotUseOrImplementIt"];
1253
1411
  }
1254
1412
  }
1255
1413
  export declare interface GameClientEngineController {
@@ -1262,4 +1420,4 @@ export declare interface GameClientEngineController {
1262
1420
  };
1263
1421
  }
1264
1422
  export declare function createGameClientController(loggerCallback: (p0: string, p1: Nullable<string>, p2: string, p3: Nullable<Error>, p4: Nullable<any>) => void): GameClientEngineController;
1265
- export as namespace com_gamewithcats_game_engine_game_client;
1423
+ export as namespace io_raspberryapps_game_engine_game_client;