game_client_logic_deb 1.8.432 → 1.8.434

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.
@@ -2907,7 +2907,6 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
2907
2907
  }
2908
2908
  }
2909
2909
  export declare interface GameHelper {
2910
- getBotRatingRange(league: Nullable<string>): Array<number>;
2911
2910
  filterLivePlayers(store: com.logic.redux.store.definitions.Store<any/* games.jass.logic.redux.AppState */>, playerIds: Array<string>, includeBots?: boolean): Array<string>;
2912
2911
  filterLiveDuringGamePlayers(store: com.logic.redux.store.definitions.Store<any/* games.jass.logic.redux.AppState */>, playerIds: Array<string>, includeBots?: boolean): Array<string>;
2913
2912
  filterBotPlayers(store: com.logic.redux.store.definitions.Store<any/* games.jass.logic.redux.AppState */>, playerIds: Array<string>): Array<string>;
@@ -2963,6 +2962,8 @@ export declare interface ParserHelper {
2963
2962
  };
2964
2963
  }
2965
2964
  export declare interface RatingHelper {
2965
+ getBotRatingRange(league: Nullable<string>): models.BotRatingRange;
2966
+ mapToLeague(name: string): games.jass.logic.data.models.leagues.League;
2966
2967
  isValidRatingForLeague(league: games.jass.logic.data.models.leagues.League, rating: number): boolean;
2967
2968
  mapRatingToLeague(rating: number): games.jass.logic.data.models.leagues.League;
2968
2969
  getLeaguesConfig(): games.jass.logic.data.models.leagues.LeaguesConfig;
@@ -2984,6 +2985,21 @@ export declare namespace di {
2984
2985
  const constructor: abstract new () => EngineHelpersFactory;
2985
2986
  }
2986
2987
  }
2988
+ export declare namespace models {
2989
+ class BotRatingRange {
2990
+ constructor(min: number, max: number);
2991
+ get min(): number;
2992
+ get max(): number;
2993
+ copy(min?: number, max?: number): models.BotRatingRange;
2994
+ toString(): string;
2995
+ hashCode(): number;
2996
+ equals(other: Nullable<any>): boolean;
2997
+ }
2998
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
2999
+ namespace BotRatingRange.$metadata$ {
3000
+ const constructor: abstract new () => BotRatingRange;
3001
+ }
3002
+ }
2987
3003
  export declare namespace games.jass.logic.client.data.models.config {
2988
3004
  abstract class GameType {
2989
3005
  private constructor();