client_plugin_logic_deb 1.8.448 → 1.8.450
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 +1997 -1997
- package/Logic_Debertz-core.js +1 -1
- package/Logic_Debertz-engine.js +6844 -6827
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +6157 -6157
- package/Logic_Debertz-game_server.js +911 -911
- package/kotlinx-coroutines-core.js +9 -9
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -405,10 +405,10 @@
|
|
|
405
405
|
spectators = tmp;
|
|
406
406
|
var tmp_0;
|
|
407
407
|
if ($super === VOID) {
|
|
408
|
-
this.
|
|
408
|
+
this.aek(roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
409
409
|
tmp_0 = Unit_instance;
|
|
410
410
|
} else {
|
|
411
|
-
tmp_0 = $super.
|
|
411
|
+
tmp_0 = $super.aek.call(this, roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
412
412
|
}
|
|
413
413
|
return tmp_0;
|
|
414
414
|
}
|
|
@@ -416,10 +416,10 @@
|
|
|
416
416
|
newRid = newRid === VOID ? null : newRid;
|
|
417
417
|
var tmp;
|
|
418
418
|
if ($super === VOID) {
|
|
419
|
-
this.
|
|
419
|
+
this.cek(newRid);
|
|
420
420
|
tmp = Unit_instance;
|
|
421
421
|
} else {
|
|
422
|
-
tmp = $super.
|
|
422
|
+
tmp = $super.cek.call(this, newRid);
|
|
423
423
|
}
|
|
424
424
|
return tmp;
|
|
425
425
|
}
|
|
@@ -427,16 +427,16 @@
|
|
|
427
427
|
roomId = roomId === VOID ? null : roomId;
|
|
428
428
|
var tmp;
|
|
429
429
|
if ($super === VOID) {
|
|
430
|
-
this.
|
|
430
|
+
this.dek(reason, roomId);
|
|
431
431
|
tmp = Unit_instance;
|
|
432
432
|
} else {
|
|
433
|
-
tmp = $super.
|
|
433
|
+
tmp = $super.dek.call(this, reason, roomId);
|
|
434
434
|
}
|
|
435
435
|
return tmp;
|
|
436
436
|
}
|
|
437
437
|
function playerLeft(playerId, roomId, permanently, $super) {
|
|
438
438
|
permanently = permanently === VOID ? true : permanently;
|
|
439
|
-
return $super === VOID ? this.
|
|
439
|
+
return $super === VOID ? this.zej(playerId, roomId, permanently) : $super.zej.call(this, playerId, roomId, permanently);
|
|
440
440
|
}
|
|
441
441
|
initMetadataForInterface(ServerGameEngineContract, 'ServerGameEngineContract', VOID, VOID, [GameStoreContract]);
|
|
442
442
|
initMetadataForClass(GameServer, 'GameServer', VOID, BaseGame, [BaseGame, ServerGameEngineContract]);
|
|
@@ -511,7 +511,7 @@
|
|
|
511
511
|
leaguesConfig = leaguesConfig === VOID ? Companion_instance_6.defaultConfig() : leaguesConfig;
|
|
512
512
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
513
513
|
botConfig = botConfig === VOID ? new EngineBotConfig(VOID, VOID, VOID, false) : botConfig;
|
|
514
|
-
return $super === VOID ? this.
|
|
514
|
+
return $super === VOID ? this.feq(reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, leaguesConfig, coreConfig, botConfig) : $super.feq.call(this, reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, leaguesConfig, coreConfig, botConfig);
|
|
515
515
|
}
|
|
516
516
|
initMetadataForInterface(GameEngineController, 'GameEngineController');
|
|
517
517
|
initMetadataForClass(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1, VOID, VOID, VOID, [Reducer]);
|
|
@@ -524,17 +524,17 @@
|
|
|
524
524
|
initMetadataForClass(GameMetadata, 'GameMetadata');
|
|
525
525
|
//endregion
|
|
526
526
|
function GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation) {
|
|
527
|
-
this.
|
|
527
|
+
this.je1_1 = $subscriber;
|
|
528
528
|
CoroutineImpl.call(this, resultContinuation);
|
|
529
529
|
}
|
|
530
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
531
|
-
var tmp = this.
|
|
530
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).le1 = function (it, $completion) {
|
|
531
|
+
var tmp = this.me1(it, $completion);
|
|
532
532
|
tmp.u8_1 = Unit_instance;
|
|
533
533
|
tmp.v8_1 = null;
|
|
534
534
|
return tmp.a9();
|
|
535
535
|
};
|
|
536
536
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).i9 = function (p1, $completion) {
|
|
537
|
-
return this.
|
|
537
|
+
return this.le1(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
|
|
538
538
|
};
|
|
539
539
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).a9 = function () {
|
|
540
540
|
var suspendResult = this.u8_1;
|
|
@@ -543,7 +543,7 @@
|
|
|
543
543
|
var tmp = this.s8_1;
|
|
544
544
|
if (tmp === 0) {
|
|
545
545
|
this.t8_1 = 1;
|
|
546
|
-
this.
|
|
546
|
+
this.je1_1(this.ke1_1);
|
|
547
547
|
return Unit_instance;
|
|
548
548
|
} else if (tmp === 1) {
|
|
549
549
|
throw this.v8_1;
|
|
@@ -554,31 +554,31 @@
|
|
|
554
554
|
}
|
|
555
555
|
while (true);
|
|
556
556
|
};
|
|
557
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
558
|
-
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.
|
|
559
|
-
i.
|
|
557
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).me1 = function (it, completion) {
|
|
558
|
+
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.je1_1, completion);
|
|
559
|
+
i.ke1_1 = it;
|
|
560
560
|
return i;
|
|
561
561
|
};
|
|
562
562
|
function GameServer$subscribeToClientAction$slambda$slambda_0($subscriber, resultContinuation) {
|
|
563
563
|
var i = new GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation);
|
|
564
564
|
var l = function (it, $completion) {
|
|
565
|
-
return i.
|
|
565
|
+
return i.le1(it, $completion);
|
|
566
566
|
};
|
|
567
567
|
l.$arity = 1;
|
|
568
568
|
return l;
|
|
569
569
|
}
|
|
570
570
|
function GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation) {
|
|
571
|
-
this.
|
|
571
|
+
this.ve1_1 = $subscriber;
|
|
572
572
|
CoroutineImpl.call(this, resultContinuation);
|
|
573
573
|
}
|
|
574
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
575
|
-
var tmp = this.
|
|
574
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).xe1 = function (it, $completion) {
|
|
575
|
+
var tmp = this.ye1(it, $completion);
|
|
576
576
|
tmp.u8_1 = Unit_instance;
|
|
577
577
|
tmp.v8_1 = null;
|
|
578
578
|
return tmp.a9();
|
|
579
579
|
};
|
|
580
580
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).i9 = function (p1, $completion) {
|
|
581
|
-
return this.
|
|
581
|
+
return this.xe1((!(p1 == null) ? isInterface(p1, ServerStateUpdate) : false) ? p1 : THROW_CCE(), $completion);
|
|
582
582
|
};
|
|
583
583
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).a9 = function () {
|
|
584
584
|
var suspendResult = this.u8_1;
|
|
@@ -587,7 +587,7 @@
|
|
|
587
587
|
var tmp = this.s8_1;
|
|
588
588
|
if (tmp === 0) {
|
|
589
589
|
this.t8_1 = 1;
|
|
590
|
-
this.
|
|
590
|
+
this.ve1_1(this.we1_1);
|
|
591
591
|
return Unit_instance;
|
|
592
592
|
} else if (tmp === 1) {
|
|
593
593
|
throw this.v8_1;
|
|
@@ -598,22 +598,22 @@
|
|
|
598
598
|
}
|
|
599
599
|
while (true);
|
|
600
600
|
};
|
|
601
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
602
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.
|
|
603
|
-
i.
|
|
601
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).ye1 = function (it, completion) {
|
|
602
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.ve1_1, completion);
|
|
603
|
+
i.we1_1 = it;
|
|
604
604
|
return i;
|
|
605
605
|
};
|
|
606
606
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_0($subscriber, resultContinuation) {
|
|
607
607
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation);
|
|
608
608
|
var l = function (it, $completion) {
|
|
609
|
-
return i.
|
|
609
|
+
return i.xe1(it, $completion);
|
|
610
610
|
};
|
|
611
611
|
l.$arity = 1;
|
|
612
612
|
return l;
|
|
613
613
|
}
|
|
614
614
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
|
|
615
|
-
this.
|
|
616
|
-
this.
|
|
615
|
+
this.he2_1 = $$this$unsafeFlow;
|
|
616
|
+
this.ie2_1 = this$0;
|
|
617
617
|
CoroutineImpl.call(this, resultContinuation);
|
|
618
618
|
}
|
|
619
619
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).d2j = function (value, $completion) {
|
|
@@ -633,10 +633,10 @@
|
|
|
633
633
|
switch (tmp) {
|
|
634
634
|
case 0:
|
|
635
635
|
this.t8_1 = 2;
|
|
636
|
-
var tmp0 = this.
|
|
637
|
-
var value = this.
|
|
636
|
+
var tmp0 = this.he2_1;
|
|
637
|
+
var value = this.je2_1;
|
|
638
638
|
this.s8_1 = 1;
|
|
639
|
-
suspendResult = tmp0.j24(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.
|
|
639
|
+
suspendResult = tmp0.j24(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.ie2_1)), this);
|
|
640
640
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
641
641
|
return suspendResult;
|
|
642
642
|
}
|
|
@@ -659,8 +659,8 @@
|
|
|
659
659
|
while (true);
|
|
660
660
|
};
|
|
661
661
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).e2j = function (value, completion) {
|
|
662
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.
|
|
663
|
-
i.
|
|
662
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.he2_1, this.ie2_1, completion);
|
|
663
|
+
i.je2_1 = value;
|
|
664
664
|
return i;
|
|
665
665
|
};
|
|
666
666
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
@@ -673,8 +673,8 @@
|
|
|
673
673
|
}
|
|
674
674
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
675
675
|
CoroutineImpl.call(this, resultContinuation);
|
|
676
|
-
this.
|
|
677
|
-
this.
|
|
676
|
+
this.se2_1 = _this__u8e3s4;
|
|
677
|
+
this.te2_1 = collector;
|
|
678
678
|
}
|
|
679
679
|
protoOf($collectCOROUTINE$).a9 = function () {
|
|
680
680
|
var suspendResult = this.u8_1;
|
|
@@ -684,10 +684,10 @@
|
|
|
684
684
|
switch (tmp) {
|
|
685
685
|
case 0:
|
|
686
686
|
this.t8_1 = 2;
|
|
687
|
-
var $this$unsafeFlow = this.
|
|
687
|
+
var $this$unsafeFlow = this.te2_1;
|
|
688
688
|
this.s8_1 = 1;
|
|
689
|
-
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
690
|
-
suspendResult = this.
|
|
689
|
+
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.se2_1.ve2_1, null);
|
|
690
|
+
suspendResult = this.se2_1.ue2_1.g23(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_0), this);
|
|
691
691
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
692
692
|
return suspendResult;
|
|
693
693
|
}
|
|
@@ -710,8 +710,8 @@
|
|
|
710
710
|
while (true);
|
|
711
711
|
};
|
|
712
712
|
function GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1($this, this$0) {
|
|
713
|
-
this.
|
|
714
|
-
this.
|
|
713
|
+
this.ue2_1 = $this;
|
|
714
|
+
this.ve2_1 = this$0;
|
|
715
715
|
}
|
|
716
716
|
protoOf(GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1).k24 = function (collector, $completion) {
|
|
717
717
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
@@ -723,17 +723,17 @@
|
|
|
723
723
|
return this.k24(collector, $completion);
|
|
724
724
|
};
|
|
725
725
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation) {
|
|
726
|
-
this.
|
|
726
|
+
this.ee3_1 = $subscriber;
|
|
727
727
|
CoroutineImpl.call(this, resultContinuation);
|
|
728
728
|
}
|
|
729
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
730
|
-
var tmp = this.
|
|
729
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).ge3 = function (it, $completion) {
|
|
730
|
+
var tmp = this.he3(it, $completion);
|
|
731
731
|
tmp.u8_1 = Unit_instance;
|
|
732
732
|
tmp.v8_1 = null;
|
|
733
733
|
return tmp.a9();
|
|
734
734
|
};
|
|
735
735
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).i9 = function (p1, $completion) {
|
|
736
|
-
return this.
|
|
736
|
+
return this.ge3((!(p1 == null) ? isInterface(p1, ServerStateUpdateDto) : false) ? p1 : THROW_CCE(), $completion);
|
|
737
737
|
};
|
|
738
738
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).a9 = function () {
|
|
739
739
|
var suspendResult = this.u8_1;
|
|
@@ -742,7 +742,7 @@
|
|
|
742
742
|
var tmp = this.s8_1;
|
|
743
743
|
if (tmp === 0) {
|
|
744
744
|
this.t8_1 = 1;
|
|
745
|
-
this.
|
|
745
|
+
this.ee3_1(this.fe3_1);
|
|
746
746
|
return Unit_instance;
|
|
747
747
|
} else if (tmp === 1) {
|
|
748
748
|
throw this.v8_1;
|
|
@@ -753,22 +753,22 @@
|
|
|
753
753
|
}
|
|
754
754
|
while (true);
|
|
755
755
|
};
|
|
756
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
757
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.
|
|
758
|
-
i.
|
|
756
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).he3 = function (it, completion) {
|
|
757
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.ee3_1, completion);
|
|
758
|
+
i.fe3_1 = it;
|
|
759
759
|
return i;
|
|
760
760
|
};
|
|
761
761
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda_0($subscriber, resultContinuation) {
|
|
762
762
|
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation);
|
|
763
763
|
var l = function (it, $completion) {
|
|
764
|
-
return i.
|
|
764
|
+
return i.ge3(it, $completion);
|
|
765
765
|
};
|
|
766
766
|
l.$arity = 1;
|
|
767
767
|
return l;
|
|
768
768
|
}
|
|
769
769
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, $table, resultContinuation) {
|
|
770
|
-
this.
|
|
771
|
-
this.
|
|
770
|
+
this.qe3_1 = $$this$unsafeFlow;
|
|
771
|
+
this.re3_1 = $table;
|
|
772
772
|
CoroutineImpl.call(this, resultContinuation);
|
|
773
773
|
}
|
|
774
774
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).d2j = function (value, $completion) {
|
|
@@ -788,10 +788,10 @@
|
|
|
788
788
|
switch (tmp) {
|
|
789
789
|
case 0:
|
|
790
790
|
this.t8_1 = 2;
|
|
791
|
-
var tmp0 = this.
|
|
792
|
-
var value = this.
|
|
791
|
+
var tmp0 = this.qe3_1;
|
|
792
|
+
var value = this.se3_1;
|
|
793
793
|
this.s8_1 = 1;
|
|
794
|
-
suspendResult = tmp0.j24(new ActionsStateUpdate(this.
|
|
794
|
+
suspendResult = tmp0.j24(new ActionsStateUpdate(this.re3_1.id, value), this);
|
|
795
795
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
796
796
|
return suspendResult;
|
|
797
797
|
}
|
|
@@ -814,8 +814,8 @@
|
|
|
814
814
|
while (true);
|
|
815
815
|
};
|
|
816
816
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).e2j = function (value, completion) {
|
|
817
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.
|
|
818
|
-
i.
|
|
817
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.qe3_1, this.re3_1, completion);
|
|
818
|
+
i.se3_1 = value;
|
|
819
819
|
return i;
|
|
820
820
|
};
|
|
821
821
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, $table, resultContinuation) {
|
|
@@ -828,8 +828,8 @@
|
|
|
828
828
|
}
|
|
829
829
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
830
830
|
CoroutineImpl.call(this, resultContinuation);
|
|
831
|
-
this.
|
|
832
|
-
this.
|
|
831
|
+
this.be4_1 = _this__u8e3s4;
|
|
832
|
+
this.ce4_1 = collector;
|
|
833
833
|
}
|
|
834
834
|
protoOf($collectCOROUTINE$_0).a9 = function () {
|
|
835
835
|
var suspendResult = this.u8_1;
|
|
@@ -839,10 +839,10 @@
|
|
|
839
839
|
switch (tmp) {
|
|
840
840
|
case 0:
|
|
841
841
|
this.t8_1 = 2;
|
|
842
|
-
var $this$unsafeFlow = this.
|
|
842
|
+
var $this$unsafeFlow = this.ce4_1;
|
|
843
843
|
this.s8_1 = 1;
|
|
844
|
-
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
845
|
-
suspendResult = this.
|
|
844
|
+
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.be4_1.ee4_1, null);
|
|
845
|
+
suspendResult = this.be4_1.de4_1.g23(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
|
|
846
846
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
847
847
|
return suspendResult;
|
|
848
848
|
}
|
|
@@ -865,8 +865,8 @@
|
|
|
865
865
|
while (true);
|
|
866
866
|
};
|
|
867
867
|
function _no_name_provided__qut3iv($this, $table) {
|
|
868
|
-
this.
|
|
869
|
-
this.
|
|
868
|
+
this.de4_1 = $this;
|
|
869
|
+
this.ee4_1 = $table;
|
|
870
870
|
}
|
|
871
871
|
protoOf(_no_name_provided__qut3iv).k24 = function (collector, $completion) {
|
|
872
872
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
@@ -878,18 +878,18 @@
|
|
|
878
878
|
return this.k24(collector, $completion);
|
|
879
879
|
};
|
|
880
880
|
function GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation) {
|
|
881
|
-
this.
|
|
882
|
-
this.
|
|
881
|
+
this.ne4_1 = $table;
|
|
882
|
+
this.oe4_1 = this$0;
|
|
883
883
|
CoroutineImpl.call(this, resultContinuation);
|
|
884
884
|
}
|
|
885
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
886
|
-
var tmp = this.
|
|
885
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).qe4 = function ($this$flow, $completion) {
|
|
886
|
+
var tmp = this.re4($this$flow, $completion);
|
|
887
887
|
tmp.u8_1 = Unit_instance;
|
|
888
888
|
tmp.v8_1 = null;
|
|
889
889
|
return tmp.a9();
|
|
890
890
|
};
|
|
891
891
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).i9 = function (p1, $completion) {
|
|
892
|
-
return this.
|
|
892
|
+
return this.qe4((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
893
893
|
};
|
|
894
894
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).a9 = function () {
|
|
895
895
|
var suspendResult = this.u8_1;
|
|
@@ -900,7 +900,7 @@
|
|
|
900
900
|
case 0:
|
|
901
901
|
this.t8_1 = 3;
|
|
902
902
|
this.s8_1 = 1;
|
|
903
|
-
suspendResult = this.
|
|
903
|
+
suspendResult = this.pe4_1.j24(new TableStateUpdate(this.ne4_1.id, this.ne4_1), this);
|
|
904
904
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
905
905
|
return suspendResult;
|
|
906
906
|
}
|
|
@@ -908,8 +908,8 @@
|
|
|
908
908
|
continue $sm;
|
|
909
909
|
case 1:
|
|
910
910
|
this.s8_1 = 2;
|
|
911
|
-
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.
|
|
912
|
-
suspendResult = emitAll(this.
|
|
911
|
+
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.oe4_1).e9d(), fromInt(_get_serverReduxConfig__rprcrm(this.oe4_1).serverStateUpdateIntervalMillis));
|
|
912
|
+
suspendResult = emitAll(this.pe4_1, new _no_name_provided__qut3iv(this_0, this.ne4_1), this);
|
|
913
913
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
914
914
|
return suspendResult;
|
|
915
915
|
}
|
|
@@ -931,22 +931,22 @@
|
|
|
931
931
|
}
|
|
932
932
|
while (true);
|
|
933
933
|
};
|
|
934
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
935
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.
|
|
936
|
-
i.
|
|
934
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).re4 = function ($this$flow, completion) {
|
|
935
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.ne4_1, this.oe4_1, completion);
|
|
936
|
+
i.pe4_1 = $this$flow;
|
|
937
937
|
return i;
|
|
938
938
|
};
|
|
939
939
|
function GameServer$observeTableStateUpdates$slambda$slambda_0($table, this$0, resultContinuation) {
|
|
940
940
|
var i = new GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation);
|
|
941
941
|
var l = function ($this$flow, $completion) {
|
|
942
|
-
return i.
|
|
942
|
+
return i.qe4($this$flow, $completion);
|
|
943
943
|
};
|
|
944
944
|
l.$arity = 1;
|
|
945
945
|
return l;
|
|
946
946
|
}
|
|
947
947
|
function GameServer$observeTableStateUpdates$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
|
|
948
|
-
this.
|
|
949
|
-
this.
|
|
948
|
+
this.ae5_1 = $$this$unsafeFlow;
|
|
949
|
+
this.be5_1 = this$0;
|
|
950
950
|
CoroutineImpl.call(this, resultContinuation);
|
|
951
951
|
}
|
|
952
952
|
protoOf(GameServer$observeTableStateUpdates$o$collect$slambda).d2j = function (value, $completion) {
|
|
@@ -967,16 +967,16 @@
|
|
|
967
967
|
case 0:
|
|
968
968
|
this.t8_1 = 5;
|
|
969
969
|
var tmp_0 = this;
|
|
970
|
-
tmp_0.
|
|
970
|
+
tmp_0.ge5_1 = this.ae5_1;
|
|
971
971
|
var tmp_1 = this;
|
|
972
|
-
tmp_1.
|
|
972
|
+
tmp_1.fe5_1 = this.ce5_1;
|
|
973
973
|
this.s8_1 = 1;
|
|
974
974
|
continue $sm;
|
|
975
975
|
case 1:
|
|
976
|
-
this.
|
|
977
|
-
var it = this.
|
|
976
|
+
this.de5_1 = this.ge5_1;
|
|
977
|
+
var it = this.fe5_1;
|
|
978
978
|
var tmp_2;
|
|
979
|
-
if (get_isCreated(this.
|
|
979
|
+
if (get_isCreated(this.be5_1.l6f())) {
|
|
980
980
|
tmp_2 = it;
|
|
981
981
|
} else {
|
|
982
982
|
tmp_2 = null;
|
|
@@ -988,15 +988,15 @@
|
|
|
988
988
|
var tmp_3 = this;
|
|
989
989
|
continue $sm;
|
|
990
990
|
} else {
|
|
991
|
-
this.
|
|
991
|
+
this.ee5_1 = tmp0_elvis_lhs;
|
|
992
992
|
this.s8_1 = 2;
|
|
993
993
|
continue $sm;
|
|
994
994
|
}
|
|
995
995
|
|
|
996
996
|
case 2:
|
|
997
|
-
var transformed = this.
|
|
997
|
+
var transformed = this.ee5_1;
|
|
998
998
|
this.s8_1 = 3;
|
|
999
|
-
suspendResult = this.
|
|
999
|
+
suspendResult = this.de5_1.j24(transformed, this);
|
|
1000
1000
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1001
1001
|
return suspendResult;
|
|
1002
1002
|
}
|
|
@@ -1027,8 +1027,8 @@
|
|
|
1027
1027
|
while (true);
|
|
1028
1028
|
};
|
|
1029
1029
|
protoOf(GameServer$observeTableStateUpdates$o$collect$slambda).e2j = function (value, completion) {
|
|
1030
|
-
var i = new GameServer$observeTableStateUpdates$o$collect$slambda(this.
|
|
1031
|
-
i.
|
|
1030
|
+
var i = new GameServer$observeTableStateUpdates$o$collect$slambda(this.ae5_1, this.be5_1, completion);
|
|
1031
|
+
i.ce5_1 = value;
|
|
1032
1032
|
return i;
|
|
1033
1033
|
};
|
|
1034
1034
|
function GameServer$observeTableStateUpdates$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
@@ -1041,8 +1041,8 @@
|
|
|
1041
1041
|
}
|
|
1042
1042
|
function $collectCOROUTINE$_1(_this__u8e3s4, collector, resultContinuation) {
|
|
1043
1043
|
CoroutineImpl.call(this, resultContinuation);
|
|
1044
|
-
this.
|
|
1045
|
-
this.
|
|
1044
|
+
this.pe5_1 = _this__u8e3s4;
|
|
1045
|
+
this.qe5_1 = collector;
|
|
1046
1046
|
}
|
|
1047
1047
|
protoOf($collectCOROUTINE$_1).a9 = function () {
|
|
1048
1048
|
var suspendResult = this.u8_1;
|
|
@@ -1052,10 +1052,10 @@
|
|
|
1052
1052
|
switch (tmp) {
|
|
1053
1053
|
case 0:
|
|
1054
1054
|
this.t8_1 = 2;
|
|
1055
|
-
var $this$unsafeFlow = this.
|
|
1055
|
+
var $this$unsafeFlow = this.qe5_1;
|
|
1056
1056
|
this.s8_1 = 1;
|
|
1057
|
-
var tmp_0 = GameServer$observeTableStateUpdates$o$collect$slambda_0($this$unsafeFlow, this.
|
|
1058
|
-
suspendResult = this.
|
|
1057
|
+
var tmp_0 = GameServer$observeTableStateUpdates$o$collect$slambda_0($this$unsafeFlow, this.pe5_1.se5_1, null);
|
|
1058
|
+
suspendResult = this.pe5_1.re5_1.g23(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
|
|
1059
1059
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1060
1060
|
return suspendResult;
|
|
1061
1061
|
}
|
|
@@ -1078,7 +1078,7 @@
|
|
|
1078
1078
|
while (true);
|
|
1079
1079
|
};
|
|
1080
1080
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
1081
|
-
this.
|
|
1081
|
+
this.be6_1 = $$this$unsafeFlow;
|
|
1082
1082
|
CoroutineImpl.call(this, resultContinuation);
|
|
1083
1083
|
}
|
|
1084
1084
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).d2j = function (value, $completion) {
|
|
@@ -1099,28 +1099,28 @@
|
|
|
1099
1099
|
case 0:
|
|
1100
1100
|
this.t8_1 = 5;
|
|
1101
1101
|
var tmp_0 = this;
|
|
1102
|
-
tmp_0.
|
|
1102
|
+
tmp_0.ge6_1 = this.be6_1;
|
|
1103
1103
|
var tmp_1 = this;
|
|
1104
|
-
tmp_1.
|
|
1104
|
+
tmp_1.fe6_1 = this.ce6_1;
|
|
1105
1105
|
this.s8_1 = 1;
|
|
1106
1106
|
continue $sm;
|
|
1107
1107
|
case 1:
|
|
1108
|
-
this.
|
|
1109
|
-
var tmp0_elvis_lhs = this.
|
|
1108
|
+
this.de6_1 = this.ge6_1;
|
|
1109
|
+
var tmp0_elvis_lhs = this.fe6_1.tableOrNull;
|
|
1110
1110
|
if (tmp0_elvis_lhs == null) {
|
|
1111
1111
|
this.s8_1 = 4;
|
|
1112
1112
|
var tmp_2 = this;
|
|
1113
1113
|
continue $sm;
|
|
1114
1114
|
} else {
|
|
1115
|
-
this.
|
|
1115
|
+
this.ee6_1 = tmp0_elvis_lhs;
|
|
1116
1116
|
this.s8_1 = 2;
|
|
1117
1117
|
continue $sm;
|
|
1118
1118
|
}
|
|
1119
1119
|
|
|
1120
1120
|
case 2:
|
|
1121
|
-
var transformed = this.
|
|
1121
|
+
var transformed = this.ee6_1;
|
|
1122
1122
|
this.s8_1 = 3;
|
|
1123
|
-
suspendResult = this.
|
|
1123
|
+
suspendResult = this.de6_1.j24(transformed, this);
|
|
1124
1124
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1125
1125
|
return suspendResult;
|
|
1126
1126
|
}
|
|
@@ -1151,8 +1151,8 @@
|
|
|
1151
1151
|
while (true);
|
|
1152
1152
|
};
|
|
1153
1153
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).e2j = function (value, completion) {
|
|
1154
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.
|
|
1155
|
-
i.
|
|
1154
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.be6_1, completion);
|
|
1155
|
+
i.ce6_1 = value;
|
|
1156
1156
|
return i;
|
|
1157
1157
|
};
|
|
1158
1158
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1165,8 +1165,8 @@
|
|
|
1165
1165
|
}
|
|
1166
1166
|
function $collectCOROUTINE$_2(_this__u8e3s4, collector, resultContinuation) {
|
|
1167
1167
|
CoroutineImpl.call(this, resultContinuation);
|
|
1168
|
-
this.
|
|
1169
|
-
this.
|
|
1168
|
+
this.pe6_1 = _this__u8e3s4;
|
|
1169
|
+
this.qe6_1 = collector;
|
|
1170
1170
|
}
|
|
1171
1171
|
protoOf($collectCOROUTINE$_2).a9 = function () {
|
|
1172
1172
|
var suspendResult = this.u8_1;
|
|
@@ -1176,10 +1176,10 @@
|
|
|
1176
1176
|
switch (tmp) {
|
|
1177
1177
|
case 0:
|
|
1178
1178
|
this.t8_1 = 2;
|
|
1179
|
-
var $this$unsafeFlow = this.
|
|
1179
|
+
var $this$unsafeFlow = this.qe6_1;
|
|
1180
1180
|
this.s8_1 = 1;
|
|
1181
1181
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($this$unsafeFlow, null);
|
|
1182
|
-
suspendResult = this.
|
|
1182
|
+
suspendResult = this.pe6_1.re6_1.g23(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1183
1183
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1184
1184
|
return suspendResult;
|
|
1185
1185
|
}
|
|
@@ -1202,7 +1202,7 @@
|
|
|
1202
1202
|
while (true);
|
|
1203
1203
|
};
|
|
1204
1204
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_1($$this$unsafeFlow, resultContinuation) {
|
|
1205
|
-
this.
|
|
1205
|
+
this.ae7_1 = $$this$unsafeFlow;
|
|
1206
1206
|
CoroutineImpl.call(this, resultContinuation);
|
|
1207
1207
|
}
|
|
1208
1208
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).d2j = function (value, $completion) {
|
|
@@ -1222,8 +1222,8 @@
|
|
|
1222
1222
|
switch (tmp) {
|
|
1223
1223
|
case 0:
|
|
1224
1224
|
this.t8_1 = 2;
|
|
1225
|
-
var tmp0 = this.
|
|
1226
|
-
var value = this.
|
|
1225
|
+
var tmp0 = this.ae7_1;
|
|
1226
|
+
var value = this.be7_1;
|
|
1227
1227
|
this.s8_1 = 1;
|
|
1228
1228
|
suspendResult = tmp0.j24(to(value.gameInfo.roundNumberTotal, value), this);
|
|
1229
1229
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1248,8 +1248,8 @@
|
|
|
1248
1248
|
while (true);
|
|
1249
1249
|
};
|
|
1250
1250
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).e2j = function (value, completion) {
|
|
1251
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.
|
|
1252
|
-
i.
|
|
1251
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.ae7_1, completion);
|
|
1252
|
+
i.be7_1 = value;
|
|
1253
1253
|
return i;
|
|
1254
1254
|
};
|
|
1255
1255
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1262,8 +1262,8 @@
|
|
|
1262
1262
|
}
|
|
1263
1263
|
function $collectCOROUTINE$_3(_this__u8e3s4, collector, resultContinuation) {
|
|
1264
1264
|
CoroutineImpl.call(this, resultContinuation);
|
|
1265
|
-
this.
|
|
1266
|
-
this.
|
|
1265
|
+
this.ke7_1 = _this__u8e3s4;
|
|
1266
|
+
this.le7_1 = collector;
|
|
1267
1267
|
}
|
|
1268
1268
|
protoOf($collectCOROUTINE$_3).a9 = function () {
|
|
1269
1269
|
var suspendResult = this.u8_1;
|
|
@@ -1273,10 +1273,10 @@
|
|
|
1273
1273
|
switch (tmp) {
|
|
1274
1274
|
case 0:
|
|
1275
1275
|
this.t8_1 = 2;
|
|
1276
|
-
var $this$unsafeFlow = this.
|
|
1276
|
+
var $this$unsafeFlow = this.le7_1;
|
|
1277
1277
|
this.s8_1 = 1;
|
|
1278
1278
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($this$unsafeFlow, null);
|
|
1279
|
-
suspendResult = this.
|
|
1279
|
+
suspendResult = this.ke7_1.me7_1.g23(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1280
1280
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1281
1281
|
return suspendResult;
|
|
1282
1282
|
}
|
|
@@ -1299,7 +1299,7 @@
|
|
|
1299
1299
|
while (true);
|
|
1300
1300
|
};
|
|
1301
1301
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_3($$this$unsafeFlow, resultContinuation) {
|
|
1302
|
-
this.
|
|
1302
|
+
this.ve7_1 = $$this$unsafeFlow;
|
|
1303
1303
|
CoroutineImpl.call(this, resultContinuation);
|
|
1304
1304
|
}
|
|
1305
1305
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).d2j = function (value, $completion) {
|
|
@@ -1319,8 +1319,8 @@
|
|
|
1319
1319
|
switch (tmp) {
|
|
1320
1320
|
case 0:
|
|
1321
1321
|
this.t8_1 = 2;
|
|
1322
|
-
var tmp0 = this.
|
|
1323
|
-
var value = this.
|
|
1322
|
+
var tmp0 = this.ve7_1;
|
|
1323
|
+
var value = this.we7_1;
|
|
1324
1324
|
this.s8_1 = 1;
|
|
1325
1325
|
suspendResult = tmp0.j24(value.ne_1, this);
|
|
1326
1326
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1345,8 +1345,8 @@
|
|
|
1345
1345
|
while (true);
|
|
1346
1346
|
};
|
|
1347
1347
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).e2j = function (value, completion) {
|
|
1348
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.
|
|
1349
|
-
i.
|
|
1348
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.ve7_1, completion);
|
|
1349
|
+
i.we7_1 = value;
|
|
1350
1350
|
return i;
|
|
1351
1351
|
};
|
|
1352
1352
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1359,8 +1359,8 @@
|
|
|
1359
1359
|
}
|
|
1360
1360
|
function $collectCOROUTINE$_4(_this__u8e3s4, collector, resultContinuation) {
|
|
1361
1361
|
CoroutineImpl.call(this, resultContinuation);
|
|
1362
|
-
this.
|
|
1363
|
-
this.
|
|
1362
|
+
this.fe8_1 = _this__u8e3s4;
|
|
1363
|
+
this.ge8_1 = collector;
|
|
1364
1364
|
}
|
|
1365
1365
|
protoOf($collectCOROUTINE$_4).a9 = function () {
|
|
1366
1366
|
var suspendResult = this.u8_1;
|
|
@@ -1370,10 +1370,10 @@
|
|
|
1370
1370
|
switch (tmp) {
|
|
1371
1371
|
case 0:
|
|
1372
1372
|
this.t8_1 = 2;
|
|
1373
|
-
var $this$unsafeFlow = this.
|
|
1373
|
+
var $this$unsafeFlow = this.ge8_1;
|
|
1374
1374
|
this.s8_1 = 1;
|
|
1375
1375
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($this$unsafeFlow, null);
|
|
1376
|
-
suspendResult = this.
|
|
1376
|
+
suspendResult = this.fe8_1.he8_1.g23(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1377
1377
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1378
1378
|
return suspendResult;
|
|
1379
1379
|
}
|
|
@@ -1396,17 +1396,17 @@
|
|
|
1396
1396
|
while (true);
|
|
1397
1397
|
};
|
|
1398
1398
|
function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
|
|
1399
|
-
this.
|
|
1399
|
+
this.qe8_1 = $subscriber;
|
|
1400
1400
|
CoroutineImpl.call(this, resultContinuation);
|
|
1401
1401
|
}
|
|
1402
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1403
|
-
var tmp = this.
|
|
1402
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).se8 = function (it, $completion) {
|
|
1403
|
+
var tmp = this.te8(it, $completion);
|
|
1404
1404
|
tmp.u8_1 = Unit_instance;
|
|
1405
1405
|
tmp.v8_1 = null;
|
|
1406
1406
|
return tmp.a9();
|
|
1407
1407
|
};
|
|
1408
1408
|
protoOf(GameServer$subscribeWith$slambda$slambda).i9 = function (p1, $completion) {
|
|
1409
|
-
return this.
|
|
1409
|
+
return this.se8(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
|
|
1410
1410
|
};
|
|
1411
1411
|
protoOf(GameServer$subscribeWith$slambda$slambda).a9 = function () {
|
|
1412
1412
|
var suspendResult = this.u8_1;
|
|
@@ -1415,7 +1415,7 @@
|
|
|
1415
1415
|
var tmp = this.s8_1;
|
|
1416
1416
|
if (tmp === 0) {
|
|
1417
1417
|
this.t8_1 = 1;
|
|
1418
|
-
this.
|
|
1418
|
+
this.qe8_1(this.re8_1);
|
|
1419
1419
|
return Unit_instance;
|
|
1420
1420
|
} else if (tmp === 1) {
|
|
1421
1421
|
throw this.v8_1;
|
|
@@ -1426,98 +1426,98 @@
|
|
|
1426
1426
|
}
|
|
1427
1427
|
while (true);
|
|
1428
1428
|
};
|
|
1429
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1430
|
-
var i = new GameServer$subscribeWith$slambda$slambda(this.
|
|
1431
|
-
i.
|
|
1429
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).te8 = function (it, completion) {
|
|
1430
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.qe8_1, completion);
|
|
1431
|
+
i.re8_1 = it;
|
|
1432
1432
|
return i;
|
|
1433
1433
|
};
|
|
1434
1434
|
function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
|
|
1435
1435
|
var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
|
|
1436
1436
|
var l = function (it, $completion) {
|
|
1437
|
-
return i.
|
|
1437
|
+
return i.se8(it, $completion);
|
|
1438
1438
|
};
|
|
1439
1439
|
l.$arity = 1;
|
|
1440
1440
|
return l;
|
|
1441
1441
|
}
|
|
1442
1442
|
function _get_toClientEventsObserver__6rp51y($this) {
|
|
1443
|
-
var tmp0 = $this.
|
|
1443
|
+
var tmp0 = $this.ye8_1;
|
|
1444
1444
|
var tmp = KProperty1;
|
|
1445
1445
|
// Inline function 'kotlin.getValue' call
|
|
1446
1446
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, GameServer$_get_toClientEventsObserver_$ref_utir8s_0(), null);
|
|
1447
1447
|
return tmp0.x();
|
|
1448
1448
|
}
|
|
1449
1449
|
function _get_fromClientEventsObserver__a7vzd3($this) {
|
|
1450
|
-
var tmp0 = $this.
|
|
1450
|
+
var tmp0 = $this.ze8_1;
|
|
1451
1451
|
var tmp = KProperty1;
|
|
1452
1452
|
// Inline function 'kotlin.getValue' call
|
|
1453
1453
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, GameServer$_get_fromClientEventsObserver_$ref_nf1g79_0(), null);
|
|
1454
1454
|
return tmp0.x();
|
|
1455
1455
|
}
|
|
1456
1456
|
function _get_playerConnectionInteractor__si6cxf($this) {
|
|
1457
|
-
var tmp0 = $this.
|
|
1457
|
+
var tmp0 = $this.ae9_1;
|
|
1458
1458
|
var tmp = KProperty1;
|
|
1459
1459
|
// Inline function 'kotlin.getValue' call
|
|
1460
1460
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, GameServer$_get_playerConnectionInteractor_$ref_of8tan_0(), null);
|
|
1461
1461
|
return tmp0.x();
|
|
1462
1462
|
}
|
|
1463
1463
|
function _get_teamsLogicProvider__u10pm6($this) {
|
|
1464
|
-
var tmp0 = $this.
|
|
1464
|
+
var tmp0 = $this.be9_1;
|
|
1465
1465
|
var tmp = KProperty1;
|
|
1466
1466
|
// Inline function 'kotlin.getValue' call
|
|
1467
1467
|
getPropertyCallableRef('teamsLogicProvider', 1, tmp, GameServer$_get_teamsLogicProvider_$ref_b7y54g_0(), null);
|
|
1468
1468
|
return tmp0.x();
|
|
1469
1469
|
}
|
|
1470
1470
|
function _get_userRatingInteractor__a09mdy($this) {
|
|
1471
|
-
var tmp0 = $this.
|
|
1471
|
+
var tmp0 = $this.ce9_1;
|
|
1472
1472
|
var tmp = KProperty1;
|
|
1473
1473
|
// Inline function 'kotlin.getValue' call
|
|
1474
1474
|
getPropertyCallableRef('userRatingInteractor', 1, tmp, GameServer$_get_userRatingInteractor_$ref_8uo6aw_0(), null);
|
|
1475
1475
|
return tmp0.x();
|
|
1476
1476
|
}
|
|
1477
1477
|
function _get_random__h29cgo($this) {
|
|
1478
|
-
var tmp0 = $this.
|
|
1478
|
+
var tmp0 = $this.de9_1;
|
|
1479
1479
|
var tmp = KProperty1;
|
|
1480
1480
|
// Inline function 'kotlin.getValue' call
|
|
1481
1481
|
getPropertyCallableRef('random', 1, tmp, GameServer$_get_random_$ref_fottnq(), null);
|
|
1482
1482
|
return tmp0.x();
|
|
1483
1483
|
}
|
|
1484
1484
|
function _get_idsProvider__fnfajc($this) {
|
|
1485
|
-
var tmp0 = $this.
|
|
1485
|
+
var tmp0 = $this.ee9_1;
|
|
1486
1486
|
var tmp = KProperty1;
|
|
1487
1487
|
// Inline function 'kotlin.getValue' call
|
|
1488
1488
|
getPropertyCallableRef('idsProvider', 1, tmp, GameServer$_get_idsProvider_$ref_89s908_0(), null);
|
|
1489
1489
|
return tmp0.x();
|
|
1490
1490
|
}
|
|
1491
1491
|
function _get_serverReduxConfig__rprcrm($this) {
|
|
1492
|
-
var tmp0 = $this.
|
|
1492
|
+
var tmp0 = $this.fe9_1;
|
|
1493
1493
|
var tmp = KProperty1;
|
|
1494
1494
|
// Inline function 'kotlin.getValue' call
|
|
1495
1495
|
getPropertyCallableRef('serverReduxConfig', 1, tmp, GameServer$_get_serverReduxConfig_$ref_7h6jq6_0(), null);
|
|
1496
1496
|
return tmp0.x();
|
|
1497
1497
|
}
|
|
1498
1498
|
function _get_encoderDecoderProvider__qqgrji($this) {
|
|
1499
|
-
var tmp0 = $this.
|
|
1499
|
+
var tmp0 = $this.ge9_1;
|
|
1500
1500
|
var tmp = KProperty1;
|
|
1501
1501
|
// Inline function 'kotlin.getValue' call
|
|
1502
1502
|
getPropertyCallableRef('encoderDecoderProvider', 1, tmp, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8_0(), null);
|
|
1503
1503
|
return tmp0.x();
|
|
1504
1504
|
}
|
|
1505
1505
|
function _get_engineLogicConfig__l11qpf($this) {
|
|
1506
|
-
var tmp0 = $this.
|
|
1506
|
+
var tmp0 = $this.he9_1;
|
|
1507
1507
|
var tmp = KProperty1;
|
|
1508
1508
|
// Inline function 'kotlin.getValue' call
|
|
1509
1509
|
getPropertyCallableRef('engineLogicConfig', 1, tmp, GameServer$_get_engineLogicConfig_$ref_nlkv2l_0(), null);
|
|
1510
1510
|
return tmp0.x();
|
|
1511
1511
|
}
|
|
1512
1512
|
function _get_leaguesConfig__hvzxf9($this) {
|
|
1513
|
-
var tmp0 = $this.
|
|
1513
|
+
var tmp0 = $this.ie9_1;
|
|
1514
1514
|
var tmp = KProperty1;
|
|
1515
1515
|
// Inline function 'kotlin.getValue' call
|
|
1516
1516
|
getPropertyCallableRef('leaguesConfig', 1, tmp, GameServer$_get_leaguesConfig_$ref_fi951n_0(), null);
|
|
1517
1517
|
return tmp0.x();
|
|
1518
1518
|
}
|
|
1519
1519
|
function _get_botChatInteractor__17f3on($this) {
|
|
1520
|
-
var tmp0 = $this.
|
|
1520
|
+
var tmp0 = $this.je9_1;
|
|
1521
1521
|
var tmp = KProperty1;
|
|
1522
1522
|
// Inline function 'kotlin.getValue' call
|
|
1523
1523
|
getPropertyCallableRef('botChatInteractor', 1, tmp, GameServer$_get_botChatInteractor_$ref_zf10ih_0(), null);
|
|
@@ -1553,7 +1553,7 @@
|
|
|
1553
1553
|
var player = getPlayer(table.players, playerId);
|
|
1554
1554
|
var tmp;
|
|
1555
1555
|
if (_get_engineLogicConfig__l11qpf($this).updateRating) {
|
|
1556
|
-
var tmp0_safe_receiver = _get_userRatingInteractor__a09mdy($this).
|
|
1556
|
+
var tmp0_safe_receiver = _get_userRatingInteractor__a09mdy($this).a9l(player, table.players, table.config, table.gameDuration, table.isGameFinished, VOID, _get_leaguesConfig__hvzxf9($this));
|
|
1557
1557
|
var tmp_0;
|
|
1558
1558
|
if (tmp0_safe_receiver == null) {
|
|
1559
1559
|
tmp_0 = null;
|
|
@@ -1616,7 +1616,7 @@
|
|
|
1616
1616
|
var tmp$ret$3 = new GameServer$preserveTeams$previousTeams$1(item);
|
|
1617
1617
|
destination.j(tmp$ret$3);
|
|
1618
1618
|
}
|
|
1619
|
-
var previousTeams = tmp.
|
|
1619
|
+
var previousTeams = tmp.y9c(destination);
|
|
1620
1620
|
// Inline function 'kotlin.collections.filterNot' call
|
|
1621
1621
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
1622
1622
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
@@ -1647,23 +1647,23 @@
|
|
|
1647
1647
|
destination_1.j(destination_2);
|
|
1648
1648
|
}
|
|
1649
1649
|
var updatedTeams = destination_1;
|
|
1650
|
-
return _get_teamsLogicProvider__u10pm6($this).
|
|
1650
|
+
return _get_teamsLogicProvider__u10pm6($this).z9c(updatedTeams);
|
|
1651
1651
|
}
|
|
1652
1652
|
function Companion() {
|
|
1653
|
-
this.
|
|
1653
|
+
this.le9_1 = 'GameEngine_API';
|
|
1654
1654
|
}
|
|
1655
1655
|
var Companion_instance_10;
|
|
1656
1656
|
function Companion_getInstance_0() {
|
|
1657
1657
|
return Companion_instance_10;
|
|
1658
1658
|
}
|
|
1659
1659
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
1660
|
-
this.
|
|
1660
|
+
this.me9_1 = function_0;
|
|
1661
1661
|
}
|
|
1662
1662
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).j24 = function (value, $completion) {
|
|
1663
|
-
return this.
|
|
1663
|
+
return this.me9_1(value, $completion);
|
|
1664
1664
|
};
|
|
1665
1665
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).b3 = function () {
|
|
1666
|
-
return this.
|
|
1666
|
+
return this.me9_1;
|
|
1667
1667
|
};
|
|
1668
1668
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
1669
1669
|
var tmp;
|
|
@@ -1684,13 +1684,13 @@
|
|
|
1684
1684
|
return hashCode(this.b3());
|
|
1685
1685
|
};
|
|
1686
1686
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
1687
|
-
this.
|
|
1687
|
+
this.ne9_1 = function_0;
|
|
1688
1688
|
}
|
|
1689
1689
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).j24 = function (value, $completion) {
|
|
1690
|
-
return this.
|
|
1690
|
+
return this.ne9_1(value, $completion);
|
|
1691
1691
|
};
|
|
1692
1692
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).b3 = function () {
|
|
1693
|
-
return this.
|
|
1693
|
+
return this.ne9_1;
|
|
1694
1694
|
};
|
|
1695
1695
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
1696
1696
|
var tmp;
|
|
@@ -1711,13 +1711,13 @@
|
|
|
1711
1711
|
return hashCode(this.b3());
|
|
1712
1712
|
};
|
|
1713
1713
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
|
|
1714
|
-
this.
|
|
1714
|
+
this.oe9_1 = function_0;
|
|
1715
1715
|
}
|
|
1716
1716
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).j24 = function (value, $completion) {
|
|
1717
|
-
return this.
|
|
1717
|
+
return this.oe9_1(value, $completion);
|
|
1718
1718
|
};
|
|
1719
1719
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).b3 = function () {
|
|
1720
|
-
return this.
|
|
1720
|
+
return this.oe9_1;
|
|
1721
1721
|
};
|
|
1722
1722
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
|
|
1723
1723
|
var tmp;
|
|
@@ -1738,13 +1738,13 @@
|
|
|
1738
1738
|
return hashCode(this.b3());
|
|
1739
1739
|
};
|
|
1740
1740
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
|
|
1741
|
-
this.
|
|
1741
|
+
this.pe9_1 = function_0;
|
|
1742
1742
|
}
|
|
1743
1743
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).j24 = function (value, $completion) {
|
|
1744
|
-
return this.
|
|
1744
|
+
return this.pe9_1(value, $completion);
|
|
1745
1745
|
};
|
|
1746
1746
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).b3 = function () {
|
|
1747
|
-
return this.
|
|
1747
|
+
return this.pe9_1;
|
|
1748
1748
|
};
|
|
1749
1749
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
|
|
1750
1750
|
var tmp;
|
|
@@ -1765,13 +1765,13 @@
|
|
|
1765
1765
|
return hashCode(this.b3());
|
|
1766
1766
|
};
|
|
1767
1767
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_3(function_0) {
|
|
1768
|
-
this.
|
|
1768
|
+
this.qe9_1 = function_0;
|
|
1769
1769
|
}
|
|
1770
1770
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).j24 = function (value, $completion) {
|
|
1771
|
-
return this.
|
|
1771
|
+
return this.qe9_1(value, $completion);
|
|
1772
1772
|
};
|
|
1773
1773
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).b3 = function () {
|
|
1774
|
-
return this.
|
|
1774
|
+
return this.qe9_1;
|
|
1775
1775
|
};
|
|
1776
1776
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).equals = function (other) {
|
|
1777
1777
|
var tmp;
|
|
@@ -1792,13 +1792,13 @@
|
|
|
1792
1792
|
return hashCode(this.b3());
|
|
1793
1793
|
};
|
|
1794
1794
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_4(function_0) {
|
|
1795
|
-
this.
|
|
1795
|
+
this.re9_1 = function_0;
|
|
1796
1796
|
}
|
|
1797
1797
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).j24 = function (value, $completion) {
|
|
1798
|
-
return this.
|
|
1798
|
+
return this.re9_1(value, $completion);
|
|
1799
1799
|
};
|
|
1800
1800
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).b3 = function () {
|
|
1801
|
-
return this.
|
|
1801
|
+
return this.re9_1;
|
|
1802
1802
|
};
|
|
1803
1803
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).equals = function (other) {
|
|
1804
1804
|
var tmp;
|
|
@@ -1939,8 +1939,8 @@
|
|
|
1939
1939
|
};
|
|
1940
1940
|
}
|
|
1941
1941
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
1942
|
-
this.
|
|
1943
|
-
this.
|
|
1942
|
+
this.aea_1 = this$0;
|
|
1943
|
+
this.bea_1 = $subscriber;
|
|
1944
1944
|
CoroutineImpl.call(this, resultContinuation);
|
|
1945
1945
|
}
|
|
1946
1946
|
protoOf(GameServer$subscribeToClientAction$slambda).k29 = function ($this$launchDefault, $completion) {
|
|
@@ -1961,8 +1961,8 @@
|
|
|
1961
1961
|
case 0:
|
|
1962
1962
|
this.t8_1 = 2;
|
|
1963
1963
|
this.s8_1 = 1;
|
|
1964
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
1965
|
-
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.
|
|
1964
|
+
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.aea_1).lb9();
|
|
1965
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.bea_1, null);
|
|
1966
1966
|
suspendResult = tmp_0.g23(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
1967
1967
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1968
1968
|
return suspendResult;
|
|
@@ -1986,8 +1986,8 @@
|
|
|
1986
1986
|
while (true);
|
|
1987
1987
|
};
|
|
1988
1988
|
protoOf(GameServer$subscribeToClientAction$slambda).l29 = function ($this$launchDefault, completion) {
|
|
1989
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
1990
|
-
i.
|
|
1989
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.aea_1, this.bea_1, completion);
|
|
1990
|
+
i.cea_1 = $this$launchDefault;
|
|
1991
1991
|
return i;
|
|
1992
1992
|
};
|
|
1993
1993
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1999,8 +1999,8 @@
|
|
|
1999
1999
|
return l;
|
|
2000
2000
|
}
|
|
2001
2001
|
function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
|
|
2002
|
-
this.
|
|
2003
|
-
this.
|
|
2002
|
+
this.lea_1 = this$0;
|
|
2003
|
+
this.mea_1 = $subscriber;
|
|
2004
2004
|
CoroutineImpl.call(this, resultContinuation);
|
|
2005
2005
|
}
|
|
2006
2006
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).k29 = function ($this$launchDefault, $completion) {
|
|
@@ -2021,8 +2021,8 @@
|
|
|
2021
2021
|
case 0:
|
|
2022
2022
|
this.t8_1 = 2;
|
|
2023
2023
|
this.s8_1 = 1;
|
|
2024
|
-
var tmp_0 = observeTableStateUpdates(this.
|
|
2025
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.
|
|
2024
|
+
var tmp_0 = observeTableStateUpdates(this.lea_1);
|
|
2025
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.mea_1, null);
|
|
2026
2026
|
suspendResult = tmp_0.g23(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
2027
2027
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2028
2028
|
return suspendResult;
|
|
@@ -2046,8 +2046,8 @@
|
|
|
2046
2046
|
while (true);
|
|
2047
2047
|
};
|
|
2048
2048
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).l29 = function ($this$launchDefault, completion) {
|
|
2049
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda(this.
|
|
2050
|
-
i.
|
|
2049
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda(this.lea_1, this.mea_1, completion);
|
|
2050
|
+
i.nea_1 = $this$launchDefault;
|
|
2051
2051
|
return i;
|
|
2052
2052
|
};
|
|
2053
2053
|
function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -2059,8 +2059,8 @@
|
|
|
2059
2059
|
return l;
|
|
2060
2060
|
}
|
|
2061
2061
|
function GameServer$subscribeServerStateUpdateJson$slambda(this$0, $subscriber, resultContinuation) {
|
|
2062
|
-
this.
|
|
2063
|
-
this.
|
|
2062
|
+
this.wea_1 = this$0;
|
|
2063
|
+
this.xea_1 = $subscriber;
|
|
2064
2064
|
CoroutineImpl.call(this, resultContinuation);
|
|
2065
2065
|
}
|
|
2066
2066
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).k29 = function ($this$launchDefault, $completion) {
|
|
@@ -2081,9 +2081,9 @@
|
|
|
2081
2081
|
case 0:
|
|
2082
2082
|
this.t8_1 = 2;
|
|
2083
2083
|
this.s8_1 = 1;
|
|
2084
|
-
var this_0 = observeTableStateUpdates(this.
|
|
2085
|
-
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.
|
|
2086
|
-
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.
|
|
2084
|
+
var this_0 = observeTableStateUpdates(this.wea_1);
|
|
2085
|
+
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.wea_1);
|
|
2086
|
+
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.xea_1, null);
|
|
2087
2087
|
suspendResult = tmp_0.g23(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
2088
2088
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2089
2089
|
return suspendResult;
|
|
@@ -2107,8 +2107,8 @@
|
|
|
2107
2107
|
while (true);
|
|
2108
2108
|
};
|
|
2109
2109
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).l29 = function ($this$launchDefault, completion) {
|
|
2110
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.
|
|
2111
|
-
i.
|
|
2110
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.wea_1, this.xea_1, completion);
|
|
2111
|
+
i.yea_1 = $this$launchDefault;
|
|
2112
2112
|
return i;
|
|
2113
2113
|
};
|
|
2114
2114
|
function GameServer$subscribeServerStateUpdateJson$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -2120,8 +2120,8 @@
|
|
|
2120
2120
|
return l;
|
|
2121
2121
|
}
|
|
2122
2122
|
function GameServer$getServerTableState$slambda(this$0, $callback, resultContinuation) {
|
|
2123
|
-
this.
|
|
2124
|
-
this.
|
|
2123
|
+
this.heb_1 = this$0;
|
|
2124
|
+
this.ieb_1 = $callback;
|
|
2125
2125
|
CoroutineImpl.call(this, resultContinuation);
|
|
2126
2126
|
}
|
|
2127
2127
|
protoOf(GameServer$getServerTableState$slambda).k29 = function ($this$launchDefault, $completion) {
|
|
@@ -2140,11 +2140,11 @@
|
|
|
2140
2140
|
var tmp = this.s8_1;
|
|
2141
2141
|
if (tmp === 0) {
|
|
2142
2142
|
this.t8_1 = 1;
|
|
2143
|
-
if (!this.
|
|
2143
|
+
if (!this.heb_1.isTableExists) {
|
|
2144
2144
|
return Unit_instance;
|
|
2145
2145
|
}
|
|
2146
|
-
var dto = mapToDto_2(new TableStateUpdate(this.
|
|
2147
|
-
this.
|
|
2146
|
+
var dto = mapToDto_2(new TableStateUpdate(this.heb_1.table.id, this.heb_1.table), _get_encoderDecoderProvider__qqgrji(this.heb_1));
|
|
2147
|
+
this.ieb_1(dto);
|
|
2148
2148
|
return Unit_instance;
|
|
2149
2149
|
} else if (tmp === 1) {
|
|
2150
2150
|
throw this.v8_1;
|
|
@@ -2156,8 +2156,8 @@
|
|
|
2156
2156
|
while (true);
|
|
2157
2157
|
};
|
|
2158
2158
|
protoOf(GameServer$getServerTableState$slambda).l29 = function ($this$launchDefault, completion) {
|
|
2159
|
-
var i = new GameServer$getServerTableState$slambda(this.
|
|
2160
|
-
i.
|
|
2159
|
+
var i = new GameServer$getServerTableState$slambda(this.heb_1, this.ieb_1, completion);
|
|
2160
|
+
i.jeb_1 = $this$launchDefault;
|
|
2161
2161
|
return i;
|
|
2162
2162
|
};
|
|
2163
2163
|
function GameServer$getServerTableState$slambda_0(this$0, $callback, resultContinuation) {
|
|
@@ -2169,18 +2169,18 @@
|
|
|
2169
2169
|
return l;
|
|
2170
2170
|
}
|
|
2171
2171
|
function GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation) {
|
|
2172
|
-
this.
|
|
2172
|
+
this.seb_1 = this$0;
|
|
2173
2173
|
CoroutineImpl.call(this, resultContinuation);
|
|
2174
2174
|
}
|
|
2175
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
2176
|
-
var tmp = this.
|
|
2175
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).yci = function ($this$transformLatest, it, $completion) {
|
|
2176
|
+
var tmp = this.zci($this$transformLatest, it, $completion);
|
|
2177
2177
|
tmp.u8_1 = Unit_instance;
|
|
2178
2178
|
tmp.v8_1 = null;
|
|
2179
2179
|
return tmp.a9();
|
|
2180
2180
|
};
|
|
2181
2181
|
protoOf(GameServer$observeTableStateUpdates$slambda).j9 = function (p1, p2, $completion) {
|
|
2182
2182
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
2183
|
-
return this.
|
|
2183
|
+
return this.yci(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
2184
2184
|
};
|
|
2185
2185
|
protoOf(GameServer$observeTableStateUpdates$slambda).a9 = function () {
|
|
2186
2186
|
var suspendResult = this.u8_1;
|
|
@@ -2191,8 +2191,8 @@
|
|
|
2191
2191
|
case 0:
|
|
2192
2192
|
this.t8_1 = 2;
|
|
2193
2193
|
this.s8_1 = 1;
|
|
2194
|
-
var table = this.
|
|
2195
|
-
suspendResult = emitAll(this.
|
|
2194
|
+
var table = this.ueb_1;
|
|
2195
|
+
suspendResult = emitAll(this.teb_1, flow(GameServer$observeTableStateUpdates$slambda$slambda_0(table, this.seb_1, null)), this);
|
|
2196
2196
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2197
2197
|
return suspendResult;
|
|
2198
2198
|
}
|
|
@@ -2214,23 +2214,23 @@
|
|
|
2214
2214
|
}
|
|
2215
2215
|
while (true);
|
|
2216
2216
|
};
|
|
2217
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
2218
|
-
var i = new GameServer$observeTableStateUpdates$slambda(this.
|
|
2219
|
-
i.
|
|
2220
|
-
i.
|
|
2217
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).zci = function ($this$transformLatest, it, completion) {
|
|
2218
|
+
var i = new GameServer$observeTableStateUpdates$slambda(this.seb_1, completion);
|
|
2219
|
+
i.teb_1 = $this$transformLatest;
|
|
2220
|
+
i.ueb_1 = it;
|
|
2221
2221
|
return i;
|
|
2222
2222
|
};
|
|
2223
2223
|
function GameServer$observeTableStateUpdates$slambda_0(this$0, resultContinuation) {
|
|
2224
2224
|
var i = new GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation);
|
|
2225
2225
|
var l = function ($this$transformLatest, it, $completion) {
|
|
2226
|
-
return i.
|
|
2226
|
+
return i.yci($this$transformLatest, it, $completion);
|
|
2227
2227
|
};
|
|
2228
2228
|
l.$arity = 2;
|
|
2229
2229
|
return l;
|
|
2230
2230
|
}
|
|
2231
2231
|
function GameServer$observeTableStateUpdates$$inlined$mapNotNull$1($this, this$0) {
|
|
2232
|
-
this.
|
|
2233
|
-
this.
|
|
2232
|
+
this.re5_1 = $this;
|
|
2233
|
+
this.se5_1 = this$0;
|
|
2234
2234
|
}
|
|
2235
2235
|
protoOf(GameServer$observeTableStateUpdates$$inlined$mapNotNull$1).k24 = function (collector, $completion) {
|
|
2236
2236
|
var tmp = new $collectCOROUTINE$_1(this, collector, $completion);
|
|
@@ -2242,7 +2242,7 @@
|
|
|
2242
2242
|
return this.k24(collector, $completion);
|
|
2243
2243
|
};
|
|
2244
2244
|
function GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1($this) {
|
|
2245
|
-
this.
|
|
2245
|
+
this.re6_1 = $this;
|
|
2246
2246
|
}
|
|
2247
2247
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1).k24 = function (collector, $completion) {
|
|
2248
2248
|
var tmp = new $collectCOROUTINE$_2(this, collector, $completion);
|
|
@@ -2254,7 +2254,7 @@
|
|
|
2254
2254
|
return this.k24(collector, $completion);
|
|
2255
2255
|
};
|
|
2256
2256
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$1($this) {
|
|
2257
|
-
this.
|
|
2257
|
+
this.me7_1 = $this;
|
|
2258
2258
|
}
|
|
2259
2259
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$1).k24 = function (collector, $completion) {
|
|
2260
2260
|
var tmp = new $collectCOROUTINE$_3(this, collector, $completion);
|
|
@@ -2269,7 +2269,7 @@
|
|
|
2269
2269
|
return old.me_1 === new_0.me_1;
|
|
2270
2270
|
}
|
|
2271
2271
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$2($this) {
|
|
2272
|
-
this.
|
|
2272
|
+
this.he8_1 = $this;
|
|
2273
2273
|
}
|
|
2274
2274
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$2).k24 = function (collector, $completion) {
|
|
2275
2275
|
var tmp = new $collectCOROUTINE$_4(this, collector, $completion);
|
|
@@ -2281,8 +2281,8 @@
|
|
|
2281
2281
|
return this.k24(collector, $completion);
|
|
2282
2282
|
};
|
|
2283
2283
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
2284
|
-
this.
|
|
2285
|
-
this.
|
|
2284
|
+
this.dec_1 = this$0;
|
|
2285
|
+
this.eec_1 = $subscriber;
|
|
2286
2286
|
CoroutineImpl.call(this, resultContinuation);
|
|
2287
2287
|
}
|
|
2288
2288
|
protoOf(GameServer$subscribeWith$slambda).k29 = function ($this$launchDefault, $completion) {
|
|
@@ -2303,8 +2303,8 @@
|
|
|
2303
2303
|
case 0:
|
|
2304
2304
|
this.t8_1 = 2;
|
|
2305
2305
|
this.s8_1 = 1;
|
|
2306
|
-
var tmp_0 = distinctUntilChanged(this.
|
|
2307
|
-
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.
|
|
2306
|
+
var tmp_0 = distinctUntilChanged(this.dec_1.d71());
|
|
2307
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.eec_1, null);
|
|
2308
2308
|
suspendResult = tmp_0.g23(new sam$kotlinx_coroutines_flow_FlowCollector$0_4(tmp_1), this);
|
|
2309
2309
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2310
2310
|
return suspendResult;
|
|
@@ -2328,8 +2328,8 @@
|
|
|
2328
2328
|
while (true);
|
|
2329
2329
|
};
|
|
2330
2330
|
protoOf(GameServer$subscribeWith$slambda).l29 = function ($this$launchDefault, completion) {
|
|
2331
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
2332
|
-
i.
|
|
2331
|
+
var i = new GameServer$subscribeWith$slambda(this.dec_1, this.eec_1, completion);
|
|
2332
|
+
i.fec_1 = $this$launchDefault;
|
|
2333
2333
|
return i;
|
|
2334
2334
|
};
|
|
2335
2335
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -2341,18 +2341,18 @@
|
|
|
2341
2341
|
return l;
|
|
2342
2342
|
}
|
|
2343
2343
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
2344
|
-
this.
|
|
2344
|
+
this.oec_1 = $action;
|
|
2345
2345
|
CoroutineImpl.call(this, resultContinuation);
|
|
2346
2346
|
}
|
|
2347
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
2348
|
-
var tmp = this.
|
|
2347
|
+
protoOf(GameServer$fromClientEvent$slambda).nbr = function ($this$dispatchAsync, store, $completion) {
|
|
2348
|
+
var tmp = this.obr($this$dispatchAsync, store, $completion);
|
|
2349
2349
|
tmp.u8_1 = Unit_instance;
|
|
2350
2350
|
tmp.v8_1 = null;
|
|
2351
2351
|
return tmp.a9();
|
|
2352
2352
|
};
|
|
2353
2353
|
protoOf(GameServer$fromClientEvent$slambda).j9 = function (p1, p2, $completion) {
|
|
2354
2354
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2355
|
-
return this.
|
|
2355
|
+
return this.nbr(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2356
2356
|
};
|
|
2357
2357
|
protoOf(GameServer$fromClientEvent$slambda).a9 = function () {
|
|
2358
2358
|
var suspendResult = this.u8_1;
|
|
@@ -2361,11 +2361,11 @@
|
|
|
2361
2361
|
var tmp = this.s8_1;
|
|
2362
2362
|
if (tmp === 0) {
|
|
2363
2363
|
this.t8_1 = 1;
|
|
2364
|
-
if (this.
|
|
2365
|
-
if (!get_isCreated(this.
|
|
2364
|
+
if (this.oec_1 instanceof PlayerReadyFromClientAction)
|
|
2365
|
+
if (!get_isCreated(this.qec_1.state)) {
|
|
2366
2366
|
return Unit_instance;
|
|
2367
2367
|
}
|
|
2368
|
-
this.
|
|
2368
|
+
this.qec_1.dispatch(this.oec_1);
|
|
2369
2369
|
return Unit_instance;
|
|
2370
2370
|
} else if (tmp === 1) {
|
|
2371
2371
|
throw this.v8_1;
|
|
@@ -2376,34 +2376,34 @@
|
|
|
2376
2376
|
}
|
|
2377
2377
|
while (true);
|
|
2378
2378
|
};
|
|
2379
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
2380
|
-
var i = new GameServer$fromClientEvent$slambda(this.
|
|
2381
|
-
i.
|
|
2382
|
-
i.
|
|
2379
|
+
protoOf(GameServer$fromClientEvent$slambda).obr = function ($this$dispatchAsync, store, completion) {
|
|
2380
|
+
var i = new GameServer$fromClientEvent$slambda(this.oec_1, completion);
|
|
2381
|
+
i.pec_1 = $this$dispatchAsync;
|
|
2382
|
+
i.qec_1 = store;
|
|
2383
2383
|
return i;
|
|
2384
2384
|
};
|
|
2385
2385
|
function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
|
|
2386
2386
|
var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
|
|
2387
2387
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2388
|
-
return i.
|
|
2388
|
+
return i.nbr($this$dispatchAsync, store, $completion);
|
|
2389
2389
|
};
|
|
2390
2390
|
l.$arity = 2;
|
|
2391
2391
|
return l;
|
|
2392
2392
|
}
|
|
2393
2393
|
function GameServer$playerLostConnection$slambda($playerId, $roomId, resultContinuation) {
|
|
2394
|
-
this.
|
|
2395
|
-
this.
|
|
2394
|
+
this.zec_1 = $playerId;
|
|
2395
|
+
this.aed_1 = $roomId;
|
|
2396
2396
|
CoroutineImpl.call(this, resultContinuation);
|
|
2397
2397
|
}
|
|
2398
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2399
|
-
var tmp = this.
|
|
2398
|
+
protoOf(GameServer$playerLostConnection$slambda).nbr = function ($this$dispatchAsync, store, $completion) {
|
|
2399
|
+
var tmp = this.obr($this$dispatchAsync, store, $completion);
|
|
2400
2400
|
tmp.u8_1 = Unit_instance;
|
|
2401
2401
|
tmp.v8_1 = null;
|
|
2402
2402
|
return tmp.a9();
|
|
2403
2403
|
};
|
|
2404
2404
|
protoOf(GameServer$playerLostConnection$slambda).j9 = function (p1, p2, $completion) {
|
|
2405
2405
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2406
|
-
return this.
|
|
2406
|
+
return this.nbr(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2407
2407
|
};
|
|
2408
2408
|
protoOf(GameServer$playerLostConnection$slambda).a9 = function () {
|
|
2409
2409
|
var suspendResult = this.u8_1;
|
|
@@ -2412,12 +2412,12 @@
|
|
|
2412
2412
|
var tmp = this.s8_1;
|
|
2413
2413
|
if (tmp === 0) {
|
|
2414
2414
|
this.t8_1 = 1;
|
|
2415
|
-
if (!get_isCreated(this.
|
|
2415
|
+
if (!get_isCreated(this.ced_1.state)) {
|
|
2416
2416
|
return Unit_instance;
|
|
2417
2417
|
}
|
|
2418
|
-
var tmp_0 = this.
|
|
2418
|
+
var tmp_0 = this.ced_1.dispatch;
|
|
2419
2419
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
2420
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2420
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.zec_1, this.aed_1));
|
|
2421
2421
|
return Unit_instance;
|
|
2422
2422
|
} else if (tmp === 1) {
|
|
2423
2423
|
throw this.v8_1;
|
|
@@ -2428,35 +2428,35 @@
|
|
|
2428
2428
|
}
|
|
2429
2429
|
while (true);
|
|
2430
2430
|
};
|
|
2431
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2432
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
2433
|
-
i.
|
|
2434
|
-
i.
|
|
2431
|
+
protoOf(GameServer$playerLostConnection$slambda).obr = function ($this$dispatchAsync, store, completion) {
|
|
2432
|
+
var i = new GameServer$playerLostConnection$slambda(this.zec_1, this.aed_1, completion);
|
|
2433
|
+
i.bed_1 = $this$dispatchAsync;
|
|
2434
|
+
i.ced_1 = store;
|
|
2435
2435
|
return i;
|
|
2436
2436
|
};
|
|
2437
2437
|
function GameServer$playerLostConnection$slambda_0($playerId, $roomId, resultContinuation) {
|
|
2438
2438
|
var i = new GameServer$playerLostConnection$slambda($playerId, $roomId, resultContinuation);
|
|
2439
2439
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2440
|
-
return i.
|
|
2440
|
+
return i.nbr($this$dispatchAsync, store, $completion);
|
|
2441
2441
|
};
|
|
2442
2442
|
l.$arity = 2;
|
|
2443
2443
|
return l;
|
|
2444
2444
|
}
|
|
2445
2445
|
function GameServer$playerLive$slambda(this$0, $playerId, $roomId, resultContinuation) {
|
|
2446
|
-
this.
|
|
2447
|
-
this.
|
|
2448
|
-
this.
|
|
2446
|
+
this.led_1 = this$0;
|
|
2447
|
+
this.med_1 = $playerId;
|
|
2448
|
+
this.ned_1 = $roomId;
|
|
2449
2449
|
CoroutineImpl.call(this, resultContinuation);
|
|
2450
2450
|
}
|
|
2451
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2452
|
-
var tmp = this.
|
|
2451
|
+
protoOf(GameServer$playerLive$slambda).nbr = function ($this$dispatchAsync, store, $completion) {
|
|
2452
|
+
var tmp = this.obr($this$dispatchAsync, store, $completion);
|
|
2453
2453
|
tmp.u8_1 = Unit_instance;
|
|
2454
2454
|
tmp.v8_1 = null;
|
|
2455
2455
|
return tmp.a9();
|
|
2456
2456
|
};
|
|
2457
2457
|
protoOf(GameServer$playerLive$slambda).j9 = function (p1, p2, $completion) {
|
|
2458
2458
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2459
|
-
return this.
|
|
2459
|
+
return this.nbr(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2460
2460
|
};
|
|
2461
2461
|
protoOf(GameServer$playerLive$slambda).a9 = function () {
|
|
2462
2462
|
var suspendResult = this.u8_1;
|
|
@@ -2465,16 +2465,16 @@
|
|
|
2465
2465
|
var tmp = this.s8_1;
|
|
2466
2466
|
if (tmp === 0) {
|
|
2467
2467
|
this.t8_1 = 1;
|
|
2468
|
-
if (get_isFinished(this.
|
|
2468
|
+
if (get_isFinished(this.ped_1.state) || get_isFinishing(this.ped_1.state)) {
|
|
2469
2469
|
return Unit_instance;
|
|
2470
2470
|
}
|
|
2471
|
-
if (!_get_serverReduxConfig__rprcrm(this.
|
|
2472
|
-
this.
|
|
2471
|
+
if (!_get_serverReduxConfig__rprcrm(this.led_1).waitForPlayerToConnectOnStart && (!get_isCreated(this.ped_1.state) || !this.led_1.l6f().g72())) {
|
|
2472
|
+
this.led_1.c56().v('GameEngine_API', 'playerLive: ' + this.med_1 + ' before game is created');
|
|
2473
2473
|
return Unit_instance;
|
|
2474
2474
|
}
|
|
2475
|
-
var tmp_0 = this.
|
|
2475
|
+
var tmp_0 = this.ped_1.dispatch;
|
|
2476
2476
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2477
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2477
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.med_1, this.ned_1));
|
|
2478
2478
|
return Unit_instance;
|
|
2479
2479
|
} else if (tmp === 1) {
|
|
2480
2480
|
throw this.v8_1;
|
|
@@ -2485,36 +2485,36 @@
|
|
|
2485
2485
|
}
|
|
2486
2486
|
while (true);
|
|
2487
2487
|
};
|
|
2488
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2489
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
2490
|
-
i.
|
|
2491
|
-
i.
|
|
2488
|
+
protoOf(GameServer$playerLive$slambda).obr = function ($this$dispatchAsync, store, completion) {
|
|
2489
|
+
var i = new GameServer$playerLive$slambda(this.led_1, this.med_1, this.ned_1, completion);
|
|
2490
|
+
i.oed_1 = $this$dispatchAsync;
|
|
2491
|
+
i.ped_1 = store;
|
|
2492
2492
|
return i;
|
|
2493
2493
|
};
|
|
2494
2494
|
function GameServer$playerLive$slambda_0(this$0, $playerId, $roomId, resultContinuation) {
|
|
2495
2495
|
var i = new GameServer$playerLive$slambda(this$0, $playerId, $roomId, resultContinuation);
|
|
2496
2496
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2497
|
-
return i.
|
|
2497
|
+
return i.nbr($this$dispatchAsync, store, $completion);
|
|
2498
2498
|
};
|
|
2499
2499
|
l.$arity = 2;
|
|
2500
2500
|
return l;
|
|
2501
2501
|
}
|
|
2502
2502
|
function GameServer$playerLeft$slambda(this$0, $playerId, $permanently, $roomId, resultContinuation) {
|
|
2503
|
-
this.
|
|
2504
|
-
this.
|
|
2505
|
-
this.
|
|
2506
|
-
this.
|
|
2503
|
+
this.yed_1 = this$0;
|
|
2504
|
+
this.zed_1 = $playerId;
|
|
2505
|
+
this.aee_1 = $permanently;
|
|
2506
|
+
this.bee_1 = $roomId;
|
|
2507
2507
|
CoroutineImpl.call(this, resultContinuation);
|
|
2508
2508
|
}
|
|
2509
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2510
|
-
var tmp = this.
|
|
2509
|
+
protoOf(GameServer$playerLeft$slambda).nbr = function ($this$dispatchAsync, store, $completion) {
|
|
2510
|
+
var tmp = this.obr($this$dispatchAsync, store, $completion);
|
|
2511
2511
|
tmp.u8_1 = Unit_instance;
|
|
2512
2512
|
tmp.v8_1 = null;
|
|
2513
2513
|
return tmp.a9();
|
|
2514
2514
|
};
|
|
2515
2515
|
protoOf(GameServer$playerLeft$slambda).j9 = function (p1, p2, $completion) {
|
|
2516
2516
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2517
|
-
return this.
|
|
2517
|
+
return this.nbr(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2518
2518
|
};
|
|
2519
2519
|
protoOf(GameServer$playerLeft$slambda).a9 = function () {
|
|
2520
2520
|
var suspendResult = this.u8_1;
|
|
@@ -2523,22 +2523,22 @@
|
|
|
2523
2523
|
var tmp = this.s8_1;
|
|
2524
2524
|
if (tmp === 0) {
|
|
2525
2525
|
this.t8_1 = 1;
|
|
2526
|
-
if (get_isFinished(this.
|
|
2526
|
+
if (get_isFinished(this.dee_1.state) || get_isFinishing(this.dee_1.state)) {
|
|
2527
2527
|
return Unit_instance;
|
|
2528
2528
|
}
|
|
2529
|
-
if (!get_isCreated(this.
|
|
2530
|
-
this.
|
|
2529
|
+
if (!get_isCreated(this.dee_1.state) || !this.yed_1.l6f().g72()) {
|
|
2530
|
+
this.yed_1.c56().w('GameEngine_API', 'playerLeft: ' + this.zed_1 + ' before game is created');
|
|
2531
2531
|
return Unit_instance;
|
|
2532
2532
|
}
|
|
2533
|
-
var tmp_0 = this.
|
|
2533
|
+
var tmp_0 = this.dee_1.dispatch;
|
|
2534
2534
|
var tmp_1;
|
|
2535
|
-
if (this.
|
|
2535
|
+
if (this.aee_1) {
|
|
2536
2536
|
tmp_1 = PlayerConnectionState_LEFT_PERMANENTLY_getInstance();
|
|
2537
2537
|
} else {
|
|
2538
2538
|
tmp_1 = PlayerConnectionState_LEFT_getInstance();
|
|
2539
2539
|
}
|
|
2540
2540
|
var tmp0_connectionState = tmp_1;
|
|
2541
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2541
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.zed_1, this.bee_1));
|
|
2542
2542
|
return Unit_instance;
|
|
2543
2543
|
} else if (tmp === 1) {
|
|
2544
2544
|
throw this.v8_1;
|
|
@@ -2549,39 +2549,39 @@
|
|
|
2549
2549
|
}
|
|
2550
2550
|
while (true);
|
|
2551
2551
|
};
|
|
2552
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2553
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
2554
|
-
i.
|
|
2555
|
-
i.
|
|
2552
|
+
protoOf(GameServer$playerLeft$slambda).obr = function ($this$dispatchAsync, store, completion) {
|
|
2553
|
+
var i = new GameServer$playerLeft$slambda(this.yed_1, this.zed_1, this.aee_1, this.bee_1, completion);
|
|
2554
|
+
i.cee_1 = $this$dispatchAsync;
|
|
2555
|
+
i.dee_1 = store;
|
|
2556
2556
|
return i;
|
|
2557
2557
|
};
|
|
2558
2558
|
function GameServer$playerLeft$slambda_0(this$0, $playerId, $permanently, $roomId, resultContinuation) {
|
|
2559
2559
|
var i = new GameServer$playerLeft$slambda(this$0, $playerId, $permanently, $roomId, resultContinuation);
|
|
2560
2560
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2561
|
-
return i.
|
|
2561
|
+
return i.nbr($this$dispatchAsync, store, $completion);
|
|
2562
2562
|
};
|
|
2563
2563
|
l.$arity = 2;
|
|
2564
2564
|
return l;
|
|
2565
2565
|
}
|
|
2566
2566
|
function GameServer$roomOnCreate$slambda($usersArray, this$0, $config, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2567
|
-
this.
|
|
2568
|
-
this.
|
|
2569
|
-
this.
|
|
2570
|
-
this.
|
|
2571
|
-
this.
|
|
2572
|
-
this.
|
|
2573
|
-
this.
|
|
2567
|
+
this.mee_1 = $usersArray;
|
|
2568
|
+
this.nee_1 = this$0;
|
|
2569
|
+
this.oee_1 = $config;
|
|
2570
|
+
this.pee_1 = $roomId;
|
|
2571
|
+
this.qee_1 = $transition;
|
|
2572
|
+
this.ree_1 = $gameCreatorId;
|
|
2573
|
+
this.see_1 = $spectators;
|
|
2574
2574
|
CoroutineImpl.call(this, resultContinuation);
|
|
2575
2575
|
}
|
|
2576
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2577
|
-
var tmp = this.
|
|
2576
|
+
protoOf(GameServer$roomOnCreate$slambda).nbr = function ($this$dispatchAsync, store, $completion) {
|
|
2577
|
+
var tmp = this.obr($this$dispatchAsync, store, $completion);
|
|
2578
2578
|
tmp.u8_1 = Unit_instance;
|
|
2579
2579
|
tmp.v8_1 = null;
|
|
2580
2580
|
return tmp.a9();
|
|
2581
2581
|
};
|
|
2582
2582
|
protoOf(GameServer$roomOnCreate$slambda).j9 = function (p1, p2, $completion) {
|
|
2583
2583
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2584
|
-
return this.
|
|
2584
|
+
return this.nbr(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2585
2585
|
};
|
|
2586
2586
|
protoOf(GameServer$roomOnCreate$slambda).a9 = function () {
|
|
2587
2587
|
var suspendResult = this.u8_1;
|
|
@@ -2590,18 +2590,18 @@
|
|
|
2590
2590
|
var tmp = this.s8_1;
|
|
2591
2591
|
if (tmp === 0) {
|
|
2592
2592
|
this.t8_1 = 1;
|
|
2593
|
-
var users = toList(this.
|
|
2594
|
-
if (!validatePlayerCount(this.
|
|
2595
|
-
this.
|
|
2593
|
+
var users = toList(this.mee_1);
|
|
2594
|
+
if (!validatePlayerCount(this.nee_1, this.oee_1, users, this.pee_1)) {
|
|
2595
|
+
this.uee_1.dispatch(Companion_instance.fromTableWithAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.nee_1.table.isGameFinished, this.nee_1.table));
|
|
2596
2596
|
return Unit_instance;
|
|
2597
2597
|
}
|
|
2598
|
-
var orderedUsers = orderUsers(this.
|
|
2599
|
-
var gameCreatorUser = getPlayer(users, this.
|
|
2600
|
-
var tmp_0 = this.
|
|
2598
|
+
var orderedUsers = orderUsers(this.nee_1, users, this.oee_1, this.qee_1);
|
|
2599
|
+
var gameCreatorUser = getPlayer(users, this.ree_1);
|
|
2600
|
+
var tmp_0 = this.uee_1.dispatch;
|
|
2601
2601
|
var tmp0_version = get_versionOrDefault(GameEngineConfig_instance);
|
|
2602
2602
|
var tmp1_users = sortWithItem(orderedUsers, gameCreatorUser);
|
|
2603
|
-
var tmp2_spectators = toList(this.
|
|
2604
|
-
tmp_0(new StartGameMechanicAction(this.
|
|
2603
|
+
var tmp2_spectators = toList(this.see_1);
|
|
2604
|
+
tmp_0(new StartGameMechanicAction(this.oee_1, this.pee_1, tmp0_version, this.ree_1, tmp1_users, VOID, tmp2_spectators));
|
|
2605
2605
|
return Unit_instance;
|
|
2606
2606
|
} else if (tmp === 1) {
|
|
2607
2607
|
throw this.v8_1;
|
|
@@ -2612,39 +2612,39 @@
|
|
|
2612
2612
|
}
|
|
2613
2613
|
while (true);
|
|
2614
2614
|
};
|
|
2615
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2616
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
2617
|
-
i.
|
|
2618
|
-
i.
|
|
2615
|
+
protoOf(GameServer$roomOnCreate$slambda).obr = function ($this$dispatchAsync, store, completion) {
|
|
2616
|
+
var i = new GameServer$roomOnCreate$slambda(this.mee_1, this.nee_1, this.oee_1, this.pee_1, this.qee_1, this.ree_1, this.see_1, completion);
|
|
2617
|
+
i.tee_1 = $this$dispatchAsync;
|
|
2618
|
+
i.uee_1 = store;
|
|
2619
2619
|
return i;
|
|
2620
2620
|
};
|
|
2621
2621
|
function GameServer$roomOnCreate$slambda_0($usersArray, this$0, $config, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2622
2622
|
var i = new GameServer$roomOnCreate$slambda($usersArray, this$0, $config, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation);
|
|
2623
2623
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2624
|
-
return i.
|
|
2624
|
+
return i.nbr($this$dispatchAsync, store, $completion);
|
|
2625
2625
|
};
|
|
2626
2626
|
l.$arity = 2;
|
|
2627
2627
|
return l;
|
|
2628
2628
|
}
|
|
2629
2629
|
function GameServer$preserveTeams$previousTeams$1($playerId) {
|
|
2630
|
-
this.
|
|
2630
|
+
this.vee_1 = $playerId;
|
|
2631
2631
|
}
|
|
2632
2632
|
protoOf(GameServer$preserveTeams$previousTeams$1).l6e = function () {
|
|
2633
|
-
return this.
|
|
2633
|
+
return this.vee_1;
|
|
2634
2634
|
};
|
|
2635
2635
|
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
2636
|
-
this.
|
|
2636
|
+
this.eef_1 = $state;
|
|
2637
2637
|
CoroutineImpl.call(this, resultContinuation);
|
|
2638
2638
|
}
|
|
2639
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2640
|
-
var tmp = this.
|
|
2639
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).hef = function ($this$dispatchAwait, store, $completion) {
|
|
2640
|
+
var tmp = this.obr($this$dispatchAwait, store, $completion);
|
|
2641
2641
|
tmp.u8_1 = Unit_instance;
|
|
2642
2642
|
tmp.v8_1 = null;
|
|
2643
2643
|
return tmp.a9();
|
|
2644
2644
|
};
|
|
2645
2645
|
protoOf(GameServer$roomOnContinueFromState$slambda).j9 = function (p1, p2, $completion) {
|
|
2646
2646
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2647
|
-
return this.
|
|
2647
|
+
return this.hef(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2648
2648
|
};
|
|
2649
2649
|
protoOf(GameServer$roomOnContinueFromState$slambda).a9 = function () {
|
|
2650
2650
|
var suspendResult = this.u8_1;
|
|
@@ -2653,10 +2653,10 @@
|
|
|
2653
2653
|
var tmp = this.s8_1;
|
|
2654
2654
|
if (tmp === 0) {
|
|
2655
2655
|
this.t8_1 = 1;
|
|
2656
|
-
if (get_isCreating(this.
|
|
2657
|
-
var tmp_0 = this.
|
|
2656
|
+
if (get_isCreating(this.gef_1.state)) {
|
|
2657
|
+
var tmp_0 = this.gef_1.dispatch;
|
|
2658
2658
|
var tmp0_reason = new RestartRoundReason(null);
|
|
2659
|
-
var tmp1_table = this.
|
|
2659
|
+
var tmp1_table = this.eef_1.table;
|
|
2660
2660
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2661
2661
|
return true;
|
|
2662
2662
|
}
|
|
@@ -2670,34 +2670,34 @@
|
|
|
2670
2670
|
}
|
|
2671
2671
|
while (true);
|
|
2672
2672
|
};
|
|
2673
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2674
|
-
var i = new GameServer$roomOnContinueFromState$slambda(this.
|
|
2675
|
-
i.
|
|
2676
|
-
i.
|
|
2673
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).obr = function ($this$dispatchAwait, store, completion) {
|
|
2674
|
+
var i = new GameServer$roomOnContinueFromState$slambda(this.eef_1, completion);
|
|
2675
|
+
i.fef_1 = $this$dispatchAwait;
|
|
2676
|
+
i.gef_1 = store;
|
|
2677
2677
|
return i;
|
|
2678
2678
|
};
|
|
2679
2679
|
function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
|
|
2680
2680
|
var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
|
|
2681
2681
|
var l = function ($this$dispatchAwait, store, $completion) {
|
|
2682
|
-
return i.
|
|
2682
|
+
return i.hef($this$dispatchAwait, store, $completion);
|
|
2683
2683
|
};
|
|
2684
2684
|
l.$arity = 2;
|
|
2685
2685
|
return l;
|
|
2686
2686
|
}
|
|
2687
2687
|
function GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation) {
|
|
2688
|
-
this.
|
|
2689
|
-
this.
|
|
2688
|
+
this.qef_1 = $isCreated;
|
|
2689
|
+
this.ref_1 = $state;
|
|
2690
2690
|
CoroutineImpl.call(this, resultContinuation);
|
|
2691
2691
|
}
|
|
2692
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2693
|
-
var tmp = this.
|
|
2692
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).nbr = function ($this$dispatchAsync, store, $completion) {
|
|
2693
|
+
var tmp = this.obr($this$dispatchAsync, store, $completion);
|
|
2694
2694
|
tmp.u8_1 = Unit_instance;
|
|
2695
2695
|
tmp.v8_1 = null;
|
|
2696
2696
|
return tmp.a9();
|
|
2697
2697
|
};
|
|
2698
2698
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).j9 = function (p1, p2, $completion) {
|
|
2699
2699
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2700
|
-
return this.
|
|
2700
|
+
return this.nbr(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2701
2701
|
};
|
|
2702
2702
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).a9 = function () {
|
|
2703
2703
|
var suspendResult = this.u8_1;
|
|
@@ -2708,7 +2708,7 @@
|
|
|
2708
2708
|
case 0:
|
|
2709
2709
|
this.t8_1 = 3;
|
|
2710
2710
|
this.s8_1 = 1;
|
|
2711
|
-
suspendResult = this.
|
|
2711
|
+
suspendResult = this.qef_1.g1p(this);
|
|
2712
2712
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2713
2713
|
return suspendResult;
|
|
2714
2714
|
}
|
|
@@ -2716,10 +2716,10 @@
|
|
|
2716
2716
|
continue $sm;
|
|
2717
2717
|
case 1:
|
|
2718
2718
|
if (suspendResult) {
|
|
2719
|
-
var _iterator__ex2g4s = this.
|
|
2719
|
+
var _iterator__ex2g4s = this.ref_1.actions.l();
|
|
2720
2720
|
while (_iterator__ex2g4s.m()) {
|
|
2721
2721
|
var element = _iterator__ex2g4s.n();
|
|
2722
|
-
this.
|
|
2722
|
+
this.tef_1.dispatch(element);
|
|
2723
2723
|
}
|
|
2724
2724
|
this.s8_1 = 2;
|
|
2725
2725
|
continue $sm;
|
|
@@ -2744,35 +2744,35 @@
|
|
|
2744
2744
|
}
|
|
2745
2745
|
while (true);
|
|
2746
2746
|
};
|
|
2747
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2748
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1(this.
|
|
2749
|
-
i.
|
|
2750
|
-
i.
|
|
2747
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).obr = function ($this$dispatchAsync, store, completion) {
|
|
2748
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1(this.qef_1, this.ref_1, completion);
|
|
2749
|
+
i.sef_1 = $this$dispatchAsync;
|
|
2750
|
+
i.tef_1 = store;
|
|
2751
2751
|
return i;
|
|
2752
2752
|
};
|
|
2753
2753
|
function GameServer$roomOnContinueFromState$slambda_2($isCreated, $state, resultContinuation) {
|
|
2754
2754
|
var i = new GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation);
|
|
2755
2755
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2756
|
-
return i.
|
|
2756
|
+
return i.nbr($this$dispatchAsync, store, $completion);
|
|
2757
2757
|
};
|
|
2758
2758
|
l.$arity = 2;
|
|
2759
2759
|
return l;
|
|
2760
2760
|
}
|
|
2761
2761
|
function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation) {
|
|
2762
|
-
this.
|
|
2763
|
-
this.
|
|
2764
|
-
this.
|
|
2762
|
+
this.ceg_1 = $tableLite;
|
|
2763
|
+
this.deg_1 = $roomId;
|
|
2764
|
+
this.eeg_1 = this$0;
|
|
2765
2765
|
CoroutineImpl.call(this, resultContinuation);
|
|
2766
2766
|
}
|
|
2767
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2768
|
-
var tmp = this.
|
|
2767
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).nbr = function ($this$dispatchAsync, store, $completion) {
|
|
2768
|
+
var tmp = this.obr($this$dispatchAsync, store, $completion);
|
|
2769
2769
|
tmp.u8_1 = Unit_instance;
|
|
2770
2770
|
tmp.v8_1 = null;
|
|
2771
2771
|
return tmp.a9();
|
|
2772
2772
|
};
|
|
2773
2773
|
protoOf(GameServer$roomOnContinueFromRound$slambda).j9 = function (p1, p2, $completion) {
|
|
2774
2774
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2775
|
-
return this.
|
|
2775
|
+
return this.nbr(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2776
2776
|
};
|
|
2777
2777
|
protoOf(GameServer$roomOnContinueFromRound$slambda).a9 = function () {
|
|
2778
2778
|
var suspendResult = this.u8_1;
|
|
@@ -2781,9 +2781,9 @@
|
|
|
2781
2781
|
var tmp = this.s8_1;
|
|
2782
2782
|
if (tmp === 0) {
|
|
2783
2783
|
this.t8_1 = 1;
|
|
2784
|
-
var tmp_0 = this.
|
|
2785
|
-
var tmp0_reason = new RestartRoundReason(this.
|
|
2786
|
-
var tmp1_table = Companion_instance_0.restartRound(this.
|
|
2784
|
+
var tmp_0 = this.geg_1.dispatch;
|
|
2785
|
+
var tmp0_reason = new RestartRoundReason(this.ceg_1.gameInfo.round.roundNumber);
|
|
2786
|
+
var tmp1_table = Companion_instance_0.restartRound(this.deg_1, _get_idsProvider__fnfajc(this.eeg_1).d6n(), get_versionOrDefault(GameEngineConfig_instance), this.ceg_1);
|
|
2787
2787
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2788
2788
|
return Unit_instance;
|
|
2789
2789
|
} else if (tmp === 1) {
|
|
@@ -2795,16 +2795,16 @@
|
|
|
2795
2795
|
}
|
|
2796
2796
|
while (true);
|
|
2797
2797
|
};
|
|
2798
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2799
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
2800
|
-
i.
|
|
2801
|
-
i.
|
|
2798
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).obr = function ($this$dispatchAsync, store, completion) {
|
|
2799
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.ceg_1, this.deg_1, this.eeg_1, completion);
|
|
2800
|
+
i.feg_1 = $this$dispatchAsync;
|
|
2801
|
+
i.geg_1 = store;
|
|
2802
2802
|
return i;
|
|
2803
2803
|
};
|
|
2804
2804
|
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, resultContinuation) {
|
|
2805
2805
|
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation);
|
|
2806
2806
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2807
|
-
return i.
|
|
2807
|
+
return i.nbr($this$dispatchAsync, store, $completion);
|
|
2808
2808
|
};
|
|
2809
2809
|
l.$arity = 2;
|
|
2810
2810
|
return l;
|
|
@@ -2812,15 +2812,15 @@
|
|
|
2812
2812
|
function GameServer$roomOnContinueFromRound$slambda_1(resultContinuation) {
|
|
2813
2813
|
CoroutineImpl.call(this, resultContinuation);
|
|
2814
2814
|
}
|
|
2815
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2816
|
-
var tmp = this.
|
|
2815
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).nbr = function ($this$dispatchAsync, store, $completion) {
|
|
2816
|
+
var tmp = this.obr($this$dispatchAsync, store, $completion);
|
|
2817
2817
|
tmp.u8_1 = Unit_instance;
|
|
2818
2818
|
tmp.v8_1 = null;
|
|
2819
2819
|
return tmp.a9();
|
|
2820
2820
|
};
|
|
2821
2821
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).j9 = function (p1, p2, $completion) {
|
|
2822
2822
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2823
|
-
return this.
|
|
2823
|
+
return this.nbr(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2824
2824
|
};
|
|
2825
2825
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).a9 = function () {
|
|
2826
2826
|
var suspendResult = this.u8_1;
|
|
@@ -2829,7 +2829,7 @@
|
|
|
2829
2829
|
var tmp = this.s8_1;
|
|
2830
2830
|
if (tmp === 0) {
|
|
2831
2831
|
this.t8_1 = 1;
|
|
2832
|
-
this.
|
|
2832
|
+
this.qeg_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
2833
2833
|
return Unit_instance;
|
|
2834
2834
|
} else if (tmp === 1) {
|
|
2835
2835
|
throw this.v8_1;
|
|
@@ -2840,33 +2840,33 @@
|
|
|
2840
2840
|
}
|
|
2841
2841
|
while (true);
|
|
2842
2842
|
};
|
|
2843
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2843
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).obr = function ($this$dispatchAsync, store, completion) {
|
|
2844
2844
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
2845
|
-
i.
|
|
2846
|
-
i.
|
|
2845
|
+
i.peg_1 = $this$dispatchAsync;
|
|
2846
|
+
i.qeg_1 = store;
|
|
2847
2847
|
return i;
|
|
2848
2848
|
};
|
|
2849
2849
|
function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
|
|
2850
2850
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(resultContinuation);
|
|
2851
2851
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2852
|
-
return i.
|
|
2852
|
+
return i.nbr($this$dispatchAsync, store, $completion);
|
|
2853
2853
|
};
|
|
2854
2854
|
l.$arity = 2;
|
|
2855
2855
|
return l;
|
|
2856
2856
|
}
|
|
2857
2857
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
2858
|
-
this.
|
|
2858
|
+
this.zeg_1 = $spectators;
|
|
2859
2859
|
CoroutineImpl.call(this, resultContinuation);
|
|
2860
2860
|
}
|
|
2861
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2862
|
-
var tmp = this.
|
|
2861
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).nbr = function ($this$dispatchAsync, store, $completion) {
|
|
2862
|
+
var tmp = this.obr($this$dispatchAsync, store, $completion);
|
|
2863
2863
|
tmp.u8_1 = Unit_instance;
|
|
2864
2864
|
tmp.v8_1 = null;
|
|
2865
2865
|
return tmp.a9();
|
|
2866
2866
|
};
|
|
2867
2867
|
protoOf(GameServer$addSpectatorsToRoom$slambda).j9 = function (p1, p2, $completion) {
|
|
2868
2868
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2869
|
-
return this.
|
|
2869
|
+
return this.nbr(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2870
2870
|
};
|
|
2871
2871
|
protoOf(GameServer$addSpectatorsToRoom$slambda).a9 = function () {
|
|
2872
2872
|
var suspendResult = this.u8_1;
|
|
@@ -2875,7 +2875,7 @@
|
|
|
2875
2875
|
var tmp = this.s8_1;
|
|
2876
2876
|
if (tmp === 0) {
|
|
2877
2877
|
this.t8_1 = 1;
|
|
2878
|
-
this.
|
|
2878
|
+
this.beh_1.dispatch(new AddSpectatorsAction(toList(this.zeg_1)));
|
|
2879
2879
|
return Unit_instance;
|
|
2880
2880
|
} else if (tmp === 1) {
|
|
2881
2881
|
throw this.v8_1;
|
|
@@ -2886,33 +2886,33 @@
|
|
|
2886
2886
|
}
|
|
2887
2887
|
while (true);
|
|
2888
2888
|
};
|
|
2889
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2890
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
2891
|
-
i.
|
|
2892
|
-
i.
|
|
2889
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).obr = function ($this$dispatchAsync, store, completion) {
|
|
2890
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.zeg_1, completion);
|
|
2891
|
+
i.aeh_1 = $this$dispatchAsync;
|
|
2892
|
+
i.beh_1 = store;
|
|
2893
2893
|
return i;
|
|
2894
2894
|
};
|
|
2895
2895
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
2896
2896
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
2897
2897
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2898
|
-
return i.
|
|
2898
|
+
return i.nbr($this$dispatchAsync, store, $completion);
|
|
2899
2899
|
};
|
|
2900
2900
|
l.$arity = 2;
|
|
2901
2901
|
return l;
|
|
2902
2902
|
}
|
|
2903
2903
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
2904
|
-
this.
|
|
2904
|
+
this.keh_1 = $spectators;
|
|
2905
2905
|
CoroutineImpl.call(this, resultContinuation);
|
|
2906
2906
|
}
|
|
2907
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2908
|
-
var tmp = this.
|
|
2907
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).nbr = function ($this$dispatchAsync, store, $completion) {
|
|
2908
|
+
var tmp = this.obr($this$dispatchAsync, store, $completion);
|
|
2909
2909
|
tmp.u8_1 = Unit_instance;
|
|
2910
2910
|
tmp.v8_1 = null;
|
|
2911
2911
|
return tmp.a9();
|
|
2912
2912
|
};
|
|
2913
2913
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).j9 = function (p1, p2, $completion) {
|
|
2914
2914
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2915
|
-
return this.
|
|
2915
|
+
return this.nbr(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2916
2916
|
};
|
|
2917
2917
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).a9 = function () {
|
|
2918
2918
|
var suspendResult = this.u8_1;
|
|
@@ -2921,7 +2921,7 @@
|
|
|
2921
2921
|
var tmp = this.s8_1;
|
|
2922
2922
|
if (tmp === 0) {
|
|
2923
2923
|
this.t8_1 = 1;
|
|
2924
|
-
this.
|
|
2924
|
+
this.meh_1.dispatch(new RemoveSpectatorsAction(toList(this.keh_1)));
|
|
2925
2925
|
return Unit_instance;
|
|
2926
2926
|
} else if (tmp === 1) {
|
|
2927
2927
|
throw this.v8_1;
|
|
@@ -2932,34 +2932,34 @@
|
|
|
2932
2932
|
}
|
|
2933
2933
|
while (true);
|
|
2934
2934
|
};
|
|
2935
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2936
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
2937
|
-
i.
|
|
2938
|
-
i.
|
|
2935
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).obr = function ($this$dispatchAsync, store, completion) {
|
|
2936
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.keh_1, completion);
|
|
2937
|
+
i.leh_1 = $this$dispatchAsync;
|
|
2938
|
+
i.meh_1 = store;
|
|
2939
2939
|
return i;
|
|
2940
2940
|
};
|
|
2941
2941
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
2942
2942
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
2943
2943
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2944
|
-
return i.
|
|
2944
|
+
return i.nbr($this$dispatchAsync, store, $completion);
|
|
2945
2945
|
};
|
|
2946
2946
|
l.$arity = 2;
|
|
2947
2947
|
return l;
|
|
2948
2948
|
}
|
|
2949
2949
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
2950
|
-
this.
|
|
2951
|
-
this.
|
|
2950
|
+
this.veh_1 = $playerId;
|
|
2951
|
+
this.weh_1 = this$0;
|
|
2952
2952
|
CoroutineImpl.call(this, resultContinuation);
|
|
2953
2953
|
}
|
|
2954
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2955
|
-
var tmp = this.
|
|
2954
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).nbr = function ($this$dispatchAsync, store, $completion) {
|
|
2955
|
+
var tmp = this.obr($this$dispatchAsync, store, $completion);
|
|
2956
2956
|
tmp.u8_1 = Unit_instance;
|
|
2957
2957
|
tmp.v8_1 = null;
|
|
2958
2958
|
return tmp.a9();
|
|
2959
2959
|
};
|
|
2960
2960
|
protoOf(GameServer$roomRefreshPlayerState$slambda).j9 = function (p1, p2, $completion) {
|
|
2961
2961
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2962
|
-
return this.
|
|
2962
|
+
return this.nbr(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2963
2963
|
};
|
|
2964
2964
|
protoOf(GameServer$roomRefreshPlayerState$slambda).a9 = function () {
|
|
2965
2965
|
var suspendResult = this.u8_1;
|
|
@@ -2968,14 +2968,14 @@
|
|
|
2968
2968
|
var tmp = this.s8_1;
|
|
2969
2969
|
if (tmp === 0) {
|
|
2970
2970
|
this.t8_1 = 1;
|
|
2971
|
-
var table = this.
|
|
2972
|
-
var player = getPlayer(table.players, this.
|
|
2971
|
+
var table = this.yeh_1.state.e72();
|
|
2972
|
+
var player = getPlayer(table.players, this.veh_1);
|
|
2973
2973
|
if (player.s75_1.p6h().z6f_1.isLive) {
|
|
2974
|
-
this.
|
|
2974
|
+
this.yeh_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.weh_1).zeh(player, table));
|
|
2975
2975
|
} else {
|
|
2976
|
-
var tmp_0 = this.
|
|
2976
|
+
var tmp_0 = this.yeh_1.dispatch;
|
|
2977
2977
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2978
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2978
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.veh_1));
|
|
2979
2979
|
}
|
|
2980
2980
|
return Unit_instance;
|
|
2981
2981
|
} else if (tmp === 1) {
|
|
@@ -2987,34 +2987,34 @@
|
|
|
2987
2987
|
}
|
|
2988
2988
|
while (true);
|
|
2989
2989
|
};
|
|
2990
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2991
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
2992
|
-
i.
|
|
2993
|
-
i.
|
|
2990
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).obr = function ($this$dispatchAsync, store, completion) {
|
|
2991
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.veh_1, this.weh_1, completion);
|
|
2992
|
+
i.xeh_1 = $this$dispatchAsync;
|
|
2993
|
+
i.yeh_1 = store;
|
|
2994
2994
|
return i;
|
|
2995
2995
|
};
|
|
2996
2996
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
2997
2997
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
2998
2998
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2999
|
-
return i.
|
|
2999
|
+
return i.nbr($this$dispatchAsync, store, $completion);
|
|
3000
3000
|
};
|
|
3001
3001
|
l.$arity = 2;
|
|
3002
3002
|
return l;
|
|
3003
3003
|
}
|
|
3004
3004
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
3005
|
-
this.
|
|
3006
|
-
this.
|
|
3005
|
+
this.iei_1 = this$0;
|
|
3006
|
+
this.jei_1 = $newRid;
|
|
3007
3007
|
CoroutineImpl.call(this, resultContinuation);
|
|
3008
3008
|
}
|
|
3009
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
3010
|
-
var tmp = this.
|
|
3009
|
+
protoOf(GameServer$roomOnDelete$slambda).nbr = function ($this$dispatchAsync, store, $completion) {
|
|
3010
|
+
var tmp = this.obr($this$dispatchAsync, store, $completion);
|
|
3011
3011
|
tmp.u8_1 = Unit_instance;
|
|
3012
3012
|
tmp.v8_1 = null;
|
|
3013
3013
|
return tmp.a9();
|
|
3014
3014
|
};
|
|
3015
3015
|
protoOf(GameServer$roomOnDelete$slambda).j9 = function (p1, p2, $completion) {
|
|
3016
3016
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
3017
|
-
return this.
|
|
3017
|
+
return this.nbr(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
3018
3018
|
};
|
|
3019
3019
|
protoOf(GameServer$roomOnDelete$slambda).a9 = function () {
|
|
3020
3020
|
var suspendResult = this.u8_1;
|
|
@@ -3023,27 +3023,27 @@
|
|
|
3023
3023
|
var tmp = this.s8_1;
|
|
3024
3024
|
if (tmp === 0) {
|
|
3025
3025
|
this.t8_1 = 1;
|
|
3026
|
-
var it = this.
|
|
3026
|
+
var it = this.iei_1.l6f().e71_1;
|
|
3027
3027
|
var tmp_0;
|
|
3028
3028
|
if (it == null) {
|
|
3029
|
-
this.
|
|
3029
|
+
this.iei_1.c56().w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
3030
3030
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
3031
3031
|
} else {
|
|
3032
3032
|
tmp_0 = it;
|
|
3033
3033
|
}
|
|
3034
3034
|
var terminationState = tmp_0;
|
|
3035
|
-
var gameTransition = terminationState.
|
|
3035
|
+
var gameTransition = terminationState.u8n_1;
|
|
3036
3036
|
var tmp_1;
|
|
3037
3037
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
3038
|
-
var tmp0_elvis_lhs = this.
|
|
3038
|
+
var tmp0_elvis_lhs = this.jei_1;
|
|
3039
3039
|
tmp_1 = gameTransition.copy(tmp0_elvis_lhs == null ? gameTransition.roomId : tmp0_elvis_lhs);
|
|
3040
3040
|
} else {
|
|
3041
3041
|
tmp_1 = gameTransition;
|
|
3042
3042
|
}
|
|
3043
3043
|
var transition = tmp_1;
|
|
3044
|
-
var tmp_2 = this.
|
|
3045
|
-
var tmp0_reason = terminationState.
|
|
3046
|
-
var tmp1_isGameFinished = this.
|
|
3044
|
+
var tmp_2 = this.lei_1.dispatch;
|
|
3045
|
+
var tmp0_reason = terminationState.t8n_1;
|
|
3046
|
+
var tmp1_isGameFinished = this.iei_1.l6f().e72().isGameFinished;
|
|
3047
3047
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
3048
3048
|
return Unit_instance;
|
|
3049
3049
|
} else if (tmp === 1) {
|
|
@@ -3055,33 +3055,33 @@
|
|
|
3055
3055
|
}
|
|
3056
3056
|
while (true);
|
|
3057
3057
|
};
|
|
3058
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
3059
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
3060
|
-
i.
|
|
3061
|
-
i.
|
|
3058
|
+
protoOf(GameServer$roomOnDelete$slambda).obr = function ($this$dispatchAsync, store, completion) {
|
|
3059
|
+
var i = new GameServer$roomOnDelete$slambda(this.iei_1, this.jei_1, completion);
|
|
3060
|
+
i.kei_1 = $this$dispatchAsync;
|
|
3061
|
+
i.lei_1 = store;
|
|
3062
3062
|
return i;
|
|
3063
3063
|
};
|
|
3064
3064
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
3065
3065
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
3066
3066
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3067
|
-
return i.
|
|
3067
|
+
return i.nbr($this$dispatchAsync, store, $completion);
|
|
3068
3068
|
};
|
|
3069
3069
|
l.$arity = 2;
|
|
3070
3070
|
return l;
|
|
3071
3071
|
}
|
|
3072
3072
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
3073
|
-
this.
|
|
3073
|
+
this.uei_1 = $enabled;
|
|
3074
3074
|
CoroutineImpl.call(this, resultContinuation);
|
|
3075
3075
|
}
|
|
3076
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
3077
|
-
var tmp = this.
|
|
3076
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).nbr = function ($this$dispatchAsync, store, $completion) {
|
|
3077
|
+
var tmp = this.obr($this$dispatchAsync, store, $completion);
|
|
3078
3078
|
tmp.u8_1 = Unit_instance;
|
|
3079
3079
|
tmp.v8_1 = null;
|
|
3080
3080
|
return tmp.a9();
|
|
3081
3081
|
};
|
|
3082
3082
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).j9 = function (p1, p2, $completion) {
|
|
3083
3083
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
3084
|
-
return this.
|
|
3084
|
+
return this.nbr(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
3085
3085
|
};
|
|
3086
3086
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).a9 = function () {
|
|
3087
3087
|
var suspendResult = this.u8_1;
|
|
@@ -3090,7 +3090,7 @@
|
|
|
3090
3090
|
var tmp = this.s8_1;
|
|
3091
3091
|
if (tmp === 0) {
|
|
3092
3092
|
this.t8_1 = 1;
|
|
3093
|
-
this.
|
|
3093
|
+
this.wei_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload(this.wei_1.state).config.copy(VOID, !this.uei_1)));
|
|
3094
3094
|
return Unit_instance;
|
|
3095
3095
|
} else if (tmp === 1) {
|
|
3096
3096
|
throw this.v8_1;
|
|
@@ -3101,35 +3101,35 @@
|
|
|
3101
3101
|
}
|
|
3102
3102
|
while (true);
|
|
3103
3103
|
};
|
|
3104
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
3105
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
3106
|
-
i.
|
|
3107
|
-
i.
|
|
3104
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).obr = function ($this$dispatchAsync, store, completion) {
|
|
3105
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.uei_1, completion);
|
|
3106
|
+
i.vei_1 = $this$dispatchAsync;
|
|
3107
|
+
i.wei_1 = store;
|
|
3108
3108
|
return i;
|
|
3109
3109
|
};
|
|
3110
3110
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
3111
3111
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
3112
3112
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3113
|
-
return i.
|
|
3113
|
+
return i.nbr($this$dispatchAsync, store, $completion);
|
|
3114
3114
|
};
|
|
3115
3115
|
l.$arity = 2;
|
|
3116
3116
|
return l;
|
|
3117
3117
|
}
|
|
3118
3118
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
3119
|
-
this.
|
|
3120
|
-
this.
|
|
3121
|
-
this.
|
|
3119
|
+
this.fej_1 = $reason;
|
|
3120
|
+
this.gej_1 = this$0;
|
|
3121
|
+
this.hej_1 = $roomId;
|
|
3122
3122
|
CoroutineImpl.call(this, resultContinuation);
|
|
3123
3123
|
}
|
|
3124
|
-
protoOf(GameServer$shutdown$slambda).
|
|
3125
|
-
var tmp = this.
|
|
3124
|
+
protoOf(GameServer$shutdown$slambda).nbr = function ($this$dispatchAsync, store, $completion) {
|
|
3125
|
+
var tmp = this.obr($this$dispatchAsync, store, $completion);
|
|
3126
3126
|
tmp.u8_1 = Unit_instance;
|
|
3127
3127
|
tmp.v8_1 = null;
|
|
3128
3128
|
return tmp.a9();
|
|
3129
3129
|
};
|
|
3130
3130
|
protoOf(GameServer$shutdown$slambda).j9 = function (p1, p2, $completion) {
|
|
3131
3131
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
3132
|
-
return this.
|
|
3132
|
+
return this.nbr(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
3133
3133
|
};
|
|
3134
3134
|
protoOf(GameServer$shutdown$slambda).a9 = function () {
|
|
3135
3135
|
var suspendResult = this.u8_1;
|
|
@@ -3138,11 +3138,11 @@
|
|
|
3138
3138
|
var tmp = this.s8_1;
|
|
3139
3139
|
if (tmp === 0) {
|
|
3140
3140
|
this.t8_1 = 1;
|
|
3141
|
-
var state = this.
|
|
3141
|
+
var state = this.jej_1.store.state;
|
|
3142
3142
|
if (state.g72()) {
|
|
3143
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
3143
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.fej_1, get_serverShutdownReasonMapping());
|
|
3144
3144
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
3145
|
-
var tmp_0 = this.
|
|
3145
|
+
var tmp_0 = this.jej_1.dispatch;
|
|
3146
3146
|
var tmp_1 = Companion_instance;
|
|
3147
3147
|
var tmp_2;
|
|
3148
3148
|
switch (shutdownReason.q2_1) {
|
|
@@ -3156,12 +3156,12 @@
|
|
|
3156
3156
|
noWhenBranchMatchedException();
|
|
3157
3157
|
break;
|
|
3158
3158
|
}
|
|
3159
|
-
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.
|
|
3159
|
+
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.gej_1.table.isGameFinished, this.gej_1.table));
|
|
3160
3160
|
} else {
|
|
3161
|
-
this.
|
|
3162
|
-
var tmp_3 = this.
|
|
3161
|
+
this.gej_1.c56().w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.hej_1);
|
|
3162
|
+
var tmp_3 = this.jej_1.dispatch;
|
|
3163
3163
|
var tmp2_safe_receiver = state.e71_1;
|
|
3164
|
-
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
3164
|
+
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.u8n_1));
|
|
3165
3165
|
}
|
|
3166
3166
|
return Unit_instance;
|
|
3167
3167
|
} else if (tmp === 1) {
|
|
@@ -3173,37 +3173,37 @@
|
|
|
3173
3173
|
}
|
|
3174
3174
|
while (true);
|
|
3175
3175
|
};
|
|
3176
|
-
protoOf(GameServer$shutdown$slambda).
|
|
3177
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
3178
|
-
i.
|
|
3179
|
-
i.
|
|
3176
|
+
protoOf(GameServer$shutdown$slambda).obr = function ($this$dispatchAsync, store, completion) {
|
|
3177
|
+
var i = new GameServer$shutdown$slambda(this.fej_1, this.gej_1, this.hej_1, completion);
|
|
3178
|
+
i.iej_1 = $this$dispatchAsync;
|
|
3179
|
+
i.jej_1 = store;
|
|
3180
3180
|
return i;
|
|
3181
3181
|
};
|
|
3182
3182
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
3183
3183
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
3184
3184
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3185
|
-
return i.
|
|
3185
|
+
return i.nbr($this$dispatchAsync, store, $completion);
|
|
3186
3186
|
};
|
|
3187
3187
|
l.$arity = 2;
|
|
3188
3188
|
return l;
|
|
3189
3189
|
}
|
|
3190
3190
|
function GameServer$handlePlayerMessage$slambda($botChatInteractor, $message, $fromPlayerId, $onMessageGenerated, this$0, resultContinuation) {
|
|
3191
|
-
this.
|
|
3192
|
-
this.
|
|
3193
|
-
this.
|
|
3194
|
-
this.
|
|
3195
|
-
this.
|
|
3191
|
+
this.sej_1 = $botChatInteractor;
|
|
3192
|
+
this.tej_1 = $message;
|
|
3193
|
+
this.uej_1 = $fromPlayerId;
|
|
3194
|
+
this.vej_1 = $onMessageGenerated;
|
|
3195
|
+
this.wej_1 = this$0;
|
|
3196
3196
|
CoroutineImpl.call(this, resultContinuation);
|
|
3197
3197
|
}
|
|
3198
|
-
protoOf(GameServer$handlePlayerMessage$slambda).
|
|
3199
|
-
var tmp = this.
|
|
3198
|
+
protoOf(GameServer$handlePlayerMessage$slambda).nbr = function ($this$dispatchAsync, store, $completion) {
|
|
3199
|
+
var tmp = this.obr($this$dispatchAsync, store, $completion);
|
|
3200
3200
|
tmp.u8_1 = Unit_instance;
|
|
3201
3201
|
tmp.v8_1 = null;
|
|
3202
3202
|
return tmp.a9();
|
|
3203
3203
|
};
|
|
3204
3204
|
protoOf(GameServer$handlePlayerMessage$slambda).j9 = function (p1, p2, $completion) {
|
|
3205
3205
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
3206
|
-
return this.
|
|
3206
|
+
return this.nbr(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
3207
3207
|
};
|
|
3208
3208
|
protoOf(GameServer$handlePlayerMessage$slambda).a9 = function () {
|
|
3209
3209
|
var suspendResult = this.u8_1;
|
|
@@ -3213,20 +3213,20 @@
|
|
|
3213
3213
|
switch (tmp) {
|
|
3214
3214
|
case 0:
|
|
3215
3215
|
this.t8_1 = 3;
|
|
3216
|
-
var state = this.
|
|
3216
|
+
var state = this.yej_1.store.state;
|
|
3217
3217
|
if (state.g72()) {
|
|
3218
3218
|
var tmp0_table = state.e72();
|
|
3219
3219
|
this.s8_1 = 1;
|
|
3220
|
-
suspendResult = this.
|
|
3220
|
+
suspendResult = this.sej_1.t9d(tmp0_table, this.tej_1, this.uej_1, VOID, this);
|
|
3221
3221
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3222
3222
|
return suspendResult;
|
|
3223
3223
|
}
|
|
3224
3224
|
continue $sm;
|
|
3225
3225
|
} else {
|
|
3226
|
-
this.
|
|
3227
|
-
var tmp_0 = this.
|
|
3226
|
+
this.wej_1.c56().w('GameEngine_API', "GameServer: can't generate message without table, " + this.uej_1);
|
|
3227
|
+
var tmp_0 = this.yej_1.dispatch;
|
|
3228
3228
|
var tmp1_safe_receiver = state.e71_1;
|
|
3229
|
-
tmp_0(new ClearAction(tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
3229
|
+
tmp_0(new ClearAction(tmp1_safe_receiver == null ? null : tmp1_safe_receiver.u8n_1));
|
|
3230
3230
|
this.s8_1 = 2;
|
|
3231
3231
|
continue $sm;
|
|
3232
3232
|
}
|
|
@@ -3234,7 +3234,7 @@
|
|
|
3234
3234
|
case 1:
|
|
3235
3235
|
var message = suspendResult;
|
|
3236
3236
|
if (!(message == null)) {
|
|
3237
|
-
this.
|
|
3237
|
+
this.vej_1(message);
|
|
3238
3238
|
}
|
|
3239
3239
|
|
|
3240
3240
|
this.s8_1 = 2;
|
|
@@ -3255,16 +3255,16 @@
|
|
|
3255
3255
|
}
|
|
3256
3256
|
while (true);
|
|
3257
3257
|
};
|
|
3258
|
-
protoOf(GameServer$handlePlayerMessage$slambda).
|
|
3259
|
-
var i = new GameServer$handlePlayerMessage$slambda(this.
|
|
3260
|
-
i.
|
|
3261
|
-
i.
|
|
3258
|
+
protoOf(GameServer$handlePlayerMessage$slambda).obr = function ($this$dispatchAsync, store, completion) {
|
|
3259
|
+
var i = new GameServer$handlePlayerMessage$slambda(this.sej_1, this.tej_1, this.uej_1, this.vej_1, this.wej_1, completion);
|
|
3260
|
+
i.xej_1 = $this$dispatchAsync;
|
|
3261
|
+
i.yej_1 = store;
|
|
3262
3262
|
return i;
|
|
3263
3263
|
};
|
|
3264
3264
|
function GameServer$handlePlayerMessage$slambda_0($botChatInteractor, $message, $fromPlayerId, $onMessageGenerated, this$0, resultContinuation) {
|
|
3265
3265
|
var i = new GameServer$handlePlayerMessage$slambda($botChatInteractor, $message, $fromPlayerId, $onMessageGenerated, this$0, resultContinuation);
|
|
3266
3266
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3267
|
-
return i.
|
|
3267
|
+
return i.nbr($this$dispatchAsync, store, $completion);
|
|
3268
3268
|
};
|
|
3269
3269
|
l.$arity = 2;
|
|
3270
3270
|
return l;
|
|
@@ -3295,7 +3295,7 @@
|
|
|
3295
3295
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
3296
3296
|
var tmp_3 = Instance(di, tmp$ret$2, null);
|
|
3297
3297
|
var tmp_4 = KProperty1;
|
|
3298
|
-
tmp_1.
|
|
3298
|
+
tmp_1.ye8_1 = tmp_3.d1h(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_4, GameServer$_get_toClientEventsObserver_$ref_utir8s(), null));
|
|
3299
3299
|
var tmp_5 = this;
|
|
3300
3300
|
// Inline function 'org.kodein.di.instance' call
|
|
3301
3301
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3303,7 +3303,7 @@
|
|
|
3303
3303
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
3304
3304
|
var tmp_7 = Instance(di, tmp$ret$4, null);
|
|
3305
3305
|
var tmp_8 = KProperty1;
|
|
3306
|
-
tmp_5.
|
|
3306
|
+
tmp_5.ze8_1 = tmp_7.d1h(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_8, GameServer$_get_fromClientEventsObserver_$ref_nf1g79(), null));
|
|
3307
3307
|
var tmp_9 = this;
|
|
3308
3308
|
// Inline function 'org.kodein.di.instance' call
|
|
3309
3309
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3311,7 +3311,7 @@
|
|
|
3311
3311
|
var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
3312
3312
|
var tmp_11 = Instance(di, tmp$ret$6, null);
|
|
3313
3313
|
var tmp_12 = KProperty1;
|
|
3314
|
-
tmp_9.
|
|
3314
|
+
tmp_9.ae9_1 = tmp_11.d1h(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_12, GameServer$_get_playerConnectionInteractor_$ref_of8tan(), null));
|
|
3315
3315
|
var tmp_13 = this;
|
|
3316
3316
|
// Inline function 'org.kodein.di.instance' call
|
|
3317
3317
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3319,7 +3319,7 @@
|
|
|
3319
3319
|
var tmp$ret$8 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
3320
3320
|
var tmp_15 = Instance(di, tmp$ret$8, null);
|
|
3321
3321
|
var tmp_16 = KProperty1;
|
|
3322
|
-
tmp_13.
|
|
3322
|
+
tmp_13.be9_1 = tmp_15.d1h(this, getPropertyCallableRef('teamsLogicProvider', 1, tmp_16, GameServer$_get_teamsLogicProvider_$ref_b7y54g(), null));
|
|
3323
3323
|
var tmp_17 = this;
|
|
3324
3324
|
// Inline function 'org.kodein.di.instance' call
|
|
3325
3325
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3327,9 +3327,9 @@
|
|
|
3327
3327
|
var tmp$ret$10 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
3328
3328
|
var tmp_19 = Instance(di, tmp$ret$10, null);
|
|
3329
3329
|
var tmp_20 = KProperty1;
|
|
3330
|
-
tmp_17.
|
|
3330
|
+
tmp_17.ce9_1 = tmp_19.d1h(this, getPropertyCallableRef('userRatingInteractor', 1, tmp_20, GameServer$_get_userRatingInteractor_$ref_8uo6aw(), null));
|
|
3331
3331
|
var tmp_21 = this;
|
|
3332
|
-
tmp_21.
|
|
3332
|
+
tmp_21.de9_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
3333
3333
|
var tmp_22 = this;
|
|
3334
3334
|
// Inline function 'org.kodein.di.instance' call
|
|
3335
3335
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3337,7 +3337,7 @@
|
|
|
3337
3337
|
var tmp$ret$12 = isInterface(tmp_23, TypeToken) ? tmp_23 : THROW_CCE();
|
|
3338
3338
|
var tmp_24 = Instance(di, tmp$ret$12, null);
|
|
3339
3339
|
var tmp_25 = KProperty1;
|
|
3340
|
-
tmp_22.
|
|
3340
|
+
tmp_22.ee9_1 = tmp_24.d1h(this, getPropertyCallableRef('idsProvider', 1, tmp_25, GameServer$_get_idsProvider_$ref_89s908(), null));
|
|
3341
3341
|
var tmp_26 = this;
|
|
3342
3342
|
// Inline function 'org.kodein.di.instance' call
|
|
3343
3343
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3345,7 +3345,7 @@
|
|
|
3345
3345
|
var tmp$ret$14 = isInterface(tmp_27, TypeToken) ? tmp_27 : THROW_CCE();
|
|
3346
3346
|
var tmp_28 = Instance(di, tmp$ret$14, null);
|
|
3347
3347
|
var tmp_29 = KProperty1;
|
|
3348
|
-
tmp_26.
|
|
3348
|
+
tmp_26.fe9_1 = tmp_28.d1h(this, getPropertyCallableRef('serverReduxConfig', 1, tmp_29, GameServer$_get_serverReduxConfig_$ref_7h6jq6(), null));
|
|
3349
3349
|
var tmp_30 = this;
|
|
3350
3350
|
// Inline function 'org.kodein.di.instance' call
|
|
3351
3351
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3353,7 +3353,7 @@
|
|
|
3353
3353
|
var tmp$ret$16 = isInterface(tmp_31, TypeToken) ? tmp_31 : THROW_CCE();
|
|
3354
3354
|
var tmp_32 = Instance(di, tmp$ret$16, null);
|
|
3355
3355
|
var tmp_33 = KProperty1;
|
|
3356
|
-
tmp_30.
|
|
3356
|
+
tmp_30.ge9_1 = tmp_32.d1h(this, getPropertyCallableRef('encoderDecoderProvider', 1, tmp_33, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8(), null));
|
|
3357
3357
|
var tmp_34 = this;
|
|
3358
3358
|
// Inline function 'org.kodein.di.instance' call
|
|
3359
3359
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3361,7 +3361,7 @@
|
|
|
3361
3361
|
var tmp$ret$18 = isInterface(tmp_35, TypeToken) ? tmp_35 : THROW_CCE();
|
|
3362
3362
|
var tmp_36 = Instance(di, tmp$ret$18, null);
|
|
3363
3363
|
var tmp_37 = KProperty1;
|
|
3364
|
-
tmp_34.
|
|
3364
|
+
tmp_34.he9_1 = tmp_36.d1h(this, getPropertyCallableRef('engineLogicConfig', 1, tmp_37, GameServer$_get_engineLogicConfig_$ref_nlkv2l(), null));
|
|
3365
3365
|
var tmp_38 = this;
|
|
3366
3366
|
// Inline function 'org.kodein.di.instance' call
|
|
3367
3367
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3369,7 +3369,7 @@
|
|
|
3369
3369
|
var tmp$ret$20 = isInterface(tmp_39, TypeToken) ? tmp_39 : THROW_CCE();
|
|
3370
3370
|
var tmp_40 = Instance(di, tmp$ret$20, null);
|
|
3371
3371
|
var tmp_41 = KProperty1;
|
|
3372
|
-
tmp_38.
|
|
3372
|
+
tmp_38.ie9_1 = tmp_40.d1h(this, getPropertyCallableRef('leaguesConfig', 1, tmp_41, GameServer$_get_leaguesConfig_$ref_fi951n(), null));
|
|
3373
3373
|
var tmp_42 = this;
|
|
3374
3374
|
// Inline function 'org.kodein.di.instanceOrNull' call
|
|
3375
3375
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3377,16 +3377,16 @@
|
|
|
3377
3377
|
var tmp$ret$22 = isInterface(tmp_43, TypeToken) ? tmp_43 : THROW_CCE();
|
|
3378
3378
|
var tmp_44 = InstanceOrNull(di, tmp$ret$22, null);
|
|
3379
3379
|
var tmp_45 = KProperty1;
|
|
3380
|
-
tmp_42.
|
|
3380
|
+
tmp_42.je9_1 = tmp_44.d1h(this, getPropertyCallableRef('botChatInteractor', 1, tmp_45, GameServer$_get_botChatInteractor_$ref_zf10ih(), null));
|
|
3381
3381
|
var tmp_46 = this;
|
|
3382
|
-
var tmp0_externalMiddlewares = plus(storeContract.
|
|
3383
|
-
var tmp1_externalReducers = plus(storeContract.
|
|
3384
|
-
tmp_46.
|
|
3382
|
+
var tmp0_externalMiddlewares = plus(storeContract.j9r(), externalMiddlewares);
|
|
3383
|
+
var tmp1_externalReducers = plus(storeContract.i9r(), externalReducers);
|
|
3384
|
+
tmp_46.ke9_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
3385
3385
|
}
|
|
3386
3386
|
protoOf(GameServer).u70 = function () {
|
|
3387
|
-
return this.
|
|
3387
|
+
return this.ke9_1;
|
|
3388
3388
|
};
|
|
3389
|
-
protoOf(GameServer).
|
|
3389
|
+
protoOf(GameServer).v97 = function () {
|
|
3390
3390
|
return get_serverStatePayload(this.l6f()).metadata;
|
|
3391
3391
|
};
|
|
3392
3392
|
protoOf(GameServer).canReconnectPlayer = function (playerId) {
|
|
@@ -3436,17 +3436,17 @@
|
|
|
3436
3436
|
};
|
|
3437
3437
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
3438
3438
|
this.c56().d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
3439
|
-
this.
|
|
3439
|
+
this.ke9_1.c72(GameServer$fromClientEvent$slambda_0(action, null));
|
|
3440
3440
|
};
|
|
3441
3441
|
protoOf(GameServer).playerLostConnection = function (playerId, roomId) {
|
|
3442
3442
|
this.c56().d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
3443
|
-
this.
|
|
3443
|
+
this.ke9_1.c72(GameServer$playerLostConnection$slambda_0(playerId, roomId, null));
|
|
3444
3444
|
};
|
|
3445
3445
|
protoOf(GameServer).playerLive = function (playerId, roomId) {
|
|
3446
3446
|
this.c56().d('GameEngine_API', 'playerLive: ' + playerId);
|
|
3447
|
-
this.
|
|
3447
|
+
this.ke9_1.c72(GameServer$playerLive$slambda_0(this, playerId, roomId, null));
|
|
3448
3448
|
};
|
|
3449
|
-
protoOf(GameServer).
|
|
3449
|
+
protoOf(GameServer).zej = function (playerId, roomId, permanently) {
|
|
3450
3450
|
this.c56().d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
3451
3451
|
var tmp;
|
|
3452
3452
|
if (this.l6f().g72()) {
|
|
@@ -3455,33 +3455,33 @@
|
|
|
3455
3455
|
tmp = null;
|
|
3456
3456
|
}
|
|
3457
3457
|
var result = tmp;
|
|
3458
|
-
this.
|
|
3458
|
+
this.ke9_1.c72(GameServer$playerLeft$slambda_0(this, playerId, permanently, roomId, null));
|
|
3459
3459
|
this.c56().d('GameEngine_API', 'playerLeft result: ' + toString_0(result));
|
|
3460
3460
|
return result;
|
|
3461
3461
|
};
|
|
3462
|
-
protoOf(GameServer).
|
|
3462
|
+
protoOf(GameServer).aek = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
3463
3463
|
this.c56().d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
3464
|
-
this.
|
|
3464
|
+
this.ke9_1.c72(GameServer$roomOnCreate$slambda_0(usersArray, this, config, roomId, transition, gameCreatorId, spectators, null));
|
|
3465
3465
|
};
|
|
3466
3466
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
3467
3467
|
this.c56().d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
3468
|
-
var isCreated = this.
|
|
3469
|
-
this.
|
|
3468
|
+
var isCreated = this.ke9_1.d72(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
3469
|
+
this.ke9_1.c72(GameServer$roomOnContinueFromState$slambda_2(isCreated, state, null));
|
|
3470
3470
|
};
|
|
3471
3471
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
3472
3472
|
this.c56().d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
3473
|
-
this.
|
|
3474
|
-
this.
|
|
3473
|
+
this.ke9_1.c72(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
3474
|
+
this.ke9_1.c72(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
3475
3475
|
};
|
|
3476
3476
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
3477
|
-
this.
|
|
3477
|
+
this.ke9_1.c72(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
3478
3478
|
};
|
|
3479
3479
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
3480
|
-
this.
|
|
3480
|
+
this.ke9_1.c72(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
3481
3481
|
};
|
|
3482
3482
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
3483
3483
|
this.c56().d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
3484
|
-
this.
|
|
3484
|
+
this.ke9_1.c72(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
3485
3485
|
};
|
|
3486
3486
|
protoOf(GameServer).getToClientFinishActionBeforeDisconnect = function (playerId, previousState, originState) {
|
|
3487
3487
|
if (!this.isTableExists) {
|
|
@@ -3491,24 +3491,24 @@
|
|
|
3491
3491
|
var table = this.table;
|
|
3492
3492
|
var player = getPlayer(table.players, playerId);
|
|
3493
3493
|
this.c56().d('GameEngine_API', 'getToClientFinishActionBeforeDisconnect: ' + playerId + ', ' + ('state = ' + player.s75_1.p6h().z6f_1.toString() + ', ') + ('isBot = ' + player.r75_1.isBot));
|
|
3494
|
-
var actions = _get_playerConnectionInteractor__si6cxf(this).
|
|
3494
|
+
var actions = _get_playerConnectionInteractor__si6cxf(this).bek(playerId, previousState.isLive, table.id, mapToFinishReason(originState, player, table.playersConnections), table.isGameFinished);
|
|
3495
3495
|
this.c56().d('GameEngine_API', 'getToClientFinishActionBeforeDisconnect: ' + toString(actions));
|
|
3496
3496
|
if (actions.q()) {
|
|
3497
3497
|
return null;
|
|
3498
3498
|
}
|
|
3499
3499
|
return new CombinedToClientAction(actions, Companion_instance_1.user(_get_idsProvider__fnfajc(this).d6n(), table.id, playerId));
|
|
3500
3500
|
};
|
|
3501
|
-
protoOf(GameServer).
|
|
3501
|
+
protoOf(GameServer).cek = function (newRid) {
|
|
3502
3502
|
this.c56().d('GameEngine_API', 'roomOnDelete: newRid = ' + newRid);
|
|
3503
|
-
this.
|
|
3503
|
+
this.ke9_1.c72(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
3504
3504
|
};
|
|
3505
3505
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
3506
3506
|
this.c56().d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
3507
|
-
this.
|
|
3507
|
+
this.ke9_1.c72(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
3508
3508
|
};
|
|
3509
|
-
protoOf(GameServer).
|
|
3509
|
+
protoOf(GameServer).dek = function (reason, roomId) {
|
|
3510
3510
|
this.c56().d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
3511
|
-
this.
|
|
3511
|
+
this.ke9_1.c72(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
3512
3512
|
};
|
|
3513
3513
|
protoOf(GameServer).handlePlayerMessage = function (message, fromPlayerId, onMessageGenerated) {
|
|
3514
3514
|
var tmp0_elvis_lhs = _get_botChatInteractor__17f3on(this);
|
|
@@ -3520,7 +3520,7 @@
|
|
|
3520
3520
|
}
|
|
3521
3521
|
var botChatInteractor = tmp;
|
|
3522
3522
|
this.c56().d('GameEngine_API', 'handlePlayerMessage: ' + fromPlayerId);
|
|
3523
|
-
this.
|
|
3523
|
+
this.ke9_1.c72(GameServer$handlePlayerMessage$slambda_0(botChatInteractor, message, fromPlayerId, onMessageGenerated, this, null));
|
|
3524
3524
|
};
|
|
3525
3525
|
protoOf(GameServer).clear = function () {
|
|
3526
3526
|
return this.i2();
|
|
@@ -3574,13 +3574,13 @@
|
|
|
3574
3574
|
this.shouldFinishGameWhenDeploy = shouldFinishGameWhenDeploy;
|
|
3575
3575
|
this.shouldFinishGameWithBots = shouldFinishGameWithBots;
|
|
3576
3576
|
}
|
|
3577
|
-
protoOf(ServerConfig).
|
|
3577
|
+
protoOf(ServerConfig).eek = function () {
|
|
3578
3578
|
return this.fromRound;
|
|
3579
3579
|
};
|
|
3580
|
-
protoOf(ServerConfig).
|
|
3580
|
+
protoOf(ServerConfig).fek = function () {
|
|
3581
3581
|
return this.shouldFinishGameWhenDeploy;
|
|
3582
3582
|
};
|
|
3583
|
-
protoOf(ServerConfig).
|
|
3583
|
+
protoOf(ServerConfig).gek = function () {
|
|
3584
3584
|
return this.shouldFinishGameWithBots;
|
|
3585
3585
|
};
|
|
3586
3586
|
protoOf(ServerConfig).oe = function () {
|
|
@@ -3592,14 +3592,14 @@
|
|
|
3592
3592
|
protoOf(ServerConfig).yl = function () {
|
|
3593
3593
|
return this.shouldFinishGameWithBots;
|
|
3594
3594
|
};
|
|
3595
|
-
protoOf(ServerConfig).
|
|
3595
|
+
protoOf(ServerConfig).hek = function (fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots) {
|
|
3596
3596
|
return new ServerConfig(fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots);
|
|
3597
3597
|
};
|
|
3598
3598
|
protoOf(ServerConfig).copy = function (fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots, $super) {
|
|
3599
3599
|
fromRound = fromRound === VOID ? this.fromRound : fromRound;
|
|
3600
3600
|
shouldFinishGameWhenDeploy = shouldFinishGameWhenDeploy === VOID ? this.shouldFinishGameWhenDeploy : shouldFinishGameWhenDeploy;
|
|
3601
3601
|
shouldFinishGameWithBots = shouldFinishGameWithBots === VOID ? this.shouldFinishGameWithBots : shouldFinishGameWithBots;
|
|
3602
|
-
return $super === VOID ? this.
|
|
3602
|
+
return $super === VOID ? this.hek(fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots) : $super.hek.call(this, fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots);
|
|
3603
3603
|
};
|
|
3604
3604
|
protoOf(ServerConfig).toString = function () {
|
|
3605
3605
|
return 'ServerConfig(fromRound=' + this.fromRound + ', shouldFinishGameWhenDeploy=' + this.shouldFinishGameWhenDeploy + ', shouldFinishGameWithBots=' + this.shouldFinishGameWithBots + ')';
|
|
@@ -3664,20 +3664,20 @@
|
|
|
3664
3664
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.TableStateUpdateDto', this, 2);
|
|
3665
3665
|
tmp0_serialDesc.hz('roomId', false);
|
|
3666
3666
|
tmp0_serialDesc.hz('table', false);
|
|
3667
|
-
this.
|
|
3667
|
+
this.iek_1 = tmp0_serialDesc;
|
|
3668
3668
|
}
|
|
3669
|
-
protoOf($serializer).
|
|
3670
|
-
var tmp0_desc = this.
|
|
3669
|
+
protoOf($serializer).jek = function (encoder, value) {
|
|
3670
|
+
var tmp0_desc = this.iek_1;
|
|
3671
3671
|
var tmp1_output = encoder.pr(tmp0_desc);
|
|
3672
|
-
tmp1_output.et(tmp0_desc, 0, value.
|
|
3672
|
+
tmp1_output.et(tmp0_desc, 0, value.kek_1);
|
|
3673
3673
|
tmp1_output.et(tmp0_desc, 1, value.table);
|
|
3674
3674
|
tmp1_output.qr(tmp0_desc);
|
|
3675
3675
|
};
|
|
3676
3676
|
protoOf($serializer).do = function (encoder, value) {
|
|
3677
|
-
return this.
|
|
3677
|
+
return this.jek(encoder, value instanceof TableStateUpdateDto ? value : THROW_CCE());
|
|
3678
3678
|
};
|
|
3679
3679
|
protoOf($serializer).eo = function (decoder) {
|
|
3680
|
-
var tmp0_desc = this.
|
|
3680
|
+
var tmp0_desc = this.iek_1;
|
|
3681
3681
|
var tmp1_flag = true;
|
|
3682
3682
|
var tmp2_index = 0;
|
|
3683
3683
|
var tmp3_bitMask0 = 0;
|
|
@@ -3712,7 +3712,7 @@
|
|
|
3712
3712
|
return TableStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3713
3713
|
};
|
|
3714
3714
|
protoOf($serializer).co = function () {
|
|
3715
|
-
return this.
|
|
3715
|
+
return this.iek_1;
|
|
3716
3716
|
};
|
|
3717
3717
|
protoOf($serializer).wz = function () {
|
|
3718
3718
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3728,9 +3728,9 @@
|
|
|
3728
3728
|
}
|
|
3729
3729
|
function TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, $this) {
|
|
3730
3730
|
if (!(3 === (3 & seen0))) {
|
|
3731
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance().
|
|
3731
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance().iek_1);
|
|
3732
3732
|
}
|
|
3733
|
-
$this.
|
|
3733
|
+
$this.kek_1 = roomId;
|
|
3734
3734
|
$this.table = table;
|
|
3735
3735
|
return $this;
|
|
3736
3736
|
}
|
|
@@ -3738,17 +3738,17 @@
|
|
|
3738
3738
|
return TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, objectCreate(protoOf(TableStateUpdateDto)));
|
|
3739
3739
|
}
|
|
3740
3740
|
function TableStateUpdateDto(roomId, table) {
|
|
3741
|
-
this.
|
|
3741
|
+
this.kek_1 = roomId;
|
|
3742
3742
|
this.table = table;
|
|
3743
3743
|
}
|
|
3744
|
-
protoOf(TableStateUpdateDto).
|
|
3745
|
-
return this.
|
|
3744
|
+
protoOf(TableStateUpdateDto).o94 = function () {
|
|
3745
|
+
return this.kek_1;
|
|
3746
3746
|
};
|
|
3747
3747
|
protoOf(TableStateUpdateDto).e72 = function () {
|
|
3748
3748
|
return this.table;
|
|
3749
3749
|
};
|
|
3750
3750
|
protoOf(TableStateUpdateDto).oe = function () {
|
|
3751
|
-
return this.
|
|
3751
|
+
return this.kek_1;
|
|
3752
3752
|
};
|
|
3753
3753
|
protoOf(TableStateUpdateDto).pe = function () {
|
|
3754
3754
|
return this.table;
|
|
@@ -3757,15 +3757,15 @@
|
|
|
3757
3757
|
return new TableStateUpdateDto(roomId, table);
|
|
3758
3758
|
};
|
|
3759
3759
|
protoOf(TableStateUpdateDto).copy = function (roomId, table, $super) {
|
|
3760
|
-
roomId = roomId === VOID ? this.
|
|
3760
|
+
roomId = roomId === VOID ? this.kek_1 : roomId;
|
|
3761
3761
|
table = table === VOID ? this.table : table;
|
|
3762
3762
|
return $super === VOID ? this.a5k(roomId, table) : $super.a5k.call(this, roomId, table);
|
|
3763
3763
|
};
|
|
3764
3764
|
protoOf(TableStateUpdateDto).toString = function () {
|
|
3765
|
-
return 'TableStateUpdateDto(roomId=' + this.
|
|
3765
|
+
return 'TableStateUpdateDto(roomId=' + this.kek_1 + ', table=' + this.table + ')';
|
|
3766
3766
|
};
|
|
3767
3767
|
protoOf(TableStateUpdateDto).hashCode = function () {
|
|
3768
|
-
var result = getStringHashCode(this.
|
|
3768
|
+
var result = getStringHashCode(this.kek_1);
|
|
3769
3769
|
result = imul(result, 31) + getStringHashCode(this.table) | 0;
|
|
3770
3770
|
return result;
|
|
3771
3771
|
};
|
|
@@ -3774,7 +3774,7 @@
|
|
|
3774
3774
|
return true;
|
|
3775
3775
|
if (!(other instanceof TableStateUpdateDto))
|
|
3776
3776
|
return false;
|
|
3777
|
-
if (!(this.
|
|
3777
|
+
if (!(this.kek_1 === other.kek_1))
|
|
3778
3778
|
return false;
|
|
3779
3779
|
if (!(this.table === other.table))
|
|
3780
3780
|
return false;
|
|
@@ -3794,20 +3794,20 @@
|
|
|
3794
3794
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.ActionsStateUpdateDto', this, 2);
|
|
3795
3795
|
tmp0_serialDesc.hz('roomId', false);
|
|
3796
3796
|
tmp0_serialDesc.hz('actions', false);
|
|
3797
|
-
this.
|
|
3797
|
+
this.lek_1 = tmp0_serialDesc;
|
|
3798
3798
|
}
|
|
3799
|
-
protoOf($serializer_0).
|
|
3800
|
-
var tmp0_desc = this.
|
|
3799
|
+
protoOf($serializer_0).mek = function (encoder, value) {
|
|
3800
|
+
var tmp0_desc = this.lek_1;
|
|
3801
3801
|
var tmp1_output = encoder.pr(tmp0_desc);
|
|
3802
|
-
tmp1_output.et(tmp0_desc, 0, value.
|
|
3802
|
+
tmp1_output.et(tmp0_desc, 0, value.nek_1);
|
|
3803
3803
|
tmp1_output.et(tmp0_desc, 1, value.actions);
|
|
3804
3804
|
tmp1_output.qr(tmp0_desc);
|
|
3805
3805
|
};
|
|
3806
3806
|
protoOf($serializer_0).do = function (encoder, value) {
|
|
3807
|
-
return this.
|
|
3807
|
+
return this.mek(encoder, value instanceof ActionsStateUpdateDto ? value : THROW_CCE());
|
|
3808
3808
|
};
|
|
3809
3809
|
protoOf($serializer_0).eo = function (decoder) {
|
|
3810
|
-
var tmp0_desc = this.
|
|
3810
|
+
var tmp0_desc = this.lek_1;
|
|
3811
3811
|
var tmp1_flag = true;
|
|
3812
3812
|
var tmp2_index = 0;
|
|
3813
3813
|
var tmp3_bitMask0 = 0;
|
|
@@ -3842,7 +3842,7 @@
|
|
|
3842
3842
|
return ActionsStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3843
3843
|
};
|
|
3844
3844
|
protoOf($serializer_0).co = function () {
|
|
3845
|
-
return this.
|
|
3845
|
+
return this.lek_1;
|
|
3846
3846
|
};
|
|
3847
3847
|
protoOf($serializer_0).wz = function () {
|
|
3848
3848
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3858,9 +3858,9 @@
|
|
|
3858
3858
|
}
|
|
3859
3859
|
function ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, $this) {
|
|
3860
3860
|
if (!(3 === (3 & seen0))) {
|
|
3861
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().
|
|
3861
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().lek_1);
|
|
3862
3862
|
}
|
|
3863
|
-
$this.
|
|
3863
|
+
$this.nek_1 = roomId;
|
|
3864
3864
|
$this.actions = actions;
|
|
3865
3865
|
return $this;
|
|
3866
3866
|
}
|
|
@@ -3868,17 +3868,17 @@
|
|
|
3868
3868
|
return ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, objectCreate(protoOf(ActionsStateUpdateDto)));
|
|
3869
3869
|
}
|
|
3870
3870
|
function ActionsStateUpdateDto(roomId, actions) {
|
|
3871
|
-
this.
|
|
3871
|
+
this.nek_1 = roomId;
|
|
3872
3872
|
this.actions = actions;
|
|
3873
3873
|
}
|
|
3874
|
-
protoOf(ActionsStateUpdateDto).
|
|
3875
|
-
return this.
|
|
3874
|
+
protoOf(ActionsStateUpdateDto).o94 = function () {
|
|
3875
|
+
return this.nek_1;
|
|
3876
3876
|
};
|
|
3877
|
-
protoOf(ActionsStateUpdateDto).
|
|
3877
|
+
protoOf(ActionsStateUpdateDto).b95 = function () {
|
|
3878
3878
|
return this.actions;
|
|
3879
3879
|
};
|
|
3880
3880
|
protoOf(ActionsStateUpdateDto).oe = function () {
|
|
3881
|
-
return this.
|
|
3881
|
+
return this.nek_1;
|
|
3882
3882
|
};
|
|
3883
3883
|
protoOf(ActionsStateUpdateDto).pe = function () {
|
|
3884
3884
|
return this.actions;
|
|
@@ -3887,15 +3887,15 @@
|
|
|
3887
3887
|
return new ActionsStateUpdateDto(roomId, actions);
|
|
3888
3888
|
};
|
|
3889
3889
|
protoOf(ActionsStateUpdateDto).copy = function (roomId, actions, $super) {
|
|
3890
|
-
roomId = roomId === VOID ? this.
|
|
3890
|
+
roomId = roomId === VOID ? this.nek_1 : roomId;
|
|
3891
3891
|
actions = actions === VOID ? this.actions : actions;
|
|
3892
3892
|
return $super === VOID ? this.a5k(roomId, actions) : $super.a5k.call(this, roomId, actions);
|
|
3893
3893
|
};
|
|
3894
3894
|
protoOf(ActionsStateUpdateDto).toString = function () {
|
|
3895
|
-
return 'ActionsStateUpdateDto(roomId=' + this.
|
|
3895
|
+
return 'ActionsStateUpdateDto(roomId=' + this.nek_1 + ', actions=' + this.actions + ')';
|
|
3896
3896
|
};
|
|
3897
3897
|
protoOf(ActionsStateUpdateDto).hashCode = function () {
|
|
3898
|
-
var result = getStringHashCode(this.
|
|
3898
|
+
var result = getStringHashCode(this.nek_1);
|
|
3899
3899
|
result = imul(result, 31) + getStringHashCode(this.actions) | 0;
|
|
3900
3900
|
return result;
|
|
3901
3901
|
};
|
|
@@ -3904,7 +3904,7 @@
|
|
|
3904
3904
|
return true;
|
|
3905
3905
|
if (!(other instanceof ActionsStateUpdateDto))
|
|
3906
3906
|
return false;
|
|
3907
|
-
if (!(this.
|
|
3907
|
+
if (!(this.nek_1 === other.nek_1))
|
|
3908
3908
|
return false;
|
|
3909
3909
|
if (!(this.actions === other.actions))
|
|
3910
3910
|
return false;
|
|
@@ -3924,7 +3924,7 @@
|
|
|
3924
3924
|
return tmp;
|
|
3925
3925
|
}
|
|
3926
3926
|
function mapToDto_2(_this__u8e3s4, encoderDecoderProvider) {
|
|
3927
|
-
return new TableStateUpdateDto(_this__u8e3s4.
|
|
3927
|
+
return new TableStateUpdateDto(_this__u8e3s4.oek_1, encoderDecoderProvider.d9c(mapToDto(_this__u8e3s4.table)));
|
|
3928
3928
|
}
|
|
3929
3929
|
function mapToDto_3(_this__u8e3s4, encoderDecoderProvider) {
|
|
3930
3930
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -3937,39 +3937,39 @@
|
|
|
3937
3937
|
var tmp$ret$0 = mapToDto_0(item);
|
|
3938
3938
|
destination.j(tmp$ret$0);
|
|
3939
3939
|
}
|
|
3940
|
-
return new ActionsStateUpdateDto(_this__u8e3s4.
|
|
3940
|
+
return new ActionsStateUpdateDto(_this__u8e3s4.pek_1, encoderDecoderProvider.f9c(destination));
|
|
3941
3941
|
}
|
|
3942
3942
|
function ServerStateUpdate() {
|
|
3943
3943
|
}
|
|
3944
3944
|
function TableStateUpdate(roomId, table) {
|
|
3945
|
-
this.
|
|
3945
|
+
this.oek_1 = roomId;
|
|
3946
3946
|
this.table = table;
|
|
3947
3947
|
}
|
|
3948
|
-
protoOf(TableStateUpdate).
|
|
3949
|
-
return this.
|
|
3948
|
+
protoOf(TableStateUpdate).o94 = function () {
|
|
3949
|
+
return this.oek_1;
|
|
3950
3950
|
};
|
|
3951
3951
|
protoOf(TableStateUpdate).e72 = function () {
|
|
3952
3952
|
return this.table;
|
|
3953
3953
|
};
|
|
3954
3954
|
protoOf(TableStateUpdate).oe = function () {
|
|
3955
|
-
return this.
|
|
3955
|
+
return this.oek_1;
|
|
3956
3956
|
};
|
|
3957
3957
|
protoOf(TableStateUpdate).pe = function () {
|
|
3958
3958
|
return this.table;
|
|
3959
3959
|
};
|
|
3960
|
-
protoOf(TableStateUpdate).
|
|
3960
|
+
protoOf(TableStateUpdate).qek = function (roomId, table) {
|
|
3961
3961
|
return new TableStateUpdate(roomId, table);
|
|
3962
3962
|
};
|
|
3963
3963
|
protoOf(TableStateUpdate).copy = function (roomId, table, $super) {
|
|
3964
|
-
roomId = roomId === VOID ? this.
|
|
3964
|
+
roomId = roomId === VOID ? this.oek_1 : roomId;
|
|
3965
3965
|
table = table === VOID ? this.table : table;
|
|
3966
|
-
return $super === VOID ? this.
|
|
3966
|
+
return $super === VOID ? this.qek(roomId, table) : $super.qek.call(this, roomId, table);
|
|
3967
3967
|
};
|
|
3968
3968
|
protoOf(TableStateUpdate).toString = function () {
|
|
3969
|
-
return 'TableStateUpdate(roomId=' + this.
|
|
3969
|
+
return 'TableStateUpdate(roomId=' + this.oek_1 + ', table=' + this.table.toString() + ')';
|
|
3970
3970
|
};
|
|
3971
3971
|
protoOf(TableStateUpdate).hashCode = function () {
|
|
3972
|
-
var result = getStringHashCode(this.
|
|
3972
|
+
var result = getStringHashCode(this.oek_1);
|
|
3973
3973
|
result = imul(result, 31) + this.table.hashCode() | 0;
|
|
3974
3974
|
return result;
|
|
3975
3975
|
};
|
|
@@ -3978,41 +3978,41 @@
|
|
|
3978
3978
|
return true;
|
|
3979
3979
|
if (!(other instanceof TableStateUpdate))
|
|
3980
3980
|
return false;
|
|
3981
|
-
if (!(this.
|
|
3981
|
+
if (!(this.oek_1 === other.oek_1))
|
|
3982
3982
|
return false;
|
|
3983
3983
|
if (!this.table.equals(other.table))
|
|
3984
3984
|
return false;
|
|
3985
3985
|
return true;
|
|
3986
3986
|
};
|
|
3987
3987
|
function ActionsStateUpdate(roomId, actions) {
|
|
3988
|
-
this.
|
|
3988
|
+
this.pek_1 = roomId;
|
|
3989
3989
|
this.actions = actions;
|
|
3990
3990
|
}
|
|
3991
|
-
protoOf(ActionsStateUpdate).
|
|
3992
|
-
return this.
|
|
3991
|
+
protoOf(ActionsStateUpdate).o94 = function () {
|
|
3992
|
+
return this.pek_1;
|
|
3993
3993
|
};
|
|
3994
|
-
protoOf(ActionsStateUpdate).
|
|
3994
|
+
protoOf(ActionsStateUpdate).b95 = function () {
|
|
3995
3995
|
return this.actions;
|
|
3996
3996
|
};
|
|
3997
3997
|
protoOf(ActionsStateUpdate).oe = function () {
|
|
3998
|
-
return this.
|
|
3998
|
+
return this.pek_1;
|
|
3999
3999
|
};
|
|
4000
4000
|
protoOf(ActionsStateUpdate).pe = function () {
|
|
4001
4001
|
return this.actions;
|
|
4002
4002
|
};
|
|
4003
|
-
protoOf(ActionsStateUpdate).
|
|
4003
|
+
protoOf(ActionsStateUpdate).rek = function (roomId, actions) {
|
|
4004
4004
|
return new ActionsStateUpdate(roomId, actions);
|
|
4005
4005
|
};
|
|
4006
4006
|
protoOf(ActionsStateUpdate).copy = function (roomId, actions, $super) {
|
|
4007
|
-
roomId = roomId === VOID ? this.
|
|
4007
|
+
roomId = roomId === VOID ? this.pek_1 : roomId;
|
|
4008
4008
|
actions = actions === VOID ? this.actions : actions;
|
|
4009
|
-
return $super === VOID ? this.
|
|
4009
|
+
return $super === VOID ? this.rek(roomId, actions) : $super.rek.call(this, roomId, actions);
|
|
4010
4010
|
};
|
|
4011
4011
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
4012
|
-
return 'ActionsStateUpdate(roomId=' + this.
|
|
4012
|
+
return 'ActionsStateUpdate(roomId=' + this.pek_1 + ', actions=' + toString(this.actions) + ')';
|
|
4013
4013
|
};
|
|
4014
4014
|
protoOf(ActionsStateUpdate).hashCode = function () {
|
|
4015
|
-
var result = getStringHashCode(this.
|
|
4015
|
+
var result = getStringHashCode(this.pek_1);
|
|
4016
4016
|
result = imul(result, 31) + hashCode(this.actions) | 0;
|
|
4017
4017
|
return result;
|
|
4018
4018
|
};
|
|
@@ -4021,7 +4021,7 @@
|
|
|
4021
4021
|
return true;
|
|
4022
4022
|
if (!(other instanceof ActionsStateUpdate))
|
|
4023
4023
|
return false;
|
|
4024
|
-
if (!(this.
|
|
4024
|
+
if (!(this.pek_1 === other.pek_1))
|
|
4025
4025
|
return false;
|
|
4026
4026
|
if (!equals(this.actions, other.actions))
|
|
4027
4027
|
return false;
|
|
@@ -4261,18 +4261,18 @@
|
|
|
4261
4261
|
function ToClientEventsObserver() {
|
|
4262
4262
|
}
|
|
4263
4263
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
4264
|
-
this.
|
|
4265
|
-
this.
|
|
4264
|
+
this.bel_1 = this$0;
|
|
4265
|
+
this.cel_1 = $actions;
|
|
4266
4266
|
CoroutineImpl.call(this, resultContinuation);
|
|
4267
4267
|
}
|
|
4268
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
4269
|
-
var tmp = this.
|
|
4268
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).fel = function ($this$flow, $completion) {
|
|
4269
|
+
var tmp = this.gel($this$flow, $completion);
|
|
4270
4270
|
tmp.u8_1 = Unit_instance;
|
|
4271
4271
|
tmp.v8_1 = null;
|
|
4272
4272
|
return tmp.a9();
|
|
4273
4273
|
};
|
|
4274
4274
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).i9 = function (p1, $completion) {
|
|
4275
|
-
return this.
|
|
4275
|
+
return this.fel((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
4276
4276
|
};
|
|
4277
4277
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).a9 = function () {
|
|
4278
4278
|
var suspendResult = this.u8_1;
|
|
@@ -4282,19 +4282,19 @@
|
|
|
4282
4282
|
switch (tmp) {
|
|
4283
4283
|
case 0:
|
|
4284
4284
|
this.t8_1 = 4;
|
|
4285
|
-
this.
|
|
4286
|
-
this.
|
|
4285
|
+
this.bel_1.lel_1;
|
|
4286
|
+
this.eel_1 = transformToEmits(this.bel_1, this.cel_1).l();
|
|
4287
4287
|
this.s8_1 = 1;
|
|
4288
4288
|
continue $sm;
|
|
4289
4289
|
case 1:
|
|
4290
|
-
if (!this.
|
|
4290
|
+
if (!this.eel_1.m()) {
|
|
4291
4291
|
this.s8_1 = 3;
|
|
4292
4292
|
continue $sm;
|
|
4293
4293
|
}
|
|
4294
4294
|
|
|
4295
|
-
var element = this.
|
|
4295
|
+
var element = this.eel_1.n();
|
|
4296
4296
|
this.s8_1 = 2;
|
|
4297
|
-
suspendResult = this.
|
|
4297
|
+
suspendResult = this.del_1.j24(element, this);
|
|
4298
4298
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4299
4299
|
return suspendResult;
|
|
4300
4300
|
}
|
|
@@ -4304,11 +4304,11 @@
|
|
|
4304
4304
|
this.s8_1 = 1;
|
|
4305
4305
|
continue $sm;
|
|
4306
4306
|
case 3:
|
|
4307
|
-
var tmp0 = this.
|
|
4307
|
+
var tmp0 = this.bel_1.kel_1;
|
|
4308
4308
|
l$ret$1: do {
|
|
4309
4309
|
while (true) {
|
|
4310
4310
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
4311
|
-
var upd = cur - this.
|
|
4311
|
+
var upd = cur - this.cel_1.o() | 0;
|
|
4312
4312
|
if (tmp0.atomicfu$compareAndSet(cur, upd)) {
|
|
4313
4313
|
break l$ret$1;
|
|
4314
4314
|
}
|
|
@@ -4330,15 +4330,15 @@
|
|
|
4330
4330
|
}
|
|
4331
4331
|
while (true);
|
|
4332
4332
|
};
|
|
4333
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
4334
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
4335
|
-
i.
|
|
4333
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).gel = function ($this$flow, completion) {
|
|
4334
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.bel_1, this.cel_1, completion);
|
|
4335
|
+
i.del_1 = $this$flow;
|
|
4336
4336
|
return i;
|
|
4337
4337
|
};
|
|
4338
4338
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
4339
4339
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
4340
4340
|
var l = function ($this$flow, $completion) {
|
|
4341
|
-
return i.
|
|
4341
|
+
return i.fel($this$flow, $completion);
|
|
4342
4342
|
};
|
|
4343
4343
|
l.$arity = 1;
|
|
4344
4344
|
return l;
|
|
@@ -4408,29 +4408,29 @@
|
|
|
4408
4408
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
4409
4409
|
}
|
|
4410
4410
|
function mapFromGroupKey($this, _this__u8e3s4) {
|
|
4411
|
-
var tmp = $this.
|
|
4411
|
+
var tmp = $this.jel_1.d6n();
|
|
4412
4412
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
4413
|
-
var this_0 = _this__u8e3s4.
|
|
4413
|
+
var this_0 = _this__u8e3s4.oel_1;
|
|
4414
4414
|
var tmp_0 = copyToArray(this_0);
|
|
4415
4415
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
4416
|
-
var this_1 = _this__u8e3s4.
|
|
4416
|
+
var this_1 = _this__u8e3s4.pel_1;
|
|
4417
4417
|
var tmp$ret$1 = copyToArray(this_1);
|
|
4418
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
4418
|
+
return new ActionDeliveryPayload(_this__u8e3s4.nel_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.qel_1);
|
|
4419
4419
|
}
|
|
4420
4420
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
4421
|
-
this.
|
|
4422
|
-
this.
|
|
4423
|
-
this.
|
|
4424
|
-
this.
|
|
4421
|
+
this.nel_1 = tableId;
|
|
4422
|
+
this.oel_1 = includePlayers;
|
|
4423
|
+
this.pel_1 = excludePlayers;
|
|
4424
|
+
this.qel_1 = deliveryType;
|
|
4425
4425
|
}
|
|
4426
4426
|
protoOf(GroupKey).toString = function () {
|
|
4427
|
-
return 'GroupKey(tableId=' + this.
|
|
4427
|
+
return 'GroupKey(tableId=' + this.nel_1 + ', includePlayers=' + toString(this.oel_1) + ', excludePlayers=' + toString(this.pel_1) + ', deliveryType=' + this.qel_1.toString() + ')';
|
|
4428
4428
|
};
|
|
4429
4429
|
protoOf(GroupKey).hashCode = function () {
|
|
4430
|
-
var result = getStringHashCode(this.
|
|
4431
|
-
result = imul(result, 31) + hashCode(this.
|
|
4432
|
-
result = imul(result, 31) + hashCode(this.
|
|
4433
|
-
result = imul(result, 31) + this.
|
|
4430
|
+
var result = getStringHashCode(this.nel_1);
|
|
4431
|
+
result = imul(result, 31) + hashCode(this.oel_1) | 0;
|
|
4432
|
+
result = imul(result, 31) + hashCode(this.pel_1) | 0;
|
|
4433
|
+
result = imul(result, 31) + this.qel_1.hashCode() | 0;
|
|
4434
4434
|
return result;
|
|
4435
4435
|
};
|
|
4436
4436
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -4438,35 +4438,35 @@
|
|
|
4438
4438
|
return true;
|
|
4439
4439
|
if (!(other instanceof GroupKey))
|
|
4440
4440
|
return false;
|
|
4441
|
-
if (!(this.
|
|
4441
|
+
if (!(this.nel_1 === other.nel_1))
|
|
4442
4442
|
return false;
|
|
4443
|
-
if (!equals(this.
|
|
4443
|
+
if (!equals(this.oel_1, other.oel_1))
|
|
4444
4444
|
return false;
|
|
4445
|
-
if (!equals(this.
|
|
4445
|
+
if (!equals(this.pel_1, other.pel_1))
|
|
4446
4446
|
return false;
|
|
4447
|
-
if (!this.
|
|
4447
|
+
if (!this.qel_1.equals(other.qel_1))
|
|
4448
4448
|
return false;
|
|
4449
4449
|
return true;
|
|
4450
4450
|
};
|
|
4451
4451
|
function Companion_4() {
|
|
4452
|
-
this.
|
|
4452
|
+
this.rel_1 = 6;
|
|
4453
4453
|
}
|
|
4454
4454
|
var Companion_instance_15;
|
|
4455
4455
|
function Companion_getInstance_5() {
|
|
4456
4456
|
return Companion_instance_15;
|
|
4457
4457
|
}
|
|
4458
4458
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
4459
|
-
this.
|
|
4459
|
+
this.aem_1 = this$0;
|
|
4460
4460
|
CoroutineImpl.call(this, resultContinuation);
|
|
4461
4461
|
}
|
|
4462
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
4463
|
-
var tmp = this.
|
|
4462
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).cem = function (actions, $completion) {
|
|
4463
|
+
var tmp = this.dem(actions, $completion);
|
|
4464
4464
|
tmp.u8_1 = Unit_instance;
|
|
4465
4465
|
tmp.v8_1 = null;
|
|
4466
4466
|
return tmp.a9();
|
|
4467
4467
|
};
|
|
4468
4468
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).i9 = function (p1, $completion) {
|
|
4469
|
-
return this.
|
|
4469
|
+
return this.cem((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
4470
4470
|
};
|
|
4471
4471
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).a9 = function () {
|
|
4472
4472
|
var suspendResult = this.u8_1;
|
|
@@ -4475,7 +4475,7 @@
|
|
|
4475
4475
|
var tmp = this.s8_1;
|
|
4476
4476
|
if (tmp === 0) {
|
|
4477
4477
|
this.t8_1 = 1;
|
|
4478
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
4478
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.aem_1, this.bem_1, null));
|
|
4479
4479
|
} else if (tmp === 1) {
|
|
4480
4480
|
throw this.v8_1;
|
|
4481
4481
|
}
|
|
@@ -4485,23 +4485,23 @@
|
|
|
4485
4485
|
}
|
|
4486
4486
|
while (true);
|
|
4487
4487
|
};
|
|
4488
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
4489
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
4490
|
-
i.
|
|
4488
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).dem = function (actions, completion) {
|
|
4489
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.aem_1, completion);
|
|
4490
|
+
i.bem_1 = actions;
|
|
4491
4491
|
return i;
|
|
4492
4492
|
};
|
|
4493
4493
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
4494
4494
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
4495
4495
|
var l = function (actions, $completion) {
|
|
4496
|
-
return i.
|
|
4496
|
+
return i.cem(actions, $completion);
|
|
4497
4497
|
};
|
|
4498
4498
|
l.$arity = 1;
|
|
4499
4499
|
return l;
|
|
4500
4500
|
}
|
|
4501
4501
|
function $sentEventCOROUTINE$(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
4502
4502
|
CoroutineImpl.call(this, resultContinuation);
|
|
4503
|
-
this.
|
|
4504
|
-
this.
|
|
4503
|
+
this.mem_1 = _this__u8e3s4;
|
|
4504
|
+
this.nem_1 = fromEvent;
|
|
4505
4505
|
}
|
|
4506
4506
|
protoOf($sentEventCOROUTINE$).a9 = function () {
|
|
4507
4507
|
var suspendResult = this.u8_1;
|
|
@@ -4511,8 +4511,8 @@
|
|
|
4511
4511
|
switch (tmp) {
|
|
4512
4512
|
case 0:
|
|
4513
4513
|
this.t8_1 = 2;
|
|
4514
|
-
this.
|
|
4515
|
-
var tmp0 = this.
|
|
4514
|
+
this.mem_1.lel_1;
|
|
4515
|
+
var tmp0 = this.mem_1.kel_1;
|
|
4516
4516
|
l$ret$1: do {
|
|
4517
4517
|
while (true) {
|
|
4518
4518
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
@@ -4524,7 +4524,7 @@
|
|
|
4524
4524
|
}
|
|
4525
4525
|
while (false);
|
|
4526
4526
|
this.s8_1 = 1;
|
|
4527
|
-
suspendResult = this.
|
|
4527
|
+
suspendResult = this.mem_1.mel_1.j24(this.nem_1, this);
|
|
4528
4528
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4529
4529
|
return suspendResult;
|
|
4530
4530
|
}
|
|
@@ -4548,7 +4548,7 @@
|
|
|
4548
4548
|
};
|
|
4549
4549
|
function $waitForCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
4550
4550
|
CoroutineImpl.call(this, resultContinuation);
|
|
4551
|
-
this.
|
|
4551
|
+
this.wem_1 = _this__u8e3s4;
|
|
4552
4552
|
}
|
|
4553
4553
|
protoOf($waitForCOROUTINE$).a9 = function () {
|
|
4554
4554
|
var suspendResult = this.u8_1;
|
|
@@ -4558,12 +4558,12 @@
|
|
|
4558
4558
|
switch (tmp) {
|
|
4559
4559
|
case 0:
|
|
4560
4560
|
this.t8_1 = 5;
|
|
4561
|
-
this.
|
|
4562
|
-
this.
|
|
4561
|
+
this.wem_1.lel_1;
|
|
4562
|
+
this.xem_1 = 0;
|
|
4563
4563
|
this.s8_1 = 1;
|
|
4564
4564
|
continue $sm;
|
|
4565
4565
|
case 1:
|
|
4566
|
-
if (!!(this.
|
|
4566
|
+
if (!!(this.wem_1.kel_1.kotlinx$atomicfu$value === 0)) {
|
|
4567
4567
|
this.s8_1 = 4;
|
|
4568
4568
|
continue $sm;
|
|
4569
4569
|
}
|
|
@@ -4576,9 +4576,9 @@
|
|
|
4576
4576
|
|
|
4577
4577
|
continue $sm;
|
|
4578
4578
|
case 2:
|
|
4579
|
-
this.
|
|
4580
|
-
if (this.
|
|
4581
|
-
this.
|
|
4579
|
+
this.xem_1 = this.xem_1 + 1 | 0;
|
|
4580
|
+
if (this.xem_1 > 6) {
|
|
4581
|
+
this.wem_1.iel_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.wem_1.kel_1.kotlinx$atomicfu$value);
|
|
4582
4582
|
this.s8_1 = 4;
|
|
4583
4583
|
continue $sm;
|
|
4584
4584
|
} else {
|
|
@@ -4606,54 +4606,54 @@
|
|
|
4606
4606
|
while (true);
|
|
4607
4607
|
};
|
|
4608
4608
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
4609
|
-
this.
|
|
4610
|
-
this.
|
|
4611
|
-
this.
|
|
4612
|
-
this.
|
|
4609
|
+
this.hel_1 = serverReduxConfig;
|
|
4610
|
+
this.iel_1 = logger;
|
|
4611
|
+
this.jel_1 = idsProvider;
|
|
4612
|
+
this.kel_1 = atomic$ref$1(0);
|
|
4613
4613
|
var tmp = this;
|
|
4614
4614
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
4615
|
-
tmp.
|
|
4616
|
-
this.
|
|
4615
|
+
tmp.lel_1 = get_atomicfu$reentrantLock();
|
|
4616
|
+
this.mel_1 = MutableSharedFlow();
|
|
4617
4617
|
}
|
|
4618
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4618
|
+
protoOf(ToClientEventsObserverImpl).sek = function (fromEvent, $completion) {
|
|
4619
4619
|
var tmp = new $sentEventCOROUTINE$(this, fromEvent, $completion);
|
|
4620
4620
|
tmp.u8_1 = Unit_instance;
|
|
4621
4621
|
tmp.v8_1 = null;
|
|
4622
4622
|
return tmp.a9();
|
|
4623
4623
|
};
|
|
4624
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4624
|
+
protoOf(ToClientEventsObserverImpl).pa1 = function ($completion) {
|
|
4625
4625
|
var tmp = new $waitForCOROUTINE$(this, $completion);
|
|
4626
4626
|
tmp.u8_1 = Unit_instance;
|
|
4627
4627
|
tmp.v8_1 = null;
|
|
4628
4628
|
return tmp.a9();
|
|
4629
4629
|
};
|
|
4630
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4631
|
-
if (!this.
|
|
4632
|
-
return this.
|
|
4630
|
+
protoOf(ToClientEventsObserverImpl).lb9 = function () {
|
|
4631
|
+
if (!this.hel_1.enabledCombinedEvents) {
|
|
4632
|
+
return this.mel_1;
|
|
4633
4633
|
}
|
|
4634
|
-
var tmp = windowedByInterval(this.
|
|
4634
|
+
var tmp = windowedByInterval(this.mel_1, fromInt(this.hel_1.combinedEventsIntervalMillis));
|
|
4635
4635
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
4636
4636
|
};
|
|
4637
4637
|
function PlayerConnectionInteractor() {
|
|
4638
4638
|
}
|
|
4639
4639
|
function waitPlayerOrDisconnect($this, newConnectionState, previousConnectionState, table, player, waitForPlayer) {
|
|
4640
|
-
if (waitForPlayer && $this.
|
|
4640
|
+
if (waitForPlayer && $this.ben_1.waitForPlayerToReconnect) {
|
|
4641
4641
|
Companion_getInstance();
|
|
4642
4642
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
4643
|
-
var this_0 = $this.
|
|
4643
|
+
var this_0 = $this.ben_1.reconnectionCheckDurationMillis;
|
|
4644
4644
|
var reconnectionCheckDurationMillis = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
4645
4645
|
var noRecentReconnects = Duration__compareTo_impl_pchp0f(table.gameDuration, reconnectionCheckDurationMillis) < 0 || player.s75_1.p6h().j6g(reconnectionCheckDurationMillis);
|
|
4646
4646
|
if (noRecentReconnects) {
|
|
4647
|
-
return $this.
|
|
4647
|
+
return $this.zem(player.playerId, newConnectionState, previousConnectionState);
|
|
4648
4648
|
}
|
|
4649
4649
|
}
|
|
4650
|
-
var canRemoveGameWhenNoPlayers = Companion_instance_2.q75($this.
|
|
4650
|
+
var canRemoveGameWhenNoPlayers = Companion_instance_2.q75($this.ben_1.finishGameWhenNotLiveStrategy, player.playerId, table.players);
|
|
4651
4651
|
if (canRemoveGameWhenNoPlayers) {
|
|
4652
|
-
return listOf($this.
|
|
4652
|
+
return listOf($this.fen_1.l9j(mapToFinishReason(newConnectionState, player, table.playersConnections), table, 'Disconnect: No Players to continue game'));
|
|
4653
4653
|
}
|
|
4654
4654
|
if (table.sceneInfo.t7r()) {
|
|
4655
|
-
if (!$this.
|
|
4656
|
-
return listOf($this.
|
|
4655
|
+
if (!$this.cen_1.openRoomIfFinished) {
|
|
4656
|
+
return listOf($this.fen_1.l9j(mapToFinishReason(newConnectionState, player, table.playersConnections), table, 'Disconnect: Game is finished'));
|
|
4657
4657
|
}
|
|
4658
4658
|
// Inline function 'kotlin.collections.filter' call
|
|
4659
4659
|
var tmp0 = table.players;
|
|
@@ -4728,27 +4728,27 @@
|
|
|
4728
4728
|
}
|
|
4729
4729
|
var readyLivePlayers = destination_3;
|
|
4730
4730
|
var usersToJoinRoomSize = table.players.o() - notAlivePlayers.o() | 0;
|
|
4731
|
-
if ($this.
|
|
4732
|
-
return listOf($this.
|
|
4731
|
+
if ($this.cen_1.minPlayersToOpenRoom >= usersToJoinRoomSize) {
|
|
4732
|
+
return listOf($this.fen_1.l9j(mapToFinishReason(newConnectionState, player, table.playersConnections), table, 'Disconnect: Not enough users to create room'));
|
|
4733
4733
|
}
|
|
4734
4734
|
var allPlayersMadeDecision = (readyLivePlayers.o() + notAlivePlayers.o() | 0) === table.players.o();
|
|
4735
4735
|
if (allPlayersMadeDecision) {
|
|
4736
|
-
var tmp0_$this = $this.
|
|
4736
|
+
var tmp0_$this = $this.fen_1;
|
|
4737
4737
|
var tmp1_reason = mapToFinishReason(newConnectionState, player, table.playersConnections);
|
|
4738
|
-
return listOf(tmp0_$this.
|
|
4738
|
+
return listOf(tmp0_$this.k9j(tmp1_reason, table, 'Disconnect: Game is finished, transition to room', readyLivePlayers));
|
|
4739
4739
|
}
|
|
4740
4740
|
}
|
|
4741
|
-
if (!$this.
|
|
4742
|
-
return listOf($this.
|
|
4741
|
+
if (!$this.ben_1.botReplacesPlayerAfterTimeout) {
|
|
4742
|
+
return listOf($this.fen_1.l9j(mapToFinishReason(newConnectionState, player, table.playersConnections), table, "Disconnect: Can't continue game without bots"));
|
|
4743
4743
|
}
|
|
4744
4744
|
return getPlayerDisconnectedActions($this, newConnectionState, previousConnectionState, player);
|
|
4745
4745
|
}
|
|
4746
4746
|
function getPlayerConnectedActions($this, player, table, previousConnectionState) {
|
|
4747
4747
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
4748
4748
|
var actionsList = ArrayList_init_$Create$_0();
|
|
4749
|
-
actionsList.r(listOf_0([new PlayerConnectionChangedMechanicAction(player.playerId, PlayerConnectionState_LIVE_getInstance(), previousConnectionState), $this.
|
|
4749
|
+
actionsList.r(listOf_0([new PlayerConnectionChangedMechanicAction(player.playerId, PlayerConnectionState_LIVE_getInstance(), previousConnectionState), $this.zeh(player, table)]));
|
|
4750
4750
|
if (player.s75_1.y6f()) {
|
|
4751
|
-
actionsList.r(listOf_0([new StopTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.s75_1.f6h())), new StartTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.s75_1.f6h(), true), _Duration___get_inWholeMilliseconds__impl__msfiry($this.
|
|
4751
|
+
actionsList.r(listOf_0([new StopTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.s75_1.f6h())), new StartTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.s75_1.f6h(), true), _Duration___get_inWholeMilliseconds__impl__msfiry($this.den_1.sa5(table.config)), VOID, TimerType_DELAY_getInstance())]));
|
|
4752
4752
|
}
|
|
4753
4753
|
return actionsList;
|
|
4754
4754
|
}
|
|
@@ -4762,13 +4762,13 @@
|
|
|
4762
4762
|
return actionsList;
|
|
4763
4763
|
}
|
|
4764
4764
|
function PlayerConnectionInteractorImpl(serverConfig, engineLogicConfig, playerTurnMechanicReducer, idsProvider, gameLifecycleInteractor) {
|
|
4765
|
-
this.
|
|
4766
|
-
this.
|
|
4767
|
-
this.
|
|
4768
|
-
this.
|
|
4769
|
-
this.
|
|
4765
|
+
this.ben_1 = serverConfig;
|
|
4766
|
+
this.cen_1 = engineLogicConfig;
|
|
4767
|
+
this.den_1 = playerTurnMechanicReducer;
|
|
4768
|
+
this.een_1 = idsProvider;
|
|
4769
|
+
this.fen_1 = gameLifecycleInteractor;
|
|
4770
4770
|
}
|
|
4771
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4771
|
+
protoOf(PlayerConnectionInteractorImpl).yem = function (newConnectionState, previousConnectionState, player, table, afterReconnection) {
|
|
4772
4772
|
var tmp;
|
|
4773
4773
|
switch (newConnectionState.q2_1) {
|
|
4774
4774
|
case 1:
|
|
@@ -4799,18 +4799,18 @@
|
|
|
4799
4799
|
}
|
|
4800
4800
|
return tmp;
|
|
4801
4801
|
};
|
|
4802
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4802
|
+
protoOf(PlayerConnectionInteractorImpl).bek = function (sendToPlayerId, isLive, tableId, reason, isGameFinished) {
|
|
4803
4803
|
if (!isLive) {
|
|
4804
4804
|
return emptyList();
|
|
4805
4805
|
}
|
|
4806
|
-
var tmp0_deliveryPayload = Companion_instance_1.user(this.
|
|
4806
|
+
var tmp0_deliveryPayload = Companion_instance_1.user(this.een_1.d6n(), tableId, sendToPlayerId);
|
|
4807
4807
|
var tmp = new FinishingGameToClientAction(reason, isGameFinished, null, tmp0_deliveryPayload);
|
|
4808
|
-
var tmp1_deliveryPayload = Companion_instance_1.user(this.
|
|
4808
|
+
var tmp1_deliveryPayload = Companion_instance_1.user(this.een_1.d6n(), tableId, sendToPlayerId);
|
|
4809
4809
|
return listOf_0([tmp, new FinishGameToClientAction(reason, isGameFinished, null, tmp1_deliveryPayload)]);
|
|
4810
4810
|
};
|
|
4811
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4812
|
-
var updatedTable = this.
|
|
4813
|
-
var aid = this.
|
|
4811
|
+
protoOf(PlayerConnectionInteractorImpl).zeh = function (sendToPlayer, table) {
|
|
4812
|
+
var updatedTable = this.den_1.ta3(table, sendToPlayer.playerId, PlayerConnectionState_LIVE_getInstance(), null);
|
|
4813
|
+
var aid = this.een_1.d6n();
|
|
4814
4814
|
var tmp4_deliveryPayload = Companion_instance_1.userFromTable(aid, updatedTable, sendToPlayer.playerId);
|
|
4815
4815
|
var tmp0_playerId = sendToPlayer.playerId;
|
|
4816
4816
|
var tmp1_gameCreatorPlayerId = getGameCreator(updatedTable.players).playerId;
|
|
@@ -4829,24 +4829,24 @@
|
|
|
4829
4829
|
var tmp6_reason = new PlayerReturnsReason(sendToPlayer.playerId);
|
|
4830
4830
|
return new ContinueGameToClientAction(tmp5_table, tmp6_reason, null, tmp4_deliveryPayload);
|
|
4831
4831
|
};
|
|
4832
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4832
|
+
protoOf(PlayerConnectionInteractorImpl).zem = function (playerId, newConnectionState, previousConnectionState) {
|
|
4833
4833
|
var tmp = System_instance.dk();
|
|
4834
4834
|
Companion_getInstance();
|
|
4835
4835
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
4836
|
-
var this_0 = this.
|
|
4836
|
+
var this_0 = this.ben_1.waitForPlayerToReconnectTimeOutMillis;
|
|
4837
4837
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
4838
4838
|
var reconnectUntilTime = tmp.sk(tmp$ret$0);
|
|
4839
4839
|
var tmp0_state = PlayerConnectionState_DISCONNECTING_getInstance();
|
|
4840
4840
|
var tmp1_reconnectUntilTime = reconnectUntilTime.toString();
|
|
4841
|
-
return listOf_0([new PlayerConnectionChangedMechanicAction(playerId, tmp0_state, previousConnectionState, newConnectionState, false, tmp1_reconnectUntilTime), new StartTimerAction(new PlayerReconnectionWaitingTimerTag(playerId, newConnectionState, previousConnectionState), fromInt(this.
|
|
4841
|
+
return listOf_0([new PlayerConnectionChangedMechanicAction(playerId, tmp0_state, previousConnectionState, newConnectionState, false, tmp1_reconnectUntilTime), new StartTimerAction(new PlayerReconnectionWaitingTimerTag(playerId, newConnectionState, previousConnectionState), fromInt(this.ben_1.waitForPlayerToReconnectTimeOutMillis), VOID, TimerType_DELAY_getInstance())]);
|
|
4842
4842
|
};
|
|
4843
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4843
|
+
protoOf(PlayerConnectionInteractorImpl).aen = function (isBot, playerId, connectedPlayers) {
|
|
4844
4844
|
var tmp;
|
|
4845
4845
|
if (isBot) {
|
|
4846
4846
|
tmp = Companion_instance_3.e6g(PlayerConnectionState_LEFT_PERMANENTLY_getInstance());
|
|
4847
4847
|
} else {
|
|
4848
4848
|
var tmp_0;
|
|
4849
|
-
if (this.
|
|
4849
|
+
if (this.ben_1.waitForPlayerToConnectOnStart) {
|
|
4850
4850
|
var tmp_1;
|
|
4851
4851
|
if (connectedPlayers.u1(playerId)) {
|
|
4852
4852
|
tmp_1 = Companion_instance_3.e6g(PlayerConnectionState_LIVE_getInstance());
|
|
@@ -4862,154 +4862,154 @@
|
|
|
4862
4862
|
return tmp;
|
|
4863
4863
|
};
|
|
4864
4864
|
function UpdateServerConfigAction(serverConfig) {
|
|
4865
|
-
this.
|
|
4865
|
+
this.gen_1 = serverConfig;
|
|
4866
4866
|
}
|
|
4867
4867
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
4868
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
4868
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.gen_1.toString() + ')';
|
|
4869
4869
|
};
|
|
4870
4870
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
4871
|
-
return this.
|
|
4871
|
+
return this.gen_1.hashCode();
|
|
4872
4872
|
};
|
|
4873
4873
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
4874
4874
|
if (this === other)
|
|
4875
4875
|
return true;
|
|
4876
4876
|
if (!(other instanceof UpdateServerConfigAction))
|
|
4877
4877
|
return false;
|
|
4878
|
-
if (!this.
|
|
4878
|
+
if (!this.gen_1.equals(other.gen_1))
|
|
4879
4879
|
return false;
|
|
4880
4880
|
return true;
|
|
4881
4881
|
};
|
|
4882
4882
|
function AddSpectatorsAction(spectators) {
|
|
4883
|
-
this.
|
|
4883
|
+
this.hen_1 = spectators;
|
|
4884
4884
|
}
|
|
4885
4885
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
4886
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
4886
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.hen_1) + ')';
|
|
4887
4887
|
};
|
|
4888
4888
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
4889
|
-
return hashCode(this.
|
|
4889
|
+
return hashCode(this.hen_1);
|
|
4890
4890
|
};
|
|
4891
4891
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
4892
4892
|
if (this === other)
|
|
4893
4893
|
return true;
|
|
4894
4894
|
if (!(other instanceof AddSpectatorsAction))
|
|
4895
4895
|
return false;
|
|
4896
|
-
if (!equals(this.
|
|
4896
|
+
if (!equals(this.hen_1, other.hen_1))
|
|
4897
4897
|
return false;
|
|
4898
4898
|
return true;
|
|
4899
4899
|
};
|
|
4900
4900
|
function RemoveSpectatorsAction(spectators) {
|
|
4901
|
-
this.
|
|
4901
|
+
this.ien_1 = spectators;
|
|
4902
4902
|
}
|
|
4903
4903
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
4904
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
4904
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.ien_1) + ')';
|
|
4905
4905
|
};
|
|
4906
4906
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
4907
|
-
return hashCode(this.
|
|
4907
|
+
return hashCode(this.ien_1);
|
|
4908
4908
|
};
|
|
4909
4909
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
4910
4910
|
if (this === other)
|
|
4911
4911
|
return true;
|
|
4912
4912
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
4913
4913
|
return false;
|
|
4914
|
-
if (!equals(this.
|
|
4914
|
+
if (!equals(this.ien_1, other.ien_1))
|
|
4915
4915
|
return false;
|
|
4916
4916
|
return true;
|
|
4917
4917
|
};
|
|
4918
4918
|
function SpectatorsAction() {
|
|
4919
4919
|
}
|
|
4920
4920
|
function _get_asyncProvider__jbpyhw($this) {
|
|
4921
|
-
var tmp0 = $this.
|
|
4921
|
+
var tmp0 = $this.oen_1;
|
|
4922
4922
|
var tmp = KProperty1;
|
|
4923
4923
|
// Inline function 'kotlin.getValue' call
|
|
4924
4924
|
getPropertyCallableRef('asyncProvider', 1, tmp, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3_0(), null);
|
|
4925
4925
|
return tmp0.x();
|
|
4926
4926
|
}
|
|
4927
4927
|
function _get_logger__rkp4sl($this) {
|
|
4928
|
-
var tmp0 = $this.
|
|
4928
|
+
var tmp0 = $this.pen_1;
|
|
4929
4929
|
var tmp = KProperty1;
|
|
4930
4930
|
// Inline function 'kotlin.getValue' call
|
|
4931
4931
|
getPropertyCallableRef('logger', 1, tmp, ServerGameStoreContract$_get_logger_$ref_zbgw28_0(), null);
|
|
4932
4932
|
return tmp0.x();
|
|
4933
4933
|
}
|
|
4934
4934
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
4935
|
-
var tmp0 = $this.
|
|
4935
|
+
var tmp0 = $this.qen_1;
|
|
4936
4936
|
var tmp = KProperty1;
|
|
4937
4937
|
// Inline function 'kotlin.getValue' call
|
|
4938
4938
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8_0(), null);
|
|
4939
4939
|
return tmp0.x();
|
|
4940
4940
|
}
|
|
4941
4941
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
4942
|
-
var tmp0 = $this.
|
|
4942
|
+
var tmp0 = $this.ren_1;
|
|
4943
4943
|
var tmp = KProperty1;
|
|
4944
4944
|
// Inline function 'kotlin.getValue' call
|
|
4945
4945
|
getPropertyCallableRef('lastCardInteractor', 1, tmp, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh_0(), null);
|
|
4946
4946
|
return tmp0.x();
|
|
4947
4947
|
}
|
|
4948
4948
|
function _get_serverConfig__rk2g06($this) {
|
|
4949
|
-
var tmp0 = $this.
|
|
4949
|
+
var tmp0 = $this.sen_1;
|
|
4950
4950
|
var tmp = KProperty1;
|
|
4951
4951
|
// Inline function 'kotlin.getValue' call
|
|
4952
4952
|
getPropertyCallableRef('serverConfig', 1, tmp, ServerGameStoreContract$_get_serverConfig_$ref_bz2891_0(), null);
|
|
4953
4953
|
return tmp0.x();
|
|
4954
4954
|
}
|
|
4955
4955
|
function _get_logicConfig__52ww9d($this) {
|
|
4956
|
-
var tmp0 = $this.
|
|
4956
|
+
var tmp0 = $this.ten_1;
|
|
4957
4957
|
var tmp = KProperty1;
|
|
4958
4958
|
// Inline function 'kotlin.getValue' call
|
|
4959
4959
|
getPropertyCallableRef('logicConfig', 1, tmp, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi_0(), null);
|
|
4960
4960
|
return tmp0.x();
|
|
4961
4961
|
}
|
|
4962
4962
|
function _get_idsProvider__fnfajc_0($this) {
|
|
4963
|
-
var tmp0 = $this.
|
|
4963
|
+
var tmp0 = $this.uen_1;
|
|
4964
4964
|
var tmp = KProperty1;
|
|
4965
4965
|
// Inline function 'kotlin.getValue' call
|
|
4966
4966
|
getPropertyCallableRef('idsProvider', 1, tmp, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1_0(), null);
|
|
4967
4967
|
return tmp0.x();
|
|
4968
4968
|
}
|
|
4969
4969
|
function _get_botConfig__cpaxzc($this) {
|
|
4970
|
-
var tmp0 = $this.
|
|
4970
|
+
var tmp0 = $this.ven_1;
|
|
4971
4971
|
var tmp = KProperty1;
|
|
4972
4972
|
// Inline function 'kotlin.getValue' call
|
|
4973
4973
|
getPropertyCallableRef('botConfig', 1, tmp, ServerGameStoreContract$_get_botConfig_$ref_nebw1d_0(), null);
|
|
4974
4974
|
return tmp0.x();
|
|
4975
4975
|
}
|
|
4976
4976
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
4977
|
-
var tmp0 = $this.
|
|
4977
|
+
var tmp0 = $this.wen_1;
|
|
4978
4978
|
var tmp = KProperty1;
|
|
4979
4979
|
// Inline function 'kotlin.getValue' call
|
|
4980
4980
|
getPropertyCallableRef('scenePositionProvider', 1, tmp, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4_0(), null);
|
|
4981
4981
|
return tmp0.x();
|
|
4982
4982
|
}
|
|
4983
4983
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
4984
|
-
var tmp0 = $this.
|
|
4984
|
+
var tmp0 = $this.xen_1;
|
|
4985
4985
|
var tmp = KProperty1;
|
|
4986
4986
|
// Inline function 'kotlin.getValue' call
|
|
4987
4987
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p_0(), null);
|
|
4988
4988
|
return tmp0.x();
|
|
4989
4989
|
}
|
|
4990
4990
|
function _get_fromClientEventsObserver__a7vzd3_0($this) {
|
|
4991
|
-
var tmp0 = $this.
|
|
4991
|
+
var tmp0 = $this.yen_1;
|
|
4992
4992
|
var tmp = KProperty1;
|
|
4993
4993
|
// Inline function 'kotlin.getValue' call
|
|
4994
4994
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg_0(), null);
|
|
4995
4995
|
return tmp0.x();
|
|
4996
4996
|
}
|
|
4997
4997
|
function _get_dealerConfig__183ci8($this) {
|
|
4998
|
-
var tmp0 = $this.
|
|
4998
|
+
var tmp0 = $this.zen_1;
|
|
4999
4999
|
var tmp = KProperty1;
|
|
5000
5000
|
// Inline function 'kotlin.getValue' call
|
|
5001
5001
|
getPropertyCallableRef('dealerConfig', 1, tmp, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp_0(), null);
|
|
5002
5002
|
return tmp0.x();
|
|
5003
5003
|
}
|
|
5004
5004
|
function _get_poolProvider__tqti6a($this) {
|
|
5005
|
-
var tmp0 = $this.
|
|
5005
|
+
var tmp0 = $this.aeo_1;
|
|
5006
5006
|
var tmp = KProperty1;
|
|
5007
5007
|
// Inline function 'kotlin.getValue' call
|
|
5008
5008
|
getPropertyCallableRef('poolProvider', 1, tmp, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3_0(), null);
|
|
5009
5009
|
return tmp0.x();
|
|
5010
5010
|
}
|
|
5011
5011
|
function _get_cardsDealerProvider__bekjpg($this) {
|
|
5012
|
-
var tmp0 = $this.
|
|
5012
|
+
var tmp0 = $this.beo_1;
|
|
5013
5013
|
var tmp = KProperty1;
|
|
5014
5014
|
// Inline function 'kotlin.getValue' call
|
|
5015
5015
|
getPropertyCallableRef('cardsDealerProvider', 1, tmp, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj_0(), null);
|
|
@@ -5173,11 +5173,11 @@
|
|
|
5173
5173
|
tmp = fileLoggerStoreContract;
|
|
5174
5174
|
}
|
|
5175
5175
|
fileLoggerStoreContract = tmp;
|
|
5176
|
-
this.
|
|
5177
|
-
this.
|
|
5178
|
-
this.
|
|
5179
|
-
this.
|
|
5180
|
-
this.
|
|
5176
|
+
this.jen_1 = validationStoreContract;
|
|
5177
|
+
this.ken_1 = timersStoreContract;
|
|
5178
|
+
this.len_1 = botGameStoreContract;
|
|
5179
|
+
this.men_1 = gameMechanicStoreContract;
|
|
5180
|
+
this.nen_1 = fileLoggerStoreContract;
|
|
5181
5181
|
var tmp_0 = this;
|
|
5182
5182
|
// Inline function 'org.kodein.di.instance' call
|
|
5183
5183
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5185,7 +5185,7 @@
|
|
|
5185
5185
|
var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
|
|
5186
5186
|
var tmp_2 = Instance(di, tmp$ret$0, null);
|
|
5187
5187
|
var tmp_3 = KProperty1;
|
|
5188
|
-
tmp_0.
|
|
5188
|
+
tmp_0.oen_1 = tmp_2.d1h(this, getPropertyCallableRef('asyncProvider', 1, tmp_3, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3(), null));
|
|
5189
5189
|
var tmp_4 = this;
|
|
5190
5190
|
// Inline function 'org.kodein.di.instance' call
|
|
5191
5191
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5193,7 +5193,7 @@
|
|
|
5193
5193
|
var tmp$ret$2 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
5194
5194
|
var tmp_6 = Instance(di, tmp$ret$2, null);
|
|
5195
5195
|
var tmp_7 = KProperty1;
|
|
5196
|
-
tmp_4.
|
|
5196
|
+
tmp_4.pen_1 = tmp_6.d1h(this, getPropertyCallableRef('logger', 1, tmp_7, ServerGameStoreContract$_get_logger_$ref_zbgw28(), null));
|
|
5197
5197
|
var tmp_8 = this;
|
|
5198
5198
|
// Inline function 'org.kodein.di.instance' call
|
|
5199
5199
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5201,7 +5201,7 @@
|
|
|
5201
5201
|
var tmp$ret$4 = isInterface(tmp_9, TypeToken) ? tmp_9 : THROW_CCE();
|
|
5202
5202
|
var tmp_10 = Instance(di, tmp$ret$4, null);
|
|
5203
5203
|
var tmp_11 = KProperty1;
|
|
5204
|
-
tmp_8.
|
|
5204
|
+
tmp_8.qen_1 = tmp_10.d1h(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_11, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8(), null));
|
|
5205
5205
|
var tmp_12 = this;
|
|
5206
5206
|
// Inline function 'org.kodein.di.instance' call
|
|
5207
5207
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5209,7 +5209,7 @@
|
|
|
5209
5209
|
var tmp$ret$6 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
5210
5210
|
var tmp_14 = Instance(di, tmp$ret$6, null);
|
|
5211
5211
|
var tmp_15 = KProperty1;
|
|
5212
|
-
tmp_12.
|
|
5212
|
+
tmp_12.ren_1 = tmp_14.d1h(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_15, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh(), null));
|
|
5213
5213
|
var tmp_16 = this;
|
|
5214
5214
|
// Inline function 'org.kodein.di.instance' call
|
|
5215
5215
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5217,7 +5217,7 @@
|
|
|
5217
5217
|
var tmp$ret$8 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
5218
5218
|
var tmp_18 = Instance(di, tmp$ret$8, null);
|
|
5219
5219
|
var tmp_19 = KProperty1;
|
|
5220
|
-
tmp_16.
|
|
5220
|
+
tmp_16.sen_1 = tmp_18.d1h(this, getPropertyCallableRef('serverConfig', 1, tmp_19, ServerGameStoreContract$_get_serverConfig_$ref_bz2891(), null));
|
|
5221
5221
|
var tmp_20 = this;
|
|
5222
5222
|
// Inline function 'org.kodein.di.instance' call
|
|
5223
5223
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5225,7 +5225,7 @@
|
|
|
5225
5225
|
var tmp$ret$10 = isInterface(tmp_21, TypeToken) ? tmp_21 : THROW_CCE();
|
|
5226
5226
|
var tmp_22 = Instance(di, tmp$ret$10, null);
|
|
5227
5227
|
var tmp_23 = KProperty1;
|
|
5228
|
-
tmp_20.
|
|
5228
|
+
tmp_20.ten_1 = tmp_22.d1h(this, getPropertyCallableRef('logicConfig', 1, tmp_23, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi(), null));
|
|
5229
5229
|
var tmp_24 = this;
|
|
5230
5230
|
// Inline function 'org.kodein.di.instance' call
|
|
5231
5231
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5233,7 +5233,7 @@
|
|
|
5233
5233
|
var tmp$ret$12 = isInterface(tmp_25, TypeToken) ? tmp_25 : THROW_CCE();
|
|
5234
5234
|
var tmp_26 = Instance(di, tmp$ret$12, null);
|
|
5235
5235
|
var tmp_27 = KProperty1;
|
|
5236
|
-
tmp_24.
|
|
5236
|
+
tmp_24.uen_1 = tmp_26.d1h(this, getPropertyCallableRef('idsProvider', 1, tmp_27, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1(), null));
|
|
5237
5237
|
var tmp_28 = this;
|
|
5238
5238
|
// Inline function 'org.kodein.di.instance' call
|
|
5239
5239
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5241,7 +5241,7 @@
|
|
|
5241
5241
|
var tmp$ret$14 = isInterface(tmp_29, TypeToken) ? tmp_29 : THROW_CCE();
|
|
5242
5242
|
var tmp_30 = Instance(di, tmp$ret$14, null);
|
|
5243
5243
|
var tmp_31 = KProperty1;
|
|
5244
|
-
tmp_28.
|
|
5244
|
+
tmp_28.ven_1 = tmp_30.d1h(this, getPropertyCallableRef('botConfig', 1, tmp_31, ServerGameStoreContract$_get_botConfig_$ref_nebw1d(), null));
|
|
5245
5245
|
var tmp_32 = this;
|
|
5246
5246
|
// Inline function 'org.kodein.di.instance' call
|
|
5247
5247
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5249,7 +5249,7 @@
|
|
|
5249
5249
|
var tmp$ret$16 = isInterface(tmp_33, TypeToken) ? tmp_33 : THROW_CCE();
|
|
5250
5250
|
var tmp_34 = Instance(di, tmp$ret$16, null);
|
|
5251
5251
|
var tmp_35 = KProperty1;
|
|
5252
|
-
tmp_32.
|
|
5252
|
+
tmp_32.wen_1 = tmp_34.d1h(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_35, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4(), null));
|
|
5253
5253
|
var tmp_36 = this;
|
|
5254
5254
|
// Inline function 'org.kodein.di.instance' call
|
|
5255
5255
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5257,7 +5257,7 @@
|
|
|
5257
5257
|
var tmp$ret$18 = isInterface(tmp_37, TypeToken) ? tmp_37 : THROW_CCE();
|
|
5258
5258
|
var tmp_38 = Instance(di, tmp$ret$18, null);
|
|
5259
5259
|
var tmp_39 = KProperty1;
|
|
5260
|
-
tmp_36.
|
|
5260
|
+
tmp_36.xen_1 = tmp_38.d1h(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_39, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p(), null));
|
|
5261
5261
|
var tmp_40 = this;
|
|
5262
5262
|
// Inline function 'org.kodein.di.instance' call
|
|
5263
5263
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5265,7 +5265,7 @@
|
|
|
5265
5265
|
var tmp$ret$20 = isInterface(tmp_41, TypeToken) ? tmp_41 : THROW_CCE();
|
|
5266
5266
|
var tmp_42 = Instance(di, tmp$ret$20, null);
|
|
5267
5267
|
var tmp_43 = KProperty1;
|
|
5268
|
-
tmp_40.
|
|
5268
|
+
tmp_40.yen_1 = tmp_42.d1h(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_43, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg(), null));
|
|
5269
5269
|
var tmp_44 = this;
|
|
5270
5270
|
// Inline function 'org.kodein.di.instance' call
|
|
5271
5271
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5273,7 +5273,7 @@
|
|
|
5273
5273
|
var tmp$ret$22 = isInterface(tmp_45, TypeToken) ? tmp_45 : THROW_CCE();
|
|
5274
5274
|
var tmp_46 = Instance(di, tmp$ret$22, null);
|
|
5275
5275
|
var tmp_47 = KProperty1;
|
|
5276
|
-
tmp_44.
|
|
5276
|
+
tmp_44.zen_1 = tmp_46.d1h(this, getPropertyCallableRef('dealerConfig', 1, tmp_47, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp(), null));
|
|
5277
5277
|
var tmp_48 = this;
|
|
5278
5278
|
// Inline function 'org.kodein.di.instance' call
|
|
5279
5279
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5281,7 +5281,7 @@
|
|
|
5281
5281
|
var tmp$ret$24 = isInterface(tmp_49, TypeToken) ? tmp_49 : THROW_CCE();
|
|
5282
5282
|
var tmp_50 = Instance(di, tmp$ret$24, null);
|
|
5283
5283
|
var tmp_51 = KProperty1;
|
|
5284
|
-
tmp_48.
|
|
5284
|
+
tmp_48.aeo_1 = tmp_50.d1h(this, getPropertyCallableRef('poolProvider', 1, tmp_51, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3(), null));
|
|
5285
5285
|
var tmp_52 = this;
|
|
5286
5286
|
// Inline function 'org.kodein.di.instance' call
|
|
5287
5287
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5289,20 +5289,20 @@
|
|
|
5289
5289
|
var tmp$ret$26 = isInterface(tmp_53, TypeToken) ? tmp_53 : THROW_CCE();
|
|
5290
5290
|
var tmp_54 = Instance(di, tmp$ret$26, null);
|
|
5291
5291
|
var tmp_55 = KProperty1;
|
|
5292
|
-
tmp_52.
|
|
5292
|
+
tmp_52.beo_1 = tmp_54.d1h(this, getPropertyCallableRef('cardsDealerProvider', 1, tmp_55, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj(), null));
|
|
5293
5293
|
}
|
|
5294
|
-
protoOf(ServerGameStoreContract).
|
|
5295
|
-
return plus(plus(plus(plus(plus(this.
|
|
5294
|
+
protoOf(ServerGameStoreContract).i9r = function () {
|
|
5295
|
+
return plus(plus(plus(plus(plus(this.jen_1.i9r(), this.men_1.i9r()), this.ken_1.i9r()), this.len_1.i9r()), this.nen_1.i9r()), listOf_0([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl(this)), playerConnectionUpdateReducer()]));
|
|
5296
5296
|
};
|
|
5297
|
-
protoOf(ServerGameStoreContract).
|
|
5298
|
-
var tmp = this.
|
|
5297
|
+
protoOf(ServerGameStoreContract).j9r = function () {
|
|
5298
|
+
var tmp = this.jen_1.j9r();
|
|
5299
5299
|
var tmp_0;
|
|
5300
5300
|
if (_get_serverConfig__rk2g06(this).finishGameWhenNotLiveStrategy.equals(FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance())) {
|
|
5301
5301
|
tmp_0 = checkBotsMiddleware(_get_logger__rkp4sl(this));
|
|
5302
5302
|
} else {
|
|
5303
5303
|
tmp_0 = null;
|
|
5304
5304
|
}
|
|
5305
|
-
var tmp_1 = plus(plus(plus(plus(plus(tmp, listOfNotNull(tmp_0)), this.
|
|
5305
|
+
var tmp_1 = plus(plus(plus(plus(plus(tmp, listOfNotNull(tmp_0)), this.men_1.j9r()), this.ken_1.j9r()), this.len_1.j9r()), this.nen_1.j9r());
|
|
5306
5306
|
var tmp_2 = playerConnectionUpdateMiddleware(_get_logger__rkp4sl(this), _get_playerConnectionInteractor__si6cxf_0(this));
|
|
5307
5307
|
var tmp_3 = playerReconnectionTimeoutMiddleware(_get_playerConnectionInteractor__si6cxf_0(this));
|
|
5308
5308
|
var tmp_4;
|
|
@@ -5311,7 +5311,7 @@
|
|
|
5311
5311
|
} else {
|
|
5312
5312
|
tmp_4 = null;
|
|
5313
5313
|
}
|
|
5314
|
-
var tmp_5 = plus(plus(tmp_1, listOfNotNull_0([tmp_2, tmp_3, tmp_4])), 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), _get_playerConnectionInteractor__si6cxf_0(this))).
|
|
5314
|
+
var tmp_5 = plus(plus(tmp_1, listOfNotNull_0([tmp_2, tmp_3, tmp_4])), 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), _get_playerConnectionInteractor__si6cxf_0(this))).p9t(), finishingGameWhenCantStartNewMiddleware()]));
|
|
5315
5315
|
var tmp_6 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this), _get_logger__rkp4sl(this));
|
|
5316
5316
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
5317
5317
|
var tmp1_logger = _get_logger__rkp4sl(this);
|
|
@@ -5362,7 +5362,7 @@
|
|
|
5362
5362
|
return this.u6q(store, next, action);
|
|
5363
5363
|
};
|
|
5364
5364
|
function ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
|
|
5365
|
-
this.
|
|
5365
|
+
this.feo_1 = this$0;
|
|
5366
5366
|
}
|
|
5367
5367
|
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).f6p = function (action) {
|
|
5368
5368
|
return action instanceof MechanicAction;
|
|
@@ -5373,17 +5373,17 @@
|
|
|
5373
5373
|
// Inline function 'kotlin.with' call
|
|
5374
5374
|
var tmp;
|
|
5375
5375
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
5376
|
-
var tmp0 = this.
|
|
5377
|
-
var tmp2 = action_0.
|
|
5378
|
-
var tmp4 = action_0.
|
|
5376
|
+
var tmp0 = this.feo_1;
|
|
5377
|
+
var tmp2 = action_0.b8i_1;
|
|
5378
|
+
var tmp4 = action_0.d8i_1;
|
|
5379
5379
|
// Inline function 'kotlin.collections.map' call
|
|
5380
|
-
var this_0 = action_0.
|
|
5380
|
+
var this_0 = action_0.e8i_1;
|
|
5381
5381
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5382
5382
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
5383
5383
|
var _iterator__ex2g4s = this_0.l();
|
|
5384
5384
|
while (_iterator__ex2g4s.m()) {
|
|
5385
5385
|
var item = _iterator__ex2g4s.n();
|
|
5386
|
-
var tmp$ret$0 = to(item.z6e_1, this.
|
|
5386
|
+
var tmp$ret$0 = to(item.z6e_1, this.feo_1.eeo_1.aen(item.isBot, item.z6e_1, get_serverStatePayload(state).connectedPlayers).z6f_1);
|
|
5387
5387
|
destination.j(tmp$ret$0);
|
|
5388
5388
|
}
|
|
5389
5389
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
@@ -5413,7 +5413,7 @@
|
|
|
5413
5413
|
var _iterator__ex2g4s_2 = destination_1.l();
|
|
5414
5414
|
while (_iterator__ex2g4s_2.m()) {
|
|
5415
5415
|
var element_0 = _iterator__ex2g4s_2.n();
|
|
5416
|
-
var tmp0_aid = tmp0.
|
|
5416
|
+
var tmp0_aid = tmp0.deo_1.d6n();
|
|
5417
5417
|
// Inline function 'kotlin.collections.map' call
|
|
5418
5418
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5419
5419
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -5435,15 +5435,15 @@
|
|
|
5435
5435
|
tmp = destination_2;
|
|
5436
5436
|
} else {
|
|
5437
5437
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
5438
|
-
var tmp0_0 = this.
|
|
5438
|
+
var tmp0_0 = this.feo_1;
|
|
5439
5439
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5440
5440
|
var tableId = state.e72().id;
|
|
5441
|
-
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.
|
|
5441
|
+
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.deo_1.d6n(), tableId, null);
|
|
5442
5442
|
var tmp$ret$21 = mapToClient_18(action_0, sendToPlayer_0);
|
|
5443
5443
|
tmp = listOfNotNull(tmp$ret$21);
|
|
5444
5444
|
} else {
|
|
5445
5445
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
5446
|
-
var tmp0_1 = this.
|
|
5446
|
+
var tmp0_1 = this.feo_1;
|
|
5447
5447
|
var tmp2_0 = action_0.table.id;
|
|
5448
5448
|
var tmp4_0 = action_0.gameCreatorPlayerId;
|
|
5449
5449
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -5483,7 +5483,7 @@
|
|
|
5483
5483
|
var _iterator__ex2g4s_7 = destination_6.l();
|
|
5484
5484
|
while (_iterator__ex2g4s_7.m()) {
|
|
5485
5485
|
var element_2 = _iterator__ex2g4s_7.n();
|
|
5486
|
-
var tmp0_aid_0 = tmp0_1.
|
|
5486
|
+
var tmp0_aid_0 = tmp0_1.deo_1.d6n();
|
|
5487
5487
|
// Inline function 'kotlin.collections.map' call
|
|
5488
5488
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5489
5489
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -5505,39 +5505,39 @@
|
|
|
5505
5505
|
tmp = destination_7;
|
|
5506
5506
|
} else {
|
|
5507
5507
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
5508
|
-
var tmp0_2 = this.
|
|
5508
|
+
var tmp0_2 = this.feo_1;
|
|
5509
5509
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5510
5510
|
var tableId_0 = state.e72().id;
|
|
5511
|
-
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.
|
|
5511
|
+
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.deo_1.d6n(), tableId_0, null);
|
|
5512
5512
|
var tmp$ret$44 = mapToClient_16(action_0, sendToPlayer_2);
|
|
5513
5513
|
tmp = listOfNotNull(tmp$ret$44);
|
|
5514
5514
|
} else {
|
|
5515
5515
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
5516
|
-
var tmp0_3 = this.
|
|
5516
|
+
var tmp0_3 = this.feo_1;
|
|
5517
5517
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5518
5518
|
var tableId_1 = state.e72().id;
|
|
5519
|
-
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.
|
|
5519
|
+
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.deo_1.d6n(), tableId_1, null);
|
|
5520
5520
|
var tmp$ret$46 = mapToClient_15(action_0, sendToPlayer_3);
|
|
5521
5521
|
tmp = listOfNotNull(tmp$ret$46);
|
|
5522
5522
|
} else {
|
|
5523
5523
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
5524
|
-
var tmp0_4 = this.
|
|
5524
|
+
var tmp0_4 = this.feo_1;
|
|
5525
5525
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5526
5526
|
var tableId_2 = state.e72().id;
|
|
5527
|
-
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.
|
|
5527
|
+
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.deo_1.d6n(), tableId_2, null);
|
|
5528
5528
|
var tmp$ret$48 = mapToClient_14(action_0, sendToPlayer_4);
|
|
5529
5529
|
tmp = listOfNotNull(tmp$ret$48);
|
|
5530
5530
|
} else {
|
|
5531
5531
|
if (action_0 instanceof ErrorAction) {
|
|
5532
|
-
var tmp0_5 = this.
|
|
5532
|
+
var tmp0_5 = this.feo_1;
|
|
5533
5533
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5534
5534
|
var tableId_3 = state.e72().id;
|
|
5535
|
-
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.
|
|
5535
|
+
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.deo_1.d6n(), tableId_3, null);
|
|
5536
5536
|
var tmp$ret$50 = mapToClient_13(action_0, sendToPlayer_5);
|
|
5537
5537
|
tmp = listOfNotNull(tmp$ret$50);
|
|
5538
5538
|
} else {
|
|
5539
5539
|
if (action_0 instanceof SceneMechanicAction) {
|
|
5540
|
-
var tmp0_6 = this.
|
|
5540
|
+
var tmp0_6 = this.feo_1;
|
|
5541
5541
|
var tmp2_1 = state.e72().id;
|
|
5542
5542
|
var tmp4_1 = state.e72().playersConnections;
|
|
5543
5543
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
@@ -5569,7 +5569,7 @@
|
|
|
5569
5569
|
var _iterator__ex2g4s_11 = destination_10.l();
|
|
5570
5570
|
while (_iterator__ex2g4s_11.m()) {
|
|
5571
5571
|
var element_4 = _iterator__ex2g4s_11.n();
|
|
5572
|
-
var tmp0_aid_1 = tmp0_6.
|
|
5572
|
+
var tmp0_aid_1 = tmp0_6.deo_1.d6n();
|
|
5573
5573
|
// Inline function 'kotlin.collections.map' call
|
|
5574
5574
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5575
5575
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(tmp4_1, 10));
|
|
@@ -5591,7 +5591,7 @@
|
|
|
5591
5591
|
tmp = destination_11;
|
|
5592
5592
|
} else {
|
|
5593
5593
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
5594
|
-
var tmp0_7 = this.
|
|
5594
|
+
var tmp0_7 = this.feo_1;
|
|
5595
5595
|
var tmp2_2 = state.e72().id;
|
|
5596
5596
|
var tmp4_2 = state.e72().playersConnections;
|
|
5597
5597
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
@@ -5623,7 +5623,7 @@
|
|
|
5623
5623
|
var _iterator__ex2g4s_15 = destination_14.l();
|
|
5624
5624
|
while (_iterator__ex2g4s_15.m()) {
|
|
5625
5625
|
var element_6 = _iterator__ex2g4s_15.n();
|
|
5626
|
-
var tmp0_aid_2 = tmp0_7.
|
|
5626
|
+
var tmp0_aid_2 = tmp0_7.deo_1.d6n();
|
|
5627
5627
|
// Inline function 'kotlin.collections.map' call
|
|
5628
5628
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5629
5629
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(tmp4_2, 10));
|
|
@@ -5645,7 +5645,7 @@
|
|
|
5645
5645
|
tmp = destination_15;
|
|
5646
5646
|
} else {
|
|
5647
5647
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
5648
|
-
var tmp0_8 = this.
|
|
5648
|
+
var tmp0_8 = this.feo_1;
|
|
5649
5649
|
var tmp2_3 = state.e72().id;
|
|
5650
5650
|
var tmp4_3 = state.e72().playersConnections;
|
|
5651
5651
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
@@ -5677,7 +5677,7 @@
|
|
|
5677
5677
|
var _iterator__ex2g4s_19 = destination_18.l();
|
|
5678
5678
|
while (_iterator__ex2g4s_19.m()) {
|
|
5679
5679
|
var element_8 = _iterator__ex2g4s_19.n();
|
|
5680
|
-
var tmp0_aid_3 = tmp0_8.
|
|
5680
|
+
var tmp0_aid_3 = tmp0_8.deo_1.d6n();
|
|
5681
5681
|
// Inline function 'kotlin.collections.map' call
|
|
5682
5682
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5683
5683
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(tmp4_3, 10));
|
|
@@ -5689,7 +5689,7 @@
|
|
|
5689
5689
|
}
|
|
5690
5690
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tmp2_3, gameCreatorPlayerId_1, element_8, destination_20);
|
|
5691
5691
|
var tmp_0;
|
|
5692
|
-
if (this.
|
|
5692
|
+
if (this.feo_1.ceo_1.supportBackwardActions && getPlayer(state.e72().players, sendToPlayer_8.k7s_1).u75_1.z7a_1) {
|
|
5693
5693
|
tmp_0 = null;
|
|
5694
5694
|
} else {
|
|
5695
5695
|
tmp_0 = mapToClient_10(action_0, sendToPlayer_8);
|
|
@@ -5705,81 +5705,81 @@
|
|
|
5705
5705
|
tmp = destination_19;
|
|
5706
5706
|
} else {
|
|
5707
5707
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
5708
|
-
var tmp0_9 = this.
|
|
5708
|
+
var tmp0_9 = this.feo_1;
|
|
5709
5709
|
var tmp2_4 = state.e72().id;
|
|
5710
5710
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5711
|
-
var exceptPlayerId = this.
|
|
5712
|
-
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.
|
|
5711
|
+
var exceptPlayerId = this.feo_1.ceo_1.supportBackwardActions ? action_0.d8j_1 : null;
|
|
5712
|
+
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.deo_1.d6n(), tmp2_4, exceptPlayerId);
|
|
5713
5713
|
var tmp$ret$109 = mapToClient_9(action_0, sendToPlayer_9);
|
|
5714
5714
|
tmp = listOfNotNull(tmp$ret$109);
|
|
5715
5715
|
} else {
|
|
5716
5716
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
5717
|
-
var tmp0_10 = this.
|
|
5717
|
+
var tmp0_10 = this.feo_1;
|
|
5718
5718
|
var tmp2_5 = state.e72().id;
|
|
5719
5719
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5720
|
-
var exceptPlayerId_0 = this.
|
|
5721
|
-
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.
|
|
5720
|
+
var exceptPlayerId_0 = this.feo_1.ceo_1.supportBackwardActions ? action_0.h8j_1 : null;
|
|
5721
|
+
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.deo_1.d6n(), tmp2_5, exceptPlayerId_0);
|
|
5722
5722
|
var tmp$ret$111 = mapToClient_8(action_0, sendToPlayer_10);
|
|
5723
5723
|
tmp = listOfNotNull(tmp$ret$111);
|
|
5724
5724
|
} else {
|
|
5725
5725
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
5726
|
-
var tmp0_11 = this.
|
|
5726
|
+
var tmp0_11 = this.feo_1;
|
|
5727
5727
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5728
5728
|
var tableId_4 = state.e72().id;
|
|
5729
|
-
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.
|
|
5729
|
+
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.deo_1.d6n(), tableId_4, null);
|
|
5730
5730
|
var tmp$ret$113 = mapToClient_7(action_0, sendToPlayer_11);
|
|
5731
5731
|
tmp = listOfNotNull(tmp$ret$113);
|
|
5732
5732
|
} else {
|
|
5733
5733
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
5734
|
-
var tmp0_12 = this.
|
|
5734
|
+
var tmp0_12 = this.feo_1;
|
|
5735
5735
|
var tmp2_6 = state.e72().id;
|
|
5736
5736
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5737
|
-
var exceptPlayerId_1 = this.
|
|
5738
|
-
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.
|
|
5737
|
+
var exceptPlayerId_1 = this.feo_1.ceo_1.supportBackwardActions ? action_0.o8j_1 : null;
|
|
5738
|
+
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.deo_1.d6n(), tmp2_6, exceptPlayerId_1);
|
|
5739
5739
|
var tmp$ret$115 = mapToClient_6(action_0, sendToPlayer_12);
|
|
5740
5740
|
tmp = listOfNotNull(tmp$ret$115);
|
|
5741
5741
|
} else {
|
|
5742
5742
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
5743
|
-
var tmp0_13 = this.
|
|
5743
|
+
var tmp0_13 = this.feo_1;
|
|
5744
5744
|
var tmp2_7 = state.e72().id;
|
|
5745
5745
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5746
|
-
var exceptPlayerId_2 = this.
|
|
5747
|
-
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.
|
|
5746
|
+
var exceptPlayerId_2 = this.feo_1.ceo_1.supportBackwardActions ? action_0.t8j_1 : null;
|
|
5747
|
+
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.deo_1.d6n(), tmp2_7, exceptPlayerId_2);
|
|
5748
5748
|
var tmp$ret$117 = mapToClient_5(action_0, sendToPlayer_13);
|
|
5749
5749
|
tmp = listOfNotNull(tmp$ret$117);
|
|
5750
5750
|
} else {
|
|
5751
5751
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
5752
|
-
var tmp0_14 = this.
|
|
5752
|
+
var tmp0_14 = this.feo_1;
|
|
5753
5753
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5754
5754
|
var tableId_5 = state.e72().id;
|
|
5755
|
-
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.
|
|
5755
|
+
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.deo_1.d6n(), tableId_5, null);
|
|
5756
5756
|
var tmp$ret$119 = mapToClient_4(action_0, sendToPlayer_14);
|
|
5757
5757
|
tmp = listOfNotNull(tmp$ret$119);
|
|
5758
5758
|
} else {
|
|
5759
5759
|
if (action_0 instanceof TakeAllRemainingCardsMechanicAction) {
|
|
5760
|
-
var tmp0_15 = this.
|
|
5760
|
+
var tmp0_15 = this.feo_1;
|
|
5761
5761
|
var tmp2_8 = state.e72().id;
|
|
5762
5762
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5763
|
-
var exceptPlayerId_3 = this.
|
|
5764
|
-
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.
|
|
5763
|
+
var exceptPlayerId_3 = this.feo_1.ceo_1.supportBackwardActions ? action_0.a8k_1 : null;
|
|
5764
|
+
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.deo_1.d6n(), tmp2_8, exceptPlayerId_3);
|
|
5765
5765
|
var tmp$ret$121 = mapToClient_3(action_0, sendToPlayer_15);
|
|
5766
5766
|
tmp = listOfNotNull(tmp$ret$121);
|
|
5767
5767
|
} else {
|
|
5768
5768
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
5769
|
-
var tmp0_16 = this.
|
|
5769
|
+
var tmp0_16 = this.feo_1;
|
|
5770
5770
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5771
5771
|
var tableId_6 = state.e72().id;
|
|
5772
|
-
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.
|
|
5772
|
+
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.deo_1.d6n(), tableId_6, null);
|
|
5773
5773
|
var tmp$ret$123 = mapToClient_2(action_0, sendToPlayer_16);
|
|
5774
5774
|
tmp = listOfNotNull(tmp$ret$123);
|
|
5775
5775
|
} else {
|
|
5776
5776
|
if (action_0 instanceof MessageMechanicAction) {
|
|
5777
5777
|
var message = action_0.message;
|
|
5778
|
-
var tmp0_17 = this.
|
|
5778
|
+
var tmp0_17 = this.feo_1;
|
|
5779
5779
|
var tmp2_9 = state.e72().id;
|
|
5780
5780
|
var tmp_1;
|
|
5781
5781
|
var tmp_2;
|
|
5782
|
-
if (this.
|
|
5782
|
+
if (this.feo_1.ceo_1.supportBackwardActions) {
|
|
5783
5783
|
tmp_2 = isInterface(message, UserMessage);
|
|
5784
5784
|
} else {
|
|
5785
5785
|
tmp_2 = false;
|
|
@@ -5791,16 +5791,16 @@
|
|
|
5791
5791
|
}
|
|
5792
5792
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5793
5793
|
var exceptPlayerId_4 = tmp_1;
|
|
5794
|
-
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.
|
|
5794
|
+
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.deo_1.d6n(), tmp2_9, exceptPlayerId_4);
|
|
5795
5795
|
var tmp$ret$125 = mapToClient_1(action_0, sendToPlayer_17);
|
|
5796
5796
|
tmp = listOfNotNull(tmp$ret$125);
|
|
5797
5797
|
} else {
|
|
5798
5798
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
5799
|
-
var tmp0_18 = this.
|
|
5799
|
+
var tmp0_18 = this.feo_1;
|
|
5800
5800
|
var tmp2_10 = state.e72().id;
|
|
5801
5801
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5802
5802
|
var exceptPlayerId_5 = action_0.playerId;
|
|
5803
|
-
var sendToPlayer_18 = new RoomActionPayload(tmp0_18.
|
|
5803
|
+
var sendToPlayer_18 = new RoomActionPayload(tmp0_18.deo_1.d6n(), tmp2_10, exceptPlayerId_5);
|
|
5804
5804
|
var tmp$ret$127 = mapToClient_0(action_0, sendToPlayer_18);
|
|
5805
5805
|
tmp = listOfNotNull(tmp$ret$127);
|
|
5806
5806
|
} else {
|
|
@@ -5838,11 +5838,11 @@
|
|
|
5838
5838
|
return this.u6q(store, next, action);
|
|
5839
5839
|
};
|
|
5840
5840
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider, playerConnectionInteractor) {
|
|
5841
|
-
this.
|
|
5842
|
-
this.
|
|
5843
|
-
this.
|
|
5841
|
+
this.ceo_1 = logicConfig;
|
|
5842
|
+
this.deo_1 = idsProvider;
|
|
5843
|
+
this.eeo_1 = playerConnectionInteractor;
|
|
5844
5844
|
}
|
|
5845
|
-
protoOf(ServerMapMechanicToClientActionMiddleware).
|
|
5845
|
+
protoOf(ServerMapMechanicToClientActionMiddleware).p9t = function () {
|
|
5846
5846
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
5847
5847
|
return new ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this);
|
|
5848
5848
|
};
|
|
@@ -5851,8 +5851,8 @@
|
|
|
5851
5851
|
return new playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1(logger, playerConnectionInteractor);
|
|
5852
5852
|
}
|
|
5853
5853
|
function playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1($logger, $playerConnectionInteractor) {
|
|
5854
|
-
this.
|
|
5855
|
-
this.
|
|
5854
|
+
this.geo_1 = $logger;
|
|
5855
|
+
this.heo_1 = $playerConnectionInteractor;
|
|
5856
5856
|
}
|
|
5857
5857
|
protoOf(playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1).f6p = function (action) {
|
|
5858
5858
|
return action instanceof PlayerConnectionUpdateAction;
|
|
@@ -5865,13 +5865,13 @@
|
|
|
5865
5865
|
if (!get_isCreated(state)) {
|
|
5866
5866
|
break $l$block_1;
|
|
5867
5867
|
}
|
|
5868
|
-
var player = getPlayer(state.e72().players, tmp4.
|
|
5869
|
-
if (tmp4.
|
|
5868
|
+
var player = getPlayer(state.e72().players, tmp4.g9o_1);
|
|
5869
|
+
if (tmp4.f9o_1.isVisibleDisconnectedReason) {
|
|
5870
5870
|
if (player.s75_1.p6h().z6f_1.isDisconnecting) {
|
|
5871
5871
|
break $l$block_1;
|
|
5872
5872
|
}
|
|
5873
5873
|
if (player.s75_1.p6h().z6f_1.isLeftPermanently) {
|
|
5874
|
-
this.
|
|
5874
|
+
this.geo_1.w('playerConnectionUpdateMiddleware', "player connection state can't be changed after [playerLeft] is invoked, " + tmp4.toString());
|
|
5875
5875
|
break $l$block_1;
|
|
5876
5876
|
}
|
|
5877
5877
|
}
|
|
@@ -5894,7 +5894,7 @@
|
|
|
5894
5894
|
var _iterator__ex2g4s_0 = destination.l();
|
|
5895
5895
|
while (_iterator__ex2g4s_0.m()) {
|
|
5896
5896
|
var element_0 = _iterator__ex2g4s_0.n();
|
|
5897
|
-
if (element_0.
|
|
5897
|
+
if (element_0.ieo_1 === tmp4.g9o_1) {
|
|
5898
5898
|
if (found) {
|
|
5899
5899
|
tmp$ret$4 = null;
|
|
5900
5900
|
break $l$block_3;
|
|
@@ -5913,7 +5913,7 @@
|
|
|
5913
5913
|
if (!(reconnectionTimerTag == null)) {
|
|
5914
5914
|
store.dispatch(new StopTimerAction(reconnectionTimerTag));
|
|
5915
5915
|
}
|
|
5916
|
-
var actions = this.
|
|
5916
|
+
var actions = this.heo_1.yem(tmp4.f9o_1, player.s75_1.p6h().z6f_1, player, store.state.e72(), tmp4.i9o_1);
|
|
5917
5917
|
// Inline function 'kotlin.collections.forEach' call
|
|
5918
5918
|
var _iterator__ex2g4s_1 = actions.l();
|
|
5919
5919
|
while (_iterator__ex2g4s_1.m()) {
|
|
@@ -5926,17 +5926,17 @@
|
|
|
5926
5926
|
return this.u6q(store, next, action);
|
|
5927
5927
|
};
|
|
5928
5928
|
function PlayerReconnectionWaitingTimerTag(playerId, state, previousState) {
|
|
5929
|
-
this.
|
|
5930
|
-
this.
|
|
5931
|
-
this.
|
|
5929
|
+
this.ieo_1 = playerId;
|
|
5930
|
+
this.jeo_1 = state;
|
|
5931
|
+
this.keo_1 = previousState;
|
|
5932
5932
|
}
|
|
5933
5933
|
protoOf(PlayerReconnectionWaitingTimerTag).toString = function () {
|
|
5934
|
-
return 'PlayerReconnectionWaitingTimerTag(playerId=' + this.
|
|
5934
|
+
return 'PlayerReconnectionWaitingTimerTag(playerId=' + this.ieo_1 + ', state=' + this.jeo_1.toString() + ', previousState=' + this.keo_1.toString() + ')';
|
|
5935
5935
|
};
|
|
5936
5936
|
protoOf(PlayerReconnectionWaitingTimerTag).hashCode = function () {
|
|
5937
|
-
var result = getStringHashCode(this.
|
|
5938
|
-
result = imul(result, 31) + this.
|
|
5939
|
-
result = imul(result, 31) + this.
|
|
5937
|
+
var result = getStringHashCode(this.ieo_1);
|
|
5938
|
+
result = imul(result, 31) + this.jeo_1.hashCode() | 0;
|
|
5939
|
+
result = imul(result, 31) + this.keo_1.hashCode() | 0;
|
|
5940
5940
|
return result;
|
|
5941
5941
|
};
|
|
5942
5942
|
protoOf(PlayerReconnectionWaitingTimerTag).equals = function (other) {
|
|
@@ -5944,11 +5944,11 @@
|
|
|
5944
5944
|
return true;
|
|
5945
5945
|
if (!(other instanceof PlayerReconnectionWaitingTimerTag))
|
|
5946
5946
|
return false;
|
|
5947
|
-
if (!(this.
|
|
5947
|
+
if (!(this.ieo_1 === other.ieo_1))
|
|
5948
5948
|
return false;
|
|
5949
|
-
if (!this.
|
|
5949
|
+
if (!this.jeo_1.equals(other.jeo_1))
|
|
5950
5950
|
return false;
|
|
5951
|
-
if (!this.
|
|
5951
|
+
if (!this.keo_1.equals(other.keo_1))
|
|
5952
5952
|
return false;
|
|
5953
5953
|
return true;
|
|
5954
5954
|
};
|
|
@@ -5957,7 +5957,7 @@
|
|
|
5957
5957
|
return new playerReconnectionTimeoutMiddleware$$inlined$middlewareForActionType$1(playerConnectionInteractor);
|
|
5958
5958
|
}
|
|
5959
5959
|
function playerReconnectionTimeoutMiddleware$$inlined$middlewareForActionType$1($playerConnectionInteractor) {
|
|
5960
|
-
this.
|
|
5960
|
+
this.leo_1 = $playerConnectionInteractor;
|
|
5961
5961
|
}
|
|
5962
5962
|
protoOf(playerReconnectionTimeoutMiddleware$$inlined$middlewareForActionType$1).f6p = function (action) {
|
|
5963
5963
|
return action instanceof TimerTickAction;
|
|
@@ -5971,8 +5971,8 @@
|
|
|
5971
5971
|
var timerTag = tmp4.b6p_1;
|
|
5972
5972
|
if (timerTag instanceof PlayerReconnectionWaitingTimerTag) {
|
|
5973
5973
|
var state = store.state;
|
|
5974
|
-
var player = getPlayer(state.e72().players, timerTag.
|
|
5975
|
-
var actions = this.
|
|
5974
|
+
var player = getPlayer(state.e72().players, timerTag.ieo_1);
|
|
5975
|
+
var actions = this.leo_1.yem(timerTag.jeo_1, timerTag.keo_1, player, state.e72(), true);
|
|
5976
5976
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5977
5977
|
if (!actions.q()) {
|
|
5978
5978
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5994,7 +5994,7 @@
|
|
|
5994
5994
|
return new playerReconnectionTimerStartWhenStartGameMiddleware$$inlined$middlewareForActionType$1(playerConnectionInteractor);
|
|
5995
5995
|
}
|
|
5996
5996
|
function playerReconnectionTimerStartWhenStartGameMiddleware$$inlined$middlewareForActionType$1($playerConnectionInteractor) {
|
|
5997
|
-
this.
|
|
5997
|
+
this.meo_1 = $playerConnectionInteractor;
|
|
5998
5998
|
}
|
|
5999
5999
|
protoOf(playerReconnectionTimerStartWhenStartGameMiddleware$$inlined$middlewareForActionType$1).f6p = function (action) {
|
|
6000
6000
|
return isInterface(action, FirstMechanicAction);
|
|
@@ -6022,7 +6022,7 @@
|
|
|
6022
6022
|
var tmp1_previousConnectionState = element_0.s75_1.p6h().z6f_1;
|
|
6023
6023
|
var tmp2_playerId = element_0.playerId;
|
|
6024
6024
|
// Inline function 'kotlin.collections.forEach' call
|
|
6025
|
-
var _iterator__ex2g4s_1 = this.
|
|
6025
|
+
var _iterator__ex2g4s_1 = this.meo_1.zem(tmp2_playerId, tmp0_newConnectionState, tmp1_previousConnectionState).l();
|
|
6026
6026
|
while (_iterator__ex2g4s_1.m()) {
|
|
6027
6027
|
var element_1 = _iterator__ex2g4s_1.n();
|
|
6028
6028
|
store.dispatch(element_1);
|
|
@@ -6037,8 +6037,8 @@
|
|
|
6037
6037
|
return new sendToClientActionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, provider);
|
|
6038
6038
|
}
|
|
6039
6039
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
6040
|
-
this.
|
|
6041
|
-
this.
|
|
6040
|
+
this.veo_1 = $provider;
|
|
6041
|
+
this.weo_1 = $action;
|
|
6042
6042
|
CoroutineImpl.call(this, resultContinuation);
|
|
6043
6043
|
}
|
|
6044
6044
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).k29 = function ($this$launchDefault, $completion) {
|
|
@@ -6059,7 +6059,7 @@
|
|
|
6059
6059
|
case 0:
|
|
6060
6060
|
this.t8_1 = 2;
|
|
6061
6061
|
this.s8_1 = 1;
|
|
6062
|
-
suspendResult = this.
|
|
6062
|
+
suspendResult = this.veo_1.sek(this.weo_1, this);
|
|
6063
6063
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
6064
6064
|
return suspendResult;
|
|
6065
6065
|
}
|
|
@@ -6082,8 +6082,8 @@
|
|
|
6082
6082
|
while (true);
|
|
6083
6083
|
};
|
|
6084
6084
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).l29 = function ($this$launchDefault, completion) {
|
|
6085
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
6086
|
-
i.
|
|
6085
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.veo_1, this.weo_1, completion);
|
|
6086
|
+
i.xeo_1 = $this$launchDefault;
|
|
6087
6087
|
return i;
|
|
6088
6088
|
};
|
|
6089
6089
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -6095,15 +6095,15 @@
|
|
|
6095
6095
|
return l;
|
|
6096
6096
|
}
|
|
6097
6097
|
function sendToClientActionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $provider) {
|
|
6098
|
-
this.
|
|
6099
|
-
this.
|
|
6098
|
+
this.yeo_1 = $asyncProvider;
|
|
6099
|
+
this.zeo_1 = $provider;
|
|
6100
6100
|
}
|
|
6101
6101
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).f6p = function (action) {
|
|
6102
6102
|
return action instanceof ToClientAction;
|
|
6103
6103
|
};
|
|
6104
6104
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).u6q = function (store, next, action) {
|
|
6105
6105
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
6106
|
-
this.
|
|
6106
|
+
this.yeo_1.i6l(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.zeo_1, action_0, null));
|
|
6107
6107
|
next(action_0);
|
|
6108
6108
|
};
|
|
6109
6109
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).e6p = function (store, next, action) {
|
|
@@ -6114,11 +6114,11 @@
|
|
|
6114
6114
|
return new playerTurnTimeoutWhenHasConnectionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, serverConfig, logger);
|
|
6115
6115
|
}
|
|
6116
6116
|
function playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda($store, $timerTag, $serverConfig, $logger, $action, resultContinuation) {
|
|
6117
|
-
this.
|
|
6118
|
-
this.
|
|
6119
|
-
this.
|
|
6120
|
-
this.
|
|
6121
|
-
this.
|
|
6117
|
+
this.iep_1 = $store;
|
|
6118
|
+
this.jep_1 = $timerTag;
|
|
6119
|
+
this.kep_1 = $serverConfig;
|
|
6120
|
+
this.lep_1 = $logger;
|
|
6121
|
+
this.mep_1 = $action;
|
|
6122
6122
|
CoroutineImpl.call(this, resultContinuation);
|
|
6123
6123
|
}
|
|
6124
6124
|
protoOf(playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda).k29 = function ($this$launchDefaultWithLock, $completion) {
|
|
@@ -6137,13 +6137,13 @@
|
|
|
6137
6137
|
var tmp = this.s8_1;
|
|
6138
6138
|
if (tmp === 0) {
|
|
6139
6139
|
this.t8_1 = 1;
|
|
6140
|
-
var table = this.
|
|
6141
|
-
var player = getPlayer(table.players, this.
|
|
6140
|
+
var table = this.iep_1.state.e72();
|
|
6141
|
+
var player = getPlayer(table.players, this.jep_1.l6e());
|
|
6142
6142
|
var connectionState = player.s75_1.p6h().z6f_1;
|
|
6143
6143
|
var tmp_0;
|
|
6144
6144
|
switch (connectionState.q2_1) {
|
|
6145
6145
|
case 1:
|
|
6146
|
-
tmp_0 = listOf(new PlayerConnectionUpdateAction(PlayerConnectionState_TIMEOUT_getInstance(), player.playerId, VOID, this.
|
|
6146
|
+
tmp_0 = listOf(new PlayerConnectionUpdateAction(PlayerConnectionState_TIMEOUT_getInstance(), player.playerId, VOID, this.jep_1.wa0_1));
|
|
6147
6147
|
break;
|
|
6148
6148
|
case 6:
|
|
6149
6149
|
tmp_0 = emptyList();
|
|
@@ -6153,8 +6153,8 @@
|
|
|
6153
6153
|
case 3:
|
|
6154
6154
|
case 2:
|
|
6155
6155
|
var tmp_1;
|
|
6156
|
-
if (table.sceneInfo.t7r() && this.
|
|
6157
|
-
tmp_1 = new PlayerConnectionUpdateAction(PlayerConnectionState_DELETED_getInstance(), player.playerId, VOID, this.
|
|
6156
|
+
if (table.sceneInfo.t7r() && this.kep_1.closeIfBotsAtFinish) {
|
|
6157
|
+
tmp_1 = new PlayerConnectionUpdateAction(PlayerConnectionState_DELETED_getInstance(), player.playerId, VOID, this.jep_1.wa0_1);
|
|
6158
6158
|
} else {
|
|
6159
6159
|
tmp_1 = AskBotAction_init_$Create$(player.playerId, 'PlayerTurn when connection state = ' + connectionState.toString());
|
|
6160
6160
|
}
|
|
@@ -6163,7 +6163,7 @@
|
|
|
6163
6163
|
break;
|
|
6164
6164
|
case 0:
|
|
6165
6165
|
case 7:
|
|
6166
|
-
this.
|
|
6166
|
+
this.lep_1.w('playerTurnTimeoutWhenHasConnectionMiddleware', "Can't support this state " + connectionState.toString() + ', ' + ('action:' + this.mep_1.toString()));
|
|
6167
6167
|
tmp_0 = emptyList();
|
|
6168
6168
|
break;
|
|
6169
6169
|
default:
|
|
@@ -6175,7 +6175,7 @@
|
|
|
6175
6175
|
var _iterator__ex2g4s = actions.l();
|
|
6176
6176
|
while (_iterator__ex2g4s.m()) {
|
|
6177
6177
|
var element = _iterator__ex2g4s.n();
|
|
6178
|
-
this.
|
|
6178
|
+
this.iep_1.dispatch(element);
|
|
6179
6179
|
}
|
|
6180
6180
|
}
|
|
6181
6181
|
return Unit_instance;
|
|
@@ -6189,8 +6189,8 @@
|
|
|
6189
6189
|
while (true);
|
|
6190
6190
|
};
|
|
6191
6191
|
protoOf(playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda).l29 = function ($this$launchDefaultWithLock, completion) {
|
|
6192
|
-
var i = new playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda(this.
|
|
6193
|
-
i.
|
|
6192
|
+
var i = new playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda(this.iep_1, this.jep_1, this.kep_1, this.lep_1, this.mep_1, completion);
|
|
6193
|
+
i.nep_1 = $this$launchDefaultWithLock;
|
|
6194
6194
|
return i;
|
|
6195
6195
|
};
|
|
6196
6196
|
function playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda_0($store, $timerTag, $serverConfig, $logger, $action, resultContinuation) {
|
|
@@ -6202,9 +6202,9 @@
|
|
|
6202
6202
|
return l;
|
|
6203
6203
|
}
|
|
6204
6204
|
function playerTurnTimeoutWhenHasConnectionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $serverConfig, $logger) {
|
|
6205
|
-
this.
|
|
6206
|
-
this.
|
|
6207
|
-
this.
|
|
6205
|
+
this.oep_1 = $asyncProvider;
|
|
6206
|
+
this.pep_1 = $serverConfig;
|
|
6207
|
+
this.qep_1 = $logger;
|
|
6208
6208
|
}
|
|
6209
6209
|
protoOf(playerTurnTimeoutWhenHasConnectionMiddleware$$inlined$middlewareForActionType$1).f6p = function (action) {
|
|
6210
6210
|
return action instanceof TimerTickAction;
|
|
@@ -6213,7 +6213,7 @@
|
|
|
6213
6213
|
var action_0 = action instanceof TimerTickAction ? action : THROW_CCE();
|
|
6214
6214
|
var timerTag = action_0.b6p_1;
|
|
6215
6215
|
if (timerTag instanceof PlayerTurnTimerTag) {
|
|
6216
|
-
this.
|
|
6216
|
+
this.oep_1.k6l(VOID, playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda_0(store, timerTag, this.pep_1, this.qep_1, action_0, null));
|
|
6217
6217
|
}
|
|
6218
6218
|
next(action_0);
|
|
6219
6219
|
};
|
|
@@ -6229,19 +6229,19 @@
|
|
|
6229
6229
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).f6p = function (action) {
|
|
6230
6230
|
return action instanceof UpdateServerConfigAction;
|
|
6231
6231
|
};
|
|
6232
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
6232
|
+
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).ga3 = function (state, action) {
|
|
6233
6233
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
6234
|
-
return state.
|
|
6234
|
+
return state.a9o(VOID, get_serverStatePayload(state).copy(action_0.gen_1));
|
|
6235
6235
|
};
|
|
6236
6236
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).v6q = function (state, action) {
|
|
6237
|
-
return this.
|
|
6237
|
+
return this.ga3((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
6238
6238
|
};
|
|
6239
6239
|
function addRoomMetadata($this, _this__u8e3s4, gameId) {
|
|
6240
6240
|
_this__u8e3s4.metadata.addGame(gameId, new GameMetadata(gameId));
|
|
6241
6241
|
return _this__u8e3s4.metadata;
|
|
6242
6242
|
}
|
|
6243
6243
|
function Companion_5() {
|
|
6244
|
-
this.
|
|
6244
|
+
this.rep_1 = 'ServerMechanicLifecycleReducer';
|
|
6245
6245
|
}
|
|
6246
6246
|
var Companion_instance_16;
|
|
6247
6247
|
function Companion_getInstance_6() {
|
|
@@ -6249,31 +6249,31 @@
|
|
|
6249
6249
|
}
|
|
6250
6250
|
function ServerMechanicLifecycleReducer$onStart$lambda(this$0, $updatedServerPayload) {
|
|
6251
6251
|
return function (it) {
|
|
6252
|
-
return Companion_instance_4.l6h(this$0.
|
|
6252
|
+
return Companion_instance_4.l6h(this$0.vep_1.aen(it.isBot, it.z6e_1, $updatedServerPayload.connectedPlayers));
|
|
6253
6253
|
};
|
|
6254
6254
|
}
|
|
6255
6255
|
function ServerMechanicLifecycleReducer(logger, connectionInteractor, tableLifecycleReducer, randomPoolProvider) {
|
|
6256
6256
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
6257
|
-
this.
|
|
6258
|
-
this.
|
|
6257
|
+
this.uep_1 = logger;
|
|
6258
|
+
this.vep_1 = connectionInteractor;
|
|
6259
6259
|
}
|
|
6260
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
6260
|
+
protoOf(ServerMechanicLifecycleReducer).xa4 = function (state, action) {
|
|
6261
6261
|
var serverState = get_serverStatePayload(state);
|
|
6262
|
-
this.
|
|
6263
|
-
var tableId = action.
|
|
6262
|
+
this.uep_1.d('ServerMechanicLifecycleReducer', 'onStart ' + get_versionOrDefault(GameEngineConfig_instance) + ', connectedPlayers: ' + toString(serverState.connectedPlayers), action);
|
|
6263
|
+
var tableId = action.b8i_1;
|
|
6264
6264
|
var updatedServerPayload = serverState.copy(VOID, addRoomMetadata(this, serverState, tableId));
|
|
6265
6265
|
var tmp6_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
6266
|
-
var tmp0_$this = this.
|
|
6267
|
-
var tmp1_version = action.
|
|
6268
|
-
var tmp2_config = action.
|
|
6269
|
-
var tmp3_users = action.
|
|
6266
|
+
var tmp0_$this = this.ya4_1;
|
|
6267
|
+
var tmp1_version = action.c8i_1;
|
|
6268
|
+
var tmp2_config = action.a8i_1;
|
|
6269
|
+
var tmp3_users = action.e8i_1;
|
|
6270
6270
|
var tmp4_spectators = action.spectators;
|
|
6271
|
-
var tmp5_gameCreatorPlayerId = action.
|
|
6272
|
-
var tmp7_tableOrNull = tmp0_$this.
|
|
6273
|
-
return state.
|
|
6271
|
+
var tmp5_gameCreatorPlayerId = action.d8i_1;
|
|
6272
|
+
var tmp7_tableOrNull = tmp0_$this.ga6(tableId, tableId, tmp2_config, tmp1_version, tmp3_users, tmp4_spectators, tmp5_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(this, updatedServerPayload));
|
|
6273
|
+
return state.a9o(tmp7_tableOrNull, updatedServerPayload, tmp6_gameLifecycleState);
|
|
6274
6274
|
};
|
|
6275
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
6276
|
-
this.
|
|
6275
|
+
protoOf(ServerMechanicLifecycleReducer).va4 = function (state, action) {
|
|
6276
|
+
this.uep_1.d('ServerMechanicLifecycleReducer', 'onContinue ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
6277
6277
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
6278
6278
|
var tmp2_tableOrNull = action.table;
|
|
6279
6279
|
var tmp = Companion_instance_17;
|
|
@@ -6281,32 +6281,32 @@
|
|
|
6281
6281
|
var tmp_1 = action.reason;
|
|
6282
6282
|
var tmp0_safe_receiver = tmp_1 instanceof RestartRoundReason ? tmp_1 : null;
|
|
6283
6283
|
var tmp3_payload = tmp.initial(tmp_0.copy(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.u6d_1), addRoomMetadata(this, get_serverStatePayload(state), action.table.gameId));
|
|
6284
|
-
return state.
|
|
6284
|
+
return state.a9o(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
|
|
6285
6285
|
};
|
|
6286
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
6287
|
-
this.
|
|
6286
|
+
protoOf(ServerMechanicLifecycleReducer).wa4 = function (state, action) {
|
|
6287
|
+
this.za4_1.j5o(action.previousGameId);
|
|
6288
6288
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
6289
|
-
var tmp1_tableOrNull = this.
|
|
6289
|
+
var tmp1_tableOrNull = this.ya4_1.ha6(state.e72(), action.gameId);
|
|
6290
6290
|
var tmp2_payload = get_serverStatePayload(state).copy(VOID, addRoomMetadata(this, get_serverStatePayload(state), action.gameId));
|
|
6291
|
-
return state.
|
|
6291
|
+
return state.a9o(tmp1_tableOrNull, tmp2_payload, tmp0_gameLifecycleState);
|
|
6292
6292
|
};
|
|
6293
6293
|
function spectatorsReducer(logger) {
|
|
6294
6294
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
6295
6295
|
return new spectatorsReducer$$inlined$reducerForActionType$1(logger);
|
|
6296
6296
|
}
|
|
6297
6297
|
function spectatorsReducer$$inlined$reducerForActionType$1($logger) {
|
|
6298
|
-
this.
|
|
6298
|
+
this.wep_1 = $logger;
|
|
6299
6299
|
}
|
|
6300
6300
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).f6p = function (action) {
|
|
6301
6301
|
return isInterface(action, SpectatorsAction);
|
|
6302
6302
|
};
|
|
6303
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
6303
|
+
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).ga3 = function (state, action) {
|
|
6304
6304
|
var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
|
|
6305
6305
|
var table = state.e72();
|
|
6306
6306
|
var tmp;
|
|
6307
6307
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
6308
6308
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
6309
|
-
var tmp0 = action_0.
|
|
6309
|
+
var tmp0 = action_0.hen_1;
|
|
6310
6310
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
6311
6311
|
var destination = ArrayList_init_$Create$_0();
|
|
6312
6312
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -6325,9 +6325,9 @@
|
|
|
6325
6325
|
var tmp_0;
|
|
6326
6326
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
6327
6327
|
if (!sameSpectators.q()) {
|
|
6328
|
-
this.
|
|
6328
|
+
this.wep_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
6329
6329
|
// Inline function 'kotlin.collections.filterNot' call
|
|
6330
|
-
var tmp0_0 = action_0.
|
|
6330
|
+
var tmp0_0 = action_0.hen_1;
|
|
6331
6331
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
6332
6332
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
6333
6333
|
var _iterator__ex2g4s_0 = tmp0_0.l();
|
|
@@ -6362,7 +6362,7 @@
|
|
|
6362
6362
|
}
|
|
6363
6363
|
tmp_0 = destination_0;
|
|
6364
6364
|
} else {
|
|
6365
|
-
tmp_0 = action_0.
|
|
6365
|
+
tmp_0 = action_0.hen_1;
|
|
6366
6366
|
}
|
|
6367
6367
|
// Inline function 'kotlin.collections.map' call
|
|
6368
6368
|
var this_0 = tmp_0;
|
|
@@ -6375,11 +6375,11 @@
|
|
|
6375
6375
|
destination_1.j(tmp$ret$13);
|
|
6376
6376
|
}
|
|
6377
6377
|
var spectatorsToAdd = toSet(destination_1);
|
|
6378
|
-
tmp = state.
|
|
6378
|
+
tmp = state.a9o(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
|
|
6379
6379
|
} else {
|
|
6380
6380
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
6381
6381
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
6382
|
-
var tmp0_1 = action_0.
|
|
6382
|
+
var tmp0_1 = action_0.ien_1;
|
|
6383
6383
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
6384
6384
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
6385
6385
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -6398,9 +6398,9 @@
|
|
|
6398
6398
|
var tmp_2;
|
|
6399
6399
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
6400
6400
|
if (!sameSpectators_0.q()) {
|
|
6401
|
-
this.
|
|
6401
|
+
this.wep_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
6402
6402
|
// Inline function 'kotlin.collections.filterNot' call
|
|
6403
|
-
var tmp0_2 = action_0.
|
|
6403
|
+
var tmp0_2 = action_0.ien_1;
|
|
6404
6404
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
6405
6405
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
6406
6406
|
var _iterator__ex2g4s_4 = tmp0_2.l();
|
|
@@ -6435,7 +6435,7 @@
|
|
|
6435
6435
|
}
|
|
6436
6436
|
tmp_2 = destination_3;
|
|
6437
6437
|
} else {
|
|
6438
|
-
tmp_2 = action_0.
|
|
6438
|
+
tmp_2 = action_0.ien_1;
|
|
6439
6439
|
}
|
|
6440
6440
|
var spectatorsToRemove = toSet(tmp_2);
|
|
6441
6441
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -6472,7 +6472,7 @@
|
|
|
6472
6472
|
destination_4.j(element_5);
|
|
6473
6473
|
}
|
|
6474
6474
|
}
|
|
6475
|
-
tmp = state.
|
|
6475
|
+
tmp = state.a9o(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
|
|
6476
6476
|
} else {
|
|
6477
6477
|
noWhenBranchMatchedException();
|
|
6478
6478
|
}
|
|
@@ -6480,7 +6480,7 @@
|
|
|
6480
6480
|
return tmp;
|
|
6481
6481
|
};
|
|
6482
6482
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).v6q = function (state, action) {
|
|
6483
|
-
return this.
|
|
6483
|
+
return this.ga3((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
6484
6484
|
};
|
|
6485
6485
|
function playerConnectionUpdateReducer() {
|
|
6486
6486
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
@@ -6491,29 +6491,29 @@
|
|
|
6491
6491
|
protoOf(playerConnectionUpdateReducer$$inlined$reducerForActionType$1).f6p = function (action) {
|
|
6492
6492
|
return action instanceof PlayerConnectionUpdateAction;
|
|
6493
6493
|
};
|
|
6494
|
-
protoOf(playerConnectionUpdateReducer$$inlined$reducerForActionType$1).
|
|
6494
|
+
protoOf(playerConnectionUpdateReducer$$inlined$reducerForActionType$1).ga3 = function (state, action) {
|
|
6495
6495
|
var action_0 = action instanceof PlayerConnectionUpdateAction ? action : THROW_CCE();
|
|
6496
6496
|
var statePayload = get_serverStatePayload(state);
|
|
6497
6497
|
var tmp;
|
|
6498
|
-
if (action_0.
|
|
6499
|
-
tmp = state.
|
|
6498
|
+
if (action_0.f9o_1.isLive) {
|
|
6499
|
+
tmp = state.a9o(VOID, statePayload.copy(VOID, VOID, plus_0(statePayload.connectedPlayers, action_0.g9o_1)));
|
|
6500
6500
|
} else {
|
|
6501
6501
|
tmp = state;
|
|
6502
6502
|
}
|
|
6503
6503
|
return tmp;
|
|
6504
6504
|
};
|
|
6505
6505
|
protoOf(playerConnectionUpdateReducer$$inlined$reducerForActionType$1).v6q = function (state, action) {
|
|
6506
|
-
return this.
|
|
6506
|
+
return this.ga3((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
6507
6507
|
};
|
|
6508
6508
|
function Companion_6() {
|
|
6509
6509
|
}
|
|
6510
|
-
protoOf(Companion_6).
|
|
6510
|
+
protoOf(Companion_6).xep = function (config, metadata) {
|
|
6511
6511
|
return new ServerStatePayload(config, metadata, emptyList());
|
|
6512
6512
|
};
|
|
6513
6513
|
protoOf(Companion_6).initial = function (config, metadata, $super) {
|
|
6514
6514
|
config = config === VOID ? Companion_instance_11.initial(null) : config;
|
|
6515
6515
|
metadata = metadata === VOID ? new RoomMetadata() : metadata;
|
|
6516
|
-
return $super === VOID ? this.
|
|
6516
|
+
return $super === VOID ? this.xep(config, metadata) : $super.xep.call(this, config, metadata);
|
|
6517
6517
|
};
|
|
6518
6518
|
var Companion_instance_17;
|
|
6519
6519
|
function Companion_getInstance_7() {
|
|
@@ -6527,10 +6527,10 @@
|
|
|
6527
6527
|
protoOf(ServerStatePayload).f3w = function () {
|
|
6528
6528
|
return this.config;
|
|
6529
6529
|
};
|
|
6530
|
-
protoOf(ServerStatePayload).
|
|
6530
|
+
protoOf(ServerStatePayload).v97 = function () {
|
|
6531
6531
|
return this.metadata;
|
|
6532
6532
|
};
|
|
6533
|
-
protoOf(ServerStatePayload).
|
|
6533
|
+
protoOf(ServerStatePayload).yep = function () {
|
|
6534
6534
|
return this.connectedPlayers;
|
|
6535
6535
|
};
|
|
6536
6536
|
protoOf(ServerStatePayload).oe = function () {
|
|
@@ -6542,14 +6542,14 @@
|
|
|
6542
6542
|
protoOf(ServerStatePayload).yl = function () {
|
|
6543
6543
|
return this.connectedPlayers;
|
|
6544
6544
|
};
|
|
6545
|
-
protoOf(ServerStatePayload).
|
|
6545
|
+
protoOf(ServerStatePayload).zep = function (config, metadata, connectedPlayers) {
|
|
6546
6546
|
return new ServerStatePayload(config, metadata, connectedPlayers);
|
|
6547
6547
|
};
|
|
6548
6548
|
protoOf(ServerStatePayload).copy = function (config, metadata, connectedPlayers, $super) {
|
|
6549
6549
|
config = config === VOID ? this.config : config;
|
|
6550
6550
|
metadata = metadata === VOID ? this.metadata : metadata;
|
|
6551
6551
|
connectedPlayers = connectedPlayers === VOID ? this.connectedPlayers : connectedPlayers;
|
|
6552
|
-
return $super === VOID ? this.
|
|
6552
|
+
return $super === VOID ? this.zep(config, metadata, connectedPlayers) : $super.zep.call(this, config, metadata, connectedPlayers);
|
|
6553
6553
|
};
|
|
6554
6554
|
protoOf(ServerStatePayload).toString = function () {
|
|
6555
6555
|
return 'ServerStatePayload(config=' + this.config.toString() + ', metadata=' + toString(this.metadata) + ', connectedPlayers=' + toString(this.connectedPlayers) + ')';
|
|
@@ -6574,7 +6574,7 @@
|
|
|
6574
6574
|
return true;
|
|
6575
6575
|
};
|
|
6576
6576
|
function serverLoggerKeyFromPayload(_this__u8e3s4, payload) {
|
|
6577
|
-
var gameId = Companion_instance_5.
|
|
6577
|
+
var gameId = Companion_instance_5.ja8(payload);
|
|
6578
6578
|
var tmp;
|
|
6579
6579
|
if (!(gameId == null)) {
|
|
6580
6580
|
tmp = new ServerLoggerKey(gameId);
|
|
@@ -6614,14 +6614,14 @@
|
|
|
6614
6614
|
return new GameServerEngineControllerImpl(loggerCallback, randomOrgConfig);
|
|
6615
6615
|
}
|
|
6616
6616
|
function _get_logger__rkp4sl_0($this) {
|
|
6617
|
-
var tmp0 = $this.
|
|
6617
|
+
var tmp0 = $this.ieq_1;
|
|
6618
6618
|
var tmp = KProperty1;
|
|
6619
6619
|
// Inline function 'kotlin.getValue' call
|
|
6620
6620
|
getPropertyCallableRef('logger', 1, tmp, GameServerEngineControllerImpl$_get_logger_$ref_b9j0th(), null);
|
|
6621
6621
|
return tmp0.x();
|
|
6622
6622
|
}
|
|
6623
6623
|
function _get_di__ndbzja($this) {
|
|
6624
|
-
var tmp0 = $this.
|
|
6624
|
+
var tmp0 = $this.jeq_1;
|
|
6625
6625
|
var tmp = KProperty1;
|
|
6626
6626
|
// Inline function 'kotlin.getValue' call
|
|
6627
6627
|
getPropertyCallableRef('di', 1, tmp, GameServerEngineControllerImpl$_get_di_$ref_cvlqo6(), null);
|
|
@@ -6638,8 +6638,8 @@
|
|
|
6638
6638
|
}
|
|
6639
6639
|
function createCallbackOutput($this, gameServer) {
|
|
6640
6640
|
var tmp;
|
|
6641
|
-
if (!($this.
|
|
6642
|
-
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.
|
|
6641
|
+
if (!($this.geq_1 == null)) {
|
|
6642
|
+
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.geq_1);
|
|
6643
6643
|
tmp = new CallbackWrapperLoggerOutput(tmp_0, GameServerEngineControllerImpl$createCallbackOutput$lambda(gameServer));
|
|
6644
6644
|
} else {
|
|
6645
6645
|
tmp = null;
|
|
@@ -6653,11 +6653,11 @@
|
|
|
6653
6653
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
6654
6654
|
return function () {
|
|
6655
6655
|
var tmp;
|
|
6656
|
-
if (this$0.
|
|
6656
|
+
if (this$0.geq_1 == null) {
|
|
6657
6657
|
tmp = null;
|
|
6658
6658
|
} else {
|
|
6659
6659
|
// Inline function 'kotlin.let' call
|
|
6660
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
6660
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.geq_1)]));
|
|
6661
6661
|
}
|
|
6662
6662
|
var tmp1_elvis_lhs = tmp;
|
|
6663
6663
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -6690,7 +6690,7 @@
|
|
|
6690
6690
|
tmp_0.g1f(tmp$ret$3);
|
|
6691
6691
|
$this$DI.k1b(jsonModule());
|
|
6692
6692
|
$this$DI.k1b(serverHelpersModule());
|
|
6693
|
-
$this$DI.k1b(randomOrgModule(this$0.
|
|
6693
|
+
$this$DI.k1b(randomOrgModule(this$0.heq_1));
|
|
6694
6694
|
return Unit_instance;
|
|
6695
6695
|
};
|
|
6696
6696
|
}
|
|
@@ -6766,16 +6766,16 @@
|
|
|
6766
6766
|
};
|
|
6767
6767
|
}
|
|
6768
6768
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1($reducer) {
|
|
6769
|
-
this.
|
|
6769
|
+
this.qeq_1 = $reducer;
|
|
6770
6770
|
}
|
|
6771
6771
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).f6p = function (action) {
|
|
6772
6772
|
return isInterface(action, Action);
|
|
6773
6773
|
};
|
|
6774
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
6775
|
-
return this.
|
|
6774
|
+
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).ga3 = function (state, action) {
|
|
6775
|
+
return this.qeq_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
6776
6776
|
};
|
|
6777
6777
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).v6q = function (state, action) {
|
|
6778
|
-
return this.
|
|
6778
|
+
return this.ga3((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
6779
6779
|
};
|
|
6780
6780
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($gameServer) {
|
|
6781
6781
|
return function () {
|
|
@@ -6855,7 +6855,7 @@
|
|
|
6855
6855
|
}
|
|
6856
6856
|
function GameServerEngineControllerImpl$createCallbackOutput$lambda($gameServer) {
|
|
6857
6857
|
return function (it) {
|
|
6858
|
-
var payload = Companion_instance_8.
|
|
6858
|
+
var payload = Companion_instance_8.ua6(it);
|
|
6859
6859
|
var tmp;
|
|
6860
6860
|
if (!(payload == null)) {
|
|
6861
6861
|
return payload;
|
|
@@ -6876,7 +6876,7 @@
|
|
|
6876
6876
|
// Inline function 'kotlin.let' call
|
|
6877
6877
|
$this$DI.k1b(tmp0_safe_receiver);
|
|
6878
6878
|
}
|
|
6879
|
-
$this$DI.k1b(dealerModule(this$0.randomPoolProvider, this$0.
|
|
6879
|
+
$this$DI.k1b(dealerModule(this$0.randomPoolProvider, this$0.heq_1));
|
|
6880
6880
|
$this$DI.k1b(coreModule($coreConfig));
|
|
6881
6881
|
$this$DI.k1b(createGameServerDI($serverConfig, $logicConfig, $engineBotConfig, $dealerConfig, $ratingConfig, $leaguesConfig, $externalReducers, $externalMiddlewares));
|
|
6882
6882
|
return Unit_instance;
|
|
@@ -6885,8 +6885,8 @@
|
|
|
6885
6885
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
6886
6886
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
6887
6887
|
production = production === VOID ? true : production;
|
|
6888
|
-
this.
|
|
6889
|
-
this.
|
|
6888
|
+
this.geq_1 = loggerCallback;
|
|
6889
|
+
this.heq_1 = randomOrgConfig;
|
|
6890
6890
|
var tmp = AppEnvironment_getInstance();
|
|
6891
6891
|
var tmp_0;
|
|
6892
6892
|
if (production) {
|
|
@@ -6896,9 +6896,9 @@
|
|
|
6896
6896
|
}
|
|
6897
6897
|
tmp.i6w(tmp_0);
|
|
6898
6898
|
var tmp_1 = this;
|
|
6899
|
-
tmp_1.
|
|
6899
|
+
tmp_1.ieq_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
6900
6900
|
var tmp_2 = this;
|
|
6901
|
-
tmp_2.
|
|
6901
|
+
tmp_2.jeq_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
6902
6902
|
var tmp_3 = this;
|
|
6903
6903
|
// Inline function 'org.kodein.di.instance' call
|
|
6904
6904
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -6907,7 +6907,7 @@
|
|
|
6907
6907
|
var tmp$ret$0 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
6908
6908
|
var tmp_5 = Instance(this_0, tmp$ret$0, null);
|
|
6909
6909
|
var tmp_6 = KProperty1;
|
|
6910
|
-
tmp_3.
|
|
6910
|
+
tmp_3.keq_1 = tmp_5.d1h(this, getPropertyCallableRef('parser', 1, tmp_6, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w(), null));
|
|
6911
6911
|
var tmp_7 = this;
|
|
6912
6912
|
// Inline function 'org.kodein.di.instance' call
|
|
6913
6913
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -6916,7 +6916,7 @@
|
|
|
6916
6916
|
var tmp$ret$2 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
6917
6917
|
var tmp_9 = Instance(this_1, tmp$ret$2, null);
|
|
6918
6918
|
var tmp_10 = KProperty1;
|
|
6919
|
-
tmp_7.
|
|
6919
|
+
tmp_7.leq_1 = tmp_9.d1h(this, getPropertyCallableRef('helper', 1, tmp_10, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f(), null));
|
|
6920
6920
|
var tmp_11 = this;
|
|
6921
6921
|
// Inline function 'org.kodein.di.instance' call
|
|
6922
6922
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -6925,7 +6925,7 @@
|
|
|
6925
6925
|
var tmp$ret$4 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
6926
6926
|
var tmp_13 = Instance(this_2, tmp$ret$4, null);
|
|
6927
6927
|
var tmp_14 = KProperty1;
|
|
6928
|
-
tmp_11.
|
|
6928
|
+
tmp_11.meq_1 = tmp_13.d1h(this, getPropertyCallableRef('serverHelper', 1, tmp_14, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre(), null));
|
|
6929
6929
|
var tmp_15 = this;
|
|
6930
6930
|
// Inline function 'org.kodein.di.instance' call
|
|
6931
6931
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -6934,7 +6934,7 @@
|
|
|
6934
6934
|
var tmp$ret$6 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
6935
6935
|
var tmp_17 = Instance(this_3, tmp$ret$6, null);
|
|
6936
6936
|
var tmp_18 = KProperty1;
|
|
6937
|
-
tmp_15.
|
|
6937
|
+
tmp_15.neq_1 = tmp_17.d1h(this, getPropertyCallableRef('resources', 1, tmp_18, GameServerEngineControllerImpl$_get_resources_$ref_dt6416(), null));
|
|
6938
6938
|
var tmp_19 = this;
|
|
6939
6939
|
// Inline function 'org.kodein.di.instance' call
|
|
6940
6940
|
var this_4 = _get_di__ndbzja(this);
|
|
@@ -6943,7 +6943,7 @@
|
|
|
6943
6943
|
var tmp$ret$8 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
6944
6944
|
var tmp_21 = Instance(this_4, tmp$ret$8, null);
|
|
6945
6945
|
var tmp_22 = KProperty1;
|
|
6946
|
-
tmp_19.
|
|
6946
|
+
tmp_19.oeq_1 = tmp_21.d1h(this, getPropertyCallableRef('test', 1, tmp_22, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5(), null));
|
|
6947
6947
|
var tmp_23 = this;
|
|
6948
6948
|
// Inline function 'org.kodein.di.instance' call
|
|
6949
6949
|
var this_5 = _get_di__ndbzja(this);
|
|
@@ -6952,45 +6952,45 @@
|
|
|
6952
6952
|
var tmp$ret$10 = isInterface(tmp_24, TypeToken) ? tmp_24 : THROW_CCE();
|
|
6953
6953
|
var tmp_25 = Instance(this_5, tmp$ret$10, null);
|
|
6954
6954
|
var tmp_26 = KProperty1;
|
|
6955
|
-
tmp_23.
|
|
6955
|
+
tmp_23.peq_1 = tmp_25.d1h(this, getPropertyCallableRef('randomPoolProvider', 1, tmp_26, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl(), null));
|
|
6956
6956
|
}
|
|
6957
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6958
|
-
var tmp0 = this.
|
|
6957
|
+
protoOf(GameServerEngineControllerImpl).ue0 = function () {
|
|
6958
|
+
var tmp0 = this.keq_1;
|
|
6959
6959
|
var tmp = KProperty1;
|
|
6960
6960
|
// Inline function 'kotlin.getValue' call
|
|
6961
6961
|
getPropertyCallableRef('parser', 1, tmp, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w_0(), null);
|
|
6962
6962
|
return tmp0.x();
|
|
6963
6963
|
};
|
|
6964
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6965
|
-
var tmp0 = this.
|
|
6964
|
+
protoOf(GameServerEngineControllerImpl).beq = function () {
|
|
6965
|
+
var tmp0 = this.leq_1;
|
|
6966
6966
|
var tmp = KProperty1;
|
|
6967
6967
|
// Inline function 'kotlin.getValue' call
|
|
6968
6968
|
getPropertyCallableRef('helper', 1, tmp, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f_0(), null);
|
|
6969
6969
|
return tmp0.x();
|
|
6970
6970
|
};
|
|
6971
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6972
|
-
var tmp0 = this.
|
|
6971
|
+
protoOf(GameServerEngineControllerImpl).ceq = function () {
|
|
6972
|
+
var tmp0 = this.meq_1;
|
|
6973
6973
|
var tmp = KProperty1;
|
|
6974
6974
|
// Inline function 'kotlin.getValue' call
|
|
6975
6975
|
getPropertyCallableRef('serverHelper', 1, tmp, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre_0(), null);
|
|
6976
6976
|
return tmp0.x();
|
|
6977
6977
|
};
|
|
6978
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6979
|
-
var tmp0 = this.
|
|
6978
|
+
protoOf(GameServerEngineControllerImpl).deq = function () {
|
|
6979
|
+
var tmp0 = this.neq_1;
|
|
6980
6980
|
var tmp = KProperty1;
|
|
6981
6981
|
// Inline function 'kotlin.getValue' call
|
|
6982
6982
|
getPropertyCallableRef('resources', 1, tmp, GameServerEngineControllerImpl$_get_resources_$ref_dt6416_0(), null);
|
|
6983
6983
|
return tmp0.x();
|
|
6984
6984
|
};
|
|
6985
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6986
|
-
var tmp0 = this.
|
|
6985
|
+
protoOf(GameServerEngineControllerImpl).aeq = function () {
|
|
6986
|
+
var tmp0 = this.oeq_1;
|
|
6987
6987
|
var tmp = KProperty1;
|
|
6988
6988
|
// Inline function 'kotlin.getValue' call
|
|
6989
6989
|
getPropertyCallableRef('test', 1, tmp, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5_0(), null);
|
|
6990
6990
|
return tmp0.x();
|
|
6991
6991
|
};
|
|
6992
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6993
|
-
var tmp0 = this.
|
|
6992
|
+
protoOf(GameServerEngineControllerImpl).eeq = function () {
|
|
6993
|
+
var tmp0 = this.peq_1;
|
|
6994
6994
|
var tmp = KProperty1;
|
|
6995
6995
|
// Inline function 'kotlin.getValue' call
|
|
6996
6996
|
getPropertyCallableRef('randomPoolProvider', 1, tmp, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl_0(), null);
|
|
@@ -7002,7 +7002,7 @@
|
|
|
7002
7002
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
7003
7003
|
return this.createGameEngineWithLogic();
|
|
7004
7004
|
};
|
|
7005
|
-
protoOf(GameServerEngineControllerImpl).
|
|
7005
|
+
protoOf(GameServerEngineControllerImpl).feq = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, leaguesConfig, coreConfig, botConfig) {
|
|
7006
7006
|
var combinedLogger = Companion_instance_9.nx();
|
|
7007
7007
|
var gameServer = {_v: null};
|
|
7008
7008
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -7050,7 +7050,7 @@
|
|
|
7050
7050
|
function TestHelper() {
|
|
7051
7051
|
}
|
|
7052
7052
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
7053
|
-
var tmp0 = $this.
|
|
7053
|
+
var tmp0 = $this.teq_1;
|
|
7054
7054
|
var tmp = KProperty1;
|
|
7055
7055
|
// Inline function 'kotlin.getValue' call
|
|
7056
7056
|
getPropertyCallableRef('playerAnswerInteractor', 1, tmp, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy_0(), null);
|
|
@@ -7058,7 +7058,7 @@
|
|
|
7058
7058
|
}
|
|
7059
7059
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
7060
7060
|
return function ($this$singleton) {
|
|
7061
|
-
return this$0.
|
|
7061
|
+
return this$0.req_1;
|
|
7062
7062
|
};
|
|
7063
7063
|
}
|
|
7064
7064
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -7098,27 +7098,27 @@
|
|
|
7098
7098
|
return emptyMap();
|
|
7099
7099
|
}
|
|
7100
7100
|
function TestHelperImpl(logger) {
|
|
7101
|
-
this.
|
|
7101
|
+
this.req_1 = logger;
|
|
7102
7102
|
var tmp = this;
|
|
7103
7103
|
var tmp_0 = Companion_instance_7;
|
|
7104
|
-
tmp.
|
|
7104
|
+
tmp.seq_1 = tmp_0.r1b(VOID, TestHelperImpl$di$lambda(this));
|
|
7105
7105
|
var tmp_1 = this;
|
|
7106
7106
|
// Inline function 'org.kodein.di.instance' call
|
|
7107
|
-
var this_0 = this.
|
|
7107
|
+
var this_0 = this.seq_1;
|
|
7108
7108
|
// Inline function 'org.kodein.type.generic' call
|
|
7109
7109
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
7110
7110
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
7111
7111
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
7112
7112
|
var tmp_4 = KProperty1;
|
|
7113
|
-
tmp_1.
|
|
7113
|
+
tmp_1.teq_1 = tmp_3.d1h(this, getPropertyCallableRef('playerAnswerInteractor', 1, tmp_4, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy(), null));
|
|
7114
7114
|
}
|
|
7115
7115
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
7116
|
-
return _get_playerAnswerInteractor__msggz1(this).
|
|
7116
|
+
return _get_playerAnswerInteractor__msggz1(this).k9f(playerId, table, botConfig);
|
|
7117
7117
|
};
|
|
7118
7118
|
protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
|
|
7119
7119
|
var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
|
|
7120
7120
|
if (isInterface(mechanicAction, NextPlayerTurnAction)) {
|
|
7121
|
-
var tmp0 = mechanicAction.
|
|
7121
|
+
var tmp0 = mechanicAction.e9q();
|
|
7122
7122
|
var tmp$ret$0;
|
|
7123
7123
|
$l$block_0: {
|
|
7124
7124
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -7150,7 +7150,7 @@
|
|
|
7150
7150
|
};
|
|
7151
7151
|
protoOf(TestHelperImpl).getPlayerAnswerFromMechanicAction = function (table, currentPlayerId, action, botConfig) {
|
|
7152
7152
|
if (isInterface(action, NextPlayerTurnAction)) {
|
|
7153
|
-
var tmp0 = action.
|
|
7153
|
+
var tmp0 = action.e9q();
|
|
7154
7154
|
var tmp$ret$0;
|
|
7155
7155
|
$l$block_0: {
|
|
7156
7156
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -7183,14 +7183,14 @@
|
|
|
7183
7183
|
function RoomMetadata() {
|
|
7184
7184
|
var tmp = this;
|
|
7185
7185
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
7186
|
-
tmp.
|
|
7186
|
+
tmp.ueq_1 = LinkedHashMap_init_$Create$();
|
|
7187
7187
|
this.extras = {};
|
|
7188
|
-
this.extras = this.
|
|
7188
|
+
this.extras = this.ueq_1;
|
|
7189
7189
|
}
|
|
7190
|
-
protoOf(RoomMetadata).
|
|
7190
|
+
protoOf(RoomMetadata).veq = function () {
|
|
7191
7191
|
return this.extras;
|
|
7192
7192
|
};
|
|
7193
|
-
protoOf(RoomMetadata).
|
|
7193
|
+
protoOf(RoomMetadata).veq = function () {
|
|
7194
7194
|
return this.extras;
|
|
7195
7195
|
};
|
|
7196
7196
|
protoOf(RoomMetadata).getGame = function (gameId) {
|
|
@@ -7208,7 +7208,7 @@
|
|
|
7208
7208
|
};
|
|
7209
7209
|
protoOf(RoomMetadata).addGame = function (gameId, game) {
|
|
7210
7210
|
// Inline function 'kotlin.collections.set' call
|
|
7211
|
-
this.
|
|
7211
|
+
this.ueq_1.m2(gameId, game);
|
|
7212
7212
|
};
|
|
7213
7213
|
function GameMetadata(gameId) {
|
|
7214
7214
|
this.gameId = gameId;
|
|
@@ -7217,7 +7217,7 @@
|
|
|
7217
7217
|
protoOf(GameMetadata).y5j = function () {
|
|
7218
7218
|
return this.gameId;
|
|
7219
7219
|
};
|
|
7220
|
-
protoOf(GameMetadata).
|
|
7220
|
+
protoOf(GameMetadata).veq = function () {
|
|
7221
7221
|
return this.extras;
|
|
7222
7222
|
};
|
|
7223
7223
|
function serverHelpersModule() {
|
|
@@ -7279,7 +7279,7 @@
|
|
|
7279
7279
|
protoOf(GameServer).roomOnDelete = roomOnDelete;
|
|
7280
7280
|
protoOf(GameServer).shutdown = shutdown;
|
|
7281
7281
|
defineProp(protoOf(GameServer), 'metadata', function () {
|
|
7282
|
-
return this.
|
|
7282
|
+
return this.v97();
|
|
7283
7283
|
});
|
|
7284
7284
|
defineProp(protoOf(GameServer), 'id', function () {
|
|
7285
7285
|
return this.u5j();
|
|
@@ -7298,17 +7298,17 @@
|
|
|
7298
7298
|
});
|
|
7299
7299
|
protoOf($serializer).xz = typeParametersSerializers;
|
|
7300
7300
|
defineProp(protoOf(TableStateUpdateDto), 'roomId', function () {
|
|
7301
|
-
return this.
|
|
7301
|
+
return this.o94();
|
|
7302
7302
|
});
|
|
7303
7303
|
protoOf($serializer_0).xz = typeParametersSerializers;
|
|
7304
7304
|
defineProp(protoOf(ActionsStateUpdateDto), 'roomId', function () {
|
|
7305
|
-
return this.
|
|
7305
|
+
return this.o94();
|
|
7306
7306
|
});
|
|
7307
7307
|
defineProp(protoOf(TableStateUpdate), 'roomId', function () {
|
|
7308
|
-
return this.
|
|
7308
|
+
return this.o94();
|
|
7309
7309
|
});
|
|
7310
7310
|
defineProp(protoOf(ActionsStateUpdate), 'roomId', function () {
|
|
7311
|
-
return this.
|
|
7311
|
+
return this.o94();
|
|
7312
7312
|
});
|
|
7313
7313
|
protoOf(UpdateServerConfigAction).r6o = get_actionTag;
|
|
7314
7314
|
defineProp(protoOf(UpdateServerConfigAction), 'actionTag', function () {
|
|
@@ -7323,25 +7323,25 @@
|
|
|
7323
7323
|
return this.r6o();
|
|
7324
7324
|
});
|
|
7325
7325
|
protoOf(PlayerReconnectionWaitingTimerTag).ignoreValidation = ignoreValidation;
|
|
7326
|
-
protoOf(PlayerReconnectionWaitingTimerTag).
|
|
7326
|
+
protoOf(PlayerReconnectionWaitingTimerTag).k9n = ignoreTimerResetValidation;
|
|
7327
7327
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
7328
7328
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
7329
|
-
return this.
|
|
7329
|
+
return this.ue0();
|
|
7330
7330
|
});
|
|
7331
7331
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
7332
|
-
return this.
|
|
7332
|
+
return this.beq();
|
|
7333
7333
|
});
|
|
7334
7334
|
defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
|
|
7335
|
-
return this.
|
|
7335
|
+
return this.ceq();
|
|
7336
7336
|
});
|
|
7337
7337
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
7338
|
-
return this.
|
|
7338
|
+
return this.deq();
|
|
7339
7339
|
});
|
|
7340
7340
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
7341
|
-
return this.
|
|
7341
|
+
return this.aeq();
|
|
7342
7342
|
});
|
|
7343
7343
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
7344
|
-
return this.
|
|
7344
|
+
return this.eeq();
|
|
7345
7345
|
});
|
|
7346
7346
|
//endregion
|
|
7347
7347
|
//region block: init
|