client_plugin_logic_deb 1.8.253 → 1.8.259
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/Kotlin-DateTime-library-kotlinx-datetime.js +2 -2
- package/Logic_Debertz-client_plugin.d.ts +29 -22
- package/Logic_Debertz-client_plugin.js +2166 -2074
- package/Logic_Debertz-client_plugin.js.map +1 -1
- package/Logic_Debertz-core.js +3 -3
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +15678 -14741
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +6636 -6227
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js +594 -594
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +89 -89
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +8 -8
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core.js +6 -6
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +5 -4
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/ktor-ktor-serialization-kotlinx-json.js +1 -1
- package/package.json +1 -1
- package/raspberry-cardgame-lib-random.js +3 -3
|
@@ -324,7 +324,7 @@
|
|
|
324
324
|
function addFormatStructureForTime(structure) {
|
|
325
325
|
this.s5d(structure);
|
|
326
326
|
}
|
|
327
|
-
initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder,
|
|
327
|
+
initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithDate, WithTime]);
|
|
328
328
|
function offsetHours$default(padding, $super) {
|
|
329
329
|
padding = padding === VOID ? Padding_ZERO_getInstance() : padding;
|
|
330
330
|
var tmp;
|
|
@@ -377,7 +377,7 @@
|
|
|
377
377
|
return tmp;
|
|
378
378
|
}
|
|
379
379
|
initMetadataForInterface(AbstractWithOffsetBuilder, 'AbstractWithOffsetBuilder', VOID, VOID, [WithUtcOffset]);
|
|
380
|
-
initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder,
|
|
380
|
+
initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithDate, WithTime, WithUtcOffset]);
|
|
381
381
|
initMetadataForClass(AbstractDateTimeFormat, 'AbstractDateTimeFormat');
|
|
382
382
|
initMetadataForClass(DateTimeComponentsFormat, 'DateTimeComponentsFormat', VOID, AbstractDateTimeFormat);
|
|
383
383
|
initMetadataForClass(TwoDigitNumber, 'TwoDigitNumber');
|
|
@@ -1061,7 +1061,7 @@ export declare namespace games.jass.logic.data.models.scenes {
|
|
|
1061
1061
|
}
|
|
1062
1062
|
export declare namespace games.jass.logic.data.models.table {
|
|
1063
1063
|
class JassTable {
|
|
1064
|
-
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);
|
|
1064
|
+
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> */, requestedCardDecks: kotlin.collections.KtList<any/* 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);
|
|
1065
1065
|
get id(): string;
|
|
1066
1066
|
get version(): string;
|
|
1067
1067
|
get createdAt(): any/* kotlinx.datetime.Instant */;
|
|
@@ -1072,6 +1072,7 @@ export declare namespace games.jass.logic.data.models.table {
|
|
|
1072
1072
|
get cardsOnTable(): kotlin.collections.KtList<com.logic.data.models.player.PlayerIdContract/* games.jass.logic.data.models.table.bribes.CardOnTable */>;
|
|
1073
1073
|
get bribes(): kotlin.collections.KtList<any/* games.jass.logic.data.models.table.cards.Bribe */>;
|
|
1074
1074
|
get cardDeck(): Nullable<any>/* Nullable<games.jass.logic.data.models.table.cards.CardDeck> */;
|
|
1075
|
+
get requestedCardDecks(): kotlin.collections.KtList<any/* games.jass.logic.data.models.table.cards.CardDeck */>;
|
|
1075
1076
|
get gameInfo(): any/* games.jass.logic.data.models.table.GameInfo */;
|
|
1076
1077
|
get gameHistory(): games.jass.logic.data.models.table.history.GameHistory;
|
|
1077
1078
|
get gameId(): string;
|
|
@@ -1084,7 +1085,7 @@ export declare namespace games.jass.logic.data.models.table {
|
|
|
1084
1085
|
get currentTrump(): Nullable<any>/* Nullable<io.raspberryapps.card_game.core.data.models.cards.Suit> */;
|
|
1085
1086
|
get isGameFinished(): boolean;
|
|
1086
1087
|
toString(): string;
|
|
1087
|
-
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;
|
|
1088
|
+
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> */, requestedCardDecks?: kotlin.collections.KtList<any/* 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;
|
|
1088
1089
|
hashCode(): number;
|
|
1089
1090
|
equals(other: Nullable<any>): boolean;
|
|
1090
1091
|
static get Companion(): {
|
|
@@ -1307,7 +1308,7 @@ export declare namespace games.jass.logic.data.models.table.config {
|
|
|
1307
1308
|
}
|
|
1308
1309
|
export declare namespace games.jass.logic.data.models.table.config {
|
|
1309
1310
|
class Config {
|
|
1310
|
-
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);
|
|
1311
|
+
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, dealerStrategy: Nullable<games.jass.logic.domain.interactors.dealer.DealerStrategy>);
|
|
1311
1312
|
get rules(): games.jass.logic.data.models.rules.Rules;
|
|
1312
1313
|
get rulesSetType(): games.jass.logic.data.models.rules.RulesSetType;
|
|
1313
1314
|
get options(): games.jass.logic.data.models.table.config.Options;
|
|
@@ -1315,8 +1316,9 @@ export declare namespace games.jass.logic.data.models.table.config {
|
|
|
1315
1316
|
get pointsMode(): games.jass.logic.data.models.table.config.PointsMode;
|
|
1316
1317
|
get timeoutTimeMillis(): number;
|
|
1317
1318
|
get isPrivate(): boolean;
|
|
1319
|
+
get dealerStrategy(): Nullable<games.jass.logic.domain.interactors.dealer.DealerStrategy>;
|
|
1318
1320
|
get playerHandCardsSize(): number;
|
|
1319
|
-
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;
|
|
1321
|
+
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, dealerStrategy?: Nullable<games.jass.logic.domain.interactors.dealer.DealerStrategy>): games.jass.logic.data.models.table.config.Config;
|
|
1320
1322
|
toString(): string;
|
|
1321
1323
|
hashCode(): number;
|
|
1322
1324
|
equals(other: Nullable<any>): boolean;
|
|
@@ -1499,36 +1501,40 @@ export declare namespace games.jass.logic.data.models.table.round {
|
|
|
1499
1501
|
export declare namespace games.jass.logic.domain.interactors.dealer {
|
|
1500
1502
|
abstract class DealerStrategy {
|
|
1501
1503
|
private constructor();
|
|
1502
|
-
static get
|
|
1503
|
-
get name(): "
|
|
1504
|
+
static get STANDARD(): games.jass.logic.domain.interactors.dealer.DealerStrategy & {
|
|
1505
|
+
get name(): "STANDARD";
|
|
1504
1506
|
get ordinal(): 0;
|
|
1505
1507
|
};
|
|
1506
|
-
static get
|
|
1507
|
-
get name(): "
|
|
1508
|
+
static get REQUEST_HOST_STANDARD(): games.jass.logic.domain.interactors.dealer.DealerStrategy & {
|
|
1509
|
+
get name(): "REQUEST_HOST_STANDARD";
|
|
1508
1510
|
get ordinal(): 1;
|
|
1509
1511
|
};
|
|
1510
|
-
static get
|
|
1511
|
-
get name(): "
|
|
1512
|
+
static get RANDOM_ORG(): games.jass.logic.domain.interactors.dealer.DealerStrategy & {
|
|
1513
|
+
get name(): "RANDOM_ORG";
|
|
1512
1514
|
get ordinal(): 2;
|
|
1513
1515
|
};
|
|
1514
|
-
static get
|
|
1515
|
-
get name(): "
|
|
1516
|
+
static get RANDOM_ORG_SIGNED(): games.jass.logic.domain.interactors.dealer.DealerStrategy & {
|
|
1517
|
+
get name(): "RANDOM_ORG_SIGNED";
|
|
1516
1518
|
get ordinal(): 3;
|
|
1517
1519
|
};
|
|
1518
|
-
static get
|
|
1519
|
-
get name(): "
|
|
1520
|
+
static get FAKE(): games.jass.logic.domain.interactors.dealer.DealerStrategy & {
|
|
1521
|
+
get name(): "FAKE";
|
|
1520
1522
|
get ordinal(): 4;
|
|
1521
1523
|
};
|
|
1522
|
-
static get
|
|
1523
|
-
get name(): "
|
|
1524
|
+
static get BASED_ON_PREVIOUS(): games.jass.logic.domain.interactors.dealer.DealerStrategy & {
|
|
1525
|
+
get name(): "BASED_ON_PREVIOUS";
|
|
1524
1526
|
get ordinal(): 5;
|
|
1525
1527
|
};
|
|
1526
|
-
static get
|
|
1527
|
-
get name(): "
|
|
1528
|
+
static get EQUAL_HAND_BY_POINTS(): games.jass.logic.domain.interactors.dealer.DealerStrategy & {
|
|
1529
|
+
get name(): "EQUAL_HAND_BY_POINTS";
|
|
1528
1530
|
get ordinal(): 6;
|
|
1529
1531
|
};
|
|
1530
|
-
get
|
|
1531
|
-
|
|
1532
|
+
static get EQUAL_HAND_BY_VALUE(): games.jass.logic.domain.interactors.dealer.DealerStrategy & {
|
|
1533
|
+
get name(): "EQUAL_HAND_BY_VALUE";
|
|
1534
|
+
get ordinal(): 7;
|
|
1535
|
+
};
|
|
1536
|
+
get name(): "STANDARD" | "REQUEST_HOST_STANDARD" | "RANDOM_ORG" | "RANDOM_ORG_SIGNED" | "FAKE" | "BASED_ON_PREVIOUS" | "EQUAL_HAND_BY_POINTS" | "EQUAL_HAND_BY_VALUE";
|
|
1537
|
+
get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7;
|
|
1532
1538
|
shouldEqualiseHand(): boolean;
|
|
1533
1539
|
static values(): Array<games.jass.logic.domain.interactors.dealer.DealerStrategy>;
|
|
1534
1540
|
static valueOf(value: string): games.jass.logic.domain.interactors.dealer.DealerStrategy;
|
|
@@ -1809,7 +1815,7 @@ export declare interface GameHelper {
|
|
|
1809
1815
|
filterRealPlayers(store: com.logic.redux.store.definitions.Store<any/* games.jass.logic.redux.AppState */>, playerIds: Array<string>): Array<string>;
|
|
1810
1816
|
getUserSocketId(store: com.logic.redux.store.definitions.Store<any/* games.jass.logic.redux.AppState */>, playerId: string): Nullable<string>;
|
|
1811
1817
|
getUserSocketIds(store: com.logic.redux.store.definitions.Store<any/* games.jass.logic.redux.AppState */>): Nullable<Array<string>>;
|
|
1812
|
-
createConfig(points: number, players: number, timeoutTimeMillis: number, rulesSetType: games.jass.logic.data.models.rules.RulesSetType, rules: any, isEnableChat: boolean, isBotsEnabled: boolean, isPrivate: boolean): games.jass.logic.data.models.table.config.Config;
|
|
1818
|
+
createConfig(points: number, players: number, timeoutTimeMillis: number, rulesSetType: games.jass.logic.data.models.rules.RulesSetType, rules: any, isEnableChat: boolean, isBotsEnabled: boolean, isPrivate: boolean, dealerStrategy?: Nullable<string>): games.jass.logic.data.models.table.config.Config;
|
|
1813
1819
|
mapToRoomConfig(config: games.jass.logic.data.models.table.config.Config): models.RoomConfig;
|
|
1814
1820
|
mapPoints(points: number): games.jass.logic.data.models.table.config.PointsMode;
|
|
1815
1821
|
mapPlayers(players: number): games.jass.logic.data.models.table.config.PlayersMode;
|
|
@@ -1817,7 +1823,6 @@ export declare interface GameHelper {
|
|
|
1817
1823
|
prepareConfigObjectWithPagination(config: any): any;
|
|
1818
1824
|
prepareConfigObject(config: any): any;
|
|
1819
1825
|
isValidConfigObject(config: any): boolean;
|
|
1820
|
-
isValidConfig(players: number, points: number, timeoutTime: number, rulesPreset: string, rules: any): boolean;
|
|
1821
1826
|
getRulesByType(rulesSetType: games.jass.logic.data.models.rules.RulesSetType): games.jass.logic.data.models.rules.Rules;
|
|
1822
1827
|
getRulesByString(name: string): games.jass.logic.data.models.rules.Rules;
|
|
1823
1828
|
mapRulesSetType(name: string): games.jass.logic.data.models.rules.RulesSetType;
|
|
@@ -1846,6 +1851,8 @@ export declare interface ParserHelper {
|
|
|
1846
1851
|
encodeRoomConfig(config: models.RoomConfig): string;
|
|
1847
1852
|
decodeTableLite(json: string): games.jass.logic.data.models.table.JassTableLite;
|
|
1848
1853
|
decodeFullGameHistoryToTableLite(json: string, round: Nullable<number>): games.jass.logic.data.models.table.JassTableLite;
|
|
1854
|
+
encodeGameToRoomTransition(transition: games.jass.logic.redux.actions.mechanic.GameToRoomTransition): string;
|
|
1855
|
+
decodeGameToRoomTransition(json: string): games.jass.logic.redux.actions.mechanic.GameToRoomTransition;
|
|
1849
1856
|
readonly __doNotUseOrImplementIt: {
|
|
1850
1857
|
readonly ParserHelper: unique symbol;
|
|
1851
1858
|
};
|