raspberry_games_server_game_logic 1.8.396 → 1.8.398
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 +23 -23
- package/Kosi-Kodein-kodein-di.js +161 -161
- package/Kotlin-DateTime-library-kotlinx-datetime.js +171 -171
- package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
- package/Logic_Debertz-ai_module.js +1944 -0
- package/Logic_Debertz-ai_module.js.map +1 -0
- package/Logic_Debertz-core.js +385 -385
- package/Logic_Debertz-engine.js +13846 -13246
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.d.ts +5 -3
- package/Logic_Debertz-game_server.js +1451 -1451
- package/Logic_Debertz-game_server.js.map +1 -1
- package/error-library-error.js +5 -5
- package/kotlin-kotlin-stdlib.js +2071 -2010
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +9 -9
- package/kotlinx-coroutines-core.js +703 -703
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-core.js +41 -41
- package/kotlinx-serialization-kotlinx-serialization-core.js +196 -196
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +253 -253
- package/ktor-ktor-client-content-negotiation.js +89 -89
- package/ktor-ktor-client-core.js +1054 -1029
- package/ktor-ktor-client-core.js.map +1 -1
- package/ktor-ktor-client-logging.js +293 -288
- package/ktor-ktor-client-logging.js.map +1 -1
- package/ktor-ktor-events.js +5 -5
- package/ktor-ktor-http.js +164 -160
- package/ktor-ktor-http.js.map +1 -1
- package/ktor-ktor-io.js +372 -372
- package/ktor-ktor-serialization-kotlinx.js +127 -127
- package/ktor-ktor-serialization.js +68 -68
- package/ktor-ktor-utils.js +278 -278
- package/ktor-ktor-websockets.js +15 -15
- package/package.json +1 -1
- package/random-library-crypto-rand.js +13 -13
- package/random-library-secure-random.js +5 -5
- package/raspberry-cardgame-lib-core.js +97 -97
- package/raspberry-cardgame-lib-core.js.map +1 -1
- package/raspberry-cardgame-lib-logger.js +12 -12
- package/raspberry-cardgame-lib-random.js +237 -237
- package/uuid.js +15 -15
- package/uuid.js.map +1 -1
|
@@ -744,12 +744,14 @@ export declare namespace games.jass.logic.data.models {
|
|
|
744
744
|
}
|
|
745
745
|
export declare namespace games.jass.logic.data.models {
|
|
746
746
|
class EngineBotConfig {
|
|
747
|
-
constructor(botExitsWhenNGameNumberIsFinished?: Nullable<number>, autoStepLastCard?: boolean, simulateBotThinkingDelay?: boolean, isDelayForBot?: boolean);
|
|
747
|
+
constructor(botExitsWhenNGameNumberIsFinished?: Nullable<number>, autoStepLastCard?: boolean, simulateBotThinkingDelay?: boolean, isDelayForBot?: boolean, enableBotChat?: boolean, openAiApiKey?: Nullable<string>);
|
|
748
748
|
get botExitsWhenNGameNumberIsFinished(): Nullable<number>;
|
|
749
749
|
get autoStepLastCard(): boolean;
|
|
750
750
|
get simulateBotThinkingDelay(): boolean;
|
|
751
751
|
get isDelayForBot(): boolean;
|
|
752
|
-
|
|
752
|
+
get enableBotChat(): boolean;
|
|
753
|
+
get openAiApiKey(): Nullable<string>;
|
|
754
|
+
copy(botExitsWhenNGameNumberIsFinished?: Nullable<number>, autoStepLastCard?: boolean, simulateBotThinkingDelay?: boolean, isDelayForBot?: boolean, enableBotChat?: boolean, openAiApiKey?: Nullable<string>): games.jass.logic.data.models.EngineBotConfig;
|
|
753
755
|
toString(): string;
|
|
754
756
|
hashCode(): number;
|
|
755
757
|
equals(other: Nullable<any>): boolean;
|
|
@@ -2982,7 +2984,7 @@ export declare interface GameEngineController {
|
|
|
2982
2984
|
readonly randomPoolProvider: any/* games.raspberry.card_game.random.data.providers.RandomPoolProvider */;
|
|
2983
2985
|
setEnableLogger(enabled: boolean): void;
|
|
2984
2986
|
createGameEngine(): games.jass.logic.server.domain.ServerGameEngineContract;
|
|
2985
|
-
createGameEngineWithLogic(reducers?: Array<(p0: any/* games.jass.logic.redux.AppState */, p1: any) => any/* games.jass.logic.redux.AppState */>, middlewares?: Array<(p0: com.logic.redux.store.definitions.Store<any/* games.jass.logic.redux.AppState */>, p1: (p0: com.logic.redux.store.definitions.Action) => void, p2: any) => void>, serverConfig?: games.jass.logic.data.models.config.ServerReduxConfig, logicConfig?: games.jass.logic.data.models.EngineLogicConfig, dealerConfig?: games.jass.logic.data.models.DealerConfig, ratingConfig?: games.jass.logic.data.models.config.RatingConfig, coreConfig?: com.logic.data.models.CoreConfig): games.jass.logic.server.domain.ServerGameEngineContract;
|
|
2987
|
+
createGameEngineWithLogic(reducers?: Array<(p0: any/* games.jass.logic.redux.AppState */, p1: any) => any/* games.jass.logic.redux.AppState */>, middlewares?: Array<(p0: com.logic.redux.store.definitions.Store<any/* games.jass.logic.redux.AppState */>, p1: (p0: com.logic.redux.store.definitions.Action) => void, p2: any) => void>, serverConfig?: games.jass.logic.data.models.config.ServerReduxConfig, logicConfig?: games.jass.logic.data.models.EngineLogicConfig, dealerConfig?: games.jass.logic.data.models.DealerConfig, ratingConfig?: games.jass.logic.data.models.config.RatingConfig, coreConfig?: com.logic.data.models.CoreConfig, botConfig?: games.jass.logic.data.models.EngineBotConfig): games.jass.logic.server.domain.ServerGameEngineContract;
|
|
2986
2988
|
readonly __doNotUseOrImplementIt: {
|
|
2987
2989
|
readonly GameEngineController: unique symbol;
|
|
2988
2990
|
};
|