raspberry_games_server_game_logic 1.8.267 → 1.8.269

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.
@@ -317,16 +317,17 @@ export declare namespace com.logic.data.models {
317
317
  }
318
318
  export declare namespace com.logic.data.models.player {
319
319
  class GameUserInfo implements com.logic.data.models.player.PlayerIdContract {
320
- constructor(playerId: string, name: string, avatarUrl?: Nullable<string>, isBot?: boolean, initialRating?: Nullable<number>, initialLuckyFactor?: Nullable<number>, payload?: Nullable<any>);
320
+ constructor(playerId: string, name: string, avatarUrl?: Nullable<string>, isBot?: boolean, rating?: Nullable<number>, initialLuckyFactor?: Nullable<number>, payload?: Nullable<any>);
321
321
  get playerId(): string;
322
322
  get name(): string;
323
323
  get avatarUrl(): Nullable<string>;
324
324
  get isBot(): boolean;
325
- get initialRating(): Nullable<number>;
325
+ get rating(): Nullable<number>;
326
326
  get initialLuckyFactor(): Nullable<number>;
327
327
  get payload(): Nullable<any>;
328
+ getRatingOrDefault(initialUserRating: number): number;
328
329
  toString(): string;
329
- copy(playerId?: string, name?: string, avatarUrl?: Nullable<string>, isBot?: boolean, initialRating?: Nullable<number>, initialLuckyFactor?: Nullable<number>, payload?: Nullable<any>): com.logic.data.models.player.GameUserInfo;
330
+ copy(playerId?: string, name?: string, avatarUrl?: Nullable<string>, isBot?: boolean, rating?: Nullable<number>, initialLuckyFactor?: Nullable<number>, payload?: Nullable<any>): com.logic.data.models.player.GameUserInfo;
330
331
  hashCode(): number;
331
332
  equals(other: Nullable<any>): boolean;
332
333
  readonly __doNotUseOrImplementIt: com.logic.data.models.player.PlayerIdContract["__doNotUseOrImplementIt"];
@@ -755,11 +756,10 @@ export declare namespace games.jass.logic.data.models.player {
755
756
  }
756
757
  export declare namespace games.jass.logic.data.models.player {
757
758
  class UserProfilePayload {
758
- constructor(socketId?: Nullable<string>, rating?: Nullable<number>, playedGamesCount?: number);
759
+ constructor(socketId?: Nullable<string>, playedGamesCount?: number);
759
760
  get socketId(): Nullable<string>;
760
- get rating(): Nullable<number>;
761
761
  get playedGamesCount(): number;
762
- copy(socketId?: Nullable<string>, rating?: Nullable<number>, playedGamesCount?: number): games.jass.logic.data.models.player.UserProfilePayload;
762
+ copy(socketId?: Nullable<string>, playedGamesCount?: number): games.jass.logic.data.models.player.UserProfilePayload;
763
763
  toString(): string;
764
764
  hashCode(): number;
765
765
  equals(other: Nullable<any>): boolean;