raspberry_games_server_game_logic 1.8.447 → 1.8.448

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.
@@ -1005,6 +1005,21 @@ export declare namespace games.jass.logic.data.models.dealer {
1005
1005
  const constructor: abstract new () => RandomData;
1006
1006
  }
1007
1007
  }
1008
+ export declare namespace games.jass.logic.data.models.leagues {
1009
+ class EngineSettings {
1010
+ constructor(leagues: games.jass.logic.data.models.leagues.LeaguesConfig, leaguesJson: Nullable<string>);
1011
+ get leagues(): games.jass.logic.data.models.leagues.LeaguesConfig;
1012
+ get leaguesJson(): Nullable<string>;
1013
+ copy(leagues?: games.jass.logic.data.models.leagues.LeaguesConfig, leaguesJson?: Nullable<string>): games.jass.logic.data.models.leagues.EngineSettings;
1014
+ toString(): string;
1015
+ hashCode(): number;
1016
+ equals(other: Nullable<any>): boolean;
1017
+ }
1018
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
1019
+ namespace EngineSettings.$metadata$ {
1020
+ const constructor: abstract new () => EngineSettings;
1021
+ }
1022
+ }
1008
1023
  export declare namespace games.jass.logic.data.models.leagues {
1009
1024
  abstract class League {
1010
1025
  private constructor();
@@ -2983,7 +2998,8 @@ export declare interface RatingHelper {
2983
2998
  getLeaguesConfig(): games.jass.logic.data.models.leagues.LeaguesConfig;
2984
2999
  /** @deprecated Please use Remote config */
2985
3000
  getLeaguesConfigJson(): string;
2986
- decodeLeaguesConfig(json: string): games.jass.logic.data.models.leagues.LeaguesConfig;
3001
+ decodeGameSettings(json: string): games.jass.logic.data.models.leagues.EngineSettings;
3002
+ encodeGameSettings(engineSettings: games.jass.logic.data.models.leagues.EngineSettings): string;
2987
3003
  readonly __doNotUseOrImplementIt: {
2988
3004
  readonly RatingHelper: unique symbol;
2989
3005
  };