client_plugin_logic_deb 1.5.20 → 1.8.208

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.
Files changed (84) hide show
  1. package/{KosiTypeSystem-kaverit.js → Kosi-Kaverit-kaverit.js} +143 -144
  2. package/Kosi-Kaverit-kaverit.js.map +1 -0
  3. package/{Kodein-kodein-di.js → Kosi-Kodein-kodein-di.js} +974 -943
  4. package/Kosi-Kodein-kodein-di.js.map +1 -0
  5. package/Kotlin-DateTime-library-kotlinx-datetime.js +6124 -0
  6. package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -0
  7. package/Logic_Debertz-client_plugin.d.ts +1392 -475
  8. package/Logic_Debertz-client_plugin.js +7072 -6737
  9. package/Logic_Debertz-client_plugin.js.map +1 -1
  10. package/Logic_Debertz-core.js +5947 -5111
  11. package/Logic_Debertz-core.js.map +1 -1
  12. package/Logic_Debertz-engine.js +45940 -29362
  13. package/Logic_Debertz-engine.js.map +1 -1
  14. package/Logic_Debertz-game_client.js +18475 -17396
  15. package/Logic_Debertz-game_client.js.map +1 -1
  16. package/Logic_Debertz-game_server.js +3066 -2683
  17. package/Logic_Debertz-game_server.js.map +1 -1
  18. package/{kotlin-kotlin-stdlib-js-ir.js → kotlin-kotlin-stdlib.js} +12935 -10723
  19. package/kotlin-kotlin-stdlib.js.map +1 -0
  20. package/kotlin-kotlinx-atomicfu-runtime.js +1 -1
  21. package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +1 -1
  22. package/{88b0986a7186d029-atomicfu-js-ir.js → kotlinx-atomicfu.js} +71 -56
  23. package/kotlinx-atomicfu.js.map +1 -0
  24. package/{kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js → kotlinx-coroutines-core.js} +5223 -5784
  25. package/kotlinx-coroutines-core.js.map +1 -0
  26. package/kotlinx-io-kotlinx-io-bytestring.js +15 -0
  27. package/kotlinx-io-kotlinx-io-core.js +1156 -0
  28. package/kotlinx-io-kotlinx-io-core.js.map +1 -0
  29. package/kotlinx-serialization-kotlinx-serialization-core.js +6250 -0
  30. package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -0
  31. package/kotlinx-serialization-kotlinx-serialization-json.js +4748 -0
  32. package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -0
  33. package/{kotlinx-serialization-kotlinx-serialization-protobuf-js-ir.js → kotlinx-serialization-kotlinx-serialization-protobuf.js} +3 -3
  34. package/kotlinx-serialization-kotlinx-serialization-protobuf.js.map +1 -0
  35. package/ktor-ktor-client-content-negotiation.js +713 -0
  36. package/ktor-ktor-client-content-negotiation.js.map +1 -0
  37. package/ktor-ktor-client-core.js +7207 -0
  38. package/ktor-ktor-client-core.js.map +1 -0
  39. package/ktor-ktor-client-js.js +15 -0
  40. package/ktor-ktor-client-js.js.map +1 -0
  41. package/ktor-ktor-client-logging.js +1506 -0
  42. package/ktor-ktor-client-logging.js.map +1 -0
  43. package/ktor-ktor-events.js +97 -0
  44. package/ktor-ktor-events.js.map +1 -0
  45. package/ktor-ktor-http.js +3263 -0
  46. package/ktor-ktor-http.js.map +1 -0
  47. package/ktor-ktor-io.js +6472 -0
  48. package/ktor-ktor-io.js.map +1 -0
  49. package/ktor-ktor-serialization-kotlinx-json.js +67 -0
  50. package/ktor-ktor-serialization-kotlinx-json.js.map +1 -0
  51. package/ktor-ktor-serialization-kotlinx.js +848 -0
  52. package/ktor-ktor-serialization-kotlinx.js.map +1 -0
  53. package/ktor-ktor-serialization.js +370 -0
  54. package/ktor-ktor-serialization.js.map +1 -0
  55. package/ktor-ktor-utils.js +2659 -0
  56. package/ktor-ktor-utils.js.map +1 -0
  57. package/ktor-ktor-websocket-serialization.js +15 -0
  58. package/ktor-ktor-websocket-serialization.js.map +1 -0
  59. package/ktor-ktor-websockets.js +466 -0
  60. package/ktor-ktor-websockets.js.map +1 -0
  61. package/package.json +5 -2
  62. package/raspberry-cardgame-lib-core.js +1421 -0
  63. package/raspberry-cardgame-lib-core.js.map +1 -0
  64. package/raspberry-cardgame-lib-logger.js +423 -0
  65. package/raspberry-cardgame-lib-logger.js.map +1 -0
  66. package/raspberry-cardgame-lib-random.js +3066 -0
  67. package/raspberry-cardgame-lib-random.js.map +1 -0
  68. package/secure-random-secure-random.js +173 -0
  69. package/secure-random-secure-random.js.map +1 -0
  70. package/{uuid-js-ir.js → uuid.js} +57 -71
  71. package/uuid.js.map +1 -0
  72. package/88b0986a7186d029-atomicfu-js-ir.js.map +0 -1
  73. package/Kodein-kodein-di.js.map +0 -1
  74. package/KosiTypeSystem-kaverit.js.map +0 -1
  75. package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js +0 -380
  76. package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js.map +0 -1
  77. package/kotlin-kotlin-stdlib-js-ir.js.map +0 -1
  78. package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +0 -6184
  79. package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map +0 -1
  80. package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +0 -4741
  81. package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map +0 -1
  82. package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +0 -1
  83. package/uuid-js-ir.js.map +0 -1
  84. /package/{kotlinx-serialization-kotlinx-serialization-protobuf-js-ir.js.map → kotlinx-io-kotlinx-io-bytestring.js.map} +0 -0
@@ -1,15 +1,310 @@
1
1
  type Nullable<T> = T | null | undefined
2
+ export declare namespace kotlin.collections {
3
+ interface KtList<E> /* extends kotlin.collections.Collection<E> */ {
4
+ asJsReadonlyArrayView(): ReadonlyArray<E>;
5
+ readonly __doNotUseOrImplementIt: {
6
+ readonly "kotlin.collections.KtList": unique symbol;
7
+ };
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
+ interface KtMap<K, V> {
16
+ asJsReadonlyMapView(): ReadonlyMap<K, V>;
17
+ readonly __doNotUseOrImplementIt: {
18
+ readonly "kotlin.collections.KtMap": unique symbol;
19
+ };
20
+ }
21
+ }
22
+ export declare namespace games.raspberry.logger {
23
+ interface LoggerEnabledTrigger extends games.raspberry.logger.RaspberryLogger {
24
+ enabled: boolean;
25
+ readonly __doNotUseOrImplementIt: {
26
+ readonly "games.raspberry.logger.LoggerEnabledTrigger": unique symbol;
27
+ } & games.raspberry.logger.RaspberryLogger["__doNotUseOrImplementIt"];
28
+ }
29
+ }
30
+ export declare namespace games.raspberry.logger {
31
+ interface LoggerPayload {
32
+ readonly __doNotUseOrImplementIt: {
33
+ readonly "games.raspberry.logger.LoggerPayload": unique symbol;
34
+ };
35
+ }
36
+ }
37
+ export declare namespace games.raspberry.logger {
38
+ interface RaspberryLogger extends games.raspberry.logger.output.LoggerOutput {
39
+ readonly __doNotUseOrImplementIt: {
40
+ readonly "games.raspberry.logger.RaspberryLogger": unique symbol;
41
+ } & games.raspberry.logger.output.LoggerOutput["__doNotUseOrImplementIt"];
42
+ }
43
+ }
44
+ export declare namespace games.raspberry.logger.output {
45
+ interface LoggerOutput {
46
+ d(tag: Nullable<string> | undefined, message: string, payload?: Nullable<any>): void;
47
+ e(tag?: Nullable<string>, message?: Nullable<string>, exception?: Nullable<Error>, payload?: Nullable<any>): void;
48
+ w(tag?: Nullable<string>, message?: Nullable<string>, exception?: Nullable<Error>, payload?: Nullable<any>): void;
49
+ v(tag?: Nullable<string>, message?: Nullable<string>, exception?: Nullable<Error>, payload?: Nullable<any>): void;
50
+ i(tag: Nullable<string> | undefined, message: string, payload?: Nullable<any>): void;
51
+ readonly __doNotUseOrImplementIt: {
52
+ readonly "games.raspberry.logger.output.LoggerOutput": unique symbol;
53
+ };
54
+ }
55
+ }
56
+ export declare namespace games.raspberry.card_game.random.data.models {
57
+ class CardDecksRequestUserData {
58
+ constructor(id: string, count: number);
59
+ get id(): string;
60
+ get count(): number;
61
+ copy(id?: string, count?: number): games.raspberry.card_game.random.data.models.CardDecksRequestUserData;
62
+ toString(): string;
63
+ hashCode(): number;
64
+ equals(other: Nullable<any>): boolean;
65
+ }
66
+ class CardDeckRequestUserData {
67
+ constructor(players: kotlin.collections.KtList<games.raspberry.card_game.random.data.models.UserInfoData>, gameId: string);
68
+ get players(): kotlin.collections.KtList<games.raspberry.card_game.random.data.models.UserInfoData>;
69
+ get gameId(): string;
70
+ copy(players?: kotlin.collections.KtList<games.raspberry.card_game.random.data.models.UserInfoData>, gameId?: string): games.raspberry.card_game.random.data.models.CardDeckRequestUserData;
71
+ toString(): string;
72
+ hashCode(): number;
73
+ equals(other: Nullable<any>): boolean;
74
+ }
75
+ class UserInfoData {
76
+ constructor(id: string, name: string);
77
+ get id(): string;
78
+ get name(): string;
79
+ copy(id?: string, name?: string): games.raspberry.card_game.random.data.models.UserInfoData;
80
+ toString(): string;
81
+ hashCode(): number;
82
+ equals(other: Nullable<any>): boolean;
83
+ }
84
+ }
85
+ export declare namespace games.raspberry.card_game.random.data.models {
86
+ class GameCardDecksRecord {
87
+ constructor(id: string, signature: Nullable<string>, userData: games.raspberry.card_game.random.data.models.CardDeckRequestUserData, rounds?: kotlin.collections.KtList<games.raspberry.card_game.random.data.models.GameCardDeckData>);
88
+ get id(): string;
89
+ get signature(): Nullable<string>;
90
+ get userData(): games.raspberry.card_game.random.data.models.CardDeckRequestUserData;
91
+ get rounds(): kotlin.collections.KtList<games.raspberry.card_game.random.data.models.GameCardDeckData>;
92
+ copy(id?: string, signature?: Nullable<string>, userData?: games.raspberry.card_game.random.data.models.CardDeckRequestUserData, rounds?: kotlin.collections.KtList<games.raspberry.card_game.random.data.models.GameCardDeckData>): games.raspberry.card_game.random.data.models.GameCardDecksRecord;
93
+ toString(): string;
94
+ hashCode(): number;
95
+ equals(other: Nullable<any>): boolean;
96
+ static get Companion(): {
97
+ firstRound(id: string, signature: Nullable<string>, newCardDeckData: games.raspberry.card_game.random.data.models.GameCardDeckData, userData: games.raspberry.card_game.random.data.models.CardDeckRequestUserData): games.raspberry.card_game.random.data.models.GameCardDecksRecord;
98
+ newRound(gameCardDecksRecord: games.raspberry.card_game.random.data.models.GameCardDecksRecord, newCardDeckData: games.raspberry.card_game.random.data.models.GameCardDeckData): games.raspberry.card_game.random.data.models.GameCardDecksRecord;
99
+ };
100
+ }
101
+ class GameCardDeckData {
102
+ constructor(cardDeckIndex: number, cards: kotlin.collections.KtList<number>);
103
+ get cardDeckIndex(): number;
104
+ get cards(): kotlin.collections.KtList<number>;
105
+ copy(cardDeckIndex?: number, cards?: kotlin.collections.KtList<number>): games.raspberry.card_game.random.data.models.GameCardDeckData;
106
+ toString(): string;
107
+ hashCode(): number;
108
+ equals(other: Nullable<any>): boolean;
109
+ }
110
+ }
111
+ export declare namespace games.raspberry.card_game.random.data.models {
112
+ class HttpConfig {
113
+ constructor(baseUrl: string, timeoutMillis?: number);
114
+ get baseUrl(): string;
115
+ get timeoutMillis(): number;
116
+ copy(baseUrl?: string, timeoutMillis?: number): games.raspberry.card_game.random.data.models.HttpConfig;
117
+ toString(): string;
118
+ hashCode(): number;
119
+ equals(other: Nullable<any>): boolean;
120
+ }
121
+ }
122
+ export declare namespace games.raspberry.card_game.random.data.models {
123
+ class RandomOrgConfig {
124
+ constructor(apiKey?: string, poolSize?: number, thresholdForUsedPool?: number, httpConfig?: games.raspberry.card_game.random.data.models.HttpConfig);
125
+ get apiKey(): string;
126
+ get poolSize(): number;
127
+ get thresholdForUsedPool(): number;
128
+ get httpConfig(): games.raspberry.card_game.random.data.models.HttpConfig;
129
+ copy(apiKey?: string, poolSize?: number, thresholdForUsedPool?: number, httpConfig?: games.raspberry.card_game.random.data.models.HttpConfig): games.raspberry.card_game.random.data.models.RandomOrgConfig;
130
+ toString(): string;
131
+ hashCode(): number;
132
+ equals(other: Nullable<any>): boolean;
133
+ }
134
+ }
135
+ export declare namespace games.raspberry.card_game.random.data.providers {
136
+ class PoolParams {
137
+ constructor(poolSize?: number, thresholdForUsedPool?: number, requestDurationWarn?: number, failedRequestAttempts?: number, failedAttemptCooldown?: any/* kotlin.time.Duration */);
138
+ get poolSize(): number;
139
+ get thresholdForUsedPool(): number;
140
+ get requestDurationWarn(): number;
141
+ get failedRequestAttempts(): number;
142
+ get failedAttemptCooldown(): any/* kotlin.time.Duration */;
143
+ copy(poolSize?: number, thresholdForUsedPool?: number, requestDurationWarn?: number, failedRequestAttempts?: number, failedAttemptCooldown?: any/* kotlin.time.Duration */): games.raspberry.card_game.random.data.providers.PoolParams;
144
+ toString(): string;
145
+ hashCode(): number;
146
+ equals(other: Nullable<any>): boolean;
147
+ }
148
+ }
149
+ export declare namespace io.raspberryapps.cardgame.core {
150
+ const CoreConfig: {
151
+ get version(): string;
152
+ };
153
+ }
2
154
  export declare namespace com.logic {
3
155
  const GameEngineConfig: {
4
156
  get version(): string;
5
157
  };
6
158
  }
159
+ export declare namespace com.logic.data.models {
160
+ class CoreConfig {
161
+ constructor(fileLogsEnabled?: boolean, deleteFilesOnClear?: boolean, logsDirectoryPath?: Nullable<string>, fileNameFormat?: string);
162
+ get fileLogsEnabled(): boolean;
163
+ get deleteFilesOnClear(): boolean;
164
+ get logsDirectoryPath(): Nullable<string>;
165
+ get fileNameFormat(): string;
166
+ get requireDirectoryPath(): string;
167
+ copy(fileLogsEnabled?: boolean, deleteFilesOnClear?: boolean, logsDirectoryPath?: Nullable<string>, fileNameFormat?: string): com.logic.data.models.CoreConfig;
168
+ toString(): string;
169
+ hashCode(): number;
170
+ equals(other: Nullable<any>): boolean;
171
+ static get Companion(): {
172
+ getClientEngineTestMode(fileLogsEnabled: boolean, logsDirectoryPath: string, fileNameFormat?: string): com.logic.data.models.CoreConfig;
173
+ formatter(segment: string, gameId: string, roomId: string, userId: string): string;
174
+ };
175
+ }
176
+ }
7
177
  export declare namespace com.logic.data.models {
8
178
  abstract class TerminationGameReason {
9
179
  protected constructor();
10
- static get Companion(): {
11
- } & any/* kotlinx.serialization.internal.SerializerFactory */;
12
180
  }
181
+ class PlayerLostConnectionReason extends com.logic.data.models.TerminationGameReason implements com.logic.data.models.FinishPlayerReason {
182
+ constructor(playerId: string, tag: Nullable<string>);
183
+ get playerId(): string;
184
+ get tag(): Nullable<string>;
185
+ get connectionState(): com.logic.data.models.player.PlayerConnectionState;
186
+ copy(playerId?: string, tag?: Nullable<string>): com.logic.data.models.PlayerLostConnectionReason;
187
+ toString(): string;
188
+ hashCode(): number;
189
+ equals(other: Nullable<any>): boolean;
190
+ readonly __doNotUseOrImplementIt: com.logic.data.models.FinishPlayerReason["__doNotUseOrImplementIt"];
191
+ }
192
+ class PlayerTimeoutReason extends com.logic.data.models.TerminationGameReason implements com.logic.data.models.FinishPlayerReason {
193
+ constructor(playerId: string, tag: Nullable<string>);
194
+ get playerId(): string;
195
+ get tag(): Nullable<string>;
196
+ get connectionState(): com.logic.data.models.player.PlayerConnectionState;
197
+ copy(playerId?: string, tag?: Nullable<string>): com.logic.data.models.PlayerTimeoutReason;
198
+ toString(): string;
199
+ hashCode(): number;
200
+ equals(other: Nullable<any>): boolean;
201
+ readonly __doNotUseOrImplementIt: com.logic.data.models.FinishPlayerReason["__doNotUseOrImplementIt"];
202
+ }
203
+ class PlayerExitReason extends com.logic.data.models.TerminationGameReason implements com.logic.data.models.FinishPlayerReason {
204
+ constructor(playerId: string);
205
+ get playerId(): string;
206
+ get connectionState(): com.logic.data.models.player.PlayerConnectionState;
207
+ copy(playerId?: string): com.logic.data.models.PlayerExitReason;
208
+ toString(): string;
209
+ hashCode(): number;
210
+ equals(other: Nullable<any>): boolean;
211
+ readonly __doNotUseOrImplementIt: com.logic.data.models.FinishPlayerReason["__doNotUseOrImplementIt"];
212
+ }
213
+ interface FinishPlayerReason {
214
+ readonly playerId: string;
215
+ readonly connectionState: com.logic.data.models.player.PlayerConnectionState;
216
+ readonly __doNotUseOrImplementIt: {
217
+ readonly "com.logic.data.models.FinishPlayerReason": unique symbol;
218
+ };
219
+ }
220
+ class GameFinishedReason extends com.logic.data.models.TerminationGameReason {
221
+ constructor(reason: com.logic.data.models.GameFinishedReason.Reason);
222
+ get reason(): com.logic.data.models.GameFinishedReason.Reason;
223
+ copy(reason?: com.logic.data.models.GameFinishedReason.Reason): com.logic.data.models.GameFinishedReason;
224
+ toString(): string;
225
+ hashCode(): number;
226
+ equals(other: Nullable<any>): boolean;
227
+ }
228
+ namespace GameFinishedReason {
229
+ abstract class Reason {
230
+ private constructor();
231
+ static get DEPLOY(): com.logic.data.models.GameFinishedReason.Reason & {
232
+ get name(): "DEPLOY";
233
+ get ordinal(): 0;
234
+ };
235
+ static get PLAYER_DELETED(): com.logic.data.models.GameFinishedReason.Reason & {
236
+ get name(): "PLAYER_DELETED";
237
+ get ordinal(): 1;
238
+ };
239
+ static get FINISHED(): com.logic.data.models.GameFinishedReason.Reason & {
240
+ get name(): "FINISHED";
241
+ get ordinal(): 2;
242
+ };
243
+ static get NO_ACTIVE_PLAYERS(): com.logic.data.models.GameFinishedReason.Reason & {
244
+ get name(): "NO_ACTIVE_PLAYERS";
245
+ get ordinal(): 3;
246
+ };
247
+ static get GAME_NOT_EXISTS(): com.logic.data.models.GameFinishedReason.Reason & {
248
+ get name(): "GAME_NOT_EXISTS";
249
+ get ordinal(): 4;
250
+ };
251
+ get name(): "DEPLOY" | "PLAYER_DELETED" | "FINISHED" | "NO_ACTIVE_PLAYERS" | "GAME_NOT_EXISTS";
252
+ get ordinal(): 0 | 1 | 2 | 3 | 4;
253
+ static values(): Array<com.logic.data.models.GameFinishedReason.Reason>;
254
+ static valueOf(value: string): com.logic.data.models.GameFinishedReason.Reason;
255
+ static get Companion(): {
256
+ } & any/* kotlinx.serialization.internal.SerializerFactory */;
257
+ }
258
+ }
259
+ class GameErrorReason extends com.logic.data.models.TerminationGameReason {
260
+ constructor(reason: com.logic.data.models.GameErrorReason.Reason);
261
+ get reason(): com.logic.data.models.GameErrorReason.Reason;
262
+ copy(reason?: com.logic.data.models.GameErrorReason.Reason): com.logic.data.models.GameErrorReason;
263
+ toString(): string;
264
+ hashCode(): number;
265
+ equals(other: Nullable<any>): boolean;
266
+ }
267
+ namespace GameErrorReason {
268
+ abstract class Reason {
269
+ private constructor();
270
+ static get SERVER_ERROR(): com.logic.data.models.GameErrorReason.Reason & {
271
+ get name(): "SERVER_ERROR";
272
+ get ordinal(): 0;
273
+ };
274
+ static get INTERNAL_ERROR(): com.logic.data.models.GameErrorReason.Reason & {
275
+ get name(): "INTERNAL_ERROR";
276
+ get ordinal(): 1;
277
+ };
278
+ static get GAME_NOT_EXISTS(): com.logic.data.models.GameErrorReason.Reason & {
279
+ get name(): "GAME_NOT_EXISTS";
280
+ get ordinal(): 2;
281
+ };
282
+ static get WRONG_PLAYER_TURN(): com.logic.data.models.GameErrorReason.Reason & {
283
+ get name(): "WRONG_PLAYER_TURN";
284
+ get ordinal(): 3;
285
+ };
286
+ static get PLAYER_DISCONNECTED(): com.logic.data.models.GameErrorReason.Reason & {
287
+ get name(): "PLAYER_DISCONNECTED";
288
+ get ordinal(): 4;
289
+ };
290
+ get name(): "SERVER_ERROR" | "INTERNAL_ERROR" | "GAME_NOT_EXISTS" | "WRONG_PLAYER_TURN" | "PLAYER_DISCONNECTED";
291
+ get ordinal(): 0 | 1 | 2 | 3 | 4;
292
+ static values(): Array<com.logic.data.models.GameErrorReason.Reason>;
293
+ static valueOf(value: string): com.logic.data.models.GameErrorReason.Reason;
294
+ static get Companion(): {
295
+ } & any/* kotlinx.serialization.internal.SerializerFactory */;
296
+ }
297
+ }
298
+ const WaitingForConnectionReason: {
299
+ toString(): string;
300
+ hashCode(): number;
301
+ equals(other: Nullable<any>): boolean;
302
+ } & com.logic.data.models.TerminationGameReason;
303
+ const ProcessingReason: {
304
+ toString(): string;
305
+ hashCode(): number;
306
+ equals(other: Nullable<any>): boolean;
307
+ } & com.logic.data.models.TerminationGameReason;
13
308
  }
14
309
  export declare namespace com.logic.data.models.player {
15
310
  class GameUserInfo implements com.logic.data.models.player.PlayerIdContract {
@@ -20,8 +315,8 @@ export declare namespace com.logic.data.models.player {
20
315
  get isBot(): boolean;
21
316
  get initialLuckyFactor(): Nullable<number>;
22
317
  get payload(): Nullable<any>;
23
- copy(playerId?: string, name?: string, avatarUrl?: Nullable<string>, isBot?: boolean, initialLuckyFactor?: Nullable<number>, payload?: Nullable<any>): com.logic.data.models.player.GameUserInfo;
24
318
  toString(): string;
319
+ copy(playerId?: string, name?: string, avatarUrl?: Nullable<string>, isBot?: boolean, initialLuckyFactor?: Nullable<number>, payload?: Nullable<any>): com.logic.data.models.player.GameUserInfo;
25
320
  hashCode(): number;
26
321
  equals(other: Nullable<any>): boolean;
27
322
  readonly __doNotUseOrImplementIt: com.logic.data.models.player.PlayerIdContract["__doNotUseOrImplementIt"];
@@ -34,8 +329,8 @@ export declare namespace com.logic.data.models.player {
34
329
  readonly "com.logic.data.models.player.PlayerIdContract": unique symbol;
35
330
  };
36
331
  }
37
- function getPlayer<T extends com.logic.data.models.player.PlayerIdContract>(_this_: any/* kotlin.collections.List<T> */, id: string): T;
38
- function getPlayerIndex<T extends com.logic.data.models.player.PlayerIdContract>(_this_: any/* kotlin.collections.List<T> */, playerId: string): number;
332
+ function getPlayer<T extends com.logic.data.models.player.PlayerIdContract>(_this_: kotlin.collections.KtList<T>, id: string): T;
333
+ function getPlayerIndex<T extends com.logic.data.models.player.PlayerIdContract>(_this_: kotlin.collections.KtList<T>, playerId: string): number;
39
334
  }
40
335
  export declare namespace com.logic.data.models.player {
41
336
  abstract class PlayerConnectionState {
@@ -64,6 +359,8 @@ export declare namespace com.logic.data.models.player {
64
359
  get name(): "DELETED";
65
360
  get ordinal(): 5;
66
361
  };
362
+ get name(): "LIVE" | "TIMEOUT" | "LOST_CONNECTION" | "LEFT" | "DISCONNECTING" | "DELETED";
363
+ get ordinal(): 0 | 1 | 2 | 3 | 4 | 5;
67
364
  get isLive(): boolean;
68
365
  get isTimeOut(): boolean;
69
366
  get isLostConnection(): boolean;
@@ -72,123 +369,29 @@ export declare namespace com.logic.data.models.player {
72
369
  get isDisconnecting(): boolean;
73
370
  get isNotAlive(): boolean;
74
371
  get isDisconnected(): boolean;
372
+ get isClientDisconnectReason(): boolean;
373
+ get isServerDisconnectReason(): boolean;
75
374
  static values(): Array<com.logic.data.models.player.PlayerConnectionState>;
76
375
  static valueOf(value: string): com.logic.data.models.player.PlayerConnectionState;
77
- get name(): "LIVE" | "TIMEOUT" | "LOST_CONNECTION" | "LEFT" | "DISCONNECTING" | "DELETED";
78
- get ordinal(): 0 | 1 | 2 | 3 | 4 | 5;
79
376
  static get Companion(): {
80
377
  } & any/* kotlinx.serialization.internal.SerializerFactory */;
81
378
  }
82
379
  }
83
- export declare namespace com.logic.data.models.player {
84
- class PlayerLuckyFactor implements com.logic.data.models.player.PlayerIdContract {
85
- constructor(playerId: string, factor: number, wasLiveDuringGame: boolean, liveDurationPercentage: Nullable<number>);
86
- get playerId(): string;
87
- get factor(): number;
88
- get wasLiveDuringGame(): boolean;
89
- get liveDurationPercentage(): Nullable<number>;
90
- copy(playerId?: string, factor?: number, wasLiveDuringGame?: boolean, liveDurationPercentage?: Nullable<number>): com.logic.data.models.player.PlayerLuckyFactor;
91
- toString(): string;
92
- hashCode(): number;
93
- equals(other: Nullable<any>): boolean;
94
- readonly __doNotUseOrImplementIt: com.logic.data.models.player.PlayerIdContract["__doNotUseOrImplementIt"];
95
- }
96
- }
97
- export declare namespace com.logic.data.models.rules {
98
- class Rules {
99
- 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);
100
- get needToPutHigherTrump(): boolean;
101
- get distributePoints(): boolean;
102
- get protectBella(): boolean;
103
- get oneTryToProtectBella(): boolean;
104
- get enableFourSevensCombination(): boolean;
105
- get enableTrumpSevenCombination(): boolean;
106
- get enableTrumpSevenCombinationAfterDistribution(): boolean;
107
- get playerWhoChooseSuitGoFirst(): boolean;
108
- get winnerShuffleCards(): boolean;
109
- get playWithoutLiabilities(): boolean;
110
- get trumpCardGoToPlayerWhoShuffleCards(): boolean;
111
- get enableFineIfNoBribes(): boolean;
112
- get fineIfNoBribes(): number;
113
- get enableFineAfterThirdByte(): boolean;
114
- get checkTrumpCombination(): boolean;
115
- get checkOnlyTrumpDebertz(): boolean;
116
- get tenCardsInHand(): boolean;
117
- 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;
118
- toString(): string;
119
- hashCode(): number;
120
- equals(other: Nullable<any>): boolean;
121
- static get Companion(): {
122
- kharkiv(): com.logic.data.models.rules.Rules;
123
- klabor(): com.logic.data.models.rules.Rules;
124
- debertzCommon(): com.logic.data.models.rules.Rules;
125
- belot(): com.logic.data.models.rules.Rules;
126
- custom(): com.logic.data.models.rules.Rules;
127
- };
128
- }
129
- }
130
- export declare namespace com.logic.data.models.rules {
131
- abstract class RulesSetType {
132
- private constructor();
133
- get value(): string;
134
- static get belot(): com.logic.data.models.rules.RulesSetType & {
135
- get name(): "belot";
136
- get ordinal(): 0;
137
- };
138
- static get klabor(): com.logic.data.models.rules.RulesSetType & {
139
- get name(): "klabor";
140
- get ordinal(): 1;
141
- };
142
- static get debertzCommon(): com.logic.data.models.rules.RulesSetType & {
143
- get name(): "debertzCommon";
144
- get ordinal(): 2;
145
- };
146
- static get debertzKharkiv(): com.logic.data.models.rules.RulesSetType & {
147
- get name(): "debertzKharkiv";
148
- get ordinal(): 3;
149
- };
150
- static get custom(): com.logic.data.models.rules.RulesSetType & {
151
- get name(): "custom";
152
- get ordinal(): 4;
153
- };
154
- static values(): Array<com.logic.data.models.rules.RulesSetType>;
155
- static valueOf(value: string): com.logic.data.models.rules.RulesSetType;
156
- get name(): "belot" | "klabor" | "debertzCommon" | "debertzKharkiv" | "custom";
157
- get ordinal(): 0 | 1 | 2 | 3 | 4;
158
- }
159
- }
160
- export declare namespace com.logic.domain.engine.definitions {
161
- interface Action {
162
- readonly actionTag: string;
163
- readonly __doNotUseOrImplementIt: {
164
- readonly "com.logic.domain.engine.definitions.Action": unique symbol;
165
- };
166
- }
167
- }
168
- export declare namespace com.logic.domain.engine.definitions {
169
- interface Store<State> {
170
- readonly store: com.logic.domain.engine.definitions.Store<State>;
171
- dispatch: (p0: com.logic.domain.engine.definitions.Action) => void;
172
- readonly observe: any/* kotlinx.coroutines.flow.Flow<State> */;
173
- readonly replaceReducer: (p0: any/* com.logic.domain.engine.definitions.Reducer<State> */) => void;
174
- readonly state: State;
175
- readonly __doNotUseOrImplementIt: {
176
- readonly "com.logic.domain.engine.definitions.Store": unique symbol;
177
- };
178
- }
179
- }
180
380
  export declare namespace com.logic.redux.actions {
181
- interface BufferedAction extends com.logic.domain.engine.definitions.Action {
182
- readonly actionTag: string;
381
+ interface BufferedAction extends com.logic.redux.store.definitions.Action {
183
382
  readonly __doNotUseOrImplementIt: {
184
383
  readonly "com.logic.redux.actions.BufferedAction": unique symbol;
185
- } & com.logic.domain.engine.definitions.Action["__doNotUseOrImplementIt"];
384
+ } & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
186
385
  }
187
- interface ReleaseBufferTriggerAction extends com.logic.domain.engine.definitions.Action {
188
- readonly actionTag: string;
386
+ interface IgnoreBufferForAction extends com.logic.redux.store.definitions.Action {
387
+ readonly __doNotUseOrImplementIt: {
388
+ readonly "com.logic.redux.actions.IgnoreBufferForAction": unique symbol;
389
+ } & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
390
+ }
391
+ interface ReleaseBufferTriggerAction extends com.logic.redux.store.definitions.Action {
189
392
  readonly __doNotUseOrImplementIt: {
190
393
  readonly "com.logic.redux.actions.ReleaseBufferTriggerAction": unique symbol;
191
- } & com.logic.domain.engine.definitions.Action["__doNotUseOrImplementIt"];
394
+ } & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
192
395
  }
193
396
  }
194
397
  export declare namespace com.logic.redux.actions.validation {
@@ -207,20 +410,23 @@ export declare namespace com.logic.redux.actions.validation {
207
410
  };
208
411
  }
209
412
  }
210
- export declare namespace com.logic.utils.logger.game {
211
- interface GameLogger extends com.logic.utils.logger.outputs.LoggerOutput {
212
- d(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
213
- e(tag: Nullable<string>, message: Nullable<string>, exception: Nullable<Error>, payload: Nullable<any>): void;
214
- w(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
413
+ export declare namespace com.logic.redux.store.definitions {
414
+ interface Action {
415
+ readonly actionTag: string;
215
416
  readonly __doNotUseOrImplementIt: {
216
- readonly "com.logic.utils.logger.game.GameLogger": unique symbol;
217
- } & com.logic.utils.logger.outputs.LoggerOutput["__doNotUseOrImplementIt"];
417
+ readonly "com.logic.redux.store.definitions.Action": unique symbol;
418
+ };
218
419
  }
219
420
  }
220
- export declare namespace com.logic.utils.logger.game {
221
- interface LoggerPayload {
421
+ export declare namespace com.logic.redux.store.definitions {
422
+ interface Store<State> {
423
+ readonly store: com.logic.redux.store.definitions.Store<State>;
424
+ dispatch: (p0: com.logic.redux.store.definitions.Action) => void;
425
+ readonly observe: any/* kotlinx.coroutines.flow.Flow<State> */;
426
+ readonly replaceReducer: (p0: any/* com.logic.redux.store.definitions.Reducer<State> */) => void;
427
+ readonly state: State;
222
428
  readonly __doNotUseOrImplementIt: {
223
- readonly "com.logic.utils.logger.game.LoggerPayload": unique symbol;
429
+ readonly "com.logic.redux.store.definitions.Store": unique symbol;
224
430
  };
225
431
  }
226
432
  }
@@ -239,53 +445,39 @@ export declare namespace com.logic.utils.logger.outputs {
239
445
  get name(): "WARN";
240
446
  get ordinal(): 2;
241
447
  };
448
+ static get VERBOSE(): com.logic.utils.logger.outputs.LogType & {
449
+ get name(): "VERBOSE";
450
+ get ordinal(): 3;
451
+ };
452
+ static get INFO(): com.logic.utils.logger.outputs.LogType & {
453
+ get name(): "INFO";
454
+ get ordinal(): 4;
455
+ };
456
+ get name(): "DEBUG" | "ERROR" | "WARN" | "VERBOSE" | "INFO";
457
+ get ordinal(): 0 | 1 | 2 | 3 | 4;
242
458
  static values(): Array<com.logic.utils.logger.outputs.LogType>;
243
459
  static valueOf(value: string): com.logic.utils.logger.outputs.LogType;
244
- get name(): "DEBUG" | "ERROR" | "WARN";
245
- get ordinal(): 0 | 1 | 2;
246
460
  static get Companion(): {
247
461
  } & any/* kotlinx.serialization.internal.SerializerFactory */;
248
462
  }
249
463
  }
250
464
  export declare namespace com.logic.utils.logger.outputs {
251
- interface LoggerEnabledTrigger extends com.logic.utils.logger.game.GameLogger {
252
- enabled: boolean;
253
- d(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
254
- e(tag: Nullable<string>, message: Nullable<string>, exception: Nullable<Error>, payload: Nullable<any>): void;
255
- w(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
256
- readonly __doNotUseOrImplementIt: {
257
- readonly "com.logic.utils.logger.outputs.LoggerEnabledTrigger": unique symbol;
258
- } & com.logic.utils.logger.game.GameLogger["__doNotUseOrImplementIt"];
259
- }
260
- }
261
- export declare namespace com.logic.utils.logger.outputs {
262
- interface LoggerOutput {
263
- d(tag: Nullable<string> | undefined, message: string, payload?: Nullable<any>): void;
264
- e(tag?: Nullable<string>, message?: Nullable<string>, exception?: Nullable<Error>, payload?: Nullable<any>): void;
265
- w(tag: Nullable<string> | undefined, message: string, payload?: Nullable<any>): void;
266
- readonly __doNotUseOrImplementIt: {
267
- readonly "com.logic.utils.logger.outputs.LoggerOutput": unique symbol;
268
- };
269
- }
270
- }
271
- export declare namespace com.logic.utils.logger.outputs {
272
- interface ObservableLoggerOutput extends com.logic.utils.logger.outputs.LoggerOutput, com.logic.utils.logger.outputs.LoggerEnabledTrigger {
465
+ interface ObservableLoggerOutput extends games.raspberry.logger.output.LoggerOutput, games.raspberry.logger.LoggerEnabledTrigger {
466
+ payloadToKeyMapper: (p0: Nullable<any>) => Nullable<string>;
273
467
  observe(types?: Array<com.logic.utils.logger.outputs.LogType>): any/* kotlinx.coroutines.flow.Flow<com.logic.utils.logger.outputs.LoggerOutputDataDto> */;
274
- d(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
275
- e(tag: Nullable<string>, message: Nullable<string>, exception: Nullable<Error>, payload: Nullable<any>): void;
276
- w(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
277
- enabled: boolean;
278
468
  readonly __doNotUseOrImplementIt: {
279
469
  readonly "com.logic.utils.logger.outputs.ObservableLoggerOutput": unique symbol;
280
- } & com.logic.utils.logger.outputs.LoggerOutput["__doNotUseOrImplementIt"] & com.logic.utils.logger.outputs.LoggerEnabledTrigger["__doNotUseOrImplementIt"];
470
+ } & games.raspberry.logger.output.LoggerOutput["__doNotUseOrImplementIt"] & games.raspberry.logger.LoggerEnabledTrigger["__doNotUseOrImplementIt"];
281
471
  }
282
472
  class LoggerOutputDataDto {
283
- constructor(type: com.logic.utils.logger.outputs.LogType, tag: Nullable<string>, message: Nullable<string>, stackTrace: Nullable<string>);
473
+ constructor(type: com.logic.utils.logger.outputs.LogType, key: Nullable<string>, tag: Nullable<string>, message: Nullable<string>, stackTrace: Nullable<string>);
284
474
  get type(): com.logic.utils.logger.outputs.LogType;
475
+ get key(): Nullable<string>;
285
476
  get tag(): Nullable<string>;
286
477
  get message(): Nullable<string>;
287
478
  get stackTrace(): Nullable<string>;
288
- copy(type?: com.logic.utils.logger.outputs.LogType, tag?: Nullable<string>, message?: Nullable<string>, stackTrace?: Nullable<string>): com.logic.utils.logger.outputs.LoggerOutputDataDto;
479
+ toMessageLog(): string;
480
+ copy(type?: com.logic.utils.logger.outputs.LogType, key?: Nullable<string>, tag?: Nullable<string>, message?: Nullable<string>, stackTrace?: Nullable<string>): com.logic.utils.logger.outputs.LoggerOutputDataDto;
289
481
  toString(): string;
290
482
  hashCode(): number;
291
483
  equals(other: Nullable<any>): boolean;
@@ -293,677 +485,1401 @@ export declare namespace com.logic.utils.logger.outputs {
293
485
  };
294
486
  }
295
487
  }
296
- export declare namespace com.debertz.logic {
488
+ export declare namespace games.jass.logic {
297
489
  interface GameStoreContract {
298
490
  readonly id: string;
299
- readonly table: com.debertz.logic.data.models.table.DebertzTable;
491
+ readonly table: games.jass.logic.data.models.table.JassTable;
300
492
  readonly isTableExists: boolean;
301
- readonly gameLifecycleState: com.debertz.logic.data.models.GameLifecycleState;
493
+ readonly gameLifecycleState: games.jass.logic.data.models.GameLifecycleState;
302
494
  readonly __doNotUseOrImplementIt: {
303
- readonly "com.debertz.logic.GameStoreContract": unique symbol;
495
+ readonly "games.jass.logic.GameStoreContract": unique symbol;
496
+ };
497
+ }
498
+ }
499
+ export declare namespace games.jass.logic.data.models {
500
+ class DealerConfig {
501
+ constructor(dealerStrategy?: games.jass.logic.domain.interactors.dealer.DealerStrategy, isBotsAreHappy?: boolean, cards?: Nullable<Array<number>>);
502
+ get dealerStrategy(): games.jass.logic.domain.interactors.dealer.DealerStrategy;
503
+ get isBotsAreHappy(): boolean;
504
+ get cards(): Nullable<Array<number>>;
505
+ equals(other: Nullable<any>): boolean;
506
+ hashCode(): number;
507
+ copy(dealerStrategy?: games.jass.logic.domain.interactors.dealer.DealerStrategy, isBotsAreHappy?: boolean, cards?: Nullable<Array<number>>): games.jass.logic.data.models.DealerConfig;
508
+ toString(): string;
509
+ static get Companion(): {
510
+ getFromServerConfig(dealerStrategy?: string, cardsJson?: Nullable<string>): games.jass.logic.data.models.DealerConfig;
511
+ fake(cards?: Array<number>): games.jass.logic.data.models.DealerConfig;
304
512
  };
305
513
  }
306
514
  }
307
- export declare namespace com.debertz.logic.data.models {
308
- class BotReduxConfig {
515
+ export declare namespace games.jass.logic.data.models {
516
+ class EngineBotConfig {
309
517
  constructor(botExitsWhenNGameNumberIsFinished?: Nullable<number>, autoStepLastCard?: boolean, simulateBotThinkingDelay?: boolean, isDelayForBot?: boolean);
310
518
  get botExitsWhenNGameNumberIsFinished(): Nullable<number>;
311
519
  get autoStepLastCard(): boolean;
312
520
  get simulateBotThinkingDelay(): boolean;
313
521
  get isDelayForBot(): boolean;
314
- copy(botExitsWhenNGameNumberIsFinished?: Nullable<number>, autoStepLastCard?: boolean, simulateBotThinkingDelay?: boolean, isDelayForBot?: boolean): com.debertz.logic.data.models.BotReduxConfig;
522
+ copy(botExitsWhenNGameNumberIsFinished?: Nullable<number>, autoStepLastCard?: boolean, simulateBotThinkingDelay?: boolean, isDelayForBot?: boolean): games.jass.logic.data.models.EngineBotConfig;
315
523
  toString(): string;
316
524
  hashCode(): number;
317
525
  equals(other: Nullable<any>): boolean;
318
526
  }
319
527
  }
320
- export declare namespace com.debertz.logic.data.models {
528
+ export declare namespace games.jass.logic.data.models {
529
+ class EngineLogicConfig {
530
+ constructor(supportBackwardActions?: boolean, validateTestMode?: boolean, verboseGameHistory?: boolean, gameHistoryAnalytics?: boolean, validateFromClientActionTags?: boolean, playerTimeoutFactorToFinishStep?: number, openRoomIfFinished?: boolean, minPlayersToOpenRoom?: number);
531
+ get supportBackwardActions(): boolean;
532
+ get validateTestMode(): boolean;
533
+ get verboseGameHistory(): boolean;
534
+ get gameHistoryMetadata(): boolean;
535
+ get validateFromClientActionTags(): boolean;
536
+ get playerTimeoutFactorToFinishStep(): number;
537
+ get openRoomIfFinished(): boolean;
538
+ get minPlayersToOpenRoom(): number;
539
+ copy(supportBackwardActions?: boolean, validateTestMode?: boolean, verboseGameHistory?: boolean, gameHistoryAnalytics?: boolean, validateFromClientActionTags?: boolean, playerTimeoutFactorToFinishStep?: number, openRoomIfFinished?: boolean, minPlayersToOpenRoom?: number): games.jass.logic.data.models.EngineLogicConfig;
540
+ toString(): string;
541
+ hashCode(): number;
542
+ equals(other: Nullable<any>): boolean;
543
+ static get Companion(): {
544
+ getClientEngineTestMode(): games.jass.logic.data.models.EngineLogicConfig;
545
+ getServerEngineMode(isProduction: boolean, supportBackwardActions?: boolean, validateFromClientActionTags?: boolean, playerTimeoutFactorToFinishStep?: number): games.jass.logic.data.models.EngineLogicConfig;
546
+ };
547
+ }
548
+ }
549
+ export declare namespace games.jass.logic.data.models {
321
550
  abstract class GameLifecycleState {
322
551
  private constructor();
323
- static get CREATED(): com.debertz.logic.data.models.GameLifecycleState & {
552
+ static get CREATED(): games.jass.logic.data.models.GameLifecycleState & {
324
553
  get name(): "CREATED";
325
554
  get ordinal(): 0;
326
555
  };
327
- static get CREATING(): com.debertz.logic.data.models.GameLifecycleState & {
556
+ static get CREATING(): games.jass.logic.data.models.GameLifecycleState & {
328
557
  get name(): "CREATING";
329
558
  get ordinal(): 1;
330
559
  };
331
- static get FINISHING(): com.debertz.logic.data.models.GameLifecycleState & {
560
+ static get FINISHING(): games.jass.logic.data.models.GameLifecycleState & {
332
561
  get name(): "FINISHING";
333
562
  get ordinal(): 2;
334
563
  };
335
- static get FINISHED(): com.debertz.logic.data.models.GameLifecycleState & {
564
+ static get FINISHED(): games.jass.logic.data.models.GameLifecycleState & {
336
565
  get name(): "FINISHED";
337
566
  get ordinal(): 3;
338
567
  };
339
- static values(): Array<com.debertz.logic.data.models.GameLifecycleState>;
340
- static valueOf(value: string): com.debertz.logic.data.models.GameLifecycleState;
341
568
  get name(): "CREATED" | "CREATING" | "FINISHING" | "FINISHED";
342
569
  get ordinal(): 0 | 1 | 2 | 3;
570
+ static values(): Array<games.jass.logic.data.models.GameLifecycleState>;
571
+ static valueOf(value: string): games.jass.logic.data.models.GameLifecycleState;
343
572
  static get Companion(): {
344
573
  } & any/* kotlinx.serialization.internal.SerializerFactory */;
345
574
  }
346
575
  }
347
- export declare namespace com.debertz.logic.data.models {
348
- class LogicReduxConfig {
349
- constructor(supportBackwardActions?: boolean, supportPlayerTurnActions?: boolean, validateTestMode?: boolean, cards?: Nullable<Array<number>>, dealer?: com.debertz.logic.data.models.DealerConfig);
350
- get supportBackwardActions(): boolean;
351
- get supportPlayerTurnActions(): boolean;
352
- get validateTestMode(): boolean;
353
- get cards(): Nullable<Array<number>>;
354
- get dealer(): com.debertz.logic.data.models.DealerConfig;
576
+ export declare namespace games.jass.logic.data.models {
577
+ class GameSessionAnalytics {
578
+ constructor(duration: any/* kotlin.time.Duration */, gamesCount: number, roundsCountTotal: number, handsCount: number, playerAnalytics: Array<games.jass.logic.data.models.player.analytics.PlayerAnalytics>);
579
+ get duration(): any/* kotlin.time.Duration */;
580
+ get gamesCount(): number;
581
+ get roundsCountTotal(): number;
582
+ get handsCount(): number;
583
+ get playerAnalytics(): Array<games.jass.logic.data.models.player.analytics.PlayerAnalytics>;
584
+ get allCombinationCounts(): Array<games.jass.logic.data.models.CombinationPair>;
585
+ get allCombinationsAnalytics(): games.jass.logic.data.models.player.analytics.CombinationsAnalytics;
355
586
  equals(other: Nullable<any>): boolean;
356
587
  hashCode(): number;
357
- copy(supportBackwardActions?: boolean, supportPlayerTurnActions?: boolean, validateTestMode?: boolean, cards?: Nullable<Array<number>>, dealer?: com.debertz.logic.data.models.DealerConfig): com.debertz.logic.data.models.LogicReduxConfig;
358
588
  toString(): string;
589
+ copy(duration?: any/* kotlin.time.Duration */, gamesCount?: number, roundsCountTotal?: number, handsCount?: number, playerAnalytics?: Array<games.jass.logic.data.models.player.analytics.PlayerAnalytics>): games.jass.logic.data.models.GameSessionAnalytics;
359
590
  }
360
- class DealerConfig {
361
- constructor(dealerStrategy?: com.debertz.logic.domain.interactors.dealer.DealerStrategy, isBotsAreHappy?: boolean);
362
- get dealerStrategy(): com.debertz.logic.domain.interactors.dealer.DealerStrategy;
363
- get isBotsAreHappy(): boolean;
364
- copy(dealerStrategy?: com.debertz.logic.domain.interactors.dealer.DealerStrategy, isBotsAreHappy?: boolean): com.debertz.logic.data.models.DealerConfig;
591
+ class CombinationPair {
592
+ constructor(type: games.jass.logic.data.models.table.combinations.CombinationType, count: number);
593
+ get type(): games.jass.logic.data.models.table.combinations.CombinationType;
594
+ get count(): number;
595
+ copy(type?: games.jass.logic.data.models.table.combinations.CombinationType, count?: number): games.jass.logic.data.models.CombinationPair;
596
+ toString(): string;
597
+ hashCode(): number;
598
+ equals(other: Nullable<any>): boolean;
599
+ }
600
+ }
601
+ export declare namespace games.jass.logic.data.models.config {
602
+ class ServerReduxConfig {
603
+ constructor(finishGameIfAllBots?: boolean, waitForPlayerToReconnect?: boolean, waitForPlayerToReconnectTimeOutMillis?: number, closeIfBotsAtFinish?: boolean, botReplacesPlayerAfterTimeout?: boolean, enabledCombinedEvents?: boolean, delayToAskBotMillis?: number, combinedEventsPeriod?: number);
604
+ get finishGameIfAllBots(): boolean;
605
+ get waitForPlayerToReconnect(): boolean;
606
+ get waitForPlayerToReconnectTimeOutMillis(): number;
607
+ get closeIfBotsAtFinish(): boolean;
608
+ get botReplacesPlayerAfterTimeout(): boolean;
609
+ get enabledCombinedEvents(): boolean;
610
+ get delayToAskBotMillis(): number;
611
+ get combinedEventsPeriod(): number;
612
+ copy(finishGameIfAllBots?: boolean, waitForPlayerToReconnect?: boolean, waitForPlayerToReconnectTimeOutMillis?: number, closeIfBotsAtFinish?: boolean, botReplacesPlayerAfterTimeout?: boolean, enabledCombinedEvents?: boolean, delayToAskBotMillis?: number, combinedEventsPeriod?: number): games.jass.logic.data.models.config.ServerReduxConfig;
613
+ toString(): string;
614
+ hashCode(): number;
615
+ equals(other: Nullable<any>): boolean;
616
+ static get Companion(): {
617
+ get DELAY_TO_BUFFER_EVENTS_MILLIS(): number;
618
+ getServerEngineMode(finishGameIfAllBots: boolean, botReplacesPlayerAfterTimeout: boolean, closeIfBotsAtFinish: boolean, enabledCombinedEvents?: boolean, delayToAskBotMillis?: number): games.jass.logic.data.models.config.ServerReduxConfig;
619
+ };
620
+ }
621
+ }
622
+ export declare namespace games.jass.logic.data.models.dealer {
623
+ class RandomData {
624
+ constructor(signature: Nullable<string>, id: string, indexes: kotlin.collections.KtList<number>, provider: games.jass.logic.domain.interactors.dealer.DealerStrategy);
625
+ get signature(): Nullable<string>;
626
+ get id(): string;
627
+ get indexes(): kotlin.collections.KtList<number>;
628
+ get provider(): games.jass.logic.domain.interactors.dealer.DealerStrategy;
629
+ copy(signature?: Nullable<string>, id?: string, indexes?: kotlin.collections.KtList<number>, provider?: games.jass.logic.domain.interactors.dealer.DealerStrategy): games.jass.logic.data.models.dealer.RandomData;
630
+ toString(): string;
631
+ hashCode(): number;
632
+ equals(other: Nullable<any>): boolean;
633
+ }
634
+ }
635
+ export declare namespace games.jass.logic.data.models.messages.combinatios {
636
+ abstract class CombinationReason /* implements kotlin.Comparable<games.jass.logic.data.models.messages.combinatios.CombinationReason> */ {
637
+ private constructor();
638
+ static get WIN_SINGLE_COMBINATION(): games.jass.logic.data.models.messages.combinatios.CombinationReason & {
639
+ get name(): "WIN_SINGLE_COMBINATION";
640
+ get ordinal(): 0;
641
+ };
642
+ static get WIN_HIGHER_COMBINATION(): games.jass.logic.data.models.messages.combinatios.CombinationReason & {
643
+ get name(): "WIN_HIGHER_COMBINATION";
644
+ get ordinal(): 1;
645
+ };
646
+ static get WIN_HIGHER_CARD_COMBINATION(): games.jass.logic.data.models.messages.combinatios.CombinationReason & {
647
+ get name(): "WIN_HIGHER_CARD_COMBINATION";
648
+ get ordinal(): 2;
649
+ };
650
+ static get WIN_TRUMP_COMBINATION(): games.jass.logic.data.models.messages.combinatios.CombinationReason & {
651
+ get name(): "WIN_TRUMP_COMBINATION";
652
+ get ordinal(): 3;
653
+ };
654
+ static get WIN_HIGHER_PLAYER_NUMBER_COMBINATION(): games.jass.logic.data.models.messages.combinatios.CombinationReason & {
655
+ get name(): "WIN_HIGHER_PLAYER_NUMBER_COMBINATION";
656
+ get ordinal(): 4;
657
+ };
658
+ static get WIN_PARTNER_COMBINATION(): games.jass.logic.data.models.messages.combinatios.CombinationReason & {
659
+ get name(): "WIN_PARTNER_COMBINATION";
660
+ get ordinal(): 5;
661
+ };
662
+ static get REJECTED_NOT_TRUMP_SEVEN_IN_ROW_COMBINATION(): games.jass.logic.data.models.messages.combinatios.CombinationReason & {
663
+ get name(): "REJECTED_NOT_TRUMP_SEVEN_IN_ROW_COMBINATION";
664
+ get ordinal(): 6;
665
+ };
666
+ get name(): "WIN_SINGLE_COMBINATION" | "WIN_HIGHER_COMBINATION" | "WIN_HIGHER_CARD_COMBINATION" | "WIN_TRUMP_COMBINATION" | "WIN_HIGHER_PLAYER_NUMBER_COMBINATION" | "WIN_PARTNER_COMBINATION" | "REJECTED_NOT_TRUMP_SEVEN_IN_ROW_COMBINATION";
667
+ get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6;
668
+ static values(): Array<games.jass.logic.data.models.messages.combinatios.CombinationReason>;
669
+ static valueOf(value: string): games.jass.logic.data.models.messages.combinatios.CombinationReason;
670
+ }
671
+ }
672
+ export declare namespace games.jass.logic.data.models.player {
673
+ class UserProfilePayload {
674
+ constructor(socketId?: Nullable<string>, rating?: Nullable<number>, playedGamesCount?: number);
675
+ get socketId(): Nullable<string>;
676
+ get rating(): Nullable<number>;
677
+ get playedGamesCount(): number;
678
+ copy(socketId?: Nullable<string>, rating?: Nullable<number>, playedGamesCount?: number): games.jass.logic.data.models.player.UserProfilePayload;
679
+ toString(): string;
680
+ hashCode(): number;
681
+ equals(other: Nullable<any>): boolean;
682
+ }
683
+ }
684
+ export declare namespace games.jass.logic.data.models.player.achievements {
685
+ class Achievements {
686
+ constructor(oldRating: number, newRating: number);
687
+ get oldRating(): number;
688
+ get newRating(): number;
689
+ copy(oldRating?: number, newRating?: number): games.jass.logic.data.models.player.achievements.Achievements;
690
+ toString(): string;
691
+ hashCode(): number;
692
+ equals(other: Nullable<any>): boolean;
693
+ }
694
+ }
695
+ export declare namespace games.jass.logic.data.models.player.achievements {
696
+ class PlayerAchievements implements com.logic.data.models.player.PlayerIdContract {
697
+ constructor(playerId: string, oldRating: number, newRating: number);
698
+ get playerId(): string;
699
+ get oldRating(): number;
700
+ get newRating(): number;
701
+ copy(playerId?: string, oldRating?: number, newRating?: number): games.jass.logic.data.models.player.achievements.PlayerAchievements;
702
+ toString(): string;
703
+ hashCode(): number;
704
+ equals(other: Nullable<any>): boolean;
705
+ readonly __doNotUseOrImplementIt: com.logic.data.models.player.PlayerIdContract["__doNotUseOrImplementIt"];
706
+ }
707
+ }
708
+ export declare namespace games.jass.logic.data.models.player.analytics {
709
+ class CombinationsAnalytics {
710
+ constructor(combinations: Array<games.jass.logic.data.models.player.analytics.CombinationAnalytics>);
711
+ get combinations(): Array<games.jass.logic.data.models.player.analytics.CombinationAnalytics>;
712
+ equals(other: Nullable<any>): boolean;
713
+ hashCode(): number;
714
+ copy(combinations?: Array<games.jass.logic.data.models.player.analytics.CombinationAnalytics>): games.jass.logic.data.models.player.analytics.CombinationsAnalytics;
715
+ toString(): string;
716
+ }
717
+ class CombinationAnalytics {
718
+ constructor(type: games.jass.logic.data.models.table.combinations.CombinationType, count: number, acceptedCounts: number);
719
+ get type(): games.jass.logic.data.models.table.combinations.CombinationType;
720
+ get count(): number;
721
+ get acceptedCounts(): number;
722
+ copy(type?: games.jass.logic.data.models.table.combinations.CombinationType, count?: number, acceptedCounts?: number): games.jass.logic.data.models.player.analytics.CombinationAnalytics;
723
+ toString(): string;
724
+ hashCode(): number;
725
+ equals(other: Nullable<any>): boolean;
726
+ }
727
+ }
728
+ export declare namespace games.jass.logic.data.models.player.analytics {
729
+ class PlayerAnalytics implements com.logic.data.models.player.PlayerIdContract {
730
+ constructor(playerId: string, factor: number, wasLiveDuringGame: boolean, liveDurationPercentage: Nullable<number>, combinationRecords: kotlin.collections.KtList<games.jass.logic.data.models.player.hand.CombinationRecord>);
731
+ get playerId(): string;
732
+ get factor(): number;
733
+ get wasLiveDuringGame(): boolean;
734
+ get liveDurationPercentage(): Nullable<number>;
735
+ get combinationRecords(): kotlin.collections.KtList<games.jass.logic.data.models.player.hand.CombinationRecord>;
736
+ get combinationCounts(): kotlin.collections.KtMap<games.jass.logic.data.models.table.combinations.CombinationType, number>;
737
+ get combinationsAnalytics(): games.jass.logic.data.models.player.analytics.CombinationsAnalytics;
738
+ toString(): string;
739
+ 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.analytics.PlayerAnalytics;
740
+ hashCode(): number;
741
+ equals(other: Nullable<any>): boolean;
742
+ readonly __doNotUseOrImplementIt: com.logic.data.models.player.PlayerIdContract["__doNotUseOrImplementIt"];
743
+ }
744
+ }
745
+ export declare namespace games.jass.logic.data.models.player.analytics {
746
+ class PlayerHistoryAnalytics /* implements games.jass.logic.data.models.table.history.PlayerHistoryItem */ {
747
+ constructor(playerId: string, liveDurationPercentage: Nullable<number>, combinations: Nullable<kotlin.collections.KtList<games.jass.logic.data.models.player.analytics.CombinationAnalytics>>, achievements: Nullable<games.jass.logic.data.models.player.achievements.Achievements>);
748
+ get liveDurationPercentage(): Nullable<number>;
749
+ get combinations(): Nullable<kotlin.collections.KtList<games.jass.logic.data.models.player.analytics.CombinationAnalytics>>;
750
+ get achievements(): Nullable<games.jass.logic.data.models.player.achievements.Achievements>;
751
+ copy(playerId?: string, liveDurationPercentage?: Nullable<number>, combinations?: Nullable<kotlin.collections.KtList<games.jass.logic.data.models.player.analytics.CombinationAnalytics>>, achievements?: Nullable<games.jass.logic.data.models.player.achievements.Achievements>): games.jass.logic.data.models.player.analytics.PlayerHistoryAnalytics;
752
+ toString(): string;
753
+ hashCode(): number;
754
+ equals(other: Nullable<any>): boolean;
755
+ }
756
+ }
757
+ export declare namespace games.jass.logic.data.models.player.bids {
758
+ abstract class BidType {
759
+ private constructor();
760
+ static get POINTS(): games.jass.logic.data.models.player.bids.BidType & {
761
+ get name(): "POINTS";
762
+ get ordinal(): 0;
763
+ };
764
+ static get CAPOT(): games.jass.logic.data.models.player.bids.BidType & {
765
+ get name(): "CAPOT";
766
+ get ordinal(): 1;
767
+ };
768
+ static get COINCHE(): games.jass.logic.data.models.player.bids.BidType & {
769
+ get name(): "COINCHE";
770
+ get ordinal(): 2;
771
+ };
772
+ static get GENERAL(): games.jass.logic.data.models.player.bids.BidType & {
773
+ get name(): "GENERAL";
774
+ get ordinal(): 3;
775
+ };
776
+ static get SURCOINCHE(): games.jass.logic.data.models.player.bids.BidType & {
777
+ get name(): "SURCOINCHE";
778
+ get ordinal(): 4;
779
+ };
780
+ get name(): "POINTS" | "CAPOT" | "COINCHE" | "GENERAL" | "SURCOINCHE";
781
+ get ordinal(): 0 | 1 | 2 | 3 | 4;
782
+ static values(): Array<games.jass.logic.data.models.player.bids.BidType>;
783
+ static valueOf(value: string): games.jass.logic.data.models.player.bids.BidType;
784
+ static get Companion(): {
785
+ get belotBalgarian(): Array<games.jass.logic.data.models.player.bids.BidType>;
786
+ get coinche(): Array<games.jass.logic.data.models.player.bids.BidType>;
787
+ } & any/* kotlinx.serialization.internal.SerializerFactory */;
788
+ }
789
+ }
790
+ export declare namespace games.jass.logic.data.models.player.hand {
791
+ class CombinationRecord {
792
+ constructor(id: string, type: games.jass.logic.data.models.table.combinations.CombinationType, state: games.jass.logic.data.models.table.combinations.CombinationState, value: number);
793
+ get id(): string;
794
+ get type(): games.jass.logic.data.models.table.combinations.CombinationType;
795
+ get state(): games.jass.logic.data.models.table.combinations.CombinationState;
796
+ get value(): number;
797
+ get isAccepted(): boolean;
798
+ 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;
365
799
  toString(): string;
366
800
  hashCode(): number;
367
801
  equals(other: Nullable<any>): boolean;
368
802
  }
369
803
  }
370
- export declare namespace com.debertz.logic.data.models.scenes {
804
+ export declare namespace games.jass.logic.data.models.player.state {
805
+ abstract class RoundContractState {
806
+ private constructor();
807
+ static get FAILED(): games.jass.logic.data.models.player.state.RoundContractState & {
808
+ get name(): "FAILED";
809
+ get ordinal(): 0;
810
+ };
811
+ static get FULFILLED(): games.jass.logic.data.models.player.state.RoundContractState & {
812
+ get name(): "FULFILLED";
813
+ get ordinal(): 1;
814
+ };
815
+ static get CONTROVERSIAL(): games.jass.logic.data.models.player.state.RoundContractState & {
816
+ get name(): "CONTROVERSIAL";
817
+ get ordinal(): 2;
818
+ };
819
+ get name(): "FAILED" | "FULFILLED" | "CONTROVERSIAL";
820
+ get ordinal(): 0 | 1 | 2;
821
+ get isFailed(): boolean;
822
+ get isFulfilled(): boolean;
823
+ get isControversial(): boolean;
824
+ static values(): Array<games.jass.logic.data.models.player.state.RoundContractState>;
825
+ static valueOf(value: string): games.jass.logic.data.models.player.state.RoundContractState;
826
+ static get Companion(): {
827
+ } & any/* kotlinx.serialization.internal.SerializerFactory */;
828
+ }
829
+ }
830
+ export declare namespace games.jass.logic.data.models.player.state {
831
+ abstract class RoundContractType {
832
+ private constructor();
833
+ static get TRUMP_TAKEN(): games.jass.logic.data.models.player.state.RoundContractType & {
834
+ get name(): "TRUMP_TAKEN";
835
+ get ordinal(): 0;
836
+ };
837
+ static get TRUMP_SELECTED(): games.jass.logic.data.models.player.state.RoundContractType & {
838
+ get name(): "TRUMP_SELECTED";
839
+ get ordinal(): 1;
840
+ };
841
+ static get NO_TRUMPS(): games.jass.logic.data.models.player.state.RoundContractType & {
842
+ get name(): "NO_TRUMPS";
843
+ get ordinal(): 2;
844
+ };
845
+ static get ALL_TRUMPS(): games.jass.logic.data.models.player.state.RoundContractType & {
846
+ get name(): "ALL_TRUMPS";
847
+ get ordinal(): 3;
848
+ };
849
+ get name(): "TRUMP_TAKEN" | "TRUMP_SELECTED" | "NO_TRUMPS" | "ALL_TRUMPS";
850
+ get ordinal(): 0 | 1 | 2 | 3;
851
+ static values(): Array<games.jass.logic.data.models.player.state.RoundContractType>;
852
+ static valueOf(value: string): games.jass.logic.data.models.player.state.RoundContractType;
853
+ static get Companion(): {
854
+ get debertzContractTypes(): kotlin.collections.KtList<games.jass.logic.data.models.player.state.RoundContractType>;
855
+ } & any/* kotlinx.serialization.internal.SerializerFactory */;
856
+ }
857
+ }
858
+ export declare namespace games.jass.logic.data.models.rules {
859
+ class Rules {
860
+ constructor(needToPutHigherTrump: boolean, playerWhoChooseSuitGoFirst: boolean, winnerShuffleCards: boolean, playWithoutLiabilities: boolean, trumpCardGoToPlayerWhoShuffleCards: boolean, dealerInitialCardsCount: number, dealerFinalCardsCount: number, dealerCounterClockwise: boolean, contractTypes: Array<games.jass.logic.data.models.player.state.RoundContractType>, bidTypes: Array<games.jass.logic.data.models.player.bids.BidType>, combinationsWithFirstCard: Array<games.jass.logic.data.models.table.combinations.CombinationType>, protectBella: boolean, oneTryToProtectBella: boolean, enableFourSevensCombination: boolean, enableTrumpSevenCombination: boolean, enableTrumpSevenCombinationAfterDistribution: boolean, checkTrumpCombination: boolean, checkOnlyTrumpDebertz: boolean, distributePoints: boolean, enableFineAfterThirdFailedContract: boolean, fineAfterThirdFailedContract: number, enableFineIfNoBribes: boolean, fineIfNoBribes: number);
861
+ get needToPutHigherTrump(): boolean;
862
+ get playerWhoChooseSuitGoFirst(): boolean;
863
+ get winnerShuffleCards(): boolean;
864
+ get playWithoutLiabilities(): boolean;
865
+ get trumpCardGoToPlayerWhoShuffleCards(): boolean;
866
+ get dealerInitialCardsCount(): number;
867
+ get dealerFinalCardsCount(): number;
868
+ get dealerCounterClockwise(): boolean;
869
+ get contractTypes(): Array<games.jass.logic.data.models.player.state.RoundContractType>;
870
+ get bidTypes(): Array<games.jass.logic.data.models.player.bids.BidType>;
871
+ get combinationsWithFirstCard(): Array<games.jass.logic.data.models.table.combinations.CombinationType>;
872
+ get protectBella(): boolean;
873
+ get oneTryToProtectBella(): boolean;
874
+ get enableFourSevensCombination(): boolean;
875
+ get enableTrumpSevenCombination(): boolean;
876
+ get enableTrumpSevenCombinationAfterDistribution(): boolean;
877
+ get checkTrumpCombination(): boolean;
878
+ get checkOnlyTrumpDebertz(): boolean;
879
+ get distributePoints(): boolean;
880
+ get enableFineAfterThirdByte(): boolean;
881
+ get fineAfterThirdFailedContract(): number;
882
+ get enableFineIfNoBribes(): boolean;
883
+ get fineIfNoBribes(): number;
884
+ toString(): string;
885
+ equals(other: Nullable<any>): boolean;
886
+ hashCode(): number;
887
+ copy(needToPutHigherTrump?: boolean, playerWhoChooseSuitGoFirst?: boolean, winnerShuffleCards?: boolean, playWithoutLiabilities?: boolean, trumpCardGoToPlayerWhoShuffleCards?: boolean, dealerInitialCardsCount?: number, dealerFinalCardsCount?: number, dealerCounterClockwise?: boolean, contractTypes?: Array<games.jass.logic.data.models.player.state.RoundContractType>, bidTypes?: Array<games.jass.logic.data.models.player.bids.BidType>, combinationsWithFirstCard?: Array<games.jass.logic.data.models.table.combinations.CombinationType>, protectBella?: boolean, oneTryToProtectBella?: boolean, enableFourSevensCombination?: boolean, enableTrumpSevenCombination?: boolean, enableTrumpSevenCombinationAfterDistribution?: boolean, checkTrumpCombination?: boolean, checkOnlyTrumpDebertz?: boolean, distributePoints?: boolean, enableFineAfterThirdFailedContract?: boolean, fineAfterThirdFailedContract?: number, enableFineIfNoBribes?: boolean, fineIfNoBribes?: number): games.jass.logic.data.models.rules.Rules;
888
+ static get Companion(): {
889
+ get HAND_CARDS_INITIAL(): number;
890
+ get HAND_CARDS_FINAL(): number;
891
+ kharkiv(): games.jass.logic.data.models.rules.Rules;
892
+ saltivka(): games.jass.logic.data.models.rules.Rules;
893
+ klabor(): games.jass.logic.data.models.rules.Rules;
894
+ belotBulgarian(): games.jass.logic.data.models.rules.Rules;
895
+ debertzCommon(): games.jass.logic.data.models.rules.Rules;
896
+ belot(): games.jass.logic.data.models.rules.Rules;
897
+ custom(): games.jass.logic.data.models.rules.Rules;
898
+ };
899
+ }
900
+ }
901
+ export declare namespace games.jass.logic.data.models.rules {
902
+ abstract class RulesSetType {
903
+ private constructor();
904
+ static get belot(): games.jass.logic.data.models.rules.RulesSetType & {
905
+ get name(): "belot";
906
+ get ordinal(): 0;
907
+ };
908
+ static get klabor(): games.jass.logic.data.models.rules.RulesSetType & {
909
+ get name(): "klabor";
910
+ get ordinal(): 1;
911
+ };
912
+ static get debertzCommon(): games.jass.logic.data.models.rules.RulesSetType & {
913
+ get name(): "debertzCommon";
914
+ get ordinal(): 2;
915
+ };
916
+ static get debertzKharkiv(): games.jass.logic.data.models.rules.RulesSetType & {
917
+ get name(): "debertzKharkiv";
918
+ get ordinal(): 3;
919
+ };
920
+ static get debertzSaltivka(): games.jass.logic.data.models.rules.RulesSetType & {
921
+ get name(): "debertzSaltivka";
922
+ get ordinal(): 4;
923
+ };
924
+ static get custom(): games.jass.logic.data.models.rules.RulesSetType & {
925
+ get name(): "custom";
926
+ get ordinal(): 5;
927
+ };
928
+ get name(): "belot" | "klabor" | "debertzCommon" | "debertzKharkiv" | "debertzSaltivka" | "custom";
929
+ get ordinal(): 0 | 1 | 2 | 3 | 4 | 5;
930
+ get value(): string;
931
+ getRules(): games.jass.logic.data.models.rules.Rules;
932
+ get isCustom(): boolean;
933
+ static values(): Array<games.jass.logic.data.models.rules.RulesSetType>;
934
+ static valueOf(value: string): games.jass.logic.data.models.rules.RulesSetType;
935
+ }
936
+ }
937
+ export declare namespace games.jass.logic.data.models.scenes {
371
938
  interface ActData {
372
939
  readonly actId: string;
373
940
  readonly __doNotUseOrImplementIt: {
374
- readonly "com.debertz.logic.data.models.scenes.ActData": unique symbol;
941
+ readonly "games.jass.logic.data.models.scenes.ActData": unique symbol;
375
942
  };
376
943
  }
377
944
  }
378
- export declare namespace com.debertz.logic.data.models.scenes {
945
+ export declare namespace games.jass.logic.data.models.scenes {
379
946
  interface SceneData {
380
947
  readonly sceneId: string;
381
948
  readonly __doNotUseOrImplementIt: {
382
- readonly "com.debertz.logic.data.models.scenes.SceneData": unique symbol;
949
+ readonly "games.jass.logic.data.models.scenes.SceneData": unique symbol;
383
950
  };
384
951
  }
385
952
  }
386
- export declare namespace com.debertz.logic.data.models.table {
387
- class DebertzTable {
388
- constructor(id: string, version: string, createdAt: any/* kotlinx.datetime.Instant */, config: com.debertz.logic.data.models.table.config.Config, players: any/* kotlin.collections.List<com.debertz.logic.data.models.player.DebertzPlayer> */, sceneInfo: any/* com.debertz.logic.data.models.table.scene.SceneInfo */, cardsOnTable: any/* kotlin.collections.List<com.debertz.logic.data.models.table.bribes.CardOnTable> */, bribes: any/* kotlin.collections.List<com.debertz.logic.data.models.table.cards.Bribe> */, cardDeck: Nullable<any>/* Nullable<com.debertz.logic.data.models.table.cards.CardDeck> */, gameInfo: any/* com.debertz.logic.data.models.table.GameInfo */);
953
+ export declare namespace games.jass.logic.data.models.table {
954
+ class JassTable {
955
+ constructor(id: string, version: string, createdAt: any/* kotlinx.datetime.Instant */, config: games.jass.logic.data.models.table.config.Config, players: kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.player.JassPlayer */>, sceneInfo: any/* games.jass.logic.data.models.table.scene.SceneInfo */, cardsOnTable: kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.table.bribes.CardOnTable */>, bribes: kotlin.collections.KtList<any/* games.jass.logic.data.models.table.cards.Bribe */>, cardDeck: Nullable<any>/* Nullable<games.jass.logic.data.models.table.cards.CardDeck> */, gameInfo: any/* games.jass.logic.data.models.table.GameInfo */, gameHistory: games.jass.logic.data.models.table.history.GameHistory);
389
956
  get id(): string;
390
957
  get version(): string;
391
958
  get createdAt(): any/* kotlinx.datetime.Instant */;
392
- get config(): com.debertz.logic.data.models.table.config.Config;
393
- get players(): any/* kotlin.collections.List<com.debertz.logic.data.models.player.DebertzPlayer> */;
394
- get sceneInfo(): any/* com.debertz.logic.data.models.table.scene.SceneInfo */;
395
- get cardsOnTable(): any/* kotlin.collections.List<com.debertz.logic.data.models.table.bribes.CardOnTable> */;
396
- get bribes(): any/* kotlin.collections.List<com.debertz.logic.data.models.table.cards.Bribe> */;
397
- get cardDeck(): Nullable<any>/* Nullable<com.debertz.logic.data.models.table.cards.CardDeck> */;
398
- get gameInfo(): any/* com.debertz.logic.data.models.table.GameInfo */;
959
+ get config(): games.jass.logic.data.models.table.config.Config;
960
+ get players(): kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.player.JassPlayer */>;
961
+ get sceneInfo(): any/* games.jass.logic.data.models.table.scene.SceneInfo */;
962
+ get cardsOnTable(): kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.table.bribes.CardOnTable */>;
963
+ get bribes(): kotlin.collections.KtList<any/* games.jass.logic.data.models.table.cards.Bribe */>;
964
+ get cardDeck(): Nullable<any>/* Nullable<games.jass.logic.data.models.table.cards.CardDeck> */;
965
+ get gameInfo(): any/* games.jass.logic.data.models.table.GameInfo */;
966
+ get gameHistory(): games.jass.logic.data.models.table.history.GameHistory;
967
+ get gameId(): string;
399
968
  get gameDuration(): any/* kotlin.time.Duration */;
400
- get playersConnections(): any/* kotlin.collections.List<kotlin.Pair<string, com.logic.data.models.player.PlayerConnectionState>> */;
969
+ get gameCreatedAt(): any/* kotlinx.datetime.Instant */;
970
+ get playersConnections(): kotlin.collections.KtList<any/* kotlin.Pair<string, com.logic.data.models.player.PlayerConnectionState> */>;
401
971
  get users(): Array<com.logic.data.models.player.GameUserInfo>;
402
972
  get isCardDeckExist(): boolean;
403
- get requireCardDeck(): any/* com.debertz.logic.data.models.table.cards.CardDeck */;
404
- get currentTrump(): Nullable<any>/* Nullable<com.logic.data.models.table.cards.Suit> */;
405
- copy(id?: string, version?: string, createdAt?: any/* kotlinx.datetime.Instant */, config?: com.debertz.logic.data.models.table.config.Config, players?: any/* kotlin.collections.List<com.debertz.logic.data.models.player.DebertzPlayer> */, sceneInfo?: any/* com.debertz.logic.data.models.table.scene.SceneInfo */, cardsOnTable?: any/* kotlin.collections.List<com.debertz.logic.data.models.table.bribes.CardOnTable> */, bribes?: any/* kotlin.collections.List<com.debertz.logic.data.models.table.cards.Bribe> */, cardDeck?: Nullable<any>/* Nullable<com.debertz.logic.data.models.table.cards.CardDeck> */, gameInfo?: any/* com.debertz.logic.data.models.table.GameInfo */): com.debertz.logic.data.models.table.DebertzTable;
973
+ get requireCardDeck(): any/* games.jass.logic.data.models.table.cards.CardDeck */;
974
+ get currentTrump(): Nullable<any>/* Nullable<io.raspberryapps.card_game.core.data.models.cards.Suit> */;
975
+ get isGameFinished(): boolean;
406
976
  toString(): string;
977
+ copy(id?: string, version?: string, createdAt?: any/* kotlinx.datetime.Instant */, config?: games.jass.logic.data.models.table.config.Config, players?: kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.player.JassPlayer */>, sceneInfo?: any/* games.jass.logic.data.models.table.scene.SceneInfo */, cardsOnTable?: kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.table.bribes.CardOnTable */>, bribes?: kotlin.collections.KtList<any/* games.jass.logic.data.models.table.cards.Bribe */>, cardDeck?: Nullable<any>/* Nullable<games.jass.logic.data.models.table.cards.CardDeck> */, gameInfo?: any/* games.jass.logic.data.models.table.GameInfo */, gameHistory?: games.jass.logic.data.models.table.history.GameHistory): games.jass.logic.data.models.table.JassTable;
407
978
  hashCode(): number;
408
979
  equals(other: Nullable<any>): boolean;
409
980
  static get Companion(): {
410
- initial(id: string, version: string, config: com.debertz.logic.data.models.table.config.Config, players: any/* kotlin.collections.List<com.debertz.logic.data.models.player.DebertzPlayer> */): com.debertz.logic.data.models.table.DebertzTable;
981
+ initial(tableId: string, gameId: string, version: string, config: games.jass.logic.data.models.table.config.Config, players: kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.player.JassPlayer */>): games.jass.logic.data.models.table.JassTable;
411
982
  };
412
983
  }
413
984
  }
414
- export declare namespace com.debertz.logic.data.models.table {
415
- class TableLoggerPayload implements com.logic.utils.logger.game.LoggerPayload {
416
- constructor(id: string, players: Array<com.debertz.logic.data.models.table.PlayerLoggerPayload>);
985
+ export declare namespace games.jass.logic.data.models.table {
986
+ class TableLoggerPayload implements games.raspberry.logger.LoggerPayload {
987
+ constructor(id: string, gameId: string, players: Array<games.jass.logic.data.models.table.PlayerLoggerPayload>);
417
988
  get id(): string;
418
- get players(): Array<com.debertz.logic.data.models.table.PlayerLoggerPayload>;
419
- toString(): string;
989
+ get gameId(): string;
990
+ get players(): Array<games.jass.logic.data.models.table.PlayerLoggerPayload>;
420
991
  equals(other: Nullable<any>): boolean;
421
992
  hashCode(): number;
422
- copy(id?: string, players?: Array<com.debertz.logic.data.models.table.PlayerLoggerPayload>): com.debertz.logic.data.models.table.TableLoggerPayload;
423
- readonly __doNotUseOrImplementIt: com.logic.utils.logger.game.LoggerPayload["__doNotUseOrImplementIt"];
993
+ toString(): string;
994
+ copy(id?: string, gameId?: string, players?: Array<games.jass.logic.data.models.table.PlayerLoggerPayload>): games.jass.logic.data.models.table.TableLoggerPayload;
995
+ readonly __doNotUseOrImplementIt: games.raspberry.logger.LoggerPayload["__doNotUseOrImplementIt"];
424
996
  }
425
- class PlayerLoggerPayload implements com.logic.utils.logger.game.LoggerPayload {
997
+ class PlayerLoggerPayload implements games.raspberry.logger.LoggerPayload {
426
998
  constructor(playerId: string, connectionState: Nullable<com.logic.data.models.player.PlayerConnectionState>);
427
999
  get playerId(): string;
428
1000
  get connectionState(): Nullable<com.logic.data.models.player.PlayerConnectionState>;
429
1001
  toString(): string;
430
- copy(playerId?: string, connectionState?: Nullable<com.logic.data.models.player.PlayerConnectionState>): com.debertz.logic.data.models.table.PlayerLoggerPayload;
1002
+ copy(playerId?: string, connectionState?: Nullable<com.logic.data.models.player.PlayerConnectionState>): games.jass.logic.data.models.table.PlayerLoggerPayload;
1003
+ hashCode(): number;
1004
+ equals(other: Nullable<any>): boolean;
1005
+ readonly __doNotUseOrImplementIt: games.raspberry.logger.LoggerPayload["__doNotUseOrImplementIt"];
1006
+ }
1007
+ }
1008
+ export declare namespace games.jass.logic.data.models.table.combinations {
1009
+ class Combination /* implements games.jass.logic.data.models.table.combinations.CombinationContract */ {
1010
+ 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 */>>, reasons: kotlin.collections.KtSet<games.jass.logic.data.models.messages.combinatios.CombinationReason>);
1011
+ toString(): string;
1012
+ 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 */>>, reasons?: kotlin.collections.KtSet<games.jass.logic.data.models.messages.combinatios.CombinationReason>): games.jass.logic.data.models.table.combinations.Combination;
431
1013
  hashCode(): number;
432
1014
  equals(other: Nullable<any>): boolean;
433
- readonly __doNotUseOrImplementIt: com.logic.utils.logger.game.LoggerPayload["__doNotUseOrImplementIt"];
434
1015
  }
435
1016
  }
436
- export declare namespace com.debertz.logic.data.models.table.config {
1017
+ export declare namespace games.jass.logic.data.models.table.combinations {
1018
+ abstract class CombinationState {
1019
+ private constructor();
1020
+ static get NOT_VERIFIED(): games.jass.logic.data.models.table.combinations.CombinationState & {
1021
+ get name(): "NOT_VERIFIED";
1022
+ get ordinal(): 0;
1023
+ };
1024
+ static get VERIFYING(): games.jass.logic.data.models.table.combinations.CombinationState & {
1025
+ get name(): "VERIFYING";
1026
+ get ordinal(): 1;
1027
+ };
1028
+ static get ACCEPTED(): games.jass.logic.data.models.table.combinations.CombinationState & {
1029
+ get name(): "ACCEPTED";
1030
+ get ordinal(): 2;
1031
+ };
1032
+ static get NOT_ACCEPTED(): games.jass.logic.data.models.table.combinations.CombinationState & {
1033
+ get name(): "NOT_ACCEPTED";
1034
+ get ordinal(): 3;
1035
+ };
1036
+ static get REJECTED(): games.jass.logic.data.models.table.combinations.CombinationState & {
1037
+ get name(): "REJECTED";
1038
+ get ordinal(): 4;
1039
+ };
1040
+ static get CANCELED(): games.jass.logic.data.models.table.combinations.CombinationState & {
1041
+ get name(): "CANCELED";
1042
+ get ordinal(): 5;
1043
+ };
1044
+ get name(): "NOT_VERIFIED" | "VERIFYING" | "ACCEPTED" | "NOT_ACCEPTED" | "REJECTED" | "CANCELED";
1045
+ get ordinal(): 0 | 1 | 2 | 3 | 4 | 5;
1046
+ static values(): Array<games.jass.logic.data.models.table.combinations.CombinationState>;
1047
+ static valueOf(value: string): games.jass.logic.data.models.table.combinations.CombinationState;
1048
+ static get Companion(): {
1049
+ } & any/* kotlinx.serialization.internal.SerializerFactory */;
1050
+ }
1051
+ }
1052
+ export declare namespace games.jass.logic.data.models.table.combinations {
1053
+ abstract class CombinationType {
1054
+ private constructor();
1055
+ static get BELA(): games.jass.logic.data.models.table.combinations.CombinationType & {
1056
+ get name(): "BELA";
1057
+ get ordinal(): 0;
1058
+ };
1059
+ static get THREE_IN_ROW(): games.jass.logic.data.models.table.combinations.CombinationType & {
1060
+ get name(): "THREE_IN_ROW";
1061
+ get ordinal(): 1;
1062
+ };
1063
+ static get FOUR_IN_ROW(): games.jass.logic.data.models.table.combinations.CombinationType & {
1064
+ get name(): "FOUR_IN_ROW";
1065
+ get ordinal(): 2;
1066
+ };
1067
+ static get FIVE_IN_ROW(): games.jass.logic.data.models.table.combinations.CombinationType & {
1068
+ get name(): "FIVE_IN_ROW";
1069
+ get ordinal(): 3;
1070
+ };
1071
+ static get SEVEN_IN_ROW(): games.jass.logic.data.models.table.combinations.CombinationType & {
1072
+ get name(): "SEVEN_IN_ROW";
1073
+ get ordinal(): 4;
1074
+ };
1075
+ static get SEVEN_TRUMP(): games.jass.logic.data.models.table.combinations.CombinationType & {
1076
+ get name(): "SEVEN_TRUMP";
1077
+ get ordinal(): 5;
1078
+ };
1079
+ static get FOUR_ACES(): games.jass.logic.data.models.table.combinations.CombinationType & {
1080
+ get name(): "FOUR_ACES";
1081
+ get ordinal(): 6;
1082
+ };
1083
+ static get FOUR_KINGS(): games.jass.logic.data.models.table.combinations.CombinationType & {
1084
+ get name(): "FOUR_KINGS";
1085
+ get ordinal(): 7;
1086
+ };
1087
+ static get FOUR_DAMES(): games.jass.logic.data.models.table.combinations.CombinationType & {
1088
+ get name(): "FOUR_DAMES";
1089
+ get ordinal(): 8;
1090
+ };
1091
+ static get FOUR_JACKS(): games.jass.logic.data.models.table.combinations.CombinationType & {
1092
+ get name(): "FOUR_JACKS";
1093
+ get ordinal(): 9;
1094
+ };
1095
+ static get FOUR_TENS(): games.jass.logic.data.models.table.combinations.CombinationType & {
1096
+ get name(): "FOUR_TENS";
1097
+ get ordinal(): 10;
1098
+ };
1099
+ static get FOUR_NINES(): games.jass.logic.data.models.table.combinations.CombinationType & {
1100
+ get name(): "FOUR_NINES";
1101
+ get ordinal(): 11;
1102
+ };
1103
+ static get FOUR_SEVENS(): games.jass.logic.data.models.table.combinations.CombinationType & {
1104
+ get name(): "FOUR_SEVENS";
1105
+ get ordinal(): 12;
1106
+ };
1107
+ static get FINE_NO_BRIBES(): games.jass.logic.data.models.table.combinations.CombinationType & {
1108
+ get name(): "FINE_NO_BRIBES";
1109
+ get ordinal(): 13;
1110
+ };
1111
+ static get FINE_THIRD_FAILED_CONTRACT(): games.jass.logic.data.models.table.combinations.CombinationType & {
1112
+ get name(): "FINE_THIRD_FAILED_CONTRACT";
1113
+ get ordinal(): 14;
1114
+ };
1115
+ static get BONUS_LAST_BRIBE(): games.jass.logic.data.models.table.combinations.CombinationType & {
1116
+ get name(): "BONUS_LAST_BRIBE";
1117
+ get ordinal(): 15;
1118
+ };
1119
+ static get BONUS_FAILED_CONTRACT(): games.jass.logic.data.models.table.combinations.CombinationType & {
1120
+ get name(): "BONUS_FAILED_CONTRACT";
1121
+ get ordinal(): 16;
1122
+ };
1123
+ static get BONUS_CONTROVERSIAL_CONTRACT(): games.jass.logic.data.models.table.combinations.CombinationType & {
1124
+ get name(): "BONUS_CONTROVERSIAL_CONTRACT";
1125
+ get ordinal(): 17;
1126
+ };
1127
+ 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";
1128
+ get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17;
1129
+ static values(): Array<games.jass.logic.data.models.table.combinations.CombinationType>;
1130
+ static valueOf(value: string): games.jass.logic.data.models.table.combinations.CombinationType;
1131
+ static get Companion(): {
1132
+ get withFirstCardCombination(): kotlin.collections.KtList<games.jass.logic.data.models.table.combinations.CombinationType>;
1133
+ get inRowCombinations(): kotlin.collections.KtList<games.jass.logic.data.models.table.combinations.CombinationType>;
1134
+ get fourCardsCombinations(): kotlin.collections.KtList<games.jass.logic.data.models.table.combinations.CombinationType>;
1135
+ get debertzWithFirstCardCombinations(): kotlin.collections.KtList<games.jass.logic.data.models.table.combinations.CombinationType>;
1136
+ get belotWithFirstCardCombination(): kotlin.collections.KtList<games.jass.logic.data.models.table.combinations.CombinationType>;
1137
+ } & any/* kotlinx.serialization.internal.SerializerFactory */;
1138
+ }
1139
+ }
1140
+ export declare namespace games.jass.logic.data.models.table.combinations {
1141
+ class PlayerCombinations implements com.logic.data.models.player.PlayerIdContract {
1142
+ constructor(playerId: string, combinations: Array<games.jass.logic.data.models.table.combinations.Combination>);
1143
+ get playerId(): string;
1144
+ get combinations(): Array<games.jass.logic.data.models.table.combinations.Combination>;
1145
+ equals(other: Nullable<any>): boolean;
1146
+ hashCode(): number;
1147
+ copy(playerId?: string, combinations?: Array<games.jass.logic.data.models.table.combinations.Combination>): games.jass.logic.data.models.table.combinations.PlayerCombinations;
1148
+ toString(): string;
1149
+ readonly __doNotUseOrImplementIt: com.logic.data.models.player.PlayerIdContract["__doNotUseOrImplementIt"];
1150
+ }
1151
+ }
1152
+ export declare namespace games.jass.logic.data.models.table.config {
437
1153
  abstract class BotIntelligenceLevel {
438
1154
  private constructor();
439
- static get SUPER_HARD(): com.debertz.logic.data.models.table.config.BotIntelligenceLevel & {
1155
+ static get SUPER_HARD(): games.jass.logic.data.models.table.config.BotIntelligenceLevel & {
440
1156
  get name(): "SUPER_HARD";
441
1157
  get ordinal(): 0;
442
1158
  };
443
- static get HARD(): com.debertz.logic.data.models.table.config.BotIntelligenceLevel & {
1159
+ static get HARD(): games.jass.logic.data.models.table.config.BotIntelligenceLevel & {
444
1160
  get name(): "HARD";
445
1161
  get ordinal(): 1;
446
1162
  };
447
- static get MEDIUM(): com.debertz.logic.data.models.table.config.BotIntelligenceLevel & {
1163
+ static get MEDIUM(): games.jass.logic.data.models.table.config.BotIntelligenceLevel & {
448
1164
  get name(): "MEDIUM";
449
1165
  get ordinal(): 2;
450
1166
  };
451
- static get EASY(): com.debertz.logic.data.models.table.config.BotIntelligenceLevel & {
1167
+ static get EASY(): games.jass.logic.data.models.table.config.BotIntelligenceLevel & {
452
1168
  get name(): "EASY";
453
1169
  get ordinal(): 3;
454
1170
  };
455
- static get SUPER_EASY(): com.debertz.logic.data.models.table.config.BotIntelligenceLevel & {
1171
+ static get SUPER_EASY(): games.jass.logic.data.models.table.config.BotIntelligenceLevel & {
456
1172
  get name(): "SUPER_EASY";
457
1173
  get ordinal(): 4;
458
1174
  };
459
- static values(): Array<com.debertz.logic.data.models.table.config.BotIntelligenceLevel>;
460
- static valueOf(value: string): com.debertz.logic.data.models.table.config.BotIntelligenceLevel;
461
1175
  get name(): "SUPER_HARD" | "HARD" | "MEDIUM" | "EASY" | "SUPER_EASY";
462
1176
  get ordinal(): 0 | 1 | 2 | 3 | 4;
1177
+ static values(): Array<games.jass.logic.data.models.table.config.BotIntelligenceLevel>;
1178
+ static valueOf(value: string): games.jass.logic.data.models.table.config.BotIntelligenceLevel;
463
1179
  static get Companion(): {
464
1180
  } & any/* kotlinx.serialization.internal.SerializerFactory */;
465
1181
  }
466
- function getLevel(_this_: com.debertz.logic.data.models.table.config.BotIntelligenceLevel): number;
1182
+ function getLevel(_this_: games.jass.logic.data.models.table.config.BotIntelligenceLevel): number;
467
1183
  }
468
- export declare namespace com.debertz.logic.data.models.table.config {
1184
+ export declare namespace games.jass.logic.data.models.table.config {
469
1185
  class Config {
470
- constructor(rules: com.logic.data.models.rules.Rules, rulesSetType: com.logic.data.models.rules.RulesSetType, options: com.debertz.logic.data.models.table.config.Options, playersMode: com.debertz.logic.data.models.table.config.PlayersMode, pointsMode: com.debertz.logic.data.models.table.config.PointsMode, timeoutTimeMillis: number, isPrivate: boolean);
471
- get rules(): com.logic.data.models.rules.Rules;
472
- get rulesSetType(): com.logic.data.models.rules.RulesSetType;
473
- get options(): com.debertz.logic.data.models.table.config.Options;
474
- get playersMode(): com.debertz.logic.data.models.table.config.PlayersMode;
475
- get pointsMode(): com.debertz.logic.data.models.table.config.PointsMode;
1186
+ 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);
1187
+ get rules(): games.jass.logic.data.models.rules.Rules;
1188
+ get rulesSetType(): games.jass.logic.data.models.rules.RulesSetType;
1189
+ get options(): games.jass.logic.data.models.table.config.Options;
1190
+ get playersMode(): games.jass.logic.data.models.table.config.PlayersMode;
1191
+ get pointsMode(): games.jass.logic.data.models.table.config.PointsMode;
1192
+ get timeoutTimeMillis(): number;
1193
+ get isPrivate(): boolean;
1194
+ get playerHandCardsSize(): number;
1195
+ 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;
1196
+ toString(): string;
1197
+ hashCode(): number;
1198
+ equals(other: Nullable<any>): boolean;
1199
+ }
1200
+ }
1201
+ export declare namespace games.jass.logic.data.models.table.config {
1202
+ class ConfigLite {
1203
+ 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>);
1204
+ get players(): games.jass.logic.data.models.table.config.PlayersMode;
1205
+ get points(): games.jass.logic.data.models.table.config.PointsMode;
476
1206
  get timeoutTimeMillis(): number;
1207
+ get rulesPreset(): games.jass.logic.data.models.rules.RulesSetType;
477
1208
  get isPrivate(): boolean;
478
- copy(rules?: com.logic.data.models.rules.Rules, rulesSetType?: com.logic.data.models.rules.RulesSetType, options?: com.debertz.logic.data.models.table.config.Options, playersMode?: com.debertz.logic.data.models.table.config.PlayersMode, pointsMode?: com.debertz.logic.data.models.table.config.PointsMode, timeoutTimeMillis?: number, isPrivate?: boolean): com.debertz.logic.data.models.table.config.Config;
1209
+ get isChatEnabled(): boolean;
1210
+ get isBotsEnabled(): boolean;
1211
+ get rules(): Nullable<games.jass.logic.data.models.rules.Rules>;
1212
+ 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;
479
1213
  toString(): string;
480
1214
  hashCode(): number;
481
1215
  equals(other: Nullable<any>): boolean;
482
1216
  }
483
1217
  }
484
- export declare namespace com.debertz.logic.data.models.table.config {
1218
+ export declare namespace games.jass.logic.data.models.table.config {
485
1219
  class Options {
486
- constructor(isEnableChat?: boolean, botIntelligenceLevel?: com.debertz.logic.data.models.table.config.BotIntelligenceLevel, timeForCountdownMillis?: number, timeForBotMillis?: number, isEnableChoosePartnerScreen?: boolean, isEnablePreviewScreen?: boolean);
1220
+ constructor(isEnableChat?: boolean, isBotsEnabled?: boolean, botIntelligenceLevel?: games.jass.logic.data.models.table.config.BotIntelligenceLevel, timeForCountdownMillis?: number, timeForBotMillis?: number, isEnableChoosePartnerScreen?: boolean);
487
1221
  get isEnableChat(): boolean;
488
- get botIntelligenceLevel(): com.debertz.logic.data.models.table.config.BotIntelligenceLevel;
1222
+ get isBotsEnabled(): boolean;
1223
+ get botIntelligenceLevel(): games.jass.logic.data.models.table.config.BotIntelligenceLevel;
489
1224
  get timeForCountdownMillis(): number;
490
1225
  get timeForBotMillis(): number;
491
1226
  get isEnableChoosePartnerScreen(): boolean;
492
- get isEnablePreviewScreen(): boolean;
493
- copy(isEnableChat?: boolean, botIntelligenceLevel?: com.debertz.logic.data.models.table.config.BotIntelligenceLevel, timeForCountdownMillis?: number, timeForBotMillis?: number, isEnableChoosePartnerScreen?: boolean, isEnablePreviewScreen?: boolean): com.debertz.logic.data.models.table.config.Options;
1227
+ 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;
494
1228
  toString(): string;
495
1229
  hashCode(): number;
496
1230
  equals(other: Nullable<any>): boolean;
497
1231
  }
498
1232
  }
499
- export declare namespace com.debertz.logic.data.models.table.config {
1233
+ export declare namespace games.jass.logic.data.models.table.config {
500
1234
  abstract class PlayersMode {
501
1235
  private constructor();
502
- get value(): number;
503
- static get TWO_PLAYERS(): com.debertz.logic.data.models.table.config.PlayersMode & {
1236
+ static get TWO_PLAYERS(): games.jass.logic.data.models.table.config.PlayersMode & {
504
1237
  get name(): "TWO_PLAYERS";
505
1238
  get ordinal(): 0;
506
1239
  };
507
- static get THREE_PLAYERS(): com.debertz.logic.data.models.table.config.PlayersMode & {
1240
+ static get THREE_PLAYERS(): games.jass.logic.data.models.table.config.PlayersMode & {
508
1241
  get name(): "THREE_PLAYERS";
509
1242
  get ordinal(): 1;
510
1243
  };
511
- static get FOUR_PLAYERS(): com.debertz.logic.data.models.table.config.PlayersMode & {
1244
+ static get FOUR_PLAYERS(): games.jass.logic.data.models.table.config.PlayersMode & {
512
1245
  get name(): "FOUR_PLAYERS";
513
1246
  get ordinal(): 2;
514
1247
  };
515
- static get FOUR_PLAYERS_BY_TEAM(): com.debertz.logic.data.models.table.config.PlayersMode & {
1248
+ static get FOUR_PLAYERS_BY_TEAM(): games.jass.logic.data.models.table.config.PlayersMode & {
516
1249
  get name(): "FOUR_PLAYERS_BY_TEAM";
517
1250
  get ordinal(): 3;
518
1251
  };
519
- get isTeamGame(): boolean;
520
- get count(): number;
521
- static values(): Array<com.debertz.logic.data.models.table.config.PlayersMode>;
522
- static valueOf(value: string): com.debertz.logic.data.models.table.config.PlayersMode;
523
1252
  get name(): "TWO_PLAYERS" | "THREE_PLAYERS" | "FOUR_PLAYERS" | "FOUR_PLAYERS_BY_TEAM";
524
1253
  get ordinal(): 0 | 1 | 2 | 3;
1254
+ get value(): number;
1255
+ get isTeamGame(): boolean;
1256
+ get count(): number;
1257
+ static values(): Array<games.jass.logic.data.models.table.config.PlayersMode>;
1258
+ static valueOf(value: string): games.jass.logic.data.models.table.config.PlayersMode;
525
1259
  static get Companion(): {
526
- create(points: number): com.debertz.logic.data.models.table.config.PlayersMode;
1260
+ create(points: number): games.jass.logic.data.models.table.config.PlayersMode;
527
1261
  } & any/* kotlinx.serialization.internal.SerializerFactory */;
528
1262
  }
529
1263
  }
530
- export declare namespace com.debertz.logic.data.models.table.config {
1264
+ export declare namespace games.jass.logic.data.models.table.config {
531
1265
  abstract class PointsMode {
532
1266
  private constructor();
533
- get value(): number;
534
- static get SMALL(): com.debertz.logic.data.models.table.config.PointsMode & {
1267
+ static get SMALL(): games.jass.logic.data.models.table.config.PointsMode & {
535
1268
  get name(): "SMALL";
536
1269
  get ordinal(): 0;
537
1270
  };
538
- static get MEDIUM(): com.debertz.logic.data.models.table.config.PointsMode & {
1271
+ static get MEDIUM(): games.jass.logic.data.models.table.config.PointsMode & {
539
1272
  get name(): "MEDIUM";
540
1273
  get ordinal(): 1;
541
1274
  };
542
- static get BIG(): com.debertz.logic.data.models.table.config.PointsMode & {
1275
+ static get BIG(): games.jass.logic.data.models.table.config.PointsMode & {
543
1276
  get name(): "BIG";
544
1277
  get ordinal(): 2;
545
1278
  };
546
- static get TEST(): com.debertz.logic.data.models.table.config.PointsMode & {
1279
+ static get TEST(): games.jass.logic.data.models.table.config.PointsMode & {
547
1280
  get name(): "TEST";
548
1281
  get ordinal(): 3;
549
1282
  };
550
- static values(): Array<com.debertz.logic.data.models.table.config.PointsMode>;
551
- static valueOf(value: string): com.debertz.logic.data.models.table.config.PointsMode;
552
1283
  get name(): "SMALL" | "MEDIUM" | "BIG" | "TEST";
553
1284
  get ordinal(): 0 | 1 | 2 | 3;
1285
+ get value(): number;
1286
+ static values(): Array<games.jass.logic.data.models.table.config.PointsMode>;
1287
+ static valueOf(value: string): games.jass.logic.data.models.table.config.PointsMode;
554
1288
  static get Companion(): {
555
- create(points: number): com.debertz.logic.data.models.table.config.PointsMode;
1289
+ create(points: number): games.jass.logic.data.models.table.config.PointsMode;
556
1290
  } & any/* kotlinx.serialization.internal.SerializerFactory */;
557
1291
  }
558
1292
  }
559
- export declare namespace com.debertz.logic.domain.interactors.dealer {
1293
+ export declare namespace games.jass.logic.data.models.table.history {
1294
+ class GameHistory {
1295
+ constructor(gameId: string, createdAt: any/* kotlinx.datetime.Instant */, rounds: Array<games.jass.logic.data.models.table.history.RoundHistory>, gameWinners: Nullable<Array<string>>, metadata: Nullable<games.jass.logic.data.models.table.history.GameHistoryMetadata>);
1296
+ get gameId(): string;
1297
+ get createdAt(): any/* kotlinx.datetime.Instant */;
1298
+ get rounds(): Array<games.jass.logic.data.models.table.history.RoundHistory>;
1299
+ get gameWinners(): Nullable<Array<string>>;
1300
+ get metadata(): Nullable<games.jass.logic.data.models.table.history.GameHistoryMetadata>;
1301
+ get date(): string;
1302
+ get lastRoundHistory(): games.jass.logic.data.models.table.history.RoundHistory;
1303
+ get isFirstRound(): boolean;
1304
+ get roundsCount(): number;
1305
+ toString(): string;
1306
+ equals(other: Nullable<any>): boolean;
1307
+ hashCode(): number;
1308
+ copy(gameId?: string, createdAt?: any/* kotlinx.datetime.Instant */, rounds?: Array<games.jass.logic.data.models.table.history.RoundHistory>, gameWinners?: Nullable<Array<string>>, metadata?: Nullable<games.jass.logic.data.models.table.history.GameHistoryMetadata>): games.jass.logic.data.models.table.history.GameHistory;
1309
+ static get Companion(): {
1310
+ initial(gameId: string, createdAt?: any/* kotlinx.datetime.Instant */): games.jass.logic.data.models.table.history.GameHistory;
1311
+ };
1312
+ }
1313
+ }
1314
+ export declare namespace games.jass.logic.data.models.table.history {
1315
+ class GameHistoryMetadata {
1316
+ constructor(randomData: Nullable<games.jass.logic.data.models.dealer.RandomData>, playersAnalytics: kotlin.collections.KtList<games.jass.logic.data.models.player.analytics.PlayerHistoryAnalytics>);
1317
+ get randomData(): Nullable<games.jass.logic.data.models.dealer.RandomData>;
1318
+ get playersAnalytics(): kotlin.collections.KtList<games.jass.logic.data.models.player.analytics.PlayerHistoryAnalytics>;
1319
+ copy(randomData?: Nullable<games.jass.logic.data.models.dealer.RandomData>, playersAnalytics?: kotlin.collections.KtList<games.jass.logic.data.models.player.analytics.PlayerHistoryAnalytics>): games.jass.logic.data.models.table.history.GameHistoryMetadata;
1320
+ toString(): string;
1321
+ hashCode(): number;
1322
+ equals(other: Nullable<any>): boolean;
1323
+ static get Companion(): {
1324
+ initial(): games.jass.logic.data.models.table.history.GameHistoryMetadata;
1325
+ };
1326
+ }
1327
+ }
1328
+ export declare namespace games.jass.logic.data.models.table.history {
1329
+ class RoundHistory {
1330
+ 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>>);
1331
+ get roundNumber(): number;
1332
+ get items(): Array<games.jass.logic.data.models.table.history.RoundHistoryItem>;
1333
+ get roundCommitted(): Nullable<Array<string>>;
1334
+ get roundContractState(): Nullable<games.jass.logic.data.models.player.state.RoundContractState>;
1335
+ get roundWinners(): Nullable<Array<string>>;
1336
+ get roundContractStateName(): Nullable<string>;
1337
+ equals(other: Nullable<any>): boolean;
1338
+ hashCode(): number;
1339
+ toStringShort(): string;
1340
+ 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;
1341
+ toString(): string;
1342
+ static get Companion(): {
1343
+ initial(roundNumber: number): games.jass.logic.data.models.table.history.RoundHistory;
1344
+ };
1345
+ }
1346
+ }
1347
+ export declare namespace games.jass.logic.data.models.table.history {
1348
+ abstract class RoundHistoryItem {
1349
+ protected constructor();
1350
+ abstract get createdAt(): any/* kotlinx.datetime.Instant */;
1351
+ }
1352
+ }
1353
+ export declare namespace games.jass.logic.data.models.table.round {
1354
+ class Round {
1355
+ constructor(roundNumber: number, numberOfBribe: Nullable<number>, trump: Nullable<any>/* Nullable<io.raspberryapps.card_game.core.data.models.cards.Suit> */);
1356
+ get roundNumber(): number;
1357
+ get numberOfBribe(): Nullable<number>;
1358
+ get trump(): Nullable<any>/* Nullable<io.raspberryapps.card_game.core.data.models.cards.Suit> */;
1359
+ get selectedTrump(): any/* io.raspberryapps.card_game.core.data.models.cards.Suit */;
1360
+ get numberOfBribeOrZero(): number;
1361
+ copy(roundNumber?: number, numberOfBribe?: Nullable<number>, trump?: Nullable<any>/* Nullable<io.raspberryapps.card_game.core.data.models.cards.Suit> */): games.jass.logic.data.models.table.round.Round;
1362
+ toString(): string;
1363
+ hashCode(): number;
1364
+ equals(other: Nullable<any>): boolean;
1365
+ static get Companion(): {
1366
+ initial(): games.jass.logic.data.models.table.round.Round;
1367
+ };
1368
+ }
1369
+ }
1370
+ export declare namespace games.jass.logic.domain.interactors.dealer {
560
1371
  abstract class DealerStrategy {
561
1372
  private constructor();
562
- static get FAKE(): com.debertz.logic.domain.interactors.dealer.DealerStrategy & {
1373
+ static get FAKE(): games.jass.logic.domain.interactors.dealer.DealerStrategy & {
563
1374
  get name(): "FAKE";
564
1375
  get ordinal(): 0;
565
1376
  };
566
- static get BASED_ON_PREVIOUS(): com.debertz.logic.domain.interactors.dealer.DealerStrategy & {
1377
+ static get BASED_ON_PREVIOUS(): games.jass.logic.domain.interactors.dealer.DealerStrategy & {
567
1378
  get name(): "BASED_ON_PREVIOUS";
568
1379
  get ordinal(): 1;
569
1380
  };
570
- static get EQUAL_HAND_BY_POINTS(): com.debertz.logic.domain.interactors.dealer.DealerStrategy & {
1381
+ static get EQUAL_HAND_BY_POINTS(): games.jass.logic.domain.interactors.dealer.DealerStrategy & {
571
1382
  get name(): "EQUAL_HAND_BY_POINTS";
572
1383
  get ordinal(): 2;
573
1384
  };
574
- static get EQUAL_HAND_BY_VALUE(): com.debertz.logic.domain.interactors.dealer.DealerStrategy & {
1385
+ static get EQUAL_HAND_BY_VALUE(): games.jass.logic.domain.interactors.dealer.DealerStrategy & {
575
1386
  get name(): "EQUAL_HAND_BY_VALUE";
576
1387
  get ordinal(): 3;
577
1388
  };
578
- static get RANDOM(): com.debertz.logic.domain.interactors.dealer.DealerStrategy & {
1389
+ static get RANDOM(): games.jass.logic.domain.interactors.dealer.DealerStrategy & {
579
1390
  get name(): "RANDOM";
580
1391
  get ordinal(): 4;
581
1392
  };
1393
+ static get RANDOM_ORG(): games.jass.logic.domain.interactors.dealer.DealerStrategy & {
1394
+ get name(): "RANDOM_ORG";
1395
+ get ordinal(): 5;
1396
+ };
1397
+ static get RANDOM_ORG_SIGNED(): games.jass.logic.domain.interactors.dealer.DealerStrategy & {
1398
+ get name(): "RANDOM_ORG_SIGNED";
1399
+ get ordinal(): 6;
1400
+ };
1401
+ get name(): "FAKE" | "BASED_ON_PREVIOUS" | "EQUAL_HAND_BY_POINTS" | "EQUAL_HAND_BY_VALUE" | "RANDOM" | "RANDOM_ORG" | "RANDOM_ORG_SIGNED";
1402
+ get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6;
582
1403
  shouldEqualiseHand(): boolean;
583
- static values(): Array<com.debertz.logic.domain.interactors.dealer.DealerStrategy>;
584
- static valueOf(value: string): com.debertz.logic.domain.interactors.dealer.DealerStrategy;
585
- get name(): "FAKE" | "BASED_ON_PREVIOUS" | "EQUAL_HAND_BY_POINTS" | "EQUAL_HAND_BY_VALUE" | "RANDOM";
586
- get ordinal(): 0 | 1 | 2 | 3 | 4;
1404
+ static values(): Array<games.jass.logic.domain.interactors.dealer.DealerStrategy>;
1405
+ static valueOf(value: string): games.jass.logic.domain.interactors.dealer.DealerStrategy;
587
1406
  }
588
1407
  }
589
- export declare namespace com.debertz.logic.redux.actions {
1408
+ export declare namespace games.jass.logic.redux.actions {
590
1409
  const ClearAction: {
591
1410
  toString(): string;
1411
+ hashCode(): number;
1412
+ equals(other: Nullable<any>): boolean;
592
1413
  get actionTag(): string;
593
1414
  notValidateWhenFinishing(): boolean;
594
1415
  notValidateWhenFinished(): boolean;
595
- readonly __doNotUseOrImplementIt: com.logic.domain.engine.definitions.Action["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinishing["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinished["__doNotUseOrImplementIt"];
596
- } & com.logic.domain.engine.definitions.Action & com.logic.redux.actions.validation.NotValidateIfGameFinishing & com.logic.redux.actions.validation.NotValidateIfGameFinished;
1416
+ readonly __doNotUseOrImplementIt: com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinishing["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinished["__doNotUseOrImplementIt"];
1417
+ } & com.logic.redux.store.definitions.Action & com.logic.redux.actions.validation.NotValidateIfGameFinishing & com.logic.redux.actions.validation.NotValidateIfGameFinished;
597
1418
  }
598
- export declare namespace com.debertz.logic.redux.actions.client.from {
599
- abstract class FromClientAction implements com.logic.domain.engine.definitions.Action {
1419
+ export declare namespace games.jass.logic.redux.actions.client.from {
1420
+ abstract class FromClientAction implements com.logic.redux.store.definitions.Action {
600
1421
  protected constructor();
601
1422
  abstract get playerId(): string;
1423
+ abstract get fromBot(): boolean;
602
1424
  get actionTag(): string;
603
- readonly __doNotUseOrImplementIt: com.logic.domain.engine.definitions.Action["__doNotUseOrImplementIt"];
1425
+ readonly __doNotUseOrImplementIt: com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
604
1426
  }
605
1427
  }
606
- export declare namespace com.debertz.logic.redux.actions.client.to {
1428
+ export declare namespace games.jass.logic.redux.actions.client.to {
607
1429
  class ActionDeliveryPayload {
608
- constructor(roomId: string, includePlayers: Array<string>, excludePlayers: Array<string>, deliveryType: com.debertz.logic.redux.actions.client.to.ActionDeliveryType);
609
- get roomId(): string;
1430
+ constructor(tableId: string, aid: string, includePlayers: Array<string>, excludePlayers: Array<string>, deliveryType: games.jass.logic.redux.actions.client.to.ActionDeliveryType);
1431
+ get id(): string;
1432
+ get aid(): string;
610
1433
  get includePlayers(): Array<string>;
611
1434
  get excludePlayers(): Array<string>;
612
- get deliveryType(): com.debertz.logic.redux.actions.client.to.ActionDeliveryType;
1435
+ get deliveryType(): games.jass.logic.redux.actions.client.to.ActionDeliveryType;
613
1436
  get excludePlayerOrNull(): Nullable<string>;
614
1437
  get sendToPlayerId(): string;
615
1438
  get excludePlayerId(): string;
1439
+ toString(): string;
616
1440
  equals(other: Nullable<any>): boolean;
617
1441
  hashCode(): number;
618
- copy(roomId?: string, includePlayers?: Array<string>, excludePlayers?: Array<string>, deliveryType?: com.debertz.logic.redux.actions.client.to.ActionDeliveryType): com.debertz.logic.redux.actions.client.to.ActionDeliveryPayload;
619
- toString(): string;
1442
+ copy(tableId?: string, aid?: string, includePlayers?: Array<string>, excludePlayers?: Array<string>, deliveryType?: games.jass.logic.redux.actions.client.to.ActionDeliveryType): games.jass.logic.redux.actions.client.to.ActionDeliveryPayload;
620
1443
  static get Companion(): {
621
- user(roomId: string, sendToPlayerId: string): com.debertz.logic.redux.actions.client.to.ActionDeliveryPayload;
1444
+ userFromTable(aid: string, table: games.jass.logic.data.models.table.JassTable, sendToPlayerId: string): games.jass.logic.redux.actions.client.to.ActionDeliveryPayload;
1445
+ user(aid: string, tableId: string, sendToPlayerId: string): games.jass.logic.redux.actions.client.to.ActionDeliveryPayload;
622
1446
  };
623
1447
  }
624
1448
  abstract class ActionDeliveryType {
625
1449
  private constructor();
626
- static get ROOM_ALL(): com.debertz.logic.redux.actions.client.to.ActionDeliveryType & {
1450
+ static get ROOM_ALL(): games.jass.logic.redux.actions.client.to.ActionDeliveryType & {
627
1451
  get name(): "ROOM_ALL";
628
1452
  get ordinal(): 0;
629
1453
  };
630
- static get ROOM_EXCEPT_USER(): com.debertz.logic.redux.actions.client.to.ActionDeliveryType & {
1454
+ static get ROOM_EXCEPT_USER(): games.jass.logic.redux.actions.client.to.ActionDeliveryType & {
631
1455
  get name(): "ROOM_EXCEPT_USER";
632
1456
  get ordinal(): 1;
633
1457
  };
634
- static get USER(): com.debertz.logic.redux.actions.client.to.ActionDeliveryType & {
1458
+ static get USER(): games.jass.logic.redux.actions.client.to.ActionDeliveryType & {
635
1459
  get name(): "USER";
636
1460
  get ordinal(): 2;
637
1461
  };
638
- static values(): Array<com.debertz.logic.redux.actions.client.to.ActionDeliveryType>;
639
- static valueOf(value: string): com.debertz.logic.redux.actions.client.to.ActionDeliveryType;
640
1462
  get name(): "ROOM_ALL" | "ROOM_EXCEPT_USER" | "USER";
641
1463
  get ordinal(): 0 | 1 | 2;
1464
+ static values(): Array<games.jass.logic.redux.actions.client.to.ActionDeliveryType>;
1465
+ static valueOf(value: string): games.jass.logic.redux.actions.client.to.ActionDeliveryType;
642
1466
  static get Companion(): {
643
1467
  } & any/* kotlinx.serialization.internal.SerializerFactory */;
644
1468
  }
645
1469
  }
646
- export declare namespace com.debertz.logic.redux.actions.client.to {
647
- abstract class ToClientAction implements com.logic.domain.engine.definitions.Action {
1470
+ export declare namespace games.jass.logic.redux.actions.client.to {
1471
+ abstract class ToClientAction implements com.logic.redux.store.definitions.Action {
648
1472
  protected constructor();
649
- abstract get deliveryPayload(): com.debertz.logic.redux.actions.client.to.ActionDeliveryPayload;
1473
+ abstract get deliveryPayload(): games.jass.logic.redux.actions.client.to.ActionDeliveryPayload;
650
1474
  get actionTag(): string;
651
- readonly __doNotUseOrImplementIt: com.logic.domain.engine.definitions.Action["__doNotUseOrImplementIt"];
1475
+ readonly __doNotUseOrImplementIt: com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
652
1476
  }
653
1477
  }
654
- export declare namespace com.debertz.logic.redux.actions.game {
655
- abstract class GameAction implements com.logic.domain.engine.definitions.Action {
1478
+ export declare namespace games.jass.logic.redux.actions.game {
1479
+ abstract class GameAction implements com.logic.redux.store.definitions.Action {
656
1480
  protected constructor();
657
1481
  get actionTag(): string;
658
- readonly __doNotUseOrImplementIt: com.logic.domain.engine.definitions.Action["__doNotUseOrImplementIt"];
1482
+ readonly __doNotUseOrImplementIt: com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
659
1483
  }
660
- class PartyStartedAction extends com.debertz.logic.redux.actions.game.GameAction {
661
- constructor(roomId: string, partyNumber: number, players: Array<string>, isFirstParty: boolean, gameNumber: number);
662
- get roomId(): string;
1484
+ class RoundStartedAction extends games.jass.logic.redux.actions.game.GameAction {
1485
+ constructor(id: string, gameId: string, roundNumber: number, players: Array<string>, isFirstRound: boolean, gameNumber: number, gameHistory: games.jass.logic.data.models.table.history.GameHistory);
1486
+ get id(): string;
1487
+ get gameId(): string;
663
1488
  get partyNumber(): number;
664
1489
  get players(): Array<string>;
665
- get isFirstParty(): boolean;
1490
+ get isFirstRound(): boolean;
666
1491
  get gameNumber(): number;
1492
+ get gameHistory(): games.jass.logic.data.models.table.history.GameHistory;
1493
+ toString(): string;
667
1494
  equals(other: Nullable<any>): boolean;
668
1495
  hashCode(): number;
669
- toString(): string;
670
- copy(roomId?: string, partyNumber?: number, players?: Array<string>, isFirstParty?: boolean, gameNumber?: number): com.debertz.logic.redux.actions.game.PartyStartedAction;
1496
+ 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;
671
1497
  get actionTag(): string;
672
1498
  }
673
- class PartyEndedAction extends com.debertz.logic.redux.actions.game.GameAction {
674
- constructor(roomId: string, partyNumber: number, earnedBiggestPointPlayerId: string, partyLosers: Array<string>, partyWinners: Array<string>, gameLosers?: Nullable<Array<string>>, gameWinners?: Nullable<Array<string>>, luckyFactors?: Nullable<Array<com.logic.data.models.player.PlayerLuckyFactor>>);
675
- get roomId(): string;
676
- get partyNumber(): number;
1499
+ class RoundEndedAction extends games.jass.logic.redux.actions.game.GameAction {
1500
+ 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.analytics.PlayerAnalytics>>, playersRoundAnalytics: Nullable<Array<games.jass.logic.data.models.player.analytics.PlayerAnalytics>>, achievements: Nullable<Array<games.jass.logic.data.models.player.achievements.PlayerAchievements>>, gameHistory: games.jass.logic.data.models.table.history.GameHistory);
1501
+ get id(): string;
1502
+ get gameId(): string;
1503
+ get roundNumber(): number;
677
1504
  get earnedBiggestPointPlayerId(): string;
678
- get partyLosers(): Array<string>;
679
- get partyWinners(): Array<string>;
680
1505
  get gameLosers(): Nullable<Array<string>>;
681
1506
  get gameWinners(): Nullable<Array<string>>;
682
- get luckyFactors(): Nullable<Array<com.logic.data.models.player.PlayerLuckyFactor>>;
1507
+ get playersGameAnalytics(): Nullable<Array<games.jass.logic.data.models.player.analytics.PlayerAnalytics>>;
1508
+ get playersRoundAnalytics(): Nullable<Array<games.jass.logic.data.models.player.analytics.PlayerAnalytics>>;
1509
+ get achievements(): Nullable<Array<games.jass.logic.data.models.player.achievements.PlayerAchievements>>;
1510
+ get gameHistory(): games.jass.logic.data.models.table.history.GameHistory;
683
1511
  get isGameFinished(): boolean;
1512
+ toString(): string;
684
1513
  equals(other: Nullable<any>): boolean;
685
1514
  hashCode(): number;
686
- toString(): string;
687
- copy(roomId?: string, partyNumber?: number, earnedBiggestPointPlayerId?: string, partyLosers?: Array<string>, partyWinners?: Array<string>, gameLosers?: Nullable<Array<string>>, gameWinners?: Nullable<Array<string>>, luckyFactors?: Nullable<Array<com.logic.data.models.player.PlayerLuckyFactor>>): com.debertz.logic.redux.actions.game.PartyEndedAction;
1515
+ 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.analytics.PlayerAnalytics>>, playersRoundAnalytics?: Nullable<Array<games.jass.logic.data.models.player.analytics.PlayerAnalytics>>, achievements?: Nullable<Array<games.jass.logic.data.models.player.achievements.PlayerAchievements>>, gameHistory?: games.jass.logic.data.models.table.history.GameHistory): games.jass.logic.redux.actions.game.RoundEndedAction;
688
1516
  get actionTag(): string;
689
1517
  }
690
- class PartyRestartedAction implements com.logic.domain.engine.definitions.Action {
691
- constructor(roomId: string, partyNumber: number);
692
- get roomId(): string;
1518
+ class PartyRestartedAction implements com.logic.redux.store.definitions.Action {
1519
+ constructor(id: string, roundNumber: number);
1520
+ get id(): string;
693
1521
  get partyNumber(): number;
694
- copy(roomId?: string, partyNumber?: number): com.debertz.logic.redux.actions.game.PartyRestartedAction;
1522
+ copy(id?: string, roundNumber?: number): games.jass.logic.redux.actions.game.PartyRestartedAction;
695
1523
  toString(): string;
696
1524
  hashCode(): number;
697
1525
  equals(other: Nullable<any>): boolean;
698
1526
  get actionTag(): string;
699
- readonly __doNotUseOrImplementIt: com.logic.domain.engine.definitions.Action["__doNotUseOrImplementIt"];
1527
+ readonly __doNotUseOrImplementIt: com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
1528
+ }
1529
+ }
1530
+ export declare namespace games.jass.logic.redux.actions.mechanic {
1531
+ class GameToRoomTransition {
1532
+ constructor(roomId: string, playerIds: kotlin.collections.KtList<string>);
1533
+ get roomId(): string;
1534
+ get playerIds(): kotlin.collections.KtList<string>;
1535
+ copy(roomId?: string, playerIds?: kotlin.collections.KtList<string>): games.jass.logic.redux.actions.mechanic.GameToRoomTransition;
1536
+ toString(): string;
1537
+ hashCode(): number;
1538
+ equals(other: Nullable<any>): boolean;
700
1539
  }
701
1540
  }
702
- export declare namespace com.debertz.logic.redux.actions.mechanic {
1541
+ export declare namespace games.jass.logic.redux.actions.mechanic {
703
1542
  abstract class MechanicAction implements com.logic.redux.actions.BufferedAction {
704
1543
  protected constructor();
1544
+ abstract get aid(): Nullable<string>;
705
1545
  get actionTag(): string;
706
1546
  readonly __doNotUseOrImplementIt: com.logic.redux.actions.BufferedAction["__doNotUseOrImplementIt"];
707
1547
  }
708
- class FinishingGameMechanicAction extends com.debertz.logic.redux.actions.mechanic.MechanicAction implements com.debertz.logic.redux.actions.mechanic.TerminatedAction {
709
- constructor(reason: com.logic.data.models.TerminationGameReason);
1548
+ interface FirstMechanicAction extends com.logic.redux.store.definitions.Action, com.logic.redux.actions.IgnoreBufferForAction {
1549
+ readonly id: string;
1550
+ readonly version: string;
1551
+ readonly users: kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>;
1552
+ readonly config: games.jass.logic.data.models.table.config.Config;
1553
+ readonly gameCreatorPlayerId: string;
1554
+ readonly __doNotUseOrImplementIt: {
1555
+ readonly "games.jass.logic.redux.actions.mechanic.FirstMechanicAction": unique symbol;
1556
+ } & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"] & com.logic.redux.actions.IgnoreBufferForAction["__doNotUseOrImplementIt"];
1557
+ }
1558
+ class StartGameMechanicAction extends games.jass.logic.redux.actions.mechanic.MechanicAction implements games.jass.logic.redux.actions.mechanic.FirstMechanicAction {
1559
+ constructor(config: games.jass.logic.data.models.table.config.Config, roomId: string, version: string, gameCreatorPlayerId: string, users: kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>, aid?: Nullable<string>);
1560
+ get config(): games.jass.logic.data.models.table.config.Config;
1561
+ get id(): string;
1562
+ get version(): string;
1563
+ get gameCreatorPlayerId(): string;
1564
+ get users(): kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>;
1565
+ get aid(): Nullable<string>;
1566
+ copy(config?: games.jass.logic.data.models.table.config.Config, roomId?: string, version?: string, gameCreatorPlayerId?: string, users?: kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>, aid?: Nullable<string>): games.jass.logic.redux.actions.mechanic.StartGameMechanicAction;
1567
+ toString(): string;
1568
+ hashCode(): number;
1569
+ equals(other: Nullable<any>): boolean;
1570
+ get actionTag(): string;
1571
+ readonly __doNotUseOrImplementIt: games.jass.logic.redux.actions.mechanic.MechanicAction["__doNotUseOrImplementIt"] & games.jass.logic.redux.actions.mechanic.FirstMechanicAction["__doNotUseOrImplementIt"];
1572
+ }
1573
+ class StartNewGameMechanicAction extends games.jass.logic.redux.actions.mechanic.MechanicAction {
1574
+ constructor(previousGameId: string, gameId: string, aid?: Nullable<string>);
1575
+ get previousGameId(): string;
1576
+ get gameId(): string;
1577
+ get aid(): Nullable<string>;
1578
+ copy(previousGameId?: string, gameId?: string, aid?: Nullable<string>): games.jass.logic.redux.actions.mechanic.StartNewGameMechanicAction;
1579
+ toString(): string;
1580
+ hashCode(): number;
1581
+ equals(other: Nullable<any>): boolean;
1582
+ get actionTag(): string;
1583
+ }
1584
+ /* @ts-ignore: https://github.com/microsoft/TypeScript/issues/4628 */
1585
+ class FinishingGameMechanicAction extends games.jass.logic.redux.actions.mechanic.MechanicAction implements games.jass.logic.redux.actions.mechanic.TerminatedAction, com.logic.redux.actions.validation.NotValidateIfGameFinishing {
1586
+ constructor(reason: com.logic.data.models.TerminationGameReason, isGameFinished: boolean, transition?: Nullable<games.jass.logic.redux.actions.mechanic.GameToRoomTransition>, sessionAnalytics?: Nullable<games.jass.logic.data.models.GameSessionAnalytics>, gameHistory?: Nullable<games.jass.logic.data.models.table.history.GameHistory>, aid?: Nullable<string>);
710
1587
  get reason(): com.logic.data.models.TerminationGameReason;
711
- copy(reason?: com.logic.data.models.TerminationGameReason): com.debertz.logic.redux.actions.mechanic.FinishingGameMechanicAction;
1588
+ get isGameFinished(): boolean;
1589
+ get transition(): Nullable<games.jass.logic.redux.actions.mechanic.GameToRoomTransition>;
1590
+ get sessionAnalytics(): Nullable<games.jass.logic.data.models.GameSessionAnalytics>;
1591
+ get gameHistory(): Nullable<games.jass.logic.data.models.table.history.GameHistory>;
1592
+ get aid(): Nullable<string>;
712
1593
  toString(): string;
1594
+ copy(reason?: com.logic.data.models.TerminationGameReason, isGameFinished?: boolean, transition?: Nullable<games.jass.logic.redux.actions.mechanic.GameToRoomTransition>, sessionAnalytics?: Nullable<games.jass.logic.data.models.GameSessionAnalytics>, gameHistory?: Nullable<games.jass.logic.data.models.table.history.GameHistory>, aid?: Nullable<string>): games.jass.logic.redux.actions.mechanic.FinishingGameMechanicAction;
713
1595
  hashCode(): number;
714
1596
  equals(other: Nullable<any>): boolean;
715
1597
  get actionTag(): string;
716
- readonly __doNotUseOrImplementIt: com.debertz.logic.redux.actions.mechanic.MechanicAction["__doNotUseOrImplementIt"] & com.debertz.logic.redux.actions.mechanic.TerminatedAction["__doNotUseOrImplementIt"];
1598
+ notValidateWhenFinishing(): boolean;
1599
+ readonly __doNotUseOrImplementIt: games.jass.logic.redux.actions.mechanic.MechanicAction["__doNotUseOrImplementIt"] & games.jass.logic.redux.actions.mechanic.TerminatedAction["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinishing["__doNotUseOrImplementIt"];
1600
+ static get Companion(): {
1601
+ withAnalytics(reason: com.logic.data.models.TerminationGameReason, isGameFinished: boolean, table: Nullable<games.jass.logic.data.models.table.JassTable>, transition?: Nullable<games.jass.logic.redux.actions.mechanic.GameToRoomTransition>): games.jass.logic.redux.actions.mechanic.FinishingGameMechanicAction;
1602
+ };
717
1603
  }
718
- class FinishGameMechanicAction extends com.debertz.logic.redux.actions.mechanic.MechanicAction implements com.logic.redux.actions.validation.NotValidateIfGameFinishing, com.debertz.logic.redux.actions.mechanic.TerminatedAction {
719
- constructor(reason: com.logic.data.models.TerminationGameReason);
1604
+ class FinishGameMechanicAction extends games.jass.logic.redux.actions.mechanic.MechanicAction implements com.logic.redux.actions.validation.NotValidateIfGameFinishing, games.jass.logic.redux.actions.mechanic.TerminatedAction {
1605
+ constructor(reason: com.logic.data.models.TerminationGameReason, isGameFinished: boolean, aid?: Nullable<string>);
720
1606
  get reason(): com.logic.data.models.TerminationGameReason;
721
- copy(reason?: com.logic.data.models.TerminationGameReason): com.debertz.logic.redux.actions.mechanic.FinishGameMechanicAction;
1607
+ get isGameFinished(): boolean;
1608
+ get aid(): Nullable<string>;
1609
+ copy(reason?: com.logic.data.models.TerminationGameReason, isGameFinished?: boolean, aid?: Nullable<string>): games.jass.logic.redux.actions.mechanic.FinishGameMechanicAction;
722
1610
  toString(): string;
723
1611
  hashCode(): number;
724
1612
  equals(other: Nullable<any>): boolean;
725
1613
  get actionTag(): string;
726
1614
  notValidateWhenFinishing(): boolean;
727
- readonly __doNotUseOrImplementIt: com.debertz.logic.redux.actions.mechanic.MechanicAction["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinishing["__doNotUseOrImplementIt"] & com.debertz.logic.redux.actions.mechanic.TerminatedAction["__doNotUseOrImplementIt"];
1615
+ 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"];
728
1616
  }
729
- interface NavigationMechanicAction extends com.logic.domain.engine.definitions.Action {
1617
+ interface NavigationMechanicAction extends com.logic.redux.store.definitions.Action {
730
1618
  readonly sceneId: string;
731
1619
  readonly actId: Nullable<string>;
732
- readonly actPayload: Nullable<com.debertz.logic.data.models.scenes.ActData>;
733
- readonly actionTag: string;
1620
+ readonly actData: Nullable<games.jass.logic.data.models.scenes.ActData>;
734
1621
  readonly __doNotUseOrImplementIt: {
735
- readonly "com.debertz.logic.redux.actions.mechanic.NavigationMechanicAction": unique symbol;
736
- } & com.logic.domain.engine.definitions.Action["__doNotUseOrImplementIt"];
1622
+ readonly "games.jass.logic.redux.actions.mechanic.NavigationMechanicAction": unique symbol;
1623
+ } & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
737
1624
  }
738
- class SceneMechanicAction extends com.debertz.logic.redux.actions.mechanic.MechanicAction implements com.debertz.logic.redux.actions.mechanic.NavigationMechanicAction, com.logic.domain.engine.definitions.Action, com.logic.redux.actions.ReleaseBufferTriggerAction, com.logic.redux.actions.validation.NotValidateIfGameFinishing, com.logic.redux.actions.validation.NotValidateIfGameFinished/*, com.debertz.logic.redux.actions.mechanic.NextPlayerTurnAction */ {
739
- constructor(sceneId: string, actId?: Nullable<string>, scenePayload?: Nullable<com.debertz.logic.data.models.scenes.SceneData>, actPayload?: Nullable<com.debertz.logic.data.models.scenes.ActData>);
1625
+ 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 */ {
1626
+ constructor(sceneId: string, actId?: Nullable<string>, sceneData?: Nullable<games.jass.logic.data.models.scenes.SceneData>, actData?: Nullable<games.jass.logic.data.models.scenes.ActData>, aid?: Nullable<string>);
740
1627
  get sceneId(): string;
741
1628
  get actId(): Nullable<string>;
742
- get scenePayload(): Nullable<com.debertz.logic.data.models.scenes.SceneData>;
743
- get actPayload(): Nullable<com.debertz.logic.data.models.scenes.ActData>;
1629
+ get sceneData(): Nullable<games.jass.logic.data.models.scenes.SceneData>;
1630
+ get actData(): Nullable<games.jass.logic.data.models.scenes.ActData>;
1631
+ get aid(): Nullable<string>;
744
1632
  notValidateWhenFinished(): boolean;
745
1633
  notValidateWhenFinishing(): boolean;
746
- copy(sceneId?: string, actId?: Nullable<string>, scenePayload?: Nullable<com.debertz.logic.data.models.scenes.SceneData>, actPayload?: Nullable<com.debertz.logic.data.models.scenes.ActData>): com.debertz.logic.redux.actions.mechanic.SceneMechanicAction;
747
1634
  toString(): string;
1635
+ copy(sceneId?: string, actId?: Nullable<string>, sceneData?: Nullable<games.jass.logic.data.models.scenes.SceneData>, actData?: Nullable<games.jass.logic.data.models.scenes.ActData>, aid?: Nullable<string>): games.jass.logic.redux.actions.mechanic.SceneMechanicAction;
748
1636
  hashCode(): number;
749
1637
  equals(other: Nullable<any>): boolean;
750
1638
  get actionTag(): string;
751
- readonly __doNotUseOrImplementIt: com.debertz.logic.redux.actions.mechanic.MechanicAction["__doNotUseOrImplementIt"] & com.debertz.logic.redux.actions.mechanic.NavigationMechanicAction["__doNotUseOrImplementIt"] & com.logic.domain.engine.definitions.Action["__doNotUseOrImplementIt"] & com.logic.redux.actions.ReleaseBufferTriggerAction["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinishing["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinished["__doNotUseOrImplementIt"];
1639
+ 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"];
752
1640
  }
753
- interface TerminatedAction extends com.logic.domain.engine.definitions.Action {
1641
+ interface TerminatedAction extends com.logic.redux.store.definitions.Action {
754
1642
  readonly reason: com.logic.data.models.TerminationGameReason;
755
- readonly actionTag: string;
1643
+ readonly isGameFinished: boolean;
756
1644
  readonly __doNotUseOrImplementIt: {
757
- readonly "com.debertz.logic.redux.actions.mechanic.TerminatedAction": unique symbol;
758
- } & com.logic.domain.engine.definitions.Action["__doNotUseOrImplementIt"];
1645
+ readonly "games.jass.logic.redux.actions.mechanic.TerminatedAction": unique symbol;
1646
+ } & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
759
1647
  }
760
- class PlayerConnectionChangedMechanicAction extends com.debertz.logic.redux.actions.mechanic.MechanicAction implements com.logic.redux.actions.validation.NotValidateIfGameFinishing, com.logic.redux.actions.validation.NotValidateIfGameFinished {
761
- constructor(playerId: string, state: com.logic.data.models.player.PlayerConnectionState, isNoneActivePlayers?: boolean, reconnectUntilTime?: Nullable<string>);
1648
+ class PlayerConnectionChangedMechanicAction extends games.jass.logic.redux.actions.mechanic.MechanicAction implements com.logic.redux.actions.validation.NotValidateIfGameFinishing, com.logic.redux.actions.validation.NotValidateIfGameFinished {
1649
+ constructor(playerId: string, state: com.logic.data.models.player.PlayerConnectionState, causeState?: Nullable<com.logic.data.models.player.PlayerConnectionState>, isNoneActivePlayers?: boolean, reconnectUntilTime?: Nullable<string>, aid?: Nullable<string>);
762
1650
  get playerId(): string;
763
1651
  get state(): com.logic.data.models.player.PlayerConnectionState;
1652
+ get causeState(): Nullable<com.logic.data.models.player.PlayerConnectionState>;
764
1653
  get isNoneActivePlayers(): boolean;
765
1654
  get reconnectUntilTime(): Nullable<string>;
766
- get isLive(): boolean;
767
- get isTimeOut(): boolean;
768
- get isLostConnection(): boolean;
769
- get isLeft(): boolean;
1655
+ get aid(): Nullable<string>;
1656
+ get isShouldBeDisconnectedFromSockets(): boolean;
770
1657
  get isDeleted(): boolean;
771
- get shouldNotifyPlayers(): boolean;
772
- copy(playerId?: string, state?: com.logic.data.models.player.PlayerConnectionState, isNoneActivePlayers?: boolean, reconnectUntilTime?: Nullable<string>): com.debertz.logic.redux.actions.mechanic.PlayerConnectionChangedMechanicAction;
773
1658
  toString(): string;
1659
+ copy(playerId?: string, state?: com.logic.data.models.player.PlayerConnectionState, causeState?: Nullable<com.logic.data.models.player.PlayerConnectionState>, isNoneActivePlayers?: boolean, reconnectUntilTime?: Nullable<string>, aid?: Nullable<string>): games.jass.logic.redux.actions.mechanic.PlayerConnectionChangedMechanicAction;
774
1660
  hashCode(): number;
775
1661
  equals(other: Nullable<any>): boolean;
776
1662
  get actionTag(): string;
777
1663
  notValidateWhenFinishing(): boolean;
778
1664
  notValidateWhenFinished(): boolean;
779
- readonly __doNotUseOrImplementIt: com.debertz.logic.redux.actions.mechanic.MechanicAction["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinishing["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinished["__doNotUseOrImplementIt"];
1665
+ readonly __doNotUseOrImplementIt: games.jass.logic.redux.actions.mechanic.MechanicAction["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinishing["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinished["__doNotUseOrImplementIt"];
780
1666
  }
781
1667
  }
782
1668
  export declare const ERROR: string;
783
1669
  export declare const DEBUG: string;
784
1670
  export declare const WARN: string;
785
1671
  export declare interface ParserHelper {
786
- encodeFromClientEvent(action: com.debertz.logic.redux.actions.client.from.FromClientAction): string;
787
- decodeFromClientEvent(fromPlayerId: string, json: string): com.debertz.logic.redux.actions.client.from.FromClientAction;
788
- encodeToClientEvent(action: com.debertz.logic.redux.actions.client.to.ToClientAction): string;
789
- decodeToClientEventToMechanicAction(playerId: string, engine: com.debertz.logic.GameStoreContract, json: string): com.debertz.logic.redux.actions.mechanic.MechanicAction;
1672
+ encodeFromClientEvent(action: games.jass.logic.redux.actions.client.from.FromClientAction): string;
1673
+ decodeFromClientEvent(fromPlayerId: string, json: string): games.jass.logic.redux.actions.client.from.FromClientAction;
1674
+ encodeToClientEvent(action: games.jass.logic.redux.actions.client.to.ToClientAction): string;
1675
+ decodeToClientEventToMechanicActions(playerId: string, engine: games.jass.logic.GameStoreContract, json: string): Array<games.jass.logic.redux.actions.mechanic.MechanicAction>;
1676
+ encodeGameRound(round: games.jass.logic.data.models.table.history.RoundHistory): string;
1677
+ encodeGameRoundItems(round: games.jass.logic.data.models.table.history.RoundHistory): string;
1678
+ encodeGameMetadata(metadata: games.jass.logic.data.models.table.history.GameHistoryMetadata): string;
1679
+ encodeRoomConfig(config: models.RoomConfig): string;
790
1680
  readonly __doNotUseOrImplementIt: {
791
1681
  readonly ParserHelper: unique symbol;
792
1682
  };
793
1683
  }
794
- export declare namespace com.debertz.logic.client.domain.mechanic {
795
- interface GameMechanic extends com.debertz.logic.GameStoreContract/*, com.debertz.logic.client.domain.scenes.PlayersSceneContract */ {
796
- onCreate(): void;
797
- onDestroy(): void;
798
- getConfig(): com.debertz.logic.data.models.table.config.Config;
799
- getClientConfig(): any/* com.debertz.logic.client.data.models.config.ClientConfig */;
800
- observeConfig(): any/* kotlinx.coroutines.flow.Flow<com.debertz.logic.data.models.table.config.Config> */;
801
- observeUsers(): any/* kotlinx.coroutines.flow.Flow<kotlin.collections.List<com.logic.data.models.player.GameUserInfo>> */;
802
- observeClientConfig(): any/* kotlinx.coroutines.flow.Flow<com.debertz.logic.client.data.models.config.ClientConfig> */;
803
- observePlayersHandsMetadata(): any/* kotlinx.coroutines.flow.Flow<com.debertz.logic.client.data.models.PlayersHandsMetadataViewModel> */;
804
- observeGameLifecycle(): any/* kotlinx.coroutines.flow.Flow<com.debertz.logic.client.data.models.GameLifecycleViewModel> */;
805
- observeRestartGameExpectant(): any/* kotlinx.coroutines.flow.Flow<Nullable<com.debertz.logic.client.data.models.expectants.RestartGameExpectant>> */;
806
- observeScene(): any/* kotlinx.coroutines.flow.Flow<com.debertz.logic.client.data.models.SceneViewModel> */;
807
- observeSceneId(): any/* kotlinx.coroutines.flow.Flow<string> */;
808
- observeError(): any/* kotlinx.coroutines.flow.Flow<Nullable<com.debertz.logic.client.redux.state.ErrorState>> */;
809
- observeInfoMessage(): any/* kotlinx.coroutines.flow.Flow<Nullable<com.debertz.logic.data.models.messages.Message>> */;
810
- observeGameType(): any/* kotlinx.coroutines.flow.Flow<com.debertz.logic.client.data.models.config.GameType> */;
811
- observeChatOpened(): any/* kotlinx.coroutines.flow.Flow<boolean> */;
812
- observeLastBribe(): any/* kotlinx.coroutines.flow.Flow<Nullable<com.debertz.logic.client.data.models.LastBribeViewModel>> */;
813
- observeGameInfo(): any/* kotlinx.coroutines.flow.Flow<Nullable<com.debertz.logic.client.data.models.GameInfoViewModel>> */;
814
- observeSettingsOpened(): any/* kotlinx.coroutines.flow.Flow<boolean> */;
815
- switchLastBribe(open: boolean): void;
816
- switchGameInfo(open: boolean): void;
817
- switchSettings(open: boolean): void;
818
- switchChat(open: boolean): void;
819
- foreground(foreground: boolean): void;
820
- updateConfig(updateConfig: any/* com.debertz.logic.client.data.models.config.UpdateConfigModel */): void;
821
- observeShowTutorial(): any/* kotlinx.coroutines.flow.Flow<boolean> */;
822
- tutorialPassed(skipped: boolean): void;
823
- playerExit(): void;
824
- error(error: Nullable<com.debertz.logic.client.redux.state.ErrorState>): void;
825
- readonly id: string;
826
- readonly table: com.debertz.logic.data.models.table.DebertzTable;
827
- readonly isTableExists: boolean;
828
- readonly gameLifecycleState: com.debertz.logic.data.models.GameLifecycleState;
829
- readonly __doNotUseOrImplementIt: {
830
- readonly "com.debertz.logic.client.domain.mechanic.GameMechanic": unique symbol;
831
- } & com.debertz.logic.GameStoreContract["__doNotUseOrImplementIt"];
1684
+ export declare namespace models {
1685
+ class RoomConfig {
1686
+ constructor(players: number, points: number, timeoutTime: number, rulesPreset: string, isPrivate?: Nullable<boolean>, isChatEnabled?: Nullable<boolean>, rules?: Nullable<any>/* Nullable<com.logic.data.models.serializable.rules.RulesDto> */);
1687
+ get players(): number;
1688
+ get points(): number;
1689
+ get timeoutTime(): number;
1690
+ get rulesPreset(): string;
1691
+ get isPrivate(): Nullable<boolean>;
1692
+ get isChatEnabled(): Nullable<boolean>;
1693
+ get rules(): Nullable<any>/* Nullable<com.logic.data.models.serializable.rules.RulesDto> */;
1694
+ copy(players?: number, points?: number, timeoutTime?: number, rulesPreset?: string, isPrivate?: Nullable<boolean>, isChatEnabled?: Nullable<boolean>, rules?: Nullable<any>/* Nullable<com.logic.data.models.serializable.rules.RulesDto> */): models.RoomConfig;
1695
+ toString(): string;
1696
+ hashCode(): number;
1697
+ equals(other: Nullable<any>): boolean;
832
1698
  }
833
1699
  }
834
- export declare namespace com.debertz.logic.client.domain.mechanic.online {
835
- interface OnlineGameMechanic extends com.debertz.logic.client.domain.mechanic.GameMechanic {
836
- readonly currentPlayerId: string;
837
- observeFromClientAction(): any/* kotlinx.coroutines.flow.Flow<com.debertz.logic.redux.actions.client.from.FromClientAction> */;
838
- mechanicAction(action: com.debertz.logic.redux.actions.mechanic.MechanicAction): void;
1700
+ export declare namespace games.jass.logic.client.data.models.config {
1701
+ abstract class GameType {
1702
+ private constructor();
1703
+ static get SINGLE(): games.jass.logic.client.data.models.config.GameType & {
1704
+ get name(): "SINGLE";
1705
+ get ordinal(): 0;
1706
+ };
1707
+ static get SERVER(): games.jass.logic.client.data.models.config.GameType & {
1708
+ get name(): "SERVER";
1709
+ get ordinal(): 1;
1710
+ };
1711
+ static get P2P_PARTICIPANT(): games.jass.logic.client.data.models.config.GameType & {
1712
+ get name(): "P2P_PARTICIPANT";
1713
+ get ordinal(): 2;
1714
+ };
1715
+ static get P2P_HOST(): games.jass.logic.client.data.models.config.GameType & {
1716
+ get name(): "P2P_HOST";
1717
+ get ordinal(): 3;
1718
+ };
1719
+ static get TUTORIAL(): games.jass.logic.client.data.models.config.GameType & {
1720
+ get name(): "TUTORIAL";
1721
+ get ordinal(): 4;
1722
+ };
1723
+ get name(): "SINGLE" | "SERVER" | "P2P_PARTICIPANT" | "P2P_HOST" | "TUTORIAL";
1724
+ get ordinal(): 0 | 1 | 2 | 3 | 4;
1725
+ static values(): Array<games.jass.logic.client.data.models.config.GameType>;
1726
+ static valueOf(value: string): games.jass.logic.client.data.models.config.GameType;
1727
+ static get Companion(): {
1728
+ } & any/* kotlinx.serialization.internal.SerializerFactory */;
1729
+ }
1730
+ }
1731
+ export declare namespace games.jass.logic.client.data.models.config {
1732
+ class GameClientConfig {
1733
+ constructor(validateSceneActiveState?: boolean, validateCardOnMove?: boolean, validateExpectantActions?: boolean, isAutoStepCurrentPlayer?: boolean, areOpponentsCardsOpened?: boolean, sessionAnalytics?: boolean);
1734
+ get validateSceneActiveState(): boolean;
1735
+ get validateCardOnMove(): boolean;
1736
+ get validateExpectantActions(): boolean;
1737
+ get isAutoStepCurrentPlayer(): boolean;
1738
+ get areOpponentsCardsOpened(): boolean;
1739
+ get sessionAnalytics(): boolean;
1740
+ copy(validateSceneActiveState?: boolean, validateCardOnMove?: boolean, validateExpectantActions?: boolean, isAutoStepCurrentPlayer?: boolean, areOpponentsCardsOpened?: boolean, sessionAnalytics?: boolean): games.jass.logic.client.data.models.config.GameClientConfig;
1741
+ toString(): string;
1742
+ hashCode(): number;
1743
+ equals(other: Nullable<any>): boolean;
1744
+ static get Companion(): {
1745
+ getClientEngineTestMode(): games.jass.logic.client.data.models.config.GameClientConfig;
1746
+ };
1747
+ }
1748
+ }
1749
+ export declare namespace games.jass.logic.client.data.models.vm {
1750
+ class GameHistoryViewModel /* extends games.jass.logic.client.data.models.vm.HistoryViewModel */ {
1751
+ 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>>, metadata: Nullable<games.jass.logic.data.models.table.history.GameHistoryMetadata>);
1752
+ get gameId(): string;
1753
+ get createdAt(): any/* kotlinx.datetime.Instant */;
1754
+ get gameType(): games.jass.logic.client.data.models.config.GameType;
1755
+ get users(): Array<com.logic.data.models.player.GameUserInfo>;
1756
+ get config(): games.jass.logic.data.models.table.config.ConfigLite;
1757
+ get gameWinners(): Nullable<Array<string>>;
1758
+ get metadata(): Nullable<games.jass.logic.data.models.table.history.GameHistoryMetadata>;
1759
+ equals(other: Nullable<any>): boolean;
1760
+ hashCode(): number;
1761
+ toString(): string;
1762
+ 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>>, metadata?: Nullable<games.jass.logic.data.models.table.history.GameHistoryMetadata>): games.jass.logic.client.data.models.vm.GameHistoryViewModel;
1763
+ }
1764
+ class RoundEndedHistoryViewModel /* extends games.jass.logic.client.data.models.vm.HistoryViewModel */ {
1765
+ 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>);
1766
+ get gameId(): string;
1767
+ get roundNumber(): number;
1768
+ get items(): Array<games.jass.logic.data.models.table.history.RoundHistoryItem>;
1769
+ get roundContractState(): Nullable<games.jass.logic.data.models.player.state.RoundContractState>;
1770
+ get roundCommitted(): Nullable<Array<string>>;
1771
+ get roundWinners(): Nullable<Array<string>>;
1772
+ get gameEndedHistoryViewModel(): Nullable<games.jass.logic.client.data.models.vm.GameHistoryViewModel>;
1773
+ equals(other: Nullable<any>): boolean;
1774
+ hashCode(): number;
1775
+ 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;
1776
+ toString(): string;
1777
+ }
1778
+ }
1779
+ export declare namespace games.jass.logic.client.domain.mechanic {
1780
+ interface GameMechanic extends games.jass.logic.GameStoreContract/*, games.jass.logic.client.domain.scenes.PlayersSceneContract */ {
839
1781
  onCreate(): void;
840
1782
  onDestroy(): void;
841
- getConfig(): com.debertz.logic.data.models.table.config.Config;
842
- getClientConfig(): any/* com.debertz.logic.client.data.models.config.ClientConfig */;
843
- observeConfig(): any/* kotlinx.coroutines.flow.Flow<com.debertz.logic.data.models.table.config.Config> */;
844
- observeUsers(): any/* kotlinx.coroutines.flow.Flow<kotlin.collections.List<com.logic.data.models.player.GameUserInfo>> */;
845
- observeClientConfig(): any/* kotlinx.coroutines.flow.Flow<com.debertz.logic.client.data.models.config.ClientConfig> */;
846
- observePlayersHandsMetadata(): any/* kotlinx.coroutines.flow.Flow<com.debertz.logic.client.data.models.PlayersHandsMetadataViewModel> */;
847
- observeGameLifecycle(): any/* kotlinx.coroutines.flow.Flow<com.debertz.logic.client.data.models.GameLifecycleViewModel> */;
848
- observeRestartGameExpectant(): any/* kotlinx.coroutines.flow.Flow<Nullable<com.debertz.logic.client.data.models.expectants.RestartGameExpectant>> */;
849
- observeScene(): any/* kotlinx.coroutines.flow.Flow<com.debertz.logic.client.data.models.SceneViewModel> */;
1783
+ getConfig(): games.jass.logic.data.models.table.config.Config;
1784
+ getClientConfig(): any/* games.jass.logic.client.data.models.config.ClientConfig */;
1785
+ observeConfig(): any/* kotlinx.coroutines.flow.Flow<games.jass.logic.data.models.table.config.Config> */;
1786
+ observeUsers(): any/* kotlinx.coroutines.flow.Flow<kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>> */;
1787
+ observeClientConfig(): any/* kotlinx.coroutines.flow.Flow<games.jass.logic.client.data.models.config.ClientConfig> */;
1788
+ observePlayersHandsMetadata(): any/* kotlinx.coroutines.flow.Flow<games.jass.logic.client.data.models.PlayersHandsMetadataViewModel> */;
1789
+ observeGameLifecycle(): any/* kotlinx.coroutines.flow.Flow<games.jass.logic.client.data.models.GameLifecycleViewModel> */;
1790
+ observeRestartGameExpectant(): any/* kotlinx.coroutines.flow.Flow<Nullable<games.jass.logic.client.data.models.expectants.RestartGameExpectant>> */;
1791
+ observeScene(): any/* kotlinx.coroutines.flow.Flow<games.jass.logic.client.data.models.SceneViewModel> */;
850
1792
  observeSceneId(): any/* kotlinx.coroutines.flow.Flow<string> */;
851
- observeError(): any/* kotlinx.coroutines.flow.Flow<Nullable<com.debertz.logic.client.redux.state.ErrorState>> */;
852
- observeInfoMessage(): any/* kotlinx.coroutines.flow.Flow<Nullable<com.debertz.logic.data.models.messages.Message>> */;
853
- observeGameType(): any/* kotlinx.coroutines.flow.Flow<com.debertz.logic.client.data.models.config.GameType> */;
1793
+ observeError(): any/* kotlinx.coroutines.flow.Flow<Nullable<games.jass.logic.data.models.table.error.ErrorState>> */;
1794
+ observeInfoMessage(): any/* kotlinx.coroutines.flow.Flow<Nullable<games.jass.logic.data.models.messages.Message>> */;
1795
+ observeGameType(): any/* kotlinx.coroutines.flow.Flow<games.jass.logic.client.data.models.config.GameType> */;
854
1796
  observeChatOpened(): any/* kotlinx.coroutines.flow.Flow<boolean> */;
855
- observeLastBribe(): any/* kotlinx.coroutines.flow.Flow<Nullable<com.debertz.logic.client.data.models.LastBribeViewModel>> */;
856
- observeGameInfo(): any/* kotlinx.coroutines.flow.Flow<Nullable<com.debertz.logic.client.data.models.GameInfoViewModel>> */;
1797
+ observeLastBribe(): any/* kotlinx.coroutines.flow.Flow<Nullable<games.jass.logic.client.data.models.LastBribeViewModel>> */;
1798
+ observeGameInfo(): any/* kotlinx.coroutines.flow.Flow<Nullable<games.jass.logic.client.data.models.GameInfoViewModel>> */;
857
1799
  observeSettingsOpened(): any/* kotlinx.coroutines.flow.Flow<boolean> */;
858
1800
  switchLastBribe(open: boolean): void;
859
1801
  switchGameInfo(open: boolean): void;
860
1802
  switchSettings(open: boolean): void;
861
1803
  switchChat(open: boolean): void;
862
1804
  foreground(foreground: boolean): void;
863
- updateConfig(updateConfig: any/* com.debertz.logic.client.data.models.config.UpdateConfigModel */): void;
1805
+ updateConfig(updateConfig: any/* games.jass.logic.client.data.models.config.UpdateConfigModel */): void;
864
1806
  observeShowTutorial(): any/* kotlinx.coroutines.flow.Flow<boolean> */;
865
1807
  tutorialPassed(skipped: boolean): void;
866
1808
  playerExit(): void;
867
- error(error: Nullable<com.debertz.logic.client.redux.state.ErrorState>): void;
868
- readonly id: string;
869
- readonly table: com.debertz.logic.data.models.table.DebertzTable;
870
- readonly isTableExists: boolean;
871
- readonly gameLifecycleState: com.debertz.logic.data.models.GameLifecycleState;
1809
+ error(error: Nullable<any>/* Nullable<games.jass.logic.data.models.table.error.ErrorState> */): void;
1810
+ observeGameHistoryEvents(): any/* kotlinx.coroutines.flow.Flow<games.jass.logic.client.data.models.vm.HistoryViewModel> */;
872
1811
  readonly __doNotUseOrImplementIt: {
873
- readonly "com.debertz.logic.client.domain.mechanic.online.OnlineGameMechanic": unique symbol;
874
- } & com.debertz.logic.client.domain.mechanic.GameMechanic["__doNotUseOrImplementIt"];
1812
+ readonly "games.jass.logic.client.domain.mechanic.GameMechanic": unique symbol;
1813
+ } & games.jass.logic.GameStoreContract["__doNotUseOrImplementIt"];
875
1814
  }
876
1815
  }
877
- export declare namespace com.debertz.logic.client.redux.state {
878
- class ErrorState {
879
- constructor(message: Nullable<string> | undefined, userInfo: Nullable<com.logic.data.models.player.GameUserInfo> | undefined, reason: com.logic.data.models.TerminationGameReason);
880
- get message(): Nullable<string>;
881
- get userInfo(): Nullable<com.logic.data.models.player.GameUserInfo>;
882
- get reason(): com.logic.data.models.TerminationGameReason;
883
- copy(message?: Nullable<string>, userInfo?: Nullable<com.logic.data.models.player.GameUserInfo>, reason?: com.logic.data.models.TerminationGameReason): com.debertz.logic.client.redux.state.ErrorState;
884
- toString(): string;
885
- hashCode(): number;
886
- equals(other: Nullable<any>): boolean;
1816
+ export declare namespace games.jass.logic.client.domain.mechanic.online {
1817
+ interface OnlineGameMechanic extends games.jass.logic.client.domain.mechanic.GameMechanic {
1818
+ readonly currentPlayerId: string;
1819
+ observeFromClientAction(): any/* kotlinx.coroutines.flow.Flow<games.jass.logic.redux.actions.client.from.FromClientAction> */;
1820
+ mechanicActions(actions: Array<games.jass.logic.redux.actions.mechanic.MechanicAction>): void;
1821
+ readonly __doNotUseOrImplementIt: {
1822
+ readonly "games.jass.logic.client.domain.mechanic.online.OnlineGameMechanic": unique symbol;
1823
+ } & games.jass.logic.client.domain.mechanic.GameMechanic["__doNotUseOrImplementIt"];
887
1824
  }
888
1825
  }
889
- export declare namespace com.debertz.logic.client.utils {
890
- interface ShowClientErrorLoggerOutput extends com.logic.utils.logger.outputs.LoggerOutput {
1826
+ export declare namespace games.jass.logic.client.utils {
1827
+ interface ShowErrorLoggerOutput extends games.raspberry.logger.output.LoggerOutput {
891
1828
  skipWarnings: boolean;
892
- gameClientProvider: Nullable<() => any/* com.debertz.logic.client.GameClient */>;
893
- d(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
894
- e(tag: Nullable<string>, message: Nullable<string>, exception: Nullable<Error>, payload: Nullable<any>): void;
895
- w(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
1829
+ gameClientProvider: Nullable<() => any/* games.jass.logic.client.GameClient */>;
896
1830
  readonly __doNotUseOrImplementIt: {
897
- readonly "com.debertz.logic.client.utils.ShowClientErrorLoggerOutput": unique symbol;
898
- } & com.logic.utils.logger.outputs.LoggerOutput["__doNotUseOrImplementIt"];
1831
+ readonly "games.jass.logic.client.utils.ShowErrorLoggerOutput": unique symbol;
1832
+ } & games.raspberry.logger.output.LoggerOutput["__doNotUseOrImplementIt"];
899
1833
  }
900
1834
  }
901
1835
  export declare interface GameClientEngineController {
902
1836
  readonly parser: ParserHelper;
903
1837
  setEnableLogger(enabled: boolean): void;
904
- createOnlineGameEngine(currentPlayerId: string): com.debertz.logic.client.domain.mechanic.online.OnlineGameMechanic;
905
- createOnlineGameEngineWithLogic(currentPlayerId: string, reducers?: Array<(p0: any/* com.debertz.logic.redux.AppState */, p1: any) => any/* com.debertz.logic.redux.AppState */>, middlewares?: Array<(p0: com.logic.domain.engine.definitions.Store<any/* com.debertz.logic.redux.AppState */>, p1: (p0: com.logic.domain.engine.definitions.Action) => void, p2: any) => void>, isAutoStepCurrentPlayer?: boolean, botExitsWhenNGameNumberIsFinished?: Nullable<number>): com.debertz.logic.client.domain.mechanic.online.OnlineGameMechanic;
1838
+ createOnlineGameEngine(currentPlayerId: string): games.jass.logic.client.domain.mechanic.online.OnlineGameMechanic;
1839
+ 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;
906
1840
  readonly __doNotUseOrImplementIt: {
907
1841
  readonly GameClientEngineController: unique symbol;
908
1842
  };
909
1843
  }
910
1844
  export declare function createGameClientController(loggerCallback: (p0: string, p1: Nullable<string>, p2: string, p3: Nullable<Error>, p4: Nullable<any>) => void): GameClientEngineController;
911
- export declare namespace com.debertz.logic.server.data.models {
912
- class ServerReduxConfig {
913
- constructor(finishGameIfAllBots?: boolean, waitForPlayerToReconnect?: boolean, waitForPlayerToReconnectTimeOutMillis?: number, closeIfBotsAtFinish?: boolean, botReplacesPlayerAfterTimeout?: boolean, enabledCombinedEvents?: boolean, delayToAskBotMillis?: number);
914
- get finishGameIfAllBots(): boolean;
915
- get waitForPlayerToReconnect(): boolean;
916
- get waitForPlayerToReconnectTimeOutMillis(): number;
917
- get closeIfBotsAtFinish(): boolean;
918
- get botReplacesPlayerAfterTimeout(): boolean;
919
- get enabledCombinedEvents(): boolean;
920
- get delayToAskBotMillis(): number;
921
- copy(finishGameIfAllBots?: boolean, waitForPlayerToReconnect?: boolean, waitForPlayerToReconnectTimeOutMillis?: number, closeIfBotsAtFinish?: boolean, botReplacesPlayerAfterTimeout?: boolean, enabledCombinedEvents?: boolean, delayToAskBotMillis?: number): com.debertz.logic.server.data.models.ServerReduxConfig;
922
- toString(): string;
923
- hashCode(): number;
924
- equals(other: Nullable<any>): boolean;
925
- }
926
- }
927
- export declare namespace com.debertz.logic.server.domain {
928
- interface ServerGameEngineContract extends com.debertz.logic.GameStoreContract {
929
- roomOnCreate(roomId: string, gameCreatorId: string, config: com.debertz.logic.data.models.table.config.Config, users: Array<com.logic.data.models.player.GameUserInfo>): void;
1845
+ export declare namespace games.jass.logic.server.domain {
1846
+ interface ServerGameEngineContract extends games.jass.logic.GameStoreContract {
1847
+ roomOnCreate(roomId: string, gameCreatorId: string, config: games.jass.logic.data.models.table.config.Config, users: Array<com.logic.data.models.player.GameUserInfo>): void;
1848
+ roomRefreshPlayerState(playerId: string): void;
930
1849
  roomOnDelete(): void;
931
1850
  playerLostConnection(playerId: string): void;
932
1851
  playerLive(playerId: string): void;
933
1852
  playerLeft(playerId: string): void;
934
- fromClientEvent(action: com.debertz.logic.redux.actions.client.from.FromClientAction): void;
935
- subscribeToClientAction(subscriber: (p0: com.debertz.logic.redux.actions.client.to.ToClientAction) => void): void;
936
- subscribeWith(subscriber: (p0: any/* com.debertz.logic.redux.AppState */) => void): void;
1853
+ fromClientEvent(action: games.jass.logic.redux.actions.client.from.FromClientAction): void;
1854
+ subscribeToClientAction(subscriber: (p0: games.jass.logic.redux.actions.client.to.ToClientAction) => void): void;
1855
+ subscribeWith(subscriber: (p0: any/* games.jass.logic.redux.AppState */) => void): void;
937
1856
  clear(): void;
938
1857
  setCanStartNewGameEnabled(enabled: boolean): void;
939
1858
  shutdown(reason: string): void;
940
- readonly id: string;
941
- readonly table: com.debertz.logic.data.models.table.DebertzTable;
942
- readonly isTableExists: boolean;
943
- readonly gameLifecycleState: com.debertz.logic.data.models.GameLifecycleState;
944
1859
  readonly __doNotUseOrImplementIt: {
945
- readonly "com.debertz.logic.server.domain.ServerGameEngineContract": unique symbol;
946
- } & com.debertz.logic.GameStoreContract["__doNotUseOrImplementIt"];
1860
+ readonly "games.jass.logic.server.domain.ServerGameEngineContract": unique symbol;
1861
+ } & games.jass.logic.GameStoreContract["__doNotUseOrImplementIt"];
947
1862
  }
948
1863
  }
949
1864
  export declare interface GameHelper {
950
- filterLivePlayers(store: com.logic.domain.engine.definitions.Store<any/* com.debertz.logic.redux.AppState */>, playerIds: Array<string>): Array<string>;
951
- filterLiveDuringGamePlayers(store: com.logic.domain.engine.definitions.Store<any/* com.debertz.logic.redux.AppState */>, playerIds: Array<string>): Array<string>;
952
- filterBotPlayers(store: com.logic.domain.engine.definitions.Store<any/* com.debertz.logic.redux.AppState */>, playerIds: Array<string>): Array<string>;
953
- filterRealPlayers(store: com.logic.domain.engine.definitions.Store<any/* com.debertz.logic.redux.AppState */>, playerIds: Array<string>): Array<string>;
954
- getUserSocketId(store: com.logic.domain.engine.definitions.Store<any/* com.debertz.logic.redux.AppState */>, playerId: string): Nullable<string>;
955
- getUserSocketIds(store: com.logic.domain.engine.definitions.Store<any/* com.debertz.logic.redux.AppState */>): Nullable<Array<string>>;
956
- createConfig(points: number, players: number, timeoutTimeMillis: number, rulesSetType: com.logic.data.models.rules.RulesSetType, rules: any, isEnableChat: boolean, isPrivate: boolean): com.debertz.logic.data.models.table.config.Config;
957
- mapPoints(points: number): com.debertz.logic.data.models.table.config.PointsMode;
958
- mapPlayers(players: number): com.debertz.logic.data.models.table.config.PlayersMode;
959
- mapRules(rules: any): com.logic.data.models.rules.Rules;
1865
+ filterLivePlayers(store: com.logic.redux.store.definitions.Store<any/* games.jass.logic.redux.AppState */>, playerIds: Array<string>): Array<string>;
1866
+ filterLiveDuringGamePlayers(store: com.logic.redux.store.definitions.Store<any/* games.jass.logic.redux.AppState */>, playerIds: Array<string>): Array<string>;
1867
+ filterBotPlayers(store: com.logic.redux.store.definitions.Store<any/* games.jass.logic.redux.AppState */>, playerIds: Array<string>): Array<string>;
1868
+ filterRealPlayers(store: com.logic.redux.store.definitions.Store<any/* games.jass.logic.redux.AppState */>, playerIds: Array<string>): Array<string>;
1869
+ getUserSocketId(store: com.logic.redux.store.definitions.Store<any/* games.jass.logic.redux.AppState */>, playerId: string): Nullable<string>;
1870
+ getUserSocketIds(store: com.logic.redux.store.definitions.Store<any/* games.jass.logic.redux.AppState */>): Nullable<Array<string>>;
1871
+ createConfig(points: number, players: number, timeoutTimeMillis: number, rulesSetType: games.jass.logic.data.models.rules.RulesSetType, rules: any, isEnableChat: boolean, isBotsEnabled: boolean, isPrivate: boolean): games.jass.logic.data.models.table.config.Config;
1872
+ mapToRoomConfig(config: games.jass.logic.data.models.table.config.Config): models.RoomConfig;
1873
+ mapPoints(points: number): games.jass.logic.data.models.table.config.PointsMode;
1874
+ mapPlayers(players: number): games.jass.logic.data.models.table.config.PlayersMode;
1875
+ mapRules(rules: any): games.jass.logic.data.models.rules.Rules;
960
1876
  prepareConfigObjectWithPagination(config: any): any;
961
1877
  prepareConfigObject(config: any): any;
962
1878
  isValidConfigObject(config: any): boolean;
963
1879
  isValidConfig(players: number, points: number, timeoutTime: number, rulesPreset: string, rules: any): boolean;
964
- getRulesByType(rulesSetType: com.logic.data.models.rules.RulesSetType): com.logic.data.models.rules.Rules;
965
- getRulesByString(name: string): com.logic.data.models.rules.Rules;
966
- mapRulesSetType(name: string): com.logic.data.models.rules.RulesSetType;
1880
+ getRulesByType(rulesSetType: games.jass.logic.data.models.rules.RulesSetType): games.jass.logic.data.models.rules.Rules;
1881
+ getRulesByString(name: string): games.jass.logic.data.models.rules.Rules;
1882
+ mapRulesSetType(name: string): games.jass.logic.data.models.rules.RulesSetType;
967
1883
  readonly __doNotUseOrImplementIt: {
968
1884
  readonly GameHelper: unique symbol;
969
1885
  };
@@ -980,18 +1896,19 @@ export declare interface GameEngineController {
980
1896
  readonly test: TestHelper;
981
1897
  readonly helper: GameHelper;
982
1898
  readonly resources: GameResources;
1899
+ readonly randomPoolProvider: any/* games.raspberry.card_game.random.data.providers.RandomPoolProvider */;
983
1900
  setEnableLogger(enabled: boolean): void;
984
- createGameEngine(): com.debertz.logic.server.domain.ServerGameEngineContract;
985
- createGameEngineWithLogic(reducers?: Array<(p0: any/* com.debertz.logic.redux.AppState */, p1: any) => any/* com.debertz.logic.redux.AppState */>, middlewares?: Array<(p0: com.logic.domain.engine.definitions.Store<any/* com.debertz.logic.redux.AppState */>, p1: (p0: com.logic.domain.engine.definitions.Action) => void, p2: any) => void>, serverConfig?: com.debertz.logic.server.data.models.ServerReduxConfig, logicConfig?: com.debertz.logic.data.models.LogicReduxConfig): com.debertz.logic.server.domain.ServerGameEngineContract;
1901
+ createGameEngine(): games.jass.logic.server.domain.ServerGameEngineContract;
1902
+ createGameEngineWithLogic(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>, serverConfig?: games.jass.logic.data.models.config.ServerReduxConfig, logicConfig?: games.jass.logic.data.models.EngineLogicConfig, dealerConfig?: games.jass.logic.data.models.DealerConfig, coreConfig?: com.logic.data.models.CoreConfig): games.jass.logic.server.domain.ServerGameEngineContract;
986
1903
  readonly __doNotUseOrImplementIt: {
987
1904
  readonly GameEngineController: unique symbol;
988
1905
  };
989
1906
  }
990
- export declare function createGameServerController(loggerCallback: (p0: string, p1: Nullable<string>, p2: string, p3: Nullable<Error>, p4: Nullable<any>) => void): GameEngineController;
1907
+ export declare function createGameServerController(loggerCallback: (p0: string, p1: Nullable<string>, p2: string, p3: Nullable<Error>, p4: Nullable<any>) => void, randomOrgConfig?: games.raspberry.card_game.random.data.models.RandomOrgConfig): GameEngineController;
991
1908
  export declare interface TestHelper {
992
- getPlayerAnswer(table: com.debertz.logic.data.models.table.DebertzTable, playerId: string, botConfig: com.debertz.logic.data.models.BotReduxConfig): com.debertz.logic.redux.actions.client.from.FromClientAction;
993
- getPlayerAnswerFromClientAction(table: com.debertz.logic.data.models.table.DebertzTable, currentPlayerId: string, action: com.debertz.logic.redux.actions.client.to.ToClientAction, botConfig: com.debertz.logic.data.models.BotReduxConfig): Nullable<com.debertz.logic.redux.actions.client.from.FromClientAction>;
994
- getPlayerAnswerFromMechanicAction(table: com.debertz.logic.data.models.table.DebertzTable, currentPlayerId: string, action: com.debertz.logic.redux.actions.mechanic.MechanicAction, botConfig: com.debertz.logic.data.models.BotReduxConfig): Nullable<com.debertz.logic.redux.actions.client.from.FromClientAction>;
1909
+ getPlayerAnswer(table: games.jass.logic.data.models.table.JassTable, playerId: string, botConfig: games.jass.logic.data.models.EngineBotConfig): games.jass.logic.redux.actions.client.from.FromClientAction;
1910
+ getPlayerAnswerFromClientAction(table: games.jass.logic.data.models.table.JassTable, currentPlayerId: string, action: games.jass.logic.redux.actions.client.to.ToClientAction, botConfig: games.jass.logic.data.models.EngineBotConfig): Nullable<games.jass.logic.redux.actions.client.from.FromClientAction>;
1911
+ getPlayerAnswerFromMechanicAction(table: games.jass.logic.data.models.table.JassTable, currentPlayerId: string, action: games.jass.logic.redux.actions.mechanic.MechanicAction, botConfig: games.jass.logic.data.models.EngineBotConfig): Nullable<games.jass.logic.redux.actions.client.from.FromClientAction>;
995
1912
  readonly __doNotUseOrImplementIt: {
996
1913
  readonly TestHelper: unique symbol;
997
1914
  };
@@ -1046,4 +1963,4 @@ export declare interface EnginesControllerWeb {
1046
1963
  };
1047
1964
  }
1048
1965
  export declare function createEnginesControllerWeb(): EnginesControllerWeb;
1049
- export as namespace Logic_Debertz_client_plugin;
1966
+ export as namespace io_raspberryapps_game_engine_client_plugin;