raspberry_games_server_game_logic 1.8.374 → 1.8.376

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) {
@@ -357,6 +357,7 @@
357
357
  initMetadataForLambda(windowedByInterval$o$collect$slambda, CoroutineImpl, VOID, [1]);
358
358
  initMetadataForCoroutine($collectCOROUTINE$_0, CoroutineImpl);
359
359
  initMetadataForClass(windowedByInterval$$inlined$filter$1, VOID, VOID, VOID, [Flow], [1]);
360
+ initMetadataForClass(ServerLoggerKey, 'ServerLoggerKey');
360
361
  initMetadataForCompanion(Companion_20, VOID, [SerializerFactory]);
361
362
  initMetadataForClass(LogType, 'LogType', VOID, Enum, VOID, VOID, VOID, {0: Companion_getInstance_23});
362
363
  function observe(types, $super) {
@@ -369,7 +370,7 @@
369
370
  tmp = types;
370
371
  }
371
372
  types = tmp;
372
- return $super === VOID ? this.t6k(types) : $super.t6k.call(this, types);
373
+ return $super === VOID ? this.v6k(types) : $super.v6k.call(this, types);
373
374
  }
374
375
  initMetadataForInterface(ObservableLoggerOutput, 'ObservableLoggerOutput', VOID, VOID, [LoggerOutput, LoggerEnabledTrigger]);
375
376
  initMetadataForCompanion(Companion_21);
@@ -379,7 +380,7 @@
379
380
  initMetadataForClass(AppEnvironmentValue, 'AppEnvironmentValue', VOID, Enum);
380
381
  //endregion
381
382
  function GameEngineConfig() {
382
- this.version = '1.8.374';
383
+ this.version = '1.8.376';
383
384
  }
384
385
  protoOf(GameEngineConfig).y3v = function () {
385
386
  return this.version;
@@ -6177,8 +6178,29 @@
6177
6178
  return $equals($newValue, it);
6178
6179
  };
6179
6180
  }
6181
+ function ServerLoggerKey(gameId) {
6182
+ this.o6k_1 = gameId;
6183
+ }
6184
+ protoOf(ServerLoggerKey).p6k = function () {
6185
+ return this.o6k_1;
6186
+ };
6187
+ protoOf(ServerLoggerKey).toString = function () {
6188
+ return 'ServerLoggerKey(gameId=' + this.o6k_1 + ')';
6189
+ };
6190
+ protoOf(ServerLoggerKey).hashCode = function () {
6191
+ return getStringHashCode(this.o6k_1);
6192
+ };
6193
+ protoOf(ServerLoggerKey).equals = function (other) {
6194
+ if (this === other)
6195
+ return true;
6196
+ if (!(other instanceof ServerLoggerKey))
6197
+ return false;
6198
+ if (!(this.o6k_1 === other.o6k_1))
6199
+ return false;
6200
+ return true;
6201
+ };
6180
6202
  function _get_$cachedSerializer__te6jhj_8($this) {
6181
- return $this.o6k_1.w();
6203
+ return $this.q6k_1.w();
6182
6204
  }
6183
6205
  function LogType$Companion$_anonymous__d4fjnz() {
6184
6206
  return createSimpleEnumSerializer('com.logic.utils.logger.outputs.LogType', values_3());
@@ -6218,7 +6240,7 @@
6218
6240
  Companion_instance_22 = this;
6219
6241
  var tmp = this;
6220
6242
  var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
6221
- tmp.o6k_1 = lazy(tmp_0, LogType$Companion$_anonymous__d4fjnz);
6243
+ tmp.q6k_1 = lazy(tmp_0, LogType$Companion$_anonymous__d4fjnz);
6222
6244
  }
6223
6245
  protoOf(Companion_20).a1c = function () {
6224
6246
  return _get_$cachedSerializer__te6jhj_8(this);
@@ -6281,7 +6303,7 @@
6281
6303
  // Inline function 'kotlin.arrayOf' call
6282
6304
  // Inline function 'kotlin.js.unsafeCast' call
6283
6305
  // Inline function 'kotlin.js.asDynamic' call
6284
- tmp.u6k_1 = [lazy(tmp_0, LoggerOutputDataDto$Companion$$childSerializers$_anonymous__j015dy), null, null, null, null];
6306
+ tmp.w6k_1 = [lazy(tmp_0, LoggerOutputDataDto$Companion$$childSerializers$_anonymous__j015dy), null, null, null, null];
6285
6307
  }
6286
6308
  protoOf(Companion_21).a1c = function () {
6287
6309
  return $serializer_getInstance_10();
@@ -6300,12 +6322,12 @@
6300
6322
  tmp0_serialDesc.gz('tag', false);
6301
6323
  tmp0_serialDesc.gz('message', false);
6302
6324
  tmp0_serialDesc.gz('stackTrace', false);
6303
- this.v6k_1 = tmp0_serialDesc;
6325
+ this.x6k_1 = tmp0_serialDesc;
6304
6326
  }
6305
- protoOf($serializer_10).w6k = function (encoder, value) {
6306
- var tmp0_desc = this.v6k_1;
6327
+ protoOf($serializer_10).y6k = function (encoder, value) {
6328
+ var tmp0_desc = this.x6k_1;
6307
6329
  var tmp1_output = encoder.or(tmp0_desc);
6308
- var tmp2_cached = Companion_getInstance_24().u6k_1;
6330
+ var tmp2_cached = Companion_getInstance_24().w6k_1;
6309
6331
  tmp1_output.ft(tmp0_desc, 0, tmp2_cached[0].w(), value.type);
6310
6332
  tmp1_output.ht(tmp0_desc, 1, StringSerializer_getInstance(), value.key);
6311
6333
  tmp1_output.ht(tmp0_desc, 2, StringSerializer_getInstance(), value.tag);
@@ -6314,10 +6336,10 @@
6314
6336
  tmp1_output.pr(tmp0_desc);
6315
6337
  };
6316
6338
  protoOf($serializer_10).co = function (encoder, value) {
6317
- return this.w6k(encoder, value instanceof LoggerOutputDataDto ? value : THROW_CCE());
6339
+ return this.y6k(encoder, value instanceof LoggerOutputDataDto ? value : THROW_CCE());
6318
6340
  };
6319
6341
  protoOf($serializer_10).do = function (decoder) {
6320
- var tmp0_desc = this.v6k_1;
6342
+ var tmp0_desc = this.x6k_1;
6321
6343
  var tmp1_flag = true;
6322
6344
  var tmp2_index = 0;
6323
6345
  var tmp3_bitMask0 = 0;
@@ -6327,7 +6349,7 @@
6327
6349
  var tmp7_local3 = null;
6328
6350
  var tmp8_local4 = null;
6329
6351
  var tmp9_input = decoder.or(tmp0_desc);
6330
- var tmp10_cached = Companion_getInstance_24().u6k_1;
6352
+ var tmp10_cached = Companion_getInstance_24().w6k_1;
6331
6353
  if (tmp9_input.es()) {
6332
6354
  tmp4_local0 = tmp9_input.as(tmp0_desc, 0, tmp10_cached[0].w(), tmp4_local0);
6333
6355
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
@@ -6374,13 +6396,13 @@
6374
6396
  return LoggerOutputDataDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, null);
6375
6397
  };
6376
6398
  protoOf($serializer_10).bo = function () {
6377
- return this.v6k_1;
6399
+ return this.x6k_1;
6378
6400
  };
6379
6401
  protoOf($serializer_10).vz = function () {
6380
6402
  // Inline function 'kotlin.arrayOf' call
6381
6403
  // Inline function 'kotlin.js.unsafeCast' call
6382
6404
  // Inline function 'kotlin.js.asDynamic' call
6383
- return [Companion_getInstance_24().u6k_1[0].w(), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance())];
6405
+ return [Companion_getInstance_24().w6k_1[0].w(), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance())];
6384
6406
  };
6385
6407
  var $serializer_instance_10;
6386
6408
  function $serializer_getInstance_10() {
@@ -6390,7 +6412,7 @@
6390
6412
  }
6391
6413
  function LoggerOutputDataDto_init_$Init$(seen0, type, key, tag, message, stackTrace, serializationConstructorMarker, $this) {
6392
6414
  if (!(31 === (31 & seen0))) {
6393
- throwMissingFieldException(seen0, 31, $serializer_getInstance_10().v6k_1);
6415
+ throwMissingFieldException(seen0, 31, $serializer_getInstance_10().x6k_1);
6394
6416
  }
6395
6417
  $this.type = type;
6396
6418
  $this.key = key;
@@ -6422,7 +6444,7 @@
6422
6444
  protoOf(LoggerOutputDataDto).e = function () {
6423
6445
  return this.message;
6424
6446
  };
6425
- protoOf(LoggerOutputDataDto).x6k = function () {
6447
+ protoOf(LoggerOutputDataDto).z6k = function () {
6426
6448
  return this.stackTrace;
6427
6449
  };
6428
6450
  protoOf(LoggerOutputDataDto).toMessageLog = function () {
@@ -6479,7 +6501,7 @@
6479
6501
  protoOf(LoggerOutputDataDto).o66 = function () {
6480
6502
  return this.stackTrace;
6481
6503
  };
6482
- protoOf(LoggerOutputDataDto).y6k = function (type, key, tag, message, stackTrace) {
6504
+ protoOf(LoggerOutputDataDto).a6l = function (type, key, tag, message, stackTrace) {
6483
6505
  return new LoggerOutputDataDto(type, key, tag, message, stackTrace);
6484
6506
  };
6485
6507
  protoOf(LoggerOutputDataDto).copy = function (type, key, tag, message, stackTrace, $super) {
@@ -6488,7 +6510,7 @@
6488
6510
  tag = tag === VOID ? this.tag : tag;
6489
6511
  message = message === VOID ? this.message : message;
6490
6512
  stackTrace = stackTrace === VOID ? this.stackTrace : stackTrace;
6491
- return $super === VOID ? this.y6k(type, key, tag, message, stackTrace) : $super.y6k.call(this, type, key, tag, message, stackTrace);
6513
+ return $super === VOID ? this.a6l(type, key, tag, message, stackTrace) : $super.a6l.call(this, type, key, tag, message, stackTrace);
6492
6514
  };
6493
6515
  protoOf(LoggerOutputDataDto).toString = function () {
6494
6516
  return 'LoggerOutputDataDto(type=' + this.type.toString() + ', key=' + this.key + ', tag=' + this.tag + ', message=' + this.message + ', stackTrace=' + this.stackTrace + ')';
@@ -6519,19 +6541,19 @@
6519
6541
  return true;
6520
6542
  };
6521
6543
  function checkInitialised($this) {
6522
- if ($this.z6k_1.equals(AppEnvironmentValue_UNDEFINED_getInstance())) {
6544
+ if ($this.b6l_1.equals(AppEnvironmentValue_UNDEFINED_getInstance())) {
6523
6545
  Logger_getInstance().z1l(VOID, IllegalStateException_init_$Create$('AppEnvironment not initialised'));
6524
6546
  }
6525
6547
  }
6526
6548
  function AppEnvironment() {
6527
6549
  AppEnvironment_instance = this;
6528
- this.z6k_1 = AppEnvironmentValue_UNDEFINED_getInstance();
6550
+ this.b6l_1 = AppEnvironmentValue_UNDEFINED_getInstance();
6529
6551
  }
6530
- protoOf(AppEnvironment).a6l = function (value) {
6531
- this.z6k_1 = value;
6552
+ protoOf(AppEnvironment).c6l = function (value) {
6553
+ this.b6l_1 = value;
6532
6554
  };
6533
- protoOf(AppEnvironment).b6l = function () {
6534
- var tmp = this.z6k_1;
6555
+ protoOf(AppEnvironment).d6l = function () {
6556
+ var tmp = this.b6l_1;
6535
6557
  // Inline function 'kotlin.also' call
6536
6558
  var this_0 = AppEnvironmentValue_PRODUCTION_getInstance();
6537
6559
  checkInitialised(AppEnvironment_getInstance());
@@ -7299,68 +7321,69 @@
7299
7321
  _.$_$.o2 = createStore;
7300
7322
  _.$_$.p2 = get_entries_1;
7301
7323
  _.$_$.q2 = LoggerOutputDataDto;
7302
- _.$_$.r2 = enumToStringSafe;
7303
- _.$_$.s2 = enumToString;
7304
- _.$_$.t2 = mapOfObject;
7305
- _.$_$.u2 = nextToOrNull;
7306
- _.$_$.v2 = nextTo;
7307
- _.$_$.w2 = previousToOrNull;
7308
- _.$_$.x2 = sortWithItem;
7309
- _.$_$.y2 = swap;
7310
- _.$_$.z2 = toDomainEnumSafe;
7311
- _.$_$.a3 = toDomainEnum;
7312
- _.$_$.b3 = updateItem;
7313
- _.$_$.c3 = updateLastItem;
7314
- _.$_$.d3 = updateOrAddItems;
7315
- _.$_$.e3 = updated;
7316
- _.$_$.f3 = combinedLoggerModule;
7317
- _.$_$.g3 = coreModule;
7318
- _.$_$.h3 = dealerModule;
7319
- _.$_$.i3 = randomOrgModule;
7320
- _.$_$.j3 = assertIfMainThread;
7321
- _.$_$.k3 = get_versionOrDefault;
7322
- _.$_$.l3 = AgentType_BOT_NATIVE_getInstance;
7323
- _.$_$.m3 = AgentType_BOT_REPLACEMENT_getInstance;
7324
- _.$_$.n3 = AgentType_HUMAN_getInstance;
7325
- _.$_$.o3 = PlayerConnectionState_DELETED_getInstance;
7326
- _.$_$.p3 = PlayerConnectionState_DISCONNECTING_getInstance;
7327
- _.$_$.q3 = PlayerConnectionState_LEFT_getInstance;
7328
- _.$_$.r3 = PlayerConnectionState_LIVE_getInstance;
7329
- _.$_$.s3 = PlayerConnectionState_LOST_CONNECTION_getInstance;
7330
- _.$_$.t3 = PlayerConnectionState_TIMEOUT_getInstance;
7331
- _.$_$.u3 = PlayerWaitingState_IN_PROGRESS_getInstance;
7332
- _.$_$.v3 = Reason_DUPLICATED_PLAYER_ANSWER_getInstance;
7333
- _.$_$.w3 = Reason_GAME_NOT_EXISTS_getInstance_0;
7334
- _.$_$.x3 = Reason_PLAYER_DISCONNECTED_getInstance;
7335
- _.$_$.y3 = Reason_SERVER_ERROR_getInstance;
7336
- _.$_$.z3 = Reason_WRONG_PLAYER_TURN_getInstance;
7337
- _.$_$.a4 = Reason_DEPLOY_getInstance;
7338
- _.$_$.b4 = Reason_FINISHED_getInstance;
7339
- _.$_$.c4 = Reason_REVENGED_getInstance;
7340
- _.$_$.d4 = TimerType_DELAY_getInstance;
7341
- _.$_$.e4 = LogType_DEBUG_getInstance;
7342
- _.$_$.f4 = LogType_ERROR_getInstance;
7343
- _.$_$.g4 = LogType_INFO_getInstance;
7344
- _.$_$.h4 = LogType_VERBOSE_getInstance;
7345
- _.$_$.i4 = LogType_WARN_getInstance;
7346
- _.$_$.j4 = AppEnvironmentValue_DEVELOPMENT_getInstance;
7347
- _.$_$.k4 = AppEnvironmentValue_PRODUCTION_getInstance;
7348
- _.$_$.l4 = Companion_instance_8;
7349
- _.$_$.m4 = Companion_getInstance_10;
7350
- _.$_$.n4 = Companion_instance_11;
7351
- _.$_$.o4 = Companion_getInstance_11;
7352
- _.$_$.p4 = $serializer_getInstance_6;
7353
- _.$_$.q4 = $serializer_getInstance_8;
7354
- _.$_$.r4 = $serializer_getInstance_9;
7355
- _.$_$.s4 = ProcessingReasonDto_getInstance;
7356
- _.$_$.t4 = Companion_getInstance_13;
7357
- _.$_$.u4 = Companion_getInstance_2;
7358
- _.$_$.v4 = Companion_instance_5;
7359
- _.$_$.w4 = ProcessingReason_getInstance;
7360
- _.$_$.x4 = RestartGameReason_getInstance;
7361
- _.$_$.y4 = GameEngineConfig_instance;
7362
- _.$_$.z4 = Toggles_instance;
7363
- _.$_$.a5 = AppEnvironment_getInstance;
7324
+ _.$_$.r2 = ServerLoggerKey;
7325
+ _.$_$.s2 = enumToStringSafe;
7326
+ _.$_$.t2 = enumToString;
7327
+ _.$_$.u2 = mapOfObject;
7328
+ _.$_$.v2 = nextToOrNull;
7329
+ _.$_$.w2 = nextTo;
7330
+ _.$_$.x2 = previousToOrNull;
7331
+ _.$_$.y2 = sortWithItem;
7332
+ _.$_$.z2 = swap;
7333
+ _.$_$.a3 = toDomainEnumSafe;
7334
+ _.$_$.b3 = toDomainEnum;
7335
+ _.$_$.c3 = updateItem;
7336
+ _.$_$.d3 = updateLastItem;
7337
+ _.$_$.e3 = updateOrAddItems;
7338
+ _.$_$.f3 = updated;
7339
+ _.$_$.g3 = combinedLoggerModule;
7340
+ _.$_$.h3 = coreModule;
7341
+ _.$_$.i3 = dealerModule;
7342
+ _.$_$.j3 = randomOrgModule;
7343
+ _.$_$.k3 = assertIfMainThread;
7344
+ _.$_$.l3 = get_versionOrDefault;
7345
+ _.$_$.m3 = AgentType_BOT_NATIVE_getInstance;
7346
+ _.$_$.n3 = AgentType_BOT_REPLACEMENT_getInstance;
7347
+ _.$_$.o3 = AgentType_HUMAN_getInstance;
7348
+ _.$_$.p3 = PlayerConnectionState_DELETED_getInstance;
7349
+ _.$_$.q3 = PlayerConnectionState_DISCONNECTING_getInstance;
7350
+ _.$_$.r3 = PlayerConnectionState_LEFT_getInstance;
7351
+ _.$_$.s3 = PlayerConnectionState_LIVE_getInstance;
7352
+ _.$_$.t3 = PlayerConnectionState_LOST_CONNECTION_getInstance;
7353
+ _.$_$.u3 = PlayerConnectionState_TIMEOUT_getInstance;
7354
+ _.$_$.v3 = PlayerWaitingState_IN_PROGRESS_getInstance;
7355
+ _.$_$.w3 = Reason_DUPLICATED_PLAYER_ANSWER_getInstance;
7356
+ _.$_$.x3 = Reason_GAME_NOT_EXISTS_getInstance_0;
7357
+ _.$_$.y3 = Reason_PLAYER_DISCONNECTED_getInstance;
7358
+ _.$_$.z3 = Reason_SERVER_ERROR_getInstance;
7359
+ _.$_$.a4 = Reason_WRONG_PLAYER_TURN_getInstance;
7360
+ _.$_$.b4 = Reason_DEPLOY_getInstance;
7361
+ _.$_$.c4 = Reason_FINISHED_getInstance;
7362
+ _.$_$.d4 = Reason_REVENGED_getInstance;
7363
+ _.$_$.e4 = TimerType_DELAY_getInstance;
7364
+ _.$_$.f4 = LogType_DEBUG_getInstance;
7365
+ _.$_$.g4 = LogType_ERROR_getInstance;
7366
+ _.$_$.h4 = LogType_INFO_getInstance;
7367
+ _.$_$.i4 = LogType_VERBOSE_getInstance;
7368
+ _.$_$.j4 = LogType_WARN_getInstance;
7369
+ _.$_$.k4 = AppEnvironmentValue_DEVELOPMENT_getInstance;
7370
+ _.$_$.l4 = AppEnvironmentValue_PRODUCTION_getInstance;
7371
+ _.$_$.m4 = Companion_instance_8;
7372
+ _.$_$.n4 = Companion_getInstance_10;
7373
+ _.$_$.o4 = Companion_instance_11;
7374
+ _.$_$.p4 = Companion_getInstance_11;
7375
+ _.$_$.q4 = $serializer_getInstance_6;
7376
+ _.$_$.r4 = $serializer_getInstance_8;
7377
+ _.$_$.s4 = $serializer_getInstance_9;
7378
+ _.$_$.t4 = ProcessingReasonDto_getInstance;
7379
+ _.$_$.u4 = Companion_getInstance_13;
7380
+ _.$_$.v4 = Companion_getInstance_2;
7381
+ _.$_$.w4 = Companion_instance_5;
7382
+ _.$_$.x4 = ProcessingReason_getInstance;
7383
+ _.$_$.y4 = RestartGameReason_getInstance;
7384
+ _.$_$.z4 = GameEngineConfig_instance;
7385
+ _.$_$.a5 = Toggles_instance;
7386
+ _.$_$.b5 = AppEnvironment_getInstance;
7364
7387
  //endregion
7365
7388
  return _;
7366
7389
  }));