raspberry_games_server_game_logic 1.8.411 → 1.8.413
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-ai_module.js +314 -314
- package/Logic_Debertz-core.js +332 -291
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +13634 -13057
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.d.ts +48 -1
- package/Logic_Debertz-game_server.js +1099 -1023
- 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 +7 -7
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -568,6 +568,23 @@ export declare namespace com.logic.data.models.player {
|
|
|
568
568
|
}
|
|
569
569
|
}
|
|
570
570
|
}
|
|
571
|
+
export declare namespace com.logic.data.models.player {
|
|
572
|
+
class Team {
|
|
573
|
+
constructor(playerIds: kotlin.collections.KtList<string>);
|
|
574
|
+
get playerIds(): kotlin.collections.KtList<string>;
|
|
575
|
+
containsPlayer(playerId: string): boolean;
|
|
576
|
+
get first(): string;
|
|
577
|
+
get second(): string;
|
|
578
|
+
copy(playerIds?: kotlin.collections.KtList<string>): com.logic.data.models.player.Team;
|
|
579
|
+
toString(): string;
|
|
580
|
+
hashCode(): number;
|
|
581
|
+
equals(other: Nullable<any>): boolean;
|
|
582
|
+
}
|
|
583
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
584
|
+
namespace Team.$metadata$ {
|
|
585
|
+
const constructor: abstract new () => Team;
|
|
586
|
+
}
|
|
587
|
+
}
|
|
571
588
|
export declare namespace com.logic.redux.actions {
|
|
572
589
|
interface BufferedAction extends com.logic.redux.store.definitions.Action {
|
|
573
590
|
readonly __doNotUseOrImplementIt: {
|
|
@@ -1312,6 +1329,17 @@ export declare namespace games.jass.logic.data.models.player.points {
|
|
|
1312
1329
|
const constructor: abstract new () => PointsDistributeMode;
|
|
1313
1330
|
}
|
|
1314
1331
|
}
|
|
1332
|
+
export declare namespace games.jass.logic.data.models.player.state {
|
|
1333
|
+
class PlayerLeftResult {
|
|
1334
|
+
constructor(playerAchievements: Nullable<games.jass.logic.data.models.player.achievements.PlayerAchievements>, playerGameAnalytics: Nullable<games.jass.logic.data.models.player.analytics.PlayerAnalytics>);
|
|
1335
|
+
get playerAchievements(): Nullable<games.jass.logic.data.models.player.achievements.PlayerAchievements>;
|
|
1336
|
+
get playerGameAnalytics(): Nullable<games.jass.logic.data.models.player.analytics.PlayerAnalytics>;
|
|
1337
|
+
}
|
|
1338
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
1339
|
+
namespace PlayerLeftResult.$metadata$ {
|
|
1340
|
+
const constructor: abstract new () => PlayerLeftResult;
|
|
1341
|
+
}
|
|
1342
|
+
}
|
|
1315
1343
|
export declare namespace games.jass.logic.data.models.player.state {
|
|
1316
1344
|
abstract class RoundContractState {
|
|
1317
1345
|
private constructor();
|
|
@@ -2709,6 +2737,24 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
|
|
|
2709
2737
|
readonly "games.jass.logic.redux.actions.mechanic.TerminatedAction": unique symbol;
|
|
2710
2738
|
} & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
|
|
2711
2739
|
}
|
|
2740
|
+
class TeamsDataMechanicAction extends games.jass.logic.redux.actions.mechanic.MechanicAction.$metadata$.constructor implements com.logic.redux.store.definitions.Action, com.logic.redux.actions.BufferedAction, games.jass.logic.redux.actions.mechanic.PlayerOrderChangeMechanicAction/*, games.jass.logic.redux.actions.mechanic.InSceneAction, games.jass.logic.redux.actions.mechanic.PlayerTurnAnswerAction, com.logic.redux.actions.InterceptableAction */ {
|
|
2741
|
+
constructor(team1: com.logic.data.models.player.Team, team2: com.logic.data.models.player.Team, aid?: Nullable<string>);
|
|
2742
|
+
get team1(): com.logic.data.models.player.Team;
|
|
2743
|
+
get team2(): com.logic.data.models.player.Team;
|
|
2744
|
+
get aid(): Nullable<string>;
|
|
2745
|
+
get usersOrder(): kotlin.collections.KtList<string>;
|
|
2746
|
+
getSelectedPlayerId(gameCreatorPlayerId: string): string;
|
|
2747
|
+
copy(team1?: com.logic.data.models.player.Team, team2?: com.logic.data.models.player.Team, aid?: Nullable<string>): games.jass.logic.redux.actions.mechanic.TeamsDataMechanicAction;
|
|
2748
|
+
toString(): string;
|
|
2749
|
+
hashCode(): number;
|
|
2750
|
+
equals(other: Nullable<any>): boolean;
|
|
2751
|
+
get actionTag(): string;
|
|
2752
|
+
readonly __doNotUseOrImplementIt: games.jass.logic.redux.actions.mechanic.MechanicAction["__doNotUseOrImplementIt"] & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"] & com.logic.redux.actions.BufferedAction["__doNotUseOrImplementIt"] & games.jass.logic.redux.actions.mechanic.PlayerOrderChangeMechanicAction["__doNotUseOrImplementIt"];
|
|
2753
|
+
}
|
|
2754
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
2755
|
+
namespace TeamsDataMechanicAction.$metadata$ {
|
|
2756
|
+
const constructor: abstract new () => TeamsDataMechanicAction;
|
|
2757
|
+
}
|
|
2712
2758
|
class PlayerConnectionChangedMechanicAction extends games.jass.logic.redux.actions.mechanic.MechanicAction.$metadata$.constructor implements com.logic.redux.actions.validation.NotValidateIfGameFinished {
|
|
2713
2759
|
constructor(playerId: string, state: com.logic.data.models.player.PlayerConnectionState, causeState?: Nullable<com.logic.data.models.player.PlayerConnectionState>, isNoneActivePlayers?: boolean, reconnectUntilTime?: Nullable<string>, aid?: Nullable<string>);
|
|
2714
2760
|
get playerId(): string;
|
|
@@ -2791,6 +2837,7 @@ export declare interface RatingHelper {
|
|
|
2791
2837
|
isValidRatingForLeague(league: games.jass.logic.data.models.leagues.League, rating: number): boolean;
|
|
2792
2838
|
mapRatingToLeague(rating: number): games.jass.logic.data.models.leagues.League;
|
|
2793
2839
|
getLeaguesConfig(): games.jass.logic.data.models.leagues.LeaguesConfig;
|
|
2840
|
+
getLeaguesConfigJson(): string;
|
|
2794
2841
|
readonly __doNotUseOrImplementIt: {
|
|
2795
2842
|
readonly RatingHelper: unique symbol;
|
|
2796
2843
|
};
|
|
@@ -2952,7 +2999,7 @@ export declare namespace games.jass.logic.server.domain {
|
|
|
2952
2999
|
roomOnDelete(newRid?: Nullable<string>): void;
|
|
2953
3000
|
playerLostConnection(playerId: string): void;
|
|
2954
3001
|
playerLive(playerId: string): void;
|
|
2955
|
-
playerLeft(playerId: string, permanently?: boolean):
|
|
3002
|
+
playerLeft(playerId: string, permanently?: boolean): games.jass.logic.data.models.player.state.PlayerLeftResult;
|
|
2956
3003
|
fromClientEvent(action: games.jass.logic.redux.actions.client.from.FromClientAction): void;
|
|
2957
3004
|
subscribeToClientAction(subscriber: (p0: games.jass.logic.redux.actions.client.to.ToClientAction) => void): void;
|
|
2958
3005
|
subscribeServerStateUpdate(subscriber: (p0: games.jass.logic.server.data.models.state.ServerStateUpdate) => void): void;
|