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