raspberry_games_server_game_logic 1.8.286 → 1.8.288

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,17 +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, rating?: Nullable<number>, initialLuckyFactor?: Nullable<number>, payload?: Nullable<any>);
320
+ constructor(playerId: string, name: string, avatarUrl?: Nullable<string>, isBot?: boolean, initialLuckyFactor?: Nullable<number>, rating?: 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>;
326
325
  get initialLuckyFactor(): Nullable<number>;
326
+ get rating(): Nullable<number>;
327
327
  get payload(): Nullable<any>;
328
328
  getRatingOrDefault(initialUserRating: number): number;
329
329
  toString(): string;
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
+ copy(playerId?: string, name?: string, avatarUrl?: Nullable<string>, isBot?: boolean, initialLuckyFactor?: Nullable<number>, rating?: Nullable<number>, payload?: Nullable<any>): com.logic.data.models.player.GameUserInfo;
331
331
  hashCode(): number;
332
332
  equals(other: Nullable<any>): boolean;
333
333
  readonly __doNotUseOrImplementIt: com.logic.data.models.player.PlayerIdContract["__doNotUseOrImplementIt"];
@@ -1482,6 +1482,17 @@ export declare namespace games.jass.logic.data.models.table.config {
1482
1482
  static valueOf(value: string): games.jass.logic.data.models.table.config.RoomMode;
1483
1483
  }
1484
1484
  }
1485
+ export declare namespace games.jass.logic.data.models.table.history {
1486
+ class ClientGameHistory {
1487
+ constructor(roundNumber: Nullable<number>, metadata: Nullable<games.jass.logic.data.models.table.history.GameHistoryMetadata>);
1488
+ get roundNumber(): Nullable<number>;
1489
+ get metadata(): Nullable<games.jass.logic.data.models.table.history.GameHistoryMetadata>;
1490
+ copy(roundNumber?: Nullable<number>, metadata?: Nullable<games.jass.logic.data.models.table.history.GameHistoryMetadata>): games.jass.logic.data.models.table.history.ClientGameHistory;
1491
+ toString(): string;
1492
+ hashCode(): number;
1493
+ equals(other: Nullable<any>): boolean;
1494
+ }
1495
+ }
1485
1496
  export declare namespace games.jass.logic.data.models.table.history {
1486
1497
  class GameHistory {
1487
1498
  constructor(gameId: string, createdAt: any/* kotlinx.datetime.Instant */, rounds: Array<games.jass.logic.data.models.table.history.RoundHistory>, gameWinners: Nullable<Array<string>>, metadata: Nullable<games.jass.logic.data.models.table.history.GameHistoryMetadata>);