raspberry_games_server_game_logic 1.8.381 → 1.8.382

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.t5k(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) {
@@ -386,7 +386,7 @@
386
386
  initMetadataForClass(AppEnvironmentValue, 'AppEnvironmentValue', VOID, Enum);
387
387
  //endregion
388
388
  function GameEngineConfig() {
389
- this.version = '1.8.381';
389
+ this.version = '1.8.382';
390
390
  }
391
391
  protoOf(GameEngineConfig).y3v = function () {
392
392
  return this.version;
@@ -2273,23 +2273,23 @@
2273
2273
  return false;
2274
2274
  return true;
2275
2275
  };
2276
- function RatingConfig(defaultFactor, eloScaleH2H, eloScaleFfa, h2hCloseLossThresholdRatio, ffaMovEnabled, botNativeUpdatesRating, replacementForcedDecrease, ffaMaxRatingDecreaseFraction) {
2276
+ function RatingConfig(defaultFactor, eloScaleH2H, eloScaleFfa, h2hCloseLossThresholdRatio, ffaMovEnabled, ffaMaxRatingDecreaseFraction, botNativeUpdatesRating, replacementForcedDecrease) {
2277
2277
  defaultFactor = defaultFactor === VOID ? 30 : defaultFactor;
2278
2278
  eloScaleH2H = eloScaleH2H === VOID ? 400.0 : eloScaleH2H;
2279
2279
  eloScaleFfa = eloScaleFfa === VOID ? 700.0 : eloScaleFfa;
2280
2280
  h2hCloseLossThresholdRatio = h2hCloseLossThresholdRatio === VOID ? 0.9 : h2hCloseLossThresholdRatio;
2281
2281
  ffaMovEnabled = ffaMovEnabled === VOID ? true : ffaMovEnabled;
2282
+ ffaMaxRatingDecreaseFraction = ffaMaxRatingDecreaseFraction === VOID ? 0.8 : ffaMaxRatingDecreaseFraction;
2282
2283
  botNativeUpdatesRating = botNativeUpdatesRating === VOID ? true : botNativeUpdatesRating;
2283
2284
  replacementForcedDecrease = replacementForcedDecrease === VOID ? true : replacementForcedDecrease;
2284
- ffaMaxRatingDecreaseFraction = ffaMaxRatingDecreaseFraction === VOID ? 0.8 : ffaMaxRatingDecreaseFraction;
2285
2285
  this.defaultFactor = defaultFactor;
2286
2286
  this.eloScaleH2H = eloScaleH2H;
2287
2287
  this.eloScaleFfa = eloScaleFfa;
2288
2288
  this.h2hCloseLossThresholdRatio = h2hCloseLossThresholdRatio;
2289
2289
  this.ffaMovEnabled = ffaMovEnabled;
2290
+ this.ffaMaxRatingDecreaseFraction = ffaMaxRatingDecreaseFraction;
2290
2291
  this.botNativeUpdatesRating = botNativeUpdatesRating;
2291
2292
  this.replacementForcedDecrease = replacementForcedDecrease;
2292
- this.ffaMaxRatingDecreaseFraction = ffaMaxRatingDecreaseFraction;
2293
2293
  }
2294
2294
  protoOf(RatingConfig).q6p = function () {
2295
2295
  return this.defaultFactor;
@@ -2307,13 +2307,13 @@
2307
2307
  return this.ffaMovEnabled;
2308
2308
  };
2309
2309
  protoOf(RatingConfig).v6p = function () {
2310
- return this.botNativeUpdatesRating;
2310
+ return this.ffaMaxRatingDecreaseFraction;
2311
2311
  };
2312
2312
  protoOf(RatingConfig).w6p = function () {
2313
- return this.replacementForcedDecrease;
2313
+ return this.botNativeUpdatesRating;
2314
2314
  };
2315
2315
  protoOf(RatingConfig).x6p = function () {
2316
- return this.ffaMaxRatingDecreaseFraction;
2316
+ return this.replacementForcedDecrease;
2317
2317
  };
2318
2318
  protoOf(RatingConfig).ne = function () {
2319
2319
  return this.defaultFactor;
@@ -2331,30 +2331,30 @@
2331
2331
  return this.ffaMovEnabled;
2332
2332
  };
2333
2333
  protoOf(RatingConfig).p66 = function () {
2334
- return this.botNativeUpdatesRating;
2334
+ return this.ffaMaxRatingDecreaseFraction;
2335
2335
  };
2336
2336
  protoOf(RatingConfig).q66 = function () {
2337
- return this.replacementForcedDecrease;
2337
+ return this.botNativeUpdatesRating;
2338
2338
  };
2339
2339
  protoOf(RatingConfig).u6o = function () {
2340
- return this.ffaMaxRatingDecreaseFraction;
2340
+ return this.replacementForcedDecrease;
2341
2341
  };
2342
- protoOf(RatingConfig).y6p = function (defaultFactor, eloScaleH2H, eloScaleFfa, h2hCloseLossThresholdRatio, ffaMovEnabled, botNativeUpdatesRating, replacementForcedDecrease, ffaMaxRatingDecreaseFraction) {
2343
- return new RatingConfig(defaultFactor, eloScaleH2H, eloScaleFfa, h2hCloseLossThresholdRatio, ffaMovEnabled, botNativeUpdatesRating, replacementForcedDecrease, ffaMaxRatingDecreaseFraction);
2342
+ protoOf(RatingConfig).y6p = function (defaultFactor, eloScaleH2H, eloScaleFfa, h2hCloseLossThresholdRatio, ffaMovEnabled, ffaMaxRatingDecreaseFraction, botNativeUpdatesRating, replacementForcedDecrease) {
2343
+ return new RatingConfig(defaultFactor, eloScaleH2H, eloScaleFfa, h2hCloseLossThresholdRatio, ffaMovEnabled, ffaMaxRatingDecreaseFraction, botNativeUpdatesRating, replacementForcedDecrease);
2344
2344
  };
2345
- protoOf(RatingConfig).copy = function (defaultFactor, eloScaleH2H, eloScaleFfa, h2hCloseLossThresholdRatio, ffaMovEnabled, botNativeUpdatesRating, replacementForcedDecrease, ffaMaxRatingDecreaseFraction, $super) {
2345
+ protoOf(RatingConfig).copy = function (defaultFactor, eloScaleH2H, eloScaleFfa, h2hCloseLossThresholdRatio, ffaMovEnabled, ffaMaxRatingDecreaseFraction, botNativeUpdatesRating, replacementForcedDecrease, $super) {
2346
2346
  defaultFactor = defaultFactor === VOID ? this.defaultFactor : defaultFactor;
2347
2347
  eloScaleH2H = eloScaleH2H === VOID ? this.eloScaleH2H : eloScaleH2H;
2348
2348
  eloScaleFfa = eloScaleFfa === VOID ? this.eloScaleFfa : eloScaleFfa;
2349
2349
  h2hCloseLossThresholdRatio = h2hCloseLossThresholdRatio === VOID ? this.h2hCloseLossThresholdRatio : h2hCloseLossThresholdRatio;
2350
2350
  ffaMovEnabled = ffaMovEnabled === VOID ? this.ffaMovEnabled : ffaMovEnabled;
2351
+ ffaMaxRatingDecreaseFraction = ffaMaxRatingDecreaseFraction === VOID ? this.ffaMaxRatingDecreaseFraction : ffaMaxRatingDecreaseFraction;
2351
2352
  botNativeUpdatesRating = botNativeUpdatesRating === VOID ? this.botNativeUpdatesRating : botNativeUpdatesRating;
2352
2353
  replacementForcedDecrease = replacementForcedDecrease === VOID ? this.replacementForcedDecrease : replacementForcedDecrease;
2353
- ffaMaxRatingDecreaseFraction = ffaMaxRatingDecreaseFraction === VOID ? this.ffaMaxRatingDecreaseFraction : ffaMaxRatingDecreaseFraction;
2354
- return $super === VOID ? this.y6p(defaultFactor, eloScaleH2H, eloScaleFfa, h2hCloseLossThresholdRatio, ffaMovEnabled, botNativeUpdatesRating, replacementForcedDecrease, ffaMaxRatingDecreaseFraction) : $super.y6p.call(this, defaultFactor, eloScaleH2H, eloScaleFfa, h2hCloseLossThresholdRatio, ffaMovEnabled, botNativeUpdatesRating, replacementForcedDecrease, ffaMaxRatingDecreaseFraction);
2354
+ return $super === VOID ? this.y6p(defaultFactor, eloScaleH2H, eloScaleFfa, h2hCloseLossThresholdRatio, ffaMovEnabled, ffaMaxRatingDecreaseFraction, botNativeUpdatesRating, replacementForcedDecrease) : $super.y6p.call(this, defaultFactor, eloScaleH2H, eloScaleFfa, h2hCloseLossThresholdRatio, ffaMovEnabled, ffaMaxRatingDecreaseFraction, botNativeUpdatesRating, replacementForcedDecrease);
2355
2355
  };
2356
2356
  protoOf(RatingConfig).toString = function () {
2357
- return 'RatingConfig(defaultFactor=' + this.defaultFactor + ', eloScaleH2H=' + this.eloScaleH2H + ', eloScaleFfa=' + this.eloScaleFfa + ', h2hCloseLossThresholdRatio=' + this.h2hCloseLossThresholdRatio + ', ffaMovEnabled=' + this.ffaMovEnabled + ', botNativeUpdatesRating=' + this.botNativeUpdatesRating + ', replacementForcedDecrease=' + this.replacementForcedDecrease + ', ffaMaxRatingDecreaseFraction=' + this.ffaMaxRatingDecreaseFraction + ')';
2357
+ return 'RatingConfig(defaultFactor=' + this.defaultFactor + ', eloScaleH2H=' + this.eloScaleH2H + ', eloScaleFfa=' + this.eloScaleFfa + ', h2hCloseLossThresholdRatio=' + this.h2hCloseLossThresholdRatio + ', ffaMovEnabled=' + this.ffaMovEnabled + ', ffaMaxRatingDecreaseFraction=' + this.ffaMaxRatingDecreaseFraction + ', botNativeUpdatesRating=' + this.botNativeUpdatesRating + ', replacementForcedDecrease=' + this.replacementForcedDecrease + ')';
2358
2358
  };
2359
2359
  protoOf(RatingConfig).hashCode = function () {
2360
2360
  var result = getNumberHashCode(this.defaultFactor);
@@ -2362,9 +2362,9 @@
2362
2362
  result = imul(result, 31) + getNumberHashCode(this.eloScaleFfa) | 0;
2363
2363
  result = imul(result, 31) + getNumberHashCode(this.h2hCloseLossThresholdRatio) | 0;
2364
2364
  result = imul(result, 31) + getBooleanHashCode(this.ffaMovEnabled) | 0;
2365
+ result = imul(result, 31) + getNumberHashCode(this.ffaMaxRatingDecreaseFraction) | 0;
2365
2366
  result = imul(result, 31) + getBooleanHashCode(this.botNativeUpdatesRating) | 0;
2366
2367
  result = imul(result, 31) + getBooleanHashCode(this.replacementForcedDecrease) | 0;
2367
- result = imul(result, 31) + getNumberHashCode(this.ffaMaxRatingDecreaseFraction) | 0;
2368
2368
  return result;
2369
2369
  };
2370
2370
  protoOf(RatingConfig).equals = function (other) {
@@ -2382,12 +2382,12 @@
2382
2382
  return false;
2383
2383
  if (!(this.ffaMovEnabled === other.ffaMovEnabled))
2384
2384
  return false;
2385
+ if (!equals(this.ffaMaxRatingDecreaseFraction, other.ffaMaxRatingDecreaseFraction))
2386
+ return false;
2385
2387
  if (!(this.botNativeUpdatesRating === other.botNativeUpdatesRating))
2386
2388
  return false;
2387
2389
  if (!(this.replacementForcedDecrease === other.replacementForcedDecrease))
2388
2390
  return false;
2389
- if (!equals(this.ffaMaxRatingDecreaseFraction, other.ffaMaxRatingDecreaseFraction))
2390
- return false;
2391
2391
  return true;
2392
2392
  };
2393
2393
  function Companion_4() {