raspberry_games_engine_helpers 1.8.472 → 1.8.474
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 +1 -1
- package/Logic_Debertz-core.js +1 -1
- package/Logic_Debertz-engine.d.ts +30 -2
- package/Logic_Debertz-engine.js +7118 -7048
- package/Logic_Debertz-engine.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +6 -6
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/package.json +1 -1
|
@@ -380,7 +380,7 @@
|
|
|
380
380
|
function addFormatStructureForTime(structure) {
|
|
381
381
|
this.x1b(structure);
|
|
382
382
|
}
|
|
383
|
-
initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder,
|
|
383
|
+
initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithTime, WithDate]);
|
|
384
384
|
initMetadataForClass(Builder_0, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder]);
|
|
385
385
|
initMetadataForClass(LocalDateTimeFormat, 'LocalDateTimeFormat', VOID, AbstractDateTimeFormat);
|
|
386
386
|
function set_fractionOfSecond(value) {
|
package/Logic_Debertz-core.js
CHANGED
|
@@ -237,7 +237,7 @@
|
|
|
237
237
|
initMetadataForClass(LoggerOutputDataDto, 'LoggerOutputDataDto', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_10});
|
|
238
238
|
//endregion
|
|
239
239
|
function GameEngineConfig() {
|
|
240
|
-
this.version = '1.8.
|
|
240
|
+
this.version = '1.8.474';
|
|
241
241
|
}
|
|
242
242
|
protoOf(GameEngineConfig).u16 = function () {
|
|
243
243
|
return this.version;
|
|
@@ -740,6 +740,33 @@ export declare namespace games.jass.logic {
|
|
|
740
740
|
};
|
|
741
741
|
}
|
|
742
742
|
}
|
|
743
|
+
export declare namespace games.jass.logic.data.models {
|
|
744
|
+
abstract class BotType {
|
|
745
|
+
private constructor();
|
|
746
|
+
static get PIMC(): games.jass.logic.data.models.BotType & {
|
|
747
|
+
get name(): "PIMC";
|
|
748
|
+
get ordinal(): 0;
|
|
749
|
+
};
|
|
750
|
+
static get HEURISTIC(): games.jass.logic.data.models.BotType & {
|
|
751
|
+
get name(): "HEURISTIC";
|
|
752
|
+
get ordinal(): 1;
|
|
753
|
+
};
|
|
754
|
+
static get LEGACY(): games.jass.logic.data.models.BotType & {
|
|
755
|
+
get name(): "LEGACY";
|
|
756
|
+
get ordinal(): 2;
|
|
757
|
+
};
|
|
758
|
+
get name(): "PIMC" | "HEURISTIC" | "LEGACY";
|
|
759
|
+
get ordinal(): 0 | 1 | 2;
|
|
760
|
+
static values(): Array<games.jass.logic.data.models.BotType>;
|
|
761
|
+
static valueOf(value: string): games.jass.logic.data.models.BotType;
|
|
762
|
+
}
|
|
763
|
+
namespace BotType {
|
|
764
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
765
|
+
namespace $metadata$ {
|
|
766
|
+
const constructor: abstract new () => BotType;
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
}
|
|
743
770
|
export declare namespace games.jass.logic.data.models {
|
|
744
771
|
class DealerConfig {
|
|
745
772
|
constructor(dealerStrategy?: games.jass.logic.domain.interactors.dealer.DealerStrategy, cardsInCycle?: number, isBotsAreHappy?: boolean, cards?: Nullable<Array<number>>, shuffleCardsPlayerNumber?: Nullable<number>, shouldDisplayDealerStrategy?: boolean);
|
|
@@ -776,14 +803,15 @@ export declare namespace games.jass.logic.data.models {
|
|
|
776
803
|
}
|
|
777
804
|
export declare namespace games.jass.logic.data.models {
|
|
778
805
|
class EngineBotConfig {
|
|
779
|
-
constructor(botExitsWhenNGameNumberIsFinished?: Nullable<number>, autoStepLastCard?: boolean, simulateBotThinkingDelay?: boolean, isDelayForBot?: boolean, enableBotChat?: boolean, openAiApiKey?: Nullable<string>);
|
|
806
|
+
constructor(botExitsWhenNGameNumberIsFinished?: Nullable<number>, autoStepLastCard?: boolean, simulateBotThinkingDelay?: boolean, isDelayForBot?: boolean, botType?: games.jass.logic.data.models.BotType, enableBotChat?: boolean, openAiApiKey?: Nullable<string>);
|
|
780
807
|
get botExitsWhenNGameNumberIsFinished(): Nullable<number>;
|
|
781
808
|
get autoStepLastCard(): boolean;
|
|
782
809
|
get simulateBotThinkingDelay(): boolean;
|
|
783
810
|
get isDelayForBot(): boolean;
|
|
811
|
+
get botType(): games.jass.logic.data.models.BotType;
|
|
784
812
|
get enableBotChat(): boolean;
|
|
785
813
|
get openAiApiKey(): Nullable<string>;
|
|
786
|
-
copy(botExitsWhenNGameNumberIsFinished?: Nullable<number>, autoStepLastCard?: boolean, simulateBotThinkingDelay?: boolean, isDelayForBot?: boolean, enableBotChat?: boolean, openAiApiKey?: Nullable<string>): games.jass.logic.data.models.EngineBotConfig;
|
|
814
|
+
copy(botExitsWhenNGameNumberIsFinished?: Nullable<number>, autoStepLastCard?: boolean, simulateBotThinkingDelay?: boolean, isDelayForBot?: boolean, botType?: games.jass.logic.data.models.BotType, enableBotChat?: boolean, openAiApiKey?: Nullable<string>): games.jass.logic.data.models.EngineBotConfig;
|
|
787
815
|
toString(): string;
|
|
788
816
|
hashCode(): number;
|
|
789
817
|
equals(other: Nullable<any>): boolean;
|