client_plugin_logic_deb 1.8.211 → 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-client_plugin.d.ts +57 -16
- package/Logic_Debertz-client_plugin.js +5564 -4579
- package/Logic_Debertz-client_plugin.js.map +1 -1
- package/Logic_Debertz-core.js +2294 -2086
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +19404 -18476
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +12632 -11277
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js +1652 -1192
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +3211 -2386
- 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 +4173 -4067
- 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 +2297 -2210
- 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/kotlinx-serialization-kotlinx-serialization-protobuf.js +3 -3
- 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 +1639 -1642
- 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 +271 -242
- 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
|
}
|
|
@@ -543,7 +552,7 @@ export declare namespace games.jass.logic.data.models {
|
|
|
543
552
|
equals(other: Nullable<any>): boolean;
|
|
544
553
|
static get Companion(): {
|
|
545
554
|
getClientEngineTestMode(): games.jass.logic.data.models.EngineLogicConfig;
|
|
546
|
-
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;
|
|
547
556
|
};
|
|
548
557
|
}
|
|
549
558
|
}
|
|
@@ -802,6 +811,27 @@ export declare namespace games.jass.logic.data.models.player.hand {
|
|
|
802
811
|
equals(other: Nullable<any>): boolean;
|
|
803
812
|
}
|
|
804
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
|
+
}
|
|
805
835
|
export declare namespace games.jass.logic.data.models.player.state {
|
|
806
836
|
abstract class RoundContractState {
|
|
807
837
|
private constructor();
|
|
@@ -858,7 +888,7 @@ export declare namespace games.jass.logic.data.models.player.state {
|
|
|
858
888
|
}
|
|
859
889
|
export declare namespace games.jass.logic.data.models.rules {
|
|
860
890
|
class Rules {
|
|
861
|
-
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);
|
|
862
892
|
get needToPutHigherTrump(): boolean;
|
|
863
893
|
get playerWhoChooseSuitGoFirst(): boolean;
|
|
864
894
|
get winnerShuffleCards(): boolean;
|
|
@@ -877,7 +907,9 @@ export declare namespace games.jass.logic.data.models.rules {
|
|
|
877
907
|
get enableTrumpSevenCombinationAfterDistribution(): boolean;
|
|
878
908
|
get checkTrumpCombination(): boolean;
|
|
879
909
|
get checkOnlyTrumpDebertz(): boolean;
|
|
910
|
+
/** @deprecated use [pointsDistributeMode] */
|
|
880
911
|
get distributePoints(): boolean;
|
|
912
|
+
get pointsDistributeMode(): games.jass.logic.data.models.player.points.PointsDistributeMode;
|
|
881
913
|
get enableFineAfterThirdByte(): boolean;
|
|
882
914
|
get fineAfterThirdFailedContract(): number;
|
|
883
915
|
get enableFineIfNoBribes(): boolean;
|
|
@@ -885,7 +917,7 @@ export declare namespace games.jass.logic.data.models.rules {
|
|
|
885
917
|
toString(): string;
|
|
886
918
|
equals(other: Nullable<any>): boolean;
|
|
887
919
|
hashCode(): number;
|
|
888
|
-
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;
|
|
889
921
|
static get Companion(): {
|
|
890
922
|
get HAND_CARDS_INITIAL(): number;
|
|
891
923
|
get HAND_CARDS_FINAL(): number;
|
|
@@ -953,12 +985,13 @@ export declare namespace games.jass.logic.data.models.scenes {
|
|
|
953
985
|
}
|
|
954
986
|
export declare namespace games.jass.logic.data.models.table {
|
|
955
987
|
class JassTable {
|
|
956
|
-
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);
|
|
957
989
|
get id(): string;
|
|
958
990
|
get version(): string;
|
|
959
991
|
get createdAt(): any/* kotlinx.datetime.Instant */;
|
|
960
992
|
get config(): games.jass.logic.data.models.table.config.Config;
|
|
961
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 */>;
|
|
962
995
|
get sceneInfo(): any/* games.jass.logic.data.models.table.scene.SceneInfo */;
|
|
963
996
|
get cardsOnTable(): kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.table.bribes.CardOnTable */>;
|
|
964
997
|
get bribes(): kotlin.collections.KtList<any/* games.jass.logic.data.models.table.cards.Bribe */>;
|
|
@@ -975,11 +1008,11 @@ export declare namespace games.jass.logic.data.models.table {
|
|
|
975
1008
|
get currentTrump(): Nullable<any>/* Nullable<io.raspberryapps.card_game.core.data.models.cards.Suit> */;
|
|
976
1009
|
get isGameFinished(): boolean;
|
|
977
1010
|
toString(): string;
|
|
978
|
-
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;
|
|
979
1012
|
hashCode(): number;
|
|
980
1013
|
equals(other: Nullable<any>): boolean;
|
|
981
1014
|
static get Companion(): {
|
|
982
|
-
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;
|
|
983
1016
|
};
|
|
984
1017
|
}
|
|
985
1018
|
}
|
|
@@ -1407,7 +1440,10 @@ export declare namespace games.jass.logic.domain.interactors.dealer {
|
|
|
1407
1440
|
}
|
|
1408
1441
|
}
|
|
1409
1442
|
export declare namespace games.jass.logic.redux.actions {
|
|
1410
|
-
|
|
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;
|
|
1411
1447
|
toString(): string;
|
|
1412
1448
|
hashCode(): number;
|
|
1413
1449
|
equals(other: Nullable<any>): boolean;
|
|
@@ -1415,7 +1451,7 @@ export declare namespace games.jass.logic.redux.actions {
|
|
|
1415
1451
|
notValidateWhenFinishing(): boolean;
|
|
1416
1452
|
notValidateWhenFinished(): boolean;
|
|
1417
1453
|
readonly __doNotUseOrImplementIt: com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinishing["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinished["__doNotUseOrImplementIt"];
|
|
1418
|
-
}
|
|
1454
|
+
}
|
|
1419
1455
|
}
|
|
1420
1456
|
export declare namespace games.jass.logic.redux.actions.client.from {
|
|
1421
1457
|
abstract class FromClientAction implements com.logic.redux.store.definitions.Action {
|
|
@@ -1533,6 +1569,7 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
|
|
|
1533
1569
|
constructor(roomId: string, playerIds: kotlin.collections.KtList<string>);
|
|
1534
1570
|
get roomId(): string;
|
|
1535
1571
|
get playerIds(): kotlin.collections.KtList<string>;
|
|
1572
|
+
get playerIdsArray(): Array<string>;
|
|
1536
1573
|
copy(roomId?: string, playerIds?: kotlin.collections.KtList<string>): games.jass.logic.redux.actions.mechanic.GameToRoomTransition;
|
|
1537
1574
|
toString(): string;
|
|
1538
1575
|
hashCode(): number;
|
|
@@ -1557,14 +1594,15 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
|
|
|
1557
1594
|
} & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"] & com.logic.redux.actions.IgnoreBufferForAction["__doNotUseOrImplementIt"];
|
|
1558
1595
|
}
|
|
1559
1596
|
class StartGameMechanicAction extends games.jass.logic.redux.actions.mechanic.MechanicAction implements games.jass.logic.redux.actions.mechanic.FirstMechanicAction {
|
|
1560
|
-
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>);
|
|
1561
1598
|
get config(): games.jass.logic.data.models.table.config.Config;
|
|
1562
1599
|
get id(): string;
|
|
1563
1600
|
get version(): string;
|
|
1564
1601
|
get gameCreatorPlayerId(): string;
|
|
1565
1602
|
get users(): kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>;
|
|
1566
1603
|
get aid(): Nullable<string>;
|
|
1567
|
-
|
|
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;
|
|
1568
1606
|
toString(): string;
|
|
1569
1607
|
hashCode(): number;
|
|
1570
1608
|
equals(other: Nullable<any>): boolean;
|
|
@@ -1804,6 +1842,7 @@ export declare namespace games.jass.logic.client.domain.mechanic {
|
|
|
1804
1842
|
switchChat(open: boolean): void;
|
|
1805
1843
|
foreground(foreground: boolean): void;
|
|
1806
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;
|
|
1807
1846
|
observeShowTutorial(): any/* kotlinx.coroutines.flow.Flow<boolean> */;
|
|
1808
1847
|
tutorialPassed(skipped: boolean): void;
|
|
1809
1848
|
playerExit(): void;
|
|
@@ -1845,9 +1884,11 @@ export declare interface GameClientEngineController {
|
|
|
1845
1884
|
export declare function createGameClientController(loggerCallback: (p0: string, p1: Nullable<string>, p2: string, p3: Nullable<Error>, p4: Nullable<any>) => void): GameClientEngineController;
|
|
1846
1885
|
export declare namespace games.jass.logic.server.domain {
|
|
1847
1886
|
interface ServerGameEngineContract extends games.jass.logic.GameStoreContract {
|
|
1848
|
-
roomOnCreate(roomId: string, gameCreatorId: string, config: games.jass.logic.data.models.table.config.Config, users: Array<com.logic.data.models.player.GameUserInfo>): void;
|
|
1887
|
+
roomOnCreate(roomId: string, gameCreatorId: string, config: games.jass.logic.data.models.table.config.Config, users: Array<com.logic.data.models.player.GameUserInfo>, spectators?: Array<com.logic.data.models.player.GameUserInfo>): void;
|
|
1888
|
+
addSpectatorsToRoom(spectators: Array<com.logic.data.models.player.GameUserInfo>): void;
|
|
1889
|
+
removeSpectatorsFromRoom(spectators: Array<com.logic.data.models.player.GameUserInfo>): void;
|
|
1849
1890
|
roomRefreshPlayerState(playerId: string): void;
|
|
1850
|
-
roomOnDelete(): void;
|
|
1891
|
+
roomOnDelete(newRid?: Nullable<string>): void;
|
|
1851
1892
|
playerLostConnection(playerId: string): void;
|
|
1852
1893
|
playerLive(playerId: string): void;
|
|
1853
1894
|
playerLeft(playerId: string): void;
|