raspberry_games_server_game_logic 1.8.388 → 1.8.390
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 +10 -11
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +9970 -9945
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.d.ts +21 -20
- package/Logic_Debertz-game_server.js +771 -771
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +4 -4
- package/kotlinx-coroutines-core.js +7 -7
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -584,16 +584,16 @@ export declare namespace com.logic.redux.actions {
|
|
|
584
584
|
}
|
|
585
585
|
}
|
|
586
586
|
export declare namespace com.logic.redux.actions.validation {
|
|
587
|
-
interface NotValidateIfGameFinished {
|
|
588
|
-
|
|
587
|
+
interface NotValidateIfGameFinished extends com.logic.redux.actions.validation.NotValidateIfGameFinishing {
|
|
588
|
+
ignoreValidation(): boolean;
|
|
589
589
|
readonly __doNotUseOrImplementIt: {
|
|
590
590
|
readonly "com.logic.redux.actions.validation.NotValidateIfGameFinished": unique symbol;
|
|
591
|
-
};
|
|
591
|
+
} & com.logic.redux.actions.validation.NotValidateIfGameFinishing["__doNotUseOrImplementIt"];
|
|
592
592
|
}
|
|
593
593
|
}
|
|
594
594
|
export declare namespace com.logic.redux.actions.validation {
|
|
595
595
|
interface NotValidateIfGameFinishing {
|
|
596
|
-
|
|
596
|
+
ignoreValidation(): boolean;
|
|
597
597
|
readonly __doNotUseOrImplementIt: {
|
|
598
598
|
readonly "com.logic.redux.actions.validation.NotValidateIfGameFinishing": unique symbol;
|
|
599
599
|
};
|
|
@@ -875,7 +875,7 @@ export declare namespace games.jass.logic.data.models {
|
|
|
875
875
|
}
|
|
876
876
|
export declare namespace games.jass.logic.data.models.config {
|
|
877
877
|
class RatingConfig {
|
|
878
|
-
constructor(defaultFactor?: number, eloScaleH2H?: number, eloScaleFfa?: number, h2hCloseLossThresholdRatio?: number, ffaMovEnabled?: boolean, ffaMaxRatingDecreaseFraction?: number, botNativeUpdatesRating?: boolean, replacementForcedDecrease?: boolean);
|
|
878
|
+
constructor(defaultFactor?: number, eloScaleH2H?: number, eloScaleFfa?: number, h2hCloseLossThresholdRatio?: number, ffaMovEnabled?: boolean, ffaMaxRatingDecreaseFraction?: number, botNativeUpdatesRating?: boolean, replacementForcedDecrease?: boolean, loserPenaltyBaseFraction?: number, loserPenaltyExcellentThreshold?: number, loserPenaltyGoodThreshold?: number);
|
|
879
879
|
get defaultFactor(): number;
|
|
880
880
|
get eloScaleH2H(): number;
|
|
881
881
|
get eloScaleFfa(): number;
|
|
@@ -884,7 +884,10 @@ export declare namespace games.jass.logic.data.models.config {
|
|
|
884
884
|
get ffaMaxRatingDecreaseFraction(): number;
|
|
885
885
|
get botNativeUpdatesRating(): boolean;
|
|
886
886
|
get replacementForcedDecrease(): boolean;
|
|
887
|
-
|
|
887
|
+
get loserPenaltyBaseFraction(): number;
|
|
888
|
+
get loserPenaltyExcellentThreshold(): number;
|
|
889
|
+
get loserPenaltyGoodThreshold(): number;
|
|
890
|
+
copy(defaultFactor?: number, eloScaleH2H?: number, eloScaleFfa?: number, h2hCloseLossThresholdRatio?: number, ffaMovEnabled?: boolean, ffaMaxRatingDecreaseFraction?: number, botNativeUpdatesRating?: boolean, replacementForcedDecrease?: boolean, loserPenaltyBaseFraction?: number, loserPenaltyExcellentThreshold?: number, loserPenaltyGoodThreshold?: number): games.jass.logic.data.models.config.RatingConfig;
|
|
888
891
|
toString(): string;
|
|
889
892
|
hashCode(): number;
|
|
890
893
|
equals(other: Nullable<any>): boolean;
|
|
@@ -1552,6 +1555,7 @@ export declare namespace games.jass.logic.data.models.table {
|
|
|
1552
1555
|
get requestedCardDecks(): kotlin.collections.KtList<any/* games.jass.logic.data.models.table.cards.CardDeck */>;
|
|
1553
1556
|
get gameInfo(): any/* games.jass.logic.data.models.table.GameInfo */;
|
|
1554
1557
|
get gameHistory(): games.jass.logic.data.models.table.history.GameHistory;
|
|
1558
|
+
get roomId(): string;
|
|
1555
1559
|
get gameId(): string;
|
|
1556
1560
|
get gameDuration(): any/* kotlin.time.Duration */;
|
|
1557
1561
|
get gameCreatedAt(): any/* kotlin.time.Instant */;
|
|
@@ -2313,7 +2317,7 @@ export declare namespace games.jass.logic.redux {
|
|
|
2313
2317
|
}
|
|
2314
2318
|
}
|
|
2315
2319
|
export declare namespace games.jass.logic.redux.actions {
|
|
2316
|
-
class ClearAction implements com.logic.redux.store.definitions.Action, com.logic.redux.actions.validation.
|
|
2320
|
+
class ClearAction implements com.logic.redux.store.definitions.Action, com.logic.redux.actions.validation.NotValidateIfGameFinished {
|
|
2317
2321
|
constructor(transition: Nullable<games.jass.logic.redux.actions.mechanic.GameTransition>);
|
|
2318
2322
|
get transition(): Nullable<games.jass.logic.redux.actions.mechanic.GameTransition>;
|
|
2319
2323
|
copy(transition?: Nullable<games.jass.logic.redux.actions.mechanic.GameTransition>): games.jass.logic.redux.actions.ClearAction;
|
|
@@ -2321,9 +2325,8 @@ export declare namespace games.jass.logic.redux.actions {
|
|
|
2321
2325
|
hashCode(): number;
|
|
2322
2326
|
equals(other: Nullable<any>): boolean;
|
|
2323
2327
|
get actionTag(): string;
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
readonly __doNotUseOrImplementIt: com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinishing["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinished["__doNotUseOrImplementIt"];
|
|
2328
|
+
ignoreValidation(): boolean;
|
|
2329
|
+
readonly __doNotUseOrImplementIt: com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinished["__doNotUseOrImplementIt"];
|
|
2327
2330
|
}
|
|
2328
2331
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
2329
2332
|
namespace ClearAction.$metadata$ {
|
|
@@ -2613,7 +2616,7 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
|
|
|
2613
2616
|
hashCode(): number;
|
|
2614
2617
|
equals(other: Nullable<any>): boolean;
|
|
2615
2618
|
get actionTag(): string;
|
|
2616
|
-
|
|
2619
|
+
ignoreValidation(): boolean;
|
|
2617
2620
|
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"];
|
|
2618
2621
|
}
|
|
2619
2622
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -2644,7 +2647,7 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
|
|
|
2644
2647
|
hashCode(): number;
|
|
2645
2648
|
equals(other: Nullable<any>): boolean;
|
|
2646
2649
|
get actionTag(): string;
|
|
2647
|
-
|
|
2650
|
+
ignoreValidation(): boolean;
|
|
2648
2651
|
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"];
|
|
2649
2652
|
}
|
|
2650
2653
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
@@ -2659,22 +2662,21 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
|
|
|
2659
2662
|
readonly "games.jass.logic.redux.actions.mechanic.NavigationMechanicAction": unique symbol;
|
|
2660
2663
|
} & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
|
|
2661
2664
|
}
|
|
2662
|
-
class SceneMechanicAction extends games.jass.logic.redux.actions.mechanic.MechanicAction.$metadata$.constructor implements games.jass.logic.redux.actions.mechanic.NavigationMechanicAction, com.logic.redux.store.definitions.Action, com.logic.redux.actions.ReleaseBufferTriggerAction, com.logic.data.models.player.PlayerIdContract, com.logic.redux.actions.validation.
|
|
2665
|
+
class SceneMechanicAction extends games.jass.logic.redux.actions.mechanic.MechanicAction.$metadata$.constructor implements games.jass.logic.redux.actions.mechanic.NavigationMechanicAction, com.logic.redux.store.definitions.Action, com.logic.redux.actions.ReleaseBufferTriggerAction, com.logic.data.models.player.PlayerIdContract, com.logic.redux.actions.validation.NotValidateIfGameFinished/*, games.jass.logic.redux.actions.mechanic.NextPlayerTurnAction, games.jass.logic.redux.actions.mechanic.PlayerTurnIdAnswerAction */ {
|
|
2663
2666
|
constructor(currentTurnPlayerId: Nullable<string>, 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>);
|
|
2664
2667
|
get sceneId(): string;
|
|
2665
2668
|
get actId(): Nullable<string>;
|
|
2666
2669
|
get sceneData(): Nullable<games.jass.logic.data.models.scenes.SceneData>;
|
|
2667
2670
|
get actData(): Nullable<games.jass.logic.data.models.scenes.ActData>;
|
|
2668
2671
|
get aid(): Nullable<string>;
|
|
2669
|
-
|
|
2670
|
-
notValidateWhenFinishing(): boolean;
|
|
2672
|
+
ignoreValidation(): boolean;
|
|
2671
2673
|
toString(): string;
|
|
2672
2674
|
get playerId(): string;
|
|
2673
2675
|
copy(currentTurnPlayerId?: Nullable<string>, 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;
|
|
2674
2676
|
hashCode(): number;
|
|
2675
2677
|
equals(other: Nullable<any>): boolean;
|
|
2676
2678
|
get actionTag(): string;
|
|
2677
|
-
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.data.models.player.PlayerIdContract["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.
|
|
2679
|
+
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.data.models.player.PlayerIdContract["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinished["__doNotUseOrImplementIt"];
|
|
2678
2680
|
}
|
|
2679
2681
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
2680
2682
|
namespace SceneMechanicAction.$metadata$ {
|
|
@@ -2688,7 +2690,7 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
|
|
|
2688
2690
|
readonly "games.jass.logic.redux.actions.mechanic.TerminatedAction": unique symbol;
|
|
2689
2691
|
} & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
|
|
2690
2692
|
}
|
|
2691
|
-
class PlayerConnectionChangedMechanicAction extends games.jass.logic.redux.actions.mechanic.MechanicAction.$metadata$.constructor implements com.logic.redux.actions.validation.
|
|
2693
|
+
class PlayerConnectionChangedMechanicAction extends games.jass.logic.redux.actions.mechanic.MechanicAction.$metadata$.constructor implements com.logic.redux.actions.validation.NotValidateIfGameFinished {
|
|
2692
2694
|
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>);
|
|
2693
2695
|
get playerId(): string;
|
|
2694
2696
|
get state(): com.logic.data.models.player.PlayerConnectionState;
|
|
@@ -2703,9 +2705,8 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
|
|
|
2703
2705
|
hashCode(): number;
|
|
2704
2706
|
equals(other: Nullable<any>): boolean;
|
|
2705
2707
|
get actionTag(): string;
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
readonly __doNotUseOrImplementIt: games.jass.logic.redux.actions.mechanic.MechanicAction["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinishing["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinished["__doNotUseOrImplementIt"];
|
|
2708
|
+
ignoreValidation(): boolean;
|
|
2709
|
+
readonly __doNotUseOrImplementIt: games.jass.logic.redux.actions.mechanic.MechanicAction["__doNotUseOrImplementIt"] & com.logic.redux.actions.validation.NotValidateIfGameFinished["__doNotUseOrImplementIt"];
|
|
2709
2710
|
}
|
|
2710
2711
|
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
2711
2712
|
namespace PlayerConnectionChangedMechanicAction.$metadata$ {
|