raspberry_games_engine_helpers 1.8.259 → 1.8.261

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, WithDate, WithTime, WithUtcOffset]);
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.261';
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>, league: Nullable<games.jass.logic.data.models.leagues.League>, 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,10 @@ 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 league(): Nullable<games.jass.logic.data.models.leagues.League>;
1321
+ get mode(): games.jass.logic.data.models.table.config.RoomMode;
1320
1322
  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;
1323
+ copy(rules?: games.jass.logic.data.models.rules.Rules, rulesSetType?: games.jass.logic.data.models.rules.RulesSetType, options?: games.jass.logic.data.models.table.config.Options, playersMode?: games.jass.logic.data.models.table.config.PlayersMode, pointsMode?: games.jass.logic.data.models.table.config.PointsMode, timeoutTimeMillis?: number, isPrivate?: boolean, dealerStrategy?: Nullable<games.jass.logic.domain.interactors.dealer.DealerStrategy>, league?: Nullable<games.jass.logic.data.models.leagues.League>, mode?: games.jass.logic.data.models.table.config.RoomMode): games.jass.logic.data.models.table.config.Config;
1322
1324
  toString(): string;
1323
1325
  hashCode(): number;
1324
1326
  equals(other: Nullable<any>): boolean;
@@ -1326,7 +1328,8 @@ export declare namespace games.jass.logic.data.models.table.config {
1326
1328
  }
1327
1329
  export declare namespace games.jass.logic.data.models.table.config {
1328
1330
  class ConfigLite {
1329
- constructor(players: games.jass.logic.data.models.table.config.PlayersMode, points: games.jass.logic.data.models.table.config.PointsMode, timeoutTimeMillis: number, rulesPreset: games.jass.logic.data.models.rules.RulesSetType, isPrivate: boolean, isChatEnabled: boolean, isBotsEnabled: boolean, rules: Nullable<games.jass.logic.data.models.rules.Rules>);
1331
+ constructor(mode: games.jass.logic.data.models.table.config.RoomMode, players: games.jass.logic.data.models.table.config.PlayersMode, points: games.jass.logic.data.models.table.config.PointsMode, timeoutTimeMillis: number, rulesPreset: games.jass.logic.data.models.rules.RulesSetType, isPrivate: boolean, isChatEnabled: boolean, isBotsEnabled: boolean, rules: Nullable<games.jass.logic.data.models.rules.Rules>);
1332
+ get mode(): games.jass.logic.data.models.table.config.RoomMode;
1330
1333
  get players(): games.jass.logic.data.models.table.config.PlayersMode;
1331
1334
  get points(): games.jass.logic.data.models.table.config.PointsMode;
1332
1335
  get timeoutTimeMillis(): number;
@@ -1335,7 +1338,7 @@ export declare namespace games.jass.logic.data.models.table.config {
1335
1338
  get isChatEnabled(): boolean;
1336
1339
  get isBotsEnabled(): boolean;
1337
1340
  get rules(): Nullable<games.jass.logic.data.models.rules.Rules>;
1338
- copy(players?: games.jass.logic.data.models.table.config.PlayersMode, points?: games.jass.logic.data.models.table.config.PointsMode, timeoutTimeMillis?: number, rulesPreset?: games.jass.logic.data.models.rules.RulesSetType, isPrivate?: boolean, isChatEnabled?: boolean, isBotsEnabled?: boolean, rules?: Nullable<games.jass.logic.data.models.rules.Rules>): games.jass.logic.data.models.table.config.ConfigLite;
1341
+ copy(mode?: games.jass.logic.data.models.table.config.RoomMode, players?: games.jass.logic.data.models.table.config.PlayersMode, points?: games.jass.logic.data.models.table.config.PointsMode, timeoutTimeMillis?: number, rulesPreset?: games.jass.logic.data.models.rules.RulesSetType, isPrivate?: boolean, isChatEnabled?: boolean, isBotsEnabled?: boolean, rules?: Nullable<games.jass.logic.data.models.rules.Rules>): games.jass.logic.data.models.table.config.ConfigLite;
1339
1342
  toString(): string;
1340
1343
  hashCode(): number;
1341
1344
  equals(other: Nullable<any>): boolean;
@@ -1419,6 +1422,34 @@ export declare namespace games.jass.logic.data.models.table.config {
1419
1422
  } & any/* kotlinx.serialization.internal.SerializerFactory */;
1420
1423
  }
1421
1424
  }
1425
+ export declare namespace games.jass.logic.data.models.table.config {
1426
+ abstract class RoomMode {
1427
+ private constructor();
1428
+ static get DEFAULT(): games.jass.logic.data.models.table.config.RoomMode & {
1429
+ get name(): "DEFAULT";
1430
+ get ordinal(): 0;
1431
+ };
1432
+ static get REVENGE(): games.jass.logic.data.models.table.config.RoomMode & {
1433
+ get name(): "REVENGE";
1434
+ get ordinal(): 1;
1435
+ };
1436
+ static get QUICK(): games.jass.logic.data.models.table.config.RoomMode & {
1437
+ get name(): "QUICK";
1438
+ get ordinal(): 2;
1439
+ };
1440
+ static get LEAGUE(): games.jass.logic.data.models.table.config.RoomMode & {
1441
+ get name(): "LEAGUE";
1442
+ get ordinal(): 3;
1443
+ };
1444
+ get name(): "DEFAULT" | "REVENGE" | "QUICK" | "LEAGUE";
1445
+ get ordinal(): 0 | 1 | 2 | 3;
1446
+ get shufflePlayers(): boolean;
1447
+ get hasRatingSupport(): boolean;
1448
+ get isEnableChoosePartnerScreen(): boolean;
1449
+ static values(): Array<games.jass.logic.data.models.table.config.RoomMode>;
1450
+ static valueOf(value: string): games.jass.logic.data.models.table.config.RoomMode;
1451
+ }
1452
+ }
1422
1453
  export declare namespace games.jass.logic.data.models.table.history {
1423
1454
  class GameHistory {
1424
1455
  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 +1698,12 @@ export declare namespace games.jass.logic.redux.actions.game {
1667
1698
  }
1668
1699
  export declare namespace games.jass.logic.redux.actions.mechanic {
1669
1700
  class GameToRoomTransition {
1670
- constructor(roomId: string, playerIds: kotlin.collections.KtList<string>);
1701
+ constructor(roomId: string, playerIds: kotlin.collections.KtList<string>, previousPlayers: Nullable<kotlin.collections.KtList<string>>);
1671
1702
  get roomId(): string;
1672
1703
  get playerIds(): kotlin.collections.KtList<string>;
1704
+ get previousPlayers(): Nullable<kotlin.collections.KtList<string>>;
1673
1705
  get playerIdsArray(): Array<string>;
1674
- copy(roomId?: string, playerIds?: kotlin.collections.KtList<string>): games.jass.logic.redux.actions.mechanic.GameToRoomTransition;
1706
+ copy(roomId?: string, playerIds?: kotlin.collections.KtList<string>, previousPlayers?: Nullable<kotlin.collections.KtList<string>>): games.jass.logic.redux.actions.mechanic.GameToRoomTransition;
1675
1707
  toString(): string;
1676
1708
  hashCode(): number;
1677
1709
  equals(other: Nullable<any>): boolean;
@@ -1815,7 +1847,7 @@ export declare interface GameHelper {
1815
1847
  filterRealPlayers(store: com.logic.redux.store.definitions.Store<any/* games.jass.logic.redux.AppState */>, playerIds: Array<string>): Array<string>;
1816
1848
  getUserSocketId(store: com.logic.redux.store.definitions.Store<any/* games.jass.logic.redux.AppState */>, playerId: string): Nullable<string>;
1817
1849
  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;
1850
+ 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>, league?: Nullable<string>): games.jass.logic.data.models.table.config.Config;
1819
1851
  mapToRoomConfig(config: games.jass.logic.data.models.table.config.Config): models.RoomConfig;
1820
1852
  mapPoints(points: number): games.jass.logic.data.models.table.config.PointsMode;
1821
1853
  mapPlayers(players: number): games.jass.logic.data.models.table.config.PlayersMode;