game_client_logic_deb 1.8.225 → 1.8.243
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/Kosi-Kaverit-kaverit.js +82 -82
- package/Kosi-Kaverit-kaverit.js.map +1 -1
- package/Kosi-Kodein-kodein-di.js +735 -730
- package/Kosi-Kodein-kodein-di.js.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1554 -1519
- package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
- package/Logic_Debertz-core.js +1516 -1493
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +13305 -12824
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +54 -19
- package/Logic_Debertz-game_client.js +4706 -4537
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +2340 -2603
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +25 -25
- package/kotlinx-atomicfu.js.map +1 -1
- package/kotlinx-coroutines-core.js +2875 -2881
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-core.js +976 -575
- package/kotlinx-io-kotlinx-io-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core.js +2026 -2047
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +1556 -1556
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/ktor-ktor-client-content-negotiation.js +219 -219
- package/ktor-ktor-client-core.js +2533 -2533
- package/ktor-ktor-client-logging.js +553 -553
- package/ktor-ktor-events.js +12 -12
- package/ktor-ktor-http.js +747 -747
- package/ktor-ktor-io.js +1648 -1648
- package/ktor-ktor-io.js.map +1 -1
- package/ktor-ktor-serialization-kotlinx-json.js +8 -8
- package/ktor-ktor-serialization-kotlinx.js +273 -273
- package/ktor-ktor-serialization.js +131 -131
- package/ktor-ktor-utils.js +727 -727
- package/ktor-ktor-utils.js.map +1 -1
- package/ktor-ktor-websockets.js +60 -60
- package/package.json +1 -1
- package/raspberry-cardgame-lib-core.js +264 -264
- package/raspberry-cardgame-lib-logger.js +102 -102
- package/raspberry-cardgame-lib-random.js +998 -1004
- package/raspberry-cardgame-lib-random.js.map +1 -1
- package/secure-random-secure-random.js +20 -20
- package/uuid.js +32 -32
|
@@ -93,17 +93,17 @@ export declare namespace games.raspberry.card_game.random.data.models {
|
|
|
93
93
|
}
|
|
94
94
|
export declare namespace games.raspberry.card_game.random.data.models {
|
|
95
95
|
class GameCardDecksRecord {
|
|
96
|
-
constructor(
|
|
97
|
-
get
|
|
96
|
+
constructor(poolId: string, signature: Nullable<string>, userData: games.raspberry.card_game.random.data.models.CardDeckRequestUserData, rounds?: kotlin.collections.KtList<games.raspberry.card_game.random.data.models.GameCardDeckData>);
|
|
97
|
+
get poolId(): string;
|
|
98
98
|
get signature(): Nullable<string>;
|
|
99
99
|
get userData(): games.raspberry.card_game.random.data.models.CardDeckRequestUserData;
|
|
100
100
|
get rounds(): kotlin.collections.KtList<games.raspberry.card_game.random.data.models.GameCardDeckData>;
|
|
101
|
-
copy(
|
|
101
|
+
copy(poolId?: string, signature?: Nullable<string>, userData?: games.raspberry.card_game.random.data.models.CardDeckRequestUserData, rounds?: kotlin.collections.KtList<games.raspberry.card_game.random.data.models.GameCardDeckData>): games.raspberry.card_game.random.data.models.GameCardDecksRecord;
|
|
102
102
|
toString(): string;
|
|
103
103
|
hashCode(): number;
|
|
104
104
|
equals(other: Nullable<any>): boolean;
|
|
105
105
|
static get Companion(): {
|
|
106
|
-
firstRound(
|
|
106
|
+
firstRound(poolId: string, signature: Nullable<string>, newCardDeckData: games.raspberry.card_game.random.data.models.GameCardDeckData, userData: games.raspberry.card_game.random.data.models.CardDeckRequestUserData): games.raspberry.card_game.random.data.models.GameCardDecksRecord;
|
|
107
107
|
newRound(gameCardDecksRecord: games.raspberry.card_game.random.data.models.GameCardDecksRecord, newCardDeckData: games.raspberry.card_game.random.data.models.GameCardDeckData): games.raspberry.card_game.random.data.models.GameCardDecksRecord;
|
|
108
108
|
};
|
|
109
109
|
}
|
|
@@ -536,23 +536,24 @@ export declare namespace games.jass.logic.data.models {
|
|
|
536
536
|
}
|
|
537
537
|
export declare namespace games.jass.logic.data.models {
|
|
538
538
|
class EngineLogicConfig {
|
|
539
|
-
constructor(supportBackwardActions?: boolean, validateTestMode?: boolean, verboseGameHistory?: boolean, gameHistoryAnalytics?: boolean, validateFromClientActionTags?: boolean, validateIfMainThread?: boolean, playerTimeoutFactorToFinishStep?: number, openRoomIfFinished?: boolean, minPlayersToOpenRoom?: number);
|
|
539
|
+
constructor(supportBackwardActions?: boolean, validateTestMode?: boolean, verboseGameHistory?: boolean, gameHistoryAnalytics?: boolean, updateRating?: boolean, validateFromClientActionTags?: boolean, validateIfMainThread?: boolean, playerTimeoutFactorToFinishStep?: number, openRoomIfFinished?: boolean, minPlayersToOpenRoom?: number);
|
|
540
540
|
get supportBackwardActions(): boolean;
|
|
541
541
|
get validateTestMode(): boolean;
|
|
542
542
|
get verboseGameHistory(): boolean;
|
|
543
543
|
get gameHistoryMetadata(): boolean;
|
|
544
|
+
get updateRating(): boolean;
|
|
544
545
|
get validateFromClientActionTags(): boolean;
|
|
545
546
|
get validateIfMainThread(): boolean;
|
|
546
547
|
get playerTimeoutFactorToFinishStep(): number;
|
|
547
548
|
get openRoomIfFinished(): boolean;
|
|
548
549
|
get minPlayersToOpenRoom(): number;
|
|
549
|
-
copy(supportBackwardActions?: boolean, validateTestMode?: boolean, verboseGameHistory?: boolean, gameHistoryAnalytics?: boolean, validateFromClientActionTags?: boolean, validateIfMainThread?: boolean, playerTimeoutFactorToFinishStep?: number, openRoomIfFinished?: boolean, minPlayersToOpenRoom?: number): games.jass.logic.data.models.EngineLogicConfig;
|
|
550
|
+
copy(supportBackwardActions?: boolean, validateTestMode?: boolean, verboseGameHistory?: boolean, gameHistoryAnalytics?: boolean, updateRating?: boolean, validateFromClientActionTags?: boolean, validateIfMainThread?: boolean, playerTimeoutFactorToFinishStep?: number, openRoomIfFinished?: boolean, minPlayersToOpenRoom?: number): games.jass.logic.data.models.EngineLogicConfig;
|
|
550
551
|
toString(): string;
|
|
551
552
|
hashCode(): number;
|
|
552
553
|
equals(other: Nullable<any>): boolean;
|
|
553
554
|
static get Companion(): {
|
|
554
555
|
getClientEngineTestMode(): games.jass.logic.data.models.EngineLogicConfig;
|
|
555
|
-
getServerEngineMode(isProduction: boolean, supportBackwardActions?: boolean, validateFromClientActionTags?: boolean, playerTimeoutFactorToFinishStep?: number): games.jass.logic.data.models.EngineLogicConfig;
|
|
556
|
+
getServerEngineMode(isProduction: boolean, supportBackwardActions?: boolean, validateFromClientActionTags?: boolean, openRoomIfFinished?: boolean, updateRating?: boolean, playerTimeoutFactorToFinishStep?: number): games.jass.logic.data.models.EngineLogicConfig;
|
|
556
557
|
};
|
|
557
558
|
}
|
|
558
559
|
}
|
|
@@ -696,6 +697,7 @@ export declare namespace games.jass.logic.data.models.player.achievements {
|
|
|
696
697
|
constructor(oldRating: number, newRating: number);
|
|
697
698
|
get oldRating(): number;
|
|
698
699
|
get newRating(): number;
|
|
700
|
+
get isRatingUp(): boolean;
|
|
699
701
|
copy(oldRating?: number, newRating?: number): games.jass.logic.data.models.player.achievements.Achievements;
|
|
700
702
|
toString(): string;
|
|
701
703
|
hashCode(): number;
|
|
@@ -753,8 +755,9 @@ export declare namespace games.jass.logic.data.models.player.analytics {
|
|
|
753
755
|
}
|
|
754
756
|
}
|
|
755
757
|
export declare namespace games.jass.logic.data.models.player.analytics {
|
|
756
|
-
class PlayerHistoryAnalytics
|
|
758
|
+
class PlayerHistoryAnalytics implements com.logic.data.models.player.PlayerIdContract/*, games.jass.logic.data.models.table.history.PlayerHistoryItem */ {
|
|
757
759
|
constructor(playerId: string, liveDurationPercentage: Nullable<number>, combinations: Nullable<kotlin.collections.KtList<games.jass.logic.data.models.player.analytics.CombinationAnalytics>>, achievements: Nullable<games.jass.logic.data.models.player.achievements.Achievements>);
|
|
760
|
+
get playerId(): string;
|
|
758
761
|
get liveDurationPercentage(): Nullable<number>;
|
|
759
762
|
get combinations(): Nullable<kotlin.collections.KtList<games.jass.logic.data.models.player.analytics.CombinationAnalytics>>;
|
|
760
763
|
get achievements(): Nullable<games.jass.logic.data.models.player.achievements.Achievements>;
|
|
@@ -762,6 +765,7 @@ export declare namespace games.jass.logic.data.models.player.analytics {
|
|
|
762
765
|
toString(): string;
|
|
763
766
|
hashCode(): number;
|
|
764
767
|
equals(other: Nullable<any>): boolean;
|
|
768
|
+
readonly __doNotUseOrImplementIt: com.logic.data.models.player.PlayerIdContract["__doNotUseOrImplementIt"];
|
|
765
769
|
}
|
|
766
770
|
}
|
|
767
771
|
export declare namespace games.jass.logic.data.models.player.bids {
|
|
@@ -811,6 +815,27 @@ export declare namespace games.jass.logic.data.models.player.hand {
|
|
|
811
815
|
equals(other: Nullable<any>): boolean;
|
|
812
816
|
}
|
|
813
817
|
}
|
|
818
|
+
export declare namespace games.jass.logic.data.models.player.points {
|
|
819
|
+
abstract class PointsDistributeMode {
|
|
820
|
+
private constructor();
|
|
821
|
+
static get ALL(): games.jass.logic.data.models.player.points.PointsDistributeMode & {
|
|
822
|
+
get name(): "ALL";
|
|
823
|
+
get ordinal(): 0;
|
|
824
|
+
};
|
|
825
|
+
static get HIGHEST_PLAYER(): games.jass.logic.data.models.player.points.PointsDistributeMode & {
|
|
826
|
+
get name(): "HIGHEST_PLAYER";
|
|
827
|
+
get ordinal(): 1;
|
|
828
|
+
};
|
|
829
|
+
static get HIGHER_THEN_FAILED_PLAYER(): games.jass.logic.data.models.player.points.PointsDistributeMode & {
|
|
830
|
+
get name(): "HIGHER_THEN_FAILED_PLAYER";
|
|
831
|
+
get ordinal(): 2;
|
|
832
|
+
};
|
|
833
|
+
get name(): "ALL" | "HIGHEST_PLAYER" | "HIGHER_THEN_FAILED_PLAYER";
|
|
834
|
+
get ordinal(): 0 | 1 | 2;
|
|
835
|
+
static values(): Array<games.jass.logic.data.models.player.points.PointsDistributeMode>;
|
|
836
|
+
static valueOf(value: string): games.jass.logic.data.models.player.points.PointsDistributeMode;
|
|
837
|
+
}
|
|
838
|
+
}
|
|
814
839
|
export declare namespace games.jass.logic.data.models.player.state {
|
|
815
840
|
abstract class RoundContractState {
|
|
816
841
|
private constructor();
|
|
@@ -867,7 +892,7 @@ export declare namespace games.jass.logic.data.models.player.state {
|
|
|
867
892
|
}
|
|
868
893
|
export declare namespace games.jass.logic.data.models.rules {
|
|
869
894
|
class Rules {
|
|
870
|
-
constructor(needToPutHigherTrump: boolean, playerWhoChooseSuitGoFirst: boolean, winnerShuffleCards: boolean, playWithoutLiabilities: boolean, trumpCardGoToPlayerWhoShuffleCards: boolean, dealerInitialCardsCount: number, dealerFinalCardsCount: number, dealerCounterClockwise: boolean, contractTypes: Array<games.jass.logic.data.models.player.state.RoundContractType>, bidTypes: Array<games.jass.logic.data.models.player.bids.BidType>, combinationsWithFirstCard: Array<games.jass.logic.data.models.table.combinations.CombinationType>, protectBella: boolean, oneTryToProtectBella: boolean, enableFourSevensCombination: boolean, enableTrumpSevenCombination: boolean, enableTrumpSevenCombinationAfterDistribution: boolean, checkTrumpCombination: boolean, checkOnlyTrumpDebertz: boolean, distributePoints: boolean, enableFineAfterThirdFailedContract: boolean, fineAfterThirdFailedContract: number, enableFineIfNoBribes: boolean, fineIfNoBribes: number);
|
|
895
|
+
constructor(needToPutHigherTrump: boolean, playerWhoChooseSuitGoFirst: boolean, winnerShuffleCards: boolean, playWithoutLiabilities: boolean, trumpCardGoToPlayerWhoShuffleCards: boolean, dealerInitialCardsCount: number, dealerFinalCardsCount: number, dealerCounterClockwise: boolean, contractTypes: Array<games.jass.logic.data.models.player.state.RoundContractType>, bidTypes: Array<games.jass.logic.data.models.player.bids.BidType>, combinationsWithFirstCard: Array<games.jass.logic.data.models.table.combinations.CombinationType>, protectBella: boolean, oneTryToProtectBella: boolean, enableFourSevensCombination: boolean, enableTrumpSevenCombination: boolean, enableTrumpSevenCombinationAfterDistribution: boolean, checkTrumpCombination: boolean, checkOnlyTrumpDebertz: boolean, distributePoints: boolean, pointsDistributeMode: games.jass.logic.data.models.player.points.PointsDistributeMode, enableFineAfterThirdFailedContract: boolean, fineAfterThirdFailedContract: number, enableFineIfNoBribes: boolean, fineIfNoBribes: number);
|
|
871
896
|
get needToPutHigherTrump(): boolean;
|
|
872
897
|
get playerWhoChooseSuitGoFirst(): boolean;
|
|
873
898
|
get winnerShuffleCards(): boolean;
|
|
@@ -886,7 +911,9 @@ export declare namespace games.jass.logic.data.models.rules {
|
|
|
886
911
|
get enableTrumpSevenCombinationAfterDistribution(): boolean;
|
|
887
912
|
get checkTrumpCombination(): boolean;
|
|
888
913
|
get checkOnlyTrumpDebertz(): boolean;
|
|
914
|
+
/** @deprecated use [pointsDistributeMode] */
|
|
889
915
|
get distributePoints(): boolean;
|
|
916
|
+
get pointsDistributeMode(): games.jass.logic.data.models.player.points.PointsDistributeMode;
|
|
890
917
|
get enableFineAfterThirdByte(): boolean;
|
|
891
918
|
get fineAfterThirdFailedContract(): number;
|
|
892
919
|
get enableFineIfNoBribes(): boolean;
|
|
@@ -894,7 +921,7 @@ export declare namespace games.jass.logic.data.models.rules {
|
|
|
894
921
|
toString(): string;
|
|
895
922
|
equals(other: Nullable<any>): boolean;
|
|
896
923
|
hashCode(): number;
|
|
897
|
-
copy(needToPutHigherTrump?: boolean, playerWhoChooseSuitGoFirst?: boolean, winnerShuffleCards?: boolean, playWithoutLiabilities?: boolean, trumpCardGoToPlayerWhoShuffleCards?: boolean, dealerInitialCardsCount?: number, dealerFinalCardsCount?: number, dealerCounterClockwise?: boolean, contractTypes?: Array<games.jass.logic.data.models.player.state.RoundContractType>, bidTypes?: Array<games.jass.logic.data.models.player.bids.BidType>, combinationsWithFirstCard?: Array<games.jass.logic.data.models.table.combinations.CombinationType>, protectBella?: boolean, oneTryToProtectBella?: boolean, enableFourSevensCombination?: boolean, enableTrumpSevenCombination?: boolean, enableTrumpSevenCombinationAfterDistribution?: boolean, checkTrumpCombination?: boolean, checkOnlyTrumpDebertz?: boolean, distributePoints?: boolean, enableFineAfterThirdFailedContract?: boolean, fineAfterThirdFailedContract?: number, enableFineIfNoBribes?: boolean, fineIfNoBribes?: number): games.jass.logic.data.models.rules.Rules;
|
|
924
|
+
copy(needToPutHigherTrump?: boolean, playerWhoChooseSuitGoFirst?: boolean, winnerShuffleCards?: boolean, playWithoutLiabilities?: boolean, trumpCardGoToPlayerWhoShuffleCards?: boolean, dealerInitialCardsCount?: number, dealerFinalCardsCount?: number, dealerCounterClockwise?: boolean, contractTypes?: Array<games.jass.logic.data.models.player.state.RoundContractType>, bidTypes?: Array<games.jass.logic.data.models.player.bids.BidType>, combinationsWithFirstCard?: Array<games.jass.logic.data.models.table.combinations.CombinationType>, protectBella?: boolean, oneTryToProtectBella?: boolean, enableFourSevensCombination?: boolean, enableTrumpSevenCombination?: boolean, enableTrumpSevenCombinationAfterDistribution?: boolean, checkTrumpCombination?: boolean, checkOnlyTrumpDebertz?: boolean, distributePoints?: boolean, pointsDistributeMode?: games.jass.logic.data.models.player.points.PointsDistributeMode, enableFineAfterThirdFailedContract?: boolean, fineAfterThirdFailedContract?: number, enableFineIfNoBribes?: boolean, fineIfNoBribes?: number): games.jass.logic.data.models.rules.Rules;
|
|
898
925
|
static get Companion(): {
|
|
899
926
|
get HAND_CARDS_INITIAL(): number;
|
|
900
927
|
get HAND_CARDS_FINAL(): number;
|
|
@@ -962,12 +989,13 @@ export declare namespace games.jass.logic.data.models.scenes {
|
|
|
962
989
|
}
|
|
963
990
|
export declare namespace games.jass.logic.data.models.table {
|
|
964
991
|
class JassTable {
|
|
965
|
-
constructor(id: string, version: string, createdAt: any/* kotlinx.datetime.Instant */, config: games.jass.logic.data.models.table.config.Config, players: kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.player.JassPlayer */>, sceneInfo: any/* games.jass.logic.data.models.table.scene.SceneInfo */, cardsOnTable: kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.table.bribes.CardOnTable */>, bribes: kotlin.collections.KtList<any/* games.jass.logic.data.models.table.cards.Bribe */>, cardDeck: Nullable<any>/* Nullable<games.jass.logic.data.models.table.cards.CardDeck> */, gameInfo: any/* games.jass.logic.data.models.table.GameInfo */, gameHistory: games.jass.logic.data.models.table.history.GameHistory);
|
|
992
|
+
constructor(id: string, version: string, createdAt: any/* kotlinx.datetime.Instant */, config: games.jass.logic.data.models.table.config.Config, players: kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.player.JassPlayer */>, spectators: kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.player.Spectator */>, sceneInfo: any/* games.jass.logic.data.models.table.scene.SceneInfo */, cardsOnTable: kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.table.bribes.CardOnTable */>, bribes: kotlin.collections.KtList<any/* games.jass.logic.data.models.table.cards.Bribe */>, cardDeck: Nullable<any>/* Nullable<games.jass.logic.data.models.table.cards.CardDeck> */, gameInfo: any/* games.jass.logic.data.models.table.GameInfo */, gameHistory: games.jass.logic.data.models.table.history.GameHistory);
|
|
966
993
|
get id(): string;
|
|
967
994
|
get version(): string;
|
|
968
995
|
get createdAt(): any/* kotlinx.datetime.Instant */;
|
|
969
996
|
get config(): games.jass.logic.data.models.table.config.Config;
|
|
970
997
|
get players(): kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.player.JassPlayer */>;
|
|
998
|
+
get spectators(): kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.player.Spectator */>;
|
|
971
999
|
get sceneInfo(): any/* games.jass.logic.data.models.table.scene.SceneInfo */;
|
|
972
1000
|
get cardsOnTable(): kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.table.bribes.CardOnTable */>;
|
|
973
1001
|
get bribes(): kotlin.collections.KtList<any/* games.jass.logic.data.models.table.cards.Bribe */>;
|
|
@@ -984,11 +1012,11 @@ export declare namespace games.jass.logic.data.models.table {
|
|
|
984
1012
|
get currentTrump(): Nullable<any>/* Nullable<io.raspberryapps.card_game.core.data.models.cards.Suit> */;
|
|
985
1013
|
get isGameFinished(): boolean;
|
|
986
1014
|
toString(): string;
|
|
987
|
-
copy(id?: string, version?: string, createdAt?: any/* kotlinx.datetime.Instant */, config?: games.jass.logic.data.models.table.config.Config, players?: kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.player.JassPlayer */>, sceneInfo?: any/* games.jass.logic.data.models.table.scene.SceneInfo */, cardsOnTable?: kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.table.bribes.CardOnTable */>, bribes?: kotlin.collections.KtList<any/* games.jass.logic.data.models.table.cards.Bribe */>, cardDeck?: Nullable<any>/* Nullable<games.jass.logic.data.models.table.cards.CardDeck> */, gameInfo?: any/* games.jass.logic.data.models.table.GameInfo */, gameHistory?: games.jass.logic.data.models.table.history.GameHistory): games.jass.logic.data.models.table.JassTable;
|
|
1015
|
+
copy(id?: string, version?: string, createdAt?: any/* kotlinx.datetime.Instant */, config?: games.jass.logic.data.models.table.config.Config, players?: kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.player.JassPlayer */>, spectators?: kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.player.Spectator */>, sceneInfo?: any/* games.jass.logic.data.models.table.scene.SceneInfo */, cardsOnTable?: kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.table.bribes.CardOnTable */>, bribes?: kotlin.collections.KtList<any/* games.jass.logic.data.models.table.cards.Bribe */>, cardDeck?: Nullable<any>/* Nullable<games.jass.logic.data.models.table.cards.CardDeck> */, gameInfo?: any/* games.jass.logic.data.models.table.GameInfo */, gameHistory?: games.jass.logic.data.models.table.history.GameHistory): games.jass.logic.data.models.table.JassTable;
|
|
988
1016
|
hashCode(): number;
|
|
989
1017
|
equals(other: Nullable<any>): boolean;
|
|
990
1018
|
static get Companion(): {
|
|
991
|
-
initial(tableId: string, gameId: string, version: string, config: games.jass.logic.data.models.table.config.Config, players: kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.player.JassPlayer */>): games.jass.logic.data.models.table.JassTable;
|
|
1019
|
+
initial(tableId: string, gameId: string, version: string, config: games.jass.logic.data.models.table.config.Config, players: kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.player.JassPlayer */>, spectators: kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.player.Spectator */>): games.jass.logic.data.models.table.JassTable;
|
|
992
1020
|
};
|
|
993
1021
|
}
|
|
994
1022
|
}
|
|
@@ -1416,7 +1444,10 @@ export declare namespace games.jass.logic.domain.interactors.dealer {
|
|
|
1416
1444
|
}
|
|
1417
1445
|
}
|
|
1418
1446
|
export declare namespace games.jass.logic.redux.actions {
|
|
1419
|
-
|
|
1447
|
+
class ClearAction implements com.logic.redux.store.definitions.Action, com.logic.redux.actions.validation.NotValidateIfGameFinishing, com.logic.redux.actions.validation.NotValidateIfGameFinished {
|
|
1448
|
+
constructor(transition?: Nullable<games.jass.logic.redux.actions.mechanic.GameToRoomTransition>);
|
|
1449
|
+
get transition(): Nullable<games.jass.logic.redux.actions.mechanic.GameToRoomTransition>;
|
|
1450
|
+
copy(transition?: Nullable<games.jass.logic.redux.actions.mechanic.GameToRoomTransition>): games.jass.logic.redux.actions.ClearAction;
|
|
1420
1451
|
toString(): string;
|
|
1421
1452
|
hashCode(): number;
|
|
1422
1453
|
equals(other: Nullable<any>): boolean;
|
|
@@ -1424,7 +1455,7 @@ export declare namespace games.jass.logic.redux.actions {
|
|
|
1424
1455
|
notValidateWhenFinishing(): boolean;
|
|
1425
1456
|
notValidateWhenFinished(): boolean;
|
|
1426
1457
|
readonly __doNotUseOrImplementIt: com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinishing["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinished["__doNotUseOrImplementIt"];
|
|
1427
|
-
}
|
|
1458
|
+
}
|
|
1428
1459
|
}
|
|
1429
1460
|
export declare namespace games.jass.logic.redux.actions.client.from {
|
|
1430
1461
|
abstract class FromClientAction implements com.logic.redux.store.definitions.Action {
|
|
@@ -1542,6 +1573,7 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
|
|
|
1542
1573
|
constructor(roomId: string, playerIds: kotlin.collections.KtList<string>);
|
|
1543
1574
|
get roomId(): string;
|
|
1544
1575
|
get playerIds(): kotlin.collections.KtList<string>;
|
|
1576
|
+
get playerIdsArray(): Array<string>;
|
|
1545
1577
|
copy(roomId?: string, playerIds?: kotlin.collections.KtList<string>): games.jass.logic.redux.actions.mechanic.GameToRoomTransition;
|
|
1546
1578
|
toString(): string;
|
|
1547
1579
|
hashCode(): number;
|
|
@@ -1566,14 +1598,15 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
|
|
|
1566
1598
|
} & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"] & com.logic.redux.actions.IgnoreBufferForAction["__doNotUseOrImplementIt"];
|
|
1567
1599
|
}
|
|
1568
1600
|
class StartGameMechanicAction extends games.jass.logic.redux.actions.mechanic.MechanicAction implements games.jass.logic.redux.actions.mechanic.FirstMechanicAction {
|
|
1569
|
-
constructor(config: games.jass.logic.data.models.table.config.Config, roomId: string, version: string, gameCreatorPlayerId: string, users: kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>, aid
|
|
1601
|
+
constructor(config: games.jass.logic.data.models.table.config.Config, roomId: string, version: string, gameCreatorPlayerId: string, users: kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>, aid: Nullable<string> | undefined, spectators: kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>);
|
|
1570
1602
|
get config(): games.jass.logic.data.models.table.config.Config;
|
|
1571
1603
|
get id(): string;
|
|
1572
1604
|
get version(): string;
|
|
1573
1605
|
get gameCreatorPlayerId(): string;
|
|
1574
1606
|
get users(): kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>;
|
|
1575
1607
|
get aid(): Nullable<string>;
|
|
1576
|
-
|
|
1608
|
+
get spectators(): kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>;
|
|
1609
|
+
copy(config?: games.jass.logic.data.models.table.config.Config, roomId?: string, version?: string, gameCreatorPlayerId?: string, users?: kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>, aid?: Nullable<string>, spectators?: kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>): games.jass.logic.redux.actions.mechanic.StartGameMechanicAction;
|
|
1577
1610
|
toString(): string;
|
|
1578
1611
|
hashCode(): number;
|
|
1579
1612
|
equals(other: Nullable<any>): boolean;
|
|
@@ -1593,15 +1626,16 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
|
|
|
1593
1626
|
}
|
|
1594
1627
|
/* @ts-ignore: https://github.com/microsoft/TypeScript/issues/4628 */
|
|
1595
1628
|
class FinishingGameMechanicAction extends games.jass.logic.redux.actions.mechanic.MechanicAction implements games.jass.logic.redux.actions.mechanic.TerminatedAction, com.logic.redux.actions.validation.NotValidateIfGameFinishing {
|
|
1596
|
-
constructor(reason: com.logic.data.models.TerminationGameReason, isGameFinished: boolean, transition?: Nullable<games.jass.logic.redux.actions.mechanic.GameToRoomTransition>, sessionAnalytics?: Nullable<games.jass.logic.data.models.GameSessionAnalytics>, gameHistory?: Nullable<games.jass.logic.data.models.table.history.GameHistory>, aid?: Nullable<string>);
|
|
1629
|
+
constructor(reason: com.logic.data.models.TerminationGameReason, isGameFinished: boolean, transition?: Nullable<games.jass.logic.redux.actions.mechanic.GameToRoomTransition>, sessionAnalytics?: Nullable<games.jass.logic.data.models.GameSessionAnalytics>, gameHistory?: Nullable<games.jass.logic.data.models.table.history.GameHistory>, isRoundHistorySaved?: boolean, aid?: Nullable<string>);
|
|
1597
1630
|
get reason(): com.logic.data.models.TerminationGameReason;
|
|
1598
1631
|
get isGameFinished(): boolean;
|
|
1599
1632
|
get transition(): Nullable<games.jass.logic.redux.actions.mechanic.GameToRoomTransition>;
|
|
1600
1633
|
get sessionAnalytics(): Nullable<games.jass.logic.data.models.GameSessionAnalytics>;
|
|
1601
1634
|
get gameHistory(): Nullable<games.jass.logic.data.models.table.history.GameHistory>;
|
|
1635
|
+
get isRoundHistorySaved(): boolean;
|
|
1602
1636
|
get aid(): Nullable<string>;
|
|
1603
1637
|
toString(): string;
|
|
1604
|
-
copy(reason?: com.logic.data.models.TerminationGameReason, isGameFinished?: boolean, transition?: Nullable<games.jass.logic.redux.actions.mechanic.GameToRoomTransition>, sessionAnalytics?: Nullable<games.jass.logic.data.models.GameSessionAnalytics>, gameHistory?: Nullable<games.jass.logic.data.models.table.history.GameHistory>, aid?: Nullable<string>): games.jass.logic.redux.actions.mechanic.FinishingGameMechanicAction;
|
|
1638
|
+
copy(reason?: com.logic.data.models.TerminationGameReason, isGameFinished?: boolean, transition?: Nullable<games.jass.logic.redux.actions.mechanic.GameToRoomTransition>, 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;
|
|
1605
1639
|
hashCode(): number;
|
|
1606
1640
|
equals(other: Nullable<any>): boolean;
|
|
1607
1641
|
get actionTag(): string;
|
|
@@ -1813,6 +1847,7 @@ export declare namespace games.jass.logic.client.domain.mechanic {
|
|
|
1813
1847
|
switchChat(open: boolean): void;
|
|
1814
1848
|
foreground(foreground: boolean): void;
|
|
1815
1849
|
updateConfig(updateConfig: any/* games.jass.logic.client.data.models.config.UpdateConfigModel */): void;
|
|
1850
|
+
clientMessage(message: any/* games.jass.logic.data.models.messages.Message */): void;
|
|
1816
1851
|
observeShowTutorial(): any/* kotlinx.coroutines.flow.Flow<boolean> */;
|
|
1817
1852
|
tutorialPassed(skipped: boolean): void;
|
|
1818
1853
|
playerExit(): void;
|