raspberry_games_engine_helpers 1.8.473 → 1.8.475

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.
@@ -380,7 +380,7 @@
380
380
  function addFormatStructureForTime(structure) {
381
381
  this.x1b(structure);
382
382
  }
383
- initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithDate, WithTime]);
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) {
@@ -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.473';
240
+ this.version = '1.8.475';
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,15 +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, usePimcModel?: 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;
784
- get usePimcModel(): boolean;
811
+ get botType(): games.jass.logic.data.models.BotType;
785
812
  get enableBotChat(): boolean;
786
813
  get openAiApiKey(): Nullable<string>;
787
- copy(botExitsWhenNGameNumberIsFinished?: Nullable<number>, autoStepLastCard?: boolean, simulateBotThinkingDelay?: boolean, isDelayForBot?: boolean, usePimcModel?: 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;
788
815
  toString(): string;
789
816
  hashCode(): number;
790
817
  equals(other: Nullable<any>): boolean;