raspberry_games_server_game_logic 1.8.267 → 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.
- package/Logic_Debertz-core.js +22 -18
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +907 -919
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.d.ts +6 -6
- package/Logic_Debertz-game_server.js +332 -286
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +6 -6
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +8 -8
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -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,
|
|
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
|
|
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,
|
|
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>,
|
|
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>,
|
|
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;
|