raspberry_games_engine_helpers 1.8.259 → 1.8.260

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.
@@ -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, WithDate, WithUtcOffset, WithTime]);
380
+ initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithUtcOffset, WithDate, WithTime]);
381
381
  initMetadataForClass(AbstractDateTimeFormat, 'AbstractDateTimeFormat');
382
382
  initMetadataForClass(DateTimeComponentsFormat, 'DateTimeComponentsFormat', VOID, AbstractDateTimeFormat);
383
383
  initMetadataForClass(TwoDigitNumber, 'TwoDigitNumber');
@@ -203,7 +203,7 @@
203
203
  initMetadataForClass(LoggerOutputDataDto, 'LoggerOutputDataDto', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_7});
204
204
  //endregion
205
205
  function GameEngineConfig() {
206
- this.version = '1.8.259';
206
+ this.version = '1.8.260';
207
207
  }
208
208
  protoOf(GameEngineConfig).e25 = function () {
209
209
  return this.version;
@@ -553,7 +553,7 @@ export declare namespace games.jass.logic.data.models {
553
553
  equals(other: Nullable<any>): boolean;
554
554
  static get Companion(): {
555
555
  getClientEngineTestMode(): games.jass.logic.data.models.EngineLogicConfig;
556
- getServerEngineMode(isProduction: boolean, supportBackwardActions?: boolean, validateFromClientActionTags?: boolean, openRoomIfFinished?: boolean, updateRating?: boolean, playerTimeoutFactorToFinishStep?: number): games.jass.logic.data.models.EngineLogicConfig;
556
+ getServerEngineMode(isProduction: boolean, roomMode: Nullable<string>, isPrivate: boolean, validateFromClientActionTags?: boolean, openRoomIfFinished?: boolean, playerTimeoutFactorToFinishStep?: number): games.jass.logic.data.models.EngineLogicConfig;
557
557
  };
558
558
  }
559
559
  }
@@ -1308,7 +1308,7 @@ export declare namespace games.jass.logic.data.models.table.config {
1308
1308
  }
1309
1309
  export declare namespace games.jass.logic.data.models.table.config {
1310
1310
  class Config {
1311
- constructor(rules: games.jass.logic.data.models.rules.Rules, rulesSetType: games.jass.logic.data.models.rules.RulesSetType, options: games.jass.logic.data.models.table.config.Options, playersMode: games.jass.logic.data.models.table.config.PlayersMode, pointsMode: games.jass.logic.data.models.table.config.PointsMode, timeoutTimeMillis: number, isPrivate: boolean, dealerStrategy: Nullable<games.jass.logic.domain.interactors.dealer.DealerStrategy>);
1311
+ constructor(rules: games.jass.logic.data.models.rules.Rules, rulesSetType: games.jass.logic.data.models.rules.RulesSetType, options: games.jass.logic.data.models.table.config.Options, playersMode: games.jass.logic.data.models.table.config.PlayersMode, pointsMode: games.jass.logic.data.models.table.config.PointsMode, timeoutTimeMillis: number, isPrivate: boolean, dealerStrategy: Nullable<games.jass.logic.domain.interactors.dealer.DealerStrategy>, mode: games.jass.logic.data.models.table.config.RoomMode);
1312
1312
  get rules(): games.jass.logic.data.models.rules.Rules;
1313
1313
  get rulesSetType(): games.jass.logic.data.models.rules.RulesSetType;
1314
1314
  get options(): games.jass.logic.data.models.table.config.Options;
@@ -1317,8 +1317,9 @@ export declare namespace games.jass.logic.data.models.table.config {
1317
1317
  get timeoutTimeMillis(): number;
1318
1318
  get isPrivate(): boolean;
1319
1319
  get dealerStrategy(): Nullable<games.jass.logic.domain.interactors.dealer.DealerStrategy>;
1320
+ get mode(): games.jass.logic.data.models.table.config.RoomMode;
1320
1321
  get playerHandCardsSize(): number;
1321
- copy(rules?: games.jass.logic.data.models.rules.Rules, rulesSetType?: games.jass.logic.data.models.rules.RulesSetType, options?: games.jass.logic.data.models.table.config.Options, playersMode?: games.jass.logic.data.models.table.config.PlayersMode, pointsMode?: games.jass.logic.data.models.table.config.PointsMode, timeoutTimeMillis?: number, isPrivate?: boolean, dealerStrategy?: Nullable<games.jass.logic.domain.interactors.dealer.DealerStrategy>): games.jass.logic.data.models.table.config.Config;
1322
+ copy(rules?: games.jass.logic.data.models.rules.Rules, rulesSetType?: games.jass.logic.data.models.rules.RulesSetType, options?: games.jass.logic.data.models.table.config.Options, playersMode?: games.jass.logic.data.models.table.config.PlayersMode, pointsMode?: games.jass.logic.data.models.table.config.PointsMode, timeoutTimeMillis?: number, isPrivate?: boolean, dealerStrategy?: Nullable<games.jass.logic.domain.interactors.dealer.DealerStrategy>, mode?: games.jass.logic.data.models.table.config.RoomMode): games.jass.logic.data.models.table.config.Config;
1322
1323
  toString(): string;
1323
1324
  hashCode(): number;
1324
1325
  equals(other: Nullable<any>): boolean;
@@ -1419,6 +1420,34 @@ export declare namespace games.jass.logic.data.models.table.config {
1419
1420
  } & any/* kotlinx.serialization.internal.SerializerFactory */;
1420
1421
  }
1421
1422
  }
1423
+ export declare namespace games.jass.logic.data.models.table.config {
1424
+ abstract class RoomMode {
1425
+ private constructor();
1426
+ static get DEFAULT(): games.jass.logic.data.models.table.config.RoomMode & {
1427
+ get name(): "DEFAULT";
1428
+ get ordinal(): 0;
1429
+ };
1430
+ static get REVENGE(): games.jass.logic.data.models.table.config.RoomMode & {
1431
+ get name(): "REVENGE";
1432
+ get ordinal(): 1;
1433
+ };
1434
+ static get QUICK(): games.jass.logic.data.models.table.config.RoomMode & {
1435
+ get name(): "QUICK";
1436
+ get ordinal(): 2;
1437
+ };
1438
+ static get LEAGUE(): games.jass.logic.data.models.table.config.RoomMode & {
1439
+ get name(): "LEAGUE";
1440
+ get ordinal(): 3;
1441
+ };
1442
+ get name(): "DEFAULT" | "REVENGE" | "QUICK" | "LEAGUE";
1443
+ get ordinal(): 0 | 1 | 2 | 3;
1444
+ get shufflePlayers(): boolean;
1445
+ get hasRatingSupport(): boolean;
1446
+ get isEnableChoosePartnerScreen(): boolean;
1447
+ static values(): Array<games.jass.logic.data.models.table.config.RoomMode>;
1448
+ static valueOf(value: string): games.jass.logic.data.models.table.config.RoomMode;
1449
+ }
1450
+ }
1422
1451
  export declare namespace games.jass.logic.data.models.table.history {
1423
1452
  class GameHistory {
1424
1453
  constructor(gameId: string, createdAt: any/* kotlinx.datetime.Instant */, rounds: Array<games.jass.logic.data.models.table.history.RoundHistory>, gameWinners: Nullable<Array<string>>, metadata: Nullable<games.jass.logic.data.models.table.history.GameHistoryMetadata>);
@@ -1667,11 +1696,12 @@ export declare namespace games.jass.logic.redux.actions.game {
1667
1696
  }
1668
1697
  export declare namespace games.jass.logic.redux.actions.mechanic {
1669
1698
  class GameToRoomTransition {
1670
- constructor(roomId: string, playerIds: kotlin.collections.KtList<string>);
1699
+ constructor(roomId: string, playerIds: kotlin.collections.KtList<string>, previousPlayers: Nullable<kotlin.collections.KtList<string>>);
1671
1700
  get roomId(): string;
1672
1701
  get playerIds(): kotlin.collections.KtList<string>;
1702
+ get previousPlayers(): Nullable<kotlin.collections.KtList<string>>;
1673
1703
  get playerIdsArray(): Array<string>;
1674
- copy(roomId?: string, playerIds?: kotlin.collections.KtList<string>): games.jass.logic.redux.actions.mechanic.GameToRoomTransition;
1704
+ copy(roomId?: string, playerIds?: kotlin.collections.KtList<string>, previousPlayers?: Nullable<kotlin.collections.KtList<string>>): games.jass.logic.redux.actions.mechanic.GameToRoomTransition;
1675
1705
  toString(): string;
1676
1706
  hashCode(): number;
1677
1707
  equals(other: Nullable<any>): boolean;
@@ -1815,7 +1845,7 @@ export declare interface GameHelper {
1815
1845
  filterRealPlayers(store: com.logic.redux.store.definitions.Store<any/* games.jass.logic.redux.AppState */>, playerIds: Array<string>): Array<string>;
1816
1846
  getUserSocketId(store: com.logic.redux.store.definitions.Store<any/* games.jass.logic.redux.AppState */>, playerId: string): Nullable<string>;
1817
1847
  getUserSocketIds(store: com.logic.redux.store.definitions.Store<any/* games.jass.logic.redux.AppState */>): Nullable<Array<string>>;
1818
- createConfig(points: number, players: number, timeoutTimeMillis: number, rulesSetType: games.jass.logic.data.models.rules.RulesSetType, rules: any, isEnableChat: boolean, isBotsEnabled: boolean, isPrivate: boolean, dealerStrategy?: Nullable<string>): games.jass.logic.data.models.table.config.Config;
1848
+ createConfig(points: number, players: number, timeoutTimeMillis: number, rulesSetType: games.jass.logic.data.models.rules.RulesSetType, rules: any, isEnableChat: boolean, isBotsEnabled: boolean, isPrivate: boolean, dealerStrategy?: Nullable<string>, mode?: Nullable<string>): games.jass.logic.data.models.table.config.Config;
1819
1849
  mapToRoomConfig(config: games.jass.logic.data.models.table.config.Config): models.RoomConfig;
1820
1850
  mapPoints(points: number): games.jass.logic.data.models.table.config.PointsMode;
1821
1851
  mapPlayers(players: number): games.jass.logic.data.models.table.config.PlayersMode;