game_client_logic_deb 1.4.92 → 1.4.93

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.
@@ -294,12 +294,21 @@
294
294
  setMetadataFor(LoggerPayload, 'LoggerPayload', interfaceMeta);
295
295
  setMetadataFor(LoggerEnabledTrigger, 'LoggerEnabledTrigger', interfaceMeta, VOID, [GameLogger]);
296
296
  setMetadataFor(PlatformGameLogger, 'PlatformGameLogger', classMeta, VOID, [GameLogger, LoggerEnabledTrigger]);
297
+ setMetadataFor(Companion_19, 'Companion', objectMeta, VOID, [SerializerFactory]);
298
+ setMetadataFor(LogType, 'LogType', classMeta, Enum, VOID, VOID, {0: Companion_getInstance_20});
299
+ function observe(types, $super) {
300
+ types = types === VOID ? values_4() : types;
301
+ return this.k2r(types);
302
+ }
297
303
  setMetadataFor(ObservableLoggerOutput, 'ObservableLoggerOutput', interfaceMeta, VOID, [LoggerOutput, LoggerEnabledTrigger]);
304
+ setMetadataFor(Companion_20, 'Companion', objectMeta);
305
+ setMetadataFor($serializer_8, '$serializer', objectMeta, VOID, [GeneratedSerializer]);
306
+ setMetadataFor(LoggerOutputDataDto, 'LoggerOutputDataDto', classMeta, VOID, VOID, VOID, {0: $serializer_getInstance_8});
298
307
  setMetadataFor(PlatformLogger, 'PlatformLogger', classMeta);
299
308
  //endregion
300
309
  function GameEngineConfig() {
301
310
  GameEngineConfig_instance = this;
302
- this.version = '1.4.92';
311
+ this.version = '1.4.93';
303
312
  }
304
313
  protoOf(GameEngineConfig).a2f = function () {
305
314
  return this.version;
@@ -5399,12 +5408,283 @@
5399
5408
  }, function (value) {
5400
5409
  this.f2r(value);
5401
5410
  });
5411
+ function _get_$cachedSerializer__te6jhj_9($this) {
5412
+ return $this.h2r_1.j1();
5413
+ }
5414
+ function LogType$Companion$_anonymous__d4fjnz() {
5415
+ return createSimpleEnumSerializer('com.logic.utils.logger.outputs.LogType', values_4());
5416
+ }
5417
+ var LogType_DEBUG_instance;
5418
+ var LogType_ERROR_instance;
5419
+ var LogType_WARN_instance;
5420
+ function Companion_19() {
5421
+ Companion_instance_19 = this;
5422
+ var tmp = this;
5423
+ var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
5424
+ tmp.h2r_1 = lazy(tmp_0, LogType$Companion$_anonymous__d4fjnz);
5425
+ }
5426
+ protoOf(Companion_19).serializer = function () {
5427
+ return _get_$cachedSerializer__te6jhj_9(this);
5428
+ };
5429
+ protoOf(Companion_19).n1n = function (typeParamsSerializers) {
5430
+ return this.serializer();
5431
+ };
5432
+ var Companion_instance_19;
5433
+ function Companion_getInstance_20() {
5434
+ LogType_initEntries();
5435
+ if (Companion_instance_19 == null)
5436
+ new Companion_19();
5437
+ return Companion_instance_19;
5438
+ }
5439
+ function values_4() {
5440
+ return [LogType_DEBUG_getInstance(), LogType_ERROR_getInstance(), LogType_WARN_getInstance()];
5441
+ }
5442
+ function valueOf_1(value) {
5443
+ switch (value) {
5444
+ case 'DEBUG':
5445
+ return LogType_DEBUG_getInstance();
5446
+ case 'ERROR':
5447
+ return LogType_ERROR_getInstance();
5448
+ case 'WARN':
5449
+ return LogType_WARN_getInstance();
5450
+ default:
5451
+ LogType_initEntries();
5452
+ THROW_ISE();
5453
+ break;
5454
+ }
5455
+ }
5456
+ var LogType_entriesInitialized;
5457
+ function LogType_initEntries() {
5458
+ if (LogType_entriesInitialized)
5459
+ return Unit_getInstance();
5460
+ LogType_entriesInitialized = true;
5461
+ LogType_DEBUG_instance = new LogType('DEBUG', 0);
5462
+ LogType_ERROR_instance = new LogType('ERROR', 1);
5463
+ LogType_WARN_instance = new LogType('WARN', 2);
5464
+ Companion_getInstance_20();
5465
+ }
5466
+ function LogType(name, ordinal) {
5467
+ Enum.call(this, name, ordinal);
5468
+ }
5469
+ defineProp(protoOf(LogType), 'name', protoOf(LogType).yg);
5470
+ defineProp(protoOf(LogType), 'ordinal', protoOf(LogType).zg);
5471
+ function LogType_DEBUG_getInstance() {
5472
+ LogType_initEntries();
5473
+ return LogType_DEBUG_instance;
5474
+ }
5475
+ function LogType_ERROR_getInstance() {
5476
+ LogType_initEntries();
5477
+ return LogType_ERROR_instance;
5478
+ }
5479
+ function LogType_WARN_getInstance() {
5480
+ LogType_initEntries();
5481
+ return LogType_WARN_instance;
5482
+ }
5402
5483
  function LoggerEnabledTrigger() {
5403
5484
  }
5404
5485
  function LoggerOutput() {
5405
5486
  }
5406
5487
  function ObservableLoggerOutput() {
5407
5488
  }
5489
+ function Companion_20() {
5490
+ Companion_instance_20 = this;
5491
+ var tmp = this;
5492
+ var tmp$ret$2;
5493
+ // Inline function 'kotlin.arrayOf' call
5494
+ var tmp0_arrayOf = [Companion_getInstance_20().serializer(), null, null, null];
5495
+ var tmp$ret$1;
5496
+ // Inline function 'kotlin.js.unsafeCast' call
5497
+ var tmp$ret$0;
5498
+ // Inline function 'kotlin.js.asDynamic' call
5499
+ tmp$ret$0 = tmp0_arrayOf;
5500
+ tmp$ret$1 = tmp$ret$0;
5501
+ tmp$ret$2 = tmp$ret$1;
5502
+ tmp.l2r_1 = tmp$ret$2;
5503
+ }
5504
+ protoOf(Companion_20).serializer = function () {
5505
+ return $serializer_getInstance_8();
5506
+ };
5507
+ var Companion_instance_20;
5508
+ function Companion_getInstance_21() {
5509
+ if (Companion_instance_20 == null)
5510
+ new Companion_20();
5511
+ return Companion_instance_20;
5512
+ }
5513
+ function $serializer_8() {
5514
+ $serializer_instance_8 = this;
5515
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.utils.logger.outputs.LoggerOutputDataDto', this, 4);
5516
+ tmp0_serialDesc.n1m('type', false);
5517
+ tmp0_serialDesc.n1m('tag', false);
5518
+ tmp0_serialDesc.n1m('message', false);
5519
+ tmp0_serialDesc.n1m('stackTrace', false);
5520
+ this.m2r_1 = tmp0_serialDesc;
5521
+ }
5522
+ protoOf($serializer_8).b1c = function () {
5523
+ return this.m2r_1;
5524
+ };
5525
+ protoOf($serializer_8).c1n = function () {
5526
+ var tmp0_cached = Companion_getInstance_21().l2r_1;
5527
+ var tmp$ret$2;
5528
+ // Inline function 'kotlin.arrayOf' call
5529
+ var tmp0_arrayOf = [tmp0_cached[0], get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance())];
5530
+ var tmp$ret$1;
5531
+ // Inline function 'kotlin.js.unsafeCast' call
5532
+ var tmp$ret$0;
5533
+ // Inline function 'kotlin.js.asDynamic' call
5534
+ tmp$ret$0 = tmp0_arrayOf;
5535
+ tmp$ret$1 = tmp$ret$0;
5536
+ tmp$ret$2 = tmp$ret$1;
5537
+ return tmp$ret$2;
5538
+ };
5539
+ protoOf($serializer_8).d1c = function (decoder) {
5540
+ var tmp0_desc = this.m2r_1;
5541
+ var tmp1_flag = true;
5542
+ var tmp2_index = 0;
5543
+ var tmp3_bitMask0 = 0;
5544
+ var tmp4_local0 = null;
5545
+ var tmp5_local1 = null;
5546
+ var tmp6_local2 = null;
5547
+ var tmp7_local3 = null;
5548
+ var tmp8_input = decoder.i1f(tmp0_desc);
5549
+ var tmp9_cached = Companion_getInstance_21().l2r_1;
5550
+ if (tmp8_input.y1f()) {
5551
+ tmp4_local0 = tmp8_input.u1f(tmp0_desc, 0, tmp9_cached[0], tmp4_local0);
5552
+ tmp3_bitMask0 = tmp3_bitMask0 | 1;
5553
+ tmp5_local1 = tmp8_input.w1f(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
5554
+ tmp3_bitMask0 = tmp3_bitMask0 | 2;
5555
+ tmp6_local2 = tmp8_input.w1f(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
5556
+ tmp3_bitMask0 = tmp3_bitMask0 | 4;
5557
+ tmp7_local3 = tmp8_input.w1f(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
5558
+ tmp3_bitMask0 = tmp3_bitMask0 | 8;
5559
+ } else
5560
+ while (tmp1_flag) {
5561
+ tmp2_index = tmp8_input.z1f(tmp0_desc);
5562
+ switch (tmp2_index) {
5563
+ case -1:
5564
+ tmp1_flag = false;
5565
+ break;
5566
+ case 0:
5567
+ tmp4_local0 = tmp8_input.u1f(tmp0_desc, 0, tmp9_cached[0], tmp4_local0);
5568
+ tmp3_bitMask0 = tmp3_bitMask0 | 1;
5569
+ break;
5570
+ case 1:
5571
+ tmp5_local1 = tmp8_input.w1f(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
5572
+ tmp3_bitMask0 = tmp3_bitMask0 | 2;
5573
+ break;
5574
+ case 2:
5575
+ tmp6_local2 = tmp8_input.w1f(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
5576
+ tmp3_bitMask0 = tmp3_bitMask0 | 4;
5577
+ break;
5578
+ case 3:
5579
+ tmp7_local3 = tmp8_input.w1f(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
5580
+ tmp3_bitMask0 = tmp3_bitMask0 | 8;
5581
+ break;
5582
+ default:
5583
+ throw UnknownFieldException_init_$Create$(tmp2_index);
5584
+ }
5585
+ }
5586
+ tmp8_input.j1f(tmp0_desc);
5587
+ return LoggerOutputDataDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
5588
+ };
5589
+ protoOf($serializer_8).n2r = function (encoder, value) {
5590
+ var tmp0_desc = this.m2r_1;
5591
+ var tmp1_output = encoder.i1f(tmp0_desc);
5592
+ var tmp2_cached = Companion_getInstance_21().l2r_1;
5593
+ tmp1_output.z1g(tmp0_desc, 0, tmp2_cached[0], value.type);
5594
+ tmp1_output.b1h(tmp0_desc, 1, StringSerializer_getInstance(), value.tag);
5595
+ tmp1_output.b1h(tmp0_desc, 2, StringSerializer_getInstance(), value.message);
5596
+ tmp1_output.b1h(tmp0_desc, 3, StringSerializer_getInstance(), value.stackTrace);
5597
+ tmp1_output.j1f(tmp0_desc);
5598
+ };
5599
+ protoOf($serializer_8).c1c = function (encoder, value) {
5600
+ return this.n2r(encoder, value instanceof LoggerOutputDataDto ? value : THROW_CCE());
5601
+ };
5602
+ var $serializer_instance_8;
5603
+ function $serializer_getInstance_8() {
5604
+ if ($serializer_instance_8 == null)
5605
+ new $serializer_8();
5606
+ return $serializer_instance_8;
5607
+ }
5608
+ function LoggerOutputDataDto_init_$Init$(seen1, type, tag, message, stackTrace, serializationConstructorMarker, $this) {
5609
+ if (!(15 === (15 & seen1))) {
5610
+ throwMissingFieldException(seen1, 15, $serializer_getInstance_8().m2r_1);
5611
+ }
5612
+ $this.type = type;
5613
+ $this.tag = tag;
5614
+ $this.message = message;
5615
+ $this.stackTrace = stackTrace;
5616
+ return $this;
5617
+ }
5618
+ function LoggerOutputDataDto_init_$Create$(seen1, type, tag, message, stackTrace, serializationConstructorMarker) {
5619
+ return LoggerOutputDataDto_init_$Init$(seen1, type, tag, message, stackTrace, serializationConstructorMarker, objectCreate(protoOf(LoggerOutputDataDto)));
5620
+ }
5621
+ function LoggerOutputDataDto(type, tag, message, stackTrace) {
5622
+ Companion_getInstance_21();
5623
+ this.type = type;
5624
+ this.tag = tag;
5625
+ this.message = message;
5626
+ this.stackTrace = stackTrace;
5627
+ }
5628
+ protoOf(LoggerOutputDataDto).a29 = function () {
5629
+ return this.type;
5630
+ };
5631
+ protoOf(LoggerOutputDataDto).o2r = function () {
5632
+ return this.tag;
5633
+ };
5634
+ protoOf(LoggerOutputDataDto).d9 = function () {
5635
+ return this.message;
5636
+ };
5637
+ protoOf(LoggerOutputDataDto).p2r = function () {
5638
+ return this.stackTrace;
5639
+ };
5640
+ protoOf(LoggerOutputDataDto).y3 = function () {
5641
+ return this.type;
5642
+ };
5643
+ protoOf(LoggerOutputDataDto).z3 = function () {
5644
+ return this.tag;
5645
+ };
5646
+ protoOf(LoggerOutputDataDto).i9 = function () {
5647
+ return this.message;
5648
+ };
5649
+ protoOf(LoggerOutputDataDto).h2g = function () {
5650
+ return this.stackTrace;
5651
+ };
5652
+ protoOf(LoggerOutputDataDto).q2r = function (type, tag, message, stackTrace) {
5653
+ return new LoggerOutputDataDto(type, tag, message, stackTrace);
5654
+ };
5655
+ protoOf(LoggerOutputDataDto).copy = function (type, tag, message, stackTrace, $super) {
5656
+ type = type === VOID ? this.type : type;
5657
+ tag = tag === VOID ? this.tag : tag;
5658
+ message = message === VOID ? this.message : message;
5659
+ stackTrace = stackTrace === VOID ? this.stackTrace : stackTrace;
5660
+ return this.q2r(type, tag, message, stackTrace);
5661
+ };
5662
+ protoOf(LoggerOutputDataDto).toString = function () {
5663
+ return 'LoggerOutputDataDto(type=' + this.type + ', tag=' + this.tag + ', message=' + this.message + ', stackTrace=' + this.stackTrace + ')';
5664
+ };
5665
+ protoOf(LoggerOutputDataDto).hashCode = function () {
5666
+ var result = this.type.hashCode();
5667
+ result = imul(result, 31) + (this.tag == null ? 0 : getStringHashCode(this.tag)) | 0;
5668
+ result = imul(result, 31) + (this.message == null ? 0 : getStringHashCode(this.message)) | 0;
5669
+ result = imul(result, 31) + (this.stackTrace == null ? 0 : getStringHashCode(this.stackTrace)) | 0;
5670
+ return result;
5671
+ };
5672
+ protoOf(LoggerOutputDataDto).equals = function (other) {
5673
+ if (this === other)
5674
+ return true;
5675
+ if (!(other instanceof LoggerOutputDataDto))
5676
+ return false;
5677
+ var tmp0_other_with_cast = other instanceof LoggerOutputDataDto ? other : THROW_CCE();
5678
+ if (!this.type.equals(tmp0_other_with_cast.type))
5679
+ return false;
5680
+ if (!(this.tag == tmp0_other_with_cast.tag))
5681
+ return false;
5682
+ if (!(this.message == tmp0_other_with_cast.message))
5683
+ return false;
5684
+ if (!(this.stackTrace == tmp0_other_with_cast.stackTrace))
5685
+ return false;
5686
+ return true;
5687
+ };
5408
5688
  function PlatformLogger() {
5409
5689
  }
5410
5690
  protoOf(PlatformLogger).r2q = function (tag, msg) {
@@ -5455,6 +5735,7 @@
5455
5735
  protoOf(PlatformGameLogger).d = d;
5456
5736
  protoOf(PlatformGameLogger).e = e;
5457
5737
  protoOf(PlatformGameLogger).w = w;
5738
+ protoOf($serializer_8).d1n = typeParametersSerializers;
5458
5739
  //endregion
5459
5740
  //region block: exports
5460
5741
  function $jsExportAll$(_) {
@@ -5555,6 +5836,18 @@
5555
5836
  var $com$logic$utils = $com$logic.utils || ($com$logic.utils = {});
5556
5837
  var $com$logic$utils$logger = $com$logic$utils.logger || ($com$logic$utils.logger = {});
5557
5838
  var $com$logic$utils$logger$outputs = $com$logic$utils$logger.outputs || ($com$logic$utils$logger.outputs = {});
5839
+ $com$logic$utils$logger$outputs.LogType = LogType;
5840
+ $com$logic$utils$logger$outputs.LogType.values = values_4;
5841
+ $com$logic$utils$logger$outputs.LogType.valueOf = valueOf_1;
5842
+ defineProp($com$logic$utils$logger$outputs.LogType, 'DEBUG', LogType_DEBUG_getInstance);
5843
+ defineProp($com$logic$utils$logger$outputs.LogType, 'ERROR', LogType_ERROR_getInstance);
5844
+ defineProp($com$logic$utils$logger$outputs.LogType, 'WARN', LogType_WARN_getInstance);
5845
+ defineProp($com$logic$utils$logger$outputs.LogType, 'Companion', Companion_getInstance_20);
5846
+ var $com = _.com || (_.com = {});
5847
+ var $com$logic = $com.logic || ($com.logic = {});
5848
+ var $com$logic$utils = $com$logic.utils || ($com$logic.utils = {});
5849
+ var $com$logic$utils$logger = $com$logic$utils.logger || ($com$logic$utils.logger = {});
5850
+ var $com$logic$utils$logger$outputs = $com$logic$utils$logger.outputs || ($com$logic$utils$logger.outputs = {});
5558
5851
  var $com = _.com || (_.com = {});
5559
5852
  var $com$logic = $com.logic || ($com.logic = {});
5560
5853
  var $com$logic$utils = $com$logic.utils || ($com$logic.utils = {});
@@ -5565,6 +5858,10 @@
5565
5858
  var $com$logic$utils = $com$logic.utils || ($com$logic.utils = {});
5566
5859
  var $com$logic$utils$logger = $com$logic$utils.logger || ($com$logic$utils.logger = {});
5567
5860
  var $com$logic$utils$logger$outputs = $com$logic$utils$logger.outputs || ($com$logic$utils$logger.outputs = {});
5861
+ $com$logic$utils$logger$outputs.LoggerOutputDataDto = LoggerOutputDataDto;
5862
+ $com$logic$utils$logger$outputs.LoggerOutputDataDto.LoggerOutputDataDto_init_$Create$ = LoggerOutputDataDto_init_$Create$;
5863
+ defineProp($com$logic$utils$logger$outputs.LoggerOutputDataDto, 'Companion', Companion_getInstance_21);
5864
+ defineProp($com$logic$utils$logger$outputs.LoggerOutputDataDto, '$serializer', $serializer_getInstance_8);
5568
5865
  }
5569
5866
  $jsExportAll$(_);
5570
5867
  _.$jsExportAll$ = $jsExportAll$;