game_client_logic_deb 1.6.37 → 1.6.55
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 +26 -26
- package/88b0986a7186d029-atomicfu-js-ir.js.map +1 -1
- package/{KosiTypeSystem-kaverit.js → Kosi-Kaverit-kaverit.js} +115 -115
- package/Kosi-Kaverit-kaverit.js.map +1 -0
- package/{Kodein-kodein-di.js → Kosi-Kodein-kodein-di.js} +696 -605
- package/Kosi-Kodein-kodein-di.js.map +1 -0
- package/Kotlin-DateTime-library-kotlinx-datetime.js +798 -0
- package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -0
- package/Logic_Debertz-core.js +3070 -2194
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +12385 -11536
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +204 -41
- package/Logic_Debertz-game_client.js +4993 -4820
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +2473 -2080
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring.js +15 -0
- package/kotlinx-io-kotlinx-io-bytestring.js.map +1 -0
- package/kotlinx-io-kotlinx-io-core.js +1191 -0
- package/kotlinx-io-kotlinx-io-core.js.map +1 -0
- package/{kotlinx-serialization-kotlinx-serialization-core-js-ir.js → kotlinx-serialization-kotlinx-serialization-core.js} +1977 -1969
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -0
- package/{kotlinx-serialization-kotlinx-serialization-json-js-ir.js → kotlinx-serialization-kotlinx-serialization-json.js} +1693 -1493
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -0
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +2592 -2585
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
- package/package.json +1 -1
- package/{uuid-js-ir.js → uuid.js} +40 -40
- package/uuid.js.map +1 -0
- package/Kodein-kodein-di.js.map +0 -1
- package/KosiTypeSystem-kaverit.js.map +0 -1
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js +0 -386
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js.map +0 -1
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map +0 -1
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map +0 -1
- package/uuid-js-ir.js.map +0 -1
|
@@ -4,12 +4,107 @@ export declare namespace com.logic {
|
|
|
4
4
|
get version(): string;
|
|
5
5
|
};
|
|
6
6
|
}
|
|
7
|
+
export declare namespace com.logic.data.models {
|
|
8
|
+
class CoreConfig {
|
|
9
|
+
constructor(fileLogsEnabled?: boolean, deleteFilesOnClear?: boolean, logsDirectoryPath?: Nullable<string>, fileNameFormat?: string);
|
|
10
|
+
get fileLogsEnabled(): boolean;
|
|
11
|
+
get deleteFilesOnClear(): boolean;
|
|
12
|
+
get logsDirectoryPath(): Nullable<string>;
|
|
13
|
+
get fileNameFormat(): string;
|
|
14
|
+
copy(fileLogsEnabled?: boolean, deleteFilesOnClear?: boolean, logsDirectoryPath?: Nullable<string>, fileNameFormat?: string): com.logic.data.models.CoreConfig;
|
|
15
|
+
toString(): string;
|
|
16
|
+
hashCode(): number;
|
|
17
|
+
equals(other: Nullable<any>): boolean;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
7
20
|
export declare namespace com.logic.data.models {
|
|
8
21
|
abstract class TerminationGameReason {
|
|
9
22
|
protected constructor();
|
|
10
23
|
static get Companion(): {
|
|
11
24
|
} & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
12
25
|
}
|
|
26
|
+
class PlayerLostConnectionReason extends com.logic.data.models.TerminationGameReason /* implements com.logic.data.models.FinishPlayerReason */ {
|
|
27
|
+
constructor(playerId: string, tag: Nullable<string>);
|
|
28
|
+
get tag(): Nullable<string>;
|
|
29
|
+
copy(playerId?: string, tag?: Nullable<string>): com.logic.data.models.PlayerLostConnectionReason;
|
|
30
|
+
toString(): string;
|
|
31
|
+
hashCode(): number;
|
|
32
|
+
equals(other: Nullable<any>): boolean;
|
|
33
|
+
static get Companion(): {
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
class PlayerTimeoutReason extends com.logic.data.models.TerminationGameReason /* implements com.logic.data.models.FinishPlayerReason */ {
|
|
37
|
+
constructor(playerId: string, tag: Nullable<string>);
|
|
38
|
+
get tag(): Nullable<string>;
|
|
39
|
+
copy(playerId?: string, tag?: Nullable<string>): com.logic.data.models.PlayerTimeoutReason;
|
|
40
|
+
toString(): string;
|
|
41
|
+
hashCode(): number;
|
|
42
|
+
equals(other: Nullable<any>): boolean;
|
|
43
|
+
static get Companion(): {
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
class PlayerExitReason extends com.logic.data.models.TerminationGameReason /* implements com.logic.data.models.FinishPlayerReason */ {
|
|
47
|
+
constructor(playerId: string);
|
|
48
|
+
copy(playerId?: string): com.logic.data.models.PlayerExitReason;
|
|
49
|
+
toString(): string;
|
|
50
|
+
hashCode(): number;
|
|
51
|
+
equals(other: Nullable<any>): boolean;
|
|
52
|
+
static get Companion(): {
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
class GameFinishedReason extends com.logic.data.models.TerminationGameReason {
|
|
56
|
+
constructor(reason: com.logic.data.models.GameFinishedReason.Reason);
|
|
57
|
+
get reason(): com.logic.data.models.GameFinishedReason.Reason;
|
|
58
|
+
copy(reason?: com.logic.data.models.GameFinishedReason.Reason): com.logic.data.models.GameFinishedReason;
|
|
59
|
+
toString(): string;
|
|
60
|
+
hashCode(): number;
|
|
61
|
+
equals(other: Nullable<any>): boolean;
|
|
62
|
+
static get Companion(): {
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
namespace GameFinishedReason {
|
|
66
|
+
abstract class Reason {
|
|
67
|
+
private constructor();
|
|
68
|
+
static get DEPLOY(): com.logic.data.models.GameFinishedReason.Reason & {
|
|
69
|
+
get name(): "DEPLOY";
|
|
70
|
+
get ordinal(): 0;
|
|
71
|
+
};
|
|
72
|
+
static get PLAYER_DELETED(): com.logic.data.models.GameFinishedReason.Reason & {
|
|
73
|
+
get name(): "PLAYER_DELETED";
|
|
74
|
+
get ordinal(): 1;
|
|
75
|
+
};
|
|
76
|
+
static get NO_ACTIVE_PLAYERS(): com.logic.data.models.GameFinishedReason.Reason & {
|
|
77
|
+
get name(): "NO_ACTIVE_PLAYERS";
|
|
78
|
+
get ordinal(): 2;
|
|
79
|
+
};
|
|
80
|
+
static get GAME_NOT_EXISTS(): com.logic.data.models.GameFinishedReason.Reason & {
|
|
81
|
+
get name(): "GAME_NOT_EXISTS";
|
|
82
|
+
get ordinal(): 3;
|
|
83
|
+
};
|
|
84
|
+
static values(): Array<com.logic.data.models.GameFinishedReason.Reason>;
|
|
85
|
+
static valueOf(value: string): com.logic.data.models.GameFinishedReason.Reason;
|
|
86
|
+
get name(): "DEPLOY" | "PLAYER_DELETED" | "NO_ACTIVE_PLAYERS" | "GAME_NOT_EXISTS";
|
|
87
|
+
get ordinal(): 0 | 1 | 2 | 3;
|
|
88
|
+
static get Companion(): {
|
|
89
|
+
} & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
class GameErrorReason extends com.logic.data.models.TerminationGameReason {
|
|
93
|
+
constructor(reason: string);
|
|
94
|
+
get reason(): string;
|
|
95
|
+
copy(reason?: string): com.logic.data.models.GameErrorReason;
|
|
96
|
+
toString(): string;
|
|
97
|
+
hashCode(): number;
|
|
98
|
+
equals(other: Nullable<any>): boolean;
|
|
99
|
+
static get Companion(): {
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
const WaitingForConnectionReason: {
|
|
103
|
+
toString(): string;
|
|
104
|
+
} & com.logic.data.models.TerminationGameReason & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
105
|
+
const ProcessingReason: {
|
|
106
|
+
toString(): string;
|
|
107
|
+
} & com.logic.data.models.TerminationGameReason & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
13
108
|
}
|
|
14
109
|
export declare namespace com.logic.data.models.player {
|
|
15
110
|
class GameUserInfo implements com.logic.data.models.player.PlayerIdContract {
|
|
@@ -158,38 +253,46 @@ export declare namespace com.logic.data.models.rules {
|
|
|
158
253
|
get ordinal(): 0 | 1 | 2 | 3 | 4;
|
|
159
254
|
}
|
|
160
255
|
}
|
|
161
|
-
export declare namespace com.logic.
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
256
|
+
export declare namespace com.logic.data.models.serializable.rules {
|
|
257
|
+
class RulesDto {
|
|
258
|
+
constructor(needToPutHigherTrump: Nullable<boolean> | undefined, distributePoints: Nullable<boolean> | undefined, protectBella: Nullable<boolean> | undefined, oneTryToProtectBella: Nullable<boolean> | undefined, enableFourSevensCombination: Nullable<boolean> | undefined, enableTrumpSevenCombination: Nullable<boolean> | undefined, enableTrumpSevenCombinationAfterDistribution: Nullable<boolean> | undefined, playerWhoChooseSuitGoFirst: Nullable<boolean> | undefined, winnerShuffleCards: Nullable<boolean> | undefined, playWithoutLiabilities: Nullable<boolean> | undefined, trumpCardGoToPlayerWhoShuffleCards: Nullable<boolean> | undefined, enableFineIfNoBribes: Nullable<boolean> | undefined, fineIfNoBribes: number, enableFineAfterThirdByte?: Nullable<boolean>, checkTrumpCombination?: Nullable<boolean>, checkOnlyTrumpDebertz?: Nullable<boolean>, tenCardsInHand?: Nullable<boolean>);
|
|
259
|
+
get needToPutHigherTrump(): Nullable<boolean>;
|
|
260
|
+
get distributePoints(): Nullable<boolean>;
|
|
261
|
+
get protectBella(): Nullable<boolean>;
|
|
262
|
+
get oneTryToProtectBella(): Nullable<boolean>;
|
|
263
|
+
get enableFourSevensCombination(): Nullable<boolean>;
|
|
264
|
+
get enableTrumpSevenCombination(): Nullable<boolean>;
|
|
265
|
+
get enableTrumpSevenCombinationAfterDistribution(): Nullable<boolean>;
|
|
266
|
+
get playerWhoChooseSuitGoFirst(): Nullable<boolean>;
|
|
267
|
+
get winnerShuffleCards(): Nullable<boolean>;
|
|
268
|
+
get playWithoutLiabilities(): Nullable<boolean>;
|
|
269
|
+
get trumpCardGoToPlayerWhoShuffleCards(): Nullable<boolean>;
|
|
270
|
+
get enableFineIfNoBribes(): Nullable<boolean>;
|
|
271
|
+
get fineIfNoBribes(): number;
|
|
272
|
+
get enableFineAfterThirdByte(): Nullable<boolean>;
|
|
273
|
+
get checkTrumpCombination(): Nullable<boolean>;
|
|
274
|
+
get checkOnlyTrumpDebertz(): Nullable<boolean>;
|
|
275
|
+
get tenCardsInHand(): Nullable<boolean>;
|
|
276
|
+
copy(needToPutHigherTrump?: Nullable<boolean>, distributePoints?: Nullable<boolean>, protectBella?: Nullable<boolean>, oneTryToProtectBella?: Nullable<boolean>, enableFourSevensCombination?: Nullable<boolean>, enableTrumpSevenCombination?: Nullable<boolean>, enableTrumpSevenCombinationAfterDistribution?: Nullable<boolean>, playerWhoChooseSuitGoFirst?: Nullable<boolean>, winnerShuffleCards?: Nullable<boolean>, playWithoutLiabilities?: Nullable<boolean>, trumpCardGoToPlayerWhoShuffleCards?: Nullable<boolean>, enableFineIfNoBribes?: Nullable<boolean>, fineIfNoBribes?: number, enableFineAfterThirdByte?: Nullable<boolean>, checkTrumpCombination?: Nullable<boolean>, checkOnlyTrumpDebertz?: Nullable<boolean>, tenCardsInHand?: Nullable<boolean>): com.logic.data.models.serializable.rules.RulesDto;
|
|
277
|
+
toString(): string;
|
|
278
|
+
hashCode(): number;
|
|
279
|
+
equals(other: Nullable<any>): boolean;
|
|
280
|
+
static get Companion(): {
|
|
178
281
|
};
|
|
179
282
|
}
|
|
180
283
|
}
|
|
181
284
|
export declare namespace com.logic.redux.actions {
|
|
182
|
-
interface BufferedAction extends com.logic.
|
|
285
|
+
interface BufferedAction extends com.logic.redux.store.definitions.Action {
|
|
183
286
|
readonly actionTag: string;
|
|
184
287
|
readonly __doNotUseOrImplementIt: {
|
|
185
288
|
readonly "com.logic.redux.actions.BufferedAction": unique symbol;
|
|
186
|
-
} & com.logic.
|
|
289
|
+
} & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
|
|
187
290
|
}
|
|
188
|
-
interface ReleaseBufferTriggerAction extends com.logic.
|
|
291
|
+
interface ReleaseBufferTriggerAction extends com.logic.redux.store.definitions.Action {
|
|
189
292
|
readonly actionTag: string;
|
|
190
293
|
readonly __doNotUseOrImplementIt: {
|
|
191
294
|
readonly "com.logic.redux.actions.ReleaseBufferTriggerAction": unique symbol;
|
|
192
|
-
} & com.logic.
|
|
295
|
+
} & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
|
|
193
296
|
}
|
|
194
297
|
}
|
|
195
298
|
export declare namespace com.logic.redux.actions.validation {
|
|
@@ -208,6 +311,26 @@ export declare namespace com.logic.redux.actions.validation {
|
|
|
208
311
|
};
|
|
209
312
|
}
|
|
210
313
|
}
|
|
314
|
+
export declare namespace com.logic.redux.store.definitions {
|
|
315
|
+
interface Action {
|
|
316
|
+
readonly actionTag: string;
|
|
317
|
+
readonly __doNotUseOrImplementIt: {
|
|
318
|
+
readonly "com.logic.redux.store.definitions.Action": unique symbol;
|
|
319
|
+
};
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
export declare namespace com.logic.redux.store.definitions {
|
|
323
|
+
interface Store<State> {
|
|
324
|
+
readonly store: com.logic.redux.store.definitions.Store<State>;
|
|
325
|
+
dispatch: (p0: com.logic.redux.store.definitions.Action) => void;
|
|
326
|
+
readonly observe: any/* kotlinx.coroutines.flow.Flow<State> */;
|
|
327
|
+
readonly replaceReducer: (p0: any/* com.logic.redux.store.definitions.Reducer<State> */) => void;
|
|
328
|
+
readonly state: State;
|
|
329
|
+
readonly __doNotUseOrImplementIt: {
|
|
330
|
+
readonly "com.logic.redux.store.definitions.Store": unique symbol;
|
|
331
|
+
};
|
|
332
|
+
}
|
|
333
|
+
}
|
|
211
334
|
export declare namespace com.logic.utils.logger.game {
|
|
212
335
|
interface GameLogger extends com.logic.utils.logger.outputs.LoggerOutput {
|
|
213
336
|
d(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
|
|
@@ -286,6 +409,7 @@ export declare namespace com.logic.utils.logger.outputs {
|
|
|
286
409
|
get tag(): Nullable<string>;
|
|
287
410
|
get message(): Nullable<string>;
|
|
288
411
|
get stackTrace(): Nullable<string>;
|
|
412
|
+
toMessageLog(): string;
|
|
289
413
|
copy(type?: com.logic.utils.logger.outputs.LogType, tag?: Nullable<string>, message?: Nullable<string>, stackTrace?: Nullable<string>): com.logic.utils.logger.outputs.LoggerOutputDataDto;
|
|
290
414
|
toString(): string;
|
|
291
415
|
hashCode(): number;
|
|
@@ -652,15 +776,15 @@ export declare namespace com.debertz.logic.redux.actions {
|
|
|
652
776
|
get actionTag(): string;
|
|
653
777
|
notValidateWhenFinishing(): boolean;
|
|
654
778
|
notValidateWhenFinished(): boolean;
|
|
655
|
-
readonly __doNotUseOrImplementIt: com.logic.
|
|
656
|
-
} & com.logic.
|
|
779
|
+
readonly __doNotUseOrImplementIt: com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinishing["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinished["__doNotUseOrImplementIt"];
|
|
780
|
+
} & com.logic.redux.store.definitions.Action & com.logic.redux.actions.validation.NotValidateIfGameFinishing & com.logic.redux.actions.validation.NotValidateIfGameFinished;
|
|
657
781
|
}
|
|
658
782
|
export declare namespace com.debertz.logic.redux.actions.client.from {
|
|
659
|
-
abstract class FromClientAction implements com.logic.
|
|
783
|
+
abstract class FromClientAction implements com.logic.redux.store.definitions.Action {
|
|
660
784
|
protected constructor();
|
|
661
785
|
abstract get playerId(): string;
|
|
662
786
|
get actionTag(): string;
|
|
663
|
-
readonly __doNotUseOrImplementIt: com.logic.
|
|
787
|
+
readonly __doNotUseOrImplementIt: com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
|
|
664
788
|
}
|
|
665
789
|
}
|
|
666
790
|
export declare namespace com.debertz.logic.redux.actions.client.to {
|
|
@@ -675,8 +799,8 @@ export declare namespace com.debertz.logic.redux.actions.client.to {
|
|
|
675
799
|
get excludePlayerId(): string;
|
|
676
800
|
equals(other: Nullable<any>): boolean;
|
|
677
801
|
hashCode(): number;
|
|
678
|
-
copy(id?: string, includePlayers?: Array<string>, excludePlayers?: Array<string>, deliveryType?: com.debertz.logic.redux.actions.client.to.ActionDeliveryType): com.debertz.logic.redux.actions.client.to.ActionDeliveryPayload;
|
|
679
802
|
toString(): string;
|
|
803
|
+
copy(id?: string, includePlayers?: Array<string>, excludePlayers?: Array<string>, deliveryType?: com.debertz.logic.redux.actions.client.to.ActionDeliveryType): com.debertz.logic.redux.actions.client.to.ActionDeliveryPayload;
|
|
680
804
|
static get Companion(): {
|
|
681
805
|
user(tableId: string, sendToPlayerId: string): com.debertz.logic.redux.actions.client.to.ActionDeliveryPayload;
|
|
682
806
|
};
|
|
@@ -704,18 +828,18 @@ export declare namespace com.debertz.logic.redux.actions.client.to {
|
|
|
704
828
|
}
|
|
705
829
|
}
|
|
706
830
|
export declare namespace com.debertz.logic.redux.actions.client.to {
|
|
707
|
-
abstract class ToClientAction implements com.logic.
|
|
831
|
+
abstract class ToClientAction implements com.logic.redux.store.definitions.Action {
|
|
708
832
|
protected constructor();
|
|
709
833
|
abstract get deliveryPayload(): com.debertz.logic.redux.actions.client.to.ActionDeliveryPayload;
|
|
710
834
|
get actionTag(): string;
|
|
711
|
-
readonly __doNotUseOrImplementIt: com.logic.
|
|
835
|
+
readonly __doNotUseOrImplementIt: com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
|
|
712
836
|
}
|
|
713
837
|
}
|
|
714
838
|
export declare namespace com.debertz.logic.redux.actions.game {
|
|
715
|
-
abstract class GameAction implements com.logic.
|
|
839
|
+
abstract class GameAction implements com.logic.redux.store.definitions.Action {
|
|
716
840
|
protected constructor();
|
|
717
841
|
get actionTag(): string;
|
|
718
|
-
readonly __doNotUseOrImplementIt: com.logic.
|
|
842
|
+
readonly __doNotUseOrImplementIt: com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
|
|
719
843
|
}
|
|
720
844
|
class RoundStartedAction extends com.debertz.logic.redux.actions.game.GameAction {
|
|
721
845
|
constructor(id: string, gameId: string, roundNumber: number, players: Array<string>, isFirstRound: boolean, gameNumber: number, gameHistory: com.debertz.logic.data.models.table.history.GameHistory);
|
|
@@ -751,7 +875,7 @@ export declare namespace com.debertz.logic.redux.actions.game {
|
|
|
751
875
|
copy(id?: string, gameId?: string, roundNumber?: number, earnedBiggestPointPlayerId?: string, roundCommitted?: Array<string>, roundWinners?: Array<string>, gameLosers?: Nullable<Array<string>>, gameWinners?: Nullable<Array<string>>, luckyFactors?: Nullable<Array<com.logic.data.models.player.PlayerLuckyFactor>>, gameHistory?: com.debertz.logic.data.models.table.history.GameHistory): com.debertz.logic.redux.actions.game.RoundEndedAction;
|
|
752
876
|
get actionTag(): string;
|
|
753
877
|
}
|
|
754
|
-
class PartyRestartedAction implements com.logic.
|
|
878
|
+
class PartyRestartedAction implements com.logic.redux.store.definitions.Action {
|
|
755
879
|
constructor(id: string, roundNumber: number);
|
|
756
880
|
get id(): string;
|
|
757
881
|
get partyNumber(): number;
|
|
@@ -760,7 +884,7 @@ export declare namespace com.debertz.logic.redux.actions.game {
|
|
|
760
884
|
hashCode(): number;
|
|
761
885
|
equals(other: Nullable<any>): boolean;
|
|
762
886
|
get actionTag(): string;
|
|
763
|
-
readonly __doNotUseOrImplementIt: com.logic.
|
|
887
|
+
readonly __doNotUseOrImplementIt: com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
|
|
764
888
|
}
|
|
765
889
|
}
|
|
766
890
|
export declare namespace com.debertz.logic.redux.actions.mechanic {
|
|
@@ -769,6 +893,41 @@ export declare namespace com.debertz.logic.redux.actions.mechanic {
|
|
|
769
893
|
get actionTag(): string;
|
|
770
894
|
readonly __doNotUseOrImplementIt: com.logic.redux.actions.BufferedAction["__doNotUseOrImplementIt"];
|
|
771
895
|
}
|
|
896
|
+
interface FirstMechanicAction extends com.logic.redux.store.definitions.Action {
|
|
897
|
+
readonly id: string;
|
|
898
|
+
readonly version: string;
|
|
899
|
+
readonly users: any/* kotlin.collections.List<com.logic.data.models.player.GameUserInfo> */;
|
|
900
|
+
readonly config: com.debertz.logic.data.models.table.config.Config;
|
|
901
|
+
readonly gameCreatorPlayerId: string;
|
|
902
|
+
readonly actionTag: string;
|
|
903
|
+
readonly __doNotUseOrImplementIt: {
|
|
904
|
+
readonly "com.debertz.logic.redux.actions.mechanic.FirstMechanicAction": unique symbol;
|
|
905
|
+
} & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
|
|
906
|
+
}
|
|
907
|
+
class StartGameMechanicAction extends com.debertz.logic.redux.actions.mechanic.MechanicAction implements com.debertz.logic.redux.actions.mechanic.FirstMechanicAction {
|
|
908
|
+
constructor(config: com.debertz.logic.data.models.table.config.Config, id: string, version: string, gameCreatorPlayerId: string, users: any/* kotlin.collections.List<com.logic.data.models.player.GameUserInfo> */);
|
|
909
|
+
get config(): com.debertz.logic.data.models.table.config.Config;
|
|
910
|
+
get id(): string;
|
|
911
|
+
get version(): string;
|
|
912
|
+
get gameCreatorPlayerId(): string;
|
|
913
|
+
get users(): any/* kotlin.collections.List<com.logic.data.models.player.GameUserInfo> */;
|
|
914
|
+
copy(config?: com.debertz.logic.data.models.table.config.Config, id?: string, version?: string, gameCreatorPlayerId?: string, users?: any/* kotlin.collections.List<com.logic.data.models.player.GameUserInfo> */): com.debertz.logic.redux.actions.mechanic.StartGameMechanicAction;
|
|
915
|
+
toString(): string;
|
|
916
|
+
hashCode(): number;
|
|
917
|
+
equals(other: Nullable<any>): boolean;
|
|
918
|
+
get actionTag(): string;
|
|
919
|
+
readonly __doNotUseOrImplementIt: com.debertz.logic.redux.actions.mechanic.MechanicAction["__doNotUseOrImplementIt"] & com.debertz.logic.redux.actions.mechanic.FirstMechanicAction["__doNotUseOrImplementIt"];
|
|
920
|
+
}
|
|
921
|
+
class StartNewGameMechanicAction extends com.debertz.logic.redux.actions.mechanic.MechanicAction {
|
|
922
|
+
constructor(previousGameId: string, gameId: string);
|
|
923
|
+
get previousGameId(): string;
|
|
924
|
+
get gameId(): string;
|
|
925
|
+
copy(previousGameId?: string, gameId?: string): com.debertz.logic.redux.actions.mechanic.StartNewGameMechanicAction;
|
|
926
|
+
toString(): string;
|
|
927
|
+
hashCode(): number;
|
|
928
|
+
equals(other: Nullable<any>): boolean;
|
|
929
|
+
get actionTag(): string;
|
|
930
|
+
}
|
|
772
931
|
class FinishingGameMechanicAction extends com.debertz.logic.redux.actions.mechanic.MechanicAction implements com.debertz.logic.redux.actions.mechanic.TerminatedAction {
|
|
773
932
|
constructor(reason: com.logic.data.models.TerminationGameReason);
|
|
774
933
|
get reason(): com.logic.data.models.TerminationGameReason;
|
|
@@ -790,16 +949,16 @@ export declare namespace com.debertz.logic.redux.actions.mechanic {
|
|
|
790
949
|
notValidateWhenFinishing(): boolean;
|
|
791
950
|
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"];
|
|
792
951
|
}
|
|
793
|
-
interface NavigationMechanicAction extends com.logic.
|
|
952
|
+
interface NavigationMechanicAction extends com.logic.redux.store.definitions.Action {
|
|
794
953
|
readonly sceneId: string;
|
|
795
954
|
readonly actId: Nullable<string>;
|
|
796
955
|
readonly actPayload: Nullable<com.debertz.logic.data.models.scenes.ActData>;
|
|
797
956
|
readonly actionTag: string;
|
|
798
957
|
readonly __doNotUseOrImplementIt: {
|
|
799
958
|
readonly "com.debertz.logic.redux.actions.mechanic.NavigationMechanicAction": unique symbol;
|
|
800
|
-
} & com.logic.
|
|
959
|
+
} & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
|
|
801
960
|
}
|
|
802
|
-
class SceneMechanicAction extends com.debertz.logic.redux.actions.mechanic.MechanicAction implements com.debertz.logic.redux.actions.mechanic.NavigationMechanicAction, com.logic.
|
|
961
|
+
class SceneMechanicAction extends com.debertz.logic.redux.actions.mechanic.MechanicAction implements com.debertz.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/*, com.debertz.logic.redux.actions.mechanic.NextPlayerTurnAction */ {
|
|
803
962
|
constructor(sceneId: string, actId?: Nullable<string>, scenePayload?: Nullable<com.debertz.logic.data.models.scenes.SceneData>, actPayload?: Nullable<com.debertz.logic.data.models.scenes.ActData>);
|
|
804
963
|
get sceneId(): string;
|
|
805
964
|
get actId(): Nullable<string>;
|
|
@@ -812,14 +971,14 @@ export declare namespace com.debertz.logic.redux.actions.mechanic {
|
|
|
812
971
|
hashCode(): number;
|
|
813
972
|
equals(other: Nullable<any>): boolean;
|
|
814
973
|
get actionTag(): string;
|
|
815
|
-
readonly __doNotUseOrImplementIt: com.debertz.logic.redux.actions.mechanic.MechanicAction["__doNotUseOrImplementIt"] & com.debertz.logic.redux.actions.mechanic.NavigationMechanicAction["__doNotUseOrImplementIt"] & com.logic.
|
|
974
|
+
readonly __doNotUseOrImplementIt: com.debertz.logic.redux.actions.mechanic.MechanicAction["__doNotUseOrImplementIt"] & com.debertz.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"];
|
|
816
975
|
}
|
|
817
|
-
interface TerminatedAction extends com.logic.
|
|
976
|
+
interface TerminatedAction extends com.logic.redux.store.definitions.Action {
|
|
818
977
|
readonly reason: com.logic.data.models.TerminationGameReason;
|
|
819
978
|
readonly actionTag: string;
|
|
820
979
|
readonly __doNotUseOrImplementIt: {
|
|
821
980
|
readonly "com.debertz.logic.redux.actions.mechanic.TerminatedAction": unique symbol;
|
|
822
|
-
} & com.logic.
|
|
981
|
+
} & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
|
|
823
982
|
}
|
|
824
983
|
class PlayerConnectionChangedMechanicAction extends com.debertz.logic.redux.actions.mechanic.MechanicAction implements com.logic.redux.actions.validation.NotValidateIfGameFinishing, com.logic.redux.actions.validation.NotValidateIfGameFinished {
|
|
825
984
|
constructor(playerId: string, state: com.logic.data.models.player.PlayerConnectionState, isNoneActivePlayers?: boolean, reconnectUntilTime?: Nullable<string>);
|
|
@@ -851,6 +1010,8 @@ export declare interface ParserHelper {
|
|
|
851
1010
|
decodeFromClientEvent(fromPlayerId: string, json: string): com.debertz.logic.redux.actions.client.from.FromClientAction;
|
|
852
1011
|
encodeToClientEvent(action: com.debertz.logic.redux.actions.client.to.ToClientAction): string;
|
|
853
1012
|
decodeToClientEventToMechanicAction(playerId: string, engine: com.debertz.logic.GameStoreContract, json: string): com.debertz.logic.redux.actions.mechanic.MechanicAction;
|
|
1013
|
+
encodeGameRound(round: com.debertz.logic.data.models.table.history.RoundHistory): string;
|
|
1014
|
+
encodeGameRoundItems(round: com.debertz.logic.data.models.table.history.RoundHistory): string;
|
|
854
1015
|
readonly __doNotUseOrImplementIt: {
|
|
855
1016
|
readonly ParserHelper: unique symbol;
|
|
856
1017
|
};
|
|
@@ -944,6 +1105,7 @@ export declare namespace com.debertz.logic.client.domain.mechanic {
|
|
|
944
1105
|
tutorialPassed(skipped: boolean): void;
|
|
945
1106
|
playerExit(): void;
|
|
946
1107
|
error(error: Nullable<com.debertz.logic.client.redux.state.ErrorState>): void;
|
|
1108
|
+
observeGameHistoryEvents(): any/* kotlinx.coroutines.flow.Flow<com.debertz.logic.client.data.models.vm.HistoryViewModel> */;
|
|
947
1109
|
readonly id: string;
|
|
948
1110
|
readonly table: com.debertz.logic.data.models.table.DebertzTable;
|
|
949
1111
|
readonly isTableExists: boolean;
|
|
@@ -987,6 +1149,7 @@ export declare namespace com.debertz.logic.client.domain.mechanic.online {
|
|
|
987
1149
|
tutorialPassed(skipped: boolean): void;
|
|
988
1150
|
playerExit(): void;
|
|
989
1151
|
error(error: Nullable<com.debertz.logic.client.redux.state.ErrorState>): void;
|
|
1152
|
+
observeGameHistoryEvents(): any/* kotlinx.coroutines.flow.Flow<com.debertz.logic.client.data.models.vm.HistoryViewModel> */;
|
|
990
1153
|
readonly id: string;
|
|
991
1154
|
readonly table: com.debertz.logic.data.models.table.DebertzTable;
|
|
992
1155
|
readonly isTableExists: boolean;
|
|
@@ -1009,14 +1172,14 @@ export declare namespace com.debertz.logic.client.redux.state {
|
|
|
1009
1172
|
}
|
|
1010
1173
|
}
|
|
1011
1174
|
export declare namespace com.debertz.logic.client.utils {
|
|
1012
|
-
interface
|
|
1175
|
+
interface ShowErrorLoggerOutput extends com.logic.utils.logger.outputs.LoggerOutput {
|
|
1013
1176
|
skipWarnings: boolean;
|
|
1014
1177
|
gameClientProvider: Nullable<() => any/* com.debertz.logic.client.GameClient */>;
|
|
1015
1178
|
d(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
|
|
1016
1179
|
e(tag: Nullable<string>, message: Nullable<string>, exception: Nullable<Error>, payload: Nullable<any>): void;
|
|
1017
1180
|
w(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
|
|
1018
1181
|
readonly __doNotUseOrImplementIt: {
|
|
1019
|
-
readonly "com.debertz.logic.client.utils.
|
|
1182
|
+
readonly "com.debertz.logic.client.utils.ShowErrorLoggerOutput": unique symbol;
|
|
1020
1183
|
} & com.logic.utils.logger.outputs.LoggerOutput["__doNotUseOrImplementIt"];
|
|
1021
1184
|
}
|
|
1022
1185
|
}
|
|
@@ -1024,7 +1187,7 @@ export declare interface GameClientEngineController {
|
|
|
1024
1187
|
readonly parser: ParserHelper;
|
|
1025
1188
|
setEnableLogger(enabled: boolean): void;
|
|
1026
1189
|
createOnlineGameEngine(currentPlayerId: string): com.debertz.logic.client.domain.mechanic.online.OnlineGameMechanic;
|
|
1027
|
-
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.
|
|
1190
|
+
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.redux.store.definitions.Store<any/* com.debertz.logic.redux.AppState */>, p1: (p0: com.logic.redux.store.definitions.Action) => void, p2: any) => void>, isAutoStepCurrentPlayer?: boolean, botExitsWhenNGameNumberIsFinished?: Nullable<number>): com.debertz.logic.client.domain.mechanic.online.OnlineGameMechanic;
|
|
1028
1191
|
readonly __doNotUseOrImplementIt: {
|
|
1029
1192
|
readonly GameClientEngineController: unique symbol;
|
|
1030
1193
|
};
|