raspberry_games_engine_helpers 1.8.444 → 1.8.445

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.
@@ -228,7 +228,7 @@
228
228
  initMetadataForClass(LoggerOutputDataDto, 'LoggerOutputDataDto', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_10});
229
229
  //endregion
230
230
  function GameEngineConfig() {
231
- this.version = '1.8.444';
231
+ this.version = '1.8.445';
232
232
  }
233
233
  protoOf(GameEngineConfig).j17 = function () {
234
234
  return this.version;
@@ -2967,12 +2967,15 @@ export declare interface ParserHelper {
2967
2967
  };
2968
2968
  }
2969
2969
  export declare interface RatingHelper {
2970
- getBotRatingRange(league: Nullable<string>): models.BotRatingRange;
2970
+ getBotRatingRange(league: Nullable<string>, leaguesConfig: games.jass.logic.data.models.leagues.LeaguesConfig): models.BotRatingRange;
2971
2971
  mapToLeague(name: string): games.jass.logic.data.models.leagues.League;
2972
- isValidRatingForLeague(league: games.jass.logic.data.models.leagues.League, rating: number): boolean;
2973
- mapRatingToLeague(rating: number): games.jass.logic.data.models.leagues.League;
2972
+ isValidRatingForLeague(league: games.jass.logic.data.models.leagues.League, rating: number, leaguesConfig: games.jass.logic.data.models.leagues.LeaguesConfig): boolean;
2973
+ mapRatingToLeague(rating: number, leaguesConfig: games.jass.logic.data.models.leagues.LeaguesConfig): games.jass.logic.data.models.leagues.League;
2974
+ /** @deprecated Please use Remote config */
2974
2975
  getLeaguesConfig(): games.jass.logic.data.models.leagues.LeaguesConfig;
2976
+ /** @deprecated Please use Remote config */
2975
2977
  getLeaguesConfigJson(): string;
2978
+ decodeLeaguesConfig(json: string): games.jass.logic.data.models.leagues.LeaguesConfig;
2976
2979
  readonly __doNotUseOrImplementIt: {
2977
2980
  readonly RatingHelper: unique symbol;
2978
2981
  };