game_client_logic_deb 1.8.433 → 1.8.434

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.b5j(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) {
@@ -387,7 +387,7 @@
387
387
  initMetadataForClass(AppEnvironmentValue, 'AppEnvironmentValue', VOID, Enum);
388
388
  //endregion
389
389
  function GameEngineConfig() {
390
- this.version = '1.8.433';
390
+ this.version = '1.8.434';
391
391
  }
392
392
  protoOf(GameEngineConfig).x3u = function () {
393
393
  return this.version;
@@ -57758,21 +57758,6 @@
57758
57758
  function GameHelperImpl(logger) {
57759
57759
  this.w9i_1 = logger;
57760
57760
  }
57761
- protoOf(GameHelperImpl).getBotRatingRange = function (league) {
57762
- var tmp;
57763
- if (league == null) {
57764
- tmp = Default_getInstance().qg() ? League_BEGINNER_getInstance() : League_ROOKIE_getInstance();
57765
- } else {
57766
- tmp = this.mapToLeague(league);
57767
- }
57768
- var targetLeague = tmp;
57769
- var defaultConfig = Companion_instance_12.defaultConfig();
57770
- var minRating = targetLeague.getMinRating();
57771
- var maxRating = targetLeague.getMaxRating(defaultConfig.maxUserRating);
57772
- var factor = 0.3;
57773
- var botMaxRating = numberToInt(minRating + (maxRating - minRating | 0) * factor);
57774
- return new BotRatingRange(minRating, botMaxRating);
57775
- };
57776
57761
  protoOf(GameHelperImpl).t9i = function (store, playerIds, includeBots) {
57777
57762
  var state = store.state;
57778
57763
  var tmp;
@@ -58715,6 +58700,27 @@
58715
58700
  this.m9j_1 = json;
58716
58701
  this.n9j_1 = userRatingInteractor;
58717
58702
  }
58703
+ protoOf(RatingHelperImpl).getBotRatingRange = function (league) {
58704
+ var tmp;
58705
+ if (league == null) {
58706
+ tmp = Default_getInstance().qg() ? League_BEGINNER_getInstance() : League_ROOKIE_getInstance();
58707
+ } else {
58708
+ tmp = this.mapToLeague(league);
58709
+ }
58710
+ var targetLeague = tmp;
58711
+ var defaultConfig = Companion_instance_12.defaultConfig();
58712
+ var minRating = targetLeague.getMinRating();
58713
+ var maxRating = targetLeague.getMaxRating(defaultConfig.maxUserRating);
58714
+ var factor = 0.3;
58715
+ var botMaxRating = numberToInt(minRating + (maxRating - minRating | 0) * factor);
58716
+ return new BotRatingRange(minRating, botMaxRating);
58717
+ };
58718
+ protoOf(RatingHelperImpl).mapToLeague = function (name) {
58719
+ // Inline function 'kotlin.text.uppercase' call
58720
+ // Inline function 'kotlin.js.asDynamic' call
58721
+ var tmp$ret$1 = name.toUpperCase();
58722
+ return valueOf_0(tmp$ret$1);
58723
+ };
58718
58724
  protoOf(RatingHelperImpl).isValidRatingForLeague = function (league, rating) {
58719
58725
  return this.n9j_1.n8u(league, rating);
58720
58726
  };