game_client_logic_deb 1.8.324 → 1.8.325

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.
@@ -252,12 +252,16 @@ export declare namespace com.logic.data.models {
252
252
  get name(): "NO_ACTIVE_PLAYERS";
253
253
  get ordinal(): 3;
254
254
  };
255
+ static get REVENGED(): com.logic.data.models.GameFinishedReason.Reason & {
256
+ get name(): "REVENGED";
257
+ get ordinal(): 4;
258
+ };
255
259
  static get GAME_NOT_EXISTS(): com.logic.data.models.GameFinishedReason.Reason & {
256
260
  get name(): "GAME_NOT_EXISTS";
257
- get ordinal(): 4;
261
+ get ordinal(): 5;
258
262
  };
259
- get name(): "DEPLOY" | "PLAYER_DELETED" | "FINISHED" | "NO_ACTIVE_PLAYERS" | "GAME_NOT_EXISTS";
260
- get ordinal(): 0 | 1 | 2 | 3 | 4;
263
+ get name(): "DEPLOY" | "PLAYER_DELETED" | "FINISHED" | "NO_ACTIVE_PLAYERS" | "REVENGED" | "GAME_NOT_EXISTS";
264
+ get ordinal(): 0 | 1 | 2 | 3 | 4 | 5;
261
265
  static values(): Array<com.logic.data.models.GameFinishedReason.Reason>;
262
266
  static valueOf(value: string): com.logic.data.models.GameFinishedReason.Reason;
263
267
  static get Companion(): {
@@ -1860,19 +1864,18 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
1860
1864
  }
1861
1865
  /* @ts-ignore: https://github.com/microsoft/TypeScript/issues/4628 */
1862
1866
  class FinishingGameMechanicAction extends games.jass.logic.redux.actions.mechanic.MechanicAction implements games.jass.logic.redux.actions.mechanic.TerminatedAction, com.logic.redux.actions.validation.NotValidateIfGameFinishing {
1863
- constructor(reason: com.logic.data.models.TerminationGameReason, isGameFinished: boolean, transition: Nullable<games.jass.logic.redux.actions.mechanic.GameTransition>, sessionAnalytics: Nullable<games.jass.logic.data.models.GameSessionAnalytics> | undefined, players: Nullable<Array<string>>, gameHistory?: Nullable<games.jass.logic.data.models.table.history.GameHistory>, isRoundHistorySaved?: boolean, aid?: Nullable<string>);
1867
+ constructor(reason: com.logic.data.models.TerminationGameReason, isGameFinished: boolean, transition: Nullable<games.jass.logic.redux.actions.mechanic.GameTransition>, sessionAnalytics?: Nullable<games.jass.logic.data.models.GameSessionAnalytics>, gameHistory?: Nullable<games.jass.logic.data.models.table.history.GameHistory>, isRoundHistorySaved?: boolean, aid?: Nullable<string>);
1864
1868
  get reason(): com.logic.data.models.TerminationGameReason;
1865
1869
  get isGameFinished(): boolean;
1866
1870
  get transition(): Nullable<games.jass.logic.redux.actions.mechanic.GameTransition>;
1867
1871
  get sessionAnalytics(): Nullable<games.jass.logic.data.models.GameSessionAnalytics>;
1868
- get players(): Nullable<Array<string>>;
1869
1872
  get gameHistory(): Nullable<games.jass.logic.data.models.table.history.GameHistory>;
1870
1873
  get isRoundHistorySaved(): boolean;
1871
1874
  get aid(): Nullable<string>;
1872
1875
  toString(): string;
1873
- equals(other: Nullable<any>): boolean;
1876
+ copy(reason?: com.logic.data.models.TerminationGameReason, isGameFinished?: boolean, transition?: Nullable<games.jass.logic.redux.actions.mechanic.GameTransition>, sessionAnalytics?: Nullable<games.jass.logic.data.models.GameSessionAnalytics>, gameHistory?: Nullable<games.jass.logic.data.models.table.history.GameHistory>, isRoundHistorySaved?: boolean, aid?: Nullable<string>): games.jass.logic.redux.actions.mechanic.FinishingGameMechanicAction;
1874
1877
  hashCode(): number;
1875
- copy(reason?: com.logic.data.models.TerminationGameReason, isGameFinished?: boolean, transition?: Nullable<games.jass.logic.redux.actions.mechanic.GameTransition>, sessionAnalytics?: Nullable<games.jass.logic.data.models.GameSessionAnalytics>, players?: Nullable<Array<string>>, gameHistory?: Nullable<games.jass.logic.data.models.table.history.GameHistory>, isRoundHistorySaved?: boolean, aid?: Nullable<string>): games.jass.logic.redux.actions.mechanic.FinishingGameMechanicAction;
1878
+ equals(other: Nullable<any>): boolean;
1876
1879
  get actionTag(): string;
1877
1880
  notValidateWhenFinishing(): boolean;
1878
1881
  readonly __doNotUseOrImplementIt: games.jass.logic.redux.actions.mechanic.MechanicAction["__doNotUseOrImplementIt"] & games.jass.logic.redux.actions.mechanic.TerminatedAction["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinishing["__doNotUseOrImplementIt"];
@@ -1966,6 +1969,7 @@ export declare interface GameHelper {
1966
1969
  getRulesByType(rulesSetType: games.jass.logic.data.models.rules.RulesSetType): games.jass.logic.data.models.rules.Rules;
1967
1970
  getRulesByString(name: string): games.jass.logic.data.models.rules.Rules;
1968
1971
  mapRulesSetType(name: string): games.jass.logic.data.models.rules.RulesSetType;
1972
+ mapToLeague(name: string): games.jass.logic.data.models.leagues.League;
1969
1973
  readonly __doNotUseOrImplementIt: {
1970
1974
  readonly GameHelper: unique symbol;
1971
1975
  };
@@ -2003,6 +2007,7 @@ export declare interface RatingHelper {
2003
2007
  isValidRatingForLeague(league: games.jass.logic.data.models.leagues.League, rating: number): boolean;
2004
2008
  mapRatingToLeague(rating: number): games.jass.logic.data.models.leagues.League;
2005
2009
  getLeaguesConfig(): games.jass.logic.data.models.leagues.LeaguesConfig;
2010
+ mapToLeague(name: string): games.jass.logic.data.models.leagues.League;
2006
2011
  readonly __doNotUseOrImplementIt: {
2007
2012
  readonly RatingHelper: unique symbol;
2008
2013
  };