game_client_logic_deb 1.6.37 → 1.6.38
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/Logic_Debertz-core.js +1366 -1098
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +7585 -7585
- package/Logic_Debertz-game_client.d.ts +110 -0
- package/Logic_Debertz-game_client.js +2532 -2532
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +1 -1
- package/package.json +1 -1
|
@@ -10,6 +10,88 @@ export declare namespace com.logic.data.models {
|
|
|
10
10
|
static get Companion(): {
|
|
11
11
|
} & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
12
12
|
}
|
|
13
|
+
class PlayerLostConnectionReason extends com.logic.data.models.TerminationGameReason /* implements com.logic.data.models.FinishPlayerReason */ {
|
|
14
|
+
constructor(playerId: string, tag: Nullable<string>);
|
|
15
|
+
get tag(): Nullable<string>;
|
|
16
|
+
copy(playerId?: string, tag?: Nullable<string>): com.logic.data.models.PlayerLostConnectionReason;
|
|
17
|
+
toString(): string;
|
|
18
|
+
hashCode(): number;
|
|
19
|
+
equals(other: Nullable<any>): boolean;
|
|
20
|
+
static get Companion(): {
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
class PlayerTimeoutReason extends com.logic.data.models.TerminationGameReason /* implements com.logic.data.models.FinishPlayerReason */ {
|
|
24
|
+
constructor(playerId: string, tag: Nullable<string>);
|
|
25
|
+
get tag(): Nullable<string>;
|
|
26
|
+
copy(playerId?: string, tag?: Nullable<string>): com.logic.data.models.PlayerTimeoutReason;
|
|
27
|
+
toString(): string;
|
|
28
|
+
hashCode(): number;
|
|
29
|
+
equals(other: Nullable<any>): boolean;
|
|
30
|
+
static get Companion(): {
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
class PlayerExitReason extends com.logic.data.models.TerminationGameReason /* implements com.logic.data.models.FinishPlayerReason */ {
|
|
34
|
+
constructor(playerId: string);
|
|
35
|
+
copy(playerId?: string): com.logic.data.models.PlayerExitReason;
|
|
36
|
+
toString(): string;
|
|
37
|
+
hashCode(): number;
|
|
38
|
+
equals(other: Nullable<any>): boolean;
|
|
39
|
+
static get Companion(): {
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
class GameFinishedReason extends com.logic.data.models.TerminationGameReason {
|
|
43
|
+
constructor(reason: com.logic.data.models.GameFinishedReason.Reason);
|
|
44
|
+
get reason(): com.logic.data.models.GameFinishedReason.Reason;
|
|
45
|
+
copy(reason?: com.logic.data.models.GameFinishedReason.Reason): com.logic.data.models.GameFinishedReason;
|
|
46
|
+
toString(): string;
|
|
47
|
+
hashCode(): number;
|
|
48
|
+
equals(other: Nullable<any>): boolean;
|
|
49
|
+
static get Companion(): {
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
namespace GameFinishedReason {
|
|
53
|
+
abstract class Reason {
|
|
54
|
+
private constructor();
|
|
55
|
+
static get DEPLOY(): com.logic.data.models.GameFinishedReason.Reason & {
|
|
56
|
+
get name(): "DEPLOY";
|
|
57
|
+
get ordinal(): 0;
|
|
58
|
+
};
|
|
59
|
+
static get PLAYER_DELETED(): com.logic.data.models.GameFinishedReason.Reason & {
|
|
60
|
+
get name(): "PLAYER_DELETED";
|
|
61
|
+
get ordinal(): 1;
|
|
62
|
+
};
|
|
63
|
+
static get NO_ACTIVE_PLAYERS(): com.logic.data.models.GameFinishedReason.Reason & {
|
|
64
|
+
get name(): "NO_ACTIVE_PLAYERS";
|
|
65
|
+
get ordinal(): 2;
|
|
66
|
+
};
|
|
67
|
+
static get GAME_NOT_EXISTS(): com.logic.data.models.GameFinishedReason.Reason & {
|
|
68
|
+
get name(): "GAME_NOT_EXISTS";
|
|
69
|
+
get ordinal(): 3;
|
|
70
|
+
};
|
|
71
|
+
static values(): Array<com.logic.data.models.GameFinishedReason.Reason>;
|
|
72
|
+
static valueOf(value: string): com.logic.data.models.GameFinishedReason.Reason;
|
|
73
|
+
get name(): "DEPLOY" | "PLAYER_DELETED" | "NO_ACTIVE_PLAYERS" | "GAME_NOT_EXISTS";
|
|
74
|
+
get ordinal(): 0 | 1 | 2 | 3;
|
|
75
|
+
static get Companion(): {
|
|
76
|
+
} & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
class GameErrorReason extends com.logic.data.models.TerminationGameReason {
|
|
80
|
+
constructor(reason: string);
|
|
81
|
+
get reason(): string;
|
|
82
|
+
copy(reason?: string): com.logic.data.models.GameErrorReason;
|
|
83
|
+
toString(): string;
|
|
84
|
+
hashCode(): number;
|
|
85
|
+
equals(other: Nullable<any>): boolean;
|
|
86
|
+
static get Companion(): {
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
const WaitingForConnectionReason: {
|
|
90
|
+
toString(): string;
|
|
91
|
+
} & com.logic.data.models.TerminationGameReason & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
92
|
+
const ProcessingReason: {
|
|
93
|
+
toString(): string;
|
|
94
|
+
} & com.logic.data.models.TerminationGameReason & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
13
95
|
}
|
|
14
96
|
export declare namespace com.logic.data.models.player {
|
|
15
97
|
class GameUserInfo implements com.logic.data.models.player.PlayerIdContract {
|
|
@@ -158,6 +240,34 @@ export declare namespace com.logic.data.models.rules {
|
|
|
158
240
|
get ordinal(): 0 | 1 | 2 | 3 | 4;
|
|
159
241
|
}
|
|
160
242
|
}
|
|
243
|
+
export declare namespace com.logic.data.models.serializable.rules {
|
|
244
|
+
class RulesDto {
|
|
245
|
+
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>);
|
|
246
|
+
get needToPutHigherTrump(): Nullable<boolean>;
|
|
247
|
+
get distributePoints(): Nullable<boolean>;
|
|
248
|
+
get protectBella(): Nullable<boolean>;
|
|
249
|
+
get oneTryToProtectBella(): Nullable<boolean>;
|
|
250
|
+
get enableFourSevensCombination(): Nullable<boolean>;
|
|
251
|
+
get enableTrumpSevenCombination(): Nullable<boolean>;
|
|
252
|
+
get enableTrumpSevenCombinationAfterDistribution(): Nullable<boolean>;
|
|
253
|
+
get playerWhoChooseSuitGoFirst(): Nullable<boolean>;
|
|
254
|
+
get winnerShuffleCards(): Nullable<boolean>;
|
|
255
|
+
get playWithoutLiabilities(): Nullable<boolean>;
|
|
256
|
+
get trumpCardGoToPlayerWhoShuffleCards(): Nullable<boolean>;
|
|
257
|
+
get enableFineIfNoBribes(): Nullable<boolean>;
|
|
258
|
+
get fineIfNoBribes(): number;
|
|
259
|
+
get enableFineAfterThirdByte(): Nullable<boolean>;
|
|
260
|
+
get checkTrumpCombination(): Nullable<boolean>;
|
|
261
|
+
get checkOnlyTrumpDebertz(): Nullable<boolean>;
|
|
262
|
+
get tenCardsInHand(): Nullable<boolean>;
|
|
263
|
+
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;
|
|
264
|
+
toString(): string;
|
|
265
|
+
hashCode(): number;
|
|
266
|
+
equals(other: Nullable<any>): boolean;
|
|
267
|
+
static get Companion(): {
|
|
268
|
+
};
|
|
269
|
+
}
|
|
270
|
+
}
|
|
161
271
|
export declare namespace com.logic.domain.engine.definitions {
|
|
162
272
|
interface Action {
|
|
163
273
|
readonly actionTag: string;
|