raspberry_games_server_game_logic 1.8.266 → 1.8.268

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