game_client_logic_deb 1.8.106 → 1.8.107
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Logic_Debertz-core.js +833 -721
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +8531 -8139
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +37 -8
- package/Logic_Debertz-game_client.js +2434 -2574
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +4 -4
- package/kotlinx-coroutines-core.js +8 -8
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -157,15 +157,42 @@ export declare namespace com.logic.data.models {
|
|
|
157
157
|
}
|
|
158
158
|
/* @ts-ignore: https://github.com/microsoft/TypeScript/issues/4628 */
|
|
159
159
|
class GameErrorReason extends com.logic.data.models.TerminationGameReason {
|
|
160
|
-
constructor(reason:
|
|
161
|
-
get reason():
|
|
162
|
-
copy(reason?:
|
|
160
|
+
constructor(reason: com.logic.data.models.GameErrorReason.Reason);
|
|
161
|
+
get reason(): com.logic.data.models.GameErrorReason.Reason;
|
|
162
|
+
copy(reason?: com.logic.data.models.GameErrorReason.Reason): com.logic.data.models.GameErrorReason;
|
|
163
163
|
toString(): string;
|
|
164
164
|
hashCode(): number;
|
|
165
165
|
equals(other: Nullable<any>): boolean;
|
|
166
166
|
static get Companion(): {
|
|
167
167
|
};
|
|
168
168
|
}
|
|
169
|
+
namespace GameErrorReason {
|
|
170
|
+
abstract class Reason {
|
|
171
|
+
private constructor();
|
|
172
|
+
static get SERVER_ERROR(): com.logic.data.models.GameErrorReason.Reason & {
|
|
173
|
+
get name(): "SERVER_ERROR";
|
|
174
|
+
get ordinal(): 0;
|
|
175
|
+
};
|
|
176
|
+
static get INTERNAL_ERROR(): com.logic.data.models.GameErrorReason.Reason & {
|
|
177
|
+
get name(): "INTERNAL_ERROR";
|
|
178
|
+
get ordinal(): 1;
|
|
179
|
+
};
|
|
180
|
+
static get GAME_NOT_EXISTS(): com.logic.data.models.GameErrorReason.Reason & {
|
|
181
|
+
get name(): "GAME_NOT_EXISTS";
|
|
182
|
+
get ordinal(): 2;
|
|
183
|
+
};
|
|
184
|
+
static get WRONG_PLAYER_TURN(): com.logic.data.models.GameErrorReason.Reason & {
|
|
185
|
+
get name(): "WRONG_PLAYER_TURN";
|
|
186
|
+
get ordinal(): 3;
|
|
187
|
+
};
|
|
188
|
+
get name(): "SERVER_ERROR" | "INTERNAL_ERROR" | "GAME_NOT_EXISTS" | "WRONG_PLAYER_TURN";
|
|
189
|
+
get ordinal(): 0 | 1 | 2 | 3;
|
|
190
|
+
static values(): Array<com.logic.data.models.GameErrorReason.Reason>;
|
|
191
|
+
static valueOf(value: string): com.logic.data.models.GameErrorReason.Reason;
|
|
192
|
+
static get Companion(): {
|
|
193
|
+
} & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
169
196
|
const WaitingForConnectionReason: {
|
|
170
197
|
toString(): string;
|
|
171
198
|
hashCode(): number;
|
|
@@ -486,16 +513,17 @@ export declare namespace com.debertz.logic.data.models {
|
|
|
486
513
|
}
|
|
487
514
|
export declare namespace com.debertz.logic.data.models {
|
|
488
515
|
class EngineLogicConfig {
|
|
489
|
-
constructor(supportBackwardActions?: boolean,
|
|
516
|
+
constructor(supportBackwardActions?: boolean, validateTestMode?: boolean, verboseGameHistory?: boolean);
|
|
490
517
|
get supportBackwardActions(): boolean;
|
|
491
|
-
get supportPlayerTurnActions(): boolean;
|
|
492
518
|
get validateTestMode(): boolean;
|
|
493
|
-
|
|
519
|
+
get verboseGameHistory(): boolean;
|
|
520
|
+
copy(supportBackwardActions?: boolean, validateTestMode?: boolean, verboseGameHistory?: boolean): com.debertz.logic.data.models.EngineLogicConfig;
|
|
494
521
|
toString(): string;
|
|
495
522
|
hashCode(): number;
|
|
496
523
|
equals(other: Nullable<any>): boolean;
|
|
497
524
|
static get Companion(): {
|
|
498
525
|
getClientEngineTestMode(): com.debertz.logic.data.models.EngineLogicConfig;
|
|
526
|
+
getServerEngineMode(isProduction: boolean, supportBackwardActions?: boolean): com.debertz.logic.data.models.EngineLogicConfig;
|
|
499
527
|
};
|
|
500
528
|
}
|
|
501
529
|
}
|
|
@@ -1153,12 +1181,13 @@ export declare namespace com.debertz.logic.redux.actions.mechanic {
|
|
|
1153
1181
|
}
|
|
1154
1182
|
/* @ts-ignore: https://github.com/microsoft/TypeScript/issues/4628 */
|
|
1155
1183
|
class FinishingGameMechanicAction extends com.debertz.logic.redux.actions.mechanic.MechanicAction implements com.debertz.logic.redux.actions.mechanic.TerminatedAction {
|
|
1156
|
-
constructor(reason: com.logic.data.models.TerminationGameReason, sessionAnalytics: Nullable<com.debertz.logic.data.models.GameSessionAnalytics> | undefined, isGameFinished: boolean);
|
|
1184
|
+
constructor(reason: com.logic.data.models.TerminationGameReason, sessionAnalytics: Nullable<com.debertz.logic.data.models.GameSessionAnalytics> | undefined, isGameFinished: boolean, gameHistory?: Nullable<com.debertz.logic.data.models.table.history.GameHistory>);
|
|
1157
1185
|
get reason(): com.logic.data.models.TerminationGameReason;
|
|
1158
1186
|
get sessionAnalytics(): Nullable<com.debertz.logic.data.models.GameSessionAnalytics>;
|
|
1159
1187
|
get isGameFinished(): boolean;
|
|
1188
|
+
get gameHistory(): Nullable<com.debertz.logic.data.models.table.history.GameHistory>;
|
|
1160
1189
|
toString(): string;
|
|
1161
|
-
copy(reason?: com.logic.data.models.TerminationGameReason, sessionAnalytics?: Nullable<com.debertz.logic.data.models.GameSessionAnalytics>, isGameFinished?: boolean): com.debertz.logic.redux.actions.mechanic.FinishingGameMechanicAction;
|
|
1190
|
+
copy(reason?: com.logic.data.models.TerminationGameReason, sessionAnalytics?: Nullable<com.debertz.logic.data.models.GameSessionAnalytics>, isGameFinished?: boolean, gameHistory?: Nullable<com.debertz.logic.data.models.table.history.GameHistory>): com.debertz.logic.redux.actions.mechanic.FinishingGameMechanicAction;
|
|
1162
1191
|
hashCode(): number;
|
|
1163
1192
|
equals(other: Nullable<any>): boolean;
|
|
1164
1193
|
get actionTag(): string;
|