raspberry_games_server_game_logic 1.8.394 → 1.8.396

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.v5k(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.394';
390
+ this.version = '1.8.396';
391
391
  }
392
392
  protoOf(GameEngineConfig).a3w = function () {
393
393
  return this.version;
@@ -2908,14 +2908,10 @@
2908
2908
  var tmp;
2909
2909
  switch (this.p2_1) {
2910
2910
  case 0:
2911
- tmp = true;
2912
- break;
2913
2911
  case 1:
2914
2912
  tmp = true;
2915
2913
  break;
2916
2914
  case 2:
2917
- tmp = false;
2918
- break;
2919
2915
  case 3:
2920
2916
  tmp = false;
2921
2917
  break;
@@ -34902,6 +34898,8 @@
34902
34898
  var tmp;
34903
34899
  switch (this.p2_1) {
34904
34900
  case 0:
34901
+ tmp = false;
34902
+ break;
34905
34903
  case 2:
34906
34904
  case 1:
34907
34905
  case 3:
@@ -37776,7 +37774,7 @@
37776
37774
  function getFirstTeam($this, players) {
37777
37775
  // Inline function 'kotlin.check' call
37778
37776
  if (!(players.o() === 4)) {
37779
- var message = 'Players count should be 4';
37777
+ var message = 'Players count should be 4, actual ' + toString($this);
37780
37778
  throw IllegalStateException_init_$Create$(toString(message));
37781
37779
  }
37782
37780
  return listOf_0([players.p(0), players.p(2)]);
@@ -37784,7 +37782,7 @@
37784
37782
  function getSecondTeam($this, players) {
37785
37783
  // Inline function 'kotlin.check' call
37786
37784
  if (!(players.o() === 4)) {
37787
- var message = 'Players count should be 4';
37785
+ var message = 'Players count should be 4, actual ' + toString($this);
37788
37786
  throw IllegalStateException_init_$Create$(toString(message));
37789
37787
  }
37790
37788
  return listOf_0([players.p(1), players.p(3)]);
@@ -43077,16 +43075,16 @@
43077
43075
  var tmp;
43078
43076
  switch (playersMode.p2_1) {
43079
43077
  case 0:
43080
- tmp = 0.7;
43078
+ tmp = 0.8;
43081
43079
  break;
43082
43080
  case 3:
43083
43081
  tmp = 1.0;
43084
43082
  break;
43085
43083
  case 1:
43086
- tmp = 1.25;
43084
+ tmp = 1.2;
43087
43085
  break;
43088
43086
  case 2:
43089
- tmp = 1.5;
43087
+ tmp = 1.3;
43090
43088
  break;
43091
43089
  default:
43092
43090
  noWhenBranchMatchedException();
@@ -50279,7 +50277,7 @@
50279
50277
  var element = _iterator__ex2g4s.n();
50280
50278
  // Inline function 'kotlin.math.absoluteValue' call
50281
50279
  var this_0 = element.oldRating - element.newRating;
50282
- if (Math.abs(this_0) >= 80) {
50280
+ if (Math.abs(this_0) >= 100) {
50283
50281
  destination.j(element);
50284
50282
  }
50285
50283
  }