client_plugin_logic_deb 1.8.396 → 1.8.397
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.
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1 -1
- package/Logic_Debertz-client_plugin.js +1986 -1986
- package/Logic_Debertz-core.js +1 -1
- package/Logic_Debertz-engine.js +4 -3
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +5248 -5228
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js +731 -731
- package/kotlin-kotlin-stdlib.js +6 -6
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +9 -9
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -364,10 +364,10 @@
|
|
|
364
364
|
spectators = tmp;
|
|
365
365
|
var tmp_0;
|
|
366
366
|
if ($super === VOID) {
|
|
367
|
-
this.
|
|
367
|
+
this.ve4(roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
368
368
|
tmp_0 = Unit_instance;
|
|
369
369
|
} else {
|
|
370
|
-
tmp_0 = $super.
|
|
370
|
+
tmp_0 = $super.ve4.call(this, roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
371
371
|
}
|
|
372
372
|
return tmp_0;
|
|
373
373
|
}
|
|
@@ -375,10 +375,10 @@
|
|
|
375
375
|
newRid = newRid === VOID ? null : newRid;
|
|
376
376
|
var tmp;
|
|
377
377
|
if ($super === VOID) {
|
|
378
|
-
this.
|
|
378
|
+
this.we4(newRid);
|
|
379
379
|
tmp = Unit_instance;
|
|
380
380
|
} else {
|
|
381
|
-
tmp = $super.
|
|
381
|
+
tmp = $super.we4.call(this, newRid);
|
|
382
382
|
}
|
|
383
383
|
return tmp;
|
|
384
384
|
}
|
|
@@ -386,10 +386,10 @@
|
|
|
386
386
|
roomId = roomId === VOID ? null : roomId;
|
|
387
387
|
var tmp;
|
|
388
388
|
if ($super === VOID) {
|
|
389
|
-
this.
|
|
389
|
+
this.xe4(reason, roomId);
|
|
390
390
|
tmp = Unit_instance;
|
|
391
391
|
} else {
|
|
392
|
-
tmp = $super.
|
|
392
|
+
tmp = $super.xe4.call(this, reason, roomId);
|
|
393
393
|
}
|
|
394
394
|
return tmp;
|
|
395
395
|
}
|
|
@@ -455,7 +455,7 @@
|
|
|
455
455
|
dealerConfig = dealerConfig === VOID ? new DealerConfig() : dealerConfig;
|
|
456
456
|
ratingConfig = ratingConfig === VOID ? new RatingConfig() : ratingConfig;
|
|
457
457
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
458
|
-
return $super === VOID ? this.
|
|
458
|
+
return $super === VOID ? this.pe9(reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig) : $super.pe9.call(this, reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig);
|
|
459
459
|
}
|
|
460
460
|
initMetadataForInterface(GameEngineController, 'GameEngineController');
|
|
461
461
|
initMetadataForClass(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1, VOID, VOID, VOID, [Reducer]);
|
|
@@ -468,17 +468,17 @@
|
|
|
468
468
|
initMetadataForClass(GameMetadata, 'GameMetadata');
|
|
469
469
|
//endregion
|
|
470
470
|
function GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation) {
|
|
471
|
-
this.
|
|
471
|
+
this.odn_1 = $subscriber;
|
|
472
472
|
CoroutineImpl.call(this, resultContinuation);
|
|
473
473
|
}
|
|
474
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
475
|
-
var tmp = this.
|
|
474
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).qdn = function (it, $completion) {
|
|
475
|
+
var tmp = this.rdn(it, $completion);
|
|
476
476
|
tmp.t8_1 = Unit_instance;
|
|
477
477
|
tmp.u8_1 = null;
|
|
478
478
|
return tmp.z8();
|
|
479
479
|
};
|
|
480
480
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).h9 = function (p1, $completion) {
|
|
481
|
-
return this.
|
|
481
|
+
return this.qdn(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
|
|
482
482
|
};
|
|
483
483
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).z8 = function () {
|
|
484
484
|
var suspendResult = this.t8_1;
|
|
@@ -487,7 +487,7 @@
|
|
|
487
487
|
var tmp = this.r8_1;
|
|
488
488
|
if (tmp === 0) {
|
|
489
489
|
this.s8_1 = 1;
|
|
490
|
-
this.
|
|
490
|
+
this.odn_1(this.pdn_1);
|
|
491
491
|
return Unit_instance;
|
|
492
492
|
} else if (tmp === 1) {
|
|
493
493
|
throw this.u8_1;
|
|
@@ -498,31 +498,31 @@
|
|
|
498
498
|
}
|
|
499
499
|
while (true);
|
|
500
500
|
};
|
|
501
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
502
|
-
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.
|
|
503
|
-
i.
|
|
501
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).rdn = function (it, completion) {
|
|
502
|
+
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.odn_1, completion);
|
|
503
|
+
i.pdn_1 = it;
|
|
504
504
|
return i;
|
|
505
505
|
};
|
|
506
506
|
function GameServer$subscribeToClientAction$slambda$slambda_0($subscriber, resultContinuation) {
|
|
507
507
|
var i = new GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation);
|
|
508
508
|
var l = function (it, $completion) {
|
|
509
|
-
return i.
|
|
509
|
+
return i.qdn(it, $completion);
|
|
510
510
|
};
|
|
511
511
|
l.$arity = 1;
|
|
512
512
|
return l;
|
|
513
513
|
}
|
|
514
514
|
function GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation) {
|
|
515
|
-
this.
|
|
515
|
+
this.ado_1 = $subscriber;
|
|
516
516
|
CoroutineImpl.call(this, resultContinuation);
|
|
517
517
|
}
|
|
518
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
519
|
-
var tmp = this.
|
|
518
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).cdo = function (it, $completion) {
|
|
519
|
+
var tmp = this.ddo(it, $completion);
|
|
520
520
|
tmp.t8_1 = Unit_instance;
|
|
521
521
|
tmp.u8_1 = null;
|
|
522
522
|
return tmp.z8();
|
|
523
523
|
};
|
|
524
524
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).h9 = function (p1, $completion) {
|
|
525
|
-
return this.
|
|
525
|
+
return this.cdo((!(p1 == null) ? isInterface(p1, ServerStateUpdate) : false) ? p1 : THROW_CCE(), $completion);
|
|
526
526
|
};
|
|
527
527
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).z8 = function () {
|
|
528
528
|
var suspendResult = this.t8_1;
|
|
@@ -531,7 +531,7 @@
|
|
|
531
531
|
var tmp = this.r8_1;
|
|
532
532
|
if (tmp === 0) {
|
|
533
533
|
this.s8_1 = 1;
|
|
534
|
-
this.
|
|
534
|
+
this.ado_1(this.bdo_1);
|
|
535
535
|
return Unit_instance;
|
|
536
536
|
} else if (tmp === 1) {
|
|
537
537
|
throw this.u8_1;
|
|
@@ -542,22 +542,22 @@
|
|
|
542
542
|
}
|
|
543
543
|
while (true);
|
|
544
544
|
};
|
|
545
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
546
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.
|
|
547
|
-
i.
|
|
545
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).ddo = function (it, completion) {
|
|
546
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.ado_1, completion);
|
|
547
|
+
i.bdo_1 = it;
|
|
548
548
|
return i;
|
|
549
549
|
};
|
|
550
550
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_0($subscriber, resultContinuation) {
|
|
551
551
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation);
|
|
552
552
|
var l = function (it, $completion) {
|
|
553
|
-
return i.
|
|
553
|
+
return i.cdo(it, $completion);
|
|
554
554
|
};
|
|
555
555
|
l.$arity = 1;
|
|
556
556
|
return l;
|
|
557
557
|
}
|
|
558
558
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
|
|
559
|
-
this.
|
|
560
|
-
this.
|
|
559
|
+
this.mdo_1 = $$this$unsafeFlow;
|
|
560
|
+
this.ndo_1 = this$0;
|
|
561
561
|
CoroutineImpl.call(this, resultContinuation);
|
|
562
562
|
}
|
|
563
563
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).c2j = function (value, $completion) {
|
|
@@ -577,10 +577,10 @@
|
|
|
577
577
|
switch (tmp) {
|
|
578
578
|
case 0:
|
|
579
579
|
this.s8_1 = 2;
|
|
580
|
-
var tmp0 = this.
|
|
581
|
-
var value = this.
|
|
580
|
+
var tmp0 = this.mdo_1;
|
|
581
|
+
var value = this.odo_1;
|
|
582
582
|
this.r8_1 = 1;
|
|
583
|
-
suspendResult = tmp0.i24(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.
|
|
583
|
+
suspendResult = tmp0.i24(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.ndo_1)), this);
|
|
584
584
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
585
585
|
return suspendResult;
|
|
586
586
|
}
|
|
@@ -603,8 +603,8 @@
|
|
|
603
603
|
while (true);
|
|
604
604
|
};
|
|
605
605
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).d2j = function (value, completion) {
|
|
606
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.
|
|
607
|
-
i.
|
|
606
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.mdo_1, this.ndo_1, completion);
|
|
607
|
+
i.odo_1 = value;
|
|
608
608
|
return i;
|
|
609
609
|
};
|
|
610
610
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
@@ -617,8 +617,8 @@
|
|
|
617
617
|
}
|
|
618
618
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
619
619
|
CoroutineImpl.call(this, resultContinuation);
|
|
620
|
-
this.
|
|
621
|
-
this.
|
|
620
|
+
this.xdo_1 = _this__u8e3s4;
|
|
621
|
+
this.ydo_1 = collector;
|
|
622
622
|
}
|
|
623
623
|
protoOf($collectCOROUTINE$).z8 = function () {
|
|
624
624
|
var suspendResult = this.t8_1;
|
|
@@ -628,10 +628,10 @@
|
|
|
628
628
|
switch (tmp) {
|
|
629
629
|
case 0:
|
|
630
630
|
this.s8_1 = 2;
|
|
631
|
-
var $this$unsafeFlow = this.
|
|
631
|
+
var $this$unsafeFlow = this.ydo_1;
|
|
632
632
|
this.r8_1 = 1;
|
|
633
|
-
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
634
|
-
suspendResult = this.
|
|
633
|
+
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.xdo_1.adp_1, null);
|
|
634
|
+
suspendResult = this.xdo_1.zdo_1.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_0), this);
|
|
635
635
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
636
636
|
return suspendResult;
|
|
637
637
|
}
|
|
@@ -654,8 +654,8 @@
|
|
|
654
654
|
while (true);
|
|
655
655
|
};
|
|
656
656
|
function GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1($this, this$0) {
|
|
657
|
-
this.
|
|
658
|
-
this.
|
|
657
|
+
this.zdo_1 = $this;
|
|
658
|
+
this.adp_1 = this$0;
|
|
659
659
|
}
|
|
660
660
|
protoOf(GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1).j24 = function (collector, $completion) {
|
|
661
661
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
@@ -667,17 +667,17 @@
|
|
|
667
667
|
return this.j24(collector, $completion);
|
|
668
668
|
};
|
|
669
669
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation) {
|
|
670
|
-
this.
|
|
670
|
+
this.jdp_1 = $subscriber;
|
|
671
671
|
CoroutineImpl.call(this, resultContinuation);
|
|
672
672
|
}
|
|
673
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
674
|
-
var tmp = this.
|
|
673
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).ldp = function (it, $completion) {
|
|
674
|
+
var tmp = this.mdp(it, $completion);
|
|
675
675
|
tmp.t8_1 = Unit_instance;
|
|
676
676
|
tmp.u8_1 = null;
|
|
677
677
|
return tmp.z8();
|
|
678
678
|
};
|
|
679
679
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).h9 = function (p1, $completion) {
|
|
680
|
-
return this.
|
|
680
|
+
return this.ldp((!(p1 == null) ? isInterface(p1, ServerStateUpdateDto) : false) ? p1 : THROW_CCE(), $completion);
|
|
681
681
|
};
|
|
682
682
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).z8 = function () {
|
|
683
683
|
var suspendResult = this.t8_1;
|
|
@@ -686,7 +686,7 @@
|
|
|
686
686
|
var tmp = this.r8_1;
|
|
687
687
|
if (tmp === 0) {
|
|
688
688
|
this.s8_1 = 1;
|
|
689
|
-
this.
|
|
689
|
+
this.jdp_1(this.kdp_1);
|
|
690
690
|
return Unit_instance;
|
|
691
691
|
} else if (tmp === 1) {
|
|
692
692
|
throw this.u8_1;
|
|
@@ -697,22 +697,22 @@
|
|
|
697
697
|
}
|
|
698
698
|
while (true);
|
|
699
699
|
};
|
|
700
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
701
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.
|
|
702
|
-
i.
|
|
700
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).mdp = function (it, completion) {
|
|
701
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.jdp_1, completion);
|
|
702
|
+
i.kdp_1 = it;
|
|
703
703
|
return i;
|
|
704
704
|
};
|
|
705
705
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda_0($subscriber, resultContinuation) {
|
|
706
706
|
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation);
|
|
707
707
|
var l = function (it, $completion) {
|
|
708
|
-
return i.
|
|
708
|
+
return i.ldp(it, $completion);
|
|
709
709
|
};
|
|
710
710
|
l.$arity = 1;
|
|
711
711
|
return l;
|
|
712
712
|
}
|
|
713
713
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, $table, resultContinuation) {
|
|
714
|
-
this.
|
|
715
|
-
this.
|
|
714
|
+
this.vdp_1 = $$this$unsafeFlow;
|
|
715
|
+
this.wdp_1 = $table;
|
|
716
716
|
CoroutineImpl.call(this, resultContinuation);
|
|
717
717
|
}
|
|
718
718
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).c2j = function (value, $completion) {
|
|
@@ -732,10 +732,10 @@
|
|
|
732
732
|
switch (tmp) {
|
|
733
733
|
case 0:
|
|
734
734
|
this.s8_1 = 2;
|
|
735
|
-
var tmp0 = this.
|
|
736
|
-
var value = this.
|
|
735
|
+
var tmp0 = this.vdp_1;
|
|
736
|
+
var value = this.xdp_1;
|
|
737
737
|
this.r8_1 = 1;
|
|
738
|
-
suspendResult = tmp0.i24(new ActionsStateUpdate(this.
|
|
738
|
+
suspendResult = tmp0.i24(new ActionsStateUpdate(this.wdp_1.id, value), this);
|
|
739
739
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
740
740
|
return suspendResult;
|
|
741
741
|
}
|
|
@@ -758,8 +758,8 @@
|
|
|
758
758
|
while (true);
|
|
759
759
|
};
|
|
760
760
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).d2j = function (value, completion) {
|
|
761
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.
|
|
762
|
-
i.
|
|
761
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.vdp_1, this.wdp_1, completion);
|
|
762
|
+
i.xdp_1 = value;
|
|
763
763
|
return i;
|
|
764
764
|
};
|
|
765
765
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, $table, resultContinuation) {
|
|
@@ -772,8 +772,8 @@
|
|
|
772
772
|
}
|
|
773
773
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
774
774
|
CoroutineImpl.call(this, resultContinuation);
|
|
775
|
-
this.
|
|
776
|
-
this.
|
|
775
|
+
this.gdq_1 = _this__u8e3s4;
|
|
776
|
+
this.hdq_1 = collector;
|
|
777
777
|
}
|
|
778
778
|
protoOf($collectCOROUTINE$_0).z8 = function () {
|
|
779
779
|
var suspendResult = this.t8_1;
|
|
@@ -783,10 +783,10 @@
|
|
|
783
783
|
switch (tmp) {
|
|
784
784
|
case 0:
|
|
785
785
|
this.s8_1 = 2;
|
|
786
|
-
var $this$unsafeFlow = this.
|
|
786
|
+
var $this$unsafeFlow = this.hdq_1;
|
|
787
787
|
this.r8_1 = 1;
|
|
788
|
-
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
789
|
-
suspendResult = this.
|
|
788
|
+
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.gdq_1.jdq_1, null);
|
|
789
|
+
suspendResult = this.gdq_1.idq_1.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
|
|
790
790
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
791
791
|
return suspendResult;
|
|
792
792
|
}
|
|
@@ -809,8 +809,8 @@
|
|
|
809
809
|
while (true);
|
|
810
810
|
};
|
|
811
811
|
function _no_name_provided__qut3iv($this, $table) {
|
|
812
|
-
this.
|
|
813
|
-
this.
|
|
812
|
+
this.idq_1 = $this;
|
|
813
|
+
this.jdq_1 = $table;
|
|
814
814
|
}
|
|
815
815
|
protoOf(_no_name_provided__qut3iv).j24 = function (collector, $completion) {
|
|
816
816
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
@@ -822,18 +822,18 @@
|
|
|
822
822
|
return this.j24(collector, $completion);
|
|
823
823
|
};
|
|
824
824
|
function GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation) {
|
|
825
|
-
this.
|
|
826
|
-
this.
|
|
825
|
+
this.sdq_1 = $table;
|
|
826
|
+
this.tdq_1 = this$0;
|
|
827
827
|
CoroutineImpl.call(this, resultContinuation);
|
|
828
828
|
}
|
|
829
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
830
|
-
var tmp = this.
|
|
829
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).vdq = function ($this$flow, $completion) {
|
|
830
|
+
var tmp = this.wdq($this$flow, $completion);
|
|
831
831
|
tmp.t8_1 = Unit_instance;
|
|
832
832
|
tmp.u8_1 = null;
|
|
833
833
|
return tmp.z8();
|
|
834
834
|
};
|
|
835
835
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).h9 = function (p1, $completion) {
|
|
836
|
-
return this.
|
|
836
|
+
return this.vdq((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
837
837
|
};
|
|
838
838
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).z8 = function () {
|
|
839
839
|
var suspendResult = this.t8_1;
|
|
@@ -844,7 +844,7 @@
|
|
|
844
844
|
case 0:
|
|
845
845
|
this.s8_1 = 3;
|
|
846
846
|
this.r8_1 = 1;
|
|
847
|
-
suspendResult = this.
|
|
847
|
+
suspendResult = this.udq_1.i24(new TableStateUpdate(this.sdq_1.id, this.sdq_1), this);
|
|
848
848
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
849
849
|
return suspendResult;
|
|
850
850
|
}
|
|
@@ -852,8 +852,8 @@
|
|
|
852
852
|
continue $sm;
|
|
853
853
|
case 1:
|
|
854
854
|
this.r8_1 = 2;
|
|
855
|
-
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.
|
|
856
|
-
suspendResult = emitAll(this.
|
|
855
|
+
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.tdq_1).w94(), fromInt(_get_serverReduxConfig__rprcrm(this.tdq_1).serverStateUpdateIntervalMillis));
|
|
856
|
+
suspendResult = emitAll(this.udq_1, new _no_name_provided__qut3iv(this_0, this.sdq_1), this);
|
|
857
857
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
858
858
|
return suspendResult;
|
|
859
859
|
}
|
|
@@ -875,22 +875,22 @@
|
|
|
875
875
|
}
|
|
876
876
|
while (true);
|
|
877
877
|
};
|
|
878
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
879
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.
|
|
880
|
-
i.
|
|
878
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).wdq = function ($this$flow, completion) {
|
|
879
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.sdq_1, this.tdq_1, completion);
|
|
880
|
+
i.udq_1 = $this$flow;
|
|
881
881
|
return i;
|
|
882
882
|
};
|
|
883
883
|
function GameServer$observeTableStateUpdates$slambda$slambda_0($table, this$0, resultContinuation) {
|
|
884
884
|
var i = new GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation);
|
|
885
885
|
var l = function ($this$flow, $completion) {
|
|
886
|
-
return i.
|
|
886
|
+
return i.vdq($this$flow, $completion);
|
|
887
887
|
};
|
|
888
888
|
l.$arity = 1;
|
|
889
889
|
return l;
|
|
890
890
|
}
|
|
891
891
|
function GameServer$observeTableStateUpdates$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
|
|
892
|
-
this.
|
|
893
|
-
this.
|
|
892
|
+
this.fdr_1 = $$this$unsafeFlow;
|
|
893
|
+
this.gdr_1 = this$0;
|
|
894
894
|
CoroutineImpl.call(this, resultContinuation);
|
|
895
895
|
}
|
|
896
896
|
protoOf(GameServer$observeTableStateUpdates$o$collect$slambda).c2j = function (value, $completion) {
|
|
@@ -911,16 +911,16 @@
|
|
|
911
911
|
case 0:
|
|
912
912
|
this.s8_1 = 5;
|
|
913
913
|
var tmp_0 = this;
|
|
914
|
-
tmp_0.
|
|
914
|
+
tmp_0.ldr_1 = this.fdr_1;
|
|
915
915
|
var tmp_1 = this;
|
|
916
|
-
tmp_1.
|
|
916
|
+
tmp_1.kdr_1 = this.hdr_1;
|
|
917
917
|
this.r8_1 = 1;
|
|
918
918
|
continue $sm;
|
|
919
919
|
case 1:
|
|
920
|
-
this.
|
|
921
|
-
var it = this.
|
|
920
|
+
this.idr_1 = this.ldr_1;
|
|
921
|
+
var it = this.kdr_1;
|
|
922
922
|
var tmp_2;
|
|
923
|
-
if (get_isCreated(this.
|
|
923
|
+
if (get_isCreated(this.gdr_1.i6f())) {
|
|
924
924
|
tmp_2 = it;
|
|
925
925
|
} else {
|
|
926
926
|
tmp_2 = null;
|
|
@@ -932,15 +932,15 @@
|
|
|
932
932
|
var tmp_3 = this;
|
|
933
933
|
continue $sm;
|
|
934
934
|
} else {
|
|
935
|
-
this.
|
|
935
|
+
this.jdr_1 = tmp0_elvis_lhs;
|
|
936
936
|
this.r8_1 = 2;
|
|
937
937
|
continue $sm;
|
|
938
938
|
}
|
|
939
939
|
|
|
940
940
|
case 2:
|
|
941
|
-
var transformed = this.
|
|
941
|
+
var transformed = this.jdr_1;
|
|
942
942
|
this.r8_1 = 3;
|
|
943
|
-
suspendResult = this.
|
|
943
|
+
suspendResult = this.idr_1.i24(transformed, this);
|
|
944
944
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
945
945
|
return suspendResult;
|
|
946
946
|
}
|
|
@@ -971,8 +971,8 @@
|
|
|
971
971
|
while (true);
|
|
972
972
|
};
|
|
973
973
|
protoOf(GameServer$observeTableStateUpdates$o$collect$slambda).d2j = function (value, completion) {
|
|
974
|
-
var i = new GameServer$observeTableStateUpdates$o$collect$slambda(this.
|
|
975
|
-
i.
|
|
974
|
+
var i = new GameServer$observeTableStateUpdates$o$collect$slambda(this.fdr_1, this.gdr_1, completion);
|
|
975
|
+
i.hdr_1 = value;
|
|
976
976
|
return i;
|
|
977
977
|
};
|
|
978
978
|
function GameServer$observeTableStateUpdates$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
@@ -985,8 +985,8 @@
|
|
|
985
985
|
}
|
|
986
986
|
function $collectCOROUTINE$_1(_this__u8e3s4, collector, resultContinuation) {
|
|
987
987
|
CoroutineImpl.call(this, resultContinuation);
|
|
988
|
-
this.
|
|
989
|
-
this.
|
|
988
|
+
this.udr_1 = _this__u8e3s4;
|
|
989
|
+
this.vdr_1 = collector;
|
|
990
990
|
}
|
|
991
991
|
protoOf($collectCOROUTINE$_1).z8 = function () {
|
|
992
992
|
var suspendResult = this.t8_1;
|
|
@@ -996,10 +996,10 @@
|
|
|
996
996
|
switch (tmp) {
|
|
997
997
|
case 0:
|
|
998
998
|
this.s8_1 = 2;
|
|
999
|
-
var $this$unsafeFlow = this.
|
|
999
|
+
var $this$unsafeFlow = this.vdr_1;
|
|
1000
1000
|
this.r8_1 = 1;
|
|
1001
|
-
var tmp_0 = GameServer$observeTableStateUpdates$o$collect$slambda_0($this$unsafeFlow, this.
|
|
1002
|
-
suspendResult = this.
|
|
1001
|
+
var tmp_0 = GameServer$observeTableStateUpdates$o$collect$slambda_0($this$unsafeFlow, this.udr_1.xdr_1, null);
|
|
1002
|
+
suspendResult = this.udr_1.wdr_1.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
|
|
1003
1003
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1004
1004
|
return suspendResult;
|
|
1005
1005
|
}
|
|
@@ -1022,7 +1022,7 @@
|
|
|
1022
1022
|
while (true);
|
|
1023
1023
|
};
|
|
1024
1024
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
1025
|
-
this.
|
|
1025
|
+
this.gds_1 = $$this$unsafeFlow;
|
|
1026
1026
|
CoroutineImpl.call(this, resultContinuation);
|
|
1027
1027
|
}
|
|
1028
1028
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).c2j = function (value, $completion) {
|
|
@@ -1043,28 +1043,28 @@
|
|
|
1043
1043
|
case 0:
|
|
1044
1044
|
this.s8_1 = 5;
|
|
1045
1045
|
var tmp_0 = this;
|
|
1046
|
-
tmp_0.
|
|
1046
|
+
tmp_0.lds_1 = this.gds_1;
|
|
1047
1047
|
var tmp_1 = this;
|
|
1048
|
-
tmp_1.
|
|
1048
|
+
tmp_1.kds_1 = this.hds_1;
|
|
1049
1049
|
this.r8_1 = 1;
|
|
1050
1050
|
continue $sm;
|
|
1051
1051
|
case 1:
|
|
1052
|
-
this.
|
|
1053
|
-
var tmp0_elvis_lhs = this.
|
|
1052
|
+
this.ids_1 = this.lds_1;
|
|
1053
|
+
var tmp0_elvis_lhs = this.kds_1.y6w_1;
|
|
1054
1054
|
if (tmp0_elvis_lhs == null) {
|
|
1055
1055
|
this.r8_1 = 4;
|
|
1056
1056
|
var tmp_2 = this;
|
|
1057
1057
|
continue $sm;
|
|
1058
1058
|
} else {
|
|
1059
|
-
this.
|
|
1059
|
+
this.jds_1 = tmp0_elvis_lhs;
|
|
1060
1060
|
this.r8_1 = 2;
|
|
1061
1061
|
continue $sm;
|
|
1062
1062
|
}
|
|
1063
1063
|
|
|
1064
1064
|
case 2:
|
|
1065
|
-
var transformed = this.
|
|
1065
|
+
var transformed = this.jds_1;
|
|
1066
1066
|
this.r8_1 = 3;
|
|
1067
|
-
suspendResult = this.
|
|
1067
|
+
suspendResult = this.ids_1.i24(transformed, this);
|
|
1068
1068
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1069
1069
|
return suspendResult;
|
|
1070
1070
|
}
|
|
@@ -1095,8 +1095,8 @@
|
|
|
1095
1095
|
while (true);
|
|
1096
1096
|
};
|
|
1097
1097
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).d2j = function (value, completion) {
|
|
1098
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.
|
|
1099
|
-
i.
|
|
1098
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.gds_1, completion);
|
|
1099
|
+
i.hds_1 = value;
|
|
1100
1100
|
return i;
|
|
1101
1101
|
};
|
|
1102
1102
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1109,8 +1109,8 @@
|
|
|
1109
1109
|
}
|
|
1110
1110
|
function $collectCOROUTINE$_2(_this__u8e3s4, collector, resultContinuation) {
|
|
1111
1111
|
CoroutineImpl.call(this, resultContinuation);
|
|
1112
|
-
this.
|
|
1113
|
-
this.
|
|
1112
|
+
this.uds_1 = _this__u8e3s4;
|
|
1113
|
+
this.vds_1 = collector;
|
|
1114
1114
|
}
|
|
1115
1115
|
protoOf($collectCOROUTINE$_2).z8 = function () {
|
|
1116
1116
|
var suspendResult = this.t8_1;
|
|
@@ -1120,10 +1120,10 @@
|
|
|
1120
1120
|
switch (tmp) {
|
|
1121
1121
|
case 0:
|
|
1122
1122
|
this.s8_1 = 2;
|
|
1123
|
-
var $this$unsafeFlow = this.
|
|
1123
|
+
var $this$unsafeFlow = this.vds_1;
|
|
1124
1124
|
this.r8_1 = 1;
|
|
1125
1125
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($this$unsafeFlow, null);
|
|
1126
|
-
suspendResult = this.
|
|
1126
|
+
suspendResult = this.uds_1.wds_1.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1127
1127
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1128
1128
|
return suspendResult;
|
|
1129
1129
|
}
|
|
@@ -1146,7 +1146,7 @@
|
|
|
1146
1146
|
while (true);
|
|
1147
1147
|
};
|
|
1148
1148
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_1($$this$unsafeFlow, resultContinuation) {
|
|
1149
|
-
this.
|
|
1149
|
+
this.fdt_1 = $$this$unsafeFlow;
|
|
1150
1150
|
CoroutineImpl.call(this, resultContinuation);
|
|
1151
1151
|
}
|
|
1152
1152
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).c2j = function (value, $completion) {
|
|
@@ -1166,8 +1166,8 @@
|
|
|
1166
1166
|
switch (tmp) {
|
|
1167
1167
|
case 0:
|
|
1168
1168
|
this.s8_1 = 2;
|
|
1169
|
-
var tmp0 = this.
|
|
1170
|
-
var value = this.
|
|
1169
|
+
var tmp0 = this.fdt_1;
|
|
1170
|
+
var value = this.gdt_1;
|
|
1171
1171
|
this.r8_1 = 1;
|
|
1172
1172
|
suspendResult = tmp0.i24(to(value.gameInfo.roundNumberTotal, value), this);
|
|
1173
1173
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1192,8 +1192,8 @@
|
|
|
1192
1192
|
while (true);
|
|
1193
1193
|
};
|
|
1194
1194
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).d2j = function (value, completion) {
|
|
1195
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.
|
|
1196
|
-
i.
|
|
1195
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.fdt_1, completion);
|
|
1196
|
+
i.gdt_1 = value;
|
|
1197
1197
|
return i;
|
|
1198
1198
|
};
|
|
1199
1199
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1206,8 +1206,8 @@
|
|
|
1206
1206
|
}
|
|
1207
1207
|
function $collectCOROUTINE$_3(_this__u8e3s4, collector, resultContinuation) {
|
|
1208
1208
|
CoroutineImpl.call(this, resultContinuation);
|
|
1209
|
-
this.
|
|
1210
|
-
this.
|
|
1209
|
+
this.pdt_1 = _this__u8e3s4;
|
|
1210
|
+
this.qdt_1 = collector;
|
|
1211
1211
|
}
|
|
1212
1212
|
protoOf($collectCOROUTINE$_3).z8 = function () {
|
|
1213
1213
|
var suspendResult = this.t8_1;
|
|
@@ -1217,10 +1217,10 @@
|
|
|
1217
1217
|
switch (tmp) {
|
|
1218
1218
|
case 0:
|
|
1219
1219
|
this.s8_1 = 2;
|
|
1220
|
-
var $this$unsafeFlow = this.
|
|
1220
|
+
var $this$unsafeFlow = this.qdt_1;
|
|
1221
1221
|
this.r8_1 = 1;
|
|
1222
1222
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($this$unsafeFlow, null);
|
|
1223
|
-
suspendResult = this.
|
|
1223
|
+
suspendResult = this.pdt_1.rdt_1.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1224
1224
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1225
1225
|
return suspendResult;
|
|
1226
1226
|
}
|
|
@@ -1243,7 +1243,7 @@
|
|
|
1243
1243
|
while (true);
|
|
1244
1244
|
};
|
|
1245
1245
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_3($$this$unsafeFlow, resultContinuation) {
|
|
1246
|
-
this.
|
|
1246
|
+
this.adu_1 = $$this$unsafeFlow;
|
|
1247
1247
|
CoroutineImpl.call(this, resultContinuation);
|
|
1248
1248
|
}
|
|
1249
1249
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).c2j = function (value, $completion) {
|
|
@@ -1263,8 +1263,8 @@
|
|
|
1263
1263
|
switch (tmp) {
|
|
1264
1264
|
case 0:
|
|
1265
1265
|
this.s8_1 = 2;
|
|
1266
|
-
var tmp0 = this.
|
|
1267
|
-
var value = this.
|
|
1266
|
+
var tmp0 = this.adu_1;
|
|
1267
|
+
var value = this.bdu_1;
|
|
1268
1268
|
this.r8_1 = 1;
|
|
1269
1269
|
suspendResult = tmp0.i24(value.me_1, this);
|
|
1270
1270
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1289,8 +1289,8 @@
|
|
|
1289
1289
|
while (true);
|
|
1290
1290
|
};
|
|
1291
1291
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).d2j = function (value, completion) {
|
|
1292
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.
|
|
1293
|
-
i.
|
|
1292
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.adu_1, completion);
|
|
1293
|
+
i.bdu_1 = value;
|
|
1294
1294
|
return i;
|
|
1295
1295
|
};
|
|
1296
1296
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1303,8 +1303,8 @@
|
|
|
1303
1303
|
}
|
|
1304
1304
|
function $collectCOROUTINE$_4(_this__u8e3s4, collector, resultContinuation) {
|
|
1305
1305
|
CoroutineImpl.call(this, resultContinuation);
|
|
1306
|
-
this.
|
|
1307
|
-
this.
|
|
1306
|
+
this.kdu_1 = _this__u8e3s4;
|
|
1307
|
+
this.ldu_1 = collector;
|
|
1308
1308
|
}
|
|
1309
1309
|
protoOf($collectCOROUTINE$_4).z8 = function () {
|
|
1310
1310
|
var suspendResult = this.t8_1;
|
|
@@ -1314,10 +1314,10 @@
|
|
|
1314
1314
|
switch (tmp) {
|
|
1315
1315
|
case 0:
|
|
1316
1316
|
this.s8_1 = 2;
|
|
1317
|
-
var $this$unsafeFlow = this.
|
|
1317
|
+
var $this$unsafeFlow = this.ldu_1;
|
|
1318
1318
|
this.r8_1 = 1;
|
|
1319
1319
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($this$unsafeFlow, null);
|
|
1320
|
-
suspendResult = this.
|
|
1320
|
+
suspendResult = this.kdu_1.mdu_1.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1321
1321
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1322
1322
|
return suspendResult;
|
|
1323
1323
|
}
|
|
@@ -1340,17 +1340,17 @@
|
|
|
1340
1340
|
while (true);
|
|
1341
1341
|
};
|
|
1342
1342
|
function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
|
|
1343
|
-
this.
|
|
1343
|
+
this.vdu_1 = $subscriber;
|
|
1344
1344
|
CoroutineImpl.call(this, resultContinuation);
|
|
1345
1345
|
}
|
|
1346
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1347
|
-
var tmp = this.
|
|
1346
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).xdu = function (it, $completion) {
|
|
1347
|
+
var tmp = this.ydu(it, $completion);
|
|
1348
1348
|
tmp.t8_1 = Unit_instance;
|
|
1349
1349
|
tmp.u8_1 = null;
|
|
1350
1350
|
return tmp.z8();
|
|
1351
1351
|
};
|
|
1352
1352
|
protoOf(GameServer$subscribeWith$slambda$slambda).h9 = function (p1, $completion) {
|
|
1353
|
-
return this.
|
|
1353
|
+
return this.xdu(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
|
|
1354
1354
|
};
|
|
1355
1355
|
protoOf(GameServer$subscribeWith$slambda$slambda).z8 = function () {
|
|
1356
1356
|
var suspendResult = this.t8_1;
|
|
@@ -1359,7 +1359,7 @@
|
|
|
1359
1359
|
var tmp = this.r8_1;
|
|
1360
1360
|
if (tmp === 0) {
|
|
1361
1361
|
this.s8_1 = 1;
|
|
1362
|
-
this.
|
|
1362
|
+
this.vdu_1(this.wdu_1);
|
|
1363
1363
|
return Unit_instance;
|
|
1364
1364
|
} else if (tmp === 1) {
|
|
1365
1365
|
throw this.u8_1;
|
|
@@ -1370,76 +1370,76 @@
|
|
|
1370
1370
|
}
|
|
1371
1371
|
while (true);
|
|
1372
1372
|
};
|
|
1373
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1374
|
-
var i = new GameServer$subscribeWith$slambda$slambda(this.
|
|
1375
|
-
i.
|
|
1373
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).ydu = function (it, completion) {
|
|
1374
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.vdu_1, completion);
|
|
1375
|
+
i.wdu_1 = it;
|
|
1376
1376
|
return i;
|
|
1377
1377
|
};
|
|
1378
1378
|
function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
|
|
1379
1379
|
var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
|
|
1380
1380
|
var l = function (it, $completion) {
|
|
1381
|
-
return i.
|
|
1381
|
+
return i.xdu(it, $completion);
|
|
1382
1382
|
};
|
|
1383
1383
|
l.$arity = 1;
|
|
1384
1384
|
return l;
|
|
1385
1385
|
}
|
|
1386
1386
|
function GameServer$roomOnCreate$2$updatedUsers$previousTeams$1($playerId) {
|
|
1387
|
-
this.
|
|
1387
|
+
this.zdu_1 = $playerId;
|
|
1388
1388
|
}
|
|
1389
1389
|
protoOf(GameServer$roomOnCreate$2$updatedUsers$previousTeams$1).h6e = function () {
|
|
1390
|
-
return this.
|
|
1390
|
+
return this.zdu_1;
|
|
1391
1391
|
};
|
|
1392
1392
|
function _get_toClientEventsObserver__6rp51y($this) {
|
|
1393
|
-
var tmp0 = $this.
|
|
1393
|
+
var tmp0 = $this.edv_1;
|
|
1394
1394
|
var tmp = KProperty1;
|
|
1395
1395
|
// Inline function 'kotlin.getValue' call
|
|
1396
1396
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, GameServer$_get_toClientEventsObserver_$ref_utir8s_0(), null);
|
|
1397
1397
|
return tmp0.w();
|
|
1398
1398
|
}
|
|
1399
1399
|
function _get_fromClientEventsObserver__a7vzd3($this) {
|
|
1400
|
-
var tmp0 = $this.
|
|
1400
|
+
var tmp0 = $this.fdv_1;
|
|
1401
1401
|
var tmp = KProperty1;
|
|
1402
1402
|
// Inline function 'kotlin.getValue' call
|
|
1403
1403
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, GameServer$_get_fromClientEventsObserver_$ref_nf1g79_0(), null);
|
|
1404
1404
|
return tmp0.w();
|
|
1405
1405
|
}
|
|
1406
1406
|
function _get_playerConnectionInteractor__si6cxf($this) {
|
|
1407
|
-
var tmp0 = $this.
|
|
1407
|
+
var tmp0 = $this.gdv_1;
|
|
1408
1408
|
var tmp = KProperty1;
|
|
1409
1409
|
// Inline function 'kotlin.getValue' call
|
|
1410
1410
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, GameServer$_get_playerConnectionInteractor_$ref_of8tan_0(), null);
|
|
1411
1411
|
return tmp0.w();
|
|
1412
1412
|
}
|
|
1413
1413
|
function _get_teamsLogicProvider__u10pm6($this) {
|
|
1414
|
-
var tmp0 = $this.
|
|
1414
|
+
var tmp0 = $this.hdv_1;
|
|
1415
1415
|
var tmp = KProperty1;
|
|
1416
1416
|
// Inline function 'kotlin.getValue' call
|
|
1417
1417
|
getPropertyCallableRef('teamsLogicProvider', 1, tmp, GameServer$_get_teamsLogicProvider_$ref_b7y54g_0(), null);
|
|
1418
1418
|
return tmp0.w();
|
|
1419
1419
|
}
|
|
1420
1420
|
function _get_random__h29cgo($this) {
|
|
1421
|
-
var tmp0 = $this.
|
|
1421
|
+
var tmp0 = $this.idv_1;
|
|
1422
1422
|
var tmp = KProperty1;
|
|
1423
1423
|
// Inline function 'kotlin.getValue' call
|
|
1424
1424
|
getPropertyCallableRef('random', 1, tmp, GameServer$_get_random_$ref_fottnq(), null);
|
|
1425
1425
|
return tmp0.w();
|
|
1426
1426
|
}
|
|
1427
1427
|
function _get_idsProvider__fnfajc($this) {
|
|
1428
|
-
var tmp0 = $this.
|
|
1428
|
+
var tmp0 = $this.jdv_1;
|
|
1429
1429
|
var tmp = KProperty1;
|
|
1430
1430
|
// Inline function 'kotlin.getValue' call
|
|
1431
1431
|
getPropertyCallableRef('idsProvider', 1, tmp, GameServer$_get_idsProvider_$ref_89s908_0(), null);
|
|
1432
1432
|
return tmp0.w();
|
|
1433
1433
|
}
|
|
1434
1434
|
function _get_serverReduxConfig__rprcrm($this) {
|
|
1435
|
-
var tmp0 = $this.
|
|
1435
|
+
var tmp0 = $this.kdv_1;
|
|
1436
1436
|
var tmp = KProperty1;
|
|
1437
1437
|
// Inline function 'kotlin.getValue' call
|
|
1438
1438
|
getPropertyCallableRef('serverReduxConfig', 1, tmp, GameServer$_get_serverReduxConfig_$ref_7h6jq6_0(), null);
|
|
1439
1439
|
return tmp0.w();
|
|
1440
1440
|
}
|
|
1441
1441
|
function _get_encoderDecoderProvider__qqgrji($this) {
|
|
1442
|
-
var tmp0 = $this.
|
|
1442
|
+
var tmp0 = $this.ldv_1;
|
|
1443
1443
|
var tmp = KProperty1;
|
|
1444
1444
|
// Inline function 'kotlin.getValue' call
|
|
1445
1445
|
getPropertyCallableRef('encoderDecoderProvider', 1, tmp, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8_0(), null);
|
|
@@ -1471,20 +1471,20 @@
|
|
|
1471
1471
|
return new GameServer$observeTableWhenRoundChanges$$inlined$map$2(this_1);
|
|
1472
1472
|
}
|
|
1473
1473
|
function Companion() {
|
|
1474
|
-
this.
|
|
1474
|
+
this.ndv_1 = 'GameEngine_API';
|
|
1475
1475
|
}
|
|
1476
1476
|
var Companion_instance_7;
|
|
1477
1477
|
function Companion_getInstance_0() {
|
|
1478
1478
|
return Companion_instance_7;
|
|
1479
1479
|
}
|
|
1480
1480
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
1481
|
-
this.
|
|
1481
|
+
this.odv_1 = function_0;
|
|
1482
1482
|
}
|
|
1483
1483
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).i24 = function (value, $completion) {
|
|
1484
|
-
return this.
|
|
1484
|
+
return this.odv_1(value, $completion);
|
|
1485
1485
|
};
|
|
1486
1486
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).a3 = function () {
|
|
1487
|
-
return this.
|
|
1487
|
+
return this.odv_1;
|
|
1488
1488
|
};
|
|
1489
1489
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
1490
1490
|
var tmp;
|
|
@@ -1505,13 +1505,13 @@
|
|
|
1505
1505
|
return hashCode(this.a3());
|
|
1506
1506
|
};
|
|
1507
1507
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
1508
|
-
this.
|
|
1508
|
+
this.pdv_1 = function_0;
|
|
1509
1509
|
}
|
|
1510
1510
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).i24 = function (value, $completion) {
|
|
1511
|
-
return this.
|
|
1511
|
+
return this.pdv_1(value, $completion);
|
|
1512
1512
|
};
|
|
1513
1513
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).a3 = function () {
|
|
1514
|
-
return this.
|
|
1514
|
+
return this.pdv_1;
|
|
1515
1515
|
};
|
|
1516
1516
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
1517
1517
|
var tmp;
|
|
@@ -1532,13 +1532,13 @@
|
|
|
1532
1532
|
return hashCode(this.a3());
|
|
1533
1533
|
};
|
|
1534
1534
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
|
|
1535
|
-
this.
|
|
1535
|
+
this.qdv_1 = function_0;
|
|
1536
1536
|
}
|
|
1537
1537
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).i24 = function (value, $completion) {
|
|
1538
|
-
return this.
|
|
1538
|
+
return this.qdv_1(value, $completion);
|
|
1539
1539
|
};
|
|
1540
1540
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).a3 = function () {
|
|
1541
|
-
return this.
|
|
1541
|
+
return this.qdv_1;
|
|
1542
1542
|
};
|
|
1543
1543
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
|
|
1544
1544
|
var tmp;
|
|
@@ -1559,13 +1559,13 @@
|
|
|
1559
1559
|
return hashCode(this.a3());
|
|
1560
1560
|
};
|
|
1561
1561
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
|
|
1562
|
-
this.
|
|
1562
|
+
this.rdv_1 = function_0;
|
|
1563
1563
|
}
|
|
1564
1564
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).i24 = function (value, $completion) {
|
|
1565
|
-
return this.
|
|
1565
|
+
return this.rdv_1(value, $completion);
|
|
1566
1566
|
};
|
|
1567
1567
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).a3 = function () {
|
|
1568
|
-
return this.
|
|
1568
|
+
return this.rdv_1;
|
|
1569
1569
|
};
|
|
1570
1570
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
|
|
1571
1571
|
var tmp;
|
|
@@ -1586,13 +1586,13 @@
|
|
|
1586
1586
|
return hashCode(this.a3());
|
|
1587
1587
|
};
|
|
1588
1588
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_3(function_0) {
|
|
1589
|
-
this.
|
|
1589
|
+
this.sdv_1 = function_0;
|
|
1590
1590
|
}
|
|
1591
1591
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).i24 = function (value, $completion) {
|
|
1592
|
-
return this.
|
|
1592
|
+
return this.sdv_1(value, $completion);
|
|
1593
1593
|
};
|
|
1594
1594
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).a3 = function () {
|
|
1595
|
-
return this.
|
|
1595
|
+
return this.sdv_1;
|
|
1596
1596
|
};
|
|
1597
1597
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).equals = function (other) {
|
|
1598
1598
|
var tmp;
|
|
@@ -1613,13 +1613,13 @@
|
|
|
1613
1613
|
return hashCode(this.a3());
|
|
1614
1614
|
};
|
|
1615
1615
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_4(function_0) {
|
|
1616
|
-
this.
|
|
1616
|
+
this.tdv_1 = function_0;
|
|
1617
1617
|
}
|
|
1618
1618
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).i24 = function (value, $completion) {
|
|
1619
|
-
return this.
|
|
1619
|
+
return this.tdv_1(value, $completion);
|
|
1620
1620
|
};
|
|
1621
1621
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).a3 = function () {
|
|
1622
|
-
return this.
|
|
1622
|
+
return this.tdv_1;
|
|
1623
1623
|
};
|
|
1624
1624
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).equals = function (other) {
|
|
1625
1625
|
var tmp;
|
|
@@ -1720,8 +1720,8 @@
|
|
|
1720
1720
|
};
|
|
1721
1721
|
}
|
|
1722
1722
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
1723
|
-
this.
|
|
1724
|
-
this.
|
|
1723
|
+
this.cdw_1 = this$0;
|
|
1724
|
+
this.ddw_1 = $subscriber;
|
|
1725
1725
|
CoroutineImpl.call(this, resultContinuation);
|
|
1726
1726
|
}
|
|
1727
1727
|
protoOf(GameServer$subscribeToClientAction$slambda).j29 = function ($this$launchDefault, $completion) {
|
|
@@ -1742,8 +1742,8 @@
|
|
|
1742
1742
|
case 0:
|
|
1743
1743
|
this.s8_1 = 2;
|
|
1744
1744
|
this.r8_1 = 1;
|
|
1745
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
1746
|
-
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.
|
|
1745
|
+
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.cdw_1).bay();
|
|
1746
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.ddw_1, null);
|
|
1747
1747
|
suspendResult = tmp_0.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
1748
1748
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1749
1749
|
return suspendResult;
|
|
@@ -1767,8 +1767,8 @@
|
|
|
1767
1767
|
while (true);
|
|
1768
1768
|
};
|
|
1769
1769
|
protoOf(GameServer$subscribeToClientAction$slambda).k29 = function ($this$launchDefault, completion) {
|
|
1770
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
1771
|
-
i.
|
|
1770
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.cdw_1, this.ddw_1, completion);
|
|
1771
|
+
i.edw_1 = $this$launchDefault;
|
|
1772
1772
|
return i;
|
|
1773
1773
|
};
|
|
1774
1774
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1780,8 +1780,8 @@
|
|
|
1780
1780
|
return l;
|
|
1781
1781
|
}
|
|
1782
1782
|
function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
|
|
1783
|
-
this.
|
|
1784
|
-
this.
|
|
1783
|
+
this.ndw_1 = this$0;
|
|
1784
|
+
this.odw_1 = $subscriber;
|
|
1785
1785
|
CoroutineImpl.call(this, resultContinuation);
|
|
1786
1786
|
}
|
|
1787
1787
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).j29 = function ($this$launchDefault, $completion) {
|
|
@@ -1802,8 +1802,8 @@
|
|
|
1802
1802
|
case 0:
|
|
1803
1803
|
this.s8_1 = 2;
|
|
1804
1804
|
this.r8_1 = 1;
|
|
1805
|
-
var tmp_0 = observeTableStateUpdates(this.
|
|
1806
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.
|
|
1805
|
+
var tmp_0 = observeTableStateUpdates(this.ndw_1);
|
|
1806
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.odw_1, null);
|
|
1807
1807
|
suspendResult = tmp_0.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
1808
1808
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1809
1809
|
return suspendResult;
|
|
@@ -1827,8 +1827,8 @@
|
|
|
1827
1827
|
while (true);
|
|
1828
1828
|
};
|
|
1829
1829
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).k29 = function ($this$launchDefault, completion) {
|
|
1830
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda(this.
|
|
1831
|
-
i.
|
|
1830
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda(this.ndw_1, this.odw_1, completion);
|
|
1831
|
+
i.pdw_1 = $this$launchDefault;
|
|
1832
1832
|
return i;
|
|
1833
1833
|
};
|
|
1834
1834
|
function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1840,8 +1840,8 @@
|
|
|
1840
1840
|
return l;
|
|
1841
1841
|
}
|
|
1842
1842
|
function GameServer$subscribeServerStateUpdateJson$slambda(this$0, $subscriber, resultContinuation) {
|
|
1843
|
-
this.
|
|
1844
|
-
this.
|
|
1843
|
+
this.ydw_1 = this$0;
|
|
1844
|
+
this.zdw_1 = $subscriber;
|
|
1845
1845
|
CoroutineImpl.call(this, resultContinuation);
|
|
1846
1846
|
}
|
|
1847
1847
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).j29 = function ($this$launchDefault, $completion) {
|
|
@@ -1862,9 +1862,9 @@
|
|
|
1862
1862
|
case 0:
|
|
1863
1863
|
this.s8_1 = 2;
|
|
1864
1864
|
this.r8_1 = 1;
|
|
1865
|
-
var this_0 = observeTableStateUpdates(this.
|
|
1866
|
-
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.
|
|
1867
|
-
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.
|
|
1865
|
+
var this_0 = observeTableStateUpdates(this.ydw_1);
|
|
1866
|
+
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.ydw_1);
|
|
1867
|
+
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.zdw_1, null);
|
|
1868
1868
|
suspendResult = tmp_0.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
1869
1869
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1870
1870
|
return suspendResult;
|
|
@@ -1888,8 +1888,8 @@
|
|
|
1888
1888
|
while (true);
|
|
1889
1889
|
};
|
|
1890
1890
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).k29 = function ($this$launchDefault, completion) {
|
|
1891
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.
|
|
1892
|
-
i.
|
|
1891
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.ydw_1, this.zdw_1, completion);
|
|
1892
|
+
i.adx_1 = $this$launchDefault;
|
|
1893
1893
|
return i;
|
|
1894
1894
|
};
|
|
1895
1895
|
function GameServer$subscribeServerStateUpdateJson$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1901,18 +1901,18 @@
|
|
|
1901
1901
|
return l;
|
|
1902
1902
|
}
|
|
1903
1903
|
function GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation) {
|
|
1904
|
-
this.
|
|
1904
|
+
this.jdx_1 = this$0;
|
|
1905
1905
|
CoroutineImpl.call(this, resultContinuation);
|
|
1906
1906
|
}
|
|
1907
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
1908
|
-
var tmp = this.
|
|
1907
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).mc7 = function ($this$transformLatest, it, $completion) {
|
|
1908
|
+
var tmp = this.nc7($this$transformLatest, it, $completion);
|
|
1909
1909
|
tmp.t8_1 = Unit_instance;
|
|
1910
1910
|
tmp.u8_1 = null;
|
|
1911
1911
|
return tmp.z8();
|
|
1912
1912
|
};
|
|
1913
1913
|
protoOf(GameServer$observeTableStateUpdates$slambda).i9 = function (p1, p2, $completion) {
|
|
1914
1914
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
1915
|
-
return this.
|
|
1915
|
+
return this.mc7(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
1916
1916
|
};
|
|
1917
1917
|
protoOf(GameServer$observeTableStateUpdates$slambda).z8 = function () {
|
|
1918
1918
|
var suspendResult = this.t8_1;
|
|
@@ -1923,8 +1923,8 @@
|
|
|
1923
1923
|
case 0:
|
|
1924
1924
|
this.s8_1 = 2;
|
|
1925
1925
|
this.r8_1 = 1;
|
|
1926
|
-
var table = this.
|
|
1927
|
-
suspendResult = emitAll(this.
|
|
1926
|
+
var table = this.ldx_1;
|
|
1927
|
+
suspendResult = emitAll(this.kdx_1, flow(GameServer$observeTableStateUpdates$slambda$slambda_0(table, this.jdx_1, null)), this);
|
|
1928
1928
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1929
1929
|
return suspendResult;
|
|
1930
1930
|
}
|
|
@@ -1946,23 +1946,23 @@
|
|
|
1946
1946
|
}
|
|
1947
1947
|
while (true);
|
|
1948
1948
|
};
|
|
1949
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
1950
|
-
var i = new GameServer$observeTableStateUpdates$slambda(this.
|
|
1951
|
-
i.
|
|
1952
|
-
i.
|
|
1949
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).nc7 = function ($this$transformLatest, it, completion) {
|
|
1950
|
+
var i = new GameServer$observeTableStateUpdates$slambda(this.jdx_1, completion);
|
|
1951
|
+
i.kdx_1 = $this$transformLatest;
|
|
1952
|
+
i.ldx_1 = it;
|
|
1953
1953
|
return i;
|
|
1954
1954
|
};
|
|
1955
1955
|
function GameServer$observeTableStateUpdates$slambda_0(this$0, resultContinuation) {
|
|
1956
1956
|
var i = new GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation);
|
|
1957
1957
|
var l = function ($this$transformLatest, it, $completion) {
|
|
1958
|
-
return i.
|
|
1958
|
+
return i.mc7($this$transformLatest, it, $completion);
|
|
1959
1959
|
};
|
|
1960
1960
|
l.$arity = 2;
|
|
1961
1961
|
return l;
|
|
1962
1962
|
}
|
|
1963
1963
|
function GameServer$observeTableStateUpdates$$inlined$mapNotNull$1($this, this$0) {
|
|
1964
|
-
this.
|
|
1965
|
-
this.
|
|
1964
|
+
this.wdr_1 = $this;
|
|
1965
|
+
this.xdr_1 = this$0;
|
|
1966
1966
|
}
|
|
1967
1967
|
protoOf(GameServer$observeTableStateUpdates$$inlined$mapNotNull$1).j24 = function (collector, $completion) {
|
|
1968
1968
|
var tmp = new $collectCOROUTINE$_1(this, collector, $completion);
|
|
@@ -1974,7 +1974,7 @@
|
|
|
1974
1974
|
return this.j24(collector, $completion);
|
|
1975
1975
|
};
|
|
1976
1976
|
function GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1($this) {
|
|
1977
|
-
this.
|
|
1977
|
+
this.wds_1 = $this;
|
|
1978
1978
|
}
|
|
1979
1979
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1).j24 = function (collector, $completion) {
|
|
1980
1980
|
var tmp = new $collectCOROUTINE$_2(this, collector, $completion);
|
|
@@ -1986,7 +1986,7 @@
|
|
|
1986
1986
|
return this.j24(collector, $completion);
|
|
1987
1987
|
};
|
|
1988
1988
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$1($this) {
|
|
1989
|
-
this.
|
|
1989
|
+
this.rdt_1 = $this;
|
|
1990
1990
|
}
|
|
1991
1991
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$1).j24 = function (collector, $completion) {
|
|
1992
1992
|
var tmp = new $collectCOROUTINE$_3(this, collector, $completion);
|
|
@@ -2001,7 +2001,7 @@
|
|
|
2001
2001
|
return old.le_1 === new_0.le_1;
|
|
2002
2002
|
}
|
|
2003
2003
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$2($this) {
|
|
2004
|
-
this.
|
|
2004
|
+
this.mdu_1 = $this;
|
|
2005
2005
|
}
|
|
2006
2006
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$2).j24 = function (collector, $completion) {
|
|
2007
2007
|
var tmp = new $collectCOROUTINE$_4(this, collector, $completion);
|
|
@@ -2013,8 +2013,8 @@
|
|
|
2013
2013
|
return this.j24(collector, $completion);
|
|
2014
2014
|
};
|
|
2015
2015
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
2016
|
-
this.
|
|
2017
|
-
this.
|
|
2016
|
+
this.udx_1 = this$0;
|
|
2017
|
+
this.vdx_1 = $subscriber;
|
|
2018
2018
|
CoroutineImpl.call(this, resultContinuation);
|
|
2019
2019
|
}
|
|
2020
2020
|
protoOf(GameServer$subscribeWith$slambda).j29 = function ($this$launchDefault, $completion) {
|
|
@@ -2035,8 +2035,8 @@
|
|
|
2035
2035
|
case 0:
|
|
2036
2036
|
this.s8_1 = 2;
|
|
2037
2037
|
this.r8_1 = 1;
|
|
2038
|
-
var tmp_0 = distinctUntilChanged(this.
|
|
2039
|
-
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.
|
|
2038
|
+
var tmp_0 = distinctUntilChanged(this.udx_1.x6w());
|
|
2039
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.vdx_1, null);
|
|
2040
2040
|
suspendResult = tmp_0.f23(new sam$kotlinx_coroutines_flow_FlowCollector$0_4(tmp_1), this);
|
|
2041
2041
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2042
2042
|
return suspendResult;
|
|
@@ -2060,8 +2060,8 @@
|
|
|
2060
2060
|
while (true);
|
|
2061
2061
|
};
|
|
2062
2062
|
protoOf(GameServer$subscribeWith$slambda).k29 = function ($this$launchDefault, completion) {
|
|
2063
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
2064
|
-
i.
|
|
2063
|
+
var i = new GameServer$subscribeWith$slambda(this.udx_1, this.vdx_1, completion);
|
|
2064
|
+
i.wdx_1 = $this$launchDefault;
|
|
2065
2065
|
return i;
|
|
2066
2066
|
};
|
|
2067
2067
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -2073,18 +2073,18 @@
|
|
|
2073
2073
|
return l;
|
|
2074
2074
|
}
|
|
2075
2075
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
2076
|
-
this.
|
|
2076
|
+
this.fdy_1 = $action;
|
|
2077
2077
|
CoroutineImpl.call(this, resultContinuation);
|
|
2078
2078
|
}
|
|
2079
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
2080
|
-
var tmp = this.
|
|
2079
|
+
protoOf(GameServer$fromClientEvent$slambda).dbg = function ($this$dispatchAsync, store, $completion) {
|
|
2080
|
+
var tmp = this.ebg($this$dispatchAsync, store, $completion);
|
|
2081
2081
|
tmp.t8_1 = Unit_instance;
|
|
2082
2082
|
tmp.u8_1 = null;
|
|
2083
2083
|
return tmp.z8();
|
|
2084
2084
|
};
|
|
2085
2085
|
protoOf(GameServer$fromClientEvent$slambda).i9 = function (p1, p2, $completion) {
|
|
2086
2086
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2087
|
-
return this.
|
|
2087
|
+
return this.dbg(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2088
2088
|
};
|
|
2089
2089
|
protoOf(GameServer$fromClientEvent$slambda).z8 = function () {
|
|
2090
2090
|
var suspendResult = this.t8_1;
|
|
@@ -2093,11 +2093,11 @@
|
|
|
2093
2093
|
var tmp = this.r8_1;
|
|
2094
2094
|
if (tmp === 0) {
|
|
2095
2095
|
this.s8_1 = 1;
|
|
2096
|
-
if (this.
|
|
2097
|
-
if (!get_isCreated(this.
|
|
2096
|
+
if (this.fdy_1 instanceof PlayerReadyFromClientAction)
|
|
2097
|
+
if (!get_isCreated(this.hdy_1.state)) {
|
|
2098
2098
|
return Unit_instance;
|
|
2099
2099
|
}
|
|
2100
|
-
this.
|
|
2100
|
+
this.hdy_1.dispatch(this.fdy_1);
|
|
2101
2101
|
return Unit_instance;
|
|
2102
2102
|
} else if (tmp === 1) {
|
|
2103
2103
|
throw this.u8_1;
|
|
@@ -2108,33 +2108,33 @@
|
|
|
2108
2108
|
}
|
|
2109
2109
|
while (true);
|
|
2110
2110
|
};
|
|
2111
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
2112
|
-
var i = new GameServer$fromClientEvent$slambda(this.
|
|
2113
|
-
i.
|
|
2114
|
-
i.
|
|
2111
|
+
protoOf(GameServer$fromClientEvent$slambda).ebg = function ($this$dispatchAsync, store, completion) {
|
|
2112
|
+
var i = new GameServer$fromClientEvent$slambda(this.fdy_1, completion);
|
|
2113
|
+
i.gdy_1 = $this$dispatchAsync;
|
|
2114
|
+
i.hdy_1 = store;
|
|
2115
2115
|
return i;
|
|
2116
2116
|
};
|
|
2117
2117
|
function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
|
|
2118
2118
|
var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
|
|
2119
2119
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2120
|
-
return i.
|
|
2120
|
+
return i.dbg($this$dispatchAsync, store, $completion);
|
|
2121
2121
|
};
|
|
2122
2122
|
l.$arity = 2;
|
|
2123
2123
|
return l;
|
|
2124
2124
|
}
|
|
2125
2125
|
function GameServer$playerLostConnection$slambda($playerId, resultContinuation) {
|
|
2126
|
-
this.
|
|
2126
|
+
this.qdy_1 = $playerId;
|
|
2127
2127
|
CoroutineImpl.call(this, resultContinuation);
|
|
2128
2128
|
}
|
|
2129
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2130
|
-
var tmp = this.
|
|
2129
|
+
protoOf(GameServer$playerLostConnection$slambda).dbg = function ($this$dispatchAsync, store, $completion) {
|
|
2130
|
+
var tmp = this.ebg($this$dispatchAsync, store, $completion);
|
|
2131
2131
|
tmp.t8_1 = Unit_instance;
|
|
2132
2132
|
tmp.u8_1 = null;
|
|
2133
2133
|
return tmp.z8();
|
|
2134
2134
|
};
|
|
2135
2135
|
protoOf(GameServer$playerLostConnection$slambda).i9 = function (p1, p2, $completion) {
|
|
2136
2136
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2137
|
-
return this.
|
|
2137
|
+
return this.dbg(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2138
2138
|
};
|
|
2139
2139
|
protoOf(GameServer$playerLostConnection$slambda).z8 = function () {
|
|
2140
2140
|
var suspendResult = this.t8_1;
|
|
@@ -2143,12 +2143,12 @@
|
|
|
2143
2143
|
var tmp = this.r8_1;
|
|
2144
2144
|
if (tmp === 0) {
|
|
2145
2145
|
this.s8_1 = 1;
|
|
2146
|
-
if (!get_isCreated(this.
|
|
2146
|
+
if (!get_isCreated(this.sdy_1.state)) {
|
|
2147
2147
|
return Unit_instance;
|
|
2148
2148
|
}
|
|
2149
|
-
var tmp_0 = this.
|
|
2149
|
+
var tmp_0 = this.sdy_1.dispatch;
|
|
2150
2150
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
2151
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2151
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.qdy_1));
|
|
2152
2152
|
return Unit_instance;
|
|
2153
2153
|
} else if (tmp === 1) {
|
|
2154
2154
|
throw this.u8_1;
|
|
@@ -2159,34 +2159,34 @@
|
|
|
2159
2159
|
}
|
|
2160
2160
|
while (true);
|
|
2161
2161
|
};
|
|
2162
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2163
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
2164
|
-
i.
|
|
2165
|
-
i.
|
|
2162
|
+
protoOf(GameServer$playerLostConnection$slambda).ebg = function ($this$dispatchAsync, store, completion) {
|
|
2163
|
+
var i = new GameServer$playerLostConnection$slambda(this.qdy_1, completion);
|
|
2164
|
+
i.rdy_1 = $this$dispatchAsync;
|
|
2165
|
+
i.sdy_1 = store;
|
|
2166
2166
|
return i;
|
|
2167
2167
|
};
|
|
2168
2168
|
function GameServer$playerLostConnection$slambda_0($playerId, resultContinuation) {
|
|
2169
2169
|
var i = new GameServer$playerLostConnection$slambda($playerId, resultContinuation);
|
|
2170
2170
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2171
|
-
return i.
|
|
2171
|
+
return i.dbg($this$dispatchAsync, store, $completion);
|
|
2172
2172
|
};
|
|
2173
2173
|
l.$arity = 2;
|
|
2174
2174
|
return l;
|
|
2175
2175
|
}
|
|
2176
2176
|
function GameServer$playerLive$slambda(this$0, $playerId, resultContinuation) {
|
|
2177
|
-
this.
|
|
2178
|
-
this.
|
|
2177
|
+
this.bdz_1 = this$0;
|
|
2178
|
+
this.cdz_1 = $playerId;
|
|
2179
2179
|
CoroutineImpl.call(this, resultContinuation);
|
|
2180
2180
|
}
|
|
2181
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2182
|
-
var tmp = this.
|
|
2181
|
+
protoOf(GameServer$playerLive$slambda).dbg = function ($this$dispatchAsync, store, $completion) {
|
|
2182
|
+
var tmp = this.ebg($this$dispatchAsync, store, $completion);
|
|
2183
2183
|
tmp.t8_1 = Unit_instance;
|
|
2184
2184
|
tmp.u8_1 = null;
|
|
2185
2185
|
return tmp.z8();
|
|
2186
2186
|
};
|
|
2187
2187
|
protoOf(GameServer$playerLive$slambda).i9 = function (p1, p2, $completion) {
|
|
2188
2188
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2189
|
-
return this.
|
|
2189
|
+
return this.dbg(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2190
2190
|
};
|
|
2191
2191
|
protoOf(GameServer$playerLive$slambda).z8 = function () {
|
|
2192
2192
|
var suspendResult = this.t8_1;
|
|
@@ -2195,16 +2195,16 @@
|
|
|
2195
2195
|
var tmp = this.r8_1;
|
|
2196
2196
|
if (tmp === 0) {
|
|
2197
2197
|
this.s8_1 = 1;
|
|
2198
|
-
if (get_isFinished(this.
|
|
2198
|
+
if (get_isFinished(this.edz_1.state) || get_isFinishing(this.edz_1.state)) {
|
|
2199
2199
|
return Unit_instance;
|
|
2200
2200
|
}
|
|
2201
|
-
if (!get_isCreated(this.
|
|
2202
|
-
this.
|
|
2201
|
+
if (!get_isCreated(this.edz_1.state) || !this.bdz_1.i6f().a6y()) {
|
|
2202
|
+
this.bdz_1.b56().v('GameEngine_API', 'playerLive: ' + this.cdz_1 + ' before game is created');
|
|
2203
2203
|
return Unit_instance;
|
|
2204
2204
|
}
|
|
2205
|
-
var tmp_0 = this.
|
|
2205
|
+
var tmp_0 = this.edz_1.dispatch;
|
|
2206
2206
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2207
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2207
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.cdz_1));
|
|
2208
2208
|
return Unit_instance;
|
|
2209
2209
|
} else if (tmp === 1) {
|
|
2210
2210
|
throw this.u8_1;
|
|
@@ -2215,34 +2215,34 @@
|
|
|
2215
2215
|
}
|
|
2216
2216
|
while (true);
|
|
2217
2217
|
};
|
|
2218
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2219
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
2220
|
-
i.
|
|
2221
|
-
i.
|
|
2218
|
+
protoOf(GameServer$playerLive$slambda).ebg = function ($this$dispatchAsync, store, completion) {
|
|
2219
|
+
var i = new GameServer$playerLive$slambda(this.bdz_1, this.cdz_1, completion);
|
|
2220
|
+
i.ddz_1 = $this$dispatchAsync;
|
|
2221
|
+
i.edz_1 = store;
|
|
2222
2222
|
return i;
|
|
2223
2223
|
};
|
|
2224
2224
|
function GameServer$playerLive$slambda_0(this$0, $playerId, resultContinuation) {
|
|
2225
2225
|
var i = new GameServer$playerLive$slambda(this$0, $playerId, resultContinuation);
|
|
2226
2226
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2227
|
-
return i.
|
|
2227
|
+
return i.dbg($this$dispatchAsync, store, $completion);
|
|
2228
2228
|
};
|
|
2229
2229
|
l.$arity = 2;
|
|
2230
2230
|
return l;
|
|
2231
2231
|
}
|
|
2232
2232
|
function GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation) {
|
|
2233
|
-
this.
|
|
2234
|
-
this.
|
|
2233
|
+
this.ndz_1 = this$0;
|
|
2234
|
+
this.odz_1 = $playerId;
|
|
2235
2235
|
CoroutineImpl.call(this, resultContinuation);
|
|
2236
2236
|
}
|
|
2237
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2238
|
-
var tmp = this.
|
|
2237
|
+
protoOf(GameServer$playerLeft$slambda).dbg = function ($this$dispatchAsync, store, $completion) {
|
|
2238
|
+
var tmp = this.ebg($this$dispatchAsync, store, $completion);
|
|
2239
2239
|
tmp.t8_1 = Unit_instance;
|
|
2240
2240
|
tmp.u8_1 = null;
|
|
2241
2241
|
return tmp.z8();
|
|
2242
2242
|
};
|
|
2243
2243
|
protoOf(GameServer$playerLeft$slambda).i9 = function (p1, p2, $completion) {
|
|
2244
2244
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2245
|
-
return this.
|
|
2245
|
+
return this.dbg(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2246
2246
|
};
|
|
2247
2247
|
protoOf(GameServer$playerLeft$slambda).z8 = function () {
|
|
2248
2248
|
var suspendResult = this.t8_1;
|
|
@@ -2251,16 +2251,16 @@
|
|
|
2251
2251
|
var tmp = this.r8_1;
|
|
2252
2252
|
if (tmp === 0) {
|
|
2253
2253
|
this.s8_1 = 1;
|
|
2254
|
-
if (get_isFinished(this.
|
|
2254
|
+
if (get_isFinished(this.qdz_1.state) || get_isFinishing(this.qdz_1.state)) {
|
|
2255
2255
|
return Unit_instance;
|
|
2256
2256
|
}
|
|
2257
|
-
if (!get_isCreated(this.
|
|
2258
|
-
this.
|
|
2257
|
+
if (!get_isCreated(this.qdz_1.state) || !this.ndz_1.i6f().a6y()) {
|
|
2258
|
+
this.ndz_1.b56().w('GameEngine_API', 'playerLeft: ' + this.odz_1 + ' before game is created');
|
|
2259
2259
|
return Unit_instance;
|
|
2260
2260
|
}
|
|
2261
|
-
var tmp_0 = this.
|
|
2261
|
+
var tmp_0 = this.qdz_1.dispatch;
|
|
2262
2262
|
var tmp0_connectionState = PlayerConnectionState_LEFT_getInstance();
|
|
2263
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2263
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.odz_1));
|
|
2264
2264
|
return Unit_instance;
|
|
2265
2265
|
} else if (tmp === 1) {
|
|
2266
2266
|
throw this.u8_1;
|
|
@@ -2271,39 +2271,39 @@
|
|
|
2271
2271
|
}
|
|
2272
2272
|
while (true);
|
|
2273
2273
|
};
|
|
2274
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2275
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
2276
|
-
i.
|
|
2277
|
-
i.
|
|
2274
|
+
protoOf(GameServer$playerLeft$slambda).ebg = function ($this$dispatchAsync, store, completion) {
|
|
2275
|
+
var i = new GameServer$playerLeft$slambda(this.ndz_1, this.odz_1, completion);
|
|
2276
|
+
i.pdz_1 = $this$dispatchAsync;
|
|
2277
|
+
i.qdz_1 = store;
|
|
2278
2278
|
return i;
|
|
2279
2279
|
};
|
|
2280
2280
|
function GameServer$playerLeft$slambda_0(this$0, $playerId, resultContinuation) {
|
|
2281
2281
|
var i = new GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation);
|
|
2282
2282
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2283
|
-
return i.
|
|
2283
|
+
return i.dbg($this$dispatchAsync, store, $completion);
|
|
2284
2284
|
};
|
|
2285
2285
|
l.$arity = 2;
|
|
2286
2286
|
return l;
|
|
2287
2287
|
}
|
|
2288
2288
|
function GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2289
|
-
this.
|
|
2290
|
-
this.
|
|
2291
|
-
this.
|
|
2292
|
-
this.
|
|
2293
|
-
this.
|
|
2294
|
-
this.
|
|
2295
|
-
this.
|
|
2289
|
+
this.zdz_1 = $usersArray;
|
|
2290
|
+
this.ae0_1 = $config;
|
|
2291
|
+
this.be0_1 = this$0;
|
|
2292
|
+
this.ce0_1 = $roomId;
|
|
2293
|
+
this.de0_1 = $transition;
|
|
2294
|
+
this.ee0_1 = $gameCreatorId;
|
|
2295
|
+
this.fe0_1 = $spectators;
|
|
2296
2296
|
CoroutineImpl.call(this, resultContinuation);
|
|
2297
2297
|
}
|
|
2298
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2299
|
-
var tmp = this.
|
|
2298
|
+
protoOf(GameServer$roomOnCreate$slambda).dbg = function ($this$dispatchAsync, store, $completion) {
|
|
2299
|
+
var tmp = this.ebg($this$dispatchAsync, store, $completion);
|
|
2300
2300
|
tmp.t8_1 = Unit_instance;
|
|
2301
2301
|
tmp.u8_1 = null;
|
|
2302
2302
|
return tmp.z8();
|
|
2303
2303
|
};
|
|
2304
2304
|
protoOf(GameServer$roomOnCreate$slambda).i9 = function (p1, p2, $completion) {
|
|
2305
2305
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2306
|
-
return this.
|
|
2306
|
+
return this.dbg(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2307
2307
|
};
|
|
2308
2308
|
protoOf(GameServer$roomOnCreate$slambda).z8 = function () {
|
|
2309
2309
|
var suspendResult = this.t8_1;
|
|
@@ -2312,21 +2312,21 @@
|
|
|
2312
2312
|
var tmp = this.r8_1;
|
|
2313
2313
|
if (tmp === 0) {
|
|
2314
2314
|
this.s8_1 = 1;
|
|
2315
|
-
var users = toList(this.
|
|
2316
|
-
if (!(this.
|
|
2317
|
-
this.
|
|
2318
|
-
this.
|
|
2315
|
+
var users = toList(this.zdz_1);
|
|
2316
|
+
if (!(this.ae0_1.playersMode.count === users.o())) {
|
|
2317
|
+
this.be0_1.b56().w('GameEngine_API', 'roomOnCreate: wrong player count for game ' + this.ce0_1 + ', config = ' + this.ae0_1.toString() + ', users = ' + toString(users));
|
|
2318
|
+
this.he0_1.dispatch(Companion_instance.fromTableWithAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.be0_1.table.isGameFinished, this.be0_1.table));
|
|
2319
2319
|
return Unit_instance;
|
|
2320
2320
|
}
|
|
2321
2321
|
var tmp_0;
|
|
2322
|
-
if (this.
|
|
2323
|
-
tmp_0 = _get_random__h29cgo(this.
|
|
2322
|
+
if (this.ae0_1.mode.shufflePlayers && this.de0_1 == null) {
|
|
2323
|
+
tmp_0 = _get_random__h29cgo(this.be0_1).l5t(toMutableList(users));
|
|
2324
2324
|
} else {
|
|
2325
|
-
var tmp0_safe_receiver = this.
|
|
2325
|
+
var tmp0_safe_receiver = this.de0_1;
|
|
2326
2326
|
var previousPlayers = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.previousPlayers;
|
|
2327
2327
|
var tmp_1;
|
|
2328
|
-
if (!(previousPlayers == null) && this.
|
|
2329
|
-
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.
|
|
2328
|
+
if (!(previousPlayers == null) && this.ae0_1.playersMode.isTeamGame) {
|
|
2329
|
+
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.be0_1);
|
|
2330
2330
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(previousPlayers, 10));
|
|
2331
2331
|
var _iterator__ex2g4s = previousPlayers.l();
|
|
2332
2332
|
while (_iterator__ex2g4s.m()) {
|
|
@@ -2357,19 +2357,19 @@
|
|
|
2357
2357
|
destination_1.j(destination_2);
|
|
2358
2358
|
}
|
|
2359
2359
|
var updatedTeams = destination_1;
|
|
2360
|
-
tmp_1 = _get_teamsLogicProvider__u10pm6(this.
|
|
2360
|
+
tmp_1 = _get_teamsLogicProvider__u10pm6(this.be0_1).r94(updatedTeams);
|
|
2361
2361
|
} else {
|
|
2362
2362
|
tmp_1 = users;
|
|
2363
2363
|
}
|
|
2364
2364
|
tmp_0 = tmp_1;
|
|
2365
2365
|
}
|
|
2366
2366
|
var updatedUsers = tmp_0;
|
|
2367
|
-
var gameCreatorUser = getPlayer(users, this.
|
|
2368
|
-
var tmp_3 = this.
|
|
2367
|
+
var gameCreatorUser = getPlayer(users, this.ee0_1);
|
|
2368
|
+
var tmp_3 = this.he0_1.dispatch;
|
|
2369
2369
|
var tmp1_version = get_versionOrDefault(GameEngineConfig_instance);
|
|
2370
2370
|
var tmp2_users = sortWithItem(updatedUsers, gameCreatorUser);
|
|
2371
|
-
var tmp3_spectators = toList(this.
|
|
2372
|
-
tmp_3(new StartGameMechanicAction(this.
|
|
2371
|
+
var tmp3_spectators = toList(this.fe0_1);
|
|
2372
|
+
tmp_3(new StartGameMechanicAction(this.ae0_1, this.ce0_1, tmp1_version, this.ee0_1, tmp2_users, VOID, tmp3_spectators));
|
|
2373
2373
|
return Unit_instance;
|
|
2374
2374
|
} else if (tmp === 1) {
|
|
2375
2375
|
throw this.u8_1;
|
|
@@ -2380,33 +2380,33 @@
|
|
|
2380
2380
|
}
|
|
2381
2381
|
while (true);
|
|
2382
2382
|
};
|
|
2383
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2384
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
2385
|
-
i.
|
|
2386
|
-
i.
|
|
2383
|
+
protoOf(GameServer$roomOnCreate$slambda).ebg = function ($this$dispatchAsync, store, completion) {
|
|
2384
|
+
var i = new GameServer$roomOnCreate$slambda(this.zdz_1, this.ae0_1, this.be0_1, this.ce0_1, this.de0_1, this.ee0_1, this.fe0_1, completion);
|
|
2385
|
+
i.ge0_1 = $this$dispatchAsync;
|
|
2386
|
+
i.he0_1 = store;
|
|
2387
2387
|
return i;
|
|
2388
2388
|
};
|
|
2389
2389
|
function GameServer$roomOnCreate$slambda_0($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2390
2390
|
var i = new GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation);
|
|
2391
2391
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2392
|
-
return i.
|
|
2392
|
+
return i.dbg($this$dispatchAsync, store, $completion);
|
|
2393
2393
|
};
|
|
2394
2394
|
l.$arity = 2;
|
|
2395
2395
|
return l;
|
|
2396
2396
|
}
|
|
2397
2397
|
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
2398
|
-
this.
|
|
2398
|
+
this.qe0_1 = $state;
|
|
2399
2399
|
CoroutineImpl.call(this, resultContinuation);
|
|
2400
2400
|
}
|
|
2401
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2402
|
-
var tmp = this.
|
|
2401
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).te0 = function ($this$dispatchAwait, store, $completion) {
|
|
2402
|
+
var tmp = this.ebg($this$dispatchAwait, store, $completion);
|
|
2403
2403
|
tmp.t8_1 = Unit_instance;
|
|
2404
2404
|
tmp.u8_1 = null;
|
|
2405
2405
|
return tmp.z8();
|
|
2406
2406
|
};
|
|
2407
2407
|
protoOf(GameServer$roomOnContinueFromState$slambda).i9 = function (p1, p2, $completion) {
|
|
2408
2408
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2409
|
-
return this.
|
|
2409
|
+
return this.te0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2410
2410
|
};
|
|
2411
2411
|
protoOf(GameServer$roomOnContinueFromState$slambda).z8 = function () {
|
|
2412
2412
|
var suspendResult = this.t8_1;
|
|
@@ -2415,10 +2415,10 @@
|
|
|
2415
2415
|
var tmp = this.r8_1;
|
|
2416
2416
|
if (tmp === 0) {
|
|
2417
2417
|
this.s8_1 = 1;
|
|
2418
|
-
if (get_isCreating(this.
|
|
2419
|
-
var tmp_0 = this.
|
|
2418
|
+
if (get_isCreating(this.se0_1.state)) {
|
|
2419
|
+
var tmp_0 = this.se0_1.dispatch;
|
|
2420
2420
|
var tmp0_reason = new RestartRoundReason(null);
|
|
2421
|
-
var tmp1_table = this.
|
|
2421
|
+
var tmp1_table = this.qe0_1.table;
|
|
2422
2422
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2423
2423
|
return true;
|
|
2424
2424
|
}
|
|
@@ -2432,34 +2432,34 @@
|
|
|
2432
2432
|
}
|
|
2433
2433
|
while (true);
|
|
2434
2434
|
};
|
|
2435
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2436
|
-
var i = new GameServer$roomOnContinueFromState$slambda(this.
|
|
2437
|
-
i.
|
|
2438
|
-
i.
|
|
2435
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).ebg = function ($this$dispatchAwait, store, completion) {
|
|
2436
|
+
var i = new GameServer$roomOnContinueFromState$slambda(this.qe0_1, completion);
|
|
2437
|
+
i.re0_1 = $this$dispatchAwait;
|
|
2438
|
+
i.se0_1 = store;
|
|
2439
2439
|
return i;
|
|
2440
2440
|
};
|
|
2441
2441
|
function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
|
|
2442
2442
|
var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
|
|
2443
2443
|
var l = function ($this$dispatchAwait, store, $completion) {
|
|
2444
|
-
return i.
|
|
2444
|
+
return i.te0($this$dispatchAwait, store, $completion);
|
|
2445
2445
|
};
|
|
2446
2446
|
l.$arity = 2;
|
|
2447
2447
|
return l;
|
|
2448
2448
|
}
|
|
2449
2449
|
function GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation) {
|
|
2450
|
-
this.
|
|
2451
|
-
this.
|
|
2450
|
+
this.ce1_1 = $isCreated;
|
|
2451
|
+
this.de1_1 = $state;
|
|
2452
2452
|
CoroutineImpl.call(this, resultContinuation);
|
|
2453
2453
|
}
|
|
2454
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2455
|
-
var tmp = this.
|
|
2454
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).dbg = function ($this$dispatchAsync, store, $completion) {
|
|
2455
|
+
var tmp = this.ebg($this$dispatchAsync, store, $completion);
|
|
2456
2456
|
tmp.t8_1 = Unit_instance;
|
|
2457
2457
|
tmp.u8_1 = null;
|
|
2458
2458
|
return tmp.z8();
|
|
2459
2459
|
};
|
|
2460
2460
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).i9 = function (p1, p2, $completion) {
|
|
2461
2461
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2462
|
-
return this.
|
|
2462
|
+
return this.dbg(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2463
2463
|
};
|
|
2464
2464
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).z8 = function () {
|
|
2465
2465
|
var suspendResult = this.t8_1;
|
|
@@ -2470,7 +2470,7 @@
|
|
|
2470
2470
|
case 0:
|
|
2471
2471
|
this.s8_1 = 3;
|
|
2472
2472
|
this.r8_1 = 1;
|
|
2473
|
-
suspendResult = this.
|
|
2473
|
+
suspendResult = this.ce1_1.f1p(this);
|
|
2474
2474
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2475
2475
|
return suspendResult;
|
|
2476
2476
|
}
|
|
@@ -2478,10 +2478,10 @@
|
|
|
2478
2478
|
continue $sm;
|
|
2479
2479
|
case 1:
|
|
2480
2480
|
if (suspendResult) {
|
|
2481
|
-
var _iterator__ex2g4s = this.
|
|
2481
|
+
var _iterator__ex2g4s = this.de1_1.actions.l();
|
|
2482
2482
|
while (_iterator__ex2g4s.m()) {
|
|
2483
2483
|
var element = _iterator__ex2g4s.n();
|
|
2484
|
-
this.
|
|
2484
|
+
this.fe1_1.dispatch(element);
|
|
2485
2485
|
}
|
|
2486
2486
|
this.r8_1 = 2;
|
|
2487
2487
|
continue $sm;
|
|
@@ -2506,35 +2506,35 @@
|
|
|
2506
2506
|
}
|
|
2507
2507
|
while (true);
|
|
2508
2508
|
};
|
|
2509
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2510
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1(this.
|
|
2511
|
-
i.
|
|
2512
|
-
i.
|
|
2509
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).ebg = function ($this$dispatchAsync, store, completion) {
|
|
2510
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1(this.ce1_1, this.de1_1, completion);
|
|
2511
|
+
i.ee1_1 = $this$dispatchAsync;
|
|
2512
|
+
i.fe1_1 = store;
|
|
2513
2513
|
return i;
|
|
2514
2514
|
};
|
|
2515
2515
|
function GameServer$roomOnContinueFromState$slambda_2($isCreated, $state, resultContinuation) {
|
|
2516
2516
|
var i = new GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation);
|
|
2517
2517
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2518
|
-
return i.
|
|
2518
|
+
return i.dbg($this$dispatchAsync, store, $completion);
|
|
2519
2519
|
};
|
|
2520
2520
|
l.$arity = 2;
|
|
2521
2521
|
return l;
|
|
2522
2522
|
}
|
|
2523
2523
|
function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation) {
|
|
2524
|
-
this.
|
|
2525
|
-
this.
|
|
2526
|
-
this.
|
|
2524
|
+
this.oe1_1 = $tableLite;
|
|
2525
|
+
this.pe1_1 = $roomId;
|
|
2526
|
+
this.qe1_1 = this$0;
|
|
2527
2527
|
CoroutineImpl.call(this, resultContinuation);
|
|
2528
2528
|
}
|
|
2529
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2530
|
-
var tmp = this.
|
|
2529
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).dbg = function ($this$dispatchAsync, store, $completion) {
|
|
2530
|
+
var tmp = this.ebg($this$dispatchAsync, store, $completion);
|
|
2531
2531
|
tmp.t8_1 = Unit_instance;
|
|
2532
2532
|
tmp.u8_1 = null;
|
|
2533
2533
|
return tmp.z8();
|
|
2534
2534
|
};
|
|
2535
2535
|
protoOf(GameServer$roomOnContinueFromRound$slambda).i9 = function (p1, p2, $completion) {
|
|
2536
2536
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2537
|
-
return this.
|
|
2537
|
+
return this.dbg(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2538
2538
|
};
|
|
2539
2539
|
protoOf(GameServer$roomOnContinueFromRound$slambda).z8 = function () {
|
|
2540
2540
|
var suspendResult = this.t8_1;
|
|
@@ -2543,9 +2543,9 @@
|
|
|
2543
2543
|
var tmp = this.r8_1;
|
|
2544
2544
|
if (tmp === 0) {
|
|
2545
2545
|
this.s8_1 = 1;
|
|
2546
|
-
var tmp_0 = this.
|
|
2547
|
-
var tmp0_reason = new RestartRoundReason(this.
|
|
2548
|
-
var tmp1_table = Companion_instance_0.restartRound(this.
|
|
2546
|
+
var tmp_0 = this.se1_1.dispatch;
|
|
2547
|
+
var tmp0_reason = new RestartRoundReason(this.oe1_1.gameInfo.round.roundNumber);
|
|
2548
|
+
var tmp1_table = Companion_instance_0.restartRound(this.pe1_1, _get_idsProvider__fnfajc(this.qe1_1).y6m(), get_versionOrDefault(GameEngineConfig_instance), this.oe1_1);
|
|
2549
2549
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2550
2550
|
return Unit_instance;
|
|
2551
2551
|
} else if (tmp === 1) {
|
|
@@ -2557,16 +2557,16 @@
|
|
|
2557
2557
|
}
|
|
2558
2558
|
while (true);
|
|
2559
2559
|
};
|
|
2560
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2561
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
2562
|
-
i.
|
|
2563
|
-
i.
|
|
2560
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).ebg = function ($this$dispatchAsync, store, completion) {
|
|
2561
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.oe1_1, this.pe1_1, this.qe1_1, completion);
|
|
2562
|
+
i.re1_1 = $this$dispatchAsync;
|
|
2563
|
+
i.se1_1 = store;
|
|
2564
2564
|
return i;
|
|
2565
2565
|
};
|
|
2566
2566
|
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, resultContinuation) {
|
|
2567
2567
|
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation);
|
|
2568
2568
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2569
|
-
return i.
|
|
2569
|
+
return i.dbg($this$dispatchAsync, store, $completion);
|
|
2570
2570
|
};
|
|
2571
2571
|
l.$arity = 2;
|
|
2572
2572
|
return l;
|
|
@@ -2574,15 +2574,15 @@
|
|
|
2574
2574
|
function GameServer$roomOnContinueFromRound$slambda_1(resultContinuation) {
|
|
2575
2575
|
CoroutineImpl.call(this, resultContinuation);
|
|
2576
2576
|
}
|
|
2577
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2578
|
-
var tmp = this.
|
|
2577
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).dbg = function ($this$dispatchAsync, store, $completion) {
|
|
2578
|
+
var tmp = this.ebg($this$dispatchAsync, store, $completion);
|
|
2579
2579
|
tmp.t8_1 = Unit_instance;
|
|
2580
2580
|
tmp.u8_1 = null;
|
|
2581
2581
|
return tmp.z8();
|
|
2582
2582
|
};
|
|
2583
2583
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).i9 = function (p1, p2, $completion) {
|
|
2584
2584
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2585
|
-
return this.
|
|
2585
|
+
return this.dbg(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2586
2586
|
};
|
|
2587
2587
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).z8 = function () {
|
|
2588
2588
|
var suspendResult = this.t8_1;
|
|
@@ -2591,7 +2591,7 @@
|
|
|
2591
2591
|
var tmp = this.r8_1;
|
|
2592
2592
|
if (tmp === 0) {
|
|
2593
2593
|
this.s8_1 = 1;
|
|
2594
|
-
this.
|
|
2594
|
+
this.ce2_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
2595
2595
|
return Unit_instance;
|
|
2596
2596
|
} else if (tmp === 1) {
|
|
2597
2597
|
throw this.u8_1;
|
|
@@ -2602,33 +2602,33 @@
|
|
|
2602
2602
|
}
|
|
2603
2603
|
while (true);
|
|
2604
2604
|
};
|
|
2605
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2605
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).ebg = function ($this$dispatchAsync, store, completion) {
|
|
2606
2606
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
2607
|
-
i.
|
|
2608
|
-
i.
|
|
2607
|
+
i.be2_1 = $this$dispatchAsync;
|
|
2608
|
+
i.ce2_1 = store;
|
|
2609
2609
|
return i;
|
|
2610
2610
|
};
|
|
2611
2611
|
function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
|
|
2612
2612
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(resultContinuation);
|
|
2613
2613
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2614
|
-
return i.
|
|
2614
|
+
return i.dbg($this$dispatchAsync, store, $completion);
|
|
2615
2615
|
};
|
|
2616
2616
|
l.$arity = 2;
|
|
2617
2617
|
return l;
|
|
2618
2618
|
}
|
|
2619
2619
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
2620
|
-
this.
|
|
2620
|
+
this.le2_1 = $spectators;
|
|
2621
2621
|
CoroutineImpl.call(this, resultContinuation);
|
|
2622
2622
|
}
|
|
2623
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2624
|
-
var tmp = this.
|
|
2623
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).dbg = function ($this$dispatchAsync, store, $completion) {
|
|
2624
|
+
var tmp = this.ebg($this$dispatchAsync, store, $completion);
|
|
2625
2625
|
tmp.t8_1 = Unit_instance;
|
|
2626
2626
|
tmp.u8_1 = null;
|
|
2627
2627
|
return tmp.z8();
|
|
2628
2628
|
};
|
|
2629
2629
|
protoOf(GameServer$addSpectatorsToRoom$slambda).i9 = function (p1, p2, $completion) {
|
|
2630
2630
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2631
|
-
return this.
|
|
2631
|
+
return this.dbg(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2632
2632
|
};
|
|
2633
2633
|
protoOf(GameServer$addSpectatorsToRoom$slambda).z8 = function () {
|
|
2634
2634
|
var suspendResult = this.t8_1;
|
|
@@ -2637,7 +2637,7 @@
|
|
|
2637
2637
|
var tmp = this.r8_1;
|
|
2638
2638
|
if (tmp === 0) {
|
|
2639
2639
|
this.s8_1 = 1;
|
|
2640
|
-
this.
|
|
2640
|
+
this.ne2_1.dispatch(new AddSpectatorsAction(toList(this.le2_1)));
|
|
2641
2641
|
return Unit_instance;
|
|
2642
2642
|
} else if (tmp === 1) {
|
|
2643
2643
|
throw this.u8_1;
|
|
@@ -2648,33 +2648,33 @@
|
|
|
2648
2648
|
}
|
|
2649
2649
|
while (true);
|
|
2650
2650
|
};
|
|
2651
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2652
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
2653
|
-
i.
|
|
2654
|
-
i.
|
|
2651
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).ebg = function ($this$dispatchAsync, store, completion) {
|
|
2652
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.le2_1, completion);
|
|
2653
|
+
i.me2_1 = $this$dispatchAsync;
|
|
2654
|
+
i.ne2_1 = store;
|
|
2655
2655
|
return i;
|
|
2656
2656
|
};
|
|
2657
2657
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
2658
2658
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
2659
2659
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2660
|
-
return i.
|
|
2660
|
+
return i.dbg($this$dispatchAsync, store, $completion);
|
|
2661
2661
|
};
|
|
2662
2662
|
l.$arity = 2;
|
|
2663
2663
|
return l;
|
|
2664
2664
|
}
|
|
2665
2665
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
2666
|
-
this.
|
|
2666
|
+
this.we2_1 = $spectators;
|
|
2667
2667
|
CoroutineImpl.call(this, resultContinuation);
|
|
2668
2668
|
}
|
|
2669
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2670
|
-
var tmp = this.
|
|
2669
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).dbg = function ($this$dispatchAsync, store, $completion) {
|
|
2670
|
+
var tmp = this.ebg($this$dispatchAsync, store, $completion);
|
|
2671
2671
|
tmp.t8_1 = Unit_instance;
|
|
2672
2672
|
tmp.u8_1 = null;
|
|
2673
2673
|
return tmp.z8();
|
|
2674
2674
|
};
|
|
2675
2675
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).i9 = function (p1, p2, $completion) {
|
|
2676
2676
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2677
|
-
return this.
|
|
2677
|
+
return this.dbg(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2678
2678
|
};
|
|
2679
2679
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).z8 = function () {
|
|
2680
2680
|
var suspendResult = this.t8_1;
|
|
@@ -2683,7 +2683,7 @@
|
|
|
2683
2683
|
var tmp = this.r8_1;
|
|
2684
2684
|
if (tmp === 0) {
|
|
2685
2685
|
this.s8_1 = 1;
|
|
2686
|
-
this.
|
|
2686
|
+
this.ye2_1.dispatch(new RemoveSpectatorsAction(toList(this.we2_1)));
|
|
2687
2687
|
return Unit_instance;
|
|
2688
2688
|
} else if (tmp === 1) {
|
|
2689
2689
|
throw this.u8_1;
|
|
@@ -2694,34 +2694,34 @@
|
|
|
2694
2694
|
}
|
|
2695
2695
|
while (true);
|
|
2696
2696
|
};
|
|
2697
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2698
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
2699
|
-
i.
|
|
2700
|
-
i.
|
|
2697
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).ebg = function ($this$dispatchAsync, store, completion) {
|
|
2698
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.we2_1, completion);
|
|
2699
|
+
i.xe2_1 = $this$dispatchAsync;
|
|
2700
|
+
i.ye2_1 = store;
|
|
2701
2701
|
return i;
|
|
2702
2702
|
};
|
|
2703
2703
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
2704
2704
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
2705
2705
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2706
|
-
return i.
|
|
2706
|
+
return i.dbg($this$dispatchAsync, store, $completion);
|
|
2707
2707
|
};
|
|
2708
2708
|
l.$arity = 2;
|
|
2709
2709
|
return l;
|
|
2710
2710
|
}
|
|
2711
2711
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
2712
|
-
this.
|
|
2713
|
-
this.
|
|
2712
|
+
this.he3_1 = $playerId;
|
|
2713
|
+
this.ie3_1 = this$0;
|
|
2714
2714
|
CoroutineImpl.call(this, resultContinuation);
|
|
2715
2715
|
}
|
|
2716
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2717
|
-
var tmp = this.
|
|
2716
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).dbg = function ($this$dispatchAsync, store, $completion) {
|
|
2717
|
+
var tmp = this.ebg($this$dispatchAsync, store, $completion);
|
|
2718
2718
|
tmp.t8_1 = Unit_instance;
|
|
2719
2719
|
tmp.u8_1 = null;
|
|
2720
2720
|
return tmp.z8();
|
|
2721
2721
|
};
|
|
2722
2722
|
protoOf(GameServer$roomRefreshPlayerState$slambda).i9 = function (p1, p2, $completion) {
|
|
2723
2723
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2724
|
-
return this.
|
|
2724
|
+
return this.dbg(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2725
2725
|
};
|
|
2726
2726
|
protoOf(GameServer$roomRefreshPlayerState$slambda).z8 = function () {
|
|
2727
2727
|
var suspendResult = this.t8_1;
|
|
@@ -2730,14 +2730,14 @@
|
|
|
2730
2730
|
var tmp = this.r8_1;
|
|
2731
2731
|
if (tmp === 0) {
|
|
2732
2732
|
this.s8_1 = 1;
|
|
2733
|
-
var table = this.
|
|
2734
|
-
var player = getPlayer(table.players, this.
|
|
2733
|
+
var table = this.ke3_1.state.z6x();
|
|
2734
|
+
var player = getPlayer(table.players, this.he3_1);
|
|
2735
2735
|
if (player.e71_1.j6h().a6g_1.isLive) {
|
|
2736
|
-
this.
|
|
2736
|
+
this.ke3_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.ie3_1).p9b(player, table));
|
|
2737
2737
|
} else {
|
|
2738
|
-
var tmp_0 = this.
|
|
2738
|
+
var tmp_0 = this.ke3_1.dispatch;
|
|
2739
2739
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2740
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2740
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.he3_1));
|
|
2741
2741
|
}
|
|
2742
2742
|
return Unit_instance;
|
|
2743
2743
|
} else if (tmp === 1) {
|
|
@@ -2749,34 +2749,34 @@
|
|
|
2749
2749
|
}
|
|
2750
2750
|
while (true);
|
|
2751
2751
|
};
|
|
2752
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2753
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
2754
|
-
i.
|
|
2755
|
-
i.
|
|
2752
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).ebg = function ($this$dispatchAsync, store, completion) {
|
|
2753
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.he3_1, this.ie3_1, completion);
|
|
2754
|
+
i.je3_1 = $this$dispatchAsync;
|
|
2755
|
+
i.ke3_1 = store;
|
|
2756
2756
|
return i;
|
|
2757
2757
|
};
|
|
2758
2758
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
2759
2759
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
2760
2760
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2761
|
-
return i.
|
|
2761
|
+
return i.dbg($this$dispatchAsync, store, $completion);
|
|
2762
2762
|
};
|
|
2763
2763
|
l.$arity = 2;
|
|
2764
2764
|
return l;
|
|
2765
2765
|
}
|
|
2766
2766
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
2767
|
-
this.
|
|
2768
|
-
this.
|
|
2767
|
+
this.te3_1 = this$0;
|
|
2768
|
+
this.ue3_1 = $newRid;
|
|
2769
2769
|
CoroutineImpl.call(this, resultContinuation);
|
|
2770
2770
|
}
|
|
2771
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2772
|
-
var tmp = this.
|
|
2771
|
+
protoOf(GameServer$roomOnDelete$slambda).dbg = function ($this$dispatchAsync, store, $completion) {
|
|
2772
|
+
var tmp = this.ebg($this$dispatchAsync, store, $completion);
|
|
2773
2773
|
tmp.t8_1 = Unit_instance;
|
|
2774
2774
|
tmp.u8_1 = null;
|
|
2775
2775
|
return tmp.z8();
|
|
2776
2776
|
};
|
|
2777
2777
|
protoOf(GameServer$roomOnDelete$slambda).i9 = function (p1, p2, $completion) {
|
|
2778
2778
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2779
|
-
return this.
|
|
2779
|
+
return this.dbg(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2780
2780
|
};
|
|
2781
2781
|
protoOf(GameServer$roomOnDelete$slambda).z8 = function () {
|
|
2782
2782
|
var suspendResult = this.t8_1;
|
|
@@ -2785,10 +2785,10 @@
|
|
|
2785
2785
|
var tmp = this.r8_1;
|
|
2786
2786
|
if (tmp === 0) {
|
|
2787
2787
|
this.s8_1 = 1;
|
|
2788
|
-
var it = this.
|
|
2788
|
+
var it = this.te3_1.i6f().z6w_1;
|
|
2789
2789
|
var tmp_0;
|
|
2790
2790
|
if (it == null) {
|
|
2791
|
-
this.
|
|
2791
|
+
this.te3_1.b56().w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
2792
2792
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
2793
2793
|
} else {
|
|
2794
2794
|
tmp_0 = it;
|
|
@@ -2797,15 +2797,15 @@
|
|
|
2797
2797
|
var gameTransition = terminationState.h8g_1;
|
|
2798
2798
|
var tmp_1;
|
|
2799
2799
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
2800
|
-
var tmp0_elvis_lhs = this.
|
|
2800
|
+
var tmp0_elvis_lhs = this.ue3_1;
|
|
2801
2801
|
tmp_1 = gameTransition.copy(tmp0_elvis_lhs == null ? gameTransition.roomId : tmp0_elvis_lhs);
|
|
2802
2802
|
} else {
|
|
2803
2803
|
tmp_1 = gameTransition;
|
|
2804
2804
|
}
|
|
2805
2805
|
var transition = tmp_1;
|
|
2806
|
-
var tmp_2 = this.
|
|
2806
|
+
var tmp_2 = this.we3_1.dispatch;
|
|
2807
2807
|
var tmp0_reason = terminationState.g8g_1;
|
|
2808
|
-
var tmp1_isGameFinished = this.
|
|
2808
|
+
var tmp1_isGameFinished = this.te3_1.i6f().z6x().isGameFinished;
|
|
2809
2809
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
2810
2810
|
return Unit_instance;
|
|
2811
2811
|
} else if (tmp === 1) {
|
|
@@ -2817,33 +2817,33 @@
|
|
|
2817
2817
|
}
|
|
2818
2818
|
while (true);
|
|
2819
2819
|
};
|
|
2820
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2821
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
2822
|
-
i.
|
|
2823
|
-
i.
|
|
2820
|
+
protoOf(GameServer$roomOnDelete$slambda).ebg = function ($this$dispatchAsync, store, completion) {
|
|
2821
|
+
var i = new GameServer$roomOnDelete$slambda(this.te3_1, this.ue3_1, completion);
|
|
2822
|
+
i.ve3_1 = $this$dispatchAsync;
|
|
2823
|
+
i.we3_1 = store;
|
|
2824
2824
|
return i;
|
|
2825
2825
|
};
|
|
2826
2826
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
2827
2827
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
2828
2828
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2829
|
-
return i.
|
|
2829
|
+
return i.dbg($this$dispatchAsync, store, $completion);
|
|
2830
2830
|
};
|
|
2831
2831
|
l.$arity = 2;
|
|
2832
2832
|
return l;
|
|
2833
2833
|
}
|
|
2834
2834
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
2835
|
-
this.
|
|
2835
|
+
this.fe4_1 = $enabled;
|
|
2836
2836
|
CoroutineImpl.call(this, resultContinuation);
|
|
2837
2837
|
}
|
|
2838
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2839
|
-
var tmp = this.
|
|
2838
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).dbg = function ($this$dispatchAsync, store, $completion) {
|
|
2839
|
+
var tmp = this.ebg($this$dispatchAsync, store, $completion);
|
|
2840
2840
|
tmp.t8_1 = Unit_instance;
|
|
2841
2841
|
tmp.u8_1 = null;
|
|
2842
2842
|
return tmp.z8();
|
|
2843
2843
|
};
|
|
2844
2844
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).i9 = function (p1, p2, $completion) {
|
|
2845
2845
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2846
|
-
return this.
|
|
2846
|
+
return this.dbg(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2847
2847
|
};
|
|
2848
2848
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).z8 = function () {
|
|
2849
2849
|
var suspendResult = this.t8_1;
|
|
@@ -2852,7 +2852,7 @@
|
|
|
2852
2852
|
var tmp = this.r8_1;
|
|
2853
2853
|
if (tmp === 0) {
|
|
2854
2854
|
this.s8_1 = 1;
|
|
2855
|
-
this.
|
|
2855
|
+
this.he4_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload(this.he4_1.state).config.copy(VOID, this.fe4_1)));
|
|
2856
2856
|
return Unit_instance;
|
|
2857
2857
|
} else if (tmp === 1) {
|
|
2858
2858
|
throw this.u8_1;
|
|
@@ -2863,35 +2863,35 @@
|
|
|
2863
2863
|
}
|
|
2864
2864
|
while (true);
|
|
2865
2865
|
};
|
|
2866
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2867
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
2868
|
-
i.
|
|
2869
|
-
i.
|
|
2866
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).ebg = function ($this$dispatchAsync, store, completion) {
|
|
2867
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.fe4_1, completion);
|
|
2868
|
+
i.ge4_1 = $this$dispatchAsync;
|
|
2869
|
+
i.he4_1 = store;
|
|
2870
2870
|
return i;
|
|
2871
2871
|
};
|
|
2872
2872
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
2873
2873
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
2874
2874
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2875
|
-
return i.
|
|
2875
|
+
return i.dbg($this$dispatchAsync, store, $completion);
|
|
2876
2876
|
};
|
|
2877
2877
|
l.$arity = 2;
|
|
2878
2878
|
return l;
|
|
2879
2879
|
}
|
|
2880
2880
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
2881
|
-
this.
|
|
2882
|
-
this.
|
|
2883
|
-
this.
|
|
2881
|
+
this.qe4_1 = $reason;
|
|
2882
|
+
this.re4_1 = this$0;
|
|
2883
|
+
this.se4_1 = $roomId;
|
|
2884
2884
|
CoroutineImpl.call(this, resultContinuation);
|
|
2885
2885
|
}
|
|
2886
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2887
|
-
var tmp = this.
|
|
2886
|
+
protoOf(GameServer$shutdown$slambda).dbg = function ($this$dispatchAsync, store, $completion) {
|
|
2887
|
+
var tmp = this.ebg($this$dispatchAsync, store, $completion);
|
|
2888
2888
|
tmp.t8_1 = Unit_instance;
|
|
2889
2889
|
tmp.u8_1 = null;
|
|
2890
2890
|
return tmp.z8();
|
|
2891
2891
|
};
|
|
2892
2892
|
protoOf(GameServer$shutdown$slambda).i9 = function (p1, p2, $completion) {
|
|
2893
2893
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2894
|
-
return this.
|
|
2894
|
+
return this.dbg(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2895
2895
|
};
|
|
2896
2896
|
protoOf(GameServer$shutdown$slambda).z8 = function () {
|
|
2897
2897
|
var suspendResult = this.t8_1;
|
|
@@ -2900,11 +2900,11 @@
|
|
|
2900
2900
|
var tmp = this.r8_1;
|
|
2901
2901
|
if (tmp === 0) {
|
|
2902
2902
|
this.s8_1 = 1;
|
|
2903
|
-
var state = this.
|
|
2903
|
+
var state = this.ue4_1.store.state;
|
|
2904
2904
|
if (state.a6y()) {
|
|
2905
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
2905
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.qe4_1, get_serverShutdownReasonMapping());
|
|
2906
2906
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
2907
|
-
var tmp_0 = this.
|
|
2907
|
+
var tmp_0 = this.ue4_1.dispatch;
|
|
2908
2908
|
var tmp_1 = Companion_instance;
|
|
2909
2909
|
var tmp_2;
|
|
2910
2910
|
switch (shutdownReason.p2_1) {
|
|
@@ -2918,10 +2918,10 @@
|
|
|
2918
2918
|
noWhenBranchMatchedException();
|
|
2919
2919
|
break;
|
|
2920
2920
|
}
|
|
2921
|
-
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.
|
|
2921
|
+
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.re4_1.table.isGameFinished, this.re4_1.table));
|
|
2922
2922
|
} else {
|
|
2923
|
-
this.
|
|
2924
|
-
var tmp_3 = this.
|
|
2923
|
+
this.re4_1.b56().w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.se4_1);
|
|
2924
|
+
var tmp_3 = this.ue4_1.dispatch;
|
|
2925
2925
|
var tmp2_safe_receiver = state.z6w_1;
|
|
2926
2926
|
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.h8g_1));
|
|
2927
2927
|
}
|
|
@@ -2935,16 +2935,16 @@
|
|
|
2935
2935
|
}
|
|
2936
2936
|
while (true);
|
|
2937
2937
|
};
|
|
2938
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2939
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
2940
|
-
i.
|
|
2941
|
-
i.
|
|
2938
|
+
protoOf(GameServer$shutdown$slambda).ebg = function ($this$dispatchAsync, store, completion) {
|
|
2939
|
+
var i = new GameServer$shutdown$slambda(this.qe4_1, this.re4_1, this.se4_1, completion);
|
|
2940
|
+
i.te4_1 = $this$dispatchAsync;
|
|
2941
|
+
i.ue4_1 = store;
|
|
2942
2942
|
return i;
|
|
2943
2943
|
};
|
|
2944
2944
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
2945
2945
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
2946
2946
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2947
|
-
return i.
|
|
2947
|
+
return i.dbg($this$dispatchAsync, store, $completion);
|
|
2948
2948
|
};
|
|
2949
2949
|
l.$arity = 2;
|
|
2950
2950
|
return l;
|
|
@@ -2975,7 +2975,7 @@
|
|
|
2975
2975
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
2976
2976
|
var tmp_3 = Instance(di, tmp$ret$2, null);
|
|
2977
2977
|
var tmp_4 = KProperty1;
|
|
2978
|
-
tmp_1.
|
|
2978
|
+
tmp_1.edv_1 = tmp_3.c1h(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_4, GameServer$_get_toClientEventsObserver_$ref_utir8s(), null));
|
|
2979
2979
|
var tmp_5 = this;
|
|
2980
2980
|
// Inline function 'org.kodein.di.instance' call
|
|
2981
2981
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2983,7 +2983,7 @@
|
|
|
2983
2983
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
2984
2984
|
var tmp_7 = Instance(di, tmp$ret$4, null);
|
|
2985
2985
|
var tmp_8 = KProperty1;
|
|
2986
|
-
tmp_5.
|
|
2986
|
+
tmp_5.fdv_1 = tmp_7.c1h(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_8, GameServer$_get_fromClientEventsObserver_$ref_nf1g79(), null));
|
|
2987
2987
|
var tmp_9 = this;
|
|
2988
2988
|
// Inline function 'org.kodein.di.instance' call
|
|
2989
2989
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2991,7 +2991,7 @@
|
|
|
2991
2991
|
var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
2992
2992
|
var tmp_11 = Instance(di, tmp$ret$6, null);
|
|
2993
2993
|
var tmp_12 = KProperty1;
|
|
2994
|
-
tmp_9.
|
|
2994
|
+
tmp_9.gdv_1 = tmp_11.c1h(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_12, GameServer$_get_playerConnectionInteractor_$ref_of8tan(), null));
|
|
2995
2995
|
var tmp_13 = this;
|
|
2996
2996
|
// Inline function 'org.kodein.di.instance' call
|
|
2997
2997
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2999,9 +2999,9 @@
|
|
|
2999
2999
|
var tmp$ret$8 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
3000
3000
|
var tmp_15 = Instance(di, tmp$ret$8, null);
|
|
3001
3001
|
var tmp_16 = KProperty1;
|
|
3002
|
-
tmp_13.
|
|
3002
|
+
tmp_13.hdv_1 = tmp_15.c1h(this, getPropertyCallableRef('teamsLogicProvider', 1, tmp_16, GameServer$_get_teamsLogicProvider_$ref_b7y54g(), null));
|
|
3003
3003
|
var tmp_17 = this;
|
|
3004
|
-
tmp_17.
|
|
3004
|
+
tmp_17.idv_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
3005
3005
|
var tmp_18 = this;
|
|
3006
3006
|
// Inline function 'org.kodein.di.instance' call
|
|
3007
3007
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3009,7 +3009,7 @@
|
|
|
3009
3009
|
var tmp$ret$10 = isInterface(tmp_19, TypeToken) ? tmp_19 : THROW_CCE();
|
|
3010
3010
|
var tmp_20 = Instance(di, tmp$ret$10, null);
|
|
3011
3011
|
var tmp_21 = KProperty1;
|
|
3012
|
-
tmp_18.
|
|
3012
|
+
tmp_18.jdv_1 = tmp_20.c1h(this, getPropertyCallableRef('idsProvider', 1, tmp_21, GameServer$_get_idsProvider_$ref_89s908(), null));
|
|
3013
3013
|
var tmp_22 = this;
|
|
3014
3014
|
// Inline function 'org.kodein.di.instance' call
|
|
3015
3015
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3017,7 +3017,7 @@
|
|
|
3017
3017
|
var tmp$ret$12 = isInterface(tmp_23, TypeToken) ? tmp_23 : THROW_CCE();
|
|
3018
3018
|
var tmp_24 = Instance(di, tmp$ret$12, null);
|
|
3019
3019
|
var tmp_25 = KProperty1;
|
|
3020
|
-
tmp_22.
|
|
3020
|
+
tmp_22.kdv_1 = tmp_24.c1h(this, getPropertyCallableRef('serverReduxConfig', 1, tmp_25, GameServer$_get_serverReduxConfig_$ref_7h6jq6(), null));
|
|
3021
3021
|
var tmp_26 = this;
|
|
3022
3022
|
// Inline function 'org.kodein.di.instance' call
|
|
3023
3023
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3025,14 +3025,14 @@
|
|
|
3025
3025
|
var tmp$ret$14 = isInterface(tmp_27, TypeToken) ? tmp_27 : THROW_CCE();
|
|
3026
3026
|
var tmp_28 = Instance(di, tmp$ret$14, null);
|
|
3027
3027
|
var tmp_29 = KProperty1;
|
|
3028
|
-
tmp_26.
|
|
3028
|
+
tmp_26.ldv_1 = tmp_28.c1h(this, getPropertyCallableRef('encoderDecoderProvider', 1, tmp_29, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8(), null));
|
|
3029
3029
|
var tmp_30 = this;
|
|
3030
3030
|
var tmp0_externalMiddlewares = plus(storeContract.p9h(), externalMiddlewares);
|
|
3031
3031
|
var tmp1_externalReducers = plus(storeContract.o9h(), externalReducers);
|
|
3032
|
-
tmp_30.
|
|
3032
|
+
tmp_30.mdv_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
3033
3033
|
}
|
|
3034
3034
|
protoOf(GameServer).o6w = function () {
|
|
3035
|
-
return this.
|
|
3035
|
+
return this.mdv_1;
|
|
3036
3036
|
};
|
|
3037
3037
|
protoOf(GameServer).w8z = function () {
|
|
3038
3038
|
return get_serverStatePayload(this.i6f()).metadata;
|
|
@@ -3067,55 +3067,55 @@
|
|
|
3067
3067
|
};
|
|
3068
3068
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
3069
3069
|
this.b56().d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
3070
|
-
this.
|
|
3070
|
+
this.mdv_1.x6x(GameServer$fromClientEvent$slambda_0(action, null));
|
|
3071
3071
|
};
|
|
3072
3072
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
3073
3073
|
this.b56().d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
3074
|
-
this.
|
|
3074
|
+
this.mdv_1.x6x(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
3075
3075
|
};
|
|
3076
3076
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
3077
3077
|
this.b56().d('GameEngine_API', 'playerLive: ' + playerId);
|
|
3078
|
-
this.
|
|
3078
|
+
this.mdv_1.x6x(GameServer$playerLive$slambda_0(this, playerId, null));
|
|
3079
3079
|
};
|
|
3080
3080
|
protoOf(GameServer).playerLeft = function (playerId) {
|
|
3081
3081
|
this.b56().d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
3082
|
-
this.
|
|
3082
|
+
this.mdv_1.x6x(GameServer$playerLeft$slambda_0(this, playerId, null));
|
|
3083
3083
|
};
|
|
3084
|
-
protoOf(GameServer).
|
|
3084
|
+
protoOf(GameServer).ve4 = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
3085
3085
|
this.b56().d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
3086
|
-
this.
|
|
3086
|
+
this.mdv_1.x6x(GameServer$roomOnCreate$slambda_0(usersArray, config, this, roomId, transition, gameCreatorId, spectators, null));
|
|
3087
3087
|
};
|
|
3088
3088
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
3089
3089
|
this.b56().d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
3090
|
-
var isCreated = this.
|
|
3091
|
-
this.
|
|
3090
|
+
var isCreated = this.mdv_1.y6x(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
3091
|
+
this.mdv_1.x6x(GameServer$roomOnContinueFromState$slambda_2(isCreated, state, null));
|
|
3092
3092
|
};
|
|
3093
3093
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
3094
3094
|
this.b56().d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
3095
|
-
this.
|
|
3096
|
-
this.
|
|
3095
|
+
this.mdv_1.x6x(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
3096
|
+
this.mdv_1.x6x(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
3097
3097
|
};
|
|
3098
3098
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
3099
|
-
this.
|
|
3099
|
+
this.mdv_1.x6x(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
3100
3100
|
};
|
|
3101
3101
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
3102
|
-
this.
|
|
3102
|
+
this.mdv_1.x6x(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
3103
3103
|
};
|
|
3104
3104
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
3105
3105
|
this.b56().d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
3106
|
-
this.
|
|
3106
|
+
this.mdv_1.x6x(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
3107
3107
|
};
|
|
3108
|
-
protoOf(GameServer).
|
|
3108
|
+
protoOf(GameServer).we4 = function (newRid) {
|
|
3109
3109
|
this.b56().d('GameEngine_API', 'roomOnDelete: newRid = ' + newRid);
|
|
3110
|
-
this.
|
|
3110
|
+
this.mdv_1.x6x(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
3111
3111
|
};
|
|
3112
3112
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
3113
3113
|
this.b56().d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
3114
|
-
this.
|
|
3114
|
+
this.mdv_1.x6x(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
3115
3115
|
};
|
|
3116
|
-
protoOf(GameServer).
|
|
3116
|
+
protoOf(GameServer).xe4 = function (reason, roomId) {
|
|
3117
3117
|
this.b56().d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
3118
|
-
this.
|
|
3118
|
+
this.mdv_1.x6x(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
3119
3119
|
};
|
|
3120
3120
|
protoOf(GameServer).clear = function () {
|
|
3121
3121
|
return this.h2();
|
|
@@ -3166,10 +3166,10 @@
|
|
|
3166
3166
|
this.fromRound = fromRound;
|
|
3167
3167
|
this.canStartNewGame = canStartNewGame;
|
|
3168
3168
|
}
|
|
3169
|
-
protoOf(ServerConfig).
|
|
3169
|
+
protoOf(ServerConfig).ye4 = function () {
|
|
3170
3170
|
return this.fromRound;
|
|
3171
3171
|
};
|
|
3172
|
-
protoOf(ServerConfig).
|
|
3172
|
+
protoOf(ServerConfig).ze4 = function () {
|
|
3173
3173
|
return this.canStartNewGame;
|
|
3174
3174
|
};
|
|
3175
3175
|
protoOf(ServerConfig).ne = function () {
|
|
@@ -3178,13 +3178,13 @@
|
|
|
3178
3178
|
protoOf(ServerConfig).oe = function () {
|
|
3179
3179
|
return this.canStartNewGame;
|
|
3180
3180
|
};
|
|
3181
|
-
protoOf(ServerConfig).
|
|
3181
|
+
protoOf(ServerConfig).ae5 = function (fromRound, canStartNewGame) {
|
|
3182
3182
|
return new ServerConfig(fromRound, canStartNewGame);
|
|
3183
3183
|
};
|
|
3184
3184
|
protoOf(ServerConfig).copy = function (fromRound, canStartNewGame, $super) {
|
|
3185
3185
|
fromRound = fromRound === VOID ? this.fromRound : fromRound;
|
|
3186
3186
|
canStartNewGame = canStartNewGame === VOID ? this.canStartNewGame : canStartNewGame;
|
|
3187
|
-
return $super === VOID ? this.
|
|
3187
|
+
return $super === VOID ? this.ae5(fromRound, canStartNewGame) : $super.ae5.call(this, fromRound, canStartNewGame);
|
|
3188
3188
|
};
|
|
3189
3189
|
protoOf(ServerConfig).toString = function () {
|
|
3190
3190
|
return 'ServerConfig(fromRound=' + this.fromRound + ', canStartNewGame=' + this.canStartNewGame + ')';
|
|
@@ -3246,20 +3246,20 @@
|
|
|
3246
3246
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.TableStateUpdateDto', this, 2);
|
|
3247
3247
|
tmp0_serialDesc.gz('roomId', false);
|
|
3248
3248
|
tmp0_serialDesc.gz('table', false);
|
|
3249
|
-
this.
|
|
3249
|
+
this.be5_1 = tmp0_serialDesc;
|
|
3250
3250
|
}
|
|
3251
|
-
protoOf($serializer).
|
|
3252
|
-
var tmp0_desc = this.
|
|
3251
|
+
protoOf($serializer).ce5 = function (encoder, value) {
|
|
3252
|
+
var tmp0_desc = this.be5_1;
|
|
3253
3253
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3254
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
3254
|
+
tmp1_output.dt(tmp0_desc, 0, value.de5_1);
|
|
3255
3255
|
tmp1_output.dt(tmp0_desc, 1, value.table);
|
|
3256
3256
|
tmp1_output.pr(tmp0_desc);
|
|
3257
3257
|
};
|
|
3258
3258
|
protoOf($serializer).co = function (encoder, value) {
|
|
3259
|
-
return this.
|
|
3259
|
+
return this.ce5(encoder, value instanceof TableStateUpdateDto ? value : THROW_CCE());
|
|
3260
3260
|
};
|
|
3261
3261
|
protoOf($serializer).do = function (decoder) {
|
|
3262
|
-
var tmp0_desc = this.
|
|
3262
|
+
var tmp0_desc = this.be5_1;
|
|
3263
3263
|
var tmp1_flag = true;
|
|
3264
3264
|
var tmp2_index = 0;
|
|
3265
3265
|
var tmp3_bitMask0 = 0;
|
|
@@ -3294,7 +3294,7 @@
|
|
|
3294
3294
|
return TableStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3295
3295
|
};
|
|
3296
3296
|
protoOf($serializer).bo = function () {
|
|
3297
|
-
return this.
|
|
3297
|
+
return this.be5_1;
|
|
3298
3298
|
};
|
|
3299
3299
|
protoOf($serializer).vz = function () {
|
|
3300
3300
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3310,9 +3310,9 @@
|
|
|
3310
3310
|
}
|
|
3311
3311
|
function TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, $this) {
|
|
3312
3312
|
if (!(3 === (3 & seen0))) {
|
|
3313
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance().
|
|
3313
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance().be5_1);
|
|
3314
3314
|
}
|
|
3315
|
-
$this.
|
|
3315
|
+
$this.de5_1 = roomId;
|
|
3316
3316
|
$this.table = table;
|
|
3317
3317
|
return $this;
|
|
3318
3318
|
}
|
|
@@ -3320,17 +3320,17 @@
|
|
|
3320
3320
|
return TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, objectCreate(protoOf(TableStateUpdateDto)));
|
|
3321
3321
|
}
|
|
3322
3322
|
function TableStateUpdateDto(roomId, table) {
|
|
3323
|
-
this.
|
|
3323
|
+
this.de5_1 = roomId;
|
|
3324
3324
|
this.table = table;
|
|
3325
3325
|
}
|
|
3326
3326
|
protoOf(TableStateUpdateDto).p8w = function () {
|
|
3327
|
-
return this.
|
|
3327
|
+
return this.de5_1;
|
|
3328
3328
|
};
|
|
3329
3329
|
protoOf(TableStateUpdateDto).z6x = function () {
|
|
3330
3330
|
return this.table;
|
|
3331
3331
|
};
|
|
3332
3332
|
protoOf(TableStateUpdateDto).ne = function () {
|
|
3333
|
-
return this.
|
|
3333
|
+
return this.de5_1;
|
|
3334
3334
|
};
|
|
3335
3335
|
protoOf(TableStateUpdateDto).oe = function () {
|
|
3336
3336
|
return this.table;
|
|
@@ -3339,15 +3339,15 @@
|
|
|
3339
3339
|
return new TableStateUpdateDto(roomId, table);
|
|
3340
3340
|
};
|
|
3341
3341
|
protoOf(TableStateUpdateDto).copy = function (roomId, table, $super) {
|
|
3342
|
-
roomId = roomId === VOID ? this.
|
|
3342
|
+
roomId = roomId === VOID ? this.de5_1 : roomId;
|
|
3343
3343
|
table = table === VOID ? this.table : table;
|
|
3344
3344
|
return $super === VOID ? this.z5j(roomId, table) : $super.z5j.call(this, roomId, table);
|
|
3345
3345
|
};
|
|
3346
3346
|
protoOf(TableStateUpdateDto).toString = function () {
|
|
3347
|
-
return 'TableStateUpdateDto(roomId=' + this.
|
|
3347
|
+
return 'TableStateUpdateDto(roomId=' + this.de5_1 + ', table=' + this.table + ')';
|
|
3348
3348
|
};
|
|
3349
3349
|
protoOf(TableStateUpdateDto).hashCode = function () {
|
|
3350
|
-
var result = getStringHashCode(this.
|
|
3350
|
+
var result = getStringHashCode(this.de5_1);
|
|
3351
3351
|
result = imul(result, 31) + getStringHashCode(this.table) | 0;
|
|
3352
3352
|
return result;
|
|
3353
3353
|
};
|
|
@@ -3356,7 +3356,7 @@
|
|
|
3356
3356
|
return true;
|
|
3357
3357
|
if (!(other instanceof TableStateUpdateDto))
|
|
3358
3358
|
return false;
|
|
3359
|
-
if (!(this.
|
|
3359
|
+
if (!(this.de5_1 === other.de5_1))
|
|
3360
3360
|
return false;
|
|
3361
3361
|
if (!(this.table === other.table))
|
|
3362
3362
|
return false;
|
|
@@ -3376,20 +3376,20 @@
|
|
|
3376
3376
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.ActionsStateUpdateDto', this, 2);
|
|
3377
3377
|
tmp0_serialDesc.gz('roomId', false);
|
|
3378
3378
|
tmp0_serialDesc.gz('actions', false);
|
|
3379
|
-
this.
|
|
3379
|
+
this.ee5_1 = tmp0_serialDesc;
|
|
3380
3380
|
}
|
|
3381
|
-
protoOf($serializer_0).
|
|
3382
|
-
var tmp0_desc = this.
|
|
3381
|
+
protoOf($serializer_0).fe5 = function (encoder, value) {
|
|
3382
|
+
var tmp0_desc = this.ee5_1;
|
|
3383
3383
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3384
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
3384
|
+
tmp1_output.dt(tmp0_desc, 0, value.ge5_1);
|
|
3385
3385
|
tmp1_output.dt(tmp0_desc, 1, value.actions);
|
|
3386
3386
|
tmp1_output.pr(tmp0_desc);
|
|
3387
3387
|
};
|
|
3388
3388
|
protoOf($serializer_0).co = function (encoder, value) {
|
|
3389
|
-
return this.
|
|
3389
|
+
return this.fe5(encoder, value instanceof ActionsStateUpdateDto ? value : THROW_CCE());
|
|
3390
3390
|
};
|
|
3391
3391
|
protoOf($serializer_0).do = function (decoder) {
|
|
3392
|
-
var tmp0_desc = this.
|
|
3392
|
+
var tmp0_desc = this.ee5_1;
|
|
3393
3393
|
var tmp1_flag = true;
|
|
3394
3394
|
var tmp2_index = 0;
|
|
3395
3395
|
var tmp3_bitMask0 = 0;
|
|
@@ -3424,7 +3424,7 @@
|
|
|
3424
3424
|
return ActionsStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3425
3425
|
};
|
|
3426
3426
|
protoOf($serializer_0).bo = function () {
|
|
3427
|
-
return this.
|
|
3427
|
+
return this.ee5_1;
|
|
3428
3428
|
};
|
|
3429
3429
|
protoOf($serializer_0).vz = function () {
|
|
3430
3430
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3440,9 +3440,9 @@
|
|
|
3440
3440
|
}
|
|
3441
3441
|
function ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, $this) {
|
|
3442
3442
|
if (!(3 === (3 & seen0))) {
|
|
3443
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().
|
|
3443
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().ee5_1);
|
|
3444
3444
|
}
|
|
3445
|
-
$this.
|
|
3445
|
+
$this.ge5_1 = roomId;
|
|
3446
3446
|
$this.actions = actions;
|
|
3447
3447
|
return $this;
|
|
3448
3448
|
}
|
|
@@ -3450,17 +3450,17 @@
|
|
|
3450
3450
|
return ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, objectCreate(protoOf(ActionsStateUpdateDto)));
|
|
3451
3451
|
}
|
|
3452
3452
|
function ActionsStateUpdateDto(roomId, actions) {
|
|
3453
|
-
this.
|
|
3453
|
+
this.ge5_1 = roomId;
|
|
3454
3454
|
this.actions = actions;
|
|
3455
3455
|
}
|
|
3456
3456
|
protoOf(ActionsStateUpdateDto).p8w = function () {
|
|
3457
|
-
return this.
|
|
3457
|
+
return this.ge5_1;
|
|
3458
3458
|
};
|
|
3459
3459
|
protoOf(ActionsStateUpdateDto).c8x = function () {
|
|
3460
3460
|
return this.actions;
|
|
3461
3461
|
};
|
|
3462
3462
|
protoOf(ActionsStateUpdateDto).ne = function () {
|
|
3463
|
-
return this.
|
|
3463
|
+
return this.ge5_1;
|
|
3464
3464
|
};
|
|
3465
3465
|
protoOf(ActionsStateUpdateDto).oe = function () {
|
|
3466
3466
|
return this.actions;
|
|
@@ -3469,15 +3469,15 @@
|
|
|
3469
3469
|
return new ActionsStateUpdateDto(roomId, actions);
|
|
3470
3470
|
};
|
|
3471
3471
|
protoOf(ActionsStateUpdateDto).copy = function (roomId, actions, $super) {
|
|
3472
|
-
roomId = roomId === VOID ? this.
|
|
3472
|
+
roomId = roomId === VOID ? this.ge5_1 : roomId;
|
|
3473
3473
|
actions = actions === VOID ? this.actions : actions;
|
|
3474
3474
|
return $super === VOID ? this.z5j(roomId, actions) : $super.z5j.call(this, roomId, actions);
|
|
3475
3475
|
};
|
|
3476
3476
|
protoOf(ActionsStateUpdateDto).toString = function () {
|
|
3477
|
-
return 'ActionsStateUpdateDto(roomId=' + this.
|
|
3477
|
+
return 'ActionsStateUpdateDto(roomId=' + this.ge5_1 + ', actions=' + this.actions + ')';
|
|
3478
3478
|
};
|
|
3479
3479
|
protoOf(ActionsStateUpdateDto).hashCode = function () {
|
|
3480
|
-
var result = getStringHashCode(this.
|
|
3480
|
+
var result = getStringHashCode(this.ge5_1);
|
|
3481
3481
|
result = imul(result, 31) + getStringHashCode(this.actions) | 0;
|
|
3482
3482
|
return result;
|
|
3483
3483
|
};
|
|
@@ -3486,7 +3486,7 @@
|
|
|
3486
3486
|
return true;
|
|
3487
3487
|
if (!(other instanceof ActionsStateUpdateDto))
|
|
3488
3488
|
return false;
|
|
3489
|
-
if (!(this.
|
|
3489
|
+
if (!(this.ge5_1 === other.ge5_1))
|
|
3490
3490
|
return false;
|
|
3491
3491
|
if (!(this.actions === other.actions))
|
|
3492
3492
|
return false;
|
|
@@ -3516,42 +3516,42 @@
|
|
|
3516
3516
|
var tmp$ret$0 = mapToDto(item);
|
|
3517
3517
|
destination.j(tmp$ret$0);
|
|
3518
3518
|
}
|
|
3519
|
-
return new ActionsStateUpdateDto(_this__u8e3s4.
|
|
3519
|
+
return new ActionsStateUpdateDto(_this__u8e3s4.he5_1, encoderDecoderProvider.w93(destination));
|
|
3520
3520
|
}
|
|
3521
3521
|
function mapToDto_3(_this__u8e3s4, encoderDecoderProvider) {
|
|
3522
|
-
return new TableStateUpdateDto(_this__u8e3s4.
|
|
3522
|
+
return new TableStateUpdateDto(_this__u8e3s4.ie5_1, encoderDecoderProvider.u93(mapToDto_0(_this__u8e3s4.table)));
|
|
3523
3523
|
}
|
|
3524
3524
|
function ServerStateUpdate() {
|
|
3525
3525
|
}
|
|
3526
3526
|
function TableStateUpdate(roomId, table) {
|
|
3527
|
-
this.
|
|
3527
|
+
this.ie5_1 = roomId;
|
|
3528
3528
|
this.table = table;
|
|
3529
3529
|
}
|
|
3530
3530
|
protoOf(TableStateUpdate).p8w = function () {
|
|
3531
|
-
return this.
|
|
3531
|
+
return this.ie5_1;
|
|
3532
3532
|
};
|
|
3533
3533
|
protoOf(TableStateUpdate).z6x = function () {
|
|
3534
3534
|
return this.table;
|
|
3535
3535
|
};
|
|
3536
3536
|
protoOf(TableStateUpdate).ne = function () {
|
|
3537
|
-
return this.
|
|
3537
|
+
return this.ie5_1;
|
|
3538
3538
|
};
|
|
3539
3539
|
protoOf(TableStateUpdate).oe = function () {
|
|
3540
3540
|
return this.table;
|
|
3541
3541
|
};
|
|
3542
|
-
protoOf(TableStateUpdate).
|
|
3542
|
+
protoOf(TableStateUpdate).je5 = function (roomId, table) {
|
|
3543
3543
|
return new TableStateUpdate(roomId, table);
|
|
3544
3544
|
};
|
|
3545
3545
|
protoOf(TableStateUpdate).copy = function (roomId, table, $super) {
|
|
3546
|
-
roomId = roomId === VOID ? this.
|
|
3546
|
+
roomId = roomId === VOID ? this.ie5_1 : roomId;
|
|
3547
3547
|
table = table === VOID ? this.table : table;
|
|
3548
|
-
return $super === VOID ? this.
|
|
3548
|
+
return $super === VOID ? this.je5(roomId, table) : $super.je5.call(this, roomId, table);
|
|
3549
3549
|
};
|
|
3550
3550
|
protoOf(TableStateUpdate).toString = function () {
|
|
3551
|
-
return 'TableStateUpdate(roomId=' + this.
|
|
3551
|
+
return 'TableStateUpdate(roomId=' + this.ie5_1 + ', table=' + this.table.toString() + ')';
|
|
3552
3552
|
};
|
|
3553
3553
|
protoOf(TableStateUpdate).hashCode = function () {
|
|
3554
|
-
var result = getStringHashCode(this.
|
|
3554
|
+
var result = getStringHashCode(this.ie5_1);
|
|
3555
3555
|
result = imul(result, 31) + this.table.hashCode() | 0;
|
|
3556
3556
|
return result;
|
|
3557
3557
|
};
|
|
@@ -3560,41 +3560,41 @@
|
|
|
3560
3560
|
return true;
|
|
3561
3561
|
if (!(other instanceof TableStateUpdate))
|
|
3562
3562
|
return false;
|
|
3563
|
-
if (!(this.
|
|
3563
|
+
if (!(this.ie5_1 === other.ie5_1))
|
|
3564
3564
|
return false;
|
|
3565
3565
|
if (!this.table.equals(other.table))
|
|
3566
3566
|
return false;
|
|
3567
3567
|
return true;
|
|
3568
3568
|
};
|
|
3569
3569
|
function ActionsStateUpdate(roomId, actions) {
|
|
3570
|
-
this.
|
|
3570
|
+
this.he5_1 = roomId;
|
|
3571
3571
|
this.actions = actions;
|
|
3572
3572
|
}
|
|
3573
3573
|
protoOf(ActionsStateUpdate).p8w = function () {
|
|
3574
|
-
return this.
|
|
3574
|
+
return this.he5_1;
|
|
3575
3575
|
};
|
|
3576
3576
|
protoOf(ActionsStateUpdate).c8x = function () {
|
|
3577
3577
|
return this.actions;
|
|
3578
3578
|
};
|
|
3579
3579
|
protoOf(ActionsStateUpdate).ne = function () {
|
|
3580
|
-
return this.
|
|
3580
|
+
return this.he5_1;
|
|
3581
3581
|
};
|
|
3582
3582
|
protoOf(ActionsStateUpdate).oe = function () {
|
|
3583
3583
|
return this.actions;
|
|
3584
3584
|
};
|
|
3585
|
-
protoOf(ActionsStateUpdate).
|
|
3585
|
+
protoOf(ActionsStateUpdate).ke5 = function (roomId, actions) {
|
|
3586
3586
|
return new ActionsStateUpdate(roomId, actions);
|
|
3587
3587
|
};
|
|
3588
3588
|
protoOf(ActionsStateUpdate).copy = function (roomId, actions, $super) {
|
|
3589
|
-
roomId = roomId === VOID ? this.
|
|
3589
|
+
roomId = roomId === VOID ? this.he5_1 : roomId;
|
|
3590
3590
|
actions = actions === VOID ? this.actions : actions;
|
|
3591
|
-
return $super === VOID ? this.
|
|
3591
|
+
return $super === VOID ? this.ke5(roomId, actions) : $super.ke5.call(this, roomId, actions);
|
|
3592
3592
|
};
|
|
3593
3593
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
3594
|
-
return 'ActionsStateUpdate(roomId=' + this.
|
|
3594
|
+
return 'ActionsStateUpdate(roomId=' + this.he5_1 + ', actions=' + toString(this.actions) + ')';
|
|
3595
3595
|
};
|
|
3596
3596
|
protoOf(ActionsStateUpdate).hashCode = function () {
|
|
3597
|
-
var result = getStringHashCode(this.
|
|
3597
|
+
var result = getStringHashCode(this.he5_1);
|
|
3598
3598
|
result = imul(result, 31) + hashCode(this.actions) | 0;
|
|
3599
3599
|
return result;
|
|
3600
3600
|
};
|
|
@@ -3603,7 +3603,7 @@
|
|
|
3603
3603
|
return true;
|
|
3604
3604
|
if (!(other instanceof ActionsStateUpdate))
|
|
3605
3605
|
return false;
|
|
3606
|
-
if (!(this.
|
|
3606
|
+
if (!(this.he5_1 === other.he5_1))
|
|
3607
3607
|
return false;
|
|
3608
3608
|
if (!equals(this.actions, other.actions))
|
|
3609
3609
|
return false;
|
|
@@ -3837,18 +3837,18 @@
|
|
|
3837
3837
|
function ToClientEventsObserver() {
|
|
3838
3838
|
}
|
|
3839
3839
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
3840
|
-
this.
|
|
3841
|
-
this.
|
|
3840
|
+
this.ue5_1 = this$0;
|
|
3841
|
+
this.ve5_1 = $actions;
|
|
3842
3842
|
CoroutineImpl.call(this, resultContinuation);
|
|
3843
3843
|
}
|
|
3844
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3845
|
-
var tmp = this.
|
|
3844
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).ye5 = function ($this$flow, $completion) {
|
|
3845
|
+
var tmp = this.ze5($this$flow, $completion);
|
|
3846
3846
|
tmp.t8_1 = Unit_instance;
|
|
3847
3847
|
tmp.u8_1 = null;
|
|
3848
3848
|
return tmp.z8();
|
|
3849
3849
|
};
|
|
3850
3850
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).h9 = function (p1, $completion) {
|
|
3851
|
-
return this.
|
|
3851
|
+
return this.ye5((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
3852
3852
|
};
|
|
3853
3853
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).z8 = function () {
|
|
3854
3854
|
var suspendResult = this.t8_1;
|
|
@@ -3858,19 +3858,19 @@
|
|
|
3858
3858
|
switch (tmp) {
|
|
3859
3859
|
case 0:
|
|
3860
3860
|
this.s8_1 = 4;
|
|
3861
|
-
this.
|
|
3862
|
-
this.
|
|
3861
|
+
this.ue5_1.ee6_1;
|
|
3862
|
+
this.xe5_1 = transformToEmits(this.ue5_1, this.ve5_1).l();
|
|
3863
3863
|
this.r8_1 = 1;
|
|
3864
3864
|
continue $sm;
|
|
3865
3865
|
case 1:
|
|
3866
|
-
if (!this.
|
|
3866
|
+
if (!this.xe5_1.m()) {
|
|
3867
3867
|
this.r8_1 = 3;
|
|
3868
3868
|
continue $sm;
|
|
3869
3869
|
}
|
|
3870
3870
|
|
|
3871
|
-
var element = this.
|
|
3871
|
+
var element = this.xe5_1.n();
|
|
3872
3872
|
this.r8_1 = 2;
|
|
3873
|
-
suspendResult = this.
|
|
3873
|
+
suspendResult = this.we5_1.i24(element, this);
|
|
3874
3874
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3875
3875
|
return suspendResult;
|
|
3876
3876
|
}
|
|
@@ -3880,11 +3880,11 @@
|
|
|
3880
3880
|
this.r8_1 = 1;
|
|
3881
3881
|
continue $sm;
|
|
3882
3882
|
case 3:
|
|
3883
|
-
var tmp0 = this.
|
|
3883
|
+
var tmp0 = this.ue5_1.de6_1;
|
|
3884
3884
|
l$ret$1: do {
|
|
3885
3885
|
while (true) {
|
|
3886
3886
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
3887
|
-
var upd = cur - this.
|
|
3887
|
+
var upd = cur - this.ve5_1.o() | 0;
|
|
3888
3888
|
if (tmp0.atomicfu$compareAndSet(cur, upd)) {
|
|
3889
3889
|
break l$ret$1;
|
|
3890
3890
|
}
|
|
@@ -3906,15 +3906,15 @@
|
|
|
3906
3906
|
}
|
|
3907
3907
|
while (true);
|
|
3908
3908
|
};
|
|
3909
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3910
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
3911
|
-
i.
|
|
3909
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).ze5 = function ($this$flow, completion) {
|
|
3910
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.ue5_1, this.ve5_1, completion);
|
|
3911
|
+
i.we5_1 = $this$flow;
|
|
3912
3912
|
return i;
|
|
3913
3913
|
};
|
|
3914
3914
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
3915
3915
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
3916
3916
|
var l = function ($this$flow, $completion) {
|
|
3917
|
-
return i.
|
|
3917
|
+
return i.ye5($this$flow, $completion);
|
|
3918
3918
|
};
|
|
3919
3919
|
l.$arity = 1;
|
|
3920
3920
|
return l;
|
|
@@ -3984,29 +3984,29 @@
|
|
|
3984
3984
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
3985
3985
|
}
|
|
3986
3986
|
function mapFromGroupKey($this, _this__u8e3s4) {
|
|
3987
|
-
var tmp = $this.
|
|
3987
|
+
var tmp = $this.ce6_1.y6m();
|
|
3988
3988
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3989
|
-
var this_0 = _this__u8e3s4.
|
|
3989
|
+
var this_0 = _this__u8e3s4.he6_1;
|
|
3990
3990
|
var tmp_0 = copyToArray(this_0);
|
|
3991
3991
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3992
|
-
var this_1 = _this__u8e3s4.
|
|
3992
|
+
var this_1 = _this__u8e3s4.ie6_1;
|
|
3993
3993
|
var tmp$ret$1 = copyToArray(this_1);
|
|
3994
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
3994
|
+
return new ActionDeliveryPayload(_this__u8e3s4.ge6_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.je6_1);
|
|
3995
3995
|
}
|
|
3996
3996
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
3997
|
-
this.
|
|
3998
|
-
this.
|
|
3999
|
-
this.
|
|
4000
|
-
this.
|
|
3997
|
+
this.ge6_1 = tableId;
|
|
3998
|
+
this.he6_1 = includePlayers;
|
|
3999
|
+
this.ie6_1 = excludePlayers;
|
|
4000
|
+
this.je6_1 = deliveryType;
|
|
4001
4001
|
}
|
|
4002
4002
|
protoOf(GroupKey).toString = function () {
|
|
4003
|
-
return 'GroupKey(tableId=' + this.
|
|
4003
|
+
return 'GroupKey(tableId=' + this.ge6_1 + ', includePlayers=' + toString(this.he6_1) + ', excludePlayers=' + toString(this.ie6_1) + ', deliveryType=' + this.je6_1.toString() + ')';
|
|
4004
4004
|
};
|
|
4005
4005
|
protoOf(GroupKey).hashCode = function () {
|
|
4006
|
-
var result = getStringHashCode(this.
|
|
4007
|
-
result = imul(result, 31) + hashCode(this.
|
|
4008
|
-
result = imul(result, 31) + hashCode(this.
|
|
4009
|
-
result = imul(result, 31) + this.
|
|
4006
|
+
var result = getStringHashCode(this.ge6_1);
|
|
4007
|
+
result = imul(result, 31) + hashCode(this.he6_1) | 0;
|
|
4008
|
+
result = imul(result, 31) + hashCode(this.ie6_1) | 0;
|
|
4009
|
+
result = imul(result, 31) + this.je6_1.hashCode() | 0;
|
|
4010
4010
|
return result;
|
|
4011
4011
|
};
|
|
4012
4012
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -4014,35 +4014,35 @@
|
|
|
4014
4014
|
return true;
|
|
4015
4015
|
if (!(other instanceof GroupKey))
|
|
4016
4016
|
return false;
|
|
4017
|
-
if (!(this.
|
|
4017
|
+
if (!(this.ge6_1 === other.ge6_1))
|
|
4018
4018
|
return false;
|
|
4019
|
-
if (!equals(this.
|
|
4019
|
+
if (!equals(this.he6_1, other.he6_1))
|
|
4020
4020
|
return false;
|
|
4021
|
-
if (!equals(this.
|
|
4021
|
+
if (!equals(this.ie6_1, other.ie6_1))
|
|
4022
4022
|
return false;
|
|
4023
|
-
if (!this.
|
|
4023
|
+
if (!this.je6_1.equals(other.je6_1))
|
|
4024
4024
|
return false;
|
|
4025
4025
|
return true;
|
|
4026
4026
|
};
|
|
4027
4027
|
function Companion_4() {
|
|
4028
|
-
this.
|
|
4028
|
+
this.ke6_1 = 6;
|
|
4029
4029
|
}
|
|
4030
4030
|
var Companion_instance_12;
|
|
4031
4031
|
function Companion_getInstance_5() {
|
|
4032
4032
|
return Companion_instance_12;
|
|
4033
4033
|
}
|
|
4034
4034
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
4035
|
-
this.
|
|
4035
|
+
this.te6_1 = this$0;
|
|
4036
4036
|
CoroutineImpl.call(this, resultContinuation);
|
|
4037
4037
|
}
|
|
4038
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
4039
|
-
var tmp = this.
|
|
4038
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).ve6 = function (actions, $completion) {
|
|
4039
|
+
var tmp = this.we6(actions, $completion);
|
|
4040
4040
|
tmp.t8_1 = Unit_instance;
|
|
4041
4041
|
tmp.u8_1 = null;
|
|
4042
4042
|
return tmp.z8();
|
|
4043
4043
|
};
|
|
4044
4044
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).h9 = function (p1, $completion) {
|
|
4045
|
-
return this.
|
|
4045
|
+
return this.ve6((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
4046
4046
|
};
|
|
4047
4047
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).z8 = function () {
|
|
4048
4048
|
var suspendResult = this.t8_1;
|
|
@@ -4051,7 +4051,7 @@
|
|
|
4051
4051
|
var tmp = this.r8_1;
|
|
4052
4052
|
if (tmp === 0) {
|
|
4053
4053
|
this.s8_1 = 1;
|
|
4054
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
4054
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.te6_1, this.ue6_1, null));
|
|
4055
4055
|
} else if (tmp === 1) {
|
|
4056
4056
|
throw this.u8_1;
|
|
4057
4057
|
}
|
|
@@ -4061,23 +4061,23 @@
|
|
|
4061
4061
|
}
|
|
4062
4062
|
while (true);
|
|
4063
4063
|
};
|
|
4064
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
4065
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
4066
|
-
i.
|
|
4064
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).we6 = function (actions, completion) {
|
|
4065
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.te6_1, completion);
|
|
4066
|
+
i.ue6_1 = actions;
|
|
4067
4067
|
return i;
|
|
4068
4068
|
};
|
|
4069
4069
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
4070
4070
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
4071
4071
|
var l = function (actions, $completion) {
|
|
4072
|
-
return i.
|
|
4072
|
+
return i.ve6(actions, $completion);
|
|
4073
4073
|
};
|
|
4074
4074
|
l.$arity = 1;
|
|
4075
4075
|
return l;
|
|
4076
4076
|
}
|
|
4077
4077
|
function $sentEventCOROUTINE$(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
4078
4078
|
CoroutineImpl.call(this, resultContinuation);
|
|
4079
|
-
this.
|
|
4080
|
-
this.
|
|
4079
|
+
this.fe7_1 = _this__u8e3s4;
|
|
4080
|
+
this.ge7_1 = fromEvent;
|
|
4081
4081
|
}
|
|
4082
4082
|
protoOf($sentEventCOROUTINE$).z8 = function () {
|
|
4083
4083
|
var suspendResult = this.t8_1;
|
|
@@ -4087,8 +4087,8 @@
|
|
|
4087
4087
|
switch (tmp) {
|
|
4088
4088
|
case 0:
|
|
4089
4089
|
this.s8_1 = 2;
|
|
4090
|
-
this.
|
|
4091
|
-
var tmp0 = this.
|
|
4090
|
+
this.fe7_1.ee6_1;
|
|
4091
|
+
var tmp0 = this.fe7_1.de6_1;
|
|
4092
4092
|
l$ret$1: do {
|
|
4093
4093
|
while (true) {
|
|
4094
4094
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
@@ -4100,7 +4100,7 @@
|
|
|
4100
4100
|
}
|
|
4101
4101
|
while (false);
|
|
4102
4102
|
this.r8_1 = 1;
|
|
4103
|
-
suspendResult = this.
|
|
4103
|
+
suspendResult = this.fe7_1.fe6_1.i24(this.ge7_1, this);
|
|
4104
4104
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4105
4105
|
return suspendResult;
|
|
4106
4106
|
}
|
|
@@ -4124,7 +4124,7 @@
|
|
|
4124
4124
|
};
|
|
4125
4125
|
function $waitForCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
4126
4126
|
CoroutineImpl.call(this, resultContinuation);
|
|
4127
|
-
this.
|
|
4127
|
+
this.pe7_1 = _this__u8e3s4;
|
|
4128
4128
|
}
|
|
4129
4129
|
protoOf($waitForCOROUTINE$).z8 = function () {
|
|
4130
4130
|
var suspendResult = this.t8_1;
|
|
@@ -4134,12 +4134,12 @@
|
|
|
4134
4134
|
switch (tmp) {
|
|
4135
4135
|
case 0:
|
|
4136
4136
|
this.s8_1 = 5;
|
|
4137
|
-
this.
|
|
4138
|
-
this.
|
|
4137
|
+
this.pe7_1.ee6_1;
|
|
4138
|
+
this.qe7_1 = 0;
|
|
4139
4139
|
this.r8_1 = 1;
|
|
4140
4140
|
continue $sm;
|
|
4141
4141
|
case 1:
|
|
4142
|
-
if (!!(this.
|
|
4142
|
+
if (!!(this.pe7_1.de6_1.kotlinx$atomicfu$value === 0)) {
|
|
4143
4143
|
this.r8_1 = 4;
|
|
4144
4144
|
continue $sm;
|
|
4145
4145
|
}
|
|
@@ -4152,9 +4152,9 @@
|
|
|
4152
4152
|
|
|
4153
4153
|
continue $sm;
|
|
4154
4154
|
case 2:
|
|
4155
|
-
this.
|
|
4156
|
-
if (this.
|
|
4157
|
-
this.
|
|
4155
|
+
this.qe7_1 = this.qe7_1 + 1 | 0;
|
|
4156
|
+
if (this.qe7_1 > 6) {
|
|
4157
|
+
this.pe7_1.be6_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.pe7_1.de6_1.kotlinx$atomicfu$value);
|
|
4158
4158
|
this.r8_1 = 4;
|
|
4159
4159
|
continue $sm;
|
|
4160
4160
|
} else {
|
|
@@ -4182,16 +4182,16 @@
|
|
|
4182
4182
|
while (true);
|
|
4183
4183
|
};
|
|
4184
4184
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
4185
|
-
this.
|
|
4186
|
-
this.
|
|
4187
|
-
this.
|
|
4188
|
-
this.
|
|
4185
|
+
this.ae6_1 = serverReduxConfig;
|
|
4186
|
+
this.be6_1 = logger;
|
|
4187
|
+
this.ce6_1 = idsProvider;
|
|
4188
|
+
this.de6_1 = atomic$ref$1(0);
|
|
4189
4189
|
var tmp = this;
|
|
4190
4190
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
4191
|
-
tmp.
|
|
4192
|
-
this.
|
|
4191
|
+
tmp.ee6_1 = get_atomicfu$reentrantLock();
|
|
4192
|
+
this.fe6_1 = MutableSharedFlow();
|
|
4193
4193
|
}
|
|
4194
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4194
|
+
protoOf(ToClientEventsObserverImpl).le5 = function (fromEvent, $completion) {
|
|
4195
4195
|
var tmp = new $sentEventCOROUTINE$(this, fromEvent, $completion);
|
|
4196
4196
|
tmp.t8_1 = Unit_instance;
|
|
4197
4197
|
tmp.u8_1 = null;
|
|
@@ -4203,162 +4203,162 @@
|
|
|
4203
4203
|
tmp.u8_1 = null;
|
|
4204
4204
|
return tmp.z8();
|
|
4205
4205
|
};
|
|
4206
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4207
|
-
if (!this.
|
|
4208
|
-
return this.
|
|
4206
|
+
protoOf(ToClientEventsObserverImpl).bay = function () {
|
|
4207
|
+
if (!this.ae6_1.enabledCombinedEvents) {
|
|
4208
|
+
return this.fe6_1;
|
|
4209
4209
|
}
|
|
4210
|
-
var tmp = windowedByInterval(this.
|
|
4210
|
+
var tmp = windowedByInterval(this.fe6_1, fromInt(this.ae6_1.combinedEventsIntervalMillis));
|
|
4211
4211
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
4212
4212
|
};
|
|
4213
4213
|
function UpdateServerConfigAction(serverConfig) {
|
|
4214
|
-
this.
|
|
4214
|
+
this.re7_1 = serverConfig;
|
|
4215
4215
|
}
|
|
4216
4216
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
4217
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
4217
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.re7_1.toString() + ')';
|
|
4218
4218
|
};
|
|
4219
4219
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
4220
|
-
return this.
|
|
4220
|
+
return this.re7_1.hashCode();
|
|
4221
4221
|
};
|
|
4222
4222
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
4223
4223
|
if (this === other)
|
|
4224
4224
|
return true;
|
|
4225
4225
|
if (!(other instanceof UpdateServerConfigAction))
|
|
4226
4226
|
return false;
|
|
4227
|
-
if (!this.
|
|
4227
|
+
if (!this.re7_1.equals(other.re7_1))
|
|
4228
4228
|
return false;
|
|
4229
4229
|
return true;
|
|
4230
4230
|
};
|
|
4231
4231
|
function AddSpectatorsAction(spectators) {
|
|
4232
|
-
this.
|
|
4232
|
+
this.se7_1 = spectators;
|
|
4233
4233
|
}
|
|
4234
4234
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
4235
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
4235
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.se7_1) + ')';
|
|
4236
4236
|
};
|
|
4237
4237
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
4238
|
-
return hashCode(this.
|
|
4238
|
+
return hashCode(this.se7_1);
|
|
4239
4239
|
};
|
|
4240
4240
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
4241
4241
|
if (this === other)
|
|
4242
4242
|
return true;
|
|
4243
4243
|
if (!(other instanceof AddSpectatorsAction))
|
|
4244
4244
|
return false;
|
|
4245
|
-
if (!equals(this.
|
|
4245
|
+
if (!equals(this.se7_1, other.se7_1))
|
|
4246
4246
|
return false;
|
|
4247
4247
|
return true;
|
|
4248
4248
|
};
|
|
4249
4249
|
function RemoveSpectatorsAction(spectators) {
|
|
4250
|
-
this.
|
|
4250
|
+
this.te7_1 = spectators;
|
|
4251
4251
|
}
|
|
4252
4252
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
4253
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
4253
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.te7_1) + ')';
|
|
4254
4254
|
};
|
|
4255
4255
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
4256
|
-
return hashCode(this.
|
|
4256
|
+
return hashCode(this.te7_1);
|
|
4257
4257
|
};
|
|
4258
4258
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
4259
4259
|
if (this === other)
|
|
4260
4260
|
return true;
|
|
4261
4261
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
4262
4262
|
return false;
|
|
4263
|
-
if (!equals(this.
|
|
4263
|
+
if (!equals(this.te7_1, other.te7_1))
|
|
4264
4264
|
return false;
|
|
4265
4265
|
return true;
|
|
4266
4266
|
};
|
|
4267
4267
|
function SpectatorsAction() {
|
|
4268
4268
|
}
|
|
4269
4269
|
function _get_asyncProvider__jbpyhw($this) {
|
|
4270
|
-
var tmp0 = $this.
|
|
4270
|
+
var tmp0 = $this.ze7_1;
|
|
4271
4271
|
var tmp = KProperty1;
|
|
4272
4272
|
// Inline function 'kotlin.getValue' call
|
|
4273
4273
|
getPropertyCallableRef('asyncProvider', 1, tmp, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3_0(), null);
|
|
4274
4274
|
return tmp0.w();
|
|
4275
4275
|
}
|
|
4276
4276
|
function _get_logger__rkp4sl($this) {
|
|
4277
|
-
var tmp0 = $this.
|
|
4277
|
+
var tmp0 = $this.ae8_1;
|
|
4278
4278
|
var tmp = KProperty1;
|
|
4279
4279
|
// Inline function 'kotlin.getValue' call
|
|
4280
4280
|
getPropertyCallableRef('logger', 1, tmp, ServerGameStoreContract$_get_logger_$ref_zbgw28_0(), null);
|
|
4281
4281
|
return tmp0.w();
|
|
4282
4282
|
}
|
|
4283
4283
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
4284
|
-
var tmp0 = $this.
|
|
4284
|
+
var tmp0 = $this.be8_1;
|
|
4285
4285
|
var tmp = KProperty1;
|
|
4286
4286
|
// Inline function 'kotlin.getValue' call
|
|
4287
4287
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8_0(), null);
|
|
4288
4288
|
return tmp0.w();
|
|
4289
4289
|
}
|
|
4290
4290
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
4291
|
-
var tmp0 = $this.
|
|
4291
|
+
var tmp0 = $this.ce8_1;
|
|
4292
4292
|
var tmp = KProperty1;
|
|
4293
4293
|
// Inline function 'kotlin.getValue' call
|
|
4294
4294
|
getPropertyCallableRef('lastCardInteractor', 1, tmp, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh_0(), null);
|
|
4295
4295
|
return tmp0.w();
|
|
4296
4296
|
}
|
|
4297
4297
|
function _get_serverConfig__rk2g06($this) {
|
|
4298
|
-
var tmp0 = $this.
|
|
4298
|
+
var tmp0 = $this.de8_1;
|
|
4299
4299
|
var tmp = KProperty1;
|
|
4300
4300
|
// Inline function 'kotlin.getValue' call
|
|
4301
4301
|
getPropertyCallableRef('serverConfig', 1, tmp, ServerGameStoreContract$_get_serverConfig_$ref_bz2891_0(), null);
|
|
4302
4302
|
return tmp0.w();
|
|
4303
4303
|
}
|
|
4304
4304
|
function _get_logicConfig__52ww9d($this) {
|
|
4305
|
-
var tmp0 = $this.
|
|
4305
|
+
var tmp0 = $this.ee8_1;
|
|
4306
4306
|
var tmp = KProperty1;
|
|
4307
4307
|
// Inline function 'kotlin.getValue' call
|
|
4308
4308
|
getPropertyCallableRef('logicConfig', 1, tmp, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi_0(), null);
|
|
4309
4309
|
return tmp0.w();
|
|
4310
4310
|
}
|
|
4311
4311
|
function _get_idsProvider__fnfajc_0($this) {
|
|
4312
|
-
var tmp0 = $this.
|
|
4312
|
+
var tmp0 = $this.fe8_1;
|
|
4313
4313
|
var tmp = KProperty1;
|
|
4314
4314
|
// Inline function 'kotlin.getValue' call
|
|
4315
4315
|
getPropertyCallableRef('idsProvider', 1, tmp, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1_0(), null);
|
|
4316
4316
|
return tmp0.w();
|
|
4317
4317
|
}
|
|
4318
4318
|
function _get_botConfig__cpaxzc($this) {
|
|
4319
|
-
var tmp0 = $this.
|
|
4319
|
+
var tmp0 = $this.ge8_1;
|
|
4320
4320
|
var tmp = KProperty1;
|
|
4321
4321
|
// Inline function 'kotlin.getValue' call
|
|
4322
4322
|
getPropertyCallableRef('botConfig', 1, tmp, ServerGameStoreContract$_get_botConfig_$ref_nebw1d_0(), null);
|
|
4323
4323
|
return tmp0.w();
|
|
4324
4324
|
}
|
|
4325
4325
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
4326
|
-
var tmp0 = $this.
|
|
4326
|
+
var tmp0 = $this.he8_1;
|
|
4327
4327
|
var tmp = KProperty1;
|
|
4328
4328
|
// Inline function 'kotlin.getValue' call
|
|
4329
4329
|
getPropertyCallableRef('scenePositionProvider', 1, tmp, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4_0(), null);
|
|
4330
4330
|
return tmp0.w();
|
|
4331
4331
|
}
|
|
4332
4332
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
4333
|
-
var tmp0 = $this.
|
|
4333
|
+
var tmp0 = $this.ie8_1;
|
|
4334
4334
|
var tmp = KProperty1;
|
|
4335
4335
|
// Inline function 'kotlin.getValue' call
|
|
4336
4336
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p_0(), null);
|
|
4337
4337
|
return tmp0.w();
|
|
4338
4338
|
}
|
|
4339
4339
|
function _get_fromClientEventsObserver__a7vzd3_0($this) {
|
|
4340
|
-
var tmp0 = $this.
|
|
4340
|
+
var tmp0 = $this.je8_1;
|
|
4341
4341
|
var tmp = KProperty1;
|
|
4342
4342
|
// Inline function 'kotlin.getValue' call
|
|
4343
4343
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg_0(), null);
|
|
4344
4344
|
return tmp0.w();
|
|
4345
4345
|
}
|
|
4346
4346
|
function _get_dealerConfig__183ci8($this) {
|
|
4347
|
-
var tmp0 = $this.
|
|
4347
|
+
var tmp0 = $this.ke8_1;
|
|
4348
4348
|
var tmp = KProperty1;
|
|
4349
4349
|
// Inline function 'kotlin.getValue' call
|
|
4350
4350
|
getPropertyCallableRef('dealerConfig', 1, tmp, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp_0(), null);
|
|
4351
4351
|
return tmp0.w();
|
|
4352
4352
|
}
|
|
4353
4353
|
function _get_poolProvider__tqti6a($this) {
|
|
4354
|
-
var tmp0 = $this.
|
|
4354
|
+
var tmp0 = $this.le8_1;
|
|
4355
4355
|
var tmp = KProperty1;
|
|
4356
4356
|
// Inline function 'kotlin.getValue' call
|
|
4357
4357
|
getPropertyCallableRef('poolProvider', 1, tmp, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3_0(), null);
|
|
4358
4358
|
return tmp0.w();
|
|
4359
4359
|
}
|
|
4360
4360
|
function _get_cardsDealerProvider__bekjpg($this) {
|
|
4361
|
-
var tmp0 = $this.
|
|
4361
|
+
var tmp0 = $this.me8_1;
|
|
4362
4362
|
var tmp = KProperty1;
|
|
4363
4363
|
// Inline function 'kotlin.getValue' call
|
|
4364
4364
|
getPropertyCallableRef('cardsDealerProvider', 1, tmp, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj_0(), null);
|
|
@@ -4522,11 +4522,11 @@
|
|
|
4522
4522
|
tmp = fileLoggerStoreContract;
|
|
4523
4523
|
}
|
|
4524
4524
|
fileLoggerStoreContract = tmp;
|
|
4525
|
-
this.
|
|
4526
|
-
this.
|
|
4527
|
-
this.
|
|
4528
|
-
this.
|
|
4529
|
-
this.
|
|
4525
|
+
this.ue7_1 = validationStoreContract;
|
|
4526
|
+
this.ve7_1 = timersStoreContract;
|
|
4527
|
+
this.we7_1 = botGameStoreContract;
|
|
4528
|
+
this.xe7_1 = gameMechanicStoreContract;
|
|
4529
|
+
this.ye7_1 = fileLoggerStoreContract;
|
|
4530
4530
|
var tmp_0 = this;
|
|
4531
4531
|
// Inline function 'org.kodein.di.instance' call
|
|
4532
4532
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4534,7 +4534,7 @@
|
|
|
4534
4534
|
var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
|
|
4535
4535
|
var tmp_2 = Instance(di, tmp$ret$0, null);
|
|
4536
4536
|
var tmp_3 = KProperty1;
|
|
4537
|
-
tmp_0.
|
|
4537
|
+
tmp_0.ze7_1 = tmp_2.c1h(this, getPropertyCallableRef('asyncProvider', 1, tmp_3, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3(), null));
|
|
4538
4538
|
var tmp_4 = this;
|
|
4539
4539
|
// Inline function 'org.kodein.di.instance' call
|
|
4540
4540
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4542,7 +4542,7 @@
|
|
|
4542
4542
|
var tmp$ret$2 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
4543
4543
|
var tmp_6 = Instance(di, tmp$ret$2, null);
|
|
4544
4544
|
var tmp_7 = KProperty1;
|
|
4545
|
-
tmp_4.
|
|
4545
|
+
tmp_4.ae8_1 = tmp_6.c1h(this, getPropertyCallableRef('logger', 1, tmp_7, ServerGameStoreContract$_get_logger_$ref_zbgw28(), null));
|
|
4546
4546
|
var tmp_8 = this;
|
|
4547
4547
|
// Inline function 'org.kodein.di.instance' call
|
|
4548
4548
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4550,7 +4550,7 @@
|
|
|
4550
4550
|
var tmp$ret$4 = isInterface(tmp_9, TypeToken) ? tmp_9 : THROW_CCE();
|
|
4551
4551
|
var tmp_10 = Instance(di, tmp$ret$4, null);
|
|
4552
4552
|
var tmp_11 = KProperty1;
|
|
4553
|
-
tmp_8.
|
|
4553
|
+
tmp_8.be8_1 = tmp_10.c1h(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_11, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8(), null));
|
|
4554
4554
|
var tmp_12 = this;
|
|
4555
4555
|
// Inline function 'org.kodein.di.instance' call
|
|
4556
4556
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4558,7 +4558,7 @@
|
|
|
4558
4558
|
var tmp$ret$6 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
4559
4559
|
var tmp_14 = Instance(di, tmp$ret$6, null);
|
|
4560
4560
|
var tmp_15 = KProperty1;
|
|
4561
|
-
tmp_12.
|
|
4561
|
+
tmp_12.ce8_1 = tmp_14.c1h(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_15, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh(), null));
|
|
4562
4562
|
var tmp_16 = this;
|
|
4563
4563
|
// Inline function 'org.kodein.di.instance' call
|
|
4564
4564
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4566,7 +4566,7 @@
|
|
|
4566
4566
|
var tmp$ret$8 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
4567
4567
|
var tmp_18 = Instance(di, tmp$ret$8, null);
|
|
4568
4568
|
var tmp_19 = KProperty1;
|
|
4569
|
-
tmp_16.
|
|
4569
|
+
tmp_16.de8_1 = tmp_18.c1h(this, getPropertyCallableRef('serverConfig', 1, tmp_19, ServerGameStoreContract$_get_serverConfig_$ref_bz2891(), null));
|
|
4570
4570
|
var tmp_20 = this;
|
|
4571
4571
|
// Inline function 'org.kodein.di.instance' call
|
|
4572
4572
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4574,7 +4574,7 @@
|
|
|
4574
4574
|
var tmp$ret$10 = isInterface(tmp_21, TypeToken) ? tmp_21 : THROW_CCE();
|
|
4575
4575
|
var tmp_22 = Instance(di, tmp$ret$10, null);
|
|
4576
4576
|
var tmp_23 = KProperty1;
|
|
4577
|
-
tmp_20.
|
|
4577
|
+
tmp_20.ee8_1 = tmp_22.c1h(this, getPropertyCallableRef('logicConfig', 1, tmp_23, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi(), null));
|
|
4578
4578
|
var tmp_24 = this;
|
|
4579
4579
|
// Inline function 'org.kodein.di.instance' call
|
|
4580
4580
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4582,7 +4582,7 @@
|
|
|
4582
4582
|
var tmp$ret$12 = isInterface(tmp_25, TypeToken) ? tmp_25 : THROW_CCE();
|
|
4583
4583
|
var tmp_26 = Instance(di, tmp$ret$12, null);
|
|
4584
4584
|
var tmp_27 = KProperty1;
|
|
4585
|
-
tmp_24.
|
|
4585
|
+
tmp_24.fe8_1 = tmp_26.c1h(this, getPropertyCallableRef('idsProvider', 1, tmp_27, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1(), null));
|
|
4586
4586
|
var tmp_28 = this;
|
|
4587
4587
|
// Inline function 'org.kodein.di.instance' call
|
|
4588
4588
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4590,7 +4590,7 @@
|
|
|
4590
4590
|
var tmp$ret$14 = isInterface(tmp_29, TypeToken) ? tmp_29 : THROW_CCE();
|
|
4591
4591
|
var tmp_30 = Instance(di, tmp$ret$14, null);
|
|
4592
4592
|
var tmp_31 = KProperty1;
|
|
4593
|
-
tmp_28.
|
|
4593
|
+
tmp_28.ge8_1 = tmp_30.c1h(this, getPropertyCallableRef('botConfig', 1, tmp_31, ServerGameStoreContract$_get_botConfig_$ref_nebw1d(), null));
|
|
4594
4594
|
var tmp_32 = this;
|
|
4595
4595
|
// Inline function 'org.kodein.di.instance' call
|
|
4596
4596
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4598,7 +4598,7 @@
|
|
|
4598
4598
|
var tmp$ret$16 = isInterface(tmp_33, TypeToken) ? tmp_33 : THROW_CCE();
|
|
4599
4599
|
var tmp_34 = Instance(di, tmp$ret$16, null);
|
|
4600
4600
|
var tmp_35 = KProperty1;
|
|
4601
|
-
tmp_32.
|
|
4601
|
+
tmp_32.he8_1 = tmp_34.c1h(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_35, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4(), null));
|
|
4602
4602
|
var tmp_36 = this;
|
|
4603
4603
|
// Inline function 'org.kodein.di.instance' call
|
|
4604
4604
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4606,7 +4606,7 @@
|
|
|
4606
4606
|
var tmp$ret$18 = isInterface(tmp_37, TypeToken) ? tmp_37 : THROW_CCE();
|
|
4607
4607
|
var tmp_38 = Instance(di, tmp$ret$18, null);
|
|
4608
4608
|
var tmp_39 = KProperty1;
|
|
4609
|
-
tmp_36.
|
|
4609
|
+
tmp_36.ie8_1 = tmp_38.c1h(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_39, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p(), null));
|
|
4610
4610
|
var tmp_40 = this;
|
|
4611
4611
|
// Inline function 'org.kodein.di.instance' call
|
|
4612
4612
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4614,7 +4614,7 @@
|
|
|
4614
4614
|
var tmp$ret$20 = isInterface(tmp_41, TypeToken) ? tmp_41 : THROW_CCE();
|
|
4615
4615
|
var tmp_42 = Instance(di, tmp$ret$20, null);
|
|
4616
4616
|
var tmp_43 = KProperty1;
|
|
4617
|
-
tmp_40.
|
|
4617
|
+
tmp_40.je8_1 = tmp_42.c1h(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_43, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg(), null));
|
|
4618
4618
|
var tmp_44 = this;
|
|
4619
4619
|
// Inline function 'org.kodein.di.instance' call
|
|
4620
4620
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4622,7 +4622,7 @@
|
|
|
4622
4622
|
var tmp$ret$22 = isInterface(tmp_45, TypeToken) ? tmp_45 : THROW_CCE();
|
|
4623
4623
|
var tmp_46 = Instance(di, tmp$ret$22, null);
|
|
4624
4624
|
var tmp_47 = KProperty1;
|
|
4625
|
-
tmp_44.
|
|
4625
|
+
tmp_44.ke8_1 = tmp_46.c1h(this, getPropertyCallableRef('dealerConfig', 1, tmp_47, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp(), null));
|
|
4626
4626
|
var tmp_48 = this;
|
|
4627
4627
|
// Inline function 'org.kodein.di.instance' call
|
|
4628
4628
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4630,7 +4630,7 @@
|
|
|
4630
4630
|
var tmp$ret$24 = isInterface(tmp_49, TypeToken) ? tmp_49 : THROW_CCE();
|
|
4631
4631
|
var tmp_50 = Instance(di, tmp$ret$24, null);
|
|
4632
4632
|
var tmp_51 = KProperty1;
|
|
4633
|
-
tmp_48.
|
|
4633
|
+
tmp_48.le8_1 = tmp_50.c1h(this, getPropertyCallableRef('poolProvider', 1, tmp_51, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3(), null));
|
|
4634
4634
|
var tmp_52 = this;
|
|
4635
4635
|
// Inline function 'org.kodein.di.instance' call
|
|
4636
4636
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4638,13 +4638,13 @@
|
|
|
4638
4638
|
var tmp$ret$26 = isInterface(tmp_53, TypeToken) ? tmp_53 : THROW_CCE();
|
|
4639
4639
|
var tmp_54 = Instance(di, tmp$ret$26, null);
|
|
4640
4640
|
var tmp_55 = KProperty1;
|
|
4641
|
-
tmp_52.
|
|
4641
|
+
tmp_52.me8_1 = tmp_54.c1h(this, getPropertyCallableRef('cardsDealerProvider', 1, tmp_55, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj(), null));
|
|
4642
4642
|
}
|
|
4643
4643
|
protoOf(ServerGameStoreContract).o9h = function () {
|
|
4644
|
-
return plus(plus(plus(plus(plus(this.
|
|
4644
|
+
return plus(plus(plus(plus(plus(this.ue7_1.o9h(), this.xe7_1.o9h()), this.ve7_1.o9h()), this.we7_1.o9h()), this.ye7_1.o9h()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl(this))]));
|
|
4645
4645
|
};
|
|
4646
4646
|
protoOf(ServerGameStoreContract).p9h = function () {
|
|
4647
|
-
var tmp = plus(plus(plus(plus(plus(plus(plus(this.
|
|
4647
|
+
var tmp = plus(plus(plus(plus(plus(plus(plus(this.ue7_1.p9h(), listOfNotNull(_get_serverConfig__rk2g06(this).finishGameWhenNotLiveStrategy.equals(FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance()) ? checkBotsMiddleware(_get_logger__rkp4sl(this)) : null)), this.xe7_1.p9h()), this.ve7_1.p9h()), this.we7_1.p9h()), this.ye7_1.p9h()), listOfNotNull_0([playerConnectionUpdateMiddleware(_get_playerConnectionInteractor__si6cxf_0(this)), playerReconnectionWaitingTimerTickMiddleware(_get_playerConnectionInteractor__si6cxf_0(this))])), listOfNotNull_0([sendFromClientEventsMiddleware(_get_asyncProvider__jbpyhw(this), _get_fromClientEventsObserver__a7vzd3_0(this)), sendToClientActionMiddleware(_get_asyncProvider__jbpyhw(this), _get_toClientEventsObserver__6rp51y_0(this)), (new ServerMapMechanicToClientActionMiddleware(_get_logicConfig__52ww9d(this), _get_idsProvider__fnfajc_0(this))).v9j(), finishingGameWhenCantStartNewMiddleware()]));
|
|
4648
4648
|
var tmp_0 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this), _get_logger__rkp4sl(this));
|
|
4649
4649
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
4650
4650
|
var tmp1_logger = _get_logger__rkp4sl(this);
|
|
@@ -4695,7 +4695,7 @@
|
|
|
4695
4695
|
return this.p6q(store, next, action);
|
|
4696
4696
|
};
|
|
4697
4697
|
function ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
|
|
4698
|
-
this.
|
|
4698
|
+
this.pe8_1 = this$0;
|
|
4699
4699
|
}
|
|
4700
4700
|
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).a6p = function (action) {
|
|
4701
4701
|
return action instanceof MechanicAction;
|
|
@@ -4706,7 +4706,7 @@
|
|
|
4706
4706
|
// Inline function 'kotlin.with' call
|
|
4707
4707
|
var tmp;
|
|
4708
4708
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
4709
|
-
var tmp0 = this.
|
|
4709
|
+
var tmp0 = this.pe8_1;
|
|
4710
4710
|
var tmp2 = action_0.q8a_1;
|
|
4711
4711
|
var tmp4 = action_0.s8a_1;
|
|
4712
4712
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -4746,7 +4746,7 @@
|
|
|
4746
4746
|
var _iterator__ex2g4s_2 = destination_1.l();
|
|
4747
4747
|
while (_iterator__ex2g4s_2.m()) {
|
|
4748
4748
|
var element_0 = _iterator__ex2g4s_2.n();
|
|
4749
|
-
var tmp0_aid = tmp0.
|
|
4749
|
+
var tmp0_aid = tmp0.oe8_1.y6m();
|
|
4750
4750
|
// Inline function 'kotlin.collections.map' call
|
|
4751
4751
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4752
4752
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -4768,15 +4768,15 @@
|
|
|
4768
4768
|
tmp = destination_2;
|
|
4769
4769
|
} else {
|
|
4770
4770
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
4771
|
-
var tmp0_0 = this.
|
|
4771
|
+
var tmp0_0 = this.pe8_1;
|
|
4772
4772
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4773
4773
|
var table = state.z6x();
|
|
4774
|
-
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.
|
|
4774
|
+
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.oe8_1.y6m(), table.id, null);
|
|
4775
4775
|
var tmp$ret$21 = mapToClient_16(action_0, sendToPlayer_0);
|
|
4776
4776
|
tmp = listOfNotNull(tmp$ret$21);
|
|
4777
4777
|
} else {
|
|
4778
4778
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
4779
|
-
var tmp0_1 = this.
|
|
4779
|
+
var tmp0_1 = this.pe8_1;
|
|
4780
4780
|
var tmp2_0 = action_0.w8a_1.id;
|
|
4781
4781
|
var tmp4_0 = action_0.gameCreatorPlayerId;
|
|
4782
4782
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -4816,7 +4816,7 @@
|
|
|
4816
4816
|
var _iterator__ex2g4s_7 = destination_6.l();
|
|
4817
4817
|
while (_iterator__ex2g4s_7.m()) {
|
|
4818
4818
|
var element_2 = _iterator__ex2g4s_7.n();
|
|
4819
|
-
var tmp0_aid_0 = tmp0_1.
|
|
4819
|
+
var tmp0_aid_0 = tmp0_1.oe8_1.y6m();
|
|
4820
4820
|
// Inline function 'kotlin.collections.map' call
|
|
4821
4821
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4822
4822
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -4838,39 +4838,39 @@
|
|
|
4838
4838
|
tmp = destination_7;
|
|
4839
4839
|
} else {
|
|
4840
4840
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
4841
|
-
var tmp0_2 = this.
|
|
4841
|
+
var tmp0_2 = this.pe8_1;
|
|
4842
4842
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4843
4843
|
var table_0 = state.z6x();
|
|
4844
|
-
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.
|
|
4844
|
+
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.oe8_1.y6m(), table_0.id, null);
|
|
4845
4845
|
var tmp$ret$44 = mapToClient_14(action_0, sendToPlayer_2);
|
|
4846
4846
|
tmp = listOfNotNull(tmp$ret$44);
|
|
4847
4847
|
} else {
|
|
4848
4848
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
4849
|
-
var tmp0_3 = this.
|
|
4849
|
+
var tmp0_3 = this.pe8_1;
|
|
4850
4850
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4851
4851
|
var table_1 = state.z6x();
|
|
4852
|
-
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.
|
|
4852
|
+
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.oe8_1.y6m(), table_1.id, null);
|
|
4853
4853
|
var tmp$ret$46 = mapToClient_13(action_0, sendToPlayer_3);
|
|
4854
4854
|
tmp = listOfNotNull(tmp$ret$46);
|
|
4855
4855
|
} else {
|
|
4856
4856
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
4857
|
-
var tmp0_4 = this.
|
|
4857
|
+
var tmp0_4 = this.pe8_1;
|
|
4858
4858
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4859
4859
|
var table_2 = state.z6x();
|
|
4860
|
-
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.
|
|
4860
|
+
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.oe8_1.y6m(), table_2.id, null);
|
|
4861
4861
|
var tmp$ret$48 = mapToClient_12(action_0, sendToPlayer_4);
|
|
4862
4862
|
tmp = listOfNotNull(tmp$ret$48);
|
|
4863
4863
|
} else {
|
|
4864
4864
|
if (action_0 instanceof ErrorAction) {
|
|
4865
|
-
var tmp0_5 = this.
|
|
4865
|
+
var tmp0_5 = this.pe8_1;
|
|
4866
4866
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4867
4867
|
var table_3 = state.z6x();
|
|
4868
|
-
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.
|
|
4868
|
+
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.oe8_1.y6m(), table_3.id, null);
|
|
4869
4869
|
var tmp$ret$50 = mapToClient_11(action_0, sendToPlayer_5);
|
|
4870
4870
|
tmp = listOfNotNull(tmp$ret$50);
|
|
4871
4871
|
} else {
|
|
4872
4872
|
if (action_0 instanceof SceneMechanicAction) {
|
|
4873
|
-
var tmp0_6 = this.
|
|
4873
|
+
var tmp0_6 = this.pe8_1;
|
|
4874
4874
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4875
4875
|
var table_4 = state.z6x();
|
|
4876
4876
|
var tmp2_1 = table_4.id;
|
|
@@ -4903,7 +4903,7 @@
|
|
|
4903
4903
|
var _iterator__ex2g4s_11 = destination_10.l();
|
|
4904
4904
|
while (_iterator__ex2g4s_11.m()) {
|
|
4905
4905
|
var element_4 = _iterator__ex2g4s_11.n();
|
|
4906
|
-
var tmp0_aid_1 = tmp0_6.
|
|
4906
|
+
var tmp0_aid_1 = tmp0_6.oe8_1.y6m();
|
|
4907
4907
|
// Inline function 'kotlin.collections.map' call
|
|
4908
4908
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4909
4909
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
|
|
@@ -4925,7 +4925,7 @@
|
|
|
4925
4925
|
tmp = destination_11;
|
|
4926
4926
|
} else {
|
|
4927
4927
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
4928
|
-
var tmp0_7 = this.
|
|
4928
|
+
var tmp0_7 = this.pe8_1;
|
|
4929
4929
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4930
4930
|
var table_5 = state.z6x();
|
|
4931
4931
|
var tmp2_2 = table_5.id;
|
|
@@ -4958,7 +4958,7 @@
|
|
|
4958
4958
|
var _iterator__ex2g4s_15 = destination_14.l();
|
|
4959
4959
|
while (_iterator__ex2g4s_15.m()) {
|
|
4960
4960
|
var element_6 = _iterator__ex2g4s_15.n();
|
|
4961
|
-
var tmp0_aid_2 = tmp0_7.
|
|
4961
|
+
var tmp0_aid_2 = tmp0_7.oe8_1.y6m();
|
|
4962
4962
|
// Inline function 'kotlin.collections.map' call
|
|
4963
4963
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4964
4964
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
|
|
@@ -4980,7 +4980,7 @@
|
|
|
4980
4980
|
tmp = destination_15;
|
|
4981
4981
|
} else {
|
|
4982
4982
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
4983
|
-
var tmp0_8 = this.
|
|
4983
|
+
var tmp0_8 = this.pe8_1;
|
|
4984
4984
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4985
4985
|
var table_6 = state.z6x();
|
|
4986
4986
|
var tmp2_3 = table_6.id;
|
|
@@ -5013,7 +5013,7 @@
|
|
|
5013
5013
|
var _iterator__ex2g4s_19 = destination_18.l();
|
|
5014
5014
|
while (_iterator__ex2g4s_19.m()) {
|
|
5015
5015
|
var element_8 = _iterator__ex2g4s_19.n();
|
|
5016
|
-
var tmp0_aid_3 = tmp0_8.
|
|
5016
|
+
var tmp0_aid_3 = tmp0_8.oe8_1.y6m();
|
|
5017
5017
|
// Inline function 'kotlin.collections.map' call
|
|
5018
5018
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5019
5019
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
|
|
@@ -5025,7 +5025,7 @@
|
|
|
5025
5025
|
}
|
|
5026
5026
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tmp2_3, tmp4_3, element_8, destination_20);
|
|
5027
5027
|
var tmp_0;
|
|
5028
|
-
if (this.ne8_1.
|
|
5028
|
+
if (this.pe8_1.ne8_1.supportBackwardActions && getPlayer(state.z6x().players, sendToPlayer_8.a7n_1).g71_1.y75_1) {
|
|
5029
5029
|
tmp_0 = null;
|
|
5030
5030
|
} else {
|
|
5031
5031
|
tmp_0 = mapToClient_8(action_0, sendToPlayer_8);
|
|
@@ -5041,72 +5041,72 @@
|
|
|
5041
5041
|
tmp = destination_19;
|
|
5042
5042
|
} else {
|
|
5043
5043
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
5044
|
-
var tmp0_9 = this.
|
|
5044
|
+
var tmp0_9 = this.pe8_1;
|
|
5045
5045
|
var tmp2_4 = state.z6x();
|
|
5046
5046
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5047
|
-
var exceptPlayerId = this.ne8_1.
|
|
5048
|
-
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.
|
|
5047
|
+
var exceptPlayerId = this.pe8_1.ne8_1.supportBackwardActions ? action_0.x8b_1 : null;
|
|
5048
|
+
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.oe8_1.y6m(), tmp2_4.id, exceptPlayerId);
|
|
5049
5049
|
var tmp$ret$109 = mapToClient_7(action_0, sendToPlayer_9);
|
|
5050
5050
|
tmp = listOfNotNull(tmp$ret$109);
|
|
5051
5051
|
} else {
|
|
5052
5052
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
5053
|
-
var tmp0_10 = this.
|
|
5053
|
+
var tmp0_10 = this.pe8_1;
|
|
5054
5054
|
var tmp2_5 = state.z6x();
|
|
5055
5055
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5056
|
-
var exceptPlayerId_0 = this.ne8_1.
|
|
5057
|
-
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.
|
|
5056
|
+
var exceptPlayerId_0 = this.pe8_1.ne8_1.supportBackwardActions ? action_0.b8c_1 : null;
|
|
5057
|
+
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.oe8_1.y6m(), tmp2_5.id, exceptPlayerId_0);
|
|
5058
5058
|
var tmp$ret$111 = mapToClient_6(action_0, sendToPlayer_10);
|
|
5059
5059
|
tmp = listOfNotNull(tmp$ret$111);
|
|
5060
5060
|
} else {
|
|
5061
5061
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
5062
|
-
var tmp0_11 = this.
|
|
5062
|
+
var tmp0_11 = this.pe8_1;
|
|
5063
5063
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5064
5064
|
var table_7 = state.z6x();
|
|
5065
|
-
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.
|
|
5065
|
+
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.oe8_1.y6m(), table_7.id, null);
|
|
5066
5066
|
var tmp$ret$113 = mapToClient_5(action_0, sendToPlayer_11);
|
|
5067
5067
|
tmp = listOfNotNull(tmp$ret$113);
|
|
5068
5068
|
} else {
|
|
5069
5069
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
5070
|
-
var tmp0_12 = this.
|
|
5070
|
+
var tmp0_12 = this.pe8_1;
|
|
5071
5071
|
var tmp2_6 = state.z6x();
|
|
5072
5072
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5073
|
-
var exceptPlayerId_1 = this.ne8_1.
|
|
5074
|
-
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.
|
|
5073
|
+
var exceptPlayerId_1 = this.pe8_1.ne8_1.supportBackwardActions ? action_0.i8c_1 : null;
|
|
5074
|
+
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.oe8_1.y6m(), tmp2_6.id, exceptPlayerId_1);
|
|
5075
5075
|
var tmp$ret$115 = mapToClient_4(action_0, sendToPlayer_12);
|
|
5076
5076
|
tmp = listOfNotNull(tmp$ret$115);
|
|
5077
5077
|
} else {
|
|
5078
5078
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
5079
|
-
var tmp0_13 = this.
|
|
5079
|
+
var tmp0_13 = this.pe8_1;
|
|
5080
5080
|
var tmp2_7 = state.z6x();
|
|
5081
5081
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5082
|
-
var exceptPlayerId_2 = this.ne8_1.
|
|
5083
|
-
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.
|
|
5082
|
+
var exceptPlayerId_2 = this.pe8_1.ne8_1.supportBackwardActions ? action_0.m8c_1 : null;
|
|
5083
|
+
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.oe8_1.y6m(), tmp2_7.id, exceptPlayerId_2);
|
|
5084
5084
|
var tmp$ret$117 = mapToClient_3(action_0, sendToPlayer_13);
|
|
5085
5085
|
tmp = listOfNotNull(tmp$ret$117);
|
|
5086
5086
|
} else {
|
|
5087
5087
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
5088
|
-
var tmp0_14 = this.
|
|
5088
|
+
var tmp0_14 = this.pe8_1;
|
|
5089
5089
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5090
5090
|
var table_8 = state.z6x();
|
|
5091
|
-
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.
|
|
5091
|
+
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.oe8_1.y6m(), table_8.id, null);
|
|
5092
5092
|
var tmp$ret$119 = mapToClient_2(action_0, sendToPlayer_14);
|
|
5093
5093
|
tmp = listOfNotNull(tmp$ret$119);
|
|
5094
5094
|
} else {
|
|
5095
5095
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
5096
|
-
var tmp0_15 = this.
|
|
5096
|
+
var tmp0_15 = this.pe8_1;
|
|
5097
5097
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5098
5098
|
var table_9 = state.z6x();
|
|
5099
|
-
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.
|
|
5099
|
+
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.oe8_1.y6m(), table_9.id, null);
|
|
5100
5100
|
var tmp$ret$121 = mapToClient_1(action_0, sendToPlayer_15);
|
|
5101
5101
|
tmp = listOfNotNull(tmp$ret$121);
|
|
5102
5102
|
} else {
|
|
5103
5103
|
if (action_0 instanceof MessageMechanicAction) {
|
|
5104
5104
|
var message = action_0.u8c_1;
|
|
5105
|
-
var tmp0_16 = this.
|
|
5105
|
+
var tmp0_16 = this.pe8_1;
|
|
5106
5106
|
var tmp2_8 = state.z6x();
|
|
5107
5107
|
var tmp_1;
|
|
5108
5108
|
var tmp_2;
|
|
5109
|
-
if (this.ne8_1.
|
|
5109
|
+
if (this.pe8_1.ne8_1.supportBackwardActions) {
|
|
5110
5110
|
tmp_2 = isInterface(message, UserMessage);
|
|
5111
5111
|
} else {
|
|
5112
5112
|
tmp_2 = false;
|
|
@@ -5118,16 +5118,16 @@
|
|
|
5118
5118
|
}
|
|
5119
5119
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5120
5120
|
var exceptPlayerId_3 = tmp_1;
|
|
5121
|
-
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.
|
|
5121
|
+
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.oe8_1.y6m(), tmp2_8.id, exceptPlayerId_3);
|
|
5122
5122
|
var tmp$ret$123 = mapToClient_0(action_0, sendToPlayer_16);
|
|
5123
5123
|
tmp = listOfNotNull(tmp$ret$123);
|
|
5124
5124
|
} else {
|
|
5125
5125
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
5126
|
-
var tmp0_17 = this.
|
|
5126
|
+
var tmp0_17 = this.pe8_1;
|
|
5127
5127
|
var tmp2_9 = state.z6x();
|
|
5128
5128
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5129
5129
|
var exceptPlayerId_4 = action_0.playerId;
|
|
5130
|
-
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.
|
|
5130
|
+
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.oe8_1.y6m(), tmp2_9.id, exceptPlayerId_4);
|
|
5131
5131
|
var tmp$ret$125 = mapToClient(action_0, sendToPlayer_17);
|
|
5132
5132
|
tmp = listOfNotNull(tmp$ret$125);
|
|
5133
5133
|
} else {
|
|
@@ -5164,8 +5164,8 @@
|
|
|
5164
5164
|
return this.p6q(store, next, action);
|
|
5165
5165
|
};
|
|
5166
5166
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
5167
|
-
this.
|
|
5168
|
-
this.
|
|
5167
|
+
this.ne8_1 = logicConfig;
|
|
5168
|
+
this.oe8_1 = idsProvider;
|
|
5169
5169
|
}
|
|
5170
5170
|
protoOf(ServerMapMechanicToClientActionMiddleware).v9j = function () {
|
|
5171
5171
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
@@ -5176,8 +5176,8 @@
|
|
|
5176
5176
|
return new sendToClientActionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, provider);
|
|
5177
5177
|
}
|
|
5178
5178
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
5179
|
-
this.
|
|
5180
|
-
this.
|
|
5179
|
+
this.ye8_1 = $provider;
|
|
5180
|
+
this.ze8_1 = $action;
|
|
5181
5181
|
CoroutineImpl.call(this, resultContinuation);
|
|
5182
5182
|
}
|
|
5183
5183
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).j29 = function ($this$launchDefault, $completion) {
|
|
@@ -5198,7 +5198,7 @@
|
|
|
5198
5198
|
case 0:
|
|
5199
5199
|
this.s8_1 = 2;
|
|
5200
5200
|
this.r8_1 = 1;
|
|
5201
|
-
suspendResult = this.
|
|
5201
|
+
suspendResult = this.ye8_1.le5(this.ze8_1, this);
|
|
5202
5202
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5203
5203
|
return suspendResult;
|
|
5204
5204
|
}
|
|
@@ -5221,8 +5221,8 @@
|
|
|
5221
5221
|
while (true);
|
|
5222
5222
|
};
|
|
5223
5223
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).k29 = function ($this$launchDefault, completion) {
|
|
5224
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
5225
|
-
i.
|
|
5224
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.ye8_1, this.ze8_1, completion);
|
|
5225
|
+
i.ae9_1 = $this$launchDefault;
|
|
5226
5226
|
return i;
|
|
5227
5227
|
};
|
|
5228
5228
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -5234,15 +5234,15 @@
|
|
|
5234
5234
|
return l;
|
|
5235
5235
|
}
|
|
5236
5236
|
function sendToClientActionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $provider) {
|
|
5237
|
-
this.
|
|
5238
|
-
this.
|
|
5237
|
+
this.be9_1 = $asyncProvider;
|
|
5238
|
+
this.ce9_1 = $provider;
|
|
5239
5239
|
}
|
|
5240
5240
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).a6p = function (action) {
|
|
5241
5241
|
return action instanceof ToClientAction;
|
|
5242
5242
|
};
|
|
5243
5243
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).p6q = function (store, next, action) {
|
|
5244
5244
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
5245
|
-
this.
|
|
5245
|
+
this.be9_1.d6l(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.ce9_1, action_0, null));
|
|
5246
5246
|
next(action_0);
|
|
5247
5247
|
};
|
|
5248
5248
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).z6o = function (store, next, action) {
|
|
@@ -5259,7 +5259,7 @@
|
|
|
5259
5259
|
};
|
|
5260
5260
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).a9t = function (state, action) {
|
|
5261
5261
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
5262
|
-
return state.o9e(VOID, get_serverStatePayload(state).copy(action_0.
|
|
5262
|
+
return state.o9e(VOID, get_serverStatePayload(state).copy(action_0.re7_1));
|
|
5263
5263
|
};
|
|
5264
5264
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).q6q = function (state, action) {
|
|
5265
5265
|
return this.a9t((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
@@ -5269,7 +5269,7 @@
|
|
|
5269
5269
|
return _this__u8e3s4.metadata;
|
|
5270
5270
|
}
|
|
5271
5271
|
function Companion_5() {
|
|
5272
|
-
this.
|
|
5272
|
+
this.de9_1 = 'ServerMechanicLifecycleReducer';
|
|
5273
5273
|
}
|
|
5274
5274
|
var Companion_instance_13;
|
|
5275
5275
|
function Companion_getInstance_6() {
|
|
@@ -5295,10 +5295,10 @@
|
|
|
5295
5295
|
}
|
|
5296
5296
|
function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
|
|
5297
5297
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
5298
|
-
this.
|
|
5298
|
+
this.ge9_1 = logger;
|
|
5299
5299
|
}
|
|
5300
5300
|
protoOf(ServerMechanicLifecycleReducer).m9u = function (state, action) {
|
|
5301
|
-
this.
|
|
5301
|
+
this.ge9_1.d('ServerMechanicLifecycleReducer', 'onStart ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
5302
5302
|
var serverState = get_serverStatePayloadOrNull(state.payload);
|
|
5303
5303
|
var tableId = action.q8a_1;
|
|
5304
5304
|
var tmp6_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
@@ -5311,7 +5311,7 @@
|
|
|
5311
5311
|
var tmp7_tableOrNull = tmp0_$this.t9v(tableId, tableId, tmp2_config, tmp1_version, tmp3_users, tmp4_spectators, tmp5_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
|
|
5312
5312
|
var tmp;
|
|
5313
5313
|
if (serverState == null) {
|
|
5314
|
-
this.
|
|
5314
|
+
this.ge9_1.w(VOID, 'ServerPayload is not onStart');
|
|
5315
5315
|
tmp = Companion_instance_14.initial(VOID, addRoomMetadata(this, get_serverStatePayload(state), tableId));
|
|
5316
5316
|
} else {
|
|
5317
5317
|
tmp = serverState.copy(VOID, addRoomMetadata(this, get_serverStatePayload(state), tableId));
|
|
@@ -5320,7 +5320,7 @@
|
|
|
5320
5320
|
return state.o9e(tmp7_tableOrNull, tmp8_payload, tmp6_gameLifecycleState);
|
|
5321
5321
|
};
|
|
5322
5322
|
protoOf(ServerMechanicLifecycleReducer).k9u = function (state, action) {
|
|
5323
|
-
this.
|
|
5323
|
+
this.ge9_1.d('ServerMechanicLifecycleReducer', 'onContinue ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
5324
5324
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5325
5325
|
var tmp2_tableOrNull = action.w8a_1;
|
|
5326
5326
|
var tmp = Companion_instance_14;
|
|
@@ -5342,7 +5342,7 @@
|
|
|
5342
5342
|
return new spectatorsReducer$$inlined$reducerForActionType$1(logger);
|
|
5343
5343
|
}
|
|
5344
5344
|
function spectatorsReducer$$inlined$reducerForActionType$1($logger) {
|
|
5345
|
-
this.
|
|
5345
|
+
this.he9_1 = $logger;
|
|
5346
5346
|
}
|
|
5347
5347
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).a6p = function (action) {
|
|
5348
5348
|
return isInterface(action, SpectatorsAction);
|
|
@@ -5353,7 +5353,7 @@
|
|
|
5353
5353
|
var tmp;
|
|
5354
5354
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
5355
5355
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5356
|
-
var tmp0 = action_0.
|
|
5356
|
+
var tmp0 = action_0.se7_1;
|
|
5357
5357
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5358
5358
|
var destination = ArrayList_init_$Create$_0();
|
|
5359
5359
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5372,9 +5372,9 @@
|
|
|
5372
5372
|
var tmp_0;
|
|
5373
5373
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5374
5374
|
if (!sameSpectators.q()) {
|
|
5375
|
-
this.
|
|
5375
|
+
this.he9_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
5376
5376
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5377
|
-
var tmp0_0 = action_0.
|
|
5377
|
+
var tmp0_0 = action_0.se7_1;
|
|
5378
5378
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5379
5379
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
5380
5380
|
var _iterator__ex2g4s_0 = tmp0_0.l();
|
|
@@ -5409,7 +5409,7 @@
|
|
|
5409
5409
|
}
|
|
5410
5410
|
tmp_0 = destination_0;
|
|
5411
5411
|
} else {
|
|
5412
|
-
tmp_0 = action_0.
|
|
5412
|
+
tmp_0 = action_0.se7_1;
|
|
5413
5413
|
}
|
|
5414
5414
|
// Inline function 'kotlin.collections.map' call
|
|
5415
5415
|
var this_0 = tmp_0;
|
|
@@ -5426,7 +5426,7 @@
|
|
|
5426
5426
|
} else {
|
|
5427
5427
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
5428
5428
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5429
|
-
var tmp0_1 = action_0.
|
|
5429
|
+
var tmp0_1 = action_0.te7_1;
|
|
5430
5430
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5431
5431
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
5432
5432
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5445,9 +5445,9 @@
|
|
|
5445
5445
|
var tmp_2;
|
|
5446
5446
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5447
5447
|
if (!sameSpectators_0.q()) {
|
|
5448
|
-
this.
|
|
5448
|
+
this.he9_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
5449
5449
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5450
|
-
var tmp0_2 = action_0.
|
|
5450
|
+
var tmp0_2 = action_0.te7_1;
|
|
5451
5451
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5452
5452
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
5453
5453
|
var _iterator__ex2g4s_4 = tmp0_2.l();
|
|
@@ -5482,7 +5482,7 @@
|
|
|
5482
5482
|
}
|
|
5483
5483
|
tmp_2 = destination_3;
|
|
5484
5484
|
} else {
|
|
5485
|
-
tmp_2 = action_0.
|
|
5485
|
+
tmp_2 = action_0.te7_1;
|
|
5486
5486
|
}
|
|
5487
5487
|
var spectatorsToRemove = toSet(tmp_2);
|
|
5488
5488
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -5531,13 +5531,13 @@
|
|
|
5531
5531
|
};
|
|
5532
5532
|
function Companion_6() {
|
|
5533
5533
|
}
|
|
5534
|
-
protoOf(Companion_6).
|
|
5534
|
+
protoOf(Companion_6).ie9 = function (config, metadata) {
|
|
5535
5535
|
return new ServerStatePayload(config, metadata);
|
|
5536
5536
|
};
|
|
5537
5537
|
protoOf(Companion_6).initial = function (config, metadata, $super) {
|
|
5538
5538
|
config = config === VOID ? Companion_instance_8.initial(null) : config;
|
|
5539
5539
|
metadata = metadata === VOID ? new RoomMetadata() : metadata;
|
|
5540
|
-
return $super === VOID ? this.
|
|
5540
|
+
return $super === VOID ? this.ie9(config, metadata) : $super.ie9.call(this, config, metadata);
|
|
5541
5541
|
};
|
|
5542
5542
|
var Companion_instance_14;
|
|
5543
5543
|
function Companion_getInstance_7() {
|
|
@@ -5559,13 +5559,13 @@
|
|
|
5559
5559
|
protoOf(ServerStatePayload).oe = function () {
|
|
5560
5560
|
return this.metadata;
|
|
5561
5561
|
};
|
|
5562
|
-
protoOf(ServerStatePayload).
|
|
5562
|
+
protoOf(ServerStatePayload).je9 = function (config, metadata) {
|
|
5563
5563
|
return new ServerStatePayload(config, metadata);
|
|
5564
5564
|
};
|
|
5565
5565
|
protoOf(ServerStatePayload).copy = function (config, metadata, $super) {
|
|
5566
5566
|
config = config === VOID ? this.config : config;
|
|
5567
5567
|
metadata = metadata === VOID ? this.metadata : metadata;
|
|
5568
|
-
return $super === VOID ? this.
|
|
5568
|
+
return $super === VOID ? this.je9(config, metadata) : $super.je9.call(this, config, metadata);
|
|
5569
5569
|
};
|
|
5570
5570
|
protoOf(ServerStatePayload).toString = function () {
|
|
5571
5571
|
return 'ServerStatePayload(config=' + this.config.toString() + ', metadata=' + toString(this.metadata) + ')';
|
|
@@ -5630,14 +5630,14 @@
|
|
|
5630
5630
|
return new GameServerEngineControllerImpl(loggerCallback, randomOrgConfig);
|
|
5631
5631
|
}
|
|
5632
5632
|
function _get_logger__rkp4sl_0($this) {
|
|
5633
|
-
var tmp0 = $this.
|
|
5633
|
+
var tmp0 = $this.se9_1;
|
|
5634
5634
|
var tmp = KProperty1;
|
|
5635
5635
|
// Inline function 'kotlin.getValue' call
|
|
5636
5636
|
getPropertyCallableRef('logger', 1, tmp, GameServerEngineControllerImpl$_get_logger_$ref_b9j0th(), null);
|
|
5637
5637
|
return tmp0.w();
|
|
5638
5638
|
}
|
|
5639
5639
|
function _get_di__ndbzja($this) {
|
|
5640
|
-
var tmp0 = $this.
|
|
5640
|
+
var tmp0 = $this.te9_1;
|
|
5641
5641
|
var tmp = KProperty1;
|
|
5642
5642
|
// Inline function 'kotlin.getValue' call
|
|
5643
5643
|
getPropertyCallableRef('di', 1, tmp, GameServerEngineControllerImpl$_get_di_$ref_cvlqo6(), null);
|
|
@@ -5654,8 +5654,8 @@
|
|
|
5654
5654
|
}
|
|
5655
5655
|
function createCallbackOutput($this, gameServer) {
|
|
5656
5656
|
var tmp;
|
|
5657
|
-
if (!($this.
|
|
5658
|
-
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.
|
|
5657
|
+
if (!($this.qe9_1 == null)) {
|
|
5658
|
+
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.qe9_1);
|
|
5659
5659
|
tmp = new CallbackWrapperLoggerOutput(tmp_0, GameServerEngineControllerImpl$createCallbackOutput$lambda(gameServer));
|
|
5660
5660
|
} else {
|
|
5661
5661
|
tmp = null;
|
|
@@ -5669,11 +5669,11 @@
|
|
|
5669
5669
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
5670
5670
|
return function () {
|
|
5671
5671
|
var tmp;
|
|
5672
|
-
if (this$0.
|
|
5672
|
+
if (this$0.qe9_1 == null) {
|
|
5673
5673
|
tmp = null;
|
|
5674
5674
|
} else {
|
|
5675
5675
|
// Inline function 'kotlin.let' call
|
|
5676
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
5676
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.qe9_1)]));
|
|
5677
5677
|
}
|
|
5678
5678
|
var tmp1_elvis_lhs = tmp;
|
|
5679
5679
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -5706,7 +5706,7 @@
|
|
|
5706
5706
|
tmp_0.f1f(tmp$ret$3);
|
|
5707
5707
|
$this$DI.j1b(jsonModule());
|
|
5708
5708
|
$this$DI.j1b(serverHelpersModule());
|
|
5709
|
-
$this$DI.j1b(randomOrgModule(this$0.
|
|
5709
|
+
$this$DI.j1b(randomOrgModule(this$0.re9_1));
|
|
5710
5710
|
return Unit_instance;
|
|
5711
5711
|
};
|
|
5712
5712
|
}
|
|
@@ -5782,13 +5782,13 @@
|
|
|
5782
5782
|
};
|
|
5783
5783
|
}
|
|
5784
5784
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1($reducer) {
|
|
5785
|
-
this.
|
|
5785
|
+
this.aea_1 = $reducer;
|
|
5786
5786
|
}
|
|
5787
5787
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).a6p = function (action) {
|
|
5788
5788
|
return isInterface(action, Action);
|
|
5789
5789
|
};
|
|
5790
5790
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).a9t = function (state, action) {
|
|
5791
|
-
return this.
|
|
5791
|
+
return this.aea_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
5792
5792
|
};
|
|
5793
5793
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).q6q = function (state, action) {
|
|
5794
5794
|
return this.a9t((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
@@ -5892,7 +5892,7 @@
|
|
|
5892
5892
|
// Inline function 'kotlin.let' call
|
|
5893
5893
|
$this$DI.j1b(tmp0_safe_receiver);
|
|
5894
5894
|
}
|
|
5895
|
-
$this$DI.j1b(dealerModule(this$0.randomPoolProvider, this$0.
|
|
5895
|
+
$this$DI.j1b(dealerModule(this$0.randomPoolProvider, this$0.re9_1));
|
|
5896
5896
|
$this$DI.j1b(coreModule($coreConfig));
|
|
5897
5897
|
$this$DI.j1b(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $ratingConfig, $externalReducers, $externalMiddlewares));
|
|
5898
5898
|
return Unit_instance;
|
|
@@ -5901,13 +5901,13 @@
|
|
|
5901
5901
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
5902
5902
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
5903
5903
|
production = production === VOID ? true : production;
|
|
5904
|
-
this.
|
|
5905
|
-
this.
|
|
5904
|
+
this.qe9_1 = loggerCallback;
|
|
5905
|
+
this.re9_1 = randomOrgConfig;
|
|
5906
5906
|
AppEnvironment_getInstance().d6w(production ? AppEnvironmentValue_PRODUCTION_getInstance() : AppEnvironmentValue_DEVELOPMENT_getInstance());
|
|
5907
5907
|
var tmp = this;
|
|
5908
|
-
tmp.
|
|
5908
|
+
tmp.se9_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
5909
5909
|
var tmp_0 = this;
|
|
5910
|
-
tmp_0.
|
|
5910
|
+
tmp_0.te9_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
5911
5911
|
var tmp_1 = this;
|
|
5912
5912
|
// Inline function 'org.kodein.di.instance' call
|
|
5913
5913
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -5916,7 +5916,7 @@
|
|
|
5916
5916
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5917
5917
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
5918
5918
|
var tmp_4 = KProperty1;
|
|
5919
|
-
tmp_1.
|
|
5919
|
+
tmp_1.ue9_1 = tmp_3.c1h(this, getPropertyCallableRef('parser', 1, tmp_4, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w(), null));
|
|
5920
5920
|
var tmp_5 = this;
|
|
5921
5921
|
// Inline function 'org.kodein.di.instance' call
|
|
5922
5922
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -5925,7 +5925,7 @@
|
|
|
5925
5925
|
var tmp$ret$2 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
5926
5926
|
var tmp_7 = Instance(this_1, tmp$ret$2, null);
|
|
5927
5927
|
var tmp_8 = KProperty1;
|
|
5928
|
-
tmp_5.
|
|
5928
|
+
tmp_5.ve9_1 = tmp_7.c1h(this, getPropertyCallableRef('helper', 1, tmp_8, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f(), null));
|
|
5929
5929
|
var tmp_9 = this;
|
|
5930
5930
|
// Inline function 'org.kodein.di.instance' call
|
|
5931
5931
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -5934,7 +5934,7 @@
|
|
|
5934
5934
|
var tmp$ret$4 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
5935
5935
|
var tmp_11 = Instance(this_2, tmp$ret$4, null);
|
|
5936
5936
|
var tmp_12 = KProperty1;
|
|
5937
|
-
tmp_9.
|
|
5937
|
+
tmp_9.we9_1 = tmp_11.c1h(this, getPropertyCallableRef('serverHelper', 1, tmp_12, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre(), null));
|
|
5938
5938
|
var tmp_13 = this;
|
|
5939
5939
|
// Inline function 'org.kodein.di.instance' call
|
|
5940
5940
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -5943,7 +5943,7 @@
|
|
|
5943
5943
|
var tmp$ret$6 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
5944
5944
|
var tmp_15 = Instance(this_3, tmp$ret$6, null);
|
|
5945
5945
|
var tmp_16 = KProperty1;
|
|
5946
|
-
tmp_13.
|
|
5946
|
+
tmp_13.xe9_1 = tmp_15.c1h(this, getPropertyCallableRef('resources', 1, tmp_16, GameServerEngineControllerImpl$_get_resources_$ref_dt6416(), null));
|
|
5947
5947
|
var tmp_17 = this;
|
|
5948
5948
|
// Inline function 'org.kodein.di.instance' call
|
|
5949
5949
|
var this_4 = _get_di__ndbzja(this);
|
|
@@ -5952,7 +5952,7 @@
|
|
|
5952
5952
|
var tmp$ret$8 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
5953
5953
|
var tmp_19 = Instance(this_4, tmp$ret$8, null);
|
|
5954
5954
|
var tmp_20 = KProperty1;
|
|
5955
|
-
tmp_17.
|
|
5955
|
+
tmp_17.ye9_1 = tmp_19.c1h(this, getPropertyCallableRef('test', 1, tmp_20, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5(), null));
|
|
5956
5956
|
var tmp_21 = this;
|
|
5957
5957
|
// Inline function 'org.kodein.di.instance' call
|
|
5958
5958
|
var this_5 = _get_di__ndbzja(this);
|
|
@@ -5961,45 +5961,45 @@
|
|
|
5961
5961
|
var tmp$ret$10 = isInterface(tmp_22, TypeToken) ? tmp_22 : THROW_CCE();
|
|
5962
5962
|
var tmp_23 = Instance(this_5, tmp$ret$10, null);
|
|
5963
5963
|
var tmp_24 = KProperty1;
|
|
5964
|
-
tmp_21.
|
|
5964
|
+
tmp_21.ze9_1 = tmp_23.c1h(this, getPropertyCallableRef('randomPoolProvider', 1, tmp_24, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl(), null));
|
|
5965
5965
|
}
|
|
5966
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5967
|
-
var tmp0 = this.
|
|
5966
|
+
protoOf(GameServerEngineControllerImpl).zdm = function () {
|
|
5967
|
+
var tmp0 = this.ue9_1;
|
|
5968
5968
|
var tmp = KProperty1;
|
|
5969
5969
|
// Inline function 'kotlin.getValue' call
|
|
5970
5970
|
getPropertyCallableRef('parser', 1, tmp, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w_0(), null);
|
|
5971
5971
|
return tmp0.w();
|
|
5972
5972
|
};
|
|
5973
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5974
|
-
var tmp0 = this.
|
|
5973
|
+
protoOf(GameServerEngineControllerImpl).le9 = function () {
|
|
5974
|
+
var tmp0 = this.ve9_1;
|
|
5975
5975
|
var tmp = KProperty1;
|
|
5976
5976
|
// Inline function 'kotlin.getValue' call
|
|
5977
5977
|
getPropertyCallableRef('helper', 1, tmp, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f_0(), null);
|
|
5978
5978
|
return tmp0.w();
|
|
5979
5979
|
};
|
|
5980
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5981
|
-
var tmp0 = this.
|
|
5980
|
+
protoOf(GameServerEngineControllerImpl).me9 = function () {
|
|
5981
|
+
var tmp0 = this.we9_1;
|
|
5982
5982
|
var tmp = KProperty1;
|
|
5983
5983
|
// Inline function 'kotlin.getValue' call
|
|
5984
5984
|
getPropertyCallableRef('serverHelper', 1, tmp, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre_0(), null);
|
|
5985
5985
|
return tmp0.w();
|
|
5986
5986
|
};
|
|
5987
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5988
|
-
var tmp0 = this.
|
|
5987
|
+
protoOf(GameServerEngineControllerImpl).ne9 = function () {
|
|
5988
|
+
var tmp0 = this.xe9_1;
|
|
5989
5989
|
var tmp = KProperty1;
|
|
5990
5990
|
// Inline function 'kotlin.getValue' call
|
|
5991
5991
|
getPropertyCallableRef('resources', 1, tmp, GameServerEngineControllerImpl$_get_resources_$ref_dt6416_0(), null);
|
|
5992
5992
|
return tmp0.w();
|
|
5993
5993
|
};
|
|
5994
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5995
|
-
var tmp0 = this.
|
|
5994
|
+
protoOf(GameServerEngineControllerImpl).ke9 = function () {
|
|
5995
|
+
var tmp0 = this.ye9_1;
|
|
5996
5996
|
var tmp = KProperty1;
|
|
5997
5997
|
// Inline function 'kotlin.getValue' call
|
|
5998
5998
|
getPropertyCallableRef('test', 1, tmp, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5_0(), null);
|
|
5999
5999
|
return tmp0.w();
|
|
6000
6000
|
};
|
|
6001
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6002
|
-
var tmp0 = this.
|
|
6001
|
+
protoOf(GameServerEngineControllerImpl).oe9 = function () {
|
|
6002
|
+
var tmp0 = this.ze9_1;
|
|
6003
6003
|
var tmp = KProperty1;
|
|
6004
6004
|
// Inline function 'kotlin.getValue' call
|
|
6005
6005
|
getPropertyCallableRef('randomPoolProvider', 1, tmp, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl_0(), null);
|
|
@@ -6011,7 +6011,7 @@
|
|
|
6011
6011
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
6012
6012
|
return this.createGameEngineWithLogic();
|
|
6013
6013
|
};
|
|
6014
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6014
|
+
protoOf(GameServerEngineControllerImpl).pe9 = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig) {
|
|
6015
6015
|
var combinedLogger = Companion_instance_6.mx();
|
|
6016
6016
|
var gameServer = {_v: null};
|
|
6017
6017
|
var tmp0_botConfig = new EngineBotConfig(VOID, VOID, VOID, false);
|
|
@@ -6060,7 +6060,7 @@
|
|
|
6060
6060
|
function TestHelper() {
|
|
6061
6061
|
}
|
|
6062
6062
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
6063
|
-
var tmp0 = $this.
|
|
6063
|
+
var tmp0 = $this.dea_1;
|
|
6064
6064
|
var tmp = KProperty1;
|
|
6065
6065
|
// Inline function 'kotlin.getValue' call
|
|
6066
6066
|
getPropertyCallableRef('playerAnswerInteractor', 1, tmp, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy_0(), null);
|
|
@@ -6068,7 +6068,7 @@
|
|
|
6068
6068
|
}
|
|
6069
6069
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
6070
6070
|
return function ($this$singleton) {
|
|
6071
|
-
return this$0.
|
|
6071
|
+
return this$0.bea_1;
|
|
6072
6072
|
};
|
|
6073
6073
|
}
|
|
6074
6074
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -6107,19 +6107,19 @@
|
|
|
6107
6107
|
return emptyMap();
|
|
6108
6108
|
}
|
|
6109
6109
|
function TestHelperImpl(logger) {
|
|
6110
|
-
this.
|
|
6110
|
+
this.bea_1 = logger;
|
|
6111
6111
|
var tmp = this;
|
|
6112
6112
|
var tmp_0 = Companion_instance_4;
|
|
6113
|
-
tmp.
|
|
6113
|
+
tmp.cea_1 = tmp_0.q1b(VOID, TestHelperImpl$di$lambda(this));
|
|
6114
6114
|
var tmp_1 = this;
|
|
6115
6115
|
// Inline function 'org.kodein.di.instance' call
|
|
6116
|
-
var this_0 = this.
|
|
6116
|
+
var this_0 = this.cea_1;
|
|
6117
6117
|
// Inline function 'org.kodein.type.generic' call
|
|
6118
6118
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
6119
6119
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
6120
6120
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
6121
6121
|
var tmp_4 = KProperty1;
|
|
6122
|
-
tmp_1.
|
|
6122
|
+
tmp_1.dea_1 = tmp_3.c1h(this, getPropertyCallableRef('playerAnswerInteractor', 1, tmp_4, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy(), null));
|
|
6123
6123
|
}
|
|
6124
6124
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
6125
6125
|
return _get_playerAnswerInteractor__msggz1(this).u95(playerId, table, botConfig);
|
|
@@ -6192,14 +6192,14 @@
|
|
|
6192
6192
|
function RoomMetadata() {
|
|
6193
6193
|
var tmp = this;
|
|
6194
6194
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
6195
|
-
tmp.
|
|
6195
|
+
tmp.eea_1 = LinkedHashMap_init_$Create$();
|
|
6196
6196
|
this.extras = {};
|
|
6197
|
-
this.extras = this.
|
|
6197
|
+
this.extras = this.eea_1;
|
|
6198
6198
|
}
|
|
6199
|
-
protoOf(RoomMetadata).
|
|
6199
|
+
protoOf(RoomMetadata).fea = function () {
|
|
6200
6200
|
return this.extras;
|
|
6201
6201
|
};
|
|
6202
|
-
protoOf(RoomMetadata).
|
|
6202
|
+
protoOf(RoomMetadata).fea = function () {
|
|
6203
6203
|
return this.extras;
|
|
6204
6204
|
};
|
|
6205
6205
|
protoOf(RoomMetadata).getGame = function (gameId) {
|
|
@@ -6217,7 +6217,7 @@
|
|
|
6217
6217
|
};
|
|
6218
6218
|
protoOf(RoomMetadata).addGame = function (gameId, game) {
|
|
6219
6219
|
// Inline function 'kotlin.collections.set' call
|
|
6220
|
-
this.
|
|
6220
|
+
this.eea_1.l2(gameId, game);
|
|
6221
6221
|
};
|
|
6222
6222
|
function GameMetadata(gameId) {
|
|
6223
6223
|
this.gameId = gameId;
|
|
@@ -6226,7 +6226,7 @@
|
|
|
6226
6226
|
protoOf(GameMetadata).x5j = function () {
|
|
6227
6227
|
return this.gameId;
|
|
6228
6228
|
};
|
|
6229
|
-
protoOf(GameMetadata).
|
|
6229
|
+
protoOf(GameMetadata).fea = function () {
|
|
6230
6230
|
return this.extras;
|
|
6231
6231
|
};
|
|
6232
6232
|
function serverHelpersModule() {
|
|
@@ -6329,22 +6329,22 @@
|
|
|
6329
6329
|
});
|
|
6330
6330
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
6331
6331
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
6332
|
-
return this.
|
|
6332
|
+
return this.zdm();
|
|
6333
6333
|
});
|
|
6334
6334
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
6335
|
-
return this.
|
|
6335
|
+
return this.le9();
|
|
6336
6336
|
});
|
|
6337
6337
|
defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
|
|
6338
|
-
return this.
|
|
6338
|
+
return this.me9();
|
|
6339
6339
|
});
|
|
6340
6340
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
6341
|
-
return this.
|
|
6341
|
+
return this.ne9();
|
|
6342
6342
|
});
|
|
6343
6343
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
6344
|
-
return this.
|
|
6344
|
+
return this.ke9();
|
|
6345
6345
|
});
|
|
6346
6346
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
6347
|
-
return this.
|
|
6347
|
+
return this.oe9();
|
|
6348
6348
|
});
|
|
6349
6349
|
//endregion
|
|
6350
6350
|
//region block: init
|