client_plugin_logic_deb 1.8.250 → 1.8.259

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.
@@ -324,7 +324,7 @@
324
324
  function addFormatStructureForTime(structure) {
325
325
  this.s5d(structure);
326
326
  }
327
- initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithTime, WithDate]);
327
+ initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithDate, WithTime]);
328
328
  function offsetHours$default(padding, $super) {
329
329
  padding = padding === VOID ? Padding_ZERO_getInstance() : padding;
330
330
  var tmp;
@@ -377,7 +377,7 @@
377
377
  return tmp;
378
378
  }
379
379
  initMetadataForInterface(AbstractWithOffsetBuilder, 'AbstractWithOffsetBuilder', VOID, VOID, [WithUtcOffset]);
380
- initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithTime, WithUtcOffset, WithDate]);
380
+ initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithDate, WithTime, WithUtcOffset]);
381
381
  initMetadataForClass(AbstractDateTimeFormat, 'AbstractDateTimeFormat');
382
382
  initMetadataForClass(DateTimeComponentsFormat, 'DateTimeComponentsFormat', VOID, AbstractDateTimeFormat);
383
383
  initMetadataForClass(TwoDigitNumber, 'TwoDigitNumber');
@@ -1061,7 +1061,7 @@ export declare namespace games.jass.logic.data.models.scenes {
1061
1061
  }
1062
1062
  export declare namespace games.jass.logic.data.models.table {
1063
1063
  class JassTable {
1064
- constructor(id: string, version: string, createdAt: any/* kotlinx.datetime.Instant */, 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 */>, sceneInfo: any/* games.jass.logic.data.models.table.scene.SceneInfo */, cardsOnTable: kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.table.bribes.CardOnTable */>, bribes: kotlin.collections.KtList<any/* games.jass.logic.data.models.table.cards.Bribe */>, cardDeck: Nullable<any>/* Nullable<games.jass.logic.data.models.table.cards.CardDeck> */, gameInfo: any/* games.jass.logic.data.models.table.GameInfo */, gameHistory: games.jass.logic.data.models.table.history.GameHistory);
1064
+ constructor(id: string, version: string, createdAt: any/* kotlinx.datetime.Instant */, 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 */>, sceneInfo: any/* games.jass.logic.data.models.table.scene.SceneInfo */, cardsOnTable: kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.table.bribes.CardOnTable */>, bribes: kotlin.collections.KtList<any/* games.jass.logic.data.models.table.cards.Bribe */>, cardDeck: Nullable<any>/* Nullable<games.jass.logic.data.models.table.cards.CardDeck> */, requestedCardDecks: kotlin.collections.KtList<any/* games.jass.logic.data.models.table.cards.CardDeck */>, gameInfo: any/* games.jass.logic.data.models.table.GameInfo */, gameHistory: games.jass.logic.data.models.table.history.GameHistory);
1065
1065
  get id(): string;
1066
1066
  get version(): string;
1067
1067
  get createdAt(): any/* kotlinx.datetime.Instant */;
@@ -1072,6 +1072,7 @@ export declare namespace games.jass.logic.data.models.table {
1072
1072
  get cardsOnTable(): kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.table.bribes.CardOnTable */>;
1073
1073
  get bribes(): kotlin.collections.KtList<any/* games.jass.logic.data.models.table.cards.Bribe */>;
1074
1074
  get cardDeck(): Nullable<any>/* Nullable<games.jass.logic.data.models.table.cards.CardDeck> */;
1075
+ get requestedCardDecks(): kotlin.collections.KtList<any/* games.jass.logic.data.models.table.cards.CardDeck */>;
1075
1076
  get gameInfo(): any/* games.jass.logic.data.models.table.GameInfo */;
1076
1077
  get gameHistory(): games.jass.logic.data.models.table.history.GameHistory;
1077
1078
  get gameId(): string;
@@ -1084,7 +1085,7 @@ export declare namespace games.jass.logic.data.models.table {
1084
1085
  get currentTrump(): Nullable<any>/* Nullable<io.raspberryapps.card_game.core.data.models.cards.Suit> */;
1085
1086
  get isGameFinished(): boolean;
1086
1087
  toString(): string;
1087
- copy(id?: string, version?: string, createdAt?: any/* kotlinx.datetime.Instant */, 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 */>, sceneInfo?: any/* games.jass.logic.data.models.table.scene.SceneInfo */, cardsOnTable?: kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.table.bribes.CardOnTable */>, bribes?: kotlin.collections.KtList<any/* games.jass.logic.data.models.table.cards.Bribe */>, cardDeck?: Nullable<any>/* Nullable<games.jass.logic.data.models.table.cards.CardDeck> */, gameInfo?: any/* games.jass.logic.data.models.table.GameInfo */, gameHistory?: games.jass.logic.data.models.table.history.GameHistory): games.jass.logic.data.models.table.JassTable;
1088
+ copy(id?: string, version?: string, createdAt?: any/* kotlinx.datetime.Instant */, 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 */>, sceneInfo?: any/* games.jass.logic.data.models.table.scene.SceneInfo */, cardsOnTable?: kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.table.bribes.CardOnTable */>, bribes?: kotlin.collections.KtList<any/* games.jass.logic.data.models.table.cards.Bribe */>, cardDeck?: Nullable<any>/* Nullable<games.jass.logic.data.models.table.cards.CardDeck> */, requestedCardDecks?: kotlin.collections.KtList<any/* games.jass.logic.data.models.table.cards.CardDeck */>, gameInfo?: any/* games.jass.logic.data.models.table.GameInfo */, gameHistory?: games.jass.logic.data.models.table.history.GameHistory): games.jass.logic.data.models.table.JassTable;
1088
1089
  hashCode(): number;
1089
1090
  equals(other: Nullable<any>): boolean;
1090
1091
  static get Companion(): {
@@ -1307,7 +1308,7 @@ export declare namespace games.jass.logic.data.models.table.config {
1307
1308
  }
1308
1309
  export declare namespace games.jass.logic.data.models.table.config {
1309
1310
  class Config {
1310
- 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);
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>);
1311
1312
  get rules(): games.jass.logic.data.models.rules.Rules;
1312
1313
  get rulesSetType(): games.jass.logic.data.models.rules.RulesSetType;
1313
1314
  get options(): games.jass.logic.data.models.table.config.Options;
@@ -1315,8 +1316,9 @@ export declare namespace games.jass.logic.data.models.table.config {
1315
1316
  get pointsMode(): games.jass.logic.data.models.table.config.PointsMode;
1316
1317
  get timeoutTimeMillis(): number;
1317
1318
  get isPrivate(): boolean;
1319
+ get dealerStrategy(): Nullable<games.jass.logic.domain.interactors.dealer.DealerStrategy>;
1318
1320
  get playerHandCardsSize(): number;
1319
- 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): games.jass.logic.data.models.table.config.Config;
1321
+ copy(rules?: games.jass.logic.data.models.rules.Rules, rulesSetType?: games.jass.logic.data.models.rules.RulesSetType, options?: games.jass.logic.data.models.table.config.Options, playersMode?: games.jass.logic.data.models.table.config.PlayersMode, pointsMode?: games.jass.logic.data.models.table.config.PointsMode, timeoutTimeMillis?: number, isPrivate?: boolean, dealerStrategy?: Nullable<games.jass.logic.domain.interactors.dealer.DealerStrategy>): games.jass.logic.data.models.table.config.Config;
1320
1322
  toString(): string;
1321
1323
  hashCode(): number;
1322
1324
  equals(other: Nullable<any>): boolean;
@@ -1499,36 +1501,40 @@ export declare namespace games.jass.logic.data.models.table.round {
1499
1501
  export declare namespace games.jass.logic.domain.interactors.dealer {
1500
1502
  abstract class DealerStrategy {
1501
1503
  private constructor();
1502
- static get FAKE(): games.jass.logic.domain.interactors.dealer.DealerStrategy & {
1503
- get name(): "FAKE";
1504
+ static get STANDARD(): games.jass.logic.domain.interactors.dealer.DealerStrategy & {
1505
+ get name(): "STANDARD";
1504
1506
  get ordinal(): 0;
1505
1507
  };
1506
- static get BASED_ON_PREVIOUS(): games.jass.logic.domain.interactors.dealer.DealerStrategy & {
1507
- get name(): "BASED_ON_PREVIOUS";
1508
+ static get REQUEST_HOST_STANDARD(): games.jass.logic.domain.interactors.dealer.DealerStrategy & {
1509
+ get name(): "REQUEST_HOST_STANDARD";
1508
1510
  get ordinal(): 1;
1509
1511
  };
1510
- static get EQUAL_HAND_BY_POINTS(): games.jass.logic.domain.interactors.dealer.DealerStrategy & {
1511
- get name(): "EQUAL_HAND_BY_POINTS";
1512
+ static get RANDOM_ORG(): games.jass.logic.domain.interactors.dealer.DealerStrategy & {
1513
+ get name(): "RANDOM_ORG";
1512
1514
  get ordinal(): 2;
1513
1515
  };
1514
- static get EQUAL_HAND_BY_VALUE(): games.jass.logic.domain.interactors.dealer.DealerStrategy & {
1515
- get name(): "EQUAL_HAND_BY_VALUE";
1516
+ static get RANDOM_ORG_SIGNED(): games.jass.logic.domain.interactors.dealer.DealerStrategy & {
1517
+ get name(): "RANDOM_ORG_SIGNED";
1516
1518
  get ordinal(): 3;
1517
1519
  };
1518
- static get RANDOM(): games.jass.logic.domain.interactors.dealer.DealerStrategy & {
1519
- get name(): "RANDOM";
1520
+ static get FAKE(): games.jass.logic.domain.interactors.dealer.DealerStrategy & {
1521
+ get name(): "FAKE";
1520
1522
  get ordinal(): 4;
1521
1523
  };
1522
- static get RANDOM_ORG(): games.jass.logic.domain.interactors.dealer.DealerStrategy & {
1523
- get name(): "RANDOM_ORG";
1524
+ static get BASED_ON_PREVIOUS(): games.jass.logic.domain.interactors.dealer.DealerStrategy & {
1525
+ get name(): "BASED_ON_PREVIOUS";
1524
1526
  get ordinal(): 5;
1525
1527
  };
1526
- static get RANDOM_ORG_SIGNED(): games.jass.logic.domain.interactors.dealer.DealerStrategy & {
1527
- get name(): "RANDOM_ORG_SIGNED";
1528
+ static get EQUAL_HAND_BY_POINTS(): games.jass.logic.domain.interactors.dealer.DealerStrategy & {
1529
+ get name(): "EQUAL_HAND_BY_POINTS";
1528
1530
  get ordinal(): 6;
1529
1531
  };
1530
- get name(): "FAKE" | "BASED_ON_PREVIOUS" | "EQUAL_HAND_BY_POINTS" | "EQUAL_HAND_BY_VALUE" | "RANDOM" | "RANDOM_ORG" | "RANDOM_ORG_SIGNED";
1531
- get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6;
1532
+ static get EQUAL_HAND_BY_VALUE(): games.jass.logic.domain.interactors.dealer.DealerStrategy & {
1533
+ get name(): "EQUAL_HAND_BY_VALUE";
1534
+ get ordinal(): 7;
1535
+ };
1536
+ get name(): "STANDARD" | "REQUEST_HOST_STANDARD" | "RANDOM_ORG" | "RANDOM_ORG_SIGNED" | "FAKE" | "BASED_ON_PREVIOUS" | "EQUAL_HAND_BY_POINTS" | "EQUAL_HAND_BY_VALUE";
1537
+ get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7;
1532
1538
  shouldEqualiseHand(): boolean;
1533
1539
  static values(): Array<games.jass.logic.domain.interactors.dealer.DealerStrategy>;
1534
1540
  static valueOf(value: string): games.jass.logic.domain.interactors.dealer.DealerStrategy;
@@ -1737,12 +1743,13 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
1737
1743
  };
1738
1744
  }
1739
1745
  class FinishGameMechanicAction extends games.jass.logic.redux.actions.mechanic.MechanicAction implements com.logic.redux.actions.validation.NotValidateIfGameFinishing, games.jass.logic.redux.actions.mechanic.TerminatedAction {
1740
- constructor(reason: com.logic.data.models.TerminationGameReason, isGameFinished: boolean, aid?: Nullable<string>);
1746
+ constructor(reason: com.logic.data.models.TerminationGameReason, isGameFinished: boolean, aid?: Nullable<string>, transition?: Nullable<games.jass.logic.redux.actions.mechanic.GameToRoomTransition>);
1741
1747
  get reason(): com.logic.data.models.TerminationGameReason;
1742
1748
  get isGameFinished(): boolean;
1743
1749
  get aid(): Nullable<string>;
1744
- copy(reason?: com.logic.data.models.TerminationGameReason, isGameFinished?: boolean, aid?: Nullable<string>): games.jass.logic.redux.actions.mechanic.FinishGameMechanicAction;
1750
+ get transition(): Nullable<games.jass.logic.redux.actions.mechanic.GameToRoomTransition>;
1745
1751
  toString(): string;
1752
+ copy(reason?: com.logic.data.models.TerminationGameReason, isGameFinished?: boolean, aid?: Nullable<string>, transition?: Nullable<games.jass.logic.redux.actions.mechanic.GameToRoomTransition>): games.jass.logic.redux.actions.mechanic.FinishGameMechanicAction;
1746
1753
  hashCode(): number;
1747
1754
  equals(other: Nullable<any>): boolean;
1748
1755
  get actionTag(): string;
@@ -1776,6 +1783,7 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
1776
1783
  interface TerminatedAction extends com.logic.redux.store.definitions.Action {
1777
1784
  readonly reason: com.logic.data.models.TerminationGameReason;
1778
1785
  readonly isGameFinished: boolean;
1786
+ readonly transition: Nullable<games.jass.logic.redux.actions.mechanic.GameToRoomTransition>;
1779
1787
  readonly __doNotUseOrImplementIt: {
1780
1788
  readonly "games.jass.logic.redux.actions.mechanic.TerminatedAction": unique symbol;
1781
1789
  } & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
@@ -1807,7 +1815,7 @@ export declare interface GameHelper {
1807
1815
  filterRealPlayers(store: com.logic.redux.store.definitions.Store<any/* games.jass.logic.redux.AppState */>, playerIds: Array<string>): Array<string>;
1808
1816
  getUserSocketId(store: com.logic.redux.store.definitions.Store<any/* games.jass.logic.redux.AppState */>, playerId: string): Nullable<string>;
1809
1817
  getUserSocketIds(store: com.logic.redux.store.definitions.Store<any/* games.jass.logic.redux.AppState */>): Nullable<Array<string>>;
1810
- createConfig(points: number, players: number, timeoutTimeMillis: number, rulesSetType: games.jass.logic.data.models.rules.RulesSetType, rules: any, isEnableChat: boolean, isBotsEnabled: boolean, isPrivate: boolean): games.jass.logic.data.models.table.config.Config;
1818
+ createConfig(points: number, players: number, timeoutTimeMillis: number, rulesSetType: games.jass.logic.data.models.rules.RulesSetType, rules: any, isEnableChat: boolean, isBotsEnabled: boolean, isPrivate: boolean, dealerStrategy?: Nullable<string>): games.jass.logic.data.models.table.config.Config;
1811
1819
  mapToRoomConfig(config: games.jass.logic.data.models.table.config.Config): models.RoomConfig;
1812
1820
  mapPoints(points: number): games.jass.logic.data.models.table.config.PointsMode;
1813
1821
  mapPlayers(players: number): games.jass.logic.data.models.table.config.PlayersMode;
@@ -1815,7 +1823,6 @@ export declare interface GameHelper {
1815
1823
  prepareConfigObjectWithPagination(config: any): any;
1816
1824
  prepareConfigObject(config: any): any;
1817
1825
  isValidConfigObject(config: any): boolean;
1818
- isValidConfig(players: number, points: number, timeoutTime: number, rulesPreset: string, rules: any): boolean;
1819
1826
  getRulesByType(rulesSetType: games.jass.logic.data.models.rules.RulesSetType): games.jass.logic.data.models.rules.Rules;
1820
1827
  getRulesByString(name: string): games.jass.logic.data.models.rules.Rules;
1821
1828
  mapRulesSetType(name: string): games.jass.logic.data.models.rules.RulesSetType;
@@ -1844,6 +1851,8 @@ export declare interface ParserHelper {
1844
1851
  encodeRoomConfig(config: models.RoomConfig): string;
1845
1852
  decodeTableLite(json: string): games.jass.logic.data.models.table.JassTableLite;
1846
1853
  decodeFullGameHistoryToTableLite(json: string, round: Nullable<number>): games.jass.logic.data.models.table.JassTableLite;
1854
+ encodeGameToRoomTransition(transition: games.jass.logic.redux.actions.mechanic.GameToRoomTransition): string;
1855
+ decodeGameToRoomTransition(json: string): games.jass.logic.redux.actions.mechanic.GameToRoomTransition;
1847
1856
  readonly __doNotUseOrImplementIt: {
1848
1857
  readonly ParserHelper: unique symbol;
1849
1858
  };
@@ -2029,7 +2038,7 @@ export declare interface GameClientEngineController {
2029
2038
  export declare function createGameClientController(loggerCallback: (p0: string, p1: Nullable<string>, p2: string, p3: Nullable<Error>, p4: Nullable<any>) => void): GameClientEngineController;
2030
2039
  export declare namespace games.jass.logic.server.domain {
2031
2040
  interface ServerGameEngineContract extends games.jass.logic.GameStoreContract {
2032
- roomOnCreate(roomId: string, gameCreatorId: string, config: games.jass.logic.data.models.table.config.Config, users: Array<com.logic.data.models.player.GameUserInfo>, spectators?: Array<com.logic.data.models.player.GameUserInfo>): void;
2041
+ roomOnCreate(roomId: string, gameCreatorId: string, config: games.jass.logic.data.models.table.config.Config, users: Array<com.logic.data.models.player.GameUserInfo>, transition?: Nullable<games.jass.logic.redux.actions.mechanic.GameToRoomTransition>, spectators?: Array<com.logic.data.models.player.GameUserInfo>): void;
2033
2042
  roomOnContinueFromRound(roomId: string, tableLite: games.jass.logic.data.models.table.JassTableLite): void;
2034
2043
  addSpectatorsToRoom(spectators: Array<com.logic.data.models.player.GameUserInfo>): void;
2035
2044
  removeSpectatorsFromRoom(spectators: Array<com.logic.data.models.player.GameUserInfo>): void;