game_client_logic_deb 1.8.131 → 1.8.147
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 +2035 -2406
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +14290 -11698
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +511 -427
- package/Logic_Debertz-game_client.js +3064 -2968
- 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 +72 -72
- 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,189 @@ 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, handsCount: 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
|
|
564
|
-
get
|
|
565
|
-
|
|
474
|
+
get handsCount(): number;
|
|
475
|
+
get playerAnalytics(): kotlin.collections.KtList<games.jass.logic.data.models.player.hand.PlayerAnalytics>;
|
|
476
|
+
get allCombinationCounts(): Array<games.jass.logic.data.models.CombinationPair>;
|
|
477
|
+
copy(duration?: any/* kotlin.time.Duration */, gamesCount?: number, roundsCountTotal?: number, handsCount?: number, playerAnalytics?: kotlin.collections.KtList<games.jass.logic.data.models.player.hand.PlayerAnalytics>): games.jass.logic.data.models.GameSessionAnalytics;
|
|
566
478
|
toString(): string;
|
|
567
479
|
hashCode(): number;
|
|
568
480
|
equals(other: Nullable<any>): boolean;
|
|
569
481
|
}
|
|
570
482
|
class CombinationPair {
|
|
571
|
-
constructor(combinationType:
|
|
572
|
-
get combinationType():
|
|
483
|
+
constructor(combinationType: games.jass.logic.data.models.table.combinations.CombinationType, count: number);
|
|
484
|
+
get combinationType(): games.jass.logic.data.models.table.combinations.CombinationType;
|
|
573
485
|
get count(): number;
|
|
574
|
-
copy(combinationType?:
|
|
486
|
+
copy(combinationType?: games.jass.logic.data.models.table.combinations.CombinationType, count?: number): games.jass.logic.data.models.CombinationPair;
|
|
575
487
|
toString(): string;
|
|
576
488
|
hashCode(): number;
|
|
577
489
|
equals(other: Nullable<any>): boolean;
|
|
578
490
|
}
|
|
579
491
|
}
|
|
580
|
-
export declare namespace
|
|
492
|
+
export declare namespace games.jass.logic.data.models.player.bids {
|
|
493
|
+
abstract class BidType {
|
|
494
|
+
private constructor();
|
|
495
|
+
static get POINTS(): games.jass.logic.data.models.player.bids.BidType & {
|
|
496
|
+
get name(): "POINTS";
|
|
497
|
+
get ordinal(): 0;
|
|
498
|
+
};
|
|
499
|
+
static get CAPOT(): games.jass.logic.data.models.player.bids.BidType & {
|
|
500
|
+
get name(): "CAPOT";
|
|
501
|
+
get ordinal(): 1;
|
|
502
|
+
};
|
|
503
|
+
static get COINCHE(): games.jass.logic.data.models.player.bids.BidType & {
|
|
504
|
+
get name(): "COINCHE";
|
|
505
|
+
get ordinal(): 2;
|
|
506
|
+
};
|
|
507
|
+
static get GENERAL(): games.jass.logic.data.models.player.bids.BidType & {
|
|
508
|
+
get name(): "GENERAL";
|
|
509
|
+
get ordinal(): 3;
|
|
510
|
+
};
|
|
511
|
+
static get SURCOINCHE(): games.jass.logic.data.models.player.bids.BidType & {
|
|
512
|
+
get name(): "SURCOINCHE";
|
|
513
|
+
get ordinal(): 4;
|
|
514
|
+
};
|
|
515
|
+
get name(): "POINTS" | "CAPOT" | "COINCHE" | "GENERAL" | "SURCOINCHE";
|
|
516
|
+
get ordinal(): 0 | 1 | 2 | 3 | 4;
|
|
517
|
+
static values(): Array<games.jass.logic.data.models.player.bids.BidType>;
|
|
518
|
+
static valueOf(value: string): games.jass.logic.data.models.player.bids.BidType;
|
|
519
|
+
static get Companion(): {
|
|
520
|
+
get belotBalgarian(): Array<games.jass.logic.data.models.player.bids.BidType>;
|
|
521
|
+
get coinche(): Array<games.jass.logic.data.models.player.bids.BidType>;
|
|
522
|
+
} & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
export declare namespace games.jass.logic.data.models.player.hand {
|
|
581
526
|
class CombinationRecord {
|
|
582
|
-
constructor(id: string, type:
|
|
527
|
+
constructor(id: string, type: games.jass.logic.data.models.table.combinations.CombinationType, state: games.jass.logic.data.models.table.combinations.CombinationState, value: number);
|
|
583
528
|
get id(): string;
|
|
584
|
-
get type():
|
|
585
|
-
get state():
|
|
529
|
+
get type(): games.jass.logic.data.models.table.combinations.CombinationType;
|
|
530
|
+
get state(): games.jass.logic.data.models.table.combinations.CombinationState;
|
|
586
531
|
get value(): number;
|
|
587
|
-
copy(id?: string, type?:
|
|
532
|
+
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
533
|
toString(): string;
|
|
589
534
|
hashCode(): number;
|
|
590
535
|
equals(other: Nullable<any>): boolean;
|
|
591
536
|
}
|
|
592
537
|
}
|
|
593
|
-
export declare namespace
|
|
538
|
+
export declare namespace games.jass.logic.data.models.player.hand {
|
|
594
539
|
class PlayerAnalytics implements com.logic.data.models.player.PlayerIdContract {
|
|
595
|
-
constructor(playerId: string, factor: number, wasLiveDuringGame: boolean, liveDurationPercentage: Nullable<number>, combinationRecords: kotlin.collections.KtList<
|
|
540
|
+
constructor(playerId: string, factor: number, wasLiveDuringGame: boolean, liveDurationPercentage: Nullable<number>, combinationRecords: kotlin.collections.KtList<games.jass.logic.data.models.player.hand.CombinationRecord>);
|
|
596
541
|
get playerId(): string;
|
|
597
542
|
get factor(): number;
|
|
598
543
|
get wasLiveDuringGame(): boolean;
|
|
599
544
|
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<
|
|
545
|
+
get combinationRecords(): kotlin.collections.KtList<games.jass.logic.data.models.player.hand.CombinationRecord>;
|
|
546
|
+
get combinationCounts(): kotlin.collections.KtMap<games.jass.logic.data.models.table.combinations.CombinationType, number>;
|
|
547
|
+
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
548
|
toString(): string;
|
|
604
549
|
hashCode(): number;
|
|
605
550
|
equals(other: Nullable<any>): boolean;
|
|
606
551
|
readonly __doNotUseOrImplementIt: com.logic.data.models.player.PlayerIdContract["__doNotUseOrImplementIt"];
|
|
607
552
|
}
|
|
608
553
|
}
|
|
609
|
-
export declare namespace
|
|
554
|
+
export declare namespace games.jass.logic.data.models.player.state {
|
|
610
555
|
abstract class RoundContractState {
|
|
611
556
|
private constructor();
|
|
612
|
-
static get FAILED():
|
|
557
|
+
static get FAILED(): games.jass.logic.data.models.player.state.RoundContractState & {
|
|
613
558
|
get name(): "FAILED";
|
|
614
559
|
get ordinal(): 0;
|
|
615
560
|
};
|
|
616
|
-
static get FULFILLED():
|
|
561
|
+
static get FULFILLED(): games.jass.logic.data.models.player.state.RoundContractState & {
|
|
617
562
|
get name(): "FULFILLED";
|
|
618
563
|
get ordinal(): 1;
|
|
619
564
|
};
|
|
620
|
-
static get CONTROVERSIAL():
|
|
565
|
+
static get CONTROVERSIAL(): games.jass.logic.data.models.player.state.RoundContractState & {
|
|
621
566
|
get name(): "CONTROVERSIAL";
|
|
622
567
|
get ordinal(): 2;
|
|
623
568
|
};
|
|
@@ -626,70 +571,176 @@ export declare namespace com.debertz.logic.data.models.player.state {
|
|
|
626
571
|
get isFailed(): boolean;
|
|
627
572
|
get isFulfilled(): boolean;
|
|
628
573
|
get isControversial(): boolean;
|
|
629
|
-
static values(): Array<
|
|
630
|
-
static valueOf(value: string):
|
|
574
|
+
static values(): Array<games.jass.logic.data.models.player.state.RoundContractState>;
|
|
575
|
+
static valueOf(value: string): games.jass.logic.data.models.player.state.RoundContractState;
|
|
576
|
+
static get Companion(): {
|
|
577
|
+
} & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
578
|
+
}
|
|
579
|
+
}
|
|
580
|
+
export declare namespace games.jass.logic.data.models.player.state {
|
|
581
|
+
abstract class RoundContractType {
|
|
582
|
+
private constructor();
|
|
583
|
+
static get TRUMP_TAKEN(): games.jass.logic.data.models.player.state.RoundContractType & {
|
|
584
|
+
get name(): "TRUMP_TAKEN";
|
|
585
|
+
get ordinal(): 0;
|
|
586
|
+
};
|
|
587
|
+
static get TRUMP_SELECTED(): games.jass.logic.data.models.player.state.RoundContractType & {
|
|
588
|
+
get name(): "TRUMP_SELECTED";
|
|
589
|
+
get ordinal(): 1;
|
|
590
|
+
};
|
|
591
|
+
static get NO_TRUMPS(): games.jass.logic.data.models.player.state.RoundContractType & {
|
|
592
|
+
get name(): "NO_TRUMPS";
|
|
593
|
+
get ordinal(): 2;
|
|
594
|
+
};
|
|
595
|
+
static get ALL_TRUMPS(): games.jass.logic.data.models.player.state.RoundContractType & {
|
|
596
|
+
get name(): "ALL_TRUMPS";
|
|
597
|
+
get ordinal(): 3;
|
|
598
|
+
};
|
|
599
|
+
get name(): "TRUMP_TAKEN" | "TRUMP_SELECTED" | "NO_TRUMPS" | "ALL_TRUMPS";
|
|
600
|
+
get ordinal(): 0 | 1 | 2 | 3;
|
|
601
|
+
static values(): Array<games.jass.logic.data.models.player.state.RoundContractType>;
|
|
602
|
+
static valueOf(value: string): games.jass.logic.data.models.player.state.RoundContractType;
|
|
631
603
|
static get Companion(): {
|
|
604
|
+
get debertzContractTypes(): kotlin.collections.KtList<games.jass.logic.data.models.player.state.RoundContractType>;
|
|
632
605
|
} & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
633
606
|
}
|
|
634
607
|
}
|
|
635
|
-
export declare namespace
|
|
608
|
+
export declare namespace games.jass.logic.data.models.rules {
|
|
609
|
+
class Rules {
|
|
610
|
+
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>);
|
|
611
|
+
get needToPutHigherTrump(): boolean;
|
|
612
|
+
get distributePoints(): boolean;
|
|
613
|
+
get protectBella(): boolean;
|
|
614
|
+
get oneTryToProtectBella(): boolean;
|
|
615
|
+
get enableFourSevensCombination(): boolean;
|
|
616
|
+
get enableTrumpSevenCombination(): boolean;
|
|
617
|
+
get enableTrumpSevenCombinationAfterDistribution(): boolean;
|
|
618
|
+
get playerWhoChooseSuitGoFirst(): boolean;
|
|
619
|
+
get winnerShuffleCards(): boolean;
|
|
620
|
+
get playWithoutLiabilities(): boolean;
|
|
621
|
+
get trumpCardGoToPlayerWhoShuffleCards(): boolean;
|
|
622
|
+
get enableFineIfNoBribes(): boolean;
|
|
623
|
+
get fineIfNoBribes(): number;
|
|
624
|
+
get enableFineAfterThirdByte(): boolean;
|
|
625
|
+
get checkTrumpCombination(): boolean;
|
|
626
|
+
get checkOnlyTrumpDebertz(): boolean;
|
|
627
|
+
get dealerInitialCardsCount(): number;
|
|
628
|
+
get dealerFinalCardsCount(): number;
|
|
629
|
+
get dealerCounterClockwise(): boolean;
|
|
630
|
+
get contractTypes(): Array<games.jass.logic.data.models.player.state.RoundContractType>;
|
|
631
|
+
get bidTypes(): Array<games.jass.logic.data.models.player.bids.BidType>;
|
|
632
|
+
get combinationsWithFirstCard(): Array<games.jass.logic.data.models.table.combinations.CombinationType>;
|
|
633
|
+
toString(): string;
|
|
634
|
+
equals(other: Nullable<any>): boolean;
|
|
635
|
+
hashCode(): number;
|
|
636
|
+
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;
|
|
637
|
+
static get Companion(): {
|
|
638
|
+
get HAND_CARDS_INITIAL(): number;
|
|
639
|
+
get HAND_CARDS_FINAL(): number;
|
|
640
|
+
kharkiv(): games.jass.logic.data.models.rules.Rules;
|
|
641
|
+
saltivka(): games.jass.logic.data.models.rules.Rules;
|
|
642
|
+
klabor(): games.jass.logic.data.models.rules.Rules;
|
|
643
|
+
belotBulgarian(): games.jass.logic.data.models.rules.Rules;
|
|
644
|
+
debertzCommon(): games.jass.logic.data.models.rules.Rules;
|
|
645
|
+
belot(): games.jass.logic.data.models.rules.Rules;
|
|
646
|
+
custom(): games.jass.logic.data.models.rules.Rules;
|
|
647
|
+
};
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
export declare namespace games.jass.logic.data.models.rules {
|
|
651
|
+
abstract class RulesSetType {
|
|
652
|
+
private constructor();
|
|
653
|
+
static get belot(): games.jass.logic.data.models.rules.RulesSetType & {
|
|
654
|
+
get name(): "belot";
|
|
655
|
+
get ordinal(): 0;
|
|
656
|
+
};
|
|
657
|
+
static get klabor(): games.jass.logic.data.models.rules.RulesSetType & {
|
|
658
|
+
get name(): "klabor";
|
|
659
|
+
get ordinal(): 1;
|
|
660
|
+
};
|
|
661
|
+
static get debertzCommon(): games.jass.logic.data.models.rules.RulesSetType & {
|
|
662
|
+
get name(): "debertzCommon";
|
|
663
|
+
get ordinal(): 2;
|
|
664
|
+
};
|
|
665
|
+
static get debertzKharkiv(): games.jass.logic.data.models.rules.RulesSetType & {
|
|
666
|
+
get name(): "debertzKharkiv";
|
|
667
|
+
get ordinal(): 3;
|
|
668
|
+
};
|
|
669
|
+
static get debertzSaltivka(): games.jass.logic.data.models.rules.RulesSetType & {
|
|
670
|
+
get name(): "debertzSaltivka";
|
|
671
|
+
get ordinal(): 4;
|
|
672
|
+
};
|
|
673
|
+
static get custom(): games.jass.logic.data.models.rules.RulesSetType & {
|
|
674
|
+
get name(): "custom";
|
|
675
|
+
get ordinal(): 5;
|
|
676
|
+
};
|
|
677
|
+
get name(): "belot" | "klabor" | "debertzCommon" | "debertzKharkiv" | "debertzSaltivka" | "custom";
|
|
678
|
+
get ordinal(): 0 | 1 | 2 | 3 | 4 | 5;
|
|
679
|
+
get value(): string;
|
|
680
|
+
getRules(): games.jass.logic.data.models.rules.Rules;
|
|
681
|
+
get isCustom(): boolean;
|
|
682
|
+
static values(): Array<games.jass.logic.data.models.rules.RulesSetType>;
|
|
683
|
+
static valueOf(value: string): games.jass.logic.data.models.rules.RulesSetType;
|
|
684
|
+
}
|
|
685
|
+
}
|
|
686
|
+
export declare namespace games.jass.logic.data.models.scenes {
|
|
636
687
|
interface ActData {
|
|
637
688
|
readonly actId: string;
|
|
638
689
|
readonly __doNotUseOrImplementIt: {
|
|
639
|
-
readonly "
|
|
690
|
+
readonly "games.jass.logic.data.models.scenes.ActData": unique symbol;
|
|
640
691
|
};
|
|
641
692
|
}
|
|
642
693
|
}
|
|
643
|
-
export declare namespace
|
|
694
|
+
export declare namespace games.jass.logic.data.models.scenes {
|
|
644
695
|
interface SceneData {
|
|
645
696
|
readonly sceneId: string;
|
|
646
697
|
readonly __doNotUseOrImplementIt: {
|
|
647
|
-
readonly "
|
|
698
|
+
readonly "games.jass.logic.data.models.scenes.SceneData": unique symbol;
|
|
648
699
|
};
|
|
649
700
|
}
|
|
650
701
|
}
|
|
651
|
-
export declare namespace
|
|
652
|
-
class
|
|
653
|
-
constructor(id: string, version: string, createdAt: any/* kotlinx.datetime.Instant */, config:
|
|
702
|
+
export declare namespace games.jass.logic.data.models.table {
|
|
703
|
+
class JassTable {
|
|
704
|
+
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
705
|
get id(): string;
|
|
655
706
|
get version(): string;
|
|
656
707
|
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():
|
|
708
|
+
get config(): games.jass.logic.data.models.table.config.Config;
|
|
709
|
+
get players(): kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.player.JassPlayer */>;
|
|
710
|
+
get sceneInfo(): any/* games.jass.logic.data.models.table.scene.SceneInfo */;
|
|
711
|
+
get cardsOnTable(): kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.table.bribes.CardOnTable */>;
|
|
712
|
+
get bribes(): kotlin.collections.KtList<any/* games.jass.logic.data.models.table.cards.Bribe */>;
|
|
713
|
+
get cardDeck(): Nullable<any>/* Nullable<games.jass.logic.data.models.table.cards.CardDeck> */;
|
|
714
|
+
get gameInfo(): any/* games.jass.logic.data.models.table.GameInfo */;
|
|
715
|
+
get gameHistory(): games.jass.logic.data.models.table.history.GameHistory;
|
|
665
716
|
get gameId(): string;
|
|
666
717
|
get gameDuration(): any/* kotlin.time.Duration */;
|
|
667
718
|
get gameCreatedAt(): any/* kotlinx.datetime.Instant */;
|
|
668
719
|
get playersConnections(): kotlin.collections.KtList<any/* kotlin.Pair<string, com.logic.data.models.player.PlayerConnectionState> */>;
|
|
669
720
|
get users(): Array<com.logic.data.models.player.GameUserInfo>;
|
|
670
721
|
get isCardDeckExist(): boolean;
|
|
671
|
-
get requireCardDeck(): any/*
|
|
722
|
+
get requireCardDeck(): any/* games.jass.logic.data.models.table.cards.CardDeck */;
|
|
672
723
|
get currentTrump(): Nullable<any>/* Nullable<io.raspberryapps.card_game.core.data.models.cards.Suit> */;
|
|
673
724
|
get isGameFinished(): boolean;
|
|
674
725
|
toString(): string;
|
|
675
|
-
copy(id?: string, version?: string, createdAt?: any/* kotlinx.datetime.Instant */, config?:
|
|
726
|
+
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
727
|
hashCode(): number;
|
|
677
728
|
equals(other: Nullable<any>): boolean;
|
|
678
729
|
static get Companion(): {
|
|
679
|
-
initial(tableId: string, gameId: string, version: string, config:
|
|
730
|
+
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
731
|
};
|
|
681
732
|
}
|
|
682
733
|
}
|
|
683
|
-
export declare namespace
|
|
734
|
+
export declare namespace games.jass.logic.data.models.table {
|
|
684
735
|
class TableLoggerPayload implements io.raspberryapps.card_game.core.utils.logger.LoggerPayload {
|
|
685
|
-
constructor(id: string, gameId: string, players: Array<
|
|
736
|
+
constructor(id: string, gameId: string, players: Array<games.jass.logic.data.models.table.PlayerLoggerPayload>);
|
|
686
737
|
get id(): string;
|
|
687
738
|
get gameId(): string;
|
|
688
|
-
get players(): Array<
|
|
739
|
+
get players(): Array<games.jass.logic.data.models.table.PlayerLoggerPayload>;
|
|
689
740
|
equals(other: Nullable<any>): boolean;
|
|
690
741
|
hashCode(): number;
|
|
691
742
|
toString(): string;
|
|
692
|
-
copy(id?: string, gameId?: string, players?: Array<
|
|
743
|
+
copy(id?: string, gameId?: string, players?: Array<games.jass.logic.data.models.table.PlayerLoggerPayload>): games.jass.logic.data.models.table.TableLoggerPayload;
|
|
693
744
|
readonly __doNotUseOrImplementIt: io.raspberryapps.card_game.core.utils.logger.LoggerPayload["__doNotUseOrImplementIt"];
|
|
694
745
|
}
|
|
695
746
|
class PlayerLoggerPayload implements io.raspberryapps.card_game.core.utils.logger.LoggerPayload {
|
|
@@ -697,219 +748,253 @@ export declare namespace com.debertz.logic.data.models.table {
|
|
|
697
748
|
get playerId(): string;
|
|
698
749
|
get connectionState(): Nullable<com.logic.data.models.player.PlayerConnectionState>;
|
|
699
750
|
toString(): string;
|
|
700
|
-
copy(playerId?: string, connectionState?: Nullable<com.logic.data.models.player.PlayerConnectionState>):
|
|
751
|
+
copy(playerId?: string, connectionState?: Nullable<com.logic.data.models.player.PlayerConnectionState>): games.jass.logic.data.models.table.PlayerLoggerPayload;
|
|
701
752
|
hashCode(): number;
|
|
702
753
|
equals(other: Nullable<any>): boolean;
|
|
703
754
|
readonly __doNotUseOrImplementIt: io.raspberryapps.card_game.core.utils.logger.LoggerPayload["__doNotUseOrImplementIt"];
|
|
704
755
|
}
|
|
705
756
|
}
|
|
706
|
-
export declare namespace
|
|
707
|
-
class Combination /* implements
|
|
708
|
-
constructor(id: string, type:
|
|
709
|
-
copy(id?: string, type?:
|
|
757
|
+
export declare namespace games.jass.logic.data.models.table.combinations {
|
|
758
|
+
class Combination /* implements games.jass.logic.data.models.table.combinations.CombinationContract */ {
|
|
759
|
+
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 */>>);
|
|
760
|
+
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
761
|
toString(): string;
|
|
711
762
|
hashCode(): number;
|
|
712
763
|
equals(other: Nullable<any>): boolean;
|
|
713
764
|
}
|
|
714
765
|
}
|
|
715
|
-
export declare namespace
|
|
766
|
+
export declare namespace games.jass.logic.data.models.table.combinations {
|
|
716
767
|
abstract class CombinationState {
|
|
717
768
|
private constructor();
|
|
718
|
-
static get NOT_VERIFIED():
|
|
769
|
+
static get NOT_VERIFIED(): games.jass.logic.data.models.table.combinations.CombinationState & {
|
|
719
770
|
get name(): "NOT_VERIFIED";
|
|
720
771
|
get ordinal(): 0;
|
|
721
772
|
};
|
|
722
|
-
static get VERIFYING():
|
|
773
|
+
static get VERIFYING(): games.jass.logic.data.models.table.combinations.CombinationState & {
|
|
723
774
|
get name(): "VERIFYING";
|
|
724
775
|
get ordinal(): 1;
|
|
725
776
|
};
|
|
726
|
-
static get ACCEPTED():
|
|
777
|
+
static get ACCEPTED(): games.jass.logic.data.models.table.combinations.CombinationState & {
|
|
727
778
|
get name(): "ACCEPTED";
|
|
728
779
|
get ordinal(): 2;
|
|
729
780
|
};
|
|
730
|
-
static get NOT_ACCEPTED():
|
|
781
|
+
static get NOT_ACCEPTED(): games.jass.logic.data.models.table.combinations.CombinationState & {
|
|
731
782
|
get name(): "NOT_ACCEPTED";
|
|
732
783
|
get ordinal(): 3;
|
|
733
784
|
};
|
|
734
|
-
static get REJECTED():
|
|
785
|
+
static get REJECTED(): games.jass.logic.data.models.table.combinations.CombinationState & {
|
|
735
786
|
get name(): "REJECTED";
|
|
736
787
|
get ordinal(): 4;
|
|
737
788
|
};
|
|
738
|
-
static get CANCELED():
|
|
789
|
+
static get CANCELED(): games.jass.logic.data.models.table.combinations.CombinationState & {
|
|
739
790
|
get name(): "CANCELED";
|
|
740
791
|
get ordinal(): 5;
|
|
741
792
|
};
|
|
742
793
|
get name(): "NOT_VERIFIED" | "VERIFYING" | "ACCEPTED" | "NOT_ACCEPTED" | "REJECTED" | "CANCELED";
|
|
743
794
|
get ordinal(): 0 | 1 | 2 | 3 | 4 | 5;
|
|
744
|
-
static values(): Array<
|
|
745
|
-
static valueOf(value: string):
|
|
795
|
+
static values(): Array<games.jass.logic.data.models.table.combinations.CombinationState>;
|
|
796
|
+
static valueOf(value: string): games.jass.logic.data.models.table.combinations.CombinationState;
|
|
746
797
|
static get Companion(): {
|
|
747
798
|
} & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
748
799
|
}
|
|
749
800
|
}
|
|
750
|
-
export declare namespace
|
|
801
|
+
export declare namespace games.jass.logic.data.models.table.combinations {
|
|
751
802
|
abstract class CombinationType {
|
|
752
803
|
private constructor();
|
|
753
|
-
static get BELA():
|
|
804
|
+
static get BELA(): games.jass.logic.data.models.table.combinations.CombinationType & {
|
|
754
805
|
get name(): "BELA";
|
|
755
806
|
get ordinal(): 0;
|
|
756
807
|
};
|
|
757
|
-
static get THREE_IN_ROW():
|
|
808
|
+
static get THREE_IN_ROW(): games.jass.logic.data.models.table.combinations.CombinationType & {
|
|
758
809
|
get name(): "THREE_IN_ROW";
|
|
759
810
|
get ordinal(): 1;
|
|
760
811
|
};
|
|
761
|
-
static get FOUR_IN_ROW():
|
|
812
|
+
static get FOUR_IN_ROW(): games.jass.logic.data.models.table.combinations.CombinationType & {
|
|
762
813
|
get name(): "FOUR_IN_ROW";
|
|
763
814
|
get ordinal(): 2;
|
|
764
815
|
};
|
|
765
|
-
static get
|
|
766
|
-
get name(): "
|
|
816
|
+
static get FIVE_IN_ROW(): games.jass.logic.data.models.table.combinations.CombinationType & {
|
|
817
|
+
get name(): "FIVE_IN_ROW";
|
|
767
818
|
get ordinal(): 3;
|
|
768
819
|
};
|
|
769
|
-
static get
|
|
770
|
-
get name(): "
|
|
820
|
+
static get SEVEN_IN_ROW(): games.jass.logic.data.models.table.combinations.CombinationType & {
|
|
821
|
+
get name(): "SEVEN_IN_ROW";
|
|
771
822
|
get ordinal(): 4;
|
|
772
823
|
};
|
|
773
|
-
static get
|
|
774
|
-
get name(): "
|
|
824
|
+
static get SEVEN_TRUMP(): games.jass.logic.data.models.table.combinations.CombinationType & {
|
|
825
|
+
get name(): "SEVEN_TRUMP";
|
|
775
826
|
get ordinal(): 5;
|
|
776
827
|
};
|
|
777
|
-
static get
|
|
778
|
-
get name(): "
|
|
828
|
+
static get FOUR_ACES(): games.jass.logic.data.models.table.combinations.CombinationType & {
|
|
829
|
+
get name(): "FOUR_ACES";
|
|
779
830
|
get ordinal(): 6;
|
|
780
831
|
};
|
|
781
|
-
static get
|
|
782
|
-
get name(): "
|
|
832
|
+
static get FOUR_KINGS(): games.jass.logic.data.models.table.combinations.CombinationType & {
|
|
833
|
+
get name(): "FOUR_KINGS";
|
|
783
834
|
get ordinal(): 7;
|
|
784
835
|
};
|
|
785
|
-
static get
|
|
786
|
-
get name(): "
|
|
836
|
+
static get FOUR_DAMES(): games.jass.logic.data.models.table.combinations.CombinationType & {
|
|
837
|
+
get name(): "FOUR_DAMES";
|
|
787
838
|
get ordinal(): 8;
|
|
788
839
|
};
|
|
789
|
-
static get
|
|
790
|
-
get name(): "
|
|
840
|
+
static get FOUR_JACKS(): games.jass.logic.data.models.table.combinations.CombinationType & {
|
|
841
|
+
get name(): "FOUR_JACKS";
|
|
791
842
|
get ordinal(): 9;
|
|
792
843
|
};
|
|
793
|
-
static get
|
|
794
|
-
get name(): "
|
|
844
|
+
static get FOUR_TENS(): games.jass.logic.data.models.table.combinations.CombinationType & {
|
|
845
|
+
get name(): "FOUR_TENS";
|
|
795
846
|
get ordinal(): 10;
|
|
796
847
|
};
|
|
797
|
-
get
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
848
|
+
static get FOUR_NINES(): games.jass.logic.data.models.table.combinations.CombinationType & {
|
|
849
|
+
get name(): "FOUR_NINES";
|
|
850
|
+
get ordinal(): 11;
|
|
851
|
+
};
|
|
852
|
+
static get FOUR_SEVENS(): games.jass.logic.data.models.table.combinations.CombinationType & {
|
|
853
|
+
get name(): "FOUR_SEVENS";
|
|
854
|
+
get ordinal(): 12;
|
|
855
|
+
};
|
|
856
|
+
static get FINE_NO_BRIBES(): games.jass.logic.data.models.table.combinations.CombinationType & {
|
|
857
|
+
get name(): "FINE_NO_BRIBES";
|
|
858
|
+
get ordinal(): 13;
|
|
859
|
+
};
|
|
860
|
+
static get FINE_THIRD_FAILED_CONTRACT(): games.jass.logic.data.models.table.combinations.CombinationType & {
|
|
861
|
+
get name(): "FINE_THIRD_FAILED_CONTRACT";
|
|
862
|
+
get ordinal(): 14;
|
|
863
|
+
};
|
|
864
|
+
static get BONUS_LAST_BRIBE(): games.jass.logic.data.models.table.combinations.CombinationType & {
|
|
865
|
+
get name(): "BONUS_LAST_BRIBE";
|
|
866
|
+
get ordinal(): 15;
|
|
867
|
+
};
|
|
868
|
+
static get BONUS_FAILED_CONTRACT(): games.jass.logic.data.models.table.combinations.CombinationType & {
|
|
869
|
+
get name(): "BONUS_FAILED_CONTRACT";
|
|
870
|
+
get ordinal(): 16;
|
|
871
|
+
};
|
|
872
|
+
static get BONUS_CONTROVERSIAL_CONTRACT(): games.jass.logic.data.models.table.combinations.CombinationType & {
|
|
873
|
+
get name(): "BONUS_CONTROVERSIAL_CONTRACT";
|
|
874
|
+
get ordinal(): 17;
|
|
875
|
+
};
|
|
876
|
+
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";
|
|
877
|
+
get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17;
|
|
878
|
+
static values(): Array<games.jass.logic.data.models.table.combinations.CombinationType>;
|
|
879
|
+
static valueOf(value: string): games.jass.logic.data.models.table.combinations.CombinationType;
|
|
801
880
|
static get Companion(): {
|
|
802
|
-
|
|
881
|
+
get withFirstCardCombination(): kotlin.collections.KtList<games.jass.logic.data.models.table.combinations.CombinationType>;
|
|
882
|
+
get inRowCombinations(): kotlin.collections.KtList<games.jass.logic.data.models.table.combinations.CombinationType>;
|
|
883
|
+
get fourCardsCombinations(): kotlin.collections.KtList<games.jass.logic.data.models.table.combinations.CombinationType>;
|
|
884
|
+
get debertzWithFirstCardCombinations(): kotlin.collections.KtList<games.jass.logic.data.models.table.combinations.CombinationType>;
|
|
885
|
+
get belotWithFirstCardCombination(): kotlin.collections.KtList<games.jass.logic.data.models.table.combinations.CombinationType>;
|
|
803
886
|
} & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
804
887
|
}
|
|
805
888
|
}
|
|
806
|
-
export declare namespace
|
|
889
|
+
export declare namespace games.jass.logic.data.models.table.combinations {
|
|
807
890
|
class PlayerCombinations implements com.logic.data.models.player.PlayerIdContract {
|
|
808
|
-
constructor(playerId: string, combinations: Array<
|
|
891
|
+
constructor(playerId: string, combinations: Array<games.jass.logic.data.models.table.combinations.Combination>);
|
|
809
892
|
get playerId(): string;
|
|
810
|
-
get combinations(): Array<
|
|
893
|
+
get combinations(): Array<games.jass.logic.data.models.table.combinations.Combination>;
|
|
811
894
|
equals(other: Nullable<any>): boolean;
|
|
812
895
|
hashCode(): number;
|
|
813
|
-
copy(playerId?: string, combinations?: Array<
|
|
896
|
+
copy(playerId?: string, combinations?: Array<games.jass.logic.data.models.table.combinations.Combination>): games.jass.logic.data.models.table.combinations.PlayerCombinations;
|
|
814
897
|
toString(): string;
|
|
815
898
|
readonly __doNotUseOrImplementIt: com.logic.data.models.player.PlayerIdContract["__doNotUseOrImplementIt"];
|
|
816
899
|
}
|
|
817
900
|
}
|
|
818
|
-
export declare namespace
|
|
901
|
+
export declare namespace games.jass.logic.data.models.table.config {
|
|
819
902
|
abstract class BotIntelligenceLevel {
|
|
820
903
|
private constructor();
|
|
821
|
-
static get SUPER_HARD():
|
|
904
|
+
static get SUPER_HARD(): games.jass.logic.data.models.table.config.BotIntelligenceLevel & {
|
|
822
905
|
get name(): "SUPER_HARD";
|
|
823
906
|
get ordinal(): 0;
|
|
824
907
|
};
|
|
825
|
-
static get HARD():
|
|
908
|
+
static get HARD(): games.jass.logic.data.models.table.config.BotIntelligenceLevel & {
|
|
826
909
|
get name(): "HARD";
|
|
827
910
|
get ordinal(): 1;
|
|
828
911
|
};
|
|
829
|
-
static get MEDIUM():
|
|
912
|
+
static get MEDIUM(): games.jass.logic.data.models.table.config.BotIntelligenceLevel & {
|
|
830
913
|
get name(): "MEDIUM";
|
|
831
914
|
get ordinal(): 2;
|
|
832
915
|
};
|
|
833
|
-
static get EASY():
|
|
916
|
+
static get EASY(): games.jass.logic.data.models.table.config.BotIntelligenceLevel & {
|
|
834
917
|
get name(): "EASY";
|
|
835
918
|
get ordinal(): 3;
|
|
836
919
|
};
|
|
837
|
-
static get SUPER_EASY():
|
|
920
|
+
static get SUPER_EASY(): games.jass.logic.data.models.table.config.BotIntelligenceLevel & {
|
|
838
921
|
get name(): "SUPER_EASY";
|
|
839
922
|
get ordinal(): 4;
|
|
840
923
|
};
|
|
841
924
|
get name(): "SUPER_HARD" | "HARD" | "MEDIUM" | "EASY" | "SUPER_EASY";
|
|
842
925
|
get ordinal(): 0 | 1 | 2 | 3 | 4;
|
|
843
|
-
static values(): Array<
|
|
844
|
-
static valueOf(value: string):
|
|
926
|
+
static values(): Array<games.jass.logic.data.models.table.config.BotIntelligenceLevel>;
|
|
927
|
+
static valueOf(value: string): games.jass.logic.data.models.table.config.BotIntelligenceLevel;
|
|
845
928
|
static get Companion(): {
|
|
846
929
|
} & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
847
930
|
}
|
|
848
|
-
function getLevel(_this_:
|
|
931
|
+
function getLevel(_this_: games.jass.logic.data.models.table.config.BotIntelligenceLevel): number;
|
|
849
932
|
}
|
|
850
|
-
export declare namespace
|
|
933
|
+
export declare namespace games.jass.logic.data.models.table.config {
|
|
851
934
|
class Config {
|
|
852
|
-
constructor(rules:
|
|
853
|
-
get rules():
|
|
854
|
-
get rulesSetType():
|
|
855
|
-
get options():
|
|
856
|
-
get playersMode():
|
|
857
|
-
get pointsMode():
|
|
935
|
+
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);
|
|
936
|
+
get rules(): games.jass.logic.data.models.rules.Rules;
|
|
937
|
+
get rulesSetType(): games.jass.logic.data.models.rules.RulesSetType;
|
|
938
|
+
get options(): games.jass.logic.data.models.table.config.Options;
|
|
939
|
+
get playersMode(): games.jass.logic.data.models.table.config.PlayersMode;
|
|
940
|
+
get pointsMode(): games.jass.logic.data.models.table.config.PointsMode;
|
|
858
941
|
get timeoutTimeMillis(): number;
|
|
859
942
|
get isPrivate(): boolean;
|
|
860
943
|
get playerHandCardsSize(): number;
|
|
861
|
-
copy(rules?:
|
|
944
|
+
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
945
|
toString(): string;
|
|
863
946
|
hashCode(): number;
|
|
864
947
|
equals(other: Nullable<any>): boolean;
|
|
865
948
|
}
|
|
866
949
|
}
|
|
867
|
-
export declare namespace
|
|
950
|
+
export declare namespace games.jass.logic.data.models.table.config {
|
|
868
951
|
class ConfigLite {
|
|
869
|
-
constructor(players:
|
|
870
|
-
get players():
|
|
871
|
-
get points():
|
|
952
|
+
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>);
|
|
953
|
+
get players(): games.jass.logic.data.models.table.config.PlayersMode;
|
|
954
|
+
get points(): games.jass.logic.data.models.table.config.PointsMode;
|
|
872
955
|
get timeoutTimeMillis(): number;
|
|
873
|
-
get rulesPreset():
|
|
956
|
+
get rulesPreset(): games.jass.logic.data.models.rules.RulesSetType;
|
|
874
957
|
get isPrivate(): boolean;
|
|
875
958
|
get isChatEnabled(): boolean;
|
|
876
|
-
get
|
|
877
|
-
|
|
959
|
+
get isBotsEnabled(): boolean;
|
|
960
|
+
get rules(): Nullable<games.jass.logic.data.models.rules.Rules>;
|
|
961
|
+
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
962
|
toString(): string;
|
|
879
963
|
hashCode(): number;
|
|
880
964
|
equals(other: Nullable<any>): boolean;
|
|
881
965
|
}
|
|
882
966
|
}
|
|
883
|
-
export declare namespace
|
|
967
|
+
export declare namespace games.jass.logic.data.models.table.config {
|
|
884
968
|
class Options {
|
|
885
|
-
constructor(isEnableChat?: boolean, botIntelligenceLevel?:
|
|
969
|
+
constructor(isEnableChat?: boolean, isBotsEnabled?: boolean, botIntelligenceLevel?: games.jass.logic.data.models.table.config.BotIntelligenceLevel, timeForCountdownMillis?: number, timeForBotMillis?: number, isEnableChoosePartnerScreen?: boolean);
|
|
886
970
|
get isEnableChat(): boolean;
|
|
887
|
-
get
|
|
971
|
+
get isBotsEnabled(): boolean;
|
|
972
|
+
get botIntelligenceLevel(): games.jass.logic.data.models.table.config.BotIntelligenceLevel;
|
|
888
973
|
get timeForCountdownMillis(): number;
|
|
889
974
|
get timeForBotMillis(): number;
|
|
890
975
|
get isEnableChoosePartnerScreen(): boolean;
|
|
891
|
-
copy(isEnableChat?: boolean, botIntelligenceLevel?:
|
|
976
|
+
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
977
|
toString(): string;
|
|
893
978
|
hashCode(): number;
|
|
894
979
|
equals(other: Nullable<any>): boolean;
|
|
895
980
|
}
|
|
896
981
|
}
|
|
897
|
-
export declare namespace
|
|
982
|
+
export declare namespace games.jass.logic.data.models.table.config {
|
|
898
983
|
abstract class PlayersMode {
|
|
899
984
|
private constructor();
|
|
900
|
-
static get TWO_PLAYERS():
|
|
985
|
+
static get TWO_PLAYERS(): games.jass.logic.data.models.table.config.PlayersMode & {
|
|
901
986
|
get name(): "TWO_PLAYERS";
|
|
902
987
|
get ordinal(): 0;
|
|
903
988
|
};
|
|
904
|
-
static get THREE_PLAYERS():
|
|
989
|
+
static get THREE_PLAYERS(): games.jass.logic.data.models.table.config.PlayersMode & {
|
|
905
990
|
get name(): "THREE_PLAYERS";
|
|
906
991
|
get ordinal(): 1;
|
|
907
992
|
};
|
|
908
|
-
static get FOUR_PLAYERS():
|
|
993
|
+
static get FOUR_PLAYERS(): games.jass.logic.data.models.table.config.PlayersMode & {
|
|
909
994
|
get name(): "FOUR_PLAYERS";
|
|
910
995
|
get ordinal(): 2;
|
|
911
996
|
};
|
|
912
|
-
static get FOUR_PLAYERS_BY_TEAM():
|
|
997
|
+
static get FOUR_PLAYERS_BY_TEAM(): games.jass.logic.data.models.table.config.PlayersMode & {
|
|
913
998
|
get name(): "FOUR_PLAYERS_BY_TEAM";
|
|
914
999
|
get ordinal(): 3;
|
|
915
1000
|
};
|
|
@@ -918,118 +1003,117 @@ export declare namespace com.debertz.logic.data.models.table.config {
|
|
|
918
1003
|
get value(): number;
|
|
919
1004
|
get isTeamGame(): boolean;
|
|
920
1005
|
get count(): number;
|
|
921
|
-
static values(): Array<
|
|
922
|
-
static valueOf(value: string):
|
|
1006
|
+
static values(): Array<games.jass.logic.data.models.table.config.PlayersMode>;
|
|
1007
|
+
static valueOf(value: string): games.jass.logic.data.models.table.config.PlayersMode;
|
|
923
1008
|
static get Companion(): {
|
|
924
|
-
create(points: number):
|
|
1009
|
+
create(points: number): games.jass.logic.data.models.table.config.PlayersMode;
|
|
925
1010
|
} & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
926
1011
|
}
|
|
927
1012
|
}
|
|
928
|
-
export declare namespace
|
|
1013
|
+
export declare namespace games.jass.logic.data.models.table.config {
|
|
929
1014
|
abstract class PointsMode {
|
|
930
1015
|
private constructor();
|
|
931
|
-
static get SMALL():
|
|
1016
|
+
static get SMALL(): games.jass.logic.data.models.table.config.PointsMode & {
|
|
932
1017
|
get name(): "SMALL";
|
|
933
1018
|
get ordinal(): 0;
|
|
934
1019
|
};
|
|
935
|
-
static get MEDIUM():
|
|
1020
|
+
static get MEDIUM(): games.jass.logic.data.models.table.config.PointsMode & {
|
|
936
1021
|
get name(): "MEDIUM";
|
|
937
1022
|
get ordinal(): 1;
|
|
938
1023
|
};
|
|
939
|
-
static get BIG():
|
|
1024
|
+
static get BIG(): games.jass.logic.data.models.table.config.PointsMode & {
|
|
940
1025
|
get name(): "BIG";
|
|
941
1026
|
get ordinal(): 2;
|
|
942
1027
|
};
|
|
943
|
-
static get TEST():
|
|
1028
|
+
static get TEST(): games.jass.logic.data.models.table.config.PointsMode & {
|
|
944
1029
|
get name(): "TEST";
|
|
945
1030
|
get ordinal(): 3;
|
|
946
1031
|
};
|
|
947
1032
|
get name(): "SMALL" | "MEDIUM" | "BIG" | "TEST";
|
|
948
1033
|
get ordinal(): 0 | 1 | 2 | 3;
|
|
949
1034
|
get value(): number;
|
|
950
|
-
static values(): Array<
|
|
951
|
-
static valueOf(value: string):
|
|
1035
|
+
static values(): Array<games.jass.logic.data.models.table.config.PointsMode>;
|
|
1036
|
+
static valueOf(value: string): games.jass.logic.data.models.table.config.PointsMode;
|
|
952
1037
|
static get Companion(): {
|
|
953
|
-
create(points: number):
|
|
1038
|
+
create(points: number): games.jass.logic.data.models.table.config.PointsMode;
|
|
954
1039
|
} & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
955
1040
|
}
|
|
956
1041
|
}
|
|
957
|
-
export declare namespace
|
|
1042
|
+
export declare namespace games.jass.logic.data.models.table.history {
|
|
958
1043
|
class GameHistory {
|
|
959
|
-
constructor(gameId: string, createdAt: any/* kotlinx.datetime.Instant */, rounds: Array<
|
|
1044
|
+
constructor(gameId: string, createdAt: any/* kotlinx.datetime.Instant */, rounds: Array<games.jass.logic.data.models.table.history.RoundHistory>);
|
|
960
1045
|
get gameId(): string;
|
|
961
1046
|
get createdAt(): any/* kotlinx.datetime.Instant */;
|
|
962
|
-
get rounds(): Array<
|
|
1047
|
+
get rounds(): Array<games.jass.logic.data.models.table.history.RoundHistory>;
|
|
963
1048
|
get date(): string;
|
|
964
|
-
get lastRoundHistory():
|
|
1049
|
+
get lastRoundHistory(): games.jass.logic.data.models.table.history.RoundHistory;
|
|
965
1050
|
get isFirstRound(): boolean;
|
|
966
1051
|
get roundsCount(): number;
|
|
967
1052
|
equals(other: Nullable<any>): boolean;
|
|
968
1053
|
hashCode(): number;
|
|
969
1054
|
toString(): string;
|
|
970
|
-
copy(gameId?: string, createdAt?: any/* kotlinx.datetime.Instant */, rounds?: Array<
|
|
1055
|
+
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
1056
|
static get Companion(): {
|
|
972
|
-
initial(gameId: string, createdAt?: any/* kotlinx.datetime.Instant */):
|
|
1057
|
+
initial(gameId: string, createdAt?: any/* kotlinx.datetime.Instant */): games.jass.logic.data.models.table.history.GameHistory;
|
|
973
1058
|
};
|
|
974
1059
|
}
|
|
975
1060
|
}
|
|
976
|
-
export declare namespace
|
|
1061
|
+
export declare namespace games.jass.logic.data.models.table.history {
|
|
977
1062
|
class RoundHistory {
|
|
978
|
-
constructor(roundNumber: number, items: Array<
|
|
1063
|
+
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
1064
|
get roundNumber(): number;
|
|
980
|
-
get items(): Array<
|
|
1065
|
+
get items(): Array<games.jass.logic.data.models.table.history.RoundHistoryItem>;
|
|
981
1066
|
get roundCommitted(): Nullable<Array<string>>;
|
|
982
|
-
get roundContractState(): Nullable<
|
|
1067
|
+
get roundContractState(): Nullable<games.jass.logic.data.models.player.state.RoundContractState>;
|
|
983
1068
|
get roundWinners(): Nullable<Array<string>>;
|
|
984
1069
|
get roundContractStateName(): Nullable<string>;
|
|
985
|
-
get isRoundEmpty(): boolean;
|
|
986
1070
|
equals(other: Nullable<any>): boolean;
|
|
987
1071
|
hashCode(): number;
|
|
988
1072
|
toStringShort(): string;
|
|
989
|
-
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;
|
|
990
1074
|
toString(): string;
|
|
991
1075
|
static get Companion(): {
|
|
992
|
-
initial(roundNumber: number):
|
|
1076
|
+
initial(roundNumber: number): games.jass.logic.data.models.table.history.RoundHistory;
|
|
993
1077
|
};
|
|
994
1078
|
}
|
|
995
1079
|
}
|
|
996
|
-
export declare namespace
|
|
1080
|
+
export declare namespace games.jass.logic.data.models.table.history {
|
|
997
1081
|
abstract class RoundHistoryItem {
|
|
998
1082
|
protected constructor();
|
|
999
1083
|
abstract get createdAt(): any/* kotlinx.datetime.Instant */;
|
|
1000
1084
|
}
|
|
1001
1085
|
}
|
|
1002
|
-
export declare namespace
|
|
1086
|
+
export declare namespace games.jass.logic.domain.interactors.dealer {
|
|
1003
1087
|
abstract class DealerStrategy {
|
|
1004
1088
|
private constructor();
|
|
1005
|
-
static get FAKE():
|
|
1089
|
+
static get FAKE(): games.jass.logic.domain.interactors.dealer.DealerStrategy & {
|
|
1006
1090
|
get name(): "FAKE";
|
|
1007
1091
|
get ordinal(): 0;
|
|
1008
1092
|
};
|
|
1009
|
-
static get BASED_ON_PREVIOUS():
|
|
1093
|
+
static get BASED_ON_PREVIOUS(): games.jass.logic.domain.interactors.dealer.DealerStrategy & {
|
|
1010
1094
|
get name(): "BASED_ON_PREVIOUS";
|
|
1011
1095
|
get ordinal(): 1;
|
|
1012
1096
|
};
|
|
1013
|
-
static get EQUAL_HAND_BY_POINTS():
|
|
1097
|
+
static get EQUAL_HAND_BY_POINTS(): games.jass.logic.domain.interactors.dealer.DealerStrategy & {
|
|
1014
1098
|
get name(): "EQUAL_HAND_BY_POINTS";
|
|
1015
1099
|
get ordinal(): 2;
|
|
1016
1100
|
};
|
|
1017
|
-
static get EQUAL_HAND_BY_VALUE():
|
|
1101
|
+
static get EQUAL_HAND_BY_VALUE(): games.jass.logic.domain.interactors.dealer.DealerStrategy & {
|
|
1018
1102
|
get name(): "EQUAL_HAND_BY_VALUE";
|
|
1019
1103
|
get ordinal(): 3;
|
|
1020
1104
|
};
|
|
1021
|
-
static get RANDOM():
|
|
1105
|
+
static get RANDOM(): games.jass.logic.domain.interactors.dealer.DealerStrategy & {
|
|
1022
1106
|
get name(): "RANDOM";
|
|
1023
1107
|
get ordinal(): 4;
|
|
1024
1108
|
};
|
|
1025
1109
|
get name(): "FAKE" | "BASED_ON_PREVIOUS" | "EQUAL_HAND_BY_POINTS" | "EQUAL_HAND_BY_VALUE" | "RANDOM";
|
|
1026
1110
|
get ordinal(): 0 | 1 | 2 | 3 | 4;
|
|
1027
1111
|
shouldEqualiseHand(): boolean;
|
|
1028
|
-
static values(): Array<
|
|
1029
|
-
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;
|
|
1030
1114
|
}
|
|
1031
1115
|
}
|
|
1032
|
-
export declare namespace
|
|
1116
|
+
export declare namespace games.jass.logic.redux.actions {
|
|
1033
1117
|
const ClearAction: {
|
|
1034
1118
|
toString(): string;
|
|
1035
1119
|
hashCode(): number;
|
|
@@ -1040,7 +1124,7 @@ export declare namespace com.debertz.logic.redux.actions {
|
|
|
1040
1124
|
readonly __doNotUseOrImplementIt: com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinishing["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinished["__doNotUseOrImplementIt"];
|
|
1041
1125
|
} & com.logic.redux.store.definitions.Action & com.logic.redux.actions.validation.NotValidateIfGameFinishing & com.logic.redux.actions.validation.NotValidateIfGameFinished;
|
|
1042
1126
|
}
|
|
1043
|
-
export declare namespace
|
|
1127
|
+
export declare namespace games.jass.logic.redux.actions.client.from {
|
|
1044
1128
|
abstract class FromClientAction implements com.logic.redux.store.definitions.Action {
|
|
1045
1129
|
protected constructor();
|
|
1046
1130
|
abstract get playerId(): string;
|
|
@@ -1049,99 +1133,99 @@ export declare namespace com.debertz.logic.redux.actions.client.from {
|
|
|
1049
1133
|
readonly __doNotUseOrImplementIt: com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
|
|
1050
1134
|
}
|
|
1051
1135
|
}
|
|
1052
|
-
export declare namespace
|
|
1136
|
+
export declare namespace games.jass.logic.redux.actions.client.to {
|
|
1053
1137
|
class ActionDeliveryPayload {
|
|
1054
|
-
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);
|
|
1055
1139
|
get id(): string;
|
|
1056
1140
|
get includePlayers(): Array<string>;
|
|
1057
1141
|
get excludePlayers(): Array<string>;
|
|
1058
|
-
get deliveryType():
|
|
1142
|
+
get deliveryType(): games.jass.logic.redux.actions.client.to.ActionDeliveryType;
|
|
1059
1143
|
get excludePlayerOrNull(): Nullable<string>;
|
|
1060
1144
|
get sendToPlayerId(): string;
|
|
1061
1145
|
get excludePlayerId(): string;
|
|
1062
1146
|
equals(other: Nullable<any>): boolean;
|
|
1063
1147
|
hashCode(): number;
|
|
1064
1148
|
toString(): string;
|
|
1065
|
-
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;
|
|
1066
1150
|
static get Companion(): {
|
|
1067
|
-
userFromTable(table:
|
|
1068
|
-
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;
|
|
1069
1153
|
};
|
|
1070
1154
|
}
|
|
1071
1155
|
abstract class ActionDeliveryType {
|
|
1072
1156
|
private constructor();
|
|
1073
|
-
static get ROOM_ALL():
|
|
1157
|
+
static get ROOM_ALL(): games.jass.logic.redux.actions.client.to.ActionDeliveryType & {
|
|
1074
1158
|
get name(): "ROOM_ALL";
|
|
1075
1159
|
get ordinal(): 0;
|
|
1076
1160
|
};
|
|
1077
|
-
static get ROOM_EXCEPT_USER():
|
|
1161
|
+
static get ROOM_EXCEPT_USER(): games.jass.logic.redux.actions.client.to.ActionDeliveryType & {
|
|
1078
1162
|
get name(): "ROOM_EXCEPT_USER";
|
|
1079
1163
|
get ordinal(): 1;
|
|
1080
1164
|
};
|
|
1081
|
-
static get USER():
|
|
1165
|
+
static get USER(): games.jass.logic.redux.actions.client.to.ActionDeliveryType & {
|
|
1082
1166
|
get name(): "USER";
|
|
1083
1167
|
get ordinal(): 2;
|
|
1084
1168
|
};
|
|
1085
1169
|
get name(): "ROOM_ALL" | "ROOM_EXCEPT_USER" | "USER";
|
|
1086
1170
|
get ordinal(): 0 | 1 | 2;
|
|
1087
|
-
static values(): Array<
|
|
1088
|
-
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;
|
|
1089
1173
|
static get Companion(): {
|
|
1090
1174
|
} & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
1091
1175
|
}
|
|
1092
1176
|
}
|
|
1093
|
-
export declare namespace
|
|
1177
|
+
export declare namespace games.jass.logic.redux.actions.client.to {
|
|
1094
1178
|
abstract class ToClientAction implements com.logic.redux.store.definitions.Action {
|
|
1095
1179
|
protected constructor();
|
|
1096
|
-
abstract get deliveryPayload():
|
|
1180
|
+
abstract get deliveryPayload(): games.jass.logic.redux.actions.client.to.ActionDeliveryPayload;
|
|
1097
1181
|
get actionTag(): string;
|
|
1098
1182
|
readonly __doNotUseOrImplementIt: com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
|
|
1099
1183
|
}
|
|
1100
1184
|
}
|
|
1101
|
-
export declare namespace
|
|
1185
|
+
export declare namespace games.jass.logic.redux.actions.game {
|
|
1102
1186
|
abstract class GameAction implements com.logic.redux.store.definitions.Action {
|
|
1103
1187
|
protected constructor();
|
|
1104
1188
|
get actionTag(): string;
|
|
1105
1189
|
readonly __doNotUseOrImplementIt: com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
|
|
1106
1190
|
}
|
|
1107
|
-
class RoundStartedAction extends
|
|
1108
|
-
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);
|
|
1109
1193
|
get id(): string;
|
|
1110
1194
|
get gameId(): string;
|
|
1111
1195
|
get partyNumber(): number;
|
|
1112
1196
|
get players(): Array<string>;
|
|
1113
1197
|
get isFirstRound(): boolean;
|
|
1114
1198
|
get gameNumber(): number;
|
|
1115
|
-
get gameHistory():
|
|
1199
|
+
get gameHistory(): games.jass.logic.data.models.table.history.GameHistory;
|
|
1116
1200
|
equals(other: Nullable<any>): boolean;
|
|
1117
1201
|
hashCode(): number;
|
|
1118
1202
|
toString(): string;
|
|
1119
|
-
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;
|
|
1120
1204
|
get actionTag(): string;
|
|
1121
1205
|
}
|
|
1122
|
-
class RoundEndedAction extends
|
|
1123
|
-
constructor(id: string, gameId: string, roundNumber: number, earnedBiggestPointPlayerId: string, gameLosers: Nullable<Array<string>> | undefined, gameWinners: Nullable<Array<string>> | undefined, playersGameAnalytics: Nullable<Array<
|
|
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);
|
|
1124
1208
|
get id(): string;
|
|
1125
1209
|
get gameId(): string;
|
|
1126
1210
|
get roundNumber(): number;
|
|
1127
1211
|
get earnedBiggestPointPlayerId(): string;
|
|
1128
1212
|
get gameLosers(): Nullable<Array<string>>;
|
|
1129
1213
|
get gameWinners(): Nullable<Array<string>>;
|
|
1130
|
-
get playersGameAnalytics(): Nullable<Array<
|
|
1131
|
-
get playersRoundAnalytics(): Nullable<Array<
|
|
1132
|
-
get gameHistory():
|
|
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, gameLosers?: Nullable<Array<string>>, gameWinners?: Nullable<Array<string>>, playersGameAnalytics?: Nullable<Array<
|
|
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(): 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>;
|
|
1352
1436
|
get roundCommitted(): Nullable<Array<string>>;
|
|
1353
1437
|
get roundWinners(): Nullable<Array<string>>;
|
|
1354
|
-
get gameEndedHistoryViewModel(): Nullable<
|
|
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
|
};
|