game_client_logic_deb 1.8.324 → 1.8.326
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/Kotlin-DateTime-library-kotlinx-datetime.js +2 -2
- package/Logic_Debertz-core.js +12 -3
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +6817 -6612
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +15 -9
- package/Logic_Debertz-game_client.js +2167 -2167
- package/kotlin-kotlin-stdlib.js +10 -10
- 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
|
@@ -252,12 +252,16 @@ export declare namespace com.logic.data.models {
|
|
|
252
252
|
get name(): "NO_ACTIVE_PLAYERS";
|
|
253
253
|
get ordinal(): 3;
|
|
254
254
|
};
|
|
255
|
+
static get REVENGED(): com.logic.data.models.GameFinishedReason.Reason & {
|
|
256
|
+
get name(): "REVENGED";
|
|
257
|
+
get ordinal(): 4;
|
|
258
|
+
};
|
|
255
259
|
static get GAME_NOT_EXISTS(): com.logic.data.models.GameFinishedReason.Reason & {
|
|
256
260
|
get name(): "GAME_NOT_EXISTS";
|
|
257
|
-
get ordinal():
|
|
261
|
+
get ordinal(): 5;
|
|
258
262
|
};
|
|
259
|
-
get name(): "DEPLOY" | "PLAYER_DELETED" | "FINISHED" | "NO_ACTIVE_PLAYERS" | "GAME_NOT_EXISTS";
|
|
260
|
-
get ordinal(): 0 | 1 | 2 | 3 | 4;
|
|
263
|
+
get name(): "DEPLOY" | "PLAYER_DELETED" | "FINISHED" | "NO_ACTIVE_PLAYERS" | "REVENGED" | "GAME_NOT_EXISTS";
|
|
264
|
+
get ordinal(): 0 | 1 | 2 | 3 | 4 | 5;
|
|
261
265
|
static values(): Array<com.logic.data.models.GameFinishedReason.Reason>;
|
|
262
266
|
static valueOf(value: string): com.logic.data.models.GameFinishedReason.Reason;
|
|
263
267
|
static get Companion(): {
|
|
@@ -1860,19 +1864,18 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
|
|
|
1860
1864
|
}
|
|
1861
1865
|
/* @ts-ignore: https://github.com/microsoft/TypeScript/issues/4628 */
|
|
1862
1866
|
class FinishingGameMechanicAction extends games.jass.logic.redux.actions.mechanic.MechanicAction implements games.jass.logic.redux.actions.mechanic.TerminatedAction, com.logic.redux.actions.validation.NotValidateIfGameFinishing {
|
|
1863
|
-
constructor(reason: com.logic.data.models.TerminationGameReason, isGameFinished: boolean, transition: Nullable<games.jass.logic.redux.actions.mechanic.GameTransition>, sessionAnalytics
|
|
1867
|
+
constructor(reason: com.logic.data.models.TerminationGameReason, isGameFinished: boolean, transition: Nullable<games.jass.logic.redux.actions.mechanic.GameTransition>, sessionAnalytics?: Nullable<games.jass.logic.data.models.GameSessionAnalytics>, gameHistory?: Nullable<games.jass.logic.data.models.table.history.GameHistory>, isRoundHistorySaved?: boolean, aid?: Nullable<string>);
|
|
1864
1868
|
get reason(): com.logic.data.models.TerminationGameReason;
|
|
1865
1869
|
get isGameFinished(): boolean;
|
|
1866
1870
|
get transition(): Nullable<games.jass.logic.redux.actions.mechanic.GameTransition>;
|
|
1867
1871
|
get sessionAnalytics(): Nullable<games.jass.logic.data.models.GameSessionAnalytics>;
|
|
1868
|
-
get players(): Nullable<Array<string>>;
|
|
1869
1872
|
get gameHistory(): Nullable<games.jass.logic.data.models.table.history.GameHistory>;
|
|
1870
1873
|
get isRoundHistorySaved(): boolean;
|
|
1871
1874
|
get aid(): Nullable<string>;
|
|
1872
1875
|
toString(): string;
|
|
1873
|
-
|
|
1876
|
+
copy(reason?: com.logic.data.models.TerminationGameReason, isGameFinished?: boolean, transition?: Nullable<games.jass.logic.redux.actions.mechanic.GameTransition>, sessionAnalytics?: Nullable<games.jass.logic.data.models.GameSessionAnalytics>, gameHistory?: Nullable<games.jass.logic.data.models.table.history.GameHistory>, isRoundHistorySaved?: boolean, aid?: Nullable<string>): games.jass.logic.redux.actions.mechanic.FinishingGameMechanicAction;
|
|
1874
1877
|
hashCode(): number;
|
|
1875
|
-
|
|
1878
|
+
equals(other: Nullable<any>): boolean;
|
|
1876
1879
|
get actionTag(): string;
|
|
1877
1880
|
notValidateWhenFinishing(): boolean;
|
|
1878
1881
|
readonly __doNotUseOrImplementIt: games.jass.logic.redux.actions.mechanic.MechanicAction["__doNotUseOrImplementIt"] & games.jass.logic.redux.actions.mechanic.TerminatedAction["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinishing["__doNotUseOrImplementIt"];
|
|
@@ -1960,12 +1963,14 @@ export declare interface GameHelper {
|
|
|
1960
1963
|
mapPoints(points: number): games.jass.logic.data.models.table.config.PointsMode;
|
|
1961
1964
|
mapPlayers(players: number): games.jass.logic.data.models.table.config.PlayersMode;
|
|
1962
1965
|
mapRules(rules: any): games.jass.logic.data.models.rules.Rules;
|
|
1963
|
-
|
|
1964
|
-
|
|
1966
|
+
prepareLobbyConfigWithPagination(config: any): any;
|
|
1967
|
+
prepareLobbyConfig(config: any): any;
|
|
1968
|
+
prepareLeagueConfig(config: any): any;
|
|
1965
1969
|
isValidConfigObject(config: any): boolean;
|
|
1966
1970
|
getRulesByType(rulesSetType: games.jass.logic.data.models.rules.RulesSetType): games.jass.logic.data.models.rules.Rules;
|
|
1967
1971
|
getRulesByString(name: string): games.jass.logic.data.models.rules.Rules;
|
|
1968
1972
|
mapRulesSetType(name: string): games.jass.logic.data.models.rules.RulesSetType;
|
|
1973
|
+
mapToLeague(name: string): games.jass.logic.data.models.leagues.League;
|
|
1969
1974
|
readonly __doNotUseOrImplementIt: {
|
|
1970
1975
|
readonly GameHelper: unique symbol;
|
|
1971
1976
|
};
|
|
@@ -2003,6 +2008,7 @@ export declare interface RatingHelper {
|
|
|
2003
2008
|
isValidRatingForLeague(league: games.jass.logic.data.models.leagues.League, rating: number): boolean;
|
|
2004
2009
|
mapRatingToLeague(rating: number): games.jass.logic.data.models.leagues.League;
|
|
2005
2010
|
getLeaguesConfig(): games.jass.logic.data.models.leagues.LeaguesConfig;
|
|
2011
|
+
mapToLeague(name: string): games.jass.logic.data.models.leagues.League;
|
|
2006
2012
|
readonly __doNotUseOrImplementIt: {
|
|
2007
2013
|
readonly RatingHelper: unique symbol;
|
|
2008
2014
|
};
|