game_client_logic_deb 1.4.6 → 1.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/88b0986a7186d029-atomicfu-js-ir.js +54 -80
- package/88b0986a7186d029-atomicfu-js-ir.js.map +1 -1
- package/Kaverit-kaverit.js +92 -103
- package/Kaverit-kaverit.js.map +1 -1
- package/Kodein-kodein-di.js +769 -942
- package/Kodein-kodein-di.js.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js +73 -78
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js.map +1 -1
- package/Logic_Debertz-core.js +1429 -1623
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +10499 -11145
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +71 -38
- package/Logic_Debertz-game_client.js +4450 -4857
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib-js-ir.js +2545 -4844
- package/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +2205 -2456
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +1502 -1658
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map +1 -1
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +2420 -3718
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
- package/package.json +1 -1
- package/uuid-js-ir.js +36 -48
- package/uuid-js-ir.js.map +1 -1
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
type Nullable<T> = T | null | undefined
|
|
2
|
-
declare const __doNotImplementIt: unique symbol
|
|
3
|
-
type __doNotImplementIt = typeof __doNotImplementIt
|
|
4
2
|
export namespace com.logic {
|
|
5
3
|
const GameEngineConfig: {
|
|
6
4
|
get version(): string;
|
|
@@ -9,7 +7,7 @@ export namespace com.logic {
|
|
|
9
7
|
export namespace com.logic.data.models {
|
|
10
8
|
abstract class TerminationGameReason {
|
|
11
9
|
protected constructor();
|
|
12
|
-
static TerminationGameReason_init_$Create$(seen1: number, serializationConstructorMarker: any
|
|
10
|
+
static TerminationGameReason_init_$Create$(seen1: number, serializationConstructorMarker: Nullable<any>/* Nullable<kotlinx.serialization.internal.SerializationConstructorMarker> */): com.logic.data.models.TerminationGameReason;
|
|
13
11
|
static get Companion(): {
|
|
14
12
|
serializer(): any/* kotlinx.serialization.KSerializer<com.logic.data.models.TerminationGameReason> */;
|
|
15
13
|
} & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
@@ -32,13 +30,15 @@ export namespace com.logic.data.models.player {
|
|
|
32
30
|
toString(): string;
|
|
33
31
|
hashCode(): number;
|
|
34
32
|
equals(other: Nullable<any>): boolean;
|
|
35
|
-
readonly
|
|
33
|
+
readonly __doNotUseOrImplementIt: com.logic.data.models.player.PlayerIdContract["__doNotUseOrImplementIt"];
|
|
36
34
|
}
|
|
37
35
|
}
|
|
38
36
|
export namespace com.logic.data.models.player {
|
|
39
37
|
interface PlayerIdContract {
|
|
40
38
|
readonly playerId: string;
|
|
41
|
-
readonly
|
|
39
|
+
readonly __doNotUseOrImplementIt: {
|
|
40
|
+
readonly "com.logic.data.models.player.PlayerIdContract": unique symbol;
|
|
41
|
+
};
|
|
42
42
|
}
|
|
43
43
|
function getPlayer<T extends com.logic.data.models.player.PlayerIdContract>(_this_: any/* kotlin.collections.List<T> */, id: string): T;
|
|
44
44
|
function getPlayerIndex<T extends com.logic.data.models.player.PlayerIdContract>(_this_: any/* kotlin.collections.List<T> */, playerId: string): number;
|
|
@@ -169,7 +169,9 @@ export namespace com.logic.data.models.rules {
|
|
|
169
169
|
export namespace com.logic.domain.engine.definitions {
|
|
170
170
|
interface Action {
|
|
171
171
|
readonly actionTag: string;
|
|
172
|
-
readonly
|
|
172
|
+
readonly __doNotUseOrImplementIt: {
|
|
173
|
+
readonly "com.logic.domain.engine.definitions.Action": unique symbol;
|
|
174
|
+
};
|
|
173
175
|
}
|
|
174
176
|
}
|
|
175
177
|
export namespace com.logic.domain.engine.definitions {
|
|
@@ -178,41 +180,55 @@ export namespace com.logic.domain.engine.definitions {
|
|
|
178
180
|
dispatch: (p0: com.logic.domain.engine.definitions.Action) => void;
|
|
179
181
|
readonly observe: any/* kotlinx.coroutines.flow.Flow<State> */;
|
|
180
182
|
readonly replaceReducer: (p0: any/* com.logic.domain.engine.definitions.Reducer<State> */) => void;
|
|
181
|
-
readonly
|
|
183
|
+
readonly __doNotUseOrImplementIt: {
|
|
184
|
+
readonly "com.logic.domain.engine.definitions.Store": unique symbol;
|
|
185
|
+
};
|
|
182
186
|
}
|
|
183
187
|
}
|
|
184
188
|
export namespace com.logic.redux.actions {
|
|
185
189
|
interface BufferedAction extends com.logic.domain.engine.definitions.Action {
|
|
186
190
|
readonly actionTag: string;
|
|
187
|
-
readonly
|
|
191
|
+
readonly __doNotUseOrImplementIt: {
|
|
192
|
+
readonly "com.logic.redux.actions.BufferedAction": unique symbol;
|
|
193
|
+
} & com.logic.domain.engine.definitions.Action["__doNotUseOrImplementIt"];
|
|
188
194
|
}
|
|
189
195
|
interface ReleaseBufferTriggerAction extends com.logic.domain.engine.definitions.Action {
|
|
190
196
|
readonly actionTag: string;
|
|
191
|
-
readonly
|
|
197
|
+
readonly __doNotUseOrImplementIt: {
|
|
198
|
+
readonly "com.logic.redux.actions.ReleaseBufferTriggerAction": unique symbol;
|
|
199
|
+
} & com.logic.domain.engine.definitions.Action["__doNotUseOrImplementIt"];
|
|
192
200
|
}
|
|
193
201
|
}
|
|
194
202
|
export namespace com.logic.redux.actions.validation {
|
|
195
203
|
interface NotValidateIfGameFinished {
|
|
196
204
|
notValidateWhenFinished(): boolean;
|
|
197
|
-
readonly
|
|
205
|
+
readonly __doNotUseOrImplementIt: {
|
|
206
|
+
readonly "com.logic.redux.actions.validation.NotValidateIfGameFinished": unique symbol;
|
|
207
|
+
};
|
|
198
208
|
}
|
|
199
209
|
}
|
|
200
210
|
export namespace com.logic.redux.actions.validation {
|
|
201
211
|
interface NotValidateIfGameFinishing {
|
|
202
212
|
notValidateWhenFinishing(): boolean;
|
|
203
|
-
readonly
|
|
213
|
+
readonly __doNotUseOrImplementIt: {
|
|
214
|
+
readonly "com.logic.redux.actions.validation.NotValidateIfGameFinishing": unique symbol;
|
|
215
|
+
};
|
|
204
216
|
}
|
|
205
217
|
}
|
|
206
218
|
export namespace com.logic.utils.logger.game {
|
|
207
219
|
interface LoggerPayload {
|
|
208
|
-
readonly
|
|
220
|
+
readonly __doNotUseOrImplementIt: {
|
|
221
|
+
readonly "com.logic.utils.logger.game.LoggerPayload": unique symbol;
|
|
222
|
+
};
|
|
209
223
|
}
|
|
210
224
|
}
|
|
211
225
|
export namespace com.debertz.logic {
|
|
212
226
|
interface GameStoreContract {
|
|
213
227
|
readonly id: string;
|
|
214
228
|
readonly table: com.debertz.logic.data.models.table.DebertzTable;
|
|
215
|
-
readonly
|
|
229
|
+
readonly __doNotUseOrImplementIt: {
|
|
230
|
+
readonly "com.debertz.logic.GameStoreContract": unique symbol;
|
|
231
|
+
};
|
|
216
232
|
}
|
|
217
233
|
}
|
|
218
234
|
export namespace com.debertz.logic.data.models {
|
|
@@ -235,18 +251,22 @@ export namespace com.debertz.logic.data.models {
|
|
|
235
251
|
export namespace com.debertz.logic.data.models.scenes {
|
|
236
252
|
interface ActData {
|
|
237
253
|
readonly actId: string;
|
|
238
|
-
readonly
|
|
254
|
+
readonly __doNotUseOrImplementIt: {
|
|
255
|
+
readonly "com.debertz.logic.data.models.scenes.ActData": unique symbol;
|
|
256
|
+
};
|
|
239
257
|
}
|
|
240
258
|
}
|
|
241
259
|
export namespace com.debertz.logic.data.models.scenes {
|
|
242
260
|
interface SceneData {
|
|
243
261
|
readonly sceneId: string;
|
|
244
|
-
readonly
|
|
262
|
+
readonly __doNotUseOrImplementIt: {
|
|
263
|
+
readonly "com.debertz.logic.data.models.scenes.SceneData": unique symbol;
|
|
264
|
+
};
|
|
245
265
|
}
|
|
246
266
|
}
|
|
247
267
|
export namespace com.debertz.logic.data.models.table {
|
|
248
268
|
class DebertzTable {
|
|
249
|
-
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: any
|
|
269
|
+
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 */);
|
|
250
270
|
get id(): string;
|
|
251
271
|
get version(): string;
|
|
252
272
|
get createdAt(): any/* kotlinx.datetime.Instant */;
|
|
@@ -255,13 +275,13 @@ export namespace com.debertz.logic.data.models.table {
|
|
|
255
275
|
get sceneInfo(): any/* com.debertz.logic.data.models.table.scene.SceneInfo */;
|
|
256
276
|
get cardsOnTable(): any/* kotlin.collections.List<com.debertz.logic.data.models.table.bribes.CardOnTable> */;
|
|
257
277
|
get bribes(): any/* kotlin.collections.List<com.debertz.logic.data.models.table.cards.Bribe> */;
|
|
258
|
-
get cardDeck(): any
|
|
278
|
+
get cardDeck(): Nullable<any>/* Nullable<com.debertz.logic.data.models.table.cards.CardDeck> */;
|
|
259
279
|
get gameInfo(): any/* com.debertz.logic.data.models.table.GameInfo */;
|
|
260
280
|
get playersConnections(): any/* kotlin.collections.List<kotlin.Pair<string, com.logic.data.models.player.PlayerConnectionState>> */;
|
|
261
281
|
get users(): Array<com.logic.data.models.player.GameUserInfo>;
|
|
262
282
|
get isCardDeckExist(): boolean;
|
|
263
283
|
get requireCardDeck(): any/* com.debertz.logic.data.models.table.cards.CardDeck */;
|
|
264
|
-
get currentTrump(): any
|
|
284
|
+
get currentTrump(): Nullable<any>/* Nullable<com.logic.data.models.table.cards.Suit> */;
|
|
265
285
|
component1(): string;
|
|
266
286
|
component2(): string;
|
|
267
287
|
component3(): any/* kotlinx.datetime.Instant */;
|
|
@@ -270,9 +290,9 @@ export namespace com.debertz.logic.data.models.table {
|
|
|
270
290
|
component6(): any/* com.debertz.logic.data.models.table.scene.SceneInfo */;
|
|
271
291
|
component7(): any/* kotlin.collections.List<com.debertz.logic.data.models.table.bribes.CardOnTable> */;
|
|
272
292
|
component8(): any/* kotlin.collections.List<com.debertz.logic.data.models.table.cards.Bribe> */;
|
|
273
|
-
component9(): any
|
|
293
|
+
component9(): Nullable<any>/* Nullable<com.debertz.logic.data.models.table.cards.CardDeck> */;
|
|
274
294
|
component10(): any/* com.debertz.logic.data.models.table.GameInfo */;
|
|
275
|
-
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?: any
|
|
295
|
+
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;
|
|
276
296
|
toString(): string;
|
|
277
297
|
hashCode(): number;
|
|
278
298
|
equals(other: Nullable<any>): boolean;
|
|
@@ -292,7 +312,7 @@ export namespace com.debertz.logic.data.models.table {
|
|
|
292
312
|
component1(): string;
|
|
293
313
|
component2(): Array<com.debertz.logic.data.models.table.PlayerLoggerPayload>;
|
|
294
314
|
copy(id?: string, players?: Array<com.debertz.logic.data.models.table.PlayerLoggerPayload>): com.debertz.logic.data.models.table.TableLoggerPayload;
|
|
295
|
-
readonly
|
|
315
|
+
readonly __doNotUseOrImplementIt: com.logic.utils.logger.game.LoggerPayload["__doNotUseOrImplementIt"];
|
|
296
316
|
}
|
|
297
317
|
class PlayerLoggerPayload implements com.logic.utils.logger.game.LoggerPayload {
|
|
298
318
|
constructor(playerId: string, connectionState: com.logic.data.models.player.PlayerConnectionState);
|
|
@@ -304,7 +324,7 @@ export namespace com.debertz.logic.data.models.table {
|
|
|
304
324
|
copy(playerId?: string, connectionState?: com.logic.data.models.player.PlayerConnectionState): com.debertz.logic.data.models.table.PlayerLoggerPayload;
|
|
305
325
|
hashCode(): number;
|
|
306
326
|
equals(other: Nullable<any>): boolean;
|
|
307
|
-
readonly
|
|
327
|
+
readonly __doNotUseOrImplementIt: com.logic.utils.logger.game.LoggerPayload["__doNotUseOrImplementIt"];
|
|
308
328
|
}
|
|
309
329
|
}
|
|
310
330
|
export namespace com.debertz.logic.data.models.table.config {
|
|
@@ -450,6 +470,7 @@ export namespace com.debertz.logic.redux.actions {
|
|
|
450
470
|
get actionTag(): string;
|
|
451
471
|
notValidateWhenFinishing(): boolean;
|
|
452
472
|
notValidateWhenFinished(): boolean;
|
|
473
|
+
readonly __doNotUseOrImplementIt: com.logic.domain.engine.definitions.Action["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinishing["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinished["__doNotUseOrImplementIt"];
|
|
453
474
|
} & com.logic.domain.engine.definitions.Action & com.logic.redux.actions.validation.NotValidateIfGameFinishing & com.logic.redux.actions.validation.NotValidateIfGameFinished;
|
|
454
475
|
}
|
|
455
476
|
export namespace com.debertz.logic.redux.actions.client.from {
|
|
@@ -457,7 +478,7 @@ export namespace com.debertz.logic.redux.actions.client.from {
|
|
|
457
478
|
protected constructor();
|
|
458
479
|
abstract get playerId(): string;
|
|
459
480
|
get actionTag(): string;
|
|
460
|
-
readonly
|
|
481
|
+
readonly __doNotUseOrImplementIt: com.logic.domain.engine.definitions.Action["__doNotUseOrImplementIt"];
|
|
461
482
|
}
|
|
462
483
|
}
|
|
463
484
|
export namespace com.debertz.logic.redux.actions.client.to {
|
|
@@ -466,14 +487,14 @@ export namespace com.debertz.logic.redux.actions.client.to {
|
|
|
466
487
|
abstract get sendToPlayerId(): string;
|
|
467
488
|
abstract get roomId(): Nullable<string>;
|
|
468
489
|
get actionTag(): string;
|
|
469
|
-
readonly
|
|
490
|
+
readonly __doNotUseOrImplementIt: com.logic.domain.engine.definitions.Action["__doNotUseOrImplementIt"];
|
|
470
491
|
}
|
|
471
492
|
}
|
|
472
493
|
export namespace com.debertz.logic.redux.actions.game {
|
|
473
494
|
abstract class GameAction implements com.logic.domain.engine.definitions.Action {
|
|
474
495
|
protected constructor();
|
|
475
496
|
get actionTag(): string;
|
|
476
|
-
readonly
|
|
497
|
+
readonly __doNotUseOrImplementIt: com.logic.domain.engine.definitions.Action["__doNotUseOrImplementIt"];
|
|
477
498
|
}
|
|
478
499
|
class PartyStartedAction extends com.debertz.logic.redux.actions.game.GameAction {
|
|
479
500
|
constructor(roomId: string, partyNumber: number, players: Array<string>, isFirstParty: boolean, gameNumber: number);
|
|
@@ -527,14 +548,14 @@ export namespace com.debertz.logic.redux.actions.game {
|
|
|
527
548
|
hashCode(): number;
|
|
528
549
|
equals(other: Nullable<any>): boolean;
|
|
529
550
|
get actionTag(): string;
|
|
530
|
-
readonly
|
|
551
|
+
readonly __doNotUseOrImplementIt: com.logic.domain.engine.definitions.Action["__doNotUseOrImplementIt"];
|
|
531
552
|
}
|
|
532
553
|
}
|
|
533
554
|
export namespace com.debertz.logic.redux.actions.mechanic {
|
|
534
555
|
abstract class MechanicAction implements com.logic.redux.actions.BufferedAction {
|
|
535
556
|
protected constructor();
|
|
536
557
|
get actionTag(): string;
|
|
537
|
-
readonly
|
|
558
|
+
readonly __doNotUseOrImplementIt: com.logic.redux.actions.BufferedAction["__doNotUseOrImplementIt"];
|
|
538
559
|
}
|
|
539
560
|
class FinishingGameMechanicAction extends com.debertz.logic.redux.actions.mechanic.MechanicAction implements com.debertz.logic.redux.actions.mechanic.TerminatedAction {
|
|
540
561
|
constructor(reason: com.logic.data.models.TerminationGameReason);
|
|
@@ -545,7 +566,7 @@ export namespace com.debertz.logic.redux.actions.mechanic {
|
|
|
545
566
|
hashCode(): number;
|
|
546
567
|
equals(other: Nullable<any>): boolean;
|
|
547
568
|
get actionTag(): string;
|
|
548
|
-
readonly
|
|
569
|
+
readonly __doNotUseOrImplementIt: com.debertz.logic.redux.actions.mechanic.MechanicAction["__doNotUseOrImplementIt"] & com.debertz.logic.redux.actions.mechanic.TerminatedAction["__doNotUseOrImplementIt"];
|
|
549
570
|
}
|
|
550
571
|
class FinishGameMechanicAction extends com.debertz.logic.redux.actions.mechanic.MechanicAction implements com.logic.redux.actions.validation.NotValidateIfGameFinishing, com.debertz.logic.redux.actions.mechanic.TerminatedAction {
|
|
551
572
|
constructor(reason: com.logic.data.models.TerminationGameReason);
|
|
@@ -557,16 +578,18 @@ export namespace com.debertz.logic.redux.actions.mechanic {
|
|
|
557
578
|
equals(other: Nullable<any>): boolean;
|
|
558
579
|
get actionTag(): string;
|
|
559
580
|
notValidateWhenFinishing(): boolean;
|
|
560
|
-
readonly
|
|
581
|
+
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"];
|
|
561
582
|
}
|
|
562
583
|
interface NavigationMechanicAction extends com.logic.domain.engine.definitions.Action {
|
|
563
584
|
readonly sceneId: string;
|
|
564
585
|
readonly actId: Nullable<string>;
|
|
565
586
|
readonly actPayload: Nullable<com.debertz.logic.data.models.scenes.ActData>;
|
|
566
587
|
readonly actionTag: string;
|
|
567
|
-
readonly
|
|
588
|
+
readonly __doNotUseOrImplementIt: {
|
|
589
|
+
readonly "com.debertz.logic.redux.actions.mechanic.NavigationMechanicAction": unique symbol;
|
|
590
|
+
} & com.logic.domain.engine.definitions.Action["__doNotUseOrImplementIt"];
|
|
568
591
|
}
|
|
569
|
-
class SceneMechanicAction extends com.debertz.logic.redux.actions.mechanic.MechanicAction implements com.debertz.logic.redux.actions.mechanic.NavigationMechanicAction, com.logic.redux.actions.ReleaseBufferTriggerAction, com.logic.redux.actions.validation.NotValidateIfGameFinishing, com.logic.redux.actions.validation.NotValidateIfGameFinished/*, com.debertz.logic.redux.actions.mechanic.NextPlayerTurnAction */ {
|
|
592
|
+
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 */ {
|
|
570
593
|
constructor(sceneId: string, actId?: Nullable<string>, scenePayload?: Nullable<com.debertz.logic.data.models.scenes.SceneData>, actPayload?: Nullable<com.debertz.logic.data.models.scenes.ActData>);
|
|
571
594
|
get sceneId(): string;
|
|
572
595
|
get actId(): Nullable<string>;
|
|
@@ -583,12 +606,14 @@ export namespace com.debertz.logic.redux.actions.mechanic {
|
|
|
583
606
|
hashCode(): number;
|
|
584
607
|
equals(other: Nullable<any>): boolean;
|
|
585
608
|
get actionTag(): string;
|
|
586
|
-
readonly
|
|
609
|
+
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"];
|
|
587
610
|
}
|
|
588
611
|
interface TerminatedAction extends com.logic.domain.engine.definitions.Action {
|
|
589
612
|
readonly reason: com.logic.data.models.TerminationGameReason;
|
|
590
613
|
readonly actionTag: string;
|
|
591
|
-
readonly
|
|
614
|
+
readonly __doNotUseOrImplementIt: {
|
|
615
|
+
readonly "com.debertz.logic.redux.actions.mechanic.TerminatedAction": unique symbol;
|
|
616
|
+
} & com.logic.domain.engine.definitions.Action["__doNotUseOrImplementIt"];
|
|
592
617
|
}
|
|
593
618
|
class PlayerConnectionChangedMechanicAction extends com.debertz.logic.redux.actions.mechanic.MechanicAction implements com.logic.redux.actions.validation.NotValidateIfGameFinishing, com.logic.redux.actions.validation.NotValidateIfGameFinished {
|
|
594
619
|
constructor(playerId: string, state: com.logic.data.models.player.PlayerConnectionState, isNoneActivePlayers: boolean);
|
|
@@ -611,7 +636,7 @@ export namespace com.debertz.logic.redux.actions.mechanic {
|
|
|
611
636
|
get actionTag(): string;
|
|
612
637
|
notValidateWhenFinishing(): boolean;
|
|
613
638
|
notValidateWhenFinished(): boolean;
|
|
614
|
-
readonly
|
|
639
|
+
readonly __doNotUseOrImplementIt: com.debertz.logic.redux.actions.mechanic.MechanicAction["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinishing["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinished["__doNotUseOrImplementIt"];
|
|
615
640
|
}
|
|
616
641
|
}
|
|
617
642
|
export const ERROR: string;
|
|
@@ -623,7 +648,9 @@ export interface ParserHelper {
|
|
|
623
648
|
encodeToClientEvent(action: com.debertz.logic.redux.actions.client.to.ToClientAction): string;
|
|
624
649
|
decodeToClientEvent(playerId: string, table: com.debertz.logic.data.models.table.DebertzTable, json: string): com.debertz.logic.redux.actions.client.to.ToClientAction;
|
|
625
650
|
decodeToClientEventToMechanicAction(playerId: string, json: string): com.debertz.logic.redux.actions.mechanic.MechanicAction;
|
|
626
|
-
readonly
|
|
651
|
+
readonly __doNotUseOrImplementIt: {
|
|
652
|
+
readonly ParserHelper: unique symbol;
|
|
653
|
+
};
|
|
627
654
|
}
|
|
628
655
|
export namespace com.debertz.logic.client.domain.mechanic {
|
|
629
656
|
interface GameMechanic extends com.debertz.logic.GameStoreContract/*, com.debertz.logic.client.domain.scenes.PlayersSceneContract */ {
|
|
@@ -656,7 +683,9 @@ export namespace com.debertz.logic.client.domain.mechanic {
|
|
|
656
683
|
playerExit(): void;
|
|
657
684
|
readonly id: string;
|
|
658
685
|
readonly table: com.debertz.logic.data.models.table.DebertzTable;
|
|
659
|
-
readonly
|
|
686
|
+
readonly __doNotUseOrImplementIt: {
|
|
687
|
+
readonly "com.debertz.logic.client.domain.mechanic.GameMechanic": unique symbol;
|
|
688
|
+
} & com.debertz.logic.GameStoreContract["__doNotUseOrImplementIt"];
|
|
660
689
|
}
|
|
661
690
|
}
|
|
662
691
|
export namespace com.debertz.logic.client.domain.mechanic.online {
|
|
@@ -694,7 +723,9 @@ export namespace com.debertz.logic.client.domain.mechanic.online {
|
|
|
694
723
|
playerExit(): void;
|
|
695
724
|
readonly id: string;
|
|
696
725
|
readonly table: com.debertz.logic.data.models.table.DebertzTable;
|
|
697
|
-
readonly
|
|
726
|
+
readonly __doNotUseOrImplementIt: {
|
|
727
|
+
readonly "com.debertz.logic.client.domain.mechanic.online.OnlineGameMechanic": unique symbol;
|
|
728
|
+
} & com.debertz.logic.client.domain.mechanic.GameMechanic["__doNotUseOrImplementIt"];
|
|
698
729
|
}
|
|
699
730
|
}
|
|
700
731
|
export namespace com.debertz.logic.client.redux.state {
|
|
@@ -717,7 +748,9 @@ export interface GameClientEngineController {
|
|
|
717
748
|
setEnableLogger(enabled: boolean): void;
|
|
718
749
|
createOnlineGameEngine(currentPlayerId: string): com.debertz.logic.client.domain.mechanic.online.OnlineGameMechanic;
|
|
719
750
|
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;
|
|
720
|
-
readonly
|
|
751
|
+
readonly __doNotUseOrImplementIt: {
|
|
752
|
+
readonly GameClientEngineController: unique symbol;
|
|
753
|
+
};
|
|
721
754
|
}
|
|
722
755
|
export function createGameClientController(loggerCallback: (p0: string, p1: Nullable<string>, p2: string, p3: Nullable<Error>, p4: Nullable<any>) => void): GameClientEngineController;
|
|
723
756
|
export as namespace Logic_Debertz_game_client;
|