raspberry_games_server_game_logic 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.
|
@@ -2967,12 +2967,15 @@ export declare interface ParserHelper {
|
|
|
2967
2967
|
};
|
|
2968
2968
|
}
|
|
2969
2969
|
export declare interface RatingHelper {
|
|
2970
|
-
getBotRatingRange(league: Nullable<string
|
|
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
|
};
|
|
@@ -3204,7 +3207,7 @@ export declare interface GameEngineController {
|
|
|
3204
3207
|
readonly randomPoolProvider: any/* games.raspberry.card_game.random.data.providers.RandomPoolProvider */;
|
|
3205
3208
|
setEnableLogger(enabled: boolean): void;
|
|
3206
3209
|
createGameEngine(): games.jass.logic.server.domain.ServerGameEngineContract;
|
|
3207
|
-
createGameEngineWithLogic(reducers?: Array<(p0: any/* games.jass.logic.redux.AppState */, p1: any) => any/* games.jass.logic.redux.AppState */>, middlewares?: Array<(p0: com.logic.redux.store.definitions.Store<any/* games.jass.logic.redux.AppState */>, p1: (p0: com.logic.redux.store.definitions.Action) => void, p2: any) => void>, serverConfig?: games.jass.logic.data.models.config.ServerReduxConfig, logicConfig?: games.jass.logic.data.models.EngineLogicConfig, dealerConfig?: games.jass.logic.data.models.DealerConfig, ratingConfig?: games.jass.logic.data.models.config.RatingConfig, coreConfig?: com.logic.data.models.CoreConfig, botConfig?: games.jass.logic.data.models.EngineBotConfig): games.jass.logic.server.domain.ServerGameEngineContract;
|
|
3210
|
+
createGameEngineWithLogic(reducers?: Array<(p0: any/* games.jass.logic.redux.AppState */, p1: any) => any/* games.jass.logic.redux.AppState */>, middlewares?: Array<(p0: com.logic.redux.store.definitions.Store<any/* games.jass.logic.redux.AppState */>, p1: (p0: com.logic.redux.store.definitions.Action) => void, p2: any) => void>, serverConfig?: games.jass.logic.data.models.config.ServerReduxConfig, logicConfig?: games.jass.logic.data.models.EngineLogicConfig, dealerConfig?: games.jass.logic.data.models.DealerConfig, ratingConfig?: games.jass.logic.data.models.config.RatingConfig, leaguesConfig?: games.jass.logic.data.models.leagues.LeaguesConfig, coreConfig?: com.logic.data.models.CoreConfig, botConfig?: games.jass.logic.data.models.EngineBotConfig): games.jass.logic.server.domain.ServerGameEngineContract;
|
|
3208
3211
|
readonly __doNotUseOrImplementIt: {
|
|
3209
3212
|
readonly GameEngineController: unique symbol;
|
|
3210
3213
|
};
|