game_client_logic_deb 1.8.117 → 1.8.144
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 +18 -18
- package/Kosi-Kodein-kodein-di.js +50 -50
- package/Kotlin-DateTime-library-kotlinx-datetime.js +43 -39
- package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
- package/Logic_Debertz-core.js +2057 -2418
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +14157 -11539
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +515 -431
- package/Logic_Debertz-game_client.js +3099 -2975
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +399 -491
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +6 -6
- package/kotlinx-coroutines-core.js +78 -78
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-core.js +263 -263
- package/kotlinx-serialization-kotlinx-serialization-core.js +167 -167
- package/kotlinx-serialization-kotlinx-serialization-json.js +109 -109
- package/package.json +1 -1
- package/raspberry-cardgame-lib-core.js +346 -192
- package/raspberry-cardgame-lib-core.js.map +1 -1
- package/uuid.js +30 -30
|
@@ -6,12 +6,6 @@ export declare namespace kotlin.collections {
|
|
|
6
6
|
readonly "kotlin.collections.KtList": unique symbol;
|
|
7
7
|
};
|
|
8
8
|
}
|
|
9
|
-
interface KtSet<E> /* extends kotlin.collections.Collection<E> */ {
|
|
10
|
-
asJsReadonlySetView(): ReadonlySet<E>;
|
|
11
|
-
readonly __doNotUseOrImplementIt: {
|
|
12
|
-
readonly "kotlin.collections.KtSet": unique symbol;
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
9
|
interface KtMap<K, V> {
|
|
16
10
|
asJsReadonlyMapView(): ReadonlyMap<K, V>;
|
|
17
11
|
readonly __doNotUseOrImplementIt: {
|
|
@@ -51,6 +45,8 @@ export declare namespace io.raspberryapps.card_game.core.utils.logger.output {
|
|
|
51
45
|
d(tag: Nullable<string> | undefined, message: string, payload?: Nullable<any>): void;
|
|
52
46
|
e(tag?: Nullable<string>, message?: Nullable<string>, exception?: Nullable<Error>, payload?: Nullable<any>): void;
|
|
53
47
|
w(tag?: Nullable<string>, message?: Nullable<string>, exception?: Nullable<Error>, payload?: Nullable<any>): void;
|
|
48
|
+
v(tag?: Nullable<string>, message?: Nullable<string>, exception?: Nullable<Error>, payload?: Nullable<any>): void;
|
|
49
|
+
i(tag: Nullable<string> | undefined, message: string, payload?: Nullable<any>): void;
|
|
54
50
|
readonly __doNotUseOrImplementIt: {
|
|
55
51
|
readonly "io.raspberryapps.card_game.core.utils.logger.output.LoggerOutput": unique symbol;
|
|
56
52
|
};
|
|
@@ -82,42 +78,46 @@ export declare namespace com.logic.data.models {
|
|
|
82
78
|
export declare namespace com.logic.data.models {
|
|
83
79
|
abstract class TerminationGameReason {
|
|
84
80
|
protected constructor();
|
|
85
|
-
static get Companion(): {
|
|
86
|
-
} & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
87
81
|
}
|
|
88
|
-
|
|
89
|
-
class PlayerLostConnectionReason extends com.logic.data.models.TerminationGameReason /* implements com.logic.data.models.FinishPlayerReason */ {
|
|
82
|
+
class PlayerLostConnectionReason extends com.logic.data.models.TerminationGameReason implements com.logic.data.models.FinishPlayerReason {
|
|
90
83
|
constructor(playerId: string, tag: Nullable<string>);
|
|
84
|
+
get playerId(): string;
|
|
91
85
|
get tag(): Nullable<string>;
|
|
86
|
+
get connectionState(): com.logic.data.models.player.PlayerConnectionState;
|
|
92
87
|
copy(playerId?: string, tag?: Nullable<string>): com.logic.data.models.PlayerLostConnectionReason;
|
|
93
88
|
toString(): string;
|
|
94
89
|
hashCode(): number;
|
|
95
90
|
equals(other: Nullable<any>): boolean;
|
|
96
|
-
|
|
97
|
-
};
|
|
91
|
+
readonly __doNotUseOrImplementIt: com.logic.data.models.FinishPlayerReason["__doNotUseOrImplementIt"];
|
|
98
92
|
}
|
|
99
|
-
|
|
100
|
-
class PlayerTimeoutReason extends com.logic.data.models.TerminationGameReason /* implements com.logic.data.models.FinishPlayerReason */ {
|
|
93
|
+
class PlayerTimeoutReason extends com.logic.data.models.TerminationGameReason implements com.logic.data.models.FinishPlayerReason {
|
|
101
94
|
constructor(playerId: string, tag: Nullable<string>);
|
|
95
|
+
get playerId(): string;
|
|
102
96
|
get tag(): Nullable<string>;
|
|
97
|
+
get connectionState(): com.logic.data.models.player.PlayerConnectionState;
|
|
103
98
|
copy(playerId?: string, tag?: Nullable<string>): com.logic.data.models.PlayerTimeoutReason;
|
|
104
99
|
toString(): string;
|
|
105
100
|
hashCode(): number;
|
|
106
101
|
equals(other: Nullable<any>): boolean;
|
|
107
|
-
|
|
108
|
-
};
|
|
102
|
+
readonly __doNotUseOrImplementIt: com.logic.data.models.FinishPlayerReason["__doNotUseOrImplementIt"];
|
|
109
103
|
}
|
|
110
|
-
|
|
111
|
-
class PlayerExitReason extends com.logic.data.models.TerminationGameReason /* implements com.logic.data.models.FinishPlayerReason */ {
|
|
104
|
+
class PlayerExitReason extends com.logic.data.models.TerminationGameReason implements com.logic.data.models.FinishPlayerReason {
|
|
112
105
|
constructor(playerId: string);
|
|
106
|
+
get playerId(): string;
|
|
107
|
+
get connectionState(): com.logic.data.models.player.PlayerConnectionState;
|
|
113
108
|
copy(playerId?: string): com.logic.data.models.PlayerExitReason;
|
|
114
109
|
toString(): string;
|
|
115
110
|
hashCode(): number;
|
|
116
111
|
equals(other: Nullable<any>): boolean;
|
|
117
|
-
|
|
112
|
+
readonly __doNotUseOrImplementIt: com.logic.data.models.FinishPlayerReason["__doNotUseOrImplementIt"];
|
|
113
|
+
}
|
|
114
|
+
interface FinishPlayerReason {
|
|
115
|
+
readonly playerId: string;
|
|
116
|
+
readonly connectionState: com.logic.data.models.player.PlayerConnectionState;
|
|
117
|
+
readonly __doNotUseOrImplementIt: {
|
|
118
|
+
readonly "com.logic.data.models.FinishPlayerReason": unique symbol;
|
|
118
119
|
};
|
|
119
120
|
}
|
|
120
|
-
/* @ts-ignore: https://github.com/microsoft/TypeScript/issues/4628 */
|
|
121
121
|
class GameFinishedReason extends com.logic.data.models.TerminationGameReason {
|
|
122
122
|
constructor(reason: com.logic.data.models.GameFinishedReason.Reason);
|
|
123
123
|
get reason(): com.logic.data.models.GameFinishedReason.Reason;
|
|
@@ -125,8 +125,6 @@ export declare namespace com.logic.data.models {
|
|
|
125
125
|
toString(): string;
|
|
126
126
|
hashCode(): number;
|
|
127
127
|
equals(other: Nullable<any>): boolean;
|
|
128
|
-
static get Companion(): {
|
|
129
|
-
};
|
|
130
128
|
}
|
|
131
129
|
namespace GameFinishedReason {
|
|
132
130
|
abstract class Reason {
|
|
@@ -155,7 +153,6 @@ export declare namespace com.logic.data.models {
|
|
|
155
153
|
} & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
156
154
|
}
|
|
157
155
|
}
|
|
158
|
-
/* @ts-ignore: https://github.com/microsoft/TypeScript/issues/4628 */
|
|
159
156
|
class GameErrorReason extends com.logic.data.models.TerminationGameReason {
|
|
160
157
|
constructor(reason: com.logic.data.models.GameErrorReason.Reason);
|
|
161
158
|
get reason(): com.logic.data.models.GameErrorReason.Reason;
|
|
@@ -163,8 +160,6 @@ export declare namespace com.logic.data.models {
|
|
|
163
160
|
toString(): string;
|
|
164
161
|
hashCode(): number;
|
|
165
162
|
equals(other: Nullable<any>): boolean;
|
|
166
|
-
static get Companion(): {
|
|
167
|
-
};
|
|
168
163
|
}
|
|
169
164
|
namespace GameErrorReason {
|
|
170
165
|
abstract class Reason {
|
|
@@ -185,8 +180,12 @@ export declare namespace com.logic.data.models {
|
|
|
185
180
|
get name(): "WRONG_PLAYER_TURN";
|
|
186
181
|
get ordinal(): 3;
|
|
187
182
|
};
|
|
188
|
-
get
|
|
189
|
-
|
|
183
|
+
static get PLAYER_DISCONNECTED(): com.logic.data.models.GameErrorReason.Reason & {
|
|
184
|
+
get name(): "PLAYER_DISCONNECTED";
|
|
185
|
+
get ordinal(): 4;
|
|
186
|
+
};
|
|
187
|
+
get name(): "SERVER_ERROR" | "INTERNAL_ERROR" | "GAME_NOT_EXISTS" | "WRONG_PLAYER_TURN" | "PLAYER_DISCONNECTED";
|
|
188
|
+
get ordinal(): 0 | 1 | 2 | 3 | 4;
|
|
190
189
|
static values(): Array<com.logic.data.models.GameErrorReason.Reason>;
|
|
191
190
|
static valueOf(value: string): com.logic.data.models.GameErrorReason.Reason;
|
|
192
191
|
static get Companion(): {
|
|
@@ -197,12 +196,12 @@ export declare namespace com.logic.data.models {
|
|
|
197
196
|
toString(): string;
|
|
198
197
|
hashCode(): number;
|
|
199
198
|
equals(other: Nullable<any>): boolean;
|
|
200
|
-
} & com.logic.data.models.TerminationGameReason
|
|
199
|
+
} & com.logic.data.models.TerminationGameReason;
|
|
201
200
|
const ProcessingReason: {
|
|
202
201
|
toString(): string;
|
|
203
202
|
hashCode(): number;
|
|
204
203
|
equals(other: Nullable<any>): boolean;
|
|
205
|
-
} & com.logic.data.models.TerminationGameReason
|
|
204
|
+
} & com.logic.data.models.TerminationGameReason;
|
|
206
205
|
}
|
|
207
206
|
export declare namespace com.logic.data.models.player {
|
|
208
207
|
class GameUserInfo implements com.logic.data.models.player.PlayerIdContract {
|
|
@@ -275,104 +274,6 @@ export declare namespace com.logic.data.models.player {
|
|
|
275
274
|
} & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
276
275
|
}
|
|
277
276
|
}
|
|
278
|
-
export declare namespace com.logic.data.models.rules {
|
|
279
|
-
class Rules {
|
|
280
|
-
constructor(needToPutHigherTrump: boolean, distributePoints: boolean, protectBella: boolean, oneTryToProtectBella: boolean, enableFourSevensCombination: boolean, enableTrumpSevenCombination: boolean, enableTrumpSevenCombinationAfterDistribution: boolean, playerWhoChooseSuitGoFirst: boolean, winnerShuffleCards: boolean, playWithoutLiabilities: boolean, trumpCardGoToPlayerWhoShuffleCards: boolean, enableFineIfNoBribes: boolean, fineIfNoBribes: number, enableFineAfterThirdByte: boolean, checkTrumpCombination: boolean, checkOnlyTrumpDebertz: boolean, tenCardsInHand: boolean);
|
|
281
|
-
get needToPutHigherTrump(): boolean;
|
|
282
|
-
get distributePoints(): boolean;
|
|
283
|
-
get protectBella(): boolean;
|
|
284
|
-
get oneTryToProtectBella(): boolean;
|
|
285
|
-
get enableFourSevensCombination(): boolean;
|
|
286
|
-
get enableTrumpSevenCombination(): boolean;
|
|
287
|
-
get enableTrumpSevenCombinationAfterDistribution(): boolean;
|
|
288
|
-
get playerWhoChooseSuitGoFirst(): boolean;
|
|
289
|
-
get winnerShuffleCards(): boolean;
|
|
290
|
-
get playWithoutLiabilities(): boolean;
|
|
291
|
-
get trumpCardGoToPlayerWhoShuffleCards(): boolean;
|
|
292
|
-
get enableFineIfNoBribes(): boolean;
|
|
293
|
-
get fineIfNoBribes(): number;
|
|
294
|
-
get enableFineAfterThirdByte(): boolean;
|
|
295
|
-
get checkTrumpCombination(): boolean;
|
|
296
|
-
get checkOnlyTrumpDebertz(): boolean;
|
|
297
|
-
get tenCardsInHand(): boolean;
|
|
298
|
-
toString(): string;
|
|
299
|
-
copy(needToPutHigherTrump?: boolean, distributePoints?: boolean, protectBella?: boolean, oneTryToProtectBella?: boolean, enableFourSevensCombination?: boolean, enableTrumpSevenCombination?: boolean, enableTrumpSevenCombinationAfterDistribution?: boolean, playerWhoChooseSuitGoFirst?: boolean, winnerShuffleCards?: boolean, playWithoutLiabilities?: boolean, trumpCardGoToPlayerWhoShuffleCards?: boolean, enableFineIfNoBribes?: boolean, fineIfNoBribes?: number, enableFineAfterThirdByte?: boolean, checkTrumpCombination?: boolean, checkOnlyTrumpDebertz?: boolean, tenCardsInHand?: boolean): com.logic.data.models.rules.Rules;
|
|
300
|
-
hashCode(): number;
|
|
301
|
-
equals(other: Nullable<any>): boolean;
|
|
302
|
-
static get Companion(): {
|
|
303
|
-
kharkiv(): com.logic.data.models.rules.Rules;
|
|
304
|
-
saltivka(): com.logic.data.models.rules.Rules;
|
|
305
|
-
klabor(): com.logic.data.models.rules.Rules;
|
|
306
|
-
debertzCommon(): com.logic.data.models.rules.Rules;
|
|
307
|
-
belot(): com.logic.data.models.rules.Rules;
|
|
308
|
-
custom(): com.logic.data.models.rules.Rules;
|
|
309
|
-
};
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
export declare namespace com.logic.data.models.rules {
|
|
313
|
-
abstract class RulesSetType {
|
|
314
|
-
private constructor();
|
|
315
|
-
static get belot(): com.logic.data.models.rules.RulesSetType & {
|
|
316
|
-
get name(): "belot";
|
|
317
|
-
get ordinal(): 0;
|
|
318
|
-
};
|
|
319
|
-
static get klabor(): com.logic.data.models.rules.RulesSetType & {
|
|
320
|
-
get name(): "klabor";
|
|
321
|
-
get ordinal(): 1;
|
|
322
|
-
};
|
|
323
|
-
static get debertzCommon(): com.logic.data.models.rules.RulesSetType & {
|
|
324
|
-
get name(): "debertzCommon";
|
|
325
|
-
get ordinal(): 2;
|
|
326
|
-
};
|
|
327
|
-
static get debertzKharkiv(): com.logic.data.models.rules.RulesSetType & {
|
|
328
|
-
get name(): "debertzKharkiv";
|
|
329
|
-
get ordinal(): 3;
|
|
330
|
-
};
|
|
331
|
-
static get debertzSaltivka(): com.logic.data.models.rules.RulesSetType & {
|
|
332
|
-
get name(): "debertzSaltivka";
|
|
333
|
-
get ordinal(): 4;
|
|
334
|
-
};
|
|
335
|
-
static get custom(): com.logic.data.models.rules.RulesSetType & {
|
|
336
|
-
get name(): "custom";
|
|
337
|
-
get ordinal(): 5;
|
|
338
|
-
};
|
|
339
|
-
get name(): "belot" | "klabor" | "debertzCommon" | "debertzKharkiv" | "debertzSaltivka" | "custom";
|
|
340
|
-
get ordinal(): 0 | 1 | 2 | 3 | 4 | 5;
|
|
341
|
-
get value(): string;
|
|
342
|
-
getRules(): com.logic.data.models.rules.Rules;
|
|
343
|
-
get isCustom(): boolean;
|
|
344
|
-
static values(): Array<com.logic.data.models.rules.RulesSetType>;
|
|
345
|
-
static valueOf(value: string): com.logic.data.models.rules.RulesSetType;
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
export declare namespace com.logic.data.models.serializable.rules {
|
|
349
|
-
class RulesDto {
|
|
350
|
-
constructor(needToPutHigherTrump: Nullable<boolean> | undefined, distributePoints: Nullable<boolean> | undefined, protectBella: Nullable<boolean> | undefined, oneTryToProtectBella: Nullable<boolean> | undefined, enableFourSevensCombination: Nullable<boolean> | undefined, enableTrumpSevenCombination: Nullable<boolean> | undefined, enableTrumpSevenCombinationAfterDistribution: Nullable<boolean> | undefined, playerWhoChooseSuitGoFirst: Nullable<boolean> | undefined, winnerShuffleCards: Nullable<boolean> | undefined, playWithoutLiabilities: Nullable<boolean> | undefined, trumpCardGoToPlayerWhoShuffleCards: Nullable<boolean> | undefined, enableFineIfNoBribes: Nullable<boolean> | undefined, fineIfNoBribes: number, enableFineAfterThirdByte?: Nullable<boolean>, checkTrumpCombination?: Nullable<boolean>, checkOnlyTrumpDebertz?: Nullable<boolean>, tenCardsInHand?: Nullable<boolean>);
|
|
351
|
-
get needToPutHigherTrump(): Nullable<boolean>;
|
|
352
|
-
get distributePoints(): Nullable<boolean>;
|
|
353
|
-
get protectBella(): Nullable<boolean>;
|
|
354
|
-
get oneTryToProtectBella(): Nullable<boolean>;
|
|
355
|
-
get enableFourSevensCombination(): Nullable<boolean>;
|
|
356
|
-
get enableTrumpSevenCombination(): Nullable<boolean>;
|
|
357
|
-
get enableTrumpSevenCombinationAfterDistribution(): Nullable<boolean>;
|
|
358
|
-
get playerWhoChooseSuitGoFirst(): Nullable<boolean>;
|
|
359
|
-
get winnerShuffleCards(): Nullable<boolean>;
|
|
360
|
-
get playWithoutLiabilities(): Nullable<boolean>;
|
|
361
|
-
get trumpCardGoToPlayerWhoShuffleCards(): Nullable<boolean>;
|
|
362
|
-
get enableFineIfNoBribes(): Nullable<boolean>;
|
|
363
|
-
get fineIfNoBribes(): number;
|
|
364
|
-
get enableFineAfterThirdByte(): Nullable<boolean>;
|
|
365
|
-
get checkTrumpCombination(): Nullable<boolean>;
|
|
366
|
-
get checkOnlyTrumpDebertz(): Nullable<boolean>;
|
|
367
|
-
get tenCardsInHand(): Nullable<boolean>;
|
|
368
|
-
copy(needToPutHigherTrump?: Nullable<boolean>, distributePoints?: Nullable<boolean>, protectBella?: Nullable<boolean>, oneTryToProtectBella?: Nullable<boolean>, enableFourSevensCombination?: Nullable<boolean>, enableTrumpSevenCombination?: Nullable<boolean>, enableTrumpSevenCombinationAfterDistribution?: Nullable<boolean>, playerWhoChooseSuitGoFirst?: Nullable<boolean>, winnerShuffleCards?: Nullable<boolean>, playWithoutLiabilities?: Nullable<boolean>, trumpCardGoToPlayerWhoShuffleCards?: Nullable<boolean>, enableFineIfNoBribes?: Nullable<boolean>, fineIfNoBribes?: number, enableFineAfterThirdByte?: Nullable<boolean>, checkTrumpCombination?: Nullable<boolean>, checkOnlyTrumpDebertz?: Nullable<boolean>, tenCardsInHand?: Nullable<boolean>): com.logic.data.models.serializable.rules.RulesDto;
|
|
369
|
-
toString(): string;
|
|
370
|
-
hashCode(): number;
|
|
371
|
-
equals(other: Nullable<any>): boolean;
|
|
372
|
-
static get Companion(): {
|
|
373
|
-
};
|
|
374
|
-
}
|
|
375
|
-
}
|
|
376
277
|
export declare namespace com.logic.redux.actions {
|
|
377
278
|
interface BufferedAction extends com.logic.redux.store.definitions.Action {
|
|
378
279
|
readonly __doNotUseOrImplementIt: {
|
|
@@ -441,8 +342,16 @@ export declare namespace com.logic.utils.logger.outputs {
|
|
|
441
342
|
get name(): "WARN";
|
|
442
343
|
get ordinal(): 2;
|
|
443
344
|
};
|
|
444
|
-
get
|
|
445
|
-
|
|
345
|
+
static get VERBOSE(): com.logic.utils.logger.outputs.LogType & {
|
|
346
|
+
get name(): "VERBOSE";
|
|
347
|
+
get ordinal(): 3;
|
|
348
|
+
};
|
|
349
|
+
static get INFO(): com.logic.utils.logger.outputs.LogType & {
|
|
350
|
+
get name(): "INFO";
|
|
351
|
+
get ordinal(): 4;
|
|
352
|
+
};
|
|
353
|
+
get name(): "DEBUG" | "ERROR" | "WARN" | "VERBOSE" | "INFO";
|
|
354
|
+
get ordinal(): 0 | 1 | 2 | 3 | 4;
|
|
446
355
|
static values(): Array<com.logic.utils.logger.outputs.LogType>;
|
|
447
356
|
static valueOf(value: string): com.logic.utils.logger.outputs.LogType;
|
|
448
357
|
static get Companion(): {
|
|
@@ -471,153 +380,188 @@ export declare namespace com.logic.utils.logger.outputs {
|
|
|
471
380
|
};
|
|
472
381
|
}
|
|
473
382
|
}
|
|
474
|
-
export declare namespace
|
|
383
|
+
export declare namespace games.jass.logic {
|
|
475
384
|
interface GameStoreContract {
|
|
476
385
|
readonly id: string;
|
|
477
|
-
readonly table:
|
|
386
|
+
readonly table: games.jass.logic.data.models.table.JassTable;
|
|
478
387
|
readonly isTableExists: boolean;
|
|
479
|
-
readonly gameLifecycleState:
|
|
388
|
+
readonly gameLifecycleState: games.jass.logic.data.models.GameLifecycleState;
|
|
480
389
|
readonly __doNotUseOrImplementIt: {
|
|
481
|
-
readonly "
|
|
390
|
+
readonly "games.jass.logic.GameStoreContract": unique symbol;
|
|
482
391
|
};
|
|
483
392
|
}
|
|
484
393
|
}
|
|
485
|
-
export declare namespace
|
|
394
|
+
export declare namespace games.jass.logic.data.models {
|
|
486
395
|
class DealerConfig {
|
|
487
|
-
constructor(dealerStrategy?:
|
|
488
|
-
get dealerStrategy():
|
|
396
|
+
constructor(dealerStrategy?: games.jass.logic.domain.interactors.dealer.DealerStrategy, isBotsAreHappy?: boolean, cards?: Nullable<Array<number>>);
|
|
397
|
+
get dealerStrategy(): games.jass.logic.domain.interactors.dealer.DealerStrategy;
|
|
489
398
|
get isBotsAreHappy(): boolean;
|
|
490
399
|
get cards(): Nullable<Array<number>>;
|
|
491
400
|
equals(other: Nullable<any>): boolean;
|
|
492
401
|
hashCode(): number;
|
|
493
|
-
copy(dealerStrategy?:
|
|
402
|
+
copy(dealerStrategy?: games.jass.logic.domain.interactors.dealer.DealerStrategy, isBotsAreHappy?: boolean, cards?: Nullable<Array<number>>): games.jass.logic.data.models.DealerConfig;
|
|
494
403
|
toString(): string;
|
|
495
404
|
static get Companion(): {
|
|
496
|
-
getFromServerConfig(dealerStrategy?: string, cards?: Nullable<Array<number>>):
|
|
497
|
-
fake(cards?: Array<number>):
|
|
405
|
+
getFromServerConfig(dealerStrategy?: string, cards?: Nullable<Array<number>>): games.jass.logic.data.models.DealerConfig;
|
|
406
|
+
fake(cards?: Array<number>): games.jass.logic.data.models.DealerConfig;
|
|
498
407
|
};
|
|
499
408
|
}
|
|
500
409
|
}
|
|
501
|
-
export declare namespace
|
|
410
|
+
export declare namespace games.jass.logic.data.models {
|
|
502
411
|
class EngineBotConfig {
|
|
503
412
|
constructor(botExitsWhenNGameNumberIsFinished?: Nullable<number>, autoStepLastCard?: boolean, simulateBotThinkingDelay?: boolean, isDelayForBot?: boolean);
|
|
504
413
|
get botExitsWhenNGameNumberIsFinished(): Nullable<number>;
|
|
505
414
|
get autoStepLastCard(): boolean;
|
|
506
415
|
get simulateBotThinkingDelay(): boolean;
|
|
507
416
|
get isDelayForBot(): boolean;
|
|
508
|
-
copy(botExitsWhenNGameNumberIsFinished?: Nullable<number>, autoStepLastCard?: boolean, simulateBotThinkingDelay?: boolean, isDelayForBot?: boolean):
|
|
417
|
+
copy(botExitsWhenNGameNumberIsFinished?: Nullable<number>, autoStepLastCard?: boolean, simulateBotThinkingDelay?: boolean, isDelayForBot?: boolean): games.jass.logic.data.models.EngineBotConfig;
|
|
509
418
|
toString(): string;
|
|
510
419
|
hashCode(): number;
|
|
511
420
|
equals(other: Nullable<any>): boolean;
|
|
512
421
|
}
|
|
513
422
|
}
|
|
514
|
-
export declare namespace
|
|
423
|
+
export declare namespace games.jass.logic.data.models {
|
|
515
424
|
class EngineLogicConfig {
|
|
516
|
-
constructor(supportBackwardActions?: boolean, validateTestMode?: boolean, verboseGameHistory?: boolean);
|
|
425
|
+
constructor(supportBackwardActions?: boolean, validateTestMode?: boolean, verboseGameHistory?: boolean, validateFromClientActionTags?: boolean, playerTimeoutFactorToFinishStep?: number);
|
|
517
426
|
get supportBackwardActions(): boolean;
|
|
518
427
|
get validateTestMode(): boolean;
|
|
519
428
|
get verboseGameHistory(): boolean;
|
|
520
|
-
|
|
429
|
+
get validateFromClientActionTags(): boolean;
|
|
430
|
+
get playerTimeoutFactorToFinishStep(): number;
|
|
431
|
+
copy(supportBackwardActions?: boolean, validateTestMode?: boolean, verboseGameHistory?: boolean, validateFromClientActionTags?: boolean, playerTimeoutFactorToFinishStep?: number): games.jass.logic.data.models.EngineLogicConfig;
|
|
521
432
|
toString(): string;
|
|
522
433
|
hashCode(): number;
|
|
523
434
|
equals(other: Nullable<any>): boolean;
|
|
524
435
|
static get Companion(): {
|
|
525
|
-
getClientEngineTestMode():
|
|
526
|
-
getServerEngineMode(isProduction: boolean, supportBackwardActions?: boolean):
|
|
436
|
+
getClientEngineTestMode(): games.jass.logic.data.models.EngineLogicConfig;
|
|
437
|
+
getServerEngineMode(isProduction: boolean, supportBackwardActions?: boolean, validateFromClientActionTags?: boolean, playerTimeoutFactorToFinishStep?: number): games.jass.logic.data.models.EngineLogicConfig;
|
|
527
438
|
};
|
|
528
439
|
}
|
|
529
440
|
}
|
|
530
|
-
export declare namespace
|
|
441
|
+
export declare namespace games.jass.logic.data.models {
|
|
531
442
|
abstract class GameLifecycleState {
|
|
532
443
|
private constructor();
|
|
533
|
-
static get CREATED():
|
|
444
|
+
static get CREATED(): games.jass.logic.data.models.GameLifecycleState & {
|
|
534
445
|
get name(): "CREATED";
|
|
535
446
|
get ordinal(): 0;
|
|
536
447
|
};
|
|
537
|
-
static get CREATING():
|
|
448
|
+
static get CREATING(): games.jass.logic.data.models.GameLifecycleState & {
|
|
538
449
|
get name(): "CREATING";
|
|
539
450
|
get ordinal(): 1;
|
|
540
451
|
};
|
|
541
|
-
static get FINISHING():
|
|
452
|
+
static get FINISHING(): games.jass.logic.data.models.GameLifecycleState & {
|
|
542
453
|
get name(): "FINISHING";
|
|
543
454
|
get ordinal(): 2;
|
|
544
455
|
};
|
|
545
|
-
static get FINISHED():
|
|
456
|
+
static get FINISHED(): games.jass.logic.data.models.GameLifecycleState & {
|
|
546
457
|
get name(): "FINISHED";
|
|
547
458
|
get ordinal(): 3;
|
|
548
459
|
};
|
|
549
460
|
get name(): "CREATED" | "CREATING" | "FINISHING" | "FINISHED";
|
|
550
461
|
get ordinal(): 0 | 1 | 2 | 3;
|
|
551
|
-
static values(): Array<
|
|
552
|
-
static valueOf(value: string):
|
|
462
|
+
static values(): Array<games.jass.logic.data.models.GameLifecycleState>;
|
|
463
|
+
static valueOf(value: string): games.jass.logic.data.models.GameLifecycleState;
|
|
553
464
|
static get Companion(): {
|
|
554
465
|
} & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
555
466
|
}
|
|
556
467
|
}
|
|
557
|
-
export declare namespace
|
|
468
|
+
export declare namespace games.jass.logic.data.models {
|
|
558
469
|
class GameSessionAnalytics {
|
|
559
|
-
constructor(duration: any/* kotlin.time.Duration */, gamesCount: number, roundsCountTotal: number, playerAnalytics: kotlin.collections.KtList<
|
|
470
|
+
constructor(duration: any/* kotlin.time.Duration */, gamesCount: number, roundsCountTotal: number, playerAnalytics: kotlin.collections.KtList<games.jass.logic.data.models.player.hand.PlayerAnalytics>);
|
|
560
471
|
get duration(): any/* kotlin.time.Duration */;
|
|
561
472
|
get gamesCount(): number;
|
|
562
473
|
get roundsCountTotal(): number;
|
|
563
|
-
get playerAnalytics(): kotlin.collections.KtList<
|
|
564
|
-
get allCombinationCounts(): Array<
|
|
565
|
-
copy(duration?: any/* kotlin.time.Duration */, gamesCount?: number, roundsCountTotal?: number, playerAnalytics?: kotlin.collections.KtList<
|
|
474
|
+
get playerAnalytics(): kotlin.collections.KtList<games.jass.logic.data.models.player.hand.PlayerAnalytics>;
|
|
475
|
+
get allCombinationCounts(): Array<games.jass.logic.data.models.CombinationPair>;
|
|
476
|
+
copy(duration?: any/* kotlin.time.Duration */, gamesCount?: number, roundsCountTotal?: number, playerAnalytics?: kotlin.collections.KtList<games.jass.logic.data.models.player.hand.PlayerAnalytics>): games.jass.logic.data.models.GameSessionAnalytics;
|
|
566
477
|
toString(): string;
|
|
567
478
|
hashCode(): number;
|
|
568
479
|
equals(other: Nullable<any>): boolean;
|
|
569
480
|
}
|
|
570
481
|
class CombinationPair {
|
|
571
|
-
constructor(combinationType:
|
|
572
|
-
get combinationType():
|
|
482
|
+
constructor(combinationType: games.jass.logic.data.models.table.combinations.CombinationType, count: number);
|
|
483
|
+
get combinationType(): games.jass.logic.data.models.table.combinations.CombinationType;
|
|
573
484
|
get count(): number;
|
|
574
|
-
copy(combinationType?:
|
|
485
|
+
copy(combinationType?: games.jass.logic.data.models.table.combinations.CombinationType, count?: number): games.jass.logic.data.models.CombinationPair;
|
|
575
486
|
toString(): string;
|
|
576
487
|
hashCode(): number;
|
|
577
488
|
equals(other: Nullable<any>): boolean;
|
|
578
489
|
}
|
|
579
490
|
}
|
|
580
|
-
export declare namespace
|
|
491
|
+
export declare namespace games.jass.logic.data.models.player.bids {
|
|
492
|
+
abstract class BidType {
|
|
493
|
+
private constructor();
|
|
494
|
+
static get POINTS(): games.jass.logic.data.models.player.bids.BidType & {
|
|
495
|
+
get name(): "POINTS";
|
|
496
|
+
get ordinal(): 0;
|
|
497
|
+
};
|
|
498
|
+
static get CAPOT(): games.jass.logic.data.models.player.bids.BidType & {
|
|
499
|
+
get name(): "CAPOT";
|
|
500
|
+
get ordinal(): 1;
|
|
501
|
+
};
|
|
502
|
+
static get COINCHE(): games.jass.logic.data.models.player.bids.BidType & {
|
|
503
|
+
get name(): "COINCHE";
|
|
504
|
+
get ordinal(): 2;
|
|
505
|
+
};
|
|
506
|
+
static get GENERAL(): games.jass.logic.data.models.player.bids.BidType & {
|
|
507
|
+
get name(): "GENERAL";
|
|
508
|
+
get ordinal(): 3;
|
|
509
|
+
};
|
|
510
|
+
static get SURCOINCHE(): games.jass.logic.data.models.player.bids.BidType & {
|
|
511
|
+
get name(): "SURCOINCHE";
|
|
512
|
+
get ordinal(): 4;
|
|
513
|
+
};
|
|
514
|
+
get name(): "POINTS" | "CAPOT" | "COINCHE" | "GENERAL" | "SURCOINCHE";
|
|
515
|
+
get ordinal(): 0 | 1 | 2 | 3 | 4;
|
|
516
|
+
static values(): Array<games.jass.logic.data.models.player.bids.BidType>;
|
|
517
|
+
static valueOf(value: string): games.jass.logic.data.models.player.bids.BidType;
|
|
518
|
+
static get Companion(): {
|
|
519
|
+
get belotBalgarian(): Array<games.jass.logic.data.models.player.bids.BidType>;
|
|
520
|
+
get coinche(): Array<games.jass.logic.data.models.player.bids.BidType>;
|
|
521
|
+
} & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
export declare namespace games.jass.logic.data.models.player.hand {
|
|
581
525
|
class CombinationRecord {
|
|
582
|
-
constructor(id: string, type:
|
|
526
|
+
constructor(id: string, type: games.jass.logic.data.models.table.combinations.CombinationType, state: games.jass.logic.data.models.table.combinations.CombinationState, value: number);
|
|
583
527
|
get id(): string;
|
|
584
|
-
get type():
|
|
585
|
-
get state():
|
|
528
|
+
get type(): games.jass.logic.data.models.table.combinations.CombinationType;
|
|
529
|
+
get state(): games.jass.logic.data.models.table.combinations.CombinationState;
|
|
586
530
|
get value(): number;
|
|
587
|
-
copy(id?: string, type?:
|
|
531
|
+
copy(id?: string, type?: games.jass.logic.data.models.table.combinations.CombinationType, state?: games.jass.logic.data.models.table.combinations.CombinationState, value?: number): games.jass.logic.data.models.player.hand.CombinationRecord;
|
|
588
532
|
toString(): string;
|
|
589
533
|
hashCode(): number;
|
|
590
534
|
equals(other: Nullable<any>): boolean;
|
|
591
535
|
}
|
|
592
536
|
}
|
|
593
|
-
export declare namespace
|
|
537
|
+
export declare namespace games.jass.logic.data.models.player.hand {
|
|
594
538
|
class PlayerAnalytics implements com.logic.data.models.player.PlayerIdContract {
|
|
595
|
-
constructor(playerId: string, factor: number, wasLiveDuringGame: boolean, liveDurationPercentage: Nullable<number>, combinationRecords: kotlin.collections.KtList<
|
|
539
|
+
constructor(playerId: string, factor: number, wasLiveDuringGame: boolean, liveDurationPercentage: Nullable<number>, combinationRecords: kotlin.collections.KtList<games.jass.logic.data.models.player.hand.CombinationRecord>);
|
|
596
540
|
get playerId(): string;
|
|
597
541
|
get factor(): number;
|
|
598
542
|
get wasLiveDuringGame(): boolean;
|
|
599
543
|
get liveDurationPercentage(): Nullable<number>;
|
|
600
|
-
get combinationRecords(): kotlin.collections.KtList<
|
|
601
|
-
get combinationCounts(): kotlin.collections.KtMap<
|
|
602
|
-
copy(playerId?: string, factor?: number, wasLiveDuringGame?: boolean, liveDurationPercentage?: Nullable<number>, combinationRecords?: kotlin.collections.KtList<
|
|
544
|
+
get combinationRecords(): kotlin.collections.KtList<games.jass.logic.data.models.player.hand.CombinationRecord>;
|
|
545
|
+
get combinationCounts(): kotlin.collections.KtMap<games.jass.logic.data.models.table.combinations.CombinationType, number>;
|
|
546
|
+
copy(playerId?: string, factor?: number, wasLiveDuringGame?: boolean, liveDurationPercentage?: Nullable<number>, combinationRecords?: kotlin.collections.KtList<games.jass.logic.data.models.player.hand.CombinationRecord>): games.jass.logic.data.models.player.hand.PlayerAnalytics;
|
|
603
547
|
toString(): string;
|
|
604
548
|
hashCode(): number;
|
|
605
549
|
equals(other: Nullable<any>): boolean;
|
|
606
550
|
readonly __doNotUseOrImplementIt: com.logic.data.models.player.PlayerIdContract["__doNotUseOrImplementIt"];
|
|
607
551
|
}
|
|
608
552
|
}
|
|
609
|
-
export declare namespace
|
|
553
|
+
export declare namespace games.jass.logic.data.models.player.state {
|
|
610
554
|
abstract class RoundContractState {
|
|
611
555
|
private constructor();
|
|
612
|
-
static get FAILED():
|
|
556
|
+
static get FAILED(): games.jass.logic.data.models.player.state.RoundContractState & {
|
|
613
557
|
get name(): "FAILED";
|
|
614
558
|
get ordinal(): 0;
|
|
615
559
|
};
|
|
616
|
-
static get FULFILLED():
|
|
560
|
+
static get FULFILLED(): games.jass.logic.data.models.player.state.RoundContractState & {
|
|
617
561
|
get name(): "FULFILLED";
|
|
618
562
|
get ordinal(): 1;
|
|
619
563
|
};
|
|
620
|
-
static get CONTROVERSIAL():
|
|
564
|
+
static get CONTROVERSIAL(): games.jass.logic.data.models.player.state.RoundContractState & {
|
|
621
565
|
get name(): "CONTROVERSIAL";
|
|
622
566
|
get ordinal(): 2;
|
|
623
567
|
};
|
|
@@ -626,70 +570,176 @@ export declare namespace com.debertz.logic.data.models.player.state {
|
|
|
626
570
|
get isFailed(): boolean;
|
|
627
571
|
get isFulfilled(): boolean;
|
|
628
572
|
get isControversial(): boolean;
|
|
629
|
-
static values(): Array<
|
|
630
|
-
static valueOf(value: string):
|
|
573
|
+
static values(): Array<games.jass.logic.data.models.player.state.RoundContractState>;
|
|
574
|
+
static valueOf(value: string): games.jass.logic.data.models.player.state.RoundContractState;
|
|
575
|
+
static get Companion(): {
|
|
576
|
+
} & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
export declare namespace games.jass.logic.data.models.player.state {
|
|
580
|
+
abstract class RoundContractType {
|
|
581
|
+
private constructor();
|
|
582
|
+
static get TRUMP_TAKEN(): games.jass.logic.data.models.player.state.RoundContractType & {
|
|
583
|
+
get name(): "TRUMP_TAKEN";
|
|
584
|
+
get ordinal(): 0;
|
|
585
|
+
};
|
|
586
|
+
static get TRUMP_SELECTED(): games.jass.logic.data.models.player.state.RoundContractType & {
|
|
587
|
+
get name(): "TRUMP_SELECTED";
|
|
588
|
+
get ordinal(): 1;
|
|
589
|
+
};
|
|
590
|
+
static get NO_TRUMPS(): games.jass.logic.data.models.player.state.RoundContractType & {
|
|
591
|
+
get name(): "NO_TRUMPS";
|
|
592
|
+
get ordinal(): 2;
|
|
593
|
+
};
|
|
594
|
+
static get ALL_TRUMPS(): games.jass.logic.data.models.player.state.RoundContractType & {
|
|
595
|
+
get name(): "ALL_TRUMPS";
|
|
596
|
+
get ordinal(): 3;
|
|
597
|
+
};
|
|
598
|
+
get name(): "TRUMP_TAKEN" | "TRUMP_SELECTED" | "NO_TRUMPS" | "ALL_TRUMPS";
|
|
599
|
+
get ordinal(): 0 | 1 | 2 | 3;
|
|
600
|
+
static values(): Array<games.jass.logic.data.models.player.state.RoundContractType>;
|
|
601
|
+
static valueOf(value: string): games.jass.logic.data.models.player.state.RoundContractType;
|
|
631
602
|
static get Companion(): {
|
|
603
|
+
get debertzContractTypes(): kotlin.collections.KtList<games.jass.logic.data.models.player.state.RoundContractType>;
|
|
632
604
|
} & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
633
605
|
}
|
|
634
606
|
}
|
|
635
|
-
export declare namespace
|
|
607
|
+
export declare namespace games.jass.logic.data.models.rules {
|
|
608
|
+
class Rules {
|
|
609
|
+
constructor(needToPutHigherTrump: boolean, distributePoints: boolean, protectBella: boolean, oneTryToProtectBella: boolean, enableFourSevensCombination: boolean, enableTrumpSevenCombination: boolean, enableTrumpSevenCombinationAfterDistribution: boolean, playerWhoChooseSuitGoFirst: boolean, winnerShuffleCards: boolean, playWithoutLiabilities: boolean, trumpCardGoToPlayerWhoShuffleCards: boolean, enableFineIfNoBribes: boolean, fineIfNoBribes: number, enableFineAfterThirdByte: boolean, checkTrumpCombination: boolean, checkOnlyTrumpDebertz: 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>);
|
|
610
|
+
get needToPutHigherTrump(): boolean;
|
|
611
|
+
get distributePoints(): boolean;
|
|
612
|
+
get protectBella(): boolean;
|
|
613
|
+
get oneTryToProtectBella(): boolean;
|
|
614
|
+
get enableFourSevensCombination(): boolean;
|
|
615
|
+
get enableTrumpSevenCombination(): boolean;
|
|
616
|
+
get enableTrumpSevenCombinationAfterDistribution(): boolean;
|
|
617
|
+
get playerWhoChooseSuitGoFirst(): boolean;
|
|
618
|
+
get winnerShuffleCards(): boolean;
|
|
619
|
+
get playWithoutLiabilities(): boolean;
|
|
620
|
+
get trumpCardGoToPlayerWhoShuffleCards(): boolean;
|
|
621
|
+
get enableFineIfNoBribes(): boolean;
|
|
622
|
+
get fineIfNoBribes(): number;
|
|
623
|
+
get enableFineAfterThirdByte(): boolean;
|
|
624
|
+
get checkTrumpCombination(): boolean;
|
|
625
|
+
get checkOnlyTrumpDebertz(): boolean;
|
|
626
|
+
get dealerInitialCardsCount(): number;
|
|
627
|
+
get dealerFinalCardsCount(): number;
|
|
628
|
+
get dealerCounterClockwise(): boolean;
|
|
629
|
+
get contractTypes(): Array<games.jass.logic.data.models.player.state.RoundContractType>;
|
|
630
|
+
get bidTypes(): Array<games.jass.logic.data.models.player.bids.BidType>;
|
|
631
|
+
get combinationsWithFirstCard(): Array<games.jass.logic.data.models.table.combinations.CombinationType>;
|
|
632
|
+
toString(): string;
|
|
633
|
+
equals(other: Nullable<any>): boolean;
|
|
634
|
+
hashCode(): number;
|
|
635
|
+
copy(needToPutHigherTrump?: boolean, distributePoints?: boolean, protectBella?: boolean, oneTryToProtectBella?: boolean, enableFourSevensCombination?: boolean, enableTrumpSevenCombination?: boolean, enableTrumpSevenCombinationAfterDistribution?: boolean, playerWhoChooseSuitGoFirst?: boolean, winnerShuffleCards?: boolean, playWithoutLiabilities?: boolean, trumpCardGoToPlayerWhoShuffleCards?: boolean, enableFineIfNoBribes?: boolean, fineIfNoBribes?: number, enableFineAfterThirdByte?: boolean, checkTrumpCombination?: boolean, checkOnlyTrumpDebertz?: 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>): games.jass.logic.data.models.rules.Rules;
|
|
636
|
+
static get Companion(): {
|
|
637
|
+
get HAND_CARDS_INITIAL(): number;
|
|
638
|
+
get HAND_CARDS_FINAL(): number;
|
|
639
|
+
kharkiv(): games.jass.logic.data.models.rules.Rules;
|
|
640
|
+
saltivka(): games.jass.logic.data.models.rules.Rules;
|
|
641
|
+
klabor(): games.jass.logic.data.models.rules.Rules;
|
|
642
|
+
belotBulgarian(): games.jass.logic.data.models.rules.Rules;
|
|
643
|
+
debertzCommon(): games.jass.logic.data.models.rules.Rules;
|
|
644
|
+
belot(): games.jass.logic.data.models.rules.Rules;
|
|
645
|
+
custom(): games.jass.logic.data.models.rules.Rules;
|
|
646
|
+
};
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
export declare namespace games.jass.logic.data.models.rules {
|
|
650
|
+
abstract class RulesSetType {
|
|
651
|
+
private constructor();
|
|
652
|
+
static get belot(): games.jass.logic.data.models.rules.RulesSetType & {
|
|
653
|
+
get name(): "belot";
|
|
654
|
+
get ordinal(): 0;
|
|
655
|
+
};
|
|
656
|
+
static get klabor(): games.jass.logic.data.models.rules.RulesSetType & {
|
|
657
|
+
get name(): "klabor";
|
|
658
|
+
get ordinal(): 1;
|
|
659
|
+
};
|
|
660
|
+
static get debertzCommon(): games.jass.logic.data.models.rules.RulesSetType & {
|
|
661
|
+
get name(): "debertzCommon";
|
|
662
|
+
get ordinal(): 2;
|
|
663
|
+
};
|
|
664
|
+
static get debertzKharkiv(): games.jass.logic.data.models.rules.RulesSetType & {
|
|
665
|
+
get name(): "debertzKharkiv";
|
|
666
|
+
get ordinal(): 3;
|
|
667
|
+
};
|
|
668
|
+
static get debertzSaltivka(): games.jass.logic.data.models.rules.RulesSetType & {
|
|
669
|
+
get name(): "debertzSaltivka";
|
|
670
|
+
get ordinal(): 4;
|
|
671
|
+
};
|
|
672
|
+
static get custom(): games.jass.logic.data.models.rules.RulesSetType & {
|
|
673
|
+
get name(): "custom";
|
|
674
|
+
get ordinal(): 5;
|
|
675
|
+
};
|
|
676
|
+
get name(): "belot" | "klabor" | "debertzCommon" | "debertzKharkiv" | "debertzSaltivka" | "custom";
|
|
677
|
+
get ordinal(): 0 | 1 | 2 | 3 | 4 | 5;
|
|
678
|
+
get value(): string;
|
|
679
|
+
getRules(): games.jass.logic.data.models.rules.Rules;
|
|
680
|
+
get isCustom(): boolean;
|
|
681
|
+
static values(): Array<games.jass.logic.data.models.rules.RulesSetType>;
|
|
682
|
+
static valueOf(value: string): games.jass.logic.data.models.rules.RulesSetType;
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
export declare namespace games.jass.logic.data.models.scenes {
|
|
636
686
|
interface ActData {
|
|
637
687
|
readonly actId: string;
|
|
638
688
|
readonly __doNotUseOrImplementIt: {
|
|
639
|
-
readonly "
|
|
689
|
+
readonly "games.jass.logic.data.models.scenes.ActData": unique symbol;
|
|
640
690
|
};
|
|
641
691
|
}
|
|
642
692
|
}
|
|
643
|
-
export declare namespace
|
|
693
|
+
export declare namespace games.jass.logic.data.models.scenes {
|
|
644
694
|
interface SceneData {
|
|
645
695
|
readonly sceneId: string;
|
|
646
696
|
readonly __doNotUseOrImplementIt: {
|
|
647
|
-
readonly "
|
|
697
|
+
readonly "games.jass.logic.data.models.scenes.SceneData": unique symbol;
|
|
648
698
|
};
|
|
649
699
|
}
|
|
650
700
|
}
|
|
651
|
-
export declare namespace
|
|
652
|
-
class
|
|
653
|
-
constructor(id: string, version: string, createdAt: any/* kotlinx.datetime.Instant */, config:
|
|
701
|
+
export declare namespace games.jass.logic.data.models.table {
|
|
702
|
+
class JassTable {
|
|
703
|
+
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);
|
|
654
704
|
get id(): string;
|
|
655
705
|
get version(): string;
|
|
656
706
|
get createdAt(): any/* kotlinx.datetime.Instant */;
|
|
657
|
-
get config():
|
|
658
|
-
get players(): kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/*
|
|
659
|
-
get sceneInfo(): any/*
|
|
660
|
-
get cardsOnTable(): kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/*
|
|
661
|
-
get bribes(): kotlin.collections.KtList<any/*
|
|
662
|
-
get cardDeck(): Nullable<any>/* Nullable<
|
|
663
|
-
get gameInfo(): any/*
|
|
664
|
-
get gameHistory():
|
|
707
|
+
get config(): games.jass.logic.data.models.table.config.Config;
|
|
708
|
+
get players(): kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.player.JassPlayer */>;
|
|
709
|
+
get sceneInfo(): any/* games.jass.logic.data.models.table.scene.SceneInfo */;
|
|
710
|
+
get cardsOnTable(): kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.table.bribes.CardOnTable */>;
|
|
711
|
+
get bribes(): kotlin.collections.KtList<any/* games.jass.logic.data.models.table.cards.Bribe */>;
|
|
712
|
+
get cardDeck(): Nullable<any>/* Nullable<games.jass.logic.data.models.table.cards.CardDeck> */;
|
|
713
|
+
get gameInfo(): any/* games.jass.logic.data.models.table.GameInfo */;
|
|
714
|
+
get gameHistory(): games.jass.logic.data.models.table.history.GameHistory;
|
|
665
715
|
get gameId(): string;
|
|
666
716
|
get gameDuration(): any/* kotlin.time.Duration */;
|
|
667
717
|
get gameCreatedAt(): any/* kotlinx.datetime.Instant */;
|
|
668
718
|
get playersConnections(): kotlin.collections.KtList<any/* kotlin.Pair<string, com.logic.data.models.player.PlayerConnectionState> */>;
|
|
669
719
|
get users(): Array<com.logic.data.models.player.GameUserInfo>;
|
|
670
720
|
get isCardDeckExist(): boolean;
|
|
671
|
-
get requireCardDeck(): any/*
|
|
721
|
+
get requireCardDeck(): any/* games.jass.logic.data.models.table.cards.CardDeck */;
|
|
672
722
|
get currentTrump(): Nullable<any>/* Nullable<io.raspberryapps.card_game.core.data.models.cards.Suit> */;
|
|
673
723
|
get isGameFinished(): boolean;
|
|
674
724
|
toString(): string;
|
|
675
|
-
copy(id?: string, version?: string, createdAt?: any/* kotlinx.datetime.Instant */, config?:
|
|
725
|
+
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;
|
|
676
726
|
hashCode(): number;
|
|
677
727
|
equals(other: Nullable<any>): boolean;
|
|
678
728
|
static get Companion(): {
|
|
679
|
-
initial(tableId: string, gameId: string, version: string, config:
|
|
729
|
+
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;
|
|
680
730
|
};
|
|
681
731
|
}
|
|
682
732
|
}
|
|
683
|
-
export declare namespace
|
|
733
|
+
export declare namespace games.jass.logic.data.models.table {
|
|
684
734
|
class TableLoggerPayload implements io.raspberryapps.card_game.core.utils.logger.LoggerPayload {
|
|
685
|
-
constructor(id: string, gameId: string, players: Array<
|
|
735
|
+
constructor(id: string, gameId: string, players: Array<games.jass.logic.data.models.table.PlayerLoggerPayload>);
|
|
686
736
|
get id(): string;
|
|
687
737
|
get gameId(): string;
|
|
688
|
-
get players(): Array<
|
|
738
|
+
get players(): Array<games.jass.logic.data.models.table.PlayerLoggerPayload>;
|
|
689
739
|
equals(other: Nullable<any>): boolean;
|
|
690
740
|
hashCode(): number;
|
|
691
741
|
toString(): string;
|
|
692
|
-
copy(id?: string, gameId?: string, players?: Array<
|
|
742
|
+
copy(id?: string, gameId?: string, players?: Array<games.jass.logic.data.models.table.PlayerLoggerPayload>): games.jass.logic.data.models.table.TableLoggerPayload;
|
|
693
743
|
readonly __doNotUseOrImplementIt: io.raspberryapps.card_game.core.utils.logger.LoggerPayload["__doNotUseOrImplementIt"];
|
|
694
744
|
}
|
|
695
745
|
class PlayerLoggerPayload implements io.raspberryapps.card_game.core.utils.logger.LoggerPayload {
|
|
@@ -697,219 +747,253 @@ export declare namespace com.debertz.logic.data.models.table {
|
|
|
697
747
|
get playerId(): string;
|
|
698
748
|
get connectionState(): Nullable<com.logic.data.models.player.PlayerConnectionState>;
|
|
699
749
|
toString(): string;
|
|
700
|
-
copy(playerId?: string, connectionState?: Nullable<com.logic.data.models.player.PlayerConnectionState>):
|
|
750
|
+
copy(playerId?: string, connectionState?: Nullable<com.logic.data.models.player.PlayerConnectionState>): games.jass.logic.data.models.table.PlayerLoggerPayload;
|
|
701
751
|
hashCode(): number;
|
|
702
752
|
equals(other: Nullable<any>): boolean;
|
|
703
753
|
readonly __doNotUseOrImplementIt: io.raspberryapps.card_game.core.utils.logger.LoggerPayload["__doNotUseOrImplementIt"];
|
|
704
754
|
}
|
|
705
755
|
}
|
|
706
|
-
export declare namespace
|
|
707
|
-
class Combination /* implements
|
|
708
|
-
constructor(id: string, type:
|
|
709
|
-
copy(id?: string, type?:
|
|
756
|
+
export declare namespace games.jass.logic.data.models.table.combinations {
|
|
757
|
+
class Combination /* implements games.jass.logic.data.models.table.combinations.CombinationContract */ {
|
|
758
|
+
constructor(id: string, type: games.jass.logic.data.models.table.combinations.CombinationType, cards: Nullable<kotlin.collections.KtList<any/* io.raspberryapps.card_game.core.data.models.cards.GameCard */>>);
|
|
759
|
+
copy(id?: string, type?: games.jass.logic.data.models.table.combinations.CombinationType, cards?: Nullable<kotlin.collections.KtList<any/* io.raspberryapps.card_game.core.data.models.cards.GameCard */>>): games.jass.logic.data.models.table.combinations.Combination;
|
|
710
760
|
toString(): string;
|
|
711
761
|
hashCode(): number;
|
|
712
762
|
equals(other: Nullable<any>): boolean;
|
|
713
763
|
}
|
|
714
764
|
}
|
|
715
|
-
export declare namespace
|
|
765
|
+
export declare namespace games.jass.logic.data.models.table.combinations {
|
|
716
766
|
abstract class CombinationState {
|
|
717
767
|
private constructor();
|
|
718
|
-
static get NOT_VERIFIED():
|
|
768
|
+
static get NOT_VERIFIED(): games.jass.logic.data.models.table.combinations.CombinationState & {
|
|
719
769
|
get name(): "NOT_VERIFIED";
|
|
720
770
|
get ordinal(): 0;
|
|
721
771
|
};
|
|
722
|
-
static get VERIFYING():
|
|
772
|
+
static get VERIFYING(): games.jass.logic.data.models.table.combinations.CombinationState & {
|
|
723
773
|
get name(): "VERIFYING";
|
|
724
774
|
get ordinal(): 1;
|
|
725
775
|
};
|
|
726
|
-
static get ACCEPTED():
|
|
776
|
+
static get ACCEPTED(): games.jass.logic.data.models.table.combinations.CombinationState & {
|
|
727
777
|
get name(): "ACCEPTED";
|
|
728
778
|
get ordinal(): 2;
|
|
729
779
|
};
|
|
730
|
-
static get NOT_ACCEPTED():
|
|
780
|
+
static get NOT_ACCEPTED(): games.jass.logic.data.models.table.combinations.CombinationState & {
|
|
731
781
|
get name(): "NOT_ACCEPTED";
|
|
732
782
|
get ordinal(): 3;
|
|
733
783
|
};
|
|
734
|
-
static get REJECTED():
|
|
784
|
+
static get REJECTED(): games.jass.logic.data.models.table.combinations.CombinationState & {
|
|
735
785
|
get name(): "REJECTED";
|
|
736
786
|
get ordinal(): 4;
|
|
737
787
|
};
|
|
738
|
-
static get CANCELED():
|
|
788
|
+
static get CANCELED(): games.jass.logic.data.models.table.combinations.CombinationState & {
|
|
739
789
|
get name(): "CANCELED";
|
|
740
790
|
get ordinal(): 5;
|
|
741
791
|
};
|
|
742
792
|
get name(): "NOT_VERIFIED" | "VERIFYING" | "ACCEPTED" | "NOT_ACCEPTED" | "REJECTED" | "CANCELED";
|
|
743
793
|
get ordinal(): 0 | 1 | 2 | 3 | 4 | 5;
|
|
744
|
-
static values(): Array<
|
|
745
|
-
static valueOf(value: string):
|
|
794
|
+
static values(): Array<games.jass.logic.data.models.table.combinations.CombinationState>;
|
|
795
|
+
static valueOf(value: string): games.jass.logic.data.models.table.combinations.CombinationState;
|
|
746
796
|
static get Companion(): {
|
|
747
797
|
} & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
748
798
|
}
|
|
749
799
|
}
|
|
750
|
-
export declare namespace
|
|
800
|
+
export declare namespace games.jass.logic.data.models.table.combinations {
|
|
751
801
|
abstract class CombinationType {
|
|
752
802
|
private constructor();
|
|
753
|
-
static get BELA():
|
|
803
|
+
static get BELA(): games.jass.logic.data.models.table.combinations.CombinationType & {
|
|
754
804
|
get name(): "BELA";
|
|
755
805
|
get ordinal(): 0;
|
|
756
806
|
};
|
|
757
|
-
static get THREE_IN_ROW():
|
|
807
|
+
static get THREE_IN_ROW(): games.jass.logic.data.models.table.combinations.CombinationType & {
|
|
758
808
|
get name(): "THREE_IN_ROW";
|
|
759
809
|
get ordinal(): 1;
|
|
760
810
|
};
|
|
761
|
-
static get FOUR_IN_ROW():
|
|
811
|
+
static get FOUR_IN_ROW(): games.jass.logic.data.models.table.combinations.CombinationType & {
|
|
762
812
|
get name(): "FOUR_IN_ROW";
|
|
763
813
|
get ordinal(): 2;
|
|
764
814
|
};
|
|
765
|
-
static get
|
|
766
|
-
get name(): "
|
|
815
|
+
static get FIVE_IN_ROW(): games.jass.logic.data.models.table.combinations.CombinationType & {
|
|
816
|
+
get name(): "FIVE_IN_ROW";
|
|
767
817
|
get ordinal(): 3;
|
|
768
818
|
};
|
|
769
|
-
static get
|
|
770
|
-
get name(): "
|
|
819
|
+
static get SEVEN_IN_ROW(): games.jass.logic.data.models.table.combinations.CombinationType & {
|
|
820
|
+
get name(): "SEVEN_IN_ROW";
|
|
771
821
|
get ordinal(): 4;
|
|
772
822
|
};
|
|
773
|
-
static get
|
|
774
|
-
get name(): "
|
|
823
|
+
static get SEVEN_TRUMP(): games.jass.logic.data.models.table.combinations.CombinationType & {
|
|
824
|
+
get name(): "SEVEN_TRUMP";
|
|
775
825
|
get ordinal(): 5;
|
|
776
826
|
};
|
|
777
|
-
static get
|
|
778
|
-
get name(): "
|
|
827
|
+
static get FOUR_ACES(): games.jass.logic.data.models.table.combinations.CombinationType & {
|
|
828
|
+
get name(): "FOUR_ACES";
|
|
779
829
|
get ordinal(): 6;
|
|
780
830
|
};
|
|
781
|
-
static get
|
|
782
|
-
get name(): "
|
|
831
|
+
static get FOUR_KINGS(): games.jass.logic.data.models.table.combinations.CombinationType & {
|
|
832
|
+
get name(): "FOUR_KINGS";
|
|
783
833
|
get ordinal(): 7;
|
|
784
834
|
};
|
|
785
|
-
static get
|
|
786
|
-
get name(): "
|
|
835
|
+
static get FOUR_DAMES(): games.jass.logic.data.models.table.combinations.CombinationType & {
|
|
836
|
+
get name(): "FOUR_DAMES";
|
|
787
837
|
get ordinal(): 8;
|
|
788
838
|
};
|
|
789
|
-
static get
|
|
790
|
-
get name(): "
|
|
839
|
+
static get FOUR_JACKS(): games.jass.logic.data.models.table.combinations.CombinationType & {
|
|
840
|
+
get name(): "FOUR_JACKS";
|
|
791
841
|
get ordinal(): 9;
|
|
792
842
|
};
|
|
793
|
-
static get
|
|
794
|
-
get name(): "
|
|
843
|
+
static get FOUR_TENS(): games.jass.logic.data.models.table.combinations.CombinationType & {
|
|
844
|
+
get name(): "FOUR_TENS";
|
|
795
845
|
get ordinal(): 10;
|
|
796
846
|
};
|
|
797
|
-
get
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
847
|
+
static get FOUR_NINES(): games.jass.logic.data.models.table.combinations.CombinationType & {
|
|
848
|
+
get name(): "FOUR_NINES";
|
|
849
|
+
get ordinal(): 11;
|
|
850
|
+
};
|
|
851
|
+
static get FOUR_SEVENS(): games.jass.logic.data.models.table.combinations.CombinationType & {
|
|
852
|
+
get name(): "FOUR_SEVENS";
|
|
853
|
+
get ordinal(): 12;
|
|
854
|
+
};
|
|
855
|
+
static get FINE_NO_BRIBES(): games.jass.logic.data.models.table.combinations.CombinationType & {
|
|
856
|
+
get name(): "FINE_NO_BRIBES";
|
|
857
|
+
get ordinal(): 13;
|
|
858
|
+
};
|
|
859
|
+
static get FINE_THIRD_FAILED_CONTRACT(): games.jass.logic.data.models.table.combinations.CombinationType & {
|
|
860
|
+
get name(): "FINE_THIRD_FAILED_CONTRACT";
|
|
861
|
+
get ordinal(): 14;
|
|
862
|
+
};
|
|
863
|
+
static get BONUS_LAST_BRIBE(): games.jass.logic.data.models.table.combinations.CombinationType & {
|
|
864
|
+
get name(): "BONUS_LAST_BRIBE";
|
|
865
|
+
get ordinal(): 15;
|
|
866
|
+
};
|
|
867
|
+
static get BONUS_FAILED_CONTRACT(): games.jass.logic.data.models.table.combinations.CombinationType & {
|
|
868
|
+
get name(): "BONUS_FAILED_CONTRACT";
|
|
869
|
+
get ordinal(): 16;
|
|
870
|
+
};
|
|
871
|
+
static get BONUS_CONTROVERSIAL_CONTRACT(): games.jass.logic.data.models.table.combinations.CombinationType & {
|
|
872
|
+
get name(): "BONUS_CONTROVERSIAL_CONTRACT";
|
|
873
|
+
get ordinal(): 17;
|
|
874
|
+
};
|
|
875
|
+
get name(): "BELA" | "THREE_IN_ROW" | "FOUR_IN_ROW" | "FIVE_IN_ROW" | "SEVEN_IN_ROW" | "SEVEN_TRUMP" | "FOUR_ACES" | "FOUR_KINGS" | "FOUR_DAMES" | "FOUR_JACKS" | "FOUR_TENS" | "FOUR_NINES" | "FOUR_SEVENS" | "FINE_NO_BRIBES" | "FINE_THIRD_FAILED_CONTRACT" | "BONUS_LAST_BRIBE" | "BONUS_FAILED_CONTRACT" | "BONUS_CONTROVERSIAL_CONTRACT";
|
|
876
|
+
get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17;
|
|
877
|
+
static values(): Array<games.jass.logic.data.models.table.combinations.CombinationType>;
|
|
878
|
+
static valueOf(value: string): games.jass.logic.data.models.table.combinations.CombinationType;
|
|
801
879
|
static get Companion(): {
|
|
802
|
-
|
|
880
|
+
get withFirstCardCombination(): kotlin.collections.KtList<games.jass.logic.data.models.table.combinations.CombinationType>;
|
|
881
|
+
get inRowCombinations(): kotlin.collections.KtList<games.jass.logic.data.models.table.combinations.CombinationType>;
|
|
882
|
+
get fourCardsCombinations(): kotlin.collections.KtList<games.jass.logic.data.models.table.combinations.CombinationType>;
|
|
883
|
+
get debertzWithFirstCardCombinations(): kotlin.collections.KtList<games.jass.logic.data.models.table.combinations.CombinationType>;
|
|
884
|
+
get belotWithFirstCardCombination(): kotlin.collections.KtList<games.jass.logic.data.models.table.combinations.CombinationType>;
|
|
803
885
|
} & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
804
886
|
}
|
|
805
887
|
}
|
|
806
|
-
export declare namespace
|
|
888
|
+
export declare namespace games.jass.logic.data.models.table.combinations {
|
|
807
889
|
class PlayerCombinations implements com.logic.data.models.player.PlayerIdContract {
|
|
808
|
-
constructor(playerId: string, combinations: Array<
|
|
890
|
+
constructor(playerId: string, combinations: Array<games.jass.logic.data.models.table.combinations.Combination>);
|
|
809
891
|
get playerId(): string;
|
|
810
|
-
get combinations(): Array<
|
|
892
|
+
get combinations(): Array<games.jass.logic.data.models.table.combinations.Combination>;
|
|
811
893
|
equals(other: Nullable<any>): boolean;
|
|
812
894
|
hashCode(): number;
|
|
813
|
-
copy(playerId?: string, combinations?: Array<
|
|
895
|
+
copy(playerId?: string, combinations?: Array<games.jass.logic.data.models.table.combinations.Combination>): games.jass.logic.data.models.table.combinations.PlayerCombinations;
|
|
814
896
|
toString(): string;
|
|
815
897
|
readonly __doNotUseOrImplementIt: com.logic.data.models.player.PlayerIdContract["__doNotUseOrImplementIt"];
|
|
816
898
|
}
|
|
817
899
|
}
|
|
818
|
-
export declare namespace
|
|
900
|
+
export declare namespace games.jass.logic.data.models.table.config {
|
|
819
901
|
abstract class BotIntelligenceLevel {
|
|
820
902
|
private constructor();
|
|
821
|
-
static get SUPER_HARD():
|
|
903
|
+
static get SUPER_HARD(): games.jass.logic.data.models.table.config.BotIntelligenceLevel & {
|
|
822
904
|
get name(): "SUPER_HARD";
|
|
823
905
|
get ordinal(): 0;
|
|
824
906
|
};
|
|
825
|
-
static get HARD():
|
|
907
|
+
static get HARD(): games.jass.logic.data.models.table.config.BotIntelligenceLevel & {
|
|
826
908
|
get name(): "HARD";
|
|
827
909
|
get ordinal(): 1;
|
|
828
910
|
};
|
|
829
|
-
static get MEDIUM():
|
|
911
|
+
static get MEDIUM(): games.jass.logic.data.models.table.config.BotIntelligenceLevel & {
|
|
830
912
|
get name(): "MEDIUM";
|
|
831
913
|
get ordinal(): 2;
|
|
832
914
|
};
|
|
833
|
-
static get EASY():
|
|
915
|
+
static get EASY(): games.jass.logic.data.models.table.config.BotIntelligenceLevel & {
|
|
834
916
|
get name(): "EASY";
|
|
835
917
|
get ordinal(): 3;
|
|
836
918
|
};
|
|
837
|
-
static get SUPER_EASY():
|
|
919
|
+
static get SUPER_EASY(): games.jass.logic.data.models.table.config.BotIntelligenceLevel & {
|
|
838
920
|
get name(): "SUPER_EASY";
|
|
839
921
|
get ordinal(): 4;
|
|
840
922
|
};
|
|
841
923
|
get name(): "SUPER_HARD" | "HARD" | "MEDIUM" | "EASY" | "SUPER_EASY";
|
|
842
924
|
get ordinal(): 0 | 1 | 2 | 3 | 4;
|
|
843
|
-
static values(): Array<
|
|
844
|
-
static valueOf(value: string):
|
|
925
|
+
static values(): Array<games.jass.logic.data.models.table.config.BotIntelligenceLevel>;
|
|
926
|
+
static valueOf(value: string): games.jass.logic.data.models.table.config.BotIntelligenceLevel;
|
|
845
927
|
static get Companion(): {
|
|
846
928
|
} & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
847
929
|
}
|
|
848
|
-
function getLevel(_this_:
|
|
930
|
+
function getLevel(_this_: games.jass.logic.data.models.table.config.BotIntelligenceLevel): number;
|
|
849
931
|
}
|
|
850
|
-
export declare namespace
|
|
932
|
+
export declare namespace games.jass.logic.data.models.table.config {
|
|
851
933
|
class Config {
|
|
852
|
-
constructor(rules:
|
|
853
|
-
get rules():
|
|
854
|
-
get rulesSetType():
|
|
855
|
-
get options():
|
|
856
|
-
get playersMode():
|
|
857
|
-
get pointsMode():
|
|
934
|
+
constructor(rules: games.jass.logic.data.models.rules.Rules, rulesSetType: games.jass.logic.data.models.rules.RulesSetType, options: games.jass.logic.data.models.table.config.Options, playersMode: games.jass.logic.data.models.table.config.PlayersMode, pointsMode: games.jass.logic.data.models.table.config.PointsMode, timeoutTimeMillis: number, isPrivate: boolean);
|
|
935
|
+
get rules(): games.jass.logic.data.models.rules.Rules;
|
|
936
|
+
get rulesSetType(): games.jass.logic.data.models.rules.RulesSetType;
|
|
937
|
+
get options(): games.jass.logic.data.models.table.config.Options;
|
|
938
|
+
get playersMode(): games.jass.logic.data.models.table.config.PlayersMode;
|
|
939
|
+
get pointsMode(): games.jass.logic.data.models.table.config.PointsMode;
|
|
858
940
|
get timeoutTimeMillis(): number;
|
|
859
941
|
get isPrivate(): boolean;
|
|
860
942
|
get playerHandCardsSize(): number;
|
|
861
|
-
copy(rules?:
|
|
943
|
+
copy(rules?: games.jass.logic.data.models.rules.Rules, rulesSetType?: games.jass.logic.data.models.rules.RulesSetType, options?: games.jass.logic.data.models.table.config.Options, playersMode?: games.jass.logic.data.models.table.config.PlayersMode, pointsMode?: games.jass.logic.data.models.table.config.PointsMode, timeoutTimeMillis?: number, isPrivate?: boolean): games.jass.logic.data.models.table.config.Config;
|
|
862
944
|
toString(): string;
|
|
863
945
|
hashCode(): number;
|
|
864
946
|
equals(other: Nullable<any>): boolean;
|
|
865
947
|
}
|
|
866
948
|
}
|
|
867
|
-
export declare namespace
|
|
949
|
+
export declare namespace games.jass.logic.data.models.table.config {
|
|
868
950
|
class ConfigLite {
|
|
869
|
-
constructor(players:
|
|
870
|
-
get players():
|
|
871
|
-
get points():
|
|
951
|
+
constructor(players: games.jass.logic.data.models.table.config.PlayersMode, points: games.jass.logic.data.models.table.config.PointsMode, timeoutTimeMillis: number, rulesPreset: games.jass.logic.data.models.rules.RulesSetType, isPrivate: boolean, isChatEnabled: boolean, isBotsEnabled: boolean, rules: Nullable<games.jass.logic.data.models.rules.Rules>);
|
|
952
|
+
get players(): games.jass.logic.data.models.table.config.PlayersMode;
|
|
953
|
+
get points(): games.jass.logic.data.models.table.config.PointsMode;
|
|
872
954
|
get timeoutTimeMillis(): number;
|
|
873
|
-
get rulesPreset():
|
|
955
|
+
get rulesPreset(): games.jass.logic.data.models.rules.RulesSetType;
|
|
874
956
|
get isPrivate(): boolean;
|
|
875
957
|
get isChatEnabled(): boolean;
|
|
876
|
-
get
|
|
877
|
-
|
|
958
|
+
get isBotsEnabled(): boolean;
|
|
959
|
+
get rules(): Nullable<games.jass.logic.data.models.rules.Rules>;
|
|
960
|
+
copy(players?: games.jass.logic.data.models.table.config.PlayersMode, points?: games.jass.logic.data.models.table.config.PointsMode, timeoutTimeMillis?: number, rulesPreset?: games.jass.logic.data.models.rules.RulesSetType, isPrivate?: boolean, isChatEnabled?: boolean, isBotsEnabled?: boolean, rules?: Nullable<games.jass.logic.data.models.rules.Rules>): games.jass.logic.data.models.table.config.ConfigLite;
|
|
878
961
|
toString(): string;
|
|
879
962
|
hashCode(): number;
|
|
880
963
|
equals(other: Nullable<any>): boolean;
|
|
881
964
|
}
|
|
882
965
|
}
|
|
883
|
-
export declare namespace
|
|
966
|
+
export declare namespace games.jass.logic.data.models.table.config {
|
|
884
967
|
class Options {
|
|
885
|
-
constructor(isEnableChat?: boolean, botIntelligenceLevel?:
|
|
968
|
+
constructor(isEnableChat?: boolean, isBotsEnabled?: boolean, botIntelligenceLevel?: games.jass.logic.data.models.table.config.BotIntelligenceLevel, timeForCountdownMillis?: number, timeForBotMillis?: number, isEnableChoosePartnerScreen?: boolean);
|
|
886
969
|
get isEnableChat(): boolean;
|
|
887
|
-
get
|
|
970
|
+
get isBotsEnabled(): boolean;
|
|
971
|
+
get botIntelligenceLevel(): games.jass.logic.data.models.table.config.BotIntelligenceLevel;
|
|
888
972
|
get timeForCountdownMillis(): number;
|
|
889
973
|
get timeForBotMillis(): number;
|
|
890
974
|
get isEnableChoosePartnerScreen(): boolean;
|
|
891
|
-
copy(isEnableChat?: boolean, botIntelligenceLevel?:
|
|
975
|
+
copy(isEnableChat?: boolean, isBotsEnabled?: boolean, botIntelligenceLevel?: games.jass.logic.data.models.table.config.BotIntelligenceLevel, timeForCountdownMillis?: number, timeForBotMillis?: number, isEnableChoosePartnerScreen?: boolean): games.jass.logic.data.models.table.config.Options;
|
|
892
976
|
toString(): string;
|
|
893
977
|
hashCode(): number;
|
|
894
978
|
equals(other: Nullable<any>): boolean;
|
|
895
979
|
}
|
|
896
980
|
}
|
|
897
|
-
export declare namespace
|
|
981
|
+
export declare namespace games.jass.logic.data.models.table.config {
|
|
898
982
|
abstract class PlayersMode {
|
|
899
983
|
private constructor();
|
|
900
|
-
static get TWO_PLAYERS():
|
|
984
|
+
static get TWO_PLAYERS(): games.jass.logic.data.models.table.config.PlayersMode & {
|
|
901
985
|
get name(): "TWO_PLAYERS";
|
|
902
986
|
get ordinal(): 0;
|
|
903
987
|
};
|
|
904
|
-
static get THREE_PLAYERS():
|
|
988
|
+
static get THREE_PLAYERS(): games.jass.logic.data.models.table.config.PlayersMode & {
|
|
905
989
|
get name(): "THREE_PLAYERS";
|
|
906
990
|
get ordinal(): 1;
|
|
907
991
|
};
|
|
908
|
-
static get FOUR_PLAYERS():
|
|
992
|
+
static get FOUR_PLAYERS(): games.jass.logic.data.models.table.config.PlayersMode & {
|
|
909
993
|
get name(): "FOUR_PLAYERS";
|
|
910
994
|
get ordinal(): 2;
|
|
911
995
|
};
|
|
912
|
-
static get FOUR_PLAYERS_BY_TEAM():
|
|
996
|
+
static get FOUR_PLAYERS_BY_TEAM(): games.jass.logic.data.models.table.config.PlayersMode & {
|
|
913
997
|
get name(): "FOUR_PLAYERS_BY_TEAM";
|
|
914
998
|
get ordinal(): 3;
|
|
915
999
|
};
|
|
@@ -918,114 +1002,118 @@ export declare namespace com.debertz.logic.data.models.table.config {
|
|
|
918
1002
|
get value(): number;
|
|
919
1003
|
get isTeamGame(): boolean;
|
|
920
1004
|
get count(): number;
|
|
921
|
-
static values(): Array<
|
|
922
|
-
static valueOf(value: string):
|
|
1005
|
+
static values(): Array<games.jass.logic.data.models.table.config.PlayersMode>;
|
|
1006
|
+
static valueOf(value: string): games.jass.logic.data.models.table.config.PlayersMode;
|
|
923
1007
|
static get Companion(): {
|
|
924
|
-
create(points: number):
|
|
1008
|
+
create(points: number): games.jass.logic.data.models.table.config.PlayersMode;
|
|
925
1009
|
} & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
926
1010
|
}
|
|
927
1011
|
}
|
|
928
|
-
export declare namespace
|
|
1012
|
+
export declare namespace games.jass.logic.data.models.table.config {
|
|
929
1013
|
abstract class PointsMode {
|
|
930
1014
|
private constructor();
|
|
931
|
-
static get SMALL():
|
|
1015
|
+
static get SMALL(): games.jass.logic.data.models.table.config.PointsMode & {
|
|
932
1016
|
get name(): "SMALL";
|
|
933
1017
|
get ordinal(): 0;
|
|
934
1018
|
};
|
|
935
|
-
static get MEDIUM():
|
|
1019
|
+
static get MEDIUM(): games.jass.logic.data.models.table.config.PointsMode & {
|
|
936
1020
|
get name(): "MEDIUM";
|
|
937
1021
|
get ordinal(): 1;
|
|
938
1022
|
};
|
|
939
|
-
static get BIG():
|
|
1023
|
+
static get BIG(): games.jass.logic.data.models.table.config.PointsMode & {
|
|
940
1024
|
get name(): "BIG";
|
|
941
1025
|
get ordinal(): 2;
|
|
942
1026
|
};
|
|
943
|
-
static get TEST():
|
|
1027
|
+
static get TEST(): games.jass.logic.data.models.table.config.PointsMode & {
|
|
944
1028
|
get name(): "TEST";
|
|
945
1029
|
get ordinal(): 3;
|
|
946
1030
|
};
|
|
947
1031
|
get name(): "SMALL" | "MEDIUM" | "BIG" | "TEST";
|
|
948
1032
|
get ordinal(): 0 | 1 | 2 | 3;
|
|
949
1033
|
get value(): number;
|
|
950
|
-
static values(): Array<
|
|
951
|
-
static valueOf(value: string):
|
|
1034
|
+
static values(): Array<games.jass.logic.data.models.table.config.PointsMode>;
|
|
1035
|
+
static valueOf(value: string): games.jass.logic.data.models.table.config.PointsMode;
|
|
952
1036
|
static get Companion(): {
|
|
953
|
-
create(points: number):
|
|
1037
|
+
create(points: number): games.jass.logic.data.models.table.config.PointsMode;
|
|
954
1038
|
} & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
955
1039
|
}
|
|
956
1040
|
}
|
|
957
|
-
export declare namespace
|
|
1041
|
+
export declare namespace games.jass.logic.data.models.table.history {
|
|
958
1042
|
class GameHistory {
|
|
959
|
-
constructor(gameId: string, createdAt: any/* kotlinx.datetime.Instant */, rounds: Array<
|
|
1043
|
+
constructor(gameId: string, createdAt: any/* kotlinx.datetime.Instant */, rounds: Array<games.jass.logic.data.models.table.history.RoundHistory>);
|
|
960
1044
|
get gameId(): string;
|
|
961
1045
|
get createdAt(): any/* kotlinx.datetime.Instant */;
|
|
962
|
-
get rounds(): Array<
|
|
1046
|
+
get rounds(): Array<games.jass.logic.data.models.table.history.RoundHistory>;
|
|
963
1047
|
get date(): string;
|
|
964
|
-
get lastRoundHistory():
|
|
1048
|
+
get lastRoundHistory(): games.jass.logic.data.models.table.history.RoundHistory;
|
|
965
1049
|
get isFirstRound(): boolean;
|
|
966
1050
|
get roundsCount(): number;
|
|
967
1051
|
equals(other: Nullable<any>): boolean;
|
|
968
1052
|
hashCode(): number;
|
|
969
1053
|
toString(): string;
|
|
970
|
-
copy(gameId?: string, createdAt?: any/* kotlinx.datetime.Instant */, rounds?: Array<
|
|
1054
|
+
copy(gameId?: string, createdAt?: any/* kotlinx.datetime.Instant */, rounds?: Array<games.jass.logic.data.models.table.history.RoundHistory>): games.jass.logic.data.models.table.history.GameHistory;
|
|
971
1055
|
static get Companion(): {
|
|
972
|
-
initial(gameId: string, createdAt?: any/* kotlinx.datetime.Instant */):
|
|
1056
|
+
initial(gameId: string, createdAt?: any/* kotlinx.datetime.Instant */): games.jass.logic.data.models.table.history.GameHistory;
|
|
973
1057
|
};
|
|
974
1058
|
}
|
|
975
1059
|
}
|
|
976
|
-
export declare namespace
|
|
1060
|
+
export declare namespace games.jass.logic.data.models.table.history {
|
|
977
1061
|
class RoundHistory {
|
|
978
|
-
constructor(roundNumber: number, items: Array<
|
|
1062
|
+
constructor(roundNumber: number, items: Array<games.jass.logic.data.models.table.history.RoundHistoryItem>, roundCommitted: Nullable<Array<string>>, roundContractState: Nullable<games.jass.logic.data.models.player.state.RoundContractState>, roundWinners: Nullable<Array<string>>);
|
|
979
1063
|
get roundNumber(): number;
|
|
980
|
-
get items(): Array<
|
|
1064
|
+
get items(): Array<games.jass.logic.data.models.table.history.RoundHistoryItem>;
|
|
1065
|
+
get roundCommitted(): Nullable<Array<string>>;
|
|
1066
|
+
get roundContractState(): Nullable<games.jass.logic.data.models.player.state.RoundContractState>;
|
|
1067
|
+
get roundWinners(): Nullable<Array<string>>;
|
|
1068
|
+
get roundContractStateName(): Nullable<string>;
|
|
981
1069
|
get isRoundEmpty(): boolean;
|
|
982
1070
|
equals(other: Nullable<any>): boolean;
|
|
983
1071
|
hashCode(): number;
|
|
984
1072
|
toStringShort(): string;
|
|
985
|
-
copy(roundNumber?: number, items?: Array<
|
|
1073
|
+
copy(roundNumber?: number, items?: Array<games.jass.logic.data.models.table.history.RoundHistoryItem>, roundCommitted?: Nullable<Array<string>>, roundContractState?: Nullable<games.jass.logic.data.models.player.state.RoundContractState>, roundWinners?: Nullable<Array<string>>): games.jass.logic.data.models.table.history.RoundHistory;
|
|
986
1074
|
toString(): string;
|
|
987
1075
|
static get Companion(): {
|
|
988
|
-
initial(roundNumber: number):
|
|
1076
|
+
initial(roundNumber: number): games.jass.logic.data.models.table.history.RoundHistory;
|
|
989
1077
|
};
|
|
990
1078
|
}
|
|
991
1079
|
}
|
|
992
|
-
export declare namespace
|
|
1080
|
+
export declare namespace games.jass.logic.data.models.table.history {
|
|
993
1081
|
abstract class RoundHistoryItem {
|
|
994
1082
|
protected constructor();
|
|
995
1083
|
abstract get createdAt(): any/* kotlinx.datetime.Instant */;
|
|
996
1084
|
}
|
|
997
1085
|
}
|
|
998
|
-
export declare namespace
|
|
1086
|
+
export declare namespace games.jass.logic.domain.interactors.dealer {
|
|
999
1087
|
abstract class DealerStrategy {
|
|
1000
1088
|
private constructor();
|
|
1001
|
-
static get FAKE():
|
|
1089
|
+
static get FAKE(): games.jass.logic.domain.interactors.dealer.DealerStrategy & {
|
|
1002
1090
|
get name(): "FAKE";
|
|
1003
1091
|
get ordinal(): 0;
|
|
1004
1092
|
};
|
|
1005
|
-
static get BASED_ON_PREVIOUS():
|
|
1093
|
+
static get BASED_ON_PREVIOUS(): games.jass.logic.domain.interactors.dealer.DealerStrategy & {
|
|
1006
1094
|
get name(): "BASED_ON_PREVIOUS";
|
|
1007
1095
|
get ordinal(): 1;
|
|
1008
1096
|
};
|
|
1009
|
-
static get EQUAL_HAND_BY_POINTS():
|
|
1097
|
+
static get EQUAL_HAND_BY_POINTS(): games.jass.logic.domain.interactors.dealer.DealerStrategy & {
|
|
1010
1098
|
get name(): "EQUAL_HAND_BY_POINTS";
|
|
1011
1099
|
get ordinal(): 2;
|
|
1012
1100
|
};
|
|
1013
|
-
static get EQUAL_HAND_BY_VALUE():
|
|
1101
|
+
static get EQUAL_HAND_BY_VALUE(): games.jass.logic.domain.interactors.dealer.DealerStrategy & {
|
|
1014
1102
|
get name(): "EQUAL_HAND_BY_VALUE";
|
|
1015
1103
|
get ordinal(): 3;
|
|
1016
1104
|
};
|
|
1017
|
-
static get RANDOM():
|
|
1105
|
+
static get RANDOM(): games.jass.logic.domain.interactors.dealer.DealerStrategy & {
|
|
1018
1106
|
get name(): "RANDOM";
|
|
1019
1107
|
get ordinal(): 4;
|
|
1020
1108
|
};
|
|
1021
1109
|
get name(): "FAKE" | "BASED_ON_PREVIOUS" | "EQUAL_HAND_BY_POINTS" | "EQUAL_HAND_BY_VALUE" | "RANDOM";
|
|
1022
1110
|
get ordinal(): 0 | 1 | 2 | 3 | 4;
|
|
1023
1111
|
shouldEqualiseHand(): boolean;
|
|
1024
|
-
static values(): Array<
|
|
1025
|
-
static valueOf(value: string):
|
|
1112
|
+
static values(): Array<games.jass.logic.domain.interactors.dealer.DealerStrategy>;
|
|
1113
|
+
static valueOf(value: string): games.jass.logic.domain.interactors.dealer.DealerStrategy;
|
|
1026
1114
|
}
|
|
1027
1115
|
}
|
|
1028
|
-
export declare namespace
|
|
1116
|
+
export declare namespace games.jass.logic.redux.actions {
|
|
1029
1117
|
const ClearAction: {
|
|
1030
1118
|
toString(): string;
|
|
1031
1119
|
hashCode(): number;
|
|
@@ -1036,7 +1124,7 @@ export declare namespace com.debertz.logic.redux.actions {
|
|
|
1036
1124
|
readonly __doNotUseOrImplementIt: com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinishing["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinished["__doNotUseOrImplementIt"];
|
|
1037
1125
|
} & com.logic.redux.store.definitions.Action & com.logic.redux.actions.validation.NotValidateIfGameFinishing & com.logic.redux.actions.validation.NotValidateIfGameFinished;
|
|
1038
1126
|
}
|
|
1039
|
-
export declare namespace
|
|
1127
|
+
export declare namespace games.jass.logic.redux.actions.client.from {
|
|
1040
1128
|
abstract class FromClientAction implements com.logic.redux.store.definitions.Action {
|
|
1041
1129
|
protected constructor();
|
|
1042
1130
|
abstract get playerId(): string;
|
|
@@ -1045,103 +1133,99 @@ export declare namespace com.debertz.logic.redux.actions.client.from {
|
|
|
1045
1133
|
readonly __doNotUseOrImplementIt: com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
|
|
1046
1134
|
}
|
|
1047
1135
|
}
|
|
1048
|
-
export declare namespace
|
|
1136
|
+
export declare namespace games.jass.logic.redux.actions.client.to {
|
|
1049
1137
|
class ActionDeliveryPayload {
|
|
1050
|
-
constructor(id: string, includePlayers: Array<string>, excludePlayers: Array<string>, deliveryType:
|
|
1138
|
+
constructor(id: string, includePlayers: Array<string>, excludePlayers: Array<string>, deliveryType: games.jass.logic.redux.actions.client.to.ActionDeliveryType);
|
|
1051
1139
|
get id(): string;
|
|
1052
1140
|
get includePlayers(): Array<string>;
|
|
1053
1141
|
get excludePlayers(): Array<string>;
|
|
1054
|
-
get deliveryType():
|
|
1142
|
+
get deliveryType(): games.jass.logic.redux.actions.client.to.ActionDeliveryType;
|
|
1055
1143
|
get excludePlayerOrNull(): Nullable<string>;
|
|
1056
1144
|
get sendToPlayerId(): string;
|
|
1057
1145
|
get excludePlayerId(): string;
|
|
1058
1146
|
equals(other: Nullable<any>): boolean;
|
|
1059
1147
|
hashCode(): number;
|
|
1060
1148
|
toString(): string;
|
|
1061
|
-
copy(id?: string, includePlayers?: Array<string>, excludePlayers?: Array<string>, deliveryType?:
|
|
1149
|
+
copy(id?: string, includePlayers?: Array<string>, excludePlayers?: Array<string>, deliveryType?: games.jass.logic.redux.actions.client.to.ActionDeliveryType): games.jass.logic.redux.actions.client.to.ActionDeliveryPayload;
|
|
1062
1150
|
static get Companion(): {
|
|
1063
|
-
userFromTable(table:
|
|
1064
|
-
user(tableId: string, sendToPlayerId: string):
|
|
1151
|
+
userFromTable(table: games.jass.logic.data.models.table.JassTable, sendToPlayerId: string): games.jass.logic.redux.actions.client.to.ActionDeliveryPayload;
|
|
1152
|
+
user(tableId: string, sendToPlayerId: string): games.jass.logic.redux.actions.client.to.ActionDeliveryPayload;
|
|
1065
1153
|
};
|
|
1066
1154
|
}
|
|
1067
1155
|
abstract class ActionDeliveryType {
|
|
1068
1156
|
private constructor();
|
|
1069
|
-
static get ROOM_ALL():
|
|
1157
|
+
static get ROOM_ALL(): games.jass.logic.redux.actions.client.to.ActionDeliveryType & {
|
|
1070
1158
|
get name(): "ROOM_ALL";
|
|
1071
1159
|
get ordinal(): 0;
|
|
1072
1160
|
};
|
|
1073
|
-
static get ROOM_EXCEPT_USER():
|
|
1161
|
+
static get ROOM_EXCEPT_USER(): games.jass.logic.redux.actions.client.to.ActionDeliveryType & {
|
|
1074
1162
|
get name(): "ROOM_EXCEPT_USER";
|
|
1075
1163
|
get ordinal(): 1;
|
|
1076
1164
|
};
|
|
1077
|
-
static get USER():
|
|
1165
|
+
static get USER(): games.jass.logic.redux.actions.client.to.ActionDeliveryType & {
|
|
1078
1166
|
get name(): "USER";
|
|
1079
1167
|
get ordinal(): 2;
|
|
1080
1168
|
};
|
|
1081
1169
|
get name(): "ROOM_ALL" | "ROOM_EXCEPT_USER" | "USER";
|
|
1082
1170
|
get ordinal(): 0 | 1 | 2;
|
|
1083
|
-
static values(): Array<
|
|
1084
|
-
static valueOf(value: string):
|
|
1171
|
+
static values(): Array<games.jass.logic.redux.actions.client.to.ActionDeliveryType>;
|
|
1172
|
+
static valueOf(value: string): games.jass.logic.redux.actions.client.to.ActionDeliveryType;
|
|
1085
1173
|
static get Companion(): {
|
|
1086
1174
|
} & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
1087
1175
|
}
|
|
1088
1176
|
}
|
|
1089
|
-
export declare namespace
|
|
1177
|
+
export declare namespace games.jass.logic.redux.actions.client.to {
|
|
1090
1178
|
abstract class ToClientAction implements com.logic.redux.store.definitions.Action {
|
|
1091
1179
|
protected constructor();
|
|
1092
|
-
abstract get deliveryPayload():
|
|
1180
|
+
abstract get deliveryPayload(): games.jass.logic.redux.actions.client.to.ActionDeliveryPayload;
|
|
1093
1181
|
get actionTag(): string;
|
|
1094
1182
|
readonly __doNotUseOrImplementIt: com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
|
|
1095
1183
|
}
|
|
1096
1184
|
}
|
|
1097
|
-
export declare namespace
|
|
1185
|
+
export declare namespace games.jass.logic.redux.actions.game {
|
|
1098
1186
|
abstract class GameAction implements com.logic.redux.store.definitions.Action {
|
|
1099
1187
|
protected constructor();
|
|
1100
1188
|
get actionTag(): string;
|
|
1101
1189
|
readonly __doNotUseOrImplementIt: com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
|
|
1102
1190
|
}
|
|
1103
|
-
class RoundStartedAction extends
|
|
1104
|
-
constructor(id: string, gameId: string, roundNumber: number, players: Array<string>, isFirstRound: boolean, gameNumber: number, gameHistory:
|
|
1191
|
+
class RoundStartedAction extends games.jass.logic.redux.actions.game.GameAction {
|
|
1192
|
+
constructor(id: string, gameId: string, roundNumber: number, players: Array<string>, isFirstRound: boolean, gameNumber: number, gameHistory: games.jass.logic.data.models.table.history.GameHistory);
|
|
1105
1193
|
get id(): string;
|
|
1106
1194
|
get gameId(): string;
|
|
1107
1195
|
get partyNumber(): number;
|
|
1108
1196
|
get players(): Array<string>;
|
|
1109
1197
|
get isFirstRound(): boolean;
|
|
1110
1198
|
get gameNumber(): number;
|
|
1111
|
-
get gameHistory():
|
|
1199
|
+
get gameHistory(): games.jass.logic.data.models.table.history.GameHistory;
|
|
1112
1200
|
equals(other: Nullable<any>): boolean;
|
|
1113
1201
|
hashCode(): number;
|
|
1114
1202
|
toString(): string;
|
|
1115
|
-
copy(id?: string, gameId?: string, roundNumber?: number, players?: Array<string>, isFirstRound?: boolean, gameNumber?: number, gameHistory?:
|
|
1203
|
+
copy(id?: string, gameId?: string, roundNumber?: number, players?: Array<string>, isFirstRound?: boolean, gameNumber?: number, gameHistory?: games.jass.logic.data.models.table.history.GameHistory): games.jass.logic.redux.actions.game.RoundStartedAction;
|
|
1116
1204
|
get actionTag(): string;
|
|
1117
1205
|
}
|
|
1118
|
-
class RoundEndedAction extends
|
|
1119
|
-
constructor(id: string, gameId: string, roundNumber: number, earnedBiggestPointPlayerId: string,
|
|
1206
|
+
class RoundEndedAction extends games.jass.logic.redux.actions.game.GameAction {
|
|
1207
|
+
constructor(id: string, gameId: string, roundNumber: number, earnedBiggestPointPlayerId: string, gameLosers: Nullable<Array<string>> | undefined, gameWinners: Nullable<Array<string>> | undefined, playersGameAnalytics: Nullable<Array<games.jass.logic.data.models.player.hand.PlayerAnalytics>> | undefined, playersRoundAnalytics: Nullable<Array<games.jass.logic.data.models.player.hand.PlayerAnalytics>> | undefined, gameHistory: games.jass.logic.data.models.table.history.GameHistory);
|
|
1120
1208
|
get id(): string;
|
|
1121
1209
|
get gameId(): string;
|
|
1122
1210
|
get roundNumber(): number;
|
|
1123
1211
|
get earnedBiggestPointPlayerId(): string;
|
|
1124
|
-
get roundCommitted(): Array<string>;
|
|
1125
|
-
get roundContractState(): com.debertz.logic.data.models.player.state.RoundContractState;
|
|
1126
|
-
get roundWinners(): Array<string>;
|
|
1127
1212
|
get gameLosers(): Nullable<Array<string>>;
|
|
1128
1213
|
get gameWinners(): Nullable<Array<string>>;
|
|
1129
|
-
get playersGameAnalytics(): Nullable<Array<
|
|
1130
|
-
get playersRoundAnalytics(): Nullable<Array<
|
|
1131
|
-
get gameHistory():
|
|
1132
|
-
get roundContractStateName(): string;
|
|
1214
|
+
get playersGameAnalytics(): Nullable<Array<games.jass.logic.data.models.player.hand.PlayerAnalytics>>;
|
|
1215
|
+
get playersRoundAnalytics(): Nullable<Array<games.jass.logic.data.models.player.hand.PlayerAnalytics>>;
|
|
1216
|
+
get gameHistory(): games.jass.logic.data.models.table.history.GameHistory;
|
|
1133
1217
|
get isGameFinished(): boolean;
|
|
1134
1218
|
toString(): string;
|
|
1135
1219
|
equals(other: Nullable<any>): boolean;
|
|
1136
1220
|
hashCode(): number;
|
|
1137
|
-
copy(id?: string, gameId?: string, roundNumber?: number, earnedBiggestPointPlayerId?: string,
|
|
1221
|
+
copy(id?: string, gameId?: string, roundNumber?: number, earnedBiggestPointPlayerId?: string, gameLosers?: Nullable<Array<string>>, gameWinners?: Nullable<Array<string>>, playersGameAnalytics?: Nullable<Array<games.jass.logic.data.models.player.hand.PlayerAnalytics>>, playersRoundAnalytics?: Nullable<Array<games.jass.logic.data.models.player.hand.PlayerAnalytics>>, gameHistory?: games.jass.logic.data.models.table.history.GameHistory): games.jass.logic.redux.actions.game.RoundEndedAction;
|
|
1138
1222
|
get actionTag(): string;
|
|
1139
1223
|
}
|
|
1140
1224
|
class PartyRestartedAction implements com.logic.redux.store.definitions.Action {
|
|
1141
1225
|
constructor(id: string, roundNumber: number);
|
|
1142
1226
|
get id(): string;
|
|
1143
1227
|
get partyNumber(): number;
|
|
1144
|
-
copy(id?: string, roundNumber?: number):
|
|
1228
|
+
copy(id?: string, roundNumber?: number): games.jass.logic.redux.actions.game.PartyRestartedAction;
|
|
1145
1229
|
toString(): string;
|
|
1146
1230
|
hashCode(): number;
|
|
1147
1231
|
equals(other: Nullable<any>): boolean;
|
|
@@ -1149,7 +1233,7 @@ export declare namespace com.debertz.logic.redux.actions.game {
|
|
|
1149
1233
|
readonly __doNotUseOrImplementIt: com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
|
|
1150
1234
|
}
|
|
1151
1235
|
}
|
|
1152
|
-
export declare namespace
|
|
1236
|
+
export declare namespace games.jass.logic.redux.actions.mechanic {
|
|
1153
1237
|
abstract class MechanicAction implements com.logic.redux.actions.BufferedAction {
|
|
1154
1238
|
protected constructor();
|
|
1155
1239
|
get actionTag(): string;
|
|
@@ -1159,94 +1243,94 @@ export declare namespace com.debertz.logic.redux.actions.mechanic {
|
|
|
1159
1243
|
readonly id: string;
|
|
1160
1244
|
readonly version: string;
|
|
1161
1245
|
readonly users: kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>;
|
|
1162
|
-
readonly config:
|
|
1246
|
+
readonly config: games.jass.logic.data.models.table.config.Config;
|
|
1163
1247
|
readonly gameCreatorPlayerId: string;
|
|
1164
1248
|
readonly __doNotUseOrImplementIt: {
|
|
1165
|
-
readonly "
|
|
1249
|
+
readonly "games.jass.logic.redux.actions.mechanic.FirstMechanicAction": unique symbol;
|
|
1166
1250
|
} & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"] & com.logic.redux.actions.IgnoreBufferForAction["__doNotUseOrImplementIt"];
|
|
1167
1251
|
}
|
|
1168
|
-
class StartGameMechanicAction extends
|
|
1169
|
-
constructor(config:
|
|
1170
|
-
get config():
|
|
1252
|
+
class StartGameMechanicAction extends games.jass.logic.redux.actions.mechanic.MechanicAction implements games.jass.logic.redux.actions.mechanic.FirstMechanicAction {
|
|
1253
|
+
constructor(config: games.jass.logic.data.models.table.config.Config, id: string, version: string, gameCreatorPlayerId: string, users: kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>);
|
|
1254
|
+
get config(): games.jass.logic.data.models.table.config.Config;
|
|
1171
1255
|
get id(): string;
|
|
1172
1256
|
get version(): string;
|
|
1173
1257
|
get gameCreatorPlayerId(): string;
|
|
1174
1258
|
get users(): kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>;
|
|
1175
|
-
copy(config?:
|
|
1259
|
+
copy(config?: games.jass.logic.data.models.table.config.Config, id?: string, version?: string, gameCreatorPlayerId?: string, users?: kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>): games.jass.logic.redux.actions.mechanic.StartGameMechanicAction;
|
|
1176
1260
|
toString(): string;
|
|
1177
1261
|
hashCode(): number;
|
|
1178
1262
|
equals(other: Nullable<any>): boolean;
|
|
1179
1263
|
get actionTag(): string;
|
|
1180
|
-
readonly __doNotUseOrImplementIt:
|
|
1264
|
+
readonly __doNotUseOrImplementIt: games.jass.logic.redux.actions.mechanic.MechanicAction["__doNotUseOrImplementIt"] & games.jass.logic.redux.actions.mechanic.FirstMechanicAction["__doNotUseOrImplementIt"];
|
|
1181
1265
|
}
|
|
1182
|
-
class StartNewGameMechanicAction extends
|
|
1266
|
+
class StartNewGameMechanicAction extends games.jass.logic.redux.actions.mechanic.MechanicAction {
|
|
1183
1267
|
constructor(previousGameId: string, gameId: string);
|
|
1184
1268
|
get previousGameId(): string;
|
|
1185
1269
|
get gameId(): string;
|
|
1186
|
-
copy(previousGameId?: string, gameId?: string):
|
|
1270
|
+
copy(previousGameId?: string, gameId?: string): games.jass.logic.redux.actions.mechanic.StartNewGameMechanicAction;
|
|
1187
1271
|
toString(): string;
|
|
1188
1272
|
hashCode(): number;
|
|
1189
1273
|
equals(other: Nullable<any>): boolean;
|
|
1190
1274
|
get actionTag(): string;
|
|
1191
1275
|
}
|
|
1192
1276
|
/* @ts-ignore: https://github.com/microsoft/TypeScript/issues/4628 */
|
|
1193
|
-
class FinishingGameMechanicAction extends
|
|
1194
|
-
constructor(reason: com.logic.data.models.TerminationGameReason, sessionAnalytics: Nullable<
|
|
1277
|
+
class FinishingGameMechanicAction extends games.jass.logic.redux.actions.mechanic.MechanicAction implements games.jass.logic.redux.actions.mechanic.TerminatedAction {
|
|
1278
|
+
constructor(reason: com.logic.data.models.TerminationGameReason, sessionAnalytics: Nullable<games.jass.logic.data.models.GameSessionAnalytics> | undefined, isGameFinished: boolean, gameHistory?: Nullable<games.jass.logic.data.models.table.history.GameHistory>);
|
|
1195
1279
|
get reason(): com.logic.data.models.TerminationGameReason;
|
|
1196
|
-
get sessionAnalytics(): Nullable<
|
|
1280
|
+
get sessionAnalytics(): Nullable<games.jass.logic.data.models.GameSessionAnalytics>;
|
|
1197
1281
|
get isGameFinished(): boolean;
|
|
1198
|
-
get gameHistory(): Nullable<
|
|
1282
|
+
get gameHistory(): Nullable<games.jass.logic.data.models.table.history.GameHistory>;
|
|
1199
1283
|
toString(): string;
|
|
1200
|
-
copy(reason?: com.logic.data.models.TerminationGameReason, sessionAnalytics?: Nullable<
|
|
1284
|
+
copy(reason?: com.logic.data.models.TerminationGameReason, sessionAnalytics?: Nullable<games.jass.logic.data.models.GameSessionAnalytics>, isGameFinished?: boolean, gameHistory?: Nullable<games.jass.logic.data.models.table.history.GameHistory>): games.jass.logic.redux.actions.mechanic.FinishingGameMechanicAction;
|
|
1201
1285
|
hashCode(): number;
|
|
1202
1286
|
equals(other: Nullable<any>): boolean;
|
|
1203
1287
|
get actionTag(): string;
|
|
1204
|
-
readonly __doNotUseOrImplementIt:
|
|
1288
|
+
readonly __doNotUseOrImplementIt: games.jass.logic.redux.actions.mechanic.MechanicAction["__doNotUseOrImplementIt"] & games.jass.logic.redux.actions.mechanic.TerminatedAction["__doNotUseOrImplementIt"];
|
|
1205
1289
|
static get Companion(): {
|
|
1206
|
-
withAnalytics(reason: com.logic.data.models.TerminationGameReason, isGameFinished: boolean, table: Nullable<
|
|
1290
|
+
withAnalytics(reason: com.logic.data.models.TerminationGameReason, isGameFinished: boolean, table: Nullable<games.jass.logic.data.models.table.JassTable>): games.jass.logic.redux.actions.mechanic.FinishingGameMechanicAction;
|
|
1207
1291
|
};
|
|
1208
1292
|
}
|
|
1209
|
-
class FinishGameMechanicAction extends
|
|
1293
|
+
class FinishGameMechanicAction extends games.jass.logic.redux.actions.mechanic.MechanicAction implements com.logic.redux.actions.validation.NotValidateIfGameFinishing, games.jass.logic.redux.actions.mechanic.TerminatedAction {
|
|
1210
1294
|
constructor(reason: com.logic.data.models.TerminationGameReason);
|
|
1211
1295
|
get reason(): com.logic.data.models.TerminationGameReason;
|
|
1212
|
-
copy(reason?: com.logic.data.models.TerminationGameReason):
|
|
1296
|
+
copy(reason?: com.logic.data.models.TerminationGameReason): games.jass.logic.redux.actions.mechanic.FinishGameMechanicAction;
|
|
1213
1297
|
toString(): string;
|
|
1214
1298
|
hashCode(): number;
|
|
1215
1299
|
equals(other: Nullable<any>): boolean;
|
|
1216
1300
|
get actionTag(): string;
|
|
1217
1301
|
notValidateWhenFinishing(): boolean;
|
|
1218
|
-
readonly __doNotUseOrImplementIt:
|
|
1302
|
+
readonly __doNotUseOrImplementIt: games.jass.logic.redux.actions.mechanic.MechanicAction["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinishing["__doNotUseOrImplementIt"] & games.jass.logic.redux.actions.mechanic.TerminatedAction["__doNotUseOrImplementIt"];
|
|
1219
1303
|
}
|
|
1220
1304
|
interface NavigationMechanicAction extends com.logic.redux.store.definitions.Action {
|
|
1221
1305
|
readonly sceneId: string;
|
|
1222
1306
|
readonly actId: Nullable<string>;
|
|
1223
|
-
readonly actData: Nullable<
|
|
1307
|
+
readonly actData: Nullable<games.jass.logic.data.models.scenes.ActData>;
|
|
1224
1308
|
readonly __doNotUseOrImplementIt: {
|
|
1225
|
-
readonly "
|
|
1309
|
+
readonly "games.jass.logic.redux.actions.mechanic.NavigationMechanicAction": unique symbol;
|
|
1226
1310
|
} & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
|
|
1227
1311
|
}
|
|
1228
|
-
class SceneMechanicAction extends
|
|
1229
|
-
constructor(sceneId: string, actId?: Nullable<string>, sceneData?: Nullable<
|
|
1312
|
+
class SceneMechanicAction extends games.jass.logic.redux.actions.mechanic.MechanicAction implements games.jass.logic.redux.actions.mechanic.NavigationMechanicAction, com.logic.redux.store.definitions.Action, com.logic.redux.actions.ReleaseBufferTriggerAction, com.logic.redux.actions.validation.NotValidateIfGameFinishing, com.logic.redux.actions.validation.NotValidateIfGameFinished/*, games.jass.logic.redux.actions.mechanic.NextPlayerTurnAction */ {
|
|
1313
|
+
constructor(sceneId: string, actId?: Nullable<string>, sceneData?: Nullable<games.jass.logic.data.models.scenes.SceneData>, actData?: Nullable<games.jass.logic.data.models.scenes.ActData>);
|
|
1230
1314
|
get sceneId(): string;
|
|
1231
1315
|
get actId(): Nullable<string>;
|
|
1232
|
-
get sceneData(): Nullable<
|
|
1233
|
-
get actData(): Nullable<
|
|
1316
|
+
get sceneData(): Nullable<games.jass.logic.data.models.scenes.SceneData>;
|
|
1317
|
+
get actData(): Nullable<games.jass.logic.data.models.scenes.ActData>;
|
|
1234
1318
|
notValidateWhenFinished(): boolean;
|
|
1235
1319
|
notValidateWhenFinishing(): boolean;
|
|
1236
1320
|
toString(): string;
|
|
1237
|
-
copy(sceneId?: string, actId?: Nullable<string>, sceneData?: Nullable<
|
|
1321
|
+
copy(sceneId?: string, actId?: Nullable<string>, sceneData?: Nullable<games.jass.logic.data.models.scenes.SceneData>, actData?: Nullable<games.jass.logic.data.models.scenes.ActData>): games.jass.logic.redux.actions.mechanic.SceneMechanicAction;
|
|
1238
1322
|
hashCode(): number;
|
|
1239
1323
|
equals(other: Nullable<any>): boolean;
|
|
1240
1324
|
get actionTag(): string;
|
|
1241
|
-
readonly __doNotUseOrImplementIt:
|
|
1325
|
+
readonly __doNotUseOrImplementIt: games.jass.logic.redux.actions.mechanic.MechanicAction["__doNotUseOrImplementIt"] & games.jass.logic.redux.actions.mechanic.NavigationMechanicAction["__doNotUseOrImplementIt"] & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"] & com.logic.redux.actions.ReleaseBufferTriggerAction["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinishing["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinished["__doNotUseOrImplementIt"];
|
|
1242
1326
|
}
|
|
1243
1327
|
interface TerminatedAction extends com.logic.redux.store.definitions.Action {
|
|
1244
1328
|
readonly reason: com.logic.data.models.TerminationGameReason;
|
|
1245
1329
|
readonly __doNotUseOrImplementIt: {
|
|
1246
|
-
readonly "
|
|
1330
|
+
readonly "games.jass.logic.redux.actions.mechanic.TerminatedAction": unique symbol;
|
|
1247
1331
|
} & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
|
|
1248
1332
|
}
|
|
1249
|
-
class PlayerConnectionChangedMechanicAction extends
|
|
1333
|
+
class PlayerConnectionChangedMechanicAction extends games.jass.logic.redux.actions.mechanic.MechanicAction implements com.logic.redux.actions.validation.NotValidateIfGameFinishing, com.logic.redux.actions.validation.NotValidateIfGameFinished {
|
|
1250
1334
|
constructor(playerId: string, state: com.logic.data.models.player.PlayerConnectionState, causeState?: Nullable<com.logic.data.models.player.PlayerConnectionState>, isNoneActivePlayers?: boolean, reconnectUntilTime?: Nullable<string>);
|
|
1251
1335
|
get playerId(): string;
|
|
1252
1336
|
get state(): com.logic.data.models.player.PlayerConnectionState;
|
|
@@ -1257,61 +1341,61 @@ export declare namespace com.debertz.logic.redux.actions.mechanic {
|
|
|
1257
1341
|
get isDeleted(): boolean;
|
|
1258
1342
|
get shouldNotifyPlayers(): boolean;
|
|
1259
1343
|
toString(): string;
|
|
1260
|
-
copy(playerId?: string, state?: com.logic.data.models.player.PlayerConnectionState, causeState?: Nullable<com.logic.data.models.player.PlayerConnectionState>, isNoneActivePlayers?: boolean, reconnectUntilTime?: Nullable<string>):
|
|
1344
|
+
copy(playerId?: string, state?: com.logic.data.models.player.PlayerConnectionState, causeState?: Nullable<com.logic.data.models.player.PlayerConnectionState>, isNoneActivePlayers?: boolean, reconnectUntilTime?: Nullable<string>): games.jass.logic.redux.actions.mechanic.PlayerConnectionChangedMechanicAction;
|
|
1261
1345
|
hashCode(): number;
|
|
1262
1346
|
equals(other: Nullable<any>): boolean;
|
|
1263
1347
|
get actionTag(): string;
|
|
1264
1348
|
notValidateWhenFinishing(): boolean;
|
|
1265
1349
|
notValidateWhenFinished(): boolean;
|
|
1266
|
-
readonly __doNotUseOrImplementIt:
|
|
1350
|
+
readonly __doNotUseOrImplementIt: games.jass.logic.redux.actions.mechanic.MechanicAction["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinishing["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinished["__doNotUseOrImplementIt"];
|
|
1267
1351
|
}
|
|
1268
1352
|
}
|
|
1269
1353
|
export declare const ERROR: string;
|
|
1270
1354
|
export declare const DEBUG: string;
|
|
1271
1355
|
export declare const WARN: string;
|
|
1272
1356
|
export declare interface ParserHelper {
|
|
1273
|
-
encodeFromClientEvent(action:
|
|
1274
|
-
decodeFromClientEvent(fromPlayerId: string, json: string):
|
|
1275
|
-
encodeToClientEvent(action:
|
|
1276
|
-
decodeToClientEventToMechanicActions(playerId: string, engine:
|
|
1277
|
-
encodeGameRound(round:
|
|
1278
|
-
encodeGameRoundItems(round:
|
|
1357
|
+
encodeFromClientEvent(action: games.jass.logic.redux.actions.client.from.FromClientAction): string;
|
|
1358
|
+
decodeFromClientEvent(fromPlayerId: string, json: string): games.jass.logic.redux.actions.client.from.FromClientAction;
|
|
1359
|
+
encodeToClientEvent(action: games.jass.logic.redux.actions.client.to.ToClientAction): string;
|
|
1360
|
+
decodeToClientEventToMechanicActions(playerId: string, engine: games.jass.logic.GameStoreContract, json: string): Array<games.jass.logic.redux.actions.mechanic.MechanicAction>;
|
|
1361
|
+
encodeGameRound(round: games.jass.logic.data.models.table.history.RoundHistory): string;
|
|
1362
|
+
encodeGameRoundItems(round: games.jass.logic.data.models.table.history.RoundHistory): string;
|
|
1279
1363
|
readonly __doNotUseOrImplementIt: {
|
|
1280
1364
|
readonly ParserHelper: unique symbol;
|
|
1281
1365
|
};
|
|
1282
1366
|
}
|
|
1283
|
-
export declare namespace
|
|
1367
|
+
export declare namespace games.jass.logic.client.data.models.config {
|
|
1284
1368
|
abstract class GameType {
|
|
1285
1369
|
private constructor();
|
|
1286
|
-
static get SINGLE():
|
|
1370
|
+
static get SINGLE(): games.jass.logic.client.data.models.config.GameType & {
|
|
1287
1371
|
get name(): "SINGLE";
|
|
1288
1372
|
get ordinal(): 0;
|
|
1289
1373
|
};
|
|
1290
|
-
static get SERVER():
|
|
1374
|
+
static get SERVER(): games.jass.logic.client.data.models.config.GameType & {
|
|
1291
1375
|
get name(): "SERVER";
|
|
1292
1376
|
get ordinal(): 1;
|
|
1293
1377
|
};
|
|
1294
|
-
static get P2P_CLIENT():
|
|
1378
|
+
static get P2P_CLIENT(): games.jass.logic.client.data.models.config.GameType & {
|
|
1295
1379
|
get name(): "P2P_CLIENT";
|
|
1296
1380
|
get ordinal(): 2;
|
|
1297
1381
|
};
|
|
1298
|
-
static get P2P_SERVER():
|
|
1382
|
+
static get P2P_SERVER(): games.jass.logic.client.data.models.config.GameType & {
|
|
1299
1383
|
get name(): "P2P_SERVER";
|
|
1300
1384
|
get ordinal(): 3;
|
|
1301
1385
|
};
|
|
1302
|
-
static get TUTORIAL():
|
|
1386
|
+
static get TUTORIAL(): games.jass.logic.client.data.models.config.GameType & {
|
|
1303
1387
|
get name(): "TUTORIAL";
|
|
1304
1388
|
get ordinal(): 4;
|
|
1305
1389
|
};
|
|
1306
1390
|
get name(): "SINGLE" | "SERVER" | "P2P_CLIENT" | "P2P_SERVER" | "TUTORIAL";
|
|
1307
1391
|
get ordinal(): 0 | 1 | 2 | 3 | 4;
|
|
1308
|
-
static values(): Array<
|
|
1309
|
-
static valueOf(value: string):
|
|
1392
|
+
static values(): Array<games.jass.logic.client.data.models.config.GameType>;
|
|
1393
|
+
static valueOf(value: string): games.jass.logic.client.data.models.config.GameType;
|
|
1310
1394
|
static get Companion(): {
|
|
1311
1395
|
} & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
1312
1396
|
}
|
|
1313
1397
|
}
|
|
1314
|
-
export declare namespace
|
|
1398
|
+
export declare namespace games.jass.logic.client.data.models.config {
|
|
1315
1399
|
class GameClientConfig {
|
|
1316
1400
|
constructor(validateSceneActiveState?: boolean, validateCardOnMove?: boolean, validateExpectantActions?: boolean, isAutoStepCurrentPlayer?: boolean, areOpponentsCardsOpened?: boolean, sessionAnalytics?: boolean);
|
|
1317
1401
|
get validateSceneActiveState(): boolean;
|
|
@@ -1320,105 +1404,105 @@ export declare namespace com.debertz.logic.client.data.models.config {
|
|
|
1320
1404
|
get isAutoStepCurrentPlayer(): boolean;
|
|
1321
1405
|
get areOpponentsCardsOpened(): boolean;
|
|
1322
1406
|
get sessionAnalytics(): boolean;
|
|
1323
|
-
copy(validateSceneActiveState?: boolean, validateCardOnMove?: boolean, validateExpectantActions?: boolean, isAutoStepCurrentPlayer?: boolean, areOpponentsCardsOpened?: boolean, sessionAnalytics?: boolean):
|
|
1407
|
+
copy(validateSceneActiveState?: boolean, validateCardOnMove?: boolean, validateExpectantActions?: boolean, isAutoStepCurrentPlayer?: boolean, areOpponentsCardsOpened?: boolean, sessionAnalytics?: boolean): games.jass.logic.client.data.models.config.GameClientConfig;
|
|
1324
1408
|
toString(): string;
|
|
1325
1409
|
hashCode(): number;
|
|
1326
1410
|
equals(other: Nullable<any>): boolean;
|
|
1327
1411
|
static get Companion(): {
|
|
1328
|
-
getClientEngineTestMode():
|
|
1412
|
+
getClientEngineTestMode(): games.jass.logic.client.data.models.config.GameClientConfig;
|
|
1329
1413
|
};
|
|
1330
1414
|
}
|
|
1331
1415
|
}
|
|
1332
|
-
export declare namespace
|
|
1333
|
-
class GameHistoryViewModel /* extends
|
|
1334
|
-
constructor(gameId: string, createdAt: any/* kotlinx.datetime.Instant */, gameType:
|
|
1416
|
+
export declare namespace games.jass.logic.client.data.models.vm {
|
|
1417
|
+
class GameHistoryViewModel /* extends games.jass.logic.client.data.models.vm.HistoryViewModel */ {
|
|
1418
|
+
constructor(gameId: string, createdAt: any/* kotlinx.datetime.Instant */, gameType: games.jass.logic.client.data.models.config.GameType, users: Array<com.logic.data.models.player.GameUserInfo>, config: games.jass.logic.data.models.table.config.ConfigLite, gameWinners: Nullable<Array<string>>);
|
|
1335
1419
|
get gameId(): string;
|
|
1336
1420
|
get createdAt(): any/* kotlinx.datetime.Instant */;
|
|
1337
|
-
get gameType():
|
|
1421
|
+
get gameType(): games.jass.logic.client.data.models.config.GameType;
|
|
1338
1422
|
get users(): Array<com.logic.data.models.player.GameUserInfo>;
|
|
1339
|
-
get config():
|
|
1423
|
+
get config(): games.jass.logic.data.models.table.config.ConfigLite;
|
|
1340
1424
|
get gameWinners(): Nullable<Array<string>>;
|
|
1341
1425
|
toString(): string;
|
|
1342
1426
|
equals(other: Nullable<any>): boolean;
|
|
1343
1427
|
hashCode(): number;
|
|
1344
|
-
copy(gameId?: string, createdAt?: any/* kotlinx.datetime.Instant */, gameType?:
|
|
1428
|
+
copy(gameId?: string, createdAt?: any/* kotlinx.datetime.Instant */, gameType?: games.jass.logic.client.data.models.config.GameType, users?: Array<com.logic.data.models.player.GameUserInfo>, config?: games.jass.logic.data.models.table.config.ConfigLite, gameWinners?: Nullable<Array<string>>): games.jass.logic.client.data.models.vm.GameHistoryViewModel;
|
|
1345
1429
|
}
|
|
1346
|
-
class RoundEndedHistoryViewModel /* extends
|
|
1347
|
-
constructor(gameId: string, roundNumber: number, items: Array<
|
|
1430
|
+
class RoundEndedHistoryViewModel /* extends games.jass.logic.client.data.models.vm.HistoryViewModel */ {
|
|
1431
|
+
constructor(gameId: string, roundNumber: number, items: Array<games.jass.logic.data.models.table.history.RoundHistoryItem>, roundContractState: Nullable<games.jass.logic.data.models.player.state.RoundContractState>, roundCommitted: Nullable<Array<string>>, roundWinners: Nullable<Array<string>>, gameEndedHistory: Nullable<games.jass.logic.client.data.models.vm.GameHistoryViewModel>);
|
|
1348
1432
|
get gameId(): string;
|
|
1349
1433
|
get roundNumber(): number;
|
|
1350
|
-
get items(): Array<
|
|
1351
|
-
get roundContractState():
|
|
1352
|
-
get roundCommitted(): Array<string
|
|
1353
|
-
get roundWinners(): Array<string
|
|
1354
|
-
get gameEndedHistoryViewModel(): Nullable<
|
|
1434
|
+
get items(): Array<games.jass.logic.data.models.table.history.RoundHistoryItem>;
|
|
1435
|
+
get roundContractState(): Nullable<games.jass.logic.data.models.player.state.RoundContractState>;
|
|
1436
|
+
get roundCommitted(): Nullable<Array<string>>;
|
|
1437
|
+
get roundWinners(): Nullable<Array<string>>;
|
|
1438
|
+
get gameEndedHistoryViewModel(): Nullable<games.jass.logic.client.data.models.vm.GameHistoryViewModel>;
|
|
1355
1439
|
equals(other: Nullable<any>): boolean;
|
|
1356
1440
|
hashCode(): number;
|
|
1357
|
-
copy(gameId?: string, roundNumber?: number, items?: Array<
|
|
1441
|
+
copy(gameId?: string, roundNumber?: number, items?: Array<games.jass.logic.data.models.table.history.RoundHistoryItem>, roundContractState?: Nullable<games.jass.logic.data.models.player.state.RoundContractState>, roundCommitted?: Nullable<Array<string>>, roundWinners?: Nullable<Array<string>>, gameEndedHistory?: Nullable<games.jass.logic.client.data.models.vm.GameHistoryViewModel>): games.jass.logic.client.data.models.vm.RoundEndedHistoryViewModel;
|
|
1358
1442
|
toString(): string;
|
|
1359
1443
|
}
|
|
1360
1444
|
}
|
|
1361
|
-
export declare namespace
|
|
1362
|
-
interface GameMechanic extends
|
|
1445
|
+
export declare namespace games.jass.logic.client.domain.mechanic {
|
|
1446
|
+
interface GameMechanic extends games.jass.logic.GameStoreContract/*, games.jass.logic.client.domain.scenes.PlayersSceneContract */ {
|
|
1363
1447
|
onCreate(): void;
|
|
1364
1448
|
onDestroy(): void;
|
|
1365
|
-
getConfig():
|
|
1366
|
-
getClientConfig(): any/*
|
|
1367
|
-
observeConfig(): any/* kotlinx.coroutines.flow.Flow<
|
|
1449
|
+
getConfig(): games.jass.logic.data.models.table.config.Config;
|
|
1450
|
+
getClientConfig(): any/* games.jass.logic.client.data.models.config.ClientConfig */;
|
|
1451
|
+
observeConfig(): any/* kotlinx.coroutines.flow.Flow<games.jass.logic.data.models.table.config.Config> */;
|
|
1368
1452
|
observeUsers(): any/* kotlinx.coroutines.flow.Flow<kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>> */;
|
|
1369
|
-
observeClientConfig(): any/* kotlinx.coroutines.flow.Flow<
|
|
1370
|
-
observePlayersHandsMetadata(): any/* kotlinx.coroutines.flow.Flow<
|
|
1371
|
-
observeGameLifecycle(): any/* kotlinx.coroutines.flow.Flow<
|
|
1372
|
-
observeRestartGameExpectant(): any/* kotlinx.coroutines.flow.Flow<Nullable<
|
|
1373
|
-
observeScene(): any/* kotlinx.coroutines.flow.Flow<
|
|
1453
|
+
observeClientConfig(): any/* kotlinx.coroutines.flow.Flow<games.jass.logic.client.data.models.config.ClientConfig> */;
|
|
1454
|
+
observePlayersHandsMetadata(): any/* kotlinx.coroutines.flow.Flow<games.jass.logic.client.data.models.PlayersHandsMetadataViewModel> */;
|
|
1455
|
+
observeGameLifecycle(): any/* kotlinx.coroutines.flow.Flow<games.jass.logic.client.data.models.GameLifecycleViewModel> */;
|
|
1456
|
+
observeRestartGameExpectant(): any/* kotlinx.coroutines.flow.Flow<Nullable<games.jass.logic.client.data.models.expectants.RestartGameExpectant>> */;
|
|
1457
|
+
observeScene(): any/* kotlinx.coroutines.flow.Flow<games.jass.logic.client.data.models.SceneViewModel> */;
|
|
1374
1458
|
observeSceneId(): any/* kotlinx.coroutines.flow.Flow<string> */;
|
|
1375
|
-
observeError(): any/* kotlinx.coroutines.flow.Flow<Nullable<
|
|
1376
|
-
observeInfoMessage(): any/* kotlinx.coroutines.flow.Flow<Nullable<
|
|
1377
|
-
observeGameType(): any/* kotlinx.coroutines.flow.Flow<
|
|
1459
|
+
observeError(): any/* kotlinx.coroutines.flow.Flow<Nullable<games.jass.logic.data.models.table.error.ErrorState>> */;
|
|
1460
|
+
observeInfoMessage(): any/* kotlinx.coroutines.flow.Flow<Nullable<games.jass.logic.data.models.messages.Message>> */;
|
|
1461
|
+
observeGameType(): any/* kotlinx.coroutines.flow.Flow<games.jass.logic.client.data.models.config.GameType> */;
|
|
1378
1462
|
observeChatOpened(): any/* kotlinx.coroutines.flow.Flow<boolean> */;
|
|
1379
|
-
observeLastBribe(): any/* kotlinx.coroutines.flow.Flow<Nullable<
|
|
1380
|
-
observeGameInfo(): any/* kotlinx.coroutines.flow.Flow<Nullable<
|
|
1463
|
+
observeLastBribe(): any/* kotlinx.coroutines.flow.Flow<Nullable<games.jass.logic.client.data.models.LastBribeViewModel>> */;
|
|
1464
|
+
observeGameInfo(): any/* kotlinx.coroutines.flow.Flow<Nullable<games.jass.logic.client.data.models.GameInfoViewModel>> */;
|
|
1381
1465
|
observeSettingsOpened(): any/* kotlinx.coroutines.flow.Flow<boolean> */;
|
|
1382
1466
|
switchLastBribe(open: boolean): void;
|
|
1383
1467
|
switchGameInfo(open: boolean): void;
|
|
1384
1468
|
switchSettings(open: boolean): void;
|
|
1385
1469
|
switchChat(open: boolean): void;
|
|
1386
1470
|
foreground(foreground: boolean): void;
|
|
1387
|
-
updateConfig(updateConfig: any/*
|
|
1471
|
+
updateConfig(updateConfig: any/* games.jass.logic.client.data.models.config.UpdateConfigModel */): void;
|
|
1388
1472
|
observeShowTutorial(): any/* kotlinx.coroutines.flow.Flow<boolean> */;
|
|
1389
1473
|
tutorialPassed(skipped: boolean): void;
|
|
1390
1474
|
playerExit(): void;
|
|
1391
|
-
error(error: Nullable<any>/* Nullable<
|
|
1392
|
-
observeGameHistoryEvents(): any/* kotlinx.coroutines.flow.Flow<
|
|
1475
|
+
error(error: Nullable<any>/* Nullable<games.jass.logic.data.models.table.error.ErrorState> */): void;
|
|
1476
|
+
observeGameHistoryEvents(): any/* kotlinx.coroutines.flow.Flow<games.jass.logic.client.data.models.vm.HistoryViewModel> */;
|
|
1393
1477
|
readonly __doNotUseOrImplementIt: {
|
|
1394
|
-
readonly "
|
|
1395
|
-
} &
|
|
1478
|
+
readonly "games.jass.logic.client.domain.mechanic.GameMechanic": unique symbol;
|
|
1479
|
+
} & games.jass.logic.GameStoreContract["__doNotUseOrImplementIt"];
|
|
1396
1480
|
}
|
|
1397
1481
|
}
|
|
1398
|
-
export declare namespace
|
|
1399
|
-
interface OnlineGameMechanic extends
|
|
1482
|
+
export declare namespace games.jass.logic.client.domain.mechanic.online {
|
|
1483
|
+
interface OnlineGameMechanic extends games.jass.logic.client.domain.mechanic.GameMechanic {
|
|
1400
1484
|
readonly currentPlayerId: string;
|
|
1401
|
-
observeFromClientAction(): any/* kotlinx.coroutines.flow.Flow<
|
|
1402
|
-
mechanicActions(actions: Array<
|
|
1485
|
+
observeFromClientAction(): any/* kotlinx.coroutines.flow.Flow<games.jass.logic.redux.actions.client.from.FromClientAction> */;
|
|
1486
|
+
mechanicActions(actions: Array<games.jass.logic.redux.actions.mechanic.MechanicAction>): void;
|
|
1403
1487
|
readonly __doNotUseOrImplementIt: {
|
|
1404
|
-
readonly "
|
|
1405
|
-
} &
|
|
1488
|
+
readonly "games.jass.logic.client.domain.mechanic.online.OnlineGameMechanic": unique symbol;
|
|
1489
|
+
} & games.jass.logic.client.domain.mechanic.GameMechanic["__doNotUseOrImplementIt"];
|
|
1406
1490
|
}
|
|
1407
1491
|
}
|
|
1408
|
-
export declare namespace
|
|
1492
|
+
export declare namespace games.jass.logic.client.utils {
|
|
1409
1493
|
interface ShowErrorLoggerOutput extends io.raspberryapps.card_game.core.utils.logger.output.LoggerOutput {
|
|
1410
1494
|
skipWarnings: boolean;
|
|
1411
|
-
gameClientProvider: Nullable<() => any/*
|
|
1495
|
+
gameClientProvider: Nullable<() => any/* games.jass.logic.client.GameClient */>;
|
|
1412
1496
|
readonly __doNotUseOrImplementIt: {
|
|
1413
|
-
readonly "
|
|
1497
|
+
readonly "games.jass.logic.client.utils.ShowErrorLoggerOutput": unique symbol;
|
|
1414
1498
|
} & io.raspberryapps.card_game.core.utils.logger.output.LoggerOutput["__doNotUseOrImplementIt"];
|
|
1415
1499
|
}
|
|
1416
1500
|
}
|
|
1417
1501
|
export declare interface GameClientEngineController {
|
|
1418
1502
|
readonly parser: ParserHelper;
|
|
1419
1503
|
setEnableLogger(enabled: boolean): void;
|
|
1420
|
-
createOnlineGameEngine(currentPlayerId: string):
|
|
1421
|
-
createOnlineGameEngineWithLogic(currentPlayerId: string, reducers?: Array<(p0: any/*
|
|
1504
|
+
createOnlineGameEngine(currentPlayerId: string): games.jass.logic.client.domain.mechanic.online.OnlineGameMechanic;
|
|
1505
|
+
createOnlineGameEngineWithLogic(currentPlayerId: string, reducers?: Array<(p0: any/* games.jass.logic.redux.AppState */, p1: any) => any/* games.jass.logic.redux.AppState */>, middlewares?: Array<(p0: com.logic.redux.store.definitions.Store<any/* games.jass.logic.redux.AppState */>, p1: (p0: com.logic.redux.store.definitions.Action) => void, p2: any) => void>, gameClientConfig?: games.jass.logic.client.data.models.config.GameClientConfig, engineBotConfig?: games.jass.logic.data.models.EngineBotConfig, logicConfig?: games.jass.logic.data.models.EngineLogicConfig, dealerConfig?: games.jass.logic.data.models.DealerConfig, coreConfig?: com.logic.data.models.CoreConfig): games.jass.logic.client.domain.mechanic.online.OnlineGameMechanic;
|
|
1422
1506
|
readonly __doNotUseOrImplementIt: {
|
|
1423
1507
|
readonly GameClientEngineController: unique symbol;
|
|
1424
1508
|
};
|