game_client_logic_deb 1.8.208 → 1.8.232
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 +77 -77
- package/Kosi-Kaverit-kaverit.js.map +1 -1
- package/Kosi-Kodein-kodein-di.js +610 -610
- package/Kosi-Kodein-kodein-di.js.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1572 -1517
- package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
- package/Logic_Debertz-core.js +1651 -1482
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +14383 -13705
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +56 -16
- package/Logic_Debertz-game_client.js +5642 -4795
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +3205 -2380
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-kotlinx-atomicfu-runtime.js +3 -3
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +3 -3
- package/kotlinx-atomicfu.js +66 -66
- package/kotlinx-atomicfu.js.map +1 -1
- package/kotlinx-coroutines-core.js +3830 -3787
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring.js +3 -3
- package/kotlinx-io-kotlinx-io-core.js +277 -277
- package/kotlinx-io-kotlinx-io-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core.js +2296 -2209
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +2069 -1725
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/ktor-ktor-client-content-negotiation.js +220 -220
- package/ktor-ktor-client-core.js +2532 -2504
- package/ktor-ktor-client-core.js.map +1 -1
- package/ktor-ktor-client-js.js +3 -3
- package/ktor-ktor-client-logging.js +573 -549
- package/ktor-ktor-client-logging.js.map +1 -1
- package/ktor-ktor-events.js +16 -16
- package/ktor-ktor-http.js +748 -726
- package/ktor-ktor-http.js.map +1 -1
- package/ktor-ktor-io.js +1637 -1640
- package/ktor-ktor-io.js.map +1 -1
- package/ktor-ktor-serialization-kotlinx-json.js +14 -14
- package/ktor-ktor-serialization-kotlinx.js +314 -269
- package/ktor-ktor-serialization-kotlinx.js.map +1 -1
- package/ktor-ktor-serialization.js +153 -128
- package/ktor-ktor-serialization.js.map +1 -1
- package/ktor-ktor-utils.js +702 -702
- package/ktor-ktor-utils.js.map +1 -1
- package/ktor-ktor-websocket-serialization.js +3 -3
- package/ktor-ktor-websockets.js +61 -61
- package/ktor-ktor-websockets.js.map +1 -1
- package/package.json +1 -1
- package/raspberry-cardgame-lib-core.js +263 -234
- package/raspberry-cardgame-lib-core.js.map +1 -1
- package/raspberry-cardgame-lib-logger.js +104 -104
- package/raspberry-cardgame-lib-random.js +1000 -1006
- package/raspberry-cardgame-lib-random.js.map +1 -1
- package/secure-random-secure-random.js +21 -21
- package/secure-random-secure-random.js.map +1 -1
- package/uuid.js +30 -30
- package/uuid.js.map +1 -1
|
@@ -6,18 +6,27 @@ export declare namespace kotlin.collections {
|
|
|
6
6
|
readonly "kotlin.collections.KtList": unique symbol;
|
|
7
7
|
};
|
|
8
8
|
}
|
|
9
|
+
const KtList: {
|
|
10
|
+
fromJsArray<E>(array: ReadonlyArray<E>): kotlin.collections.KtList<E>;
|
|
11
|
+
};
|
|
9
12
|
interface KtSet<E> /* extends kotlin.collections.Collection<E> */ {
|
|
10
13
|
asJsReadonlySetView(): ReadonlySet<E>;
|
|
11
14
|
readonly __doNotUseOrImplementIt: {
|
|
12
15
|
readonly "kotlin.collections.KtSet": unique symbol;
|
|
13
16
|
};
|
|
14
17
|
}
|
|
18
|
+
const KtSet: {
|
|
19
|
+
fromJsSet<E>(set: ReadonlySet<E>): kotlin.collections.KtSet<E>;
|
|
20
|
+
};
|
|
15
21
|
interface KtMap<K, V> {
|
|
16
22
|
asJsReadonlyMapView(): ReadonlyMap<K, V>;
|
|
17
23
|
readonly __doNotUseOrImplementIt: {
|
|
18
24
|
readonly "kotlin.collections.KtMap": unique symbol;
|
|
19
25
|
};
|
|
20
26
|
}
|
|
27
|
+
const KtMap: {
|
|
28
|
+
fromJsMap<K, V>(map: ReadonlyMap<K, V>): kotlin.collections.KtMap<K, V>;
|
|
29
|
+
};
|
|
21
30
|
}
|
|
22
31
|
export declare namespace games.raspberry.logger {
|
|
23
32
|
interface LoggerEnabledTrigger extends games.raspberry.logger.RaspberryLogger {
|
|
@@ -84,17 +93,17 @@ export declare namespace games.raspberry.card_game.random.data.models {
|
|
|
84
93
|
}
|
|
85
94
|
export declare namespace games.raspberry.card_game.random.data.models {
|
|
86
95
|
class GameCardDecksRecord {
|
|
87
|
-
constructor(
|
|
88
|
-
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;
|
|
89
98
|
get signature(): Nullable<string>;
|
|
90
99
|
get userData(): games.raspberry.card_game.random.data.models.CardDeckRequestUserData;
|
|
91
100
|
get rounds(): kotlin.collections.KtList<games.raspberry.card_game.random.data.models.GameCardDeckData>;
|
|
92
|
-
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;
|
|
93
102
|
toString(): string;
|
|
94
103
|
hashCode(): number;
|
|
95
104
|
equals(other: Nullable<any>): boolean;
|
|
96
105
|
static get Companion(): {
|
|
97
|
-
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;
|
|
98
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;
|
|
99
108
|
};
|
|
100
109
|
}
|
|
@@ -527,22 +536,23 @@ export declare namespace games.jass.logic.data.models {
|
|
|
527
536
|
}
|
|
528
537
|
export declare namespace games.jass.logic.data.models {
|
|
529
538
|
class EngineLogicConfig {
|
|
530
|
-
constructor(supportBackwardActions?: boolean, validateTestMode?: boolean, verboseGameHistory?: boolean, gameHistoryAnalytics?: boolean, validateFromClientActionTags?: boolean, playerTimeoutFactorToFinishStep?: number, openRoomIfFinished?: boolean, minPlayersToOpenRoom?: number);
|
|
539
|
+
constructor(supportBackwardActions?: boolean, validateTestMode?: boolean, verboseGameHistory?: boolean, gameHistoryAnalytics?: boolean, validateFromClientActionTags?: boolean, validateIfMainThread?: boolean, playerTimeoutFactorToFinishStep?: number, openRoomIfFinished?: boolean, minPlayersToOpenRoom?: number);
|
|
531
540
|
get supportBackwardActions(): boolean;
|
|
532
541
|
get validateTestMode(): boolean;
|
|
533
542
|
get verboseGameHistory(): boolean;
|
|
534
543
|
get gameHistoryMetadata(): boolean;
|
|
535
544
|
get validateFromClientActionTags(): boolean;
|
|
545
|
+
get validateIfMainThread(): boolean;
|
|
536
546
|
get playerTimeoutFactorToFinishStep(): number;
|
|
537
547
|
get openRoomIfFinished(): boolean;
|
|
538
548
|
get minPlayersToOpenRoom(): number;
|
|
539
|
-
copy(supportBackwardActions?: boolean, validateTestMode?: boolean, verboseGameHistory?: boolean, gameHistoryAnalytics?: boolean, validateFromClientActionTags?: boolean, playerTimeoutFactorToFinishStep?: number, openRoomIfFinished?: boolean, minPlayersToOpenRoom?: number): games.jass.logic.data.models.EngineLogicConfig;
|
|
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;
|
|
540
550
|
toString(): string;
|
|
541
551
|
hashCode(): number;
|
|
542
552
|
equals(other: Nullable<any>): boolean;
|
|
543
553
|
static get Companion(): {
|
|
544
554
|
getClientEngineTestMode(): games.jass.logic.data.models.EngineLogicConfig;
|
|
545
|
-
getServerEngineMode(isProduction: boolean, supportBackwardActions?: boolean, validateFromClientActionTags?: boolean, playerTimeoutFactorToFinishStep?: number): games.jass.logic.data.models.EngineLogicConfig;
|
|
555
|
+
getServerEngineMode(isProduction: boolean, supportBackwardActions?: boolean, validateFromClientActionTags?: boolean, openRoomIfFinished?: boolean, playerTimeoutFactorToFinishStep?: number): games.jass.logic.data.models.EngineLogicConfig;
|
|
546
556
|
};
|
|
547
557
|
}
|
|
548
558
|
}
|
|
@@ -801,6 +811,27 @@ export declare namespace games.jass.logic.data.models.player.hand {
|
|
|
801
811
|
equals(other: Nullable<any>): boolean;
|
|
802
812
|
}
|
|
803
813
|
}
|
|
814
|
+
export declare namespace games.jass.logic.data.models.player.points {
|
|
815
|
+
abstract class PointsDistributeMode {
|
|
816
|
+
private constructor();
|
|
817
|
+
static get ALL(): games.jass.logic.data.models.player.points.PointsDistributeMode & {
|
|
818
|
+
get name(): "ALL";
|
|
819
|
+
get ordinal(): 0;
|
|
820
|
+
};
|
|
821
|
+
static get HIGHEST_PLAYER(): games.jass.logic.data.models.player.points.PointsDistributeMode & {
|
|
822
|
+
get name(): "HIGHEST_PLAYER";
|
|
823
|
+
get ordinal(): 1;
|
|
824
|
+
};
|
|
825
|
+
static get HIGHER_THEN_FAILED_PLAYER(): games.jass.logic.data.models.player.points.PointsDistributeMode & {
|
|
826
|
+
get name(): "HIGHER_THEN_FAILED_PLAYER";
|
|
827
|
+
get ordinal(): 2;
|
|
828
|
+
};
|
|
829
|
+
get name(): "ALL" | "HIGHEST_PLAYER" | "HIGHER_THEN_FAILED_PLAYER";
|
|
830
|
+
get ordinal(): 0 | 1 | 2;
|
|
831
|
+
static values(): Array<games.jass.logic.data.models.player.points.PointsDistributeMode>;
|
|
832
|
+
static valueOf(value: string): games.jass.logic.data.models.player.points.PointsDistributeMode;
|
|
833
|
+
}
|
|
834
|
+
}
|
|
804
835
|
export declare namespace games.jass.logic.data.models.player.state {
|
|
805
836
|
abstract class RoundContractState {
|
|
806
837
|
private constructor();
|
|
@@ -857,7 +888,7 @@ export declare namespace games.jass.logic.data.models.player.state {
|
|
|
857
888
|
}
|
|
858
889
|
export declare namespace games.jass.logic.data.models.rules {
|
|
859
890
|
class Rules {
|
|
860
|
-
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);
|
|
891
|
+
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);
|
|
861
892
|
get needToPutHigherTrump(): boolean;
|
|
862
893
|
get playerWhoChooseSuitGoFirst(): boolean;
|
|
863
894
|
get winnerShuffleCards(): boolean;
|
|
@@ -876,7 +907,9 @@ export declare namespace games.jass.logic.data.models.rules {
|
|
|
876
907
|
get enableTrumpSevenCombinationAfterDistribution(): boolean;
|
|
877
908
|
get checkTrumpCombination(): boolean;
|
|
878
909
|
get checkOnlyTrumpDebertz(): boolean;
|
|
910
|
+
/** @deprecated use [pointsDistributeMode] */
|
|
879
911
|
get distributePoints(): boolean;
|
|
912
|
+
get pointsDistributeMode(): games.jass.logic.data.models.player.points.PointsDistributeMode;
|
|
880
913
|
get enableFineAfterThirdByte(): boolean;
|
|
881
914
|
get fineAfterThirdFailedContract(): number;
|
|
882
915
|
get enableFineIfNoBribes(): boolean;
|
|
@@ -884,7 +917,7 @@ export declare namespace games.jass.logic.data.models.rules {
|
|
|
884
917
|
toString(): string;
|
|
885
918
|
equals(other: Nullable<any>): boolean;
|
|
886
919
|
hashCode(): number;
|
|
887
|
-
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;
|
|
920
|
+
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;
|
|
888
921
|
static get Companion(): {
|
|
889
922
|
get HAND_CARDS_INITIAL(): number;
|
|
890
923
|
get HAND_CARDS_FINAL(): number;
|
|
@@ -952,12 +985,13 @@ export declare namespace games.jass.logic.data.models.scenes {
|
|
|
952
985
|
}
|
|
953
986
|
export declare namespace games.jass.logic.data.models.table {
|
|
954
987
|
class JassTable {
|
|
955
|
-
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);
|
|
988
|
+
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);
|
|
956
989
|
get id(): string;
|
|
957
990
|
get version(): string;
|
|
958
991
|
get createdAt(): any/* kotlinx.datetime.Instant */;
|
|
959
992
|
get config(): games.jass.logic.data.models.table.config.Config;
|
|
960
993
|
get players(): kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.player.JassPlayer */>;
|
|
994
|
+
get spectators(): kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.player.Spectator */>;
|
|
961
995
|
get sceneInfo(): any/* games.jass.logic.data.models.table.scene.SceneInfo */;
|
|
962
996
|
get cardsOnTable(): kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.table.bribes.CardOnTable */>;
|
|
963
997
|
get bribes(): kotlin.collections.KtList<any/* games.jass.logic.data.models.table.cards.Bribe */>;
|
|
@@ -974,11 +1008,11 @@ export declare namespace games.jass.logic.data.models.table {
|
|
|
974
1008
|
get currentTrump(): Nullable<any>/* Nullable<io.raspberryapps.card_game.core.data.models.cards.Suit> */;
|
|
975
1009
|
get isGameFinished(): boolean;
|
|
976
1010
|
toString(): string;
|
|
977
|
-
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;
|
|
1011
|
+
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;
|
|
978
1012
|
hashCode(): number;
|
|
979
1013
|
equals(other: Nullable<any>): boolean;
|
|
980
1014
|
static get Companion(): {
|
|
981
|
-
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;
|
|
1015
|
+
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;
|
|
982
1016
|
};
|
|
983
1017
|
}
|
|
984
1018
|
}
|
|
@@ -1406,7 +1440,10 @@ export declare namespace games.jass.logic.domain.interactors.dealer {
|
|
|
1406
1440
|
}
|
|
1407
1441
|
}
|
|
1408
1442
|
export declare namespace games.jass.logic.redux.actions {
|
|
1409
|
-
|
|
1443
|
+
class ClearAction implements com.logic.redux.store.definitions.Action, com.logic.redux.actions.validation.NotValidateIfGameFinishing, com.logic.redux.actions.validation.NotValidateIfGameFinished {
|
|
1444
|
+
constructor(transition?: Nullable<games.jass.logic.redux.actions.mechanic.GameToRoomTransition>);
|
|
1445
|
+
get transition(): Nullable<games.jass.logic.redux.actions.mechanic.GameToRoomTransition>;
|
|
1446
|
+
copy(transition?: Nullable<games.jass.logic.redux.actions.mechanic.GameToRoomTransition>): games.jass.logic.redux.actions.ClearAction;
|
|
1410
1447
|
toString(): string;
|
|
1411
1448
|
hashCode(): number;
|
|
1412
1449
|
equals(other: Nullable<any>): boolean;
|
|
@@ -1414,7 +1451,7 @@ export declare namespace games.jass.logic.redux.actions {
|
|
|
1414
1451
|
notValidateWhenFinishing(): boolean;
|
|
1415
1452
|
notValidateWhenFinished(): boolean;
|
|
1416
1453
|
readonly __doNotUseOrImplementIt: com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinishing["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinished["__doNotUseOrImplementIt"];
|
|
1417
|
-
}
|
|
1454
|
+
}
|
|
1418
1455
|
}
|
|
1419
1456
|
export declare namespace games.jass.logic.redux.actions.client.from {
|
|
1420
1457
|
abstract class FromClientAction implements com.logic.redux.store.definitions.Action {
|
|
@@ -1532,6 +1569,7 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
|
|
|
1532
1569
|
constructor(roomId: string, playerIds: kotlin.collections.KtList<string>);
|
|
1533
1570
|
get roomId(): string;
|
|
1534
1571
|
get playerIds(): kotlin.collections.KtList<string>;
|
|
1572
|
+
get playerIdsArray(): Array<string>;
|
|
1535
1573
|
copy(roomId?: string, playerIds?: kotlin.collections.KtList<string>): games.jass.logic.redux.actions.mechanic.GameToRoomTransition;
|
|
1536
1574
|
toString(): string;
|
|
1537
1575
|
hashCode(): number;
|
|
@@ -1556,14 +1594,15 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
|
|
|
1556
1594
|
} & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"] & com.logic.redux.actions.IgnoreBufferForAction["__doNotUseOrImplementIt"];
|
|
1557
1595
|
}
|
|
1558
1596
|
class StartGameMechanicAction extends games.jass.logic.redux.actions.mechanic.MechanicAction implements games.jass.logic.redux.actions.mechanic.FirstMechanicAction {
|
|
1559
|
-
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
|
|
1597
|
+
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>);
|
|
1560
1598
|
get config(): games.jass.logic.data.models.table.config.Config;
|
|
1561
1599
|
get id(): string;
|
|
1562
1600
|
get version(): string;
|
|
1563
1601
|
get gameCreatorPlayerId(): string;
|
|
1564
1602
|
get users(): kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>;
|
|
1565
1603
|
get aid(): Nullable<string>;
|
|
1566
|
-
|
|
1604
|
+
get spectators(): kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>;
|
|
1605
|
+
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;
|
|
1567
1606
|
toString(): string;
|
|
1568
1607
|
hashCode(): number;
|
|
1569
1608
|
equals(other: Nullable<any>): boolean;
|
|
@@ -1803,6 +1842,7 @@ export declare namespace games.jass.logic.client.domain.mechanic {
|
|
|
1803
1842
|
switchChat(open: boolean): void;
|
|
1804
1843
|
foreground(foreground: boolean): void;
|
|
1805
1844
|
updateConfig(updateConfig: any/* games.jass.logic.client.data.models.config.UpdateConfigModel */): void;
|
|
1845
|
+
clientMessage(message: any/* games.jass.logic.data.models.messages.Message */): void;
|
|
1806
1846
|
observeShowTutorial(): any/* kotlinx.coroutines.flow.Flow<boolean> */;
|
|
1807
1847
|
tutorialPassed(skipped: boolean): void;
|
|
1808
1848
|
playerExit(): void;
|