raspberry_games_engine_helpers 1.8.261 → 1.8.262

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.
@@ -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.261';
206
+ this.version = '1.8.262';
207
207
  }
208
208
  protoOf(GameEngineConfig).e25 = function () {
209
209
  return this.version;
@@ -1389,7 +1389,7 @@ export declare namespace games.jass.logic.data.models.table.config {
1389
1389
  static values(): Array<games.jass.logic.data.models.table.config.PlayersMode>;
1390
1390
  static valueOf(value: string): games.jass.logic.data.models.table.config.PlayersMode;
1391
1391
  static get Companion(): {
1392
- create(points: number): games.jass.logic.data.models.table.config.PlayersMode;
1392
+ create(number: number): games.jass.logic.data.models.table.config.PlayersMode;
1393
1393
  } & any/* kotlinx.serialization.internal.SerializerFactory */;
1394
1394
  }
1395
1395
  }
@@ -1422,6 +1422,25 @@ export declare namespace games.jass.logic.data.models.table.config {
1422
1422
  } & any/* kotlinx.serialization.internal.SerializerFactory */;
1423
1423
  }
1424
1424
  }
1425
+ export declare namespace games.jass.logic.data.models.table.config {
1426
+ class RoomConfig {
1427
+ constructor(players: number, points: number, timeoutTime: number, rulesPreset: string, isPrivate: Nullable<boolean>, isChatEnabled: Nullable<boolean>, rules: Nullable<any>/* Nullable<com.logic.data.models.serializable.rules.RulesDto> */, isBotsEnabled: Nullable<boolean>, dealerStrategy: Nullable<games.jass.logic.domain.interactors.dealer.DealerStrategy>, league: Nullable<games.jass.logic.data.models.leagues.League>);
1428
+ get players(): number;
1429
+ get points(): number;
1430
+ get timeoutTime(): number;
1431
+ get rulesPreset(): string;
1432
+ get isPrivate(): Nullable<boolean>;
1433
+ get isChatEnabled(): Nullable<boolean>;
1434
+ get rules(): Nullable<any>/* Nullable<com.logic.data.models.serializable.rules.RulesDto> */;
1435
+ get isBotsEnabled(): Nullable<boolean>;
1436
+ get dealerStrategy(): Nullable<games.jass.logic.domain.interactors.dealer.DealerStrategy>;
1437
+ get league(): Nullable<games.jass.logic.data.models.leagues.League>;
1438
+ copy(players?: number, points?: number, timeoutTime?: number, rulesPreset?: string, isPrivate?: Nullable<boolean>, isChatEnabled?: Nullable<boolean>, rules?: Nullable<any>/* Nullable<com.logic.data.models.serializable.rules.RulesDto> */, isBotsEnabled?: Nullable<boolean>, dealerStrategy?: Nullable<games.jass.logic.domain.interactors.dealer.DealerStrategy>, league?: Nullable<games.jass.logic.data.models.leagues.League>): games.jass.logic.data.models.table.config.RoomConfig;
1439
+ toString(): string;
1440
+ hashCode(): number;
1441
+ equals(other: Nullable<any>): boolean;
1442
+ }
1443
+ }
1425
1444
  export declare namespace games.jass.logic.data.models.table.config {
1426
1445
  abstract class RoomMode {
1427
1446
  private constructor();
@@ -1848,7 +1867,7 @@ export declare interface GameHelper {
1848
1867
  getUserSocketId(store: com.logic.redux.store.definitions.Store<any/* games.jass.logic.redux.AppState */>, playerId: string): Nullable<string>;
1849
1868
  getUserSocketIds(store: com.logic.redux.store.definitions.Store<any/* games.jass.logic.redux.AppState */>): Nullable<Array<string>>;
1850
1869
  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;
1851
- mapToRoomConfig(config: games.jass.logic.data.models.table.config.Config): models.RoomConfig;
1870
+ mapToRoomConfig(config: games.jass.logic.data.models.table.config.Config): games.jass.logic.data.models.table.config.RoomConfig;
1852
1871
  mapPoints(points: number): games.jass.logic.data.models.table.config.PointsMode;
1853
1872
  mapPlayers(players: number): games.jass.logic.data.models.table.config.PlayersMode;
1854
1873
  mapRules(rules: any): games.jass.logic.data.models.rules.Rules;
@@ -1880,7 +1899,7 @@ export declare interface ParserHelper {
1880
1899
  encodeGameRound(round: games.jass.logic.data.models.table.history.RoundHistory): string;
1881
1900
  encodeGameRoundItems(round: games.jass.logic.data.models.table.history.RoundHistory): string;
1882
1901
  encodeGameMetadata(metadata: games.jass.logic.data.models.table.history.GameHistoryMetadata): string;
1883
- encodeRoomConfig(config: models.RoomConfig): string;
1902
+ encodeRoomConfig(config: games.jass.logic.data.models.table.config.RoomConfig): string;
1884
1903
  decodeTableLite(json: string): games.jass.logic.data.models.table.JassTableLite;
1885
1904
  decodeFullGameHistoryToTableLite(json: string, round: Nullable<number>): games.jass.logic.data.models.table.JassTableLite;
1886
1905
  encodeGameToRoomTransition(transition: games.jass.logic.redux.actions.mechanic.GameToRoomTransition): string;
@@ -1906,20 +1925,4 @@ export declare namespace di {
1906
1925
  get gameResources(): GameResources;
1907
1926
  }
1908
1927
  }
1909
- export declare namespace models {
1910
- class RoomConfig {
1911
- constructor(players: number, points: number, timeoutTime: number, rulesPreset: string, isPrivate?: Nullable<boolean>, isChatEnabled?: Nullable<boolean>, rules?: Nullable<any>/* Nullable<com.logic.data.models.serializable.rules.RulesDto> */);
1912
- get players(): number;
1913
- get points(): number;
1914
- get timeoutTime(): number;
1915
- get rulesPreset(): string;
1916
- get isPrivate(): Nullable<boolean>;
1917
- get isChatEnabled(): Nullable<boolean>;
1918
- get rules(): Nullable<any>/* Nullable<com.logic.data.models.serializable.rules.RulesDto> */;
1919
- copy(players?: number, points?: number, timeoutTime?: number, rulesPreset?: string, isPrivate?: Nullable<boolean>, isChatEnabled?: Nullable<boolean>, rules?: Nullable<any>/* Nullable<com.logic.data.models.serializable.rules.RulesDto> */): models.RoomConfig;
1920
- toString(): string;
1921
- hashCode(): number;
1922
- equals(other: Nullable<any>): boolean;
1923
- }
1924
- }
1925
1928
  export as namespace io_raspberryapps_game_engine_engine;