client_plugin_logic_deb 1.8.461 → 1.8.467
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/Logic_Debertz-client_plugin.js +2013 -2013
- package/Logic_Debertz-core.js +1 -1
- package/Logic_Debertz-engine.js +627 -681
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +6150 -6151
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js +864 -864
- package/kotlin-kotlin-stdlib.js +10 -10
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +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.pfc(roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
409
409
|
tmp_0 = Unit_instance;
|
|
410
410
|
} else {
|
|
411
|
-
tmp_0 = $super.
|
|
411
|
+
tmp_0 = $super.pfc.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.rfc(newRid);
|
|
420
420
|
tmp = Unit_instance;
|
|
421
421
|
} else {
|
|
422
|
-
tmp = $super.
|
|
422
|
+
tmp = $super.rfc.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.sfc(reason, roomId);
|
|
431
431
|
tmp = Unit_instance;
|
|
432
432
|
} else {
|
|
433
|
-
tmp = $super.
|
|
433
|
+
tmp = $super.sfc.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.ofc(playerId, roomId, permanently) : $super.ofc.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.ufi(reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, leaguesConfig, coreConfig, botConfig) : $super.ufi.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.xet_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).zet = function (it, $completion) {
|
|
531
|
+
var tmp = this.aeu(it, $completion);
|
|
532
532
|
tmp.g9_1 = Unit_instance;
|
|
533
533
|
tmp.h9_1 = null;
|
|
534
534
|
return tmp.m9();
|
|
535
535
|
};
|
|
536
536
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).y9 = function (p1, $completion) {
|
|
537
|
-
return this.
|
|
537
|
+
return this.zet(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
|
|
538
538
|
};
|
|
539
539
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).m9 = function () {
|
|
540
540
|
var suspendResult = this.g9_1;
|
|
@@ -543,7 +543,7 @@
|
|
|
543
543
|
var tmp = this.e9_1;
|
|
544
544
|
if (tmp === 0) {
|
|
545
545
|
this.f9_1 = 1;
|
|
546
|
-
this.
|
|
546
|
+
this.xet_1(this.yet_1);
|
|
547
547
|
return Unit_instance;
|
|
548
548
|
} else if (tmp === 1) {
|
|
549
549
|
throw this.h9_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).aeu = function (it, completion) {
|
|
558
|
+
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.xet_1, completion);
|
|
559
|
+
i.yet_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.zet(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.jeu_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).leu = function (it, $completion) {
|
|
575
|
+
var tmp = this.meu(it, $completion);
|
|
576
576
|
tmp.g9_1 = Unit_instance;
|
|
577
577
|
tmp.h9_1 = null;
|
|
578
578
|
return tmp.m9();
|
|
579
579
|
};
|
|
580
580
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).y9 = function (p1, $completion) {
|
|
581
|
-
return this.
|
|
581
|
+
return this.leu((!(p1 == null) ? isInterface(p1, ServerStateUpdate) : false) ? p1 : THROW_CCE(), $completion);
|
|
582
582
|
};
|
|
583
583
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).m9 = function () {
|
|
584
584
|
var suspendResult = this.g9_1;
|
|
@@ -587,7 +587,7 @@
|
|
|
587
587
|
var tmp = this.e9_1;
|
|
588
588
|
if (tmp === 0) {
|
|
589
589
|
this.f9_1 = 1;
|
|
590
|
-
this.
|
|
590
|
+
this.jeu_1(this.keu_1);
|
|
591
591
|
return Unit_instance;
|
|
592
592
|
} else if (tmp === 1) {
|
|
593
593
|
throw this.h9_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).meu = function (it, completion) {
|
|
602
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.jeu_1, completion);
|
|
603
|
+
i.keu_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.leu(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.veu_1 = $$this$unsafeFlow;
|
|
616
|
+
this.weu_1 = this$0;
|
|
617
617
|
CoroutineImpl.call(this, resultContinuation);
|
|
618
618
|
}
|
|
619
619
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).m2l = function (value, $completion) {
|
|
@@ -633,10 +633,10 @@
|
|
|
633
633
|
switch (tmp) {
|
|
634
634
|
case 0:
|
|
635
635
|
this.f9_1 = 2;
|
|
636
|
-
var tmp0 = this.
|
|
637
|
-
var value = this.
|
|
636
|
+
var tmp0 = this.veu_1;
|
|
637
|
+
var value = this.xeu_1;
|
|
638
638
|
this.e9_1 = 1;
|
|
639
|
-
suspendResult = tmp0.s26(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.
|
|
639
|
+
suspendResult = tmp0.s26(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.weu_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).n2l = 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.veu_1, this.weu_1, completion);
|
|
663
|
+
i.xeu_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.gev_1 = _this__u8e3s4;
|
|
677
|
+
this.hev_1 = collector;
|
|
678
678
|
}
|
|
679
679
|
protoOf($collectCOROUTINE$).m9 = function () {
|
|
680
680
|
var suspendResult = this.g9_1;
|
|
@@ -684,10 +684,10 @@
|
|
|
684
684
|
switch (tmp) {
|
|
685
685
|
case 0:
|
|
686
686
|
this.f9_1 = 2;
|
|
687
|
-
var $this$unsafeFlow = this.
|
|
687
|
+
var $this$unsafeFlow = this.hev_1;
|
|
688
688
|
this.e9_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.gev_1.jev_1, null);
|
|
690
|
+
suspendResult = this.gev_1.iev_1.p25(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.iev_1 = $this;
|
|
714
|
+
this.jev_1 = this$0;
|
|
715
715
|
}
|
|
716
716
|
protoOf(GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1).t26 = function (collector, $completion) {
|
|
717
717
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
@@ -723,17 +723,17 @@
|
|
|
723
723
|
return this.t26(collector, $completion);
|
|
724
724
|
};
|
|
725
725
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation) {
|
|
726
|
-
this.
|
|
726
|
+
this.sev_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).uev = function (it, $completion) {
|
|
730
|
+
var tmp = this.vev(it, $completion);
|
|
731
731
|
tmp.g9_1 = Unit_instance;
|
|
732
732
|
tmp.h9_1 = null;
|
|
733
733
|
return tmp.m9();
|
|
734
734
|
};
|
|
735
735
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).y9 = function (p1, $completion) {
|
|
736
|
-
return this.
|
|
736
|
+
return this.uev((!(p1 == null) ? isInterface(p1, ServerStateUpdateDto) : false) ? p1 : THROW_CCE(), $completion);
|
|
737
737
|
};
|
|
738
738
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).m9 = function () {
|
|
739
739
|
var suspendResult = this.g9_1;
|
|
@@ -742,7 +742,7 @@
|
|
|
742
742
|
var tmp = this.e9_1;
|
|
743
743
|
if (tmp === 0) {
|
|
744
744
|
this.f9_1 = 1;
|
|
745
|
-
this.
|
|
745
|
+
this.sev_1(this.tev_1);
|
|
746
746
|
return Unit_instance;
|
|
747
747
|
} else if (tmp === 1) {
|
|
748
748
|
throw this.h9_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).vev = function (it, completion) {
|
|
757
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.sev_1, completion);
|
|
758
|
+
i.tev_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.uev(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.eew_1 = $$this$unsafeFlow;
|
|
771
|
+
this.few_1 = $table;
|
|
772
772
|
CoroutineImpl.call(this, resultContinuation);
|
|
773
773
|
}
|
|
774
774
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).m2l = function (value, $completion) {
|
|
@@ -788,10 +788,10 @@
|
|
|
788
788
|
switch (tmp) {
|
|
789
789
|
case 0:
|
|
790
790
|
this.f9_1 = 2;
|
|
791
|
-
var tmp0 = this.
|
|
792
|
-
var value = this.
|
|
791
|
+
var tmp0 = this.eew_1;
|
|
792
|
+
var value = this.gew_1;
|
|
793
793
|
this.e9_1 = 1;
|
|
794
|
-
suspendResult = tmp0.s26(new ActionsStateUpdate(this.
|
|
794
|
+
suspendResult = tmp0.s26(new ActionsStateUpdate(this.few_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).n2l = 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.eew_1, this.few_1, completion);
|
|
818
|
+
i.gew_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.pew_1 = _this__u8e3s4;
|
|
832
|
+
this.qew_1 = collector;
|
|
833
833
|
}
|
|
834
834
|
protoOf($collectCOROUTINE$_0).m9 = function () {
|
|
835
835
|
var suspendResult = this.g9_1;
|
|
@@ -839,10 +839,10 @@
|
|
|
839
839
|
switch (tmp) {
|
|
840
840
|
case 0:
|
|
841
841
|
this.f9_1 = 2;
|
|
842
|
-
var $this$unsafeFlow = this.
|
|
842
|
+
var $this$unsafeFlow = this.qew_1;
|
|
843
843
|
this.e9_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.pew_1.sew_1, null);
|
|
845
|
+
suspendResult = this.pew_1.rew_1.p25(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 GameServer$observeTableStateUpdates$$inlined$flatMapLatest$2$2$1($this, $table) {
|
|
868
|
-
this.
|
|
869
|
-
this.
|
|
868
|
+
this.rew_1 = $this;
|
|
869
|
+
this.sew_1 = $table;
|
|
870
870
|
}
|
|
871
871
|
protoOf(GameServer$observeTableStateUpdates$$inlined$flatMapLatest$2$2$1).t26 = function (collector, $completion) {
|
|
872
872
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
@@ -878,18 +878,18 @@
|
|
|
878
878
|
return this.t26(collector, $completion);
|
|
879
879
|
};
|
|
880
880
|
function GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation) {
|
|
881
|
-
this.
|
|
882
|
-
this.
|
|
881
|
+
this.bex_1 = $table;
|
|
882
|
+
this.cex_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).eex = function ($this$flow, $completion) {
|
|
886
|
+
var tmp = this.fex($this$flow, $completion);
|
|
887
887
|
tmp.g9_1 = Unit_instance;
|
|
888
888
|
tmp.h9_1 = null;
|
|
889
889
|
return tmp.m9();
|
|
890
890
|
};
|
|
891
891
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).y9 = function (p1, $completion) {
|
|
892
|
-
return this.
|
|
892
|
+
return this.eex((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
893
893
|
};
|
|
894
894
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).m9 = function () {
|
|
895
895
|
var suspendResult = this.g9_1;
|
|
@@ -900,7 +900,7 @@
|
|
|
900
900
|
case 0:
|
|
901
901
|
this.f9_1 = 3;
|
|
902
902
|
this.e9_1 = 1;
|
|
903
|
-
suspendResult = this.
|
|
903
|
+
suspendResult = this.dex_1.s26(new TableStateUpdate(this.bex_1.id, this.bex_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.e9_1 = 2;
|
|
911
|
-
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.
|
|
912
|
-
suspendResult = emitAll(this.
|
|
911
|
+
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.cex_1).ba5(), fromInt(_get_serverReduxConfig__rprcrm(this.cex_1).serverStateUpdateIntervalMillis));
|
|
912
|
+
suspendResult = emitAll(this.dex_1, new GameServer$observeTableStateUpdates$$inlined$flatMapLatest$2$2$1(this_0, this.bex_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).fex = function ($this$flow, completion) {
|
|
935
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.bex_1, this.cex_1, completion);
|
|
936
|
+
i.dex_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.eex($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.oex_1 = $$this$unsafeFlow;
|
|
949
|
+
this.pex_1 = this$0;
|
|
950
950
|
CoroutineImpl.call(this, resultContinuation);
|
|
951
951
|
}
|
|
952
952
|
protoOf(GameServer$observeTableStateUpdates$o$collect$slambda).m2l = function (value, $completion) {
|
|
@@ -966,15 +966,15 @@
|
|
|
966
966
|
switch (tmp) {
|
|
967
967
|
case 0:
|
|
968
968
|
this.f9_1 = 5;
|
|
969
|
-
this.
|
|
970
|
-
this.
|
|
969
|
+
this.uex_1 = this.oex_1;
|
|
970
|
+
this.tex_1 = this.qex_1;
|
|
971
971
|
this.e9_1 = 1;
|
|
972
972
|
continue $sm;
|
|
973
973
|
case 1:
|
|
974
|
-
this.
|
|
975
|
-
var it = this.
|
|
974
|
+
this.rex_1 = this.uex_1;
|
|
975
|
+
var it = this.tex_1;
|
|
976
976
|
var tmp_0;
|
|
977
|
-
if (get_isCreated(this.
|
|
977
|
+
if (get_isCreated(this.pex_1.r76())) {
|
|
978
978
|
tmp_0 = it;
|
|
979
979
|
} else {
|
|
980
980
|
tmp_0 = null;
|
|
@@ -986,15 +986,15 @@
|
|
|
986
986
|
var tmp_1 = this;
|
|
987
987
|
continue $sm;
|
|
988
988
|
} else {
|
|
989
|
-
this.
|
|
989
|
+
this.sex_1 = tmp0_elvis_lhs;
|
|
990
990
|
this.e9_1 = 2;
|
|
991
991
|
continue $sm;
|
|
992
992
|
}
|
|
993
993
|
|
|
994
994
|
case 2:
|
|
995
|
-
var transformed = this.
|
|
995
|
+
var transformed = this.sex_1;
|
|
996
996
|
this.e9_1 = 3;
|
|
997
|
-
suspendResult = this.
|
|
997
|
+
suspendResult = this.rex_1.s26(transformed, this);
|
|
998
998
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
999
999
|
return suspendResult;
|
|
1000
1000
|
}
|
|
@@ -1025,8 +1025,8 @@
|
|
|
1025
1025
|
while (true);
|
|
1026
1026
|
};
|
|
1027
1027
|
protoOf(GameServer$observeTableStateUpdates$o$collect$slambda).n2l = function (value, completion) {
|
|
1028
|
-
var i = new GameServer$observeTableStateUpdates$o$collect$slambda(this.
|
|
1029
|
-
i.
|
|
1028
|
+
var i = new GameServer$observeTableStateUpdates$o$collect$slambda(this.oex_1, this.pex_1, completion);
|
|
1029
|
+
i.qex_1 = value;
|
|
1030
1030
|
return i;
|
|
1031
1031
|
};
|
|
1032
1032
|
function GameServer$observeTableStateUpdates$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
@@ -1039,8 +1039,8 @@
|
|
|
1039
1039
|
}
|
|
1040
1040
|
function $collectCOROUTINE$_1(_this__u8e3s4, collector, resultContinuation) {
|
|
1041
1041
|
CoroutineImpl.call(this, resultContinuation);
|
|
1042
|
-
this.
|
|
1043
|
-
this.
|
|
1042
|
+
this.dey_1 = _this__u8e3s4;
|
|
1043
|
+
this.eey_1 = collector;
|
|
1044
1044
|
}
|
|
1045
1045
|
protoOf($collectCOROUTINE$_1).m9 = function () {
|
|
1046
1046
|
var suspendResult = this.g9_1;
|
|
@@ -1050,10 +1050,10 @@
|
|
|
1050
1050
|
switch (tmp) {
|
|
1051
1051
|
case 0:
|
|
1052
1052
|
this.f9_1 = 2;
|
|
1053
|
-
var $this$unsafeFlow = this.
|
|
1053
|
+
var $this$unsafeFlow = this.eey_1;
|
|
1054
1054
|
this.e9_1 = 1;
|
|
1055
|
-
var tmp_0 = GameServer$observeTableStateUpdates$o$collect$slambda_0($this$unsafeFlow, this.
|
|
1056
|
-
suspendResult = this.
|
|
1055
|
+
var tmp_0 = GameServer$observeTableStateUpdates$o$collect$slambda_0($this$unsafeFlow, this.dey_1.gey_1, null);
|
|
1056
|
+
suspendResult = this.dey_1.fey_1.p25(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
|
|
1057
1057
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1058
1058
|
return suspendResult;
|
|
1059
1059
|
}
|
|
@@ -1076,7 +1076,7 @@
|
|
|
1076
1076
|
while (true);
|
|
1077
1077
|
};
|
|
1078
1078
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
1079
|
-
this.
|
|
1079
|
+
this.qey_1 = $$this$unsafeFlow;
|
|
1080
1080
|
CoroutineImpl.call(this, resultContinuation);
|
|
1081
1081
|
}
|
|
1082
1082
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).m2l = function (value, $completion) {
|
|
@@ -1096,27 +1096,27 @@
|
|
|
1096
1096
|
switch (tmp) {
|
|
1097
1097
|
case 0:
|
|
1098
1098
|
this.f9_1 = 5;
|
|
1099
|
-
this.
|
|
1100
|
-
this.
|
|
1099
|
+
this.vey_1 = this.qey_1;
|
|
1100
|
+
this.uey_1 = this.rey_1;
|
|
1101
1101
|
this.e9_1 = 1;
|
|
1102
1102
|
continue $sm;
|
|
1103
1103
|
case 1:
|
|
1104
|
-
this.
|
|
1105
|
-
var tmp0_elvis_lhs = this.
|
|
1104
|
+
this.sey_1 = this.vey_1;
|
|
1105
|
+
var tmp0_elvis_lhs = this.uey_1.tableOrNull;
|
|
1106
1106
|
if (tmp0_elvis_lhs == null) {
|
|
1107
1107
|
this.e9_1 = 4;
|
|
1108
1108
|
var tmp_0 = this;
|
|
1109
1109
|
continue $sm;
|
|
1110
1110
|
} else {
|
|
1111
|
-
this.
|
|
1111
|
+
this.tey_1 = tmp0_elvis_lhs;
|
|
1112
1112
|
this.e9_1 = 2;
|
|
1113
1113
|
continue $sm;
|
|
1114
1114
|
}
|
|
1115
1115
|
|
|
1116
1116
|
case 2:
|
|
1117
|
-
var transformed = this.
|
|
1117
|
+
var transformed = this.tey_1;
|
|
1118
1118
|
this.e9_1 = 3;
|
|
1119
|
-
suspendResult = this.
|
|
1119
|
+
suspendResult = this.sey_1.s26(transformed, this);
|
|
1120
1120
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1121
1121
|
return suspendResult;
|
|
1122
1122
|
}
|
|
@@ -1147,8 +1147,8 @@
|
|
|
1147
1147
|
while (true);
|
|
1148
1148
|
};
|
|
1149
1149
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).n2l = function (value, completion) {
|
|
1150
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.
|
|
1151
|
-
i.
|
|
1150
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.qey_1, completion);
|
|
1151
|
+
i.rey_1 = value;
|
|
1152
1152
|
return i;
|
|
1153
1153
|
};
|
|
1154
1154
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1161,8 +1161,8 @@
|
|
|
1161
1161
|
}
|
|
1162
1162
|
function $collectCOROUTINE$_2(_this__u8e3s4, collector, resultContinuation) {
|
|
1163
1163
|
CoroutineImpl.call(this, resultContinuation);
|
|
1164
|
-
this.
|
|
1165
|
-
this.
|
|
1164
|
+
this.eez_1 = _this__u8e3s4;
|
|
1165
|
+
this.fez_1 = collector;
|
|
1166
1166
|
}
|
|
1167
1167
|
protoOf($collectCOROUTINE$_2).m9 = function () {
|
|
1168
1168
|
var suspendResult = this.g9_1;
|
|
@@ -1172,10 +1172,10 @@
|
|
|
1172
1172
|
switch (tmp) {
|
|
1173
1173
|
case 0:
|
|
1174
1174
|
this.f9_1 = 2;
|
|
1175
|
-
var $this$unsafeFlow = this.
|
|
1175
|
+
var $this$unsafeFlow = this.fez_1;
|
|
1176
1176
|
this.e9_1 = 1;
|
|
1177
1177
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($this$unsafeFlow, null);
|
|
1178
|
-
suspendResult = this.
|
|
1178
|
+
suspendResult = this.eez_1.gez_1.p25(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1179
1179
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1180
1180
|
return suspendResult;
|
|
1181
1181
|
}
|
|
@@ -1198,7 +1198,7 @@
|
|
|
1198
1198
|
while (true);
|
|
1199
1199
|
};
|
|
1200
1200
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_1($$this$unsafeFlow, resultContinuation) {
|
|
1201
|
-
this.
|
|
1201
|
+
this.pez_1 = $$this$unsafeFlow;
|
|
1202
1202
|
CoroutineImpl.call(this, resultContinuation);
|
|
1203
1203
|
}
|
|
1204
1204
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).m2l = function (value, $completion) {
|
|
@@ -1218,8 +1218,8 @@
|
|
|
1218
1218
|
switch (tmp) {
|
|
1219
1219
|
case 0:
|
|
1220
1220
|
this.f9_1 = 2;
|
|
1221
|
-
var tmp0 = this.
|
|
1222
|
-
var value = this.
|
|
1221
|
+
var tmp0 = this.pez_1;
|
|
1222
|
+
var value = this.qez_1;
|
|
1223
1223
|
this.e9_1 = 1;
|
|
1224
1224
|
suspendResult = tmp0.s26(to(value.gameInfo.roundNumberTotal, value), this);
|
|
1225
1225
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1244,8 +1244,8 @@
|
|
|
1244
1244
|
while (true);
|
|
1245
1245
|
};
|
|
1246
1246
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).n2l = function (value, completion) {
|
|
1247
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.
|
|
1248
|
-
i.
|
|
1247
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.pez_1, completion);
|
|
1248
|
+
i.qez_1 = value;
|
|
1249
1249
|
return i;
|
|
1250
1250
|
};
|
|
1251
1251
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1258,8 +1258,8 @@
|
|
|
1258
1258
|
}
|
|
1259
1259
|
function $collectCOROUTINE$_3(_this__u8e3s4, collector, resultContinuation) {
|
|
1260
1260
|
CoroutineImpl.call(this, resultContinuation);
|
|
1261
|
-
this.
|
|
1262
|
-
this.
|
|
1261
|
+
this.zez_1 = _this__u8e3s4;
|
|
1262
|
+
this.af0_1 = collector;
|
|
1263
1263
|
}
|
|
1264
1264
|
protoOf($collectCOROUTINE$_3).m9 = function () {
|
|
1265
1265
|
var suspendResult = this.g9_1;
|
|
@@ -1269,10 +1269,10 @@
|
|
|
1269
1269
|
switch (tmp) {
|
|
1270
1270
|
case 0:
|
|
1271
1271
|
this.f9_1 = 2;
|
|
1272
|
-
var $this$unsafeFlow = this.
|
|
1272
|
+
var $this$unsafeFlow = this.af0_1;
|
|
1273
1273
|
this.e9_1 = 1;
|
|
1274
1274
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($this$unsafeFlow, null);
|
|
1275
|
-
suspendResult = this.
|
|
1275
|
+
suspendResult = this.zez_1.bf0_1.p25(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1276
1276
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1277
1277
|
return suspendResult;
|
|
1278
1278
|
}
|
|
@@ -1295,7 +1295,7 @@
|
|
|
1295
1295
|
while (true);
|
|
1296
1296
|
};
|
|
1297
1297
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_3($$this$unsafeFlow, resultContinuation) {
|
|
1298
|
-
this.
|
|
1298
|
+
this.kf0_1 = $$this$unsafeFlow;
|
|
1299
1299
|
CoroutineImpl.call(this, resultContinuation);
|
|
1300
1300
|
}
|
|
1301
1301
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).m2l = function (value, $completion) {
|
|
@@ -1315,8 +1315,8 @@
|
|
|
1315
1315
|
switch (tmp) {
|
|
1316
1316
|
case 0:
|
|
1317
1317
|
this.f9_1 = 2;
|
|
1318
|
-
var tmp0 = this.
|
|
1319
|
-
var value = this.
|
|
1318
|
+
var tmp0 = this.kf0_1;
|
|
1319
|
+
var value = this.lf0_1;
|
|
1320
1320
|
this.e9_1 = 1;
|
|
1321
1321
|
suspendResult = tmp0.s26(value.second, this);
|
|
1322
1322
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1341,8 +1341,8 @@
|
|
|
1341
1341
|
while (true);
|
|
1342
1342
|
};
|
|
1343
1343
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).n2l = function (value, completion) {
|
|
1344
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.
|
|
1345
|
-
i.
|
|
1344
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.kf0_1, completion);
|
|
1345
|
+
i.lf0_1 = value;
|
|
1346
1346
|
return i;
|
|
1347
1347
|
};
|
|
1348
1348
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1355,8 +1355,8 @@
|
|
|
1355
1355
|
}
|
|
1356
1356
|
function $collectCOROUTINE$_4(_this__u8e3s4, collector, resultContinuation) {
|
|
1357
1357
|
CoroutineImpl.call(this, resultContinuation);
|
|
1358
|
-
this.
|
|
1359
|
-
this.
|
|
1358
|
+
this.uf0_1 = _this__u8e3s4;
|
|
1359
|
+
this.vf0_1 = collector;
|
|
1360
1360
|
}
|
|
1361
1361
|
protoOf($collectCOROUTINE$_4).m9 = function () {
|
|
1362
1362
|
var suspendResult = this.g9_1;
|
|
@@ -1366,10 +1366,10 @@
|
|
|
1366
1366
|
switch (tmp) {
|
|
1367
1367
|
case 0:
|
|
1368
1368
|
this.f9_1 = 2;
|
|
1369
|
-
var $this$unsafeFlow = this.
|
|
1369
|
+
var $this$unsafeFlow = this.vf0_1;
|
|
1370
1370
|
this.e9_1 = 1;
|
|
1371
1371
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($this$unsafeFlow, null);
|
|
1372
|
-
suspendResult = this.
|
|
1372
|
+
suspendResult = this.uf0_1.wf0_1.p25(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1373
1373
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1374
1374
|
return suspendResult;
|
|
1375
1375
|
}
|
|
@@ -1392,17 +1392,17 @@
|
|
|
1392
1392
|
while (true);
|
|
1393
1393
|
};
|
|
1394
1394
|
function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
|
|
1395
|
-
this.
|
|
1395
|
+
this.ff1_1 = $subscriber;
|
|
1396
1396
|
CoroutineImpl.call(this, resultContinuation);
|
|
1397
1397
|
}
|
|
1398
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1399
|
-
var tmp = this.
|
|
1398
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).hf1 = function (it, $completion) {
|
|
1399
|
+
var tmp = this.if1(it, $completion);
|
|
1400
1400
|
tmp.g9_1 = Unit_instance;
|
|
1401
1401
|
tmp.h9_1 = null;
|
|
1402
1402
|
return tmp.m9();
|
|
1403
1403
|
};
|
|
1404
1404
|
protoOf(GameServer$subscribeWith$slambda$slambda).y9 = function (p1, $completion) {
|
|
1405
|
-
return this.
|
|
1405
|
+
return this.hf1(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
|
|
1406
1406
|
};
|
|
1407
1407
|
protoOf(GameServer$subscribeWith$slambda$slambda).m9 = function () {
|
|
1408
1408
|
var suspendResult = this.g9_1;
|
|
@@ -1411,7 +1411,7 @@
|
|
|
1411
1411
|
var tmp = this.e9_1;
|
|
1412
1412
|
if (tmp === 0) {
|
|
1413
1413
|
this.f9_1 = 1;
|
|
1414
|
-
this.
|
|
1414
|
+
this.ff1_1(this.gf1_1);
|
|
1415
1415
|
return Unit_instance;
|
|
1416
1416
|
} else if (tmp === 1) {
|
|
1417
1417
|
throw this.h9_1;
|
|
@@ -1422,98 +1422,98 @@
|
|
|
1422
1422
|
}
|
|
1423
1423
|
while (true);
|
|
1424
1424
|
};
|
|
1425
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1426
|
-
var i = new GameServer$subscribeWith$slambda$slambda(this.
|
|
1427
|
-
i.
|
|
1425
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).if1 = function (it, completion) {
|
|
1426
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.ff1_1, completion);
|
|
1427
|
+
i.gf1_1 = it;
|
|
1428
1428
|
return i;
|
|
1429
1429
|
};
|
|
1430
1430
|
function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
|
|
1431
1431
|
var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
|
|
1432
1432
|
var l = function (it, $completion) {
|
|
1433
|
-
return i.
|
|
1433
|
+
return i.hf1(it, $completion);
|
|
1434
1434
|
};
|
|
1435
1435
|
l.$arity = 1;
|
|
1436
1436
|
return l;
|
|
1437
1437
|
}
|
|
1438
1438
|
function _get_toClientEventsObserver__6rp51y($this) {
|
|
1439
|
-
var tmp0 = $this.
|
|
1439
|
+
var tmp0 = $this.nf1_1;
|
|
1440
1440
|
var tmp = KProperty1;
|
|
1441
1441
|
// Inline function 'kotlin.getValue' call
|
|
1442
1442
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, GameServer$_get_toClientEventsObserver_$ref_utir8s_0(), null);
|
|
1443
1443
|
return tmp0.o1();
|
|
1444
1444
|
}
|
|
1445
1445
|
function _get_fromClientEventsObserver__a7vzd3($this) {
|
|
1446
|
-
var tmp0 = $this.
|
|
1446
|
+
var tmp0 = $this.of1_1;
|
|
1447
1447
|
var tmp = KProperty1;
|
|
1448
1448
|
// Inline function 'kotlin.getValue' call
|
|
1449
1449
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, GameServer$_get_fromClientEventsObserver_$ref_nf1g79_0(), null);
|
|
1450
1450
|
return tmp0.o1();
|
|
1451
1451
|
}
|
|
1452
1452
|
function _get_playerConnectionInteractor__si6cxf($this) {
|
|
1453
|
-
var tmp0 = $this.
|
|
1453
|
+
var tmp0 = $this.pf1_1;
|
|
1454
1454
|
var tmp = KProperty1;
|
|
1455
1455
|
// Inline function 'kotlin.getValue' call
|
|
1456
1456
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, GameServer$_get_playerConnectionInteractor_$ref_of8tan_0(), null);
|
|
1457
1457
|
return tmp0.o1();
|
|
1458
1458
|
}
|
|
1459
1459
|
function _get_teamsLogicProvider__u10pm6($this) {
|
|
1460
|
-
var tmp0 = $this.
|
|
1460
|
+
var tmp0 = $this.qf1_1;
|
|
1461
1461
|
var tmp = KProperty1;
|
|
1462
1462
|
// Inline function 'kotlin.getValue' call
|
|
1463
1463
|
getPropertyCallableRef('teamsLogicProvider', 1, tmp, GameServer$_get_teamsLogicProvider_$ref_b7y54g_0(), null);
|
|
1464
1464
|
return tmp0.o1();
|
|
1465
1465
|
}
|
|
1466
1466
|
function _get_userRatingInteractor__a09mdy($this) {
|
|
1467
|
-
var tmp0 = $this.
|
|
1467
|
+
var tmp0 = $this.rf1_1;
|
|
1468
1468
|
var tmp = KProperty1;
|
|
1469
1469
|
// Inline function 'kotlin.getValue' call
|
|
1470
1470
|
getPropertyCallableRef('userRatingInteractor', 1, tmp, GameServer$_get_userRatingInteractor_$ref_8uo6aw_0(), null);
|
|
1471
1471
|
return tmp0.o1();
|
|
1472
1472
|
}
|
|
1473
1473
|
function _get_random__h29cgo($this) {
|
|
1474
|
-
var tmp0 = $this.
|
|
1474
|
+
var tmp0 = $this.sf1_1;
|
|
1475
1475
|
var tmp = KProperty1;
|
|
1476
1476
|
// Inline function 'kotlin.getValue' call
|
|
1477
1477
|
getPropertyCallableRef('random', 1, tmp, GameServer$_get_random_$ref_fottnq(), null);
|
|
1478
1478
|
return tmp0.o1();
|
|
1479
1479
|
}
|
|
1480
1480
|
function _get_idsProvider__fnfajc($this) {
|
|
1481
|
-
var tmp0 = $this.
|
|
1481
|
+
var tmp0 = $this.tf1_1;
|
|
1482
1482
|
var tmp = KProperty1;
|
|
1483
1483
|
// Inline function 'kotlin.getValue' call
|
|
1484
1484
|
getPropertyCallableRef('idsProvider', 1, tmp, GameServer$_get_idsProvider_$ref_89s908_0(), null);
|
|
1485
1485
|
return tmp0.o1();
|
|
1486
1486
|
}
|
|
1487
1487
|
function _get_serverReduxConfig__rprcrm($this) {
|
|
1488
|
-
var tmp0 = $this.
|
|
1488
|
+
var tmp0 = $this.uf1_1;
|
|
1489
1489
|
var tmp = KProperty1;
|
|
1490
1490
|
// Inline function 'kotlin.getValue' call
|
|
1491
1491
|
getPropertyCallableRef('serverReduxConfig', 1, tmp, GameServer$_get_serverReduxConfig_$ref_7h6jq6_0(), null);
|
|
1492
1492
|
return tmp0.o1();
|
|
1493
1493
|
}
|
|
1494
1494
|
function _get_encoderDecoderProvider__qqgrji($this) {
|
|
1495
|
-
var tmp0 = $this.
|
|
1495
|
+
var tmp0 = $this.vf1_1;
|
|
1496
1496
|
var tmp = KProperty1;
|
|
1497
1497
|
// Inline function 'kotlin.getValue' call
|
|
1498
1498
|
getPropertyCallableRef('encoderDecoderProvider', 1, tmp, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8_0(), null);
|
|
1499
1499
|
return tmp0.o1();
|
|
1500
1500
|
}
|
|
1501
1501
|
function _get_engineLogicConfig__l11qpf($this) {
|
|
1502
|
-
var tmp0 = $this.
|
|
1502
|
+
var tmp0 = $this.wf1_1;
|
|
1503
1503
|
var tmp = KProperty1;
|
|
1504
1504
|
// Inline function 'kotlin.getValue' call
|
|
1505
1505
|
getPropertyCallableRef('engineLogicConfig', 1, tmp, GameServer$_get_engineLogicConfig_$ref_nlkv2l_0(), null);
|
|
1506
1506
|
return tmp0.o1();
|
|
1507
1507
|
}
|
|
1508
1508
|
function _get_leaguesConfig__hvzxf9($this) {
|
|
1509
|
-
var tmp0 = $this.
|
|
1509
|
+
var tmp0 = $this.xf1_1;
|
|
1510
1510
|
var tmp = KProperty1;
|
|
1511
1511
|
// Inline function 'kotlin.getValue' call
|
|
1512
1512
|
getPropertyCallableRef('leaguesConfig', 1, tmp, GameServer$_get_leaguesConfig_$ref_fi951n_0(), null);
|
|
1513
1513
|
return tmp0.o1();
|
|
1514
1514
|
}
|
|
1515
1515
|
function _get_botChatInteractor__17f3on($this) {
|
|
1516
|
-
var tmp0 = $this.
|
|
1516
|
+
var tmp0 = $this.yf1_1;
|
|
1517
1517
|
var tmp = KProperty1;
|
|
1518
1518
|
// Inline function 'kotlin.getValue' call
|
|
1519
1519
|
getPropertyCallableRef('botChatInteractor', 1, tmp, GameServer$_get_botChatInteractor_$ref_zf10ih_0(), null);
|
|
@@ -1646,20 +1646,20 @@
|
|
|
1646
1646
|
return _get_teamsLogicProvider__u10pm6($this).wa4(updatedTeams);
|
|
1647
1647
|
}
|
|
1648
1648
|
function Companion() {
|
|
1649
|
-
this.
|
|
1649
|
+
this.af2_1 = 'GameEngine_API';
|
|
1650
1650
|
}
|
|
1651
1651
|
var Companion_instance_10;
|
|
1652
1652
|
function Companion_getInstance_0() {
|
|
1653
1653
|
return Companion_instance_10;
|
|
1654
1654
|
}
|
|
1655
1655
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
1656
|
-
this.
|
|
1656
|
+
this.bf2_1 = function_0;
|
|
1657
1657
|
}
|
|
1658
1658
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).s26 = function (value, $completion) {
|
|
1659
|
-
return this.
|
|
1659
|
+
return this.bf2_1(value, $completion);
|
|
1660
1660
|
};
|
|
1661
1661
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).s3 = function () {
|
|
1662
|
-
return this.
|
|
1662
|
+
return this.bf2_1;
|
|
1663
1663
|
};
|
|
1664
1664
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
1665
1665
|
var tmp;
|
|
@@ -1680,13 +1680,13 @@
|
|
|
1680
1680
|
return hashCode(this.s3());
|
|
1681
1681
|
};
|
|
1682
1682
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
1683
|
-
this.
|
|
1683
|
+
this.cf2_1 = function_0;
|
|
1684
1684
|
}
|
|
1685
1685
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).s26 = function (value, $completion) {
|
|
1686
|
-
return this.
|
|
1686
|
+
return this.cf2_1(value, $completion);
|
|
1687
1687
|
};
|
|
1688
1688
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).s3 = function () {
|
|
1689
|
-
return this.
|
|
1689
|
+
return this.cf2_1;
|
|
1690
1690
|
};
|
|
1691
1691
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
1692
1692
|
var tmp;
|
|
@@ -1707,13 +1707,13 @@
|
|
|
1707
1707
|
return hashCode(this.s3());
|
|
1708
1708
|
};
|
|
1709
1709
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
|
|
1710
|
-
this.
|
|
1710
|
+
this.df2_1 = function_0;
|
|
1711
1711
|
}
|
|
1712
1712
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).s26 = function (value, $completion) {
|
|
1713
|
-
return this.
|
|
1713
|
+
return this.df2_1(value, $completion);
|
|
1714
1714
|
};
|
|
1715
1715
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).s3 = function () {
|
|
1716
|
-
return this.
|
|
1716
|
+
return this.df2_1;
|
|
1717
1717
|
};
|
|
1718
1718
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
|
|
1719
1719
|
var tmp;
|
|
@@ -1734,13 +1734,13 @@
|
|
|
1734
1734
|
return hashCode(this.s3());
|
|
1735
1735
|
};
|
|
1736
1736
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
|
|
1737
|
-
this.
|
|
1737
|
+
this.ef2_1 = function_0;
|
|
1738
1738
|
}
|
|
1739
1739
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).s26 = function (value, $completion) {
|
|
1740
|
-
return this.
|
|
1740
|
+
return this.ef2_1(value, $completion);
|
|
1741
1741
|
};
|
|
1742
1742
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).s3 = function () {
|
|
1743
|
-
return this.
|
|
1743
|
+
return this.ef2_1;
|
|
1744
1744
|
};
|
|
1745
1745
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
|
|
1746
1746
|
var tmp;
|
|
@@ -1761,13 +1761,13 @@
|
|
|
1761
1761
|
return hashCode(this.s3());
|
|
1762
1762
|
};
|
|
1763
1763
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_3(function_0) {
|
|
1764
|
-
this.
|
|
1764
|
+
this.ff2_1 = function_0;
|
|
1765
1765
|
}
|
|
1766
1766
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).s26 = function (value, $completion) {
|
|
1767
|
-
return this.
|
|
1767
|
+
return this.ff2_1(value, $completion);
|
|
1768
1768
|
};
|
|
1769
1769
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).s3 = function () {
|
|
1770
|
-
return this.
|
|
1770
|
+
return this.ff2_1;
|
|
1771
1771
|
};
|
|
1772
1772
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).equals = function (other) {
|
|
1773
1773
|
var tmp;
|
|
@@ -1788,13 +1788,13 @@
|
|
|
1788
1788
|
return hashCode(this.s3());
|
|
1789
1789
|
};
|
|
1790
1790
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_4(function_0) {
|
|
1791
|
-
this.
|
|
1791
|
+
this.gf2_1 = function_0;
|
|
1792
1792
|
}
|
|
1793
1793
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).s26 = function (value, $completion) {
|
|
1794
|
-
return this.
|
|
1794
|
+
return this.gf2_1(value, $completion);
|
|
1795
1795
|
};
|
|
1796
1796
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).s3 = function () {
|
|
1797
|
-
return this.
|
|
1797
|
+
return this.gf2_1;
|
|
1798
1798
|
};
|
|
1799
1799
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).equals = function (other) {
|
|
1800
1800
|
var tmp;
|
|
@@ -1935,8 +1935,8 @@
|
|
|
1935
1935
|
};
|
|
1936
1936
|
}
|
|
1937
1937
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
1938
|
-
this.
|
|
1939
|
-
this.
|
|
1938
|
+
this.pf2_1 = this$0;
|
|
1939
|
+
this.qf2_1 = $subscriber;
|
|
1940
1940
|
CoroutineImpl.call(this, resultContinuation);
|
|
1941
1941
|
}
|
|
1942
1942
|
protoOf(GameServer$subscribeToClientAction$slambda).t2b = function ($this$launchDefault, $completion) {
|
|
@@ -1957,8 +1957,8 @@
|
|
|
1957
1957
|
case 0:
|
|
1958
1958
|
this.f9_1 = 2;
|
|
1959
1959
|
this.e9_1 = 1;
|
|
1960
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
1961
|
-
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.
|
|
1960
|
+
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.pf2_1).ac2();
|
|
1961
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.qf2_1, null);
|
|
1962
1962
|
suspendResult = tmp_0.p25(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
1963
1963
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1964
1964
|
return suspendResult;
|
|
@@ -1982,8 +1982,8 @@
|
|
|
1982
1982
|
while (true);
|
|
1983
1983
|
};
|
|
1984
1984
|
protoOf(GameServer$subscribeToClientAction$slambda).u2b = function ($this$launchDefault, completion) {
|
|
1985
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
1986
|
-
i.
|
|
1985
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.pf2_1, this.qf2_1, completion);
|
|
1986
|
+
i.rf2_1 = $this$launchDefault;
|
|
1987
1987
|
return i;
|
|
1988
1988
|
};
|
|
1989
1989
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1995,8 +1995,8 @@
|
|
|
1995
1995
|
return l;
|
|
1996
1996
|
}
|
|
1997
1997
|
function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
|
|
1998
|
-
this.
|
|
1999
|
-
this.
|
|
1998
|
+
this.af3_1 = this$0;
|
|
1999
|
+
this.bf3_1 = $subscriber;
|
|
2000
2000
|
CoroutineImpl.call(this, resultContinuation);
|
|
2001
2001
|
}
|
|
2002
2002
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).t2b = function ($this$launchDefault, $completion) {
|
|
@@ -2017,8 +2017,8 @@
|
|
|
2017
2017
|
case 0:
|
|
2018
2018
|
this.f9_1 = 2;
|
|
2019
2019
|
this.e9_1 = 1;
|
|
2020
|
-
var tmp_0 = observeTableStateUpdates(this.
|
|
2021
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.
|
|
2020
|
+
var tmp_0 = observeTableStateUpdates(this.af3_1);
|
|
2021
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.bf3_1, null);
|
|
2022
2022
|
suspendResult = tmp_0.p25(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
2023
2023
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2024
2024
|
return suspendResult;
|
|
@@ -2042,8 +2042,8 @@
|
|
|
2042
2042
|
while (true);
|
|
2043
2043
|
};
|
|
2044
2044
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).u2b = function ($this$launchDefault, completion) {
|
|
2045
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda(this.
|
|
2046
|
-
i.
|
|
2045
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda(this.af3_1, this.bf3_1, completion);
|
|
2046
|
+
i.cf3_1 = $this$launchDefault;
|
|
2047
2047
|
return i;
|
|
2048
2048
|
};
|
|
2049
2049
|
function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -2055,8 +2055,8 @@
|
|
|
2055
2055
|
return l;
|
|
2056
2056
|
}
|
|
2057
2057
|
function GameServer$subscribeServerStateUpdateJson$slambda(this$0, $subscriber, resultContinuation) {
|
|
2058
|
-
this.
|
|
2059
|
-
this.
|
|
2058
|
+
this.lf3_1 = this$0;
|
|
2059
|
+
this.mf3_1 = $subscriber;
|
|
2060
2060
|
CoroutineImpl.call(this, resultContinuation);
|
|
2061
2061
|
}
|
|
2062
2062
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).t2b = function ($this$launchDefault, $completion) {
|
|
@@ -2077,9 +2077,9 @@
|
|
|
2077
2077
|
case 0:
|
|
2078
2078
|
this.f9_1 = 2;
|
|
2079
2079
|
this.e9_1 = 1;
|
|
2080
|
-
var this_0 = observeTableStateUpdates(this.
|
|
2081
|
-
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.
|
|
2082
|
-
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.
|
|
2080
|
+
var this_0 = observeTableStateUpdates(this.lf3_1);
|
|
2081
|
+
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.lf3_1);
|
|
2082
|
+
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.mf3_1, null);
|
|
2083
2083
|
suspendResult = tmp_0.p25(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
2084
2084
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2085
2085
|
return suspendResult;
|
|
@@ -2103,8 +2103,8 @@
|
|
|
2103
2103
|
while (true);
|
|
2104
2104
|
};
|
|
2105
2105
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).u2b = function ($this$launchDefault, completion) {
|
|
2106
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.
|
|
2107
|
-
i.
|
|
2106
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.lf3_1, this.mf3_1, completion);
|
|
2107
|
+
i.nf3_1 = $this$launchDefault;
|
|
2108
2108
|
return i;
|
|
2109
2109
|
};
|
|
2110
2110
|
function GameServer$subscribeServerStateUpdateJson$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -2116,8 +2116,8 @@
|
|
|
2116
2116
|
return l;
|
|
2117
2117
|
}
|
|
2118
2118
|
function GameServer$getServerTableState$slambda(this$0, $callback, resultContinuation) {
|
|
2119
|
-
this.
|
|
2120
|
-
this.
|
|
2119
|
+
this.wf3_1 = this$0;
|
|
2120
|
+
this.xf3_1 = $callback;
|
|
2121
2121
|
CoroutineImpl.call(this, resultContinuation);
|
|
2122
2122
|
}
|
|
2123
2123
|
protoOf(GameServer$getServerTableState$slambda).t2b = function ($this$launchDefault, $completion) {
|
|
@@ -2136,11 +2136,11 @@
|
|
|
2136
2136
|
var tmp = this.e9_1;
|
|
2137
2137
|
if (tmp === 0) {
|
|
2138
2138
|
this.f9_1 = 1;
|
|
2139
|
-
if (!this.
|
|
2139
|
+
if (!this.wf3_1.isTableExists) {
|
|
2140
2140
|
return Unit_instance;
|
|
2141
2141
|
}
|
|
2142
|
-
var dto = mapToDto_2(new TableStateUpdate(this.
|
|
2143
|
-
this.
|
|
2142
|
+
var dto = mapToDto_2(new TableStateUpdate(this.wf3_1.table.id, this.wf3_1.table), _get_encoderDecoderProvider__qqgrji(this.wf3_1));
|
|
2143
|
+
this.xf3_1(dto);
|
|
2144
2144
|
return Unit_instance;
|
|
2145
2145
|
} else if (tmp === 1) {
|
|
2146
2146
|
throw this.h9_1;
|
|
@@ -2152,8 +2152,8 @@
|
|
|
2152
2152
|
while (true);
|
|
2153
2153
|
};
|
|
2154
2154
|
protoOf(GameServer$getServerTableState$slambda).u2b = function ($this$launchDefault, completion) {
|
|
2155
|
-
var i = new GameServer$getServerTableState$slambda(this.
|
|
2156
|
-
i.
|
|
2155
|
+
var i = new GameServer$getServerTableState$slambda(this.wf3_1, this.xf3_1, completion);
|
|
2156
|
+
i.yf3_1 = $this$launchDefault;
|
|
2157
2157
|
return i;
|
|
2158
2158
|
};
|
|
2159
2159
|
function GameServer$getServerTableState$slambda_0(this$0, $callback, resultContinuation) {
|
|
@@ -2165,18 +2165,18 @@
|
|
|
2165
2165
|
return l;
|
|
2166
2166
|
}
|
|
2167
2167
|
function GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation) {
|
|
2168
|
-
this.
|
|
2168
|
+
this.hf4_1 = this$0;
|
|
2169
2169
|
CoroutineImpl.call(this, resultContinuation);
|
|
2170
2170
|
}
|
|
2171
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
2172
|
-
var tmp = this.
|
|
2171
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).ndb = function ($this$transformLatest, it, $completion) {
|
|
2172
|
+
var tmp = this.odb($this$transformLatest, it, $completion);
|
|
2173
2173
|
tmp.g9_1 = Unit_instance;
|
|
2174
2174
|
tmp.h9_1 = null;
|
|
2175
2175
|
return tmp.m9();
|
|
2176
2176
|
};
|
|
2177
2177
|
protoOf(GameServer$observeTableStateUpdates$slambda).z9 = function (p1, p2, $completion) {
|
|
2178
2178
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
2179
|
-
return this.
|
|
2179
|
+
return this.ndb(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
2180
2180
|
};
|
|
2181
2181
|
protoOf(GameServer$observeTableStateUpdates$slambda).m9 = function () {
|
|
2182
2182
|
var suspendResult = this.g9_1;
|
|
@@ -2187,8 +2187,8 @@
|
|
|
2187
2187
|
case 0:
|
|
2188
2188
|
this.f9_1 = 2;
|
|
2189
2189
|
this.e9_1 = 1;
|
|
2190
|
-
var table = this.
|
|
2191
|
-
suspendResult = emitAll(this.
|
|
2190
|
+
var table = this.jf4_1;
|
|
2191
|
+
suspendResult = emitAll(this.if4_1, flow(GameServer$observeTableStateUpdates$slambda$slambda_0(table, this.hf4_1, null)), this);
|
|
2192
2192
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2193
2193
|
return suspendResult;
|
|
2194
2194
|
}
|
|
@@ -2210,23 +2210,23 @@
|
|
|
2210
2210
|
}
|
|
2211
2211
|
while (true);
|
|
2212
2212
|
};
|
|
2213
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
2214
|
-
var i = new GameServer$observeTableStateUpdates$slambda(this.
|
|
2215
|
-
i.
|
|
2216
|
-
i.
|
|
2213
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).odb = function ($this$transformLatest, it, completion) {
|
|
2214
|
+
var i = new GameServer$observeTableStateUpdates$slambda(this.hf4_1, completion);
|
|
2215
|
+
i.if4_1 = $this$transformLatest;
|
|
2216
|
+
i.jf4_1 = it;
|
|
2217
2217
|
return i;
|
|
2218
2218
|
};
|
|
2219
2219
|
function GameServer$observeTableStateUpdates$slambda_0(this$0, resultContinuation) {
|
|
2220
2220
|
var i = new GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation);
|
|
2221
2221
|
var l = function ($this$transformLatest, it, $completion) {
|
|
2222
|
-
return i.
|
|
2222
|
+
return i.ndb($this$transformLatest, it, $completion);
|
|
2223
2223
|
};
|
|
2224
2224
|
l.$arity = 2;
|
|
2225
2225
|
return l;
|
|
2226
2226
|
}
|
|
2227
2227
|
function GameServer$observeTableStateUpdates$$inlined$mapNotNull$1($this, this$0) {
|
|
2228
|
-
this.
|
|
2229
|
-
this.
|
|
2228
|
+
this.fey_1 = $this;
|
|
2229
|
+
this.gey_1 = this$0;
|
|
2230
2230
|
}
|
|
2231
2231
|
protoOf(GameServer$observeTableStateUpdates$$inlined$mapNotNull$1).t26 = function (collector, $completion) {
|
|
2232
2232
|
var tmp = new $collectCOROUTINE$_1(this, collector, $completion);
|
|
@@ -2238,7 +2238,7 @@
|
|
|
2238
2238
|
return this.t26(collector, $completion);
|
|
2239
2239
|
};
|
|
2240
2240
|
function GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1($this) {
|
|
2241
|
-
this.
|
|
2241
|
+
this.gez_1 = $this;
|
|
2242
2242
|
}
|
|
2243
2243
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1).t26 = function (collector, $completion) {
|
|
2244
2244
|
var tmp = new $collectCOROUTINE$_2(this, collector, $completion);
|
|
@@ -2250,7 +2250,7 @@
|
|
|
2250
2250
|
return this.t26(collector, $completion);
|
|
2251
2251
|
};
|
|
2252
2252
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$1($this) {
|
|
2253
|
-
this.
|
|
2253
|
+
this.bf0_1 = $this;
|
|
2254
2254
|
}
|
|
2255
2255
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$1).t26 = function (collector, $completion) {
|
|
2256
2256
|
var tmp = new $collectCOROUTINE$_3(this, collector, $completion);
|
|
@@ -2265,7 +2265,7 @@
|
|
|
2265
2265
|
return old.first === new_0.first;
|
|
2266
2266
|
}
|
|
2267
2267
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$2($this) {
|
|
2268
|
-
this.
|
|
2268
|
+
this.wf0_1 = $this;
|
|
2269
2269
|
}
|
|
2270
2270
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$2).t26 = function (collector, $completion) {
|
|
2271
2271
|
var tmp = new $collectCOROUTINE$_4(this, collector, $completion);
|
|
@@ -2277,8 +2277,8 @@
|
|
|
2277
2277
|
return this.t26(collector, $completion);
|
|
2278
2278
|
};
|
|
2279
2279
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
2280
|
-
this.
|
|
2281
|
-
this.
|
|
2280
|
+
this.sf4_1 = this$0;
|
|
2281
|
+
this.tf4_1 = $subscriber;
|
|
2282
2282
|
CoroutineImpl.call(this, resultContinuation);
|
|
2283
2283
|
}
|
|
2284
2284
|
protoOf(GameServer$subscribeWith$slambda).t2b = function ($this$launchDefault, $completion) {
|
|
@@ -2299,8 +2299,8 @@
|
|
|
2299
2299
|
case 0:
|
|
2300
2300
|
this.f9_1 = 2;
|
|
2301
2301
|
this.e9_1 = 1;
|
|
2302
|
-
var tmp_0 = distinctUntilChanged(this.
|
|
2303
|
-
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.
|
|
2302
|
+
var tmp_0 = distinctUntilChanged(this.sf4_1.x7s());
|
|
2303
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.tf4_1, null);
|
|
2304
2304
|
suspendResult = tmp_0.p25(new sam$kotlinx_coroutines_flow_FlowCollector$0_4(tmp_1), this);
|
|
2305
2305
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2306
2306
|
return suspendResult;
|
|
@@ -2324,8 +2324,8 @@
|
|
|
2324
2324
|
while (true);
|
|
2325
2325
|
};
|
|
2326
2326
|
protoOf(GameServer$subscribeWith$slambda).u2b = function ($this$launchDefault, completion) {
|
|
2327
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
2328
|
-
i.
|
|
2327
|
+
var i = new GameServer$subscribeWith$slambda(this.sf4_1, this.tf4_1, completion);
|
|
2328
|
+
i.uf4_1 = $this$launchDefault;
|
|
2329
2329
|
return i;
|
|
2330
2330
|
};
|
|
2331
2331
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -2337,18 +2337,18 @@
|
|
|
2337
2337
|
return l;
|
|
2338
2338
|
}
|
|
2339
2339
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
2340
|
-
this.
|
|
2340
|
+
this.df5_1 = $action;
|
|
2341
2341
|
CoroutineImpl.call(this, resultContinuation);
|
|
2342
2342
|
}
|
|
2343
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
2344
|
-
var tmp = this.
|
|
2343
|
+
protoOf(GameServer$fromClientEvent$slambda).cck = function ($this$dispatchAsync, store, $completion) {
|
|
2344
|
+
var tmp = this.dck($this$dispatchAsync, store, $completion);
|
|
2345
2345
|
tmp.g9_1 = Unit_instance;
|
|
2346
2346
|
tmp.h9_1 = null;
|
|
2347
2347
|
return tmp.m9();
|
|
2348
2348
|
};
|
|
2349
2349
|
protoOf(GameServer$fromClientEvent$slambda).z9 = function (p1, p2, $completion) {
|
|
2350
2350
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2351
|
-
return this.
|
|
2351
|
+
return this.cck(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2352
2352
|
};
|
|
2353
2353
|
protoOf(GameServer$fromClientEvent$slambda).m9 = function () {
|
|
2354
2354
|
var suspendResult = this.g9_1;
|
|
@@ -2357,11 +2357,11 @@
|
|
|
2357
2357
|
var tmp = this.e9_1;
|
|
2358
2358
|
if (tmp === 0) {
|
|
2359
2359
|
this.f9_1 = 1;
|
|
2360
|
-
if (this.
|
|
2361
|
-
if (!get_isCreated(this.
|
|
2360
|
+
if (this.df5_1 instanceof PlayerReadyFromClientAction)
|
|
2361
|
+
if (!get_isCreated(this.ff5_1.state)) {
|
|
2362
2362
|
return Unit_instance;
|
|
2363
2363
|
}
|
|
2364
|
-
this.
|
|
2364
|
+
this.ff5_1.dispatch(this.df5_1);
|
|
2365
2365
|
return Unit_instance;
|
|
2366
2366
|
} else if (tmp === 1) {
|
|
2367
2367
|
throw this.h9_1;
|
|
@@ -2372,34 +2372,34 @@
|
|
|
2372
2372
|
}
|
|
2373
2373
|
while (true);
|
|
2374
2374
|
};
|
|
2375
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
2376
|
-
var i = new GameServer$fromClientEvent$slambda(this.
|
|
2377
|
-
i.
|
|
2378
|
-
i.
|
|
2375
|
+
protoOf(GameServer$fromClientEvent$slambda).dck = function ($this$dispatchAsync, store, completion) {
|
|
2376
|
+
var i = new GameServer$fromClientEvent$slambda(this.df5_1, completion);
|
|
2377
|
+
i.ef5_1 = $this$dispatchAsync;
|
|
2378
|
+
i.ff5_1 = store;
|
|
2379
2379
|
return i;
|
|
2380
2380
|
};
|
|
2381
2381
|
function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
|
|
2382
2382
|
var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
|
|
2383
2383
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2384
|
-
return i.
|
|
2384
|
+
return i.cck($this$dispatchAsync, store, $completion);
|
|
2385
2385
|
};
|
|
2386
2386
|
l.$arity = 2;
|
|
2387
2387
|
return l;
|
|
2388
2388
|
}
|
|
2389
2389
|
function GameServer$playerLostConnection$slambda($playerId, $roomId, resultContinuation) {
|
|
2390
|
-
this.
|
|
2391
|
-
this.
|
|
2390
|
+
this.of5_1 = $playerId;
|
|
2391
|
+
this.pf5_1 = $roomId;
|
|
2392
2392
|
CoroutineImpl.call(this, resultContinuation);
|
|
2393
2393
|
}
|
|
2394
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2395
|
-
var tmp = this.
|
|
2394
|
+
protoOf(GameServer$playerLostConnection$slambda).cck = function ($this$dispatchAsync, store, $completion) {
|
|
2395
|
+
var tmp = this.dck($this$dispatchAsync, store, $completion);
|
|
2396
2396
|
tmp.g9_1 = Unit_instance;
|
|
2397
2397
|
tmp.h9_1 = null;
|
|
2398
2398
|
return tmp.m9();
|
|
2399
2399
|
};
|
|
2400
2400
|
protoOf(GameServer$playerLostConnection$slambda).z9 = function (p1, p2, $completion) {
|
|
2401
2401
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2402
|
-
return this.
|
|
2402
|
+
return this.cck(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2403
2403
|
};
|
|
2404
2404
|
protoOf(GameServer$playerLostConnection$slambda).m9 = function () {
|
|
2405
2405
|
var suspendResult = this.g9_1;
|
|
@@ -2408,12 +2408,12 @@
|
|
|
2408
2408
|
var tmp = this.e9_1;
|
|
2409
2409
|
if (tmp === 0) {
|
|
2410
2410
|
this.f9_1 = 1;
|
|
2411
|
-
if (!get_isCreated(this.
|
|
2411
|
+
if (!get_isCreated(this.rf5_1.state)) {
|
|
2412
2412
|
return Unit_instance;
|
|
2413
2413
|
}
|
|
2414
|
-
var tmp_0 = this.
|
|
2414
|
+
var tmp_0 = this.rf5_1.dispatch;
|
|
2415
2415
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
2416
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2416
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.of5_1, this.pf5_1));
|
|
2417
2417
|
return Unit_instance;
|
|
2418
2418
|
} else if (tmp === 1) {
|
|
2419
2419
|
throw this.h9_1;
|
|
@@ -2424,35 +2424,35 @@
|
|
|
2424
2424
|
}
|
|
2425
2425
|
while (true);
|
|
2426
2426
|
};
|
|
2427
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2428
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
2429
|
-
i.
|
|
2430
|
-
i.
|
|
2427
|
+
protoOf(GameServer$playerLostConnection$slambda).dck = function ($this$dispatchAsync, store, completion) {
|
|
2428
|
+
var i = new GameServer$playerLostConnection$slambda(this.of5_1, this.pf5_1, completion);
|
|
2429
|
+
i.qf5_1 = $this$dispatchAsync;
|
|
2430
|
+
i.rf5_1 = store;
|
|
2431
2431
|
return i;
|
|
2432
2432
|
};
|
|
2433
2433
|
function GameServer$playerLostConnection$slambda_0($playerId, $roomId, resultContinuation) {
|
|
2434
2434
|
var i = new GameServer$playerLostConnection$slambda($playerId, $roomId, resultContinuation);
|
|
2435
2435
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2436
|
-
return i.
|
|
2436
|
+
return i.cck($this$dispatchAsync, store, $completion);
|
|
2437
2437
|
};
|
|
2438
2438
|
l.$arity = 2;
|
|
2439
2439
|
return l;
|
|
2440
2440
|
}
|
|
2441
2441
|
function GameServer$playerLive$slambda(this$0, $playerId, $roomId, resultContinuation) {
|
|
2442
|
-
this.
|
|
2443
|
-
this.
|
|
2444
|
-
this.
|
|
2442
|
+
this.af6_1 = this$0;
|
|
2443
|
+
this.bf6_1 = $playerId;
|
|
2444
|
+
this.cf6_1 = $roomId;
|
|
2445
2445
|
CoroutineImpl.call(this, resultContinuation);
|
|
2446
2446
|
}
|
|
2447
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2448
|
-
var tmp = this.
|
|
2447
|
+
protoOf(GameServer$playerLive$slambda).cck = function ($this$dispatchAsync, store, $completion) {
|
|
2448
|
+
var tmp = this.dck($this$dispatchAsync, store, $completion);
|
|
2449
2449
|
tmp.g9_1 = Unit_instance;
|
|
2450
2450
|
tmp.h9_1 = null;
|
|
2451
2451
|
return tmp.m9();
|
|
2452
2452
|
};
|
|
2453
2453
|
protoOf(GameServer$playerLive$slambda).z9 = function (p1, p2, $completion) {
|
|
2454
2454
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2455
|
-
return this.
|
|
2455
|
+
return this.cck(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2456
2456
|
};
|
|
2457
2457
|
protoOf(GameServer$playerLive$slambda).m9 = function () {
|
|
2458
2458
|
var suspendResult = this.g9_1;
|
|
@@ -2461,16 +2461,16 @@
|
|
|
2461
2461
|
var tmp = this.e9_1;
|
|
2462
2462
|
if (tmp === 0) {
|
|
2463
2463
|
this.f9_1 = 1;
|
|
2464
|
-
if (get_isFinished(this.
|
|
2464
|
+
if (get_isFinished(this.ef6_1.state) || get_isFinishing(this.ef6_1.state)) {
|
|
2465
2465
|
return Unit_instance;
|
|
2466
2466
|
}
|
|
2467
|
-
if (!_get_serverReduxConfig__rprcrm(this.
|
|
2468
|
-
this.
|
|
2467
|
+
if (!_get_serverReduxConfig__rprcrm(this.af6_1).waitForPlayerToConnectOnStart && (!get_isCreated(this.ef6_1.state) || !this.af6_1.r76().a7u())) {
|
|
2468
|
+
this.af6_1.p5q().v('GameEngine_API', 'playerLive: ' + this.bf6_1 + ' before game is created');
|
|
2469
2469
|
return Unit_instance;
|
|
2470
2470
|
}
|
|
2471
|
-
var tmp_0 = this.
|
|
2471
|
+
var tmp_0 = this.ef6_1.dispatch;
|
|
2472
2472
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2473
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2473
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.bf6_1, this.cf6_1));
|
|
2474
2474
|
return Unit_instance;
|
|
2475
2475
|
} else if (tmp === 1) {
|
|
2476
2476
|
throw this.h9_1;
|
|
@@ -2481,36 +2481,36 @@
|
|
|
2481
2481
|
}
|
|
2482
2482
|
while (true);
|
|
2483
2483
|
};
|
|
2484
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2485
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
2486
|
-
i.
|
|
2487
|
-
i.
|
|
2484
|
+
protoOf(GameServer$playerLive$slambda).dck = function ($this$dispatchAsync, store, completion) {
|
|
2485
|
+
var i = new GameServer$playerLive$slambda(this.af6_1, this.bf6_1, this.cf6_1, completion);
|
|
2486
|
+
i.df6_1 = $this$dispatchAsync;
|
|
2487
|
+
i.ef6_1 = store;
|
|
2488
2488
|
return i;
|
|
2489
2489
|
};
|
|
2490
2490
|
function GameServer$playerLive$slambda_0(this$0, $playerId, $roomId, resultContinuation) {
|
|
2491
2491
|
var i = new GameServer$playerLive$slambda(this$0, $playerId, $roomId, resultContinuation);
|
|
2492
2492
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2493
|
-
return i.
|
|
2493
|
+
return i.cck($this$dispatchAsync, store, $completion);
|
|
2494
2494
|
};
|
|
2495
2495
|
l.$arity = 2;
|
|
2496
2496
|
return l;
|
|
2497
2497
|
}
|
|
2498
2498
|
function GameServer$playerLeft$slambda(this$0, $playerId, $permanently, $roomId, resultContinuation) {
|
|
2499
|
-
this.
|
|
2500
|
-
this.
|
|
2501
|
-
this.
|
|
2502
|
-
this.
|
|
2499
|
+
this.nf6_1 = this$0;
|
|
2500
|
+
this.of6_1 = $playerId;
|
|
2501
|
+
this.pf6_1 = $permanently;
|
|
2502
|
+
this.qf6_1 = $roomId;
|
|
2503
2503
|
CoroutineImpl.call(this, resultContinuation);
|
|
2504
2504
|
}
|
|
2505
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2506
|
-
var tmp = this.
|
|
2505
|
+
protoOf(GameServer$playerLeft$slambda).cck = function ($this$dispatchAsync, store, $completion) {
|
|
2506
|
+
var tmp = this.dck($this$dispatchAsync, store, $completion);
|
|
2507
2507
|
tmp.g9_1 = Unit_instance;
|
|
2508
2508
|
tmp.h9_1 = null;
|
|
2509
2509
|
return tmp.m9();
|
|
2510
2510
|
};
|
|
2511
2511
|
protoOf(GameServer$playerLeft$slambda).z9 = function (p1, p2, $completion) {
|
|
2512
2512
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2513
|
-
return this.
|
|
2513
|
+
return this.cck(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2514
2514
|
};
|
|
2515
2515
|
protoOf(GameServer$playerLeft$slambda).m9 = function () {
|
|
2516
2516
|
var suspendResult = this.g9_1;
|
|
@@ -2519,22 +2519,22 @@
|
|
|
2519
2519
|
var tmp = this.e9_1;
|
|
2520
2520
|
if (tmp === 0) {
|
|
2521
2521
|
this.f9_1 = 1;
|
|
2522
|
-
if (get_isFinished(this.
|
|
2522
|
+
if (get_isFinished(this.sf6_1.state) || get_isFinishing(this.sf6_1.state)) {
|
|
2523
2523
|
return Unit_instance;
|
|
2524
2524
|
}
|
|
2525
|
-
if (!get_isCreated(this.
|
|
2526
|
-
this.
|
|
2525
|
+
if (!get_isCreated(this.sf6_1.state) || !this.nf6_1.r76().a7u()) {
|
|
2526
|
+
this.nf6_1.p5q().w('GameEngine_API', 'playerLeft: ' + this.of6_1 + ' before game is created');
|
|
2527
2527
|
return Unit_instance;
|
|
2528
2528
|
}
|
|
2529
|
-
var tmp_0 = this.
|
|
2529
|
+
var tmp_0 = this.sf6_1.dispatch;
|
|
2530
2530
|
var tmp_1;
|
|
2531
|
-
if (this.
|
|
2531
|
+
if (this.pf6_1) {
|
|
2532
2532
|
tmp_1 = PlayerConnectionState_LEFT_PERMANENTLY_getInstance();
|
|
2533
2533
|
} else {
|
|
2534
2534
|
tmp_1 = PlayerConnectionState_LEFT_getInstance();
|
|
2535
2535
|
}
|
|
2536
2536
|
var tmp0_connectionState = tmp_1;
|
|
2537
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2537
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.of6_1, this.qf6_1));
|
|
2538
2538
|
return Unit_instance;
|
|
2539
2539
|
} else if (tmp === 1) {
|
|
2540
2540
|
throw this.h9_1;
|
|
@@ -2545,39 +2545,39 @@
|
|
|
2545
2545
|
}
|
|
2546
2546
|
while (true);
|
|
2547
2547
|
};
|
|
2548
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2549
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
2550
|
-
i.
|
|
2551
|
-
i.
|
|
2548
|
+
protoOf(GameServer$playerLeft$slambda).dck = function ($this$dispatchAsync, store, completion) {
|
|
2549
|
+
var i = new GameServer$playerLeft$slambda(this.nf6_1, this.of6_1, this.pf6_1, this.qf6_1, completion);
|
|
2550
|
+
i.rf6_1 = $this$dispatchAsync;
|
|
2551
|
+
i.sf6_1 = store;
|
|
2552
2552
|
return i;
|
|
2553
2553
|
};
|
|
2554
2554
|
function GameServer$playerLeft$slambda_0(this$0, $playerId, $permanently, $roomId, resultContinuation) {
|
|
2555
2555
|
var i = new GameServer$playerLeft$slambda(this$0, $playerId, $permanently, $roomId, resultContinuation);
|
|
2556
2556
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2557
|
-
return i.
|
|
2557
|
+
return i.cck($this$dispatchAsync, store, $completion);
|
|
2558
2558
|
};
|
|
2559
2559
|
l.$arity = 2;
|
|
2560
2560
|
return l;
|
|
2561
2561
|
}
|
|
2562
2562
|
function GameServer$roomOnCreate$slambda($usersArray, this$0, $config, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2563
|
-
this.
|
|
2564
|
-
this.
|
|
2565
|
-
this.
|
|
2566
|
-
this.
|
|
2567
|
-
this.
|
|
2568
|
-
this.
|
|
2569
|
-
this.
|
|
2563
|
+
this.bf7_1 = $usersArray;
|
|
2564
|
+
this.cf7_1 = this$0;
|
|
2565
|
+
this.df7_1 = $config;
|
|
2566
|
+
this.ef7_1 = $roomId;
|
|
2567
|
+
this.ff7_1 = $transition;
|
|
2568
|
+
this.gf7_1 = $gameCreatorId;
|
|
2569
|
+
this.hf7_1 = $spectators;
|
|
2570
2570
|
CoroutineImpl.call(this, resultContinuation);
|
|
2571
2571
|
}
|
|
2572
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2573
|
-
var tmp = this.
|
|
2572
|
+
protoOf(GameServer$roomOnCreate$slambda).cck = function ($this$dispatchAsync, store, $completion) {
|
|
2573
|
+
var tmp = this.dck($this$dispatchAsync, store, $completion);
|
|
2574
2574
|
tmp.g9_1 = Unit_instance;
|
|
2575
2575
|
tmp.h9_1 = null;
|
|
2576
2576
|
return tmp.m9();
|
|
2577
2577
|
};
|
|
2578
2578
|
protoOf(GameServer$roomOnCreate$slambda).z9 = function (p1, p2, $completion) {
|
|
2579
2579
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2580
|
-
return this.
|
|
2580
|
+
return this.cck(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2581
2581
|
};
|
|
2582
2582
|
protoOf(GameServer$roomOnCreate$slambda).m9 = function () {
|
|
2583
2583
|
var suspendResult = this.g9_1;
|
|
@@ -2586,18 +2586,18 @@
|
|
|
2586
2586
|
var tmp = this.e9_1;
|
|
2587
2587
|
if (tmp === 0) {
|
|
2588
2588
|
this.f9_1 = 1;
|
|
2589
|
-
var users = toList(this.
|
|
2590
|
-
if (!validatePlayerCount(this.
|
|
2591
|
-
this.
|
|
2589
|
+
var users = toList(this.bf7_1);
|
|
2590
|
+
if (!validatePlayerCount(this.cf7_1, this.df7_1, users, this.ef7_1)) {
|
|
2591
|
+
this.jf7_1.dispatch(Companion_instance.fromTableWithAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.cf7_1.table.isGameFinished, this.cf7_1.table));
|
|
2592
2592
|
return Unit_instance;
|
|
2593
2593
|
}
|
|
2594
|
-
var orderedUsers = orderUsers(this.
|
|
2595
|
-
var gameCreatorUser = getPlayer(users, this.
|
|
2596
|
-
var tmp_0 = this.
|
|
2594
|
+
var orderedUsers = orderUsers(this.cf7_1, users, this.df7_1, this.ff7_1);
|
|
2595
|
+
var gameCreatorUser = getPlayer(users, this.gf7_1);
|
|
2596
|
+
var tmp_0 = this.jf7_1.dispatch;
|
|
2597
2597
|
var tmp0_version = get_versionOrDefault(GameEngineConfig_instance);
|
|
2598
2598
|
var tmp1_users = sortWithItem(orderedUsers, gameCreatorUser);
|
|
2599
|
-
var tmp2_spectators = toList(this.
|
|
2600
|
-
tmp_0(new StartGameMechanicAction(this.
|
|
2599
|
+
var tmp2_spectators = toList(this.hf7_1);
|
|
2600
|
+
tmp_0(new StartGameMechanicAction(this.df7_1, this.ef7_1, tmp0_version, this.gf7_1, tmp1_users, VOID, tmp2_spectators));
|
|
2601
2601
|
return Unit_instance;
|
|
2602
2602
|
} else if (tmp === 1) {
|
|
2603
2603
|
throw this.h9_1;
|
|
@@ -2608,39 +2608,39 @@
|
|
|
2608
2608
|
}
|
|
2609
2609
|
while (true);
|
|
2610
2610
|
};
|
|
2611
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2612
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
2613
|
-
i.
|
|
2614
|
-
i.
|
|
2611
|
+
protoOf(GameServer$roomOnCreate$slambda).dck = function ($this$dispatchAsync, store, completion) {
|
|
2612
|
+
var i = new GameServer$roomOnCreate$slambda(this.bf7_1, this.cf7_1, this.df7_1, this.ef7_1, this.ff7_1, this.gf7_1, this.hf7_1, completion);
|
|
2613
|
+
i.if7_1 = $this$dispatchAsync;
|
|
2614
|
+
i.jf7_1 = store;
|
|
2615
2615
|
return i;
|
|
2616
2616
|
};
|
|
2617
2617
|
function GameServer$roomOnCreate$slambda_0($usersArray, this$0, $config, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2618
2618
|
var i = new GameServer$roomOnCreate$slambda($usersArray, this$0, $config, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation);
|
|
2619
2619
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2620
|
-
return i.
|
|
2620
|
+
return i.cck($this$dispatchAsync, store, $completion);
|
|
2621
2621
|
};
|
|
2622
2622
|
l.$arity = 2;
|
|
2623
2623
|
return l;
|
|
2624
2624
|
}
|
|
2625
2625
|
function GameServer$preserveTeams$previousTeams$1($playerId) {
|
|
2626
|
-
this.
|
|
2626
|
+
this.kf7_1 = $playerId;
|
|
2627
2627
|
}
|
|
2628
2628
|
protoOf(GameServer$preserveTeams$previousTeams$1).s75 = function () {
|
|
2629
|
-
return this.
|
|
2629
|
+
return this.kf7_1;
|
|
2630
2630
|
};
|
|
2631
2631
|
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
2632
|
-
this.
|
|
2632
|
+
this.tf7_1 = $state;
|
|
2633
2633
|
CoroutineImpl.call(this, resultContinuation);
|
|
2634
2634
|
}
|
|
2635
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2636
|
-
var tmp = this.
|
|
2635
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).wf7 = function ($this$dispatchAwait, store, $completion) {
|
|
2636
|
+
var tmp = this.dck($this$dispatchAwait, store, $completion);
|
|
2637
2637
|
tmp.g9_1 = Unit_instance;
|
|
2638
2638
|
tmp.h9_1 = null;
|
|
2639
2639
|
return tmp.m9();
|
|
2640
2640
|
};
|
|
2641
2641
|
protoOf(GameServer$roomOnContinueFromState$slambda).z9 = function (p1, p2, $completion) {
|
|
2642
2642
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2643
|
-
return this.
|
|
2643
|
+
return this.wf7(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2644
2644
|
};
|
|
2645
2645
|
protoOf(GameServer$roomOnContinueFromState$slambda).m9 = function () {
|
|
2646
2646
|
var suspendResult = this.g9_1;
|
|
@@ -2649,10 +2649,10 @@
|
|
|
2649
2649
|
var tmp = this.e9_1;
|
|
2650
2650
|
if (tmp === 0) {
|
|
2651
2651
|
this.f9_1 = 1;
|
|
2652
|
-
if (get_isCreating(this.
|
|
2653
|
-
var tmp_0 = this.
|
|
2652
|
+
if (get_isCreating(this.vf7_1.state)) {
|
|
2653
|
+
var tmp_0 = this.vf7_1.dispatch;
|
|
2654
2654
|
var tmp0_reason = new RestartRoundReason(null);
|
|
2655
|
-
var tmp1_table = this.
|
|
2655
|
+
var tmp1_table = this.tf7_1.table;
|
|
2656
2656
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2657
2657
|
return true;
|
|
2658
2658
|
}
|
|
@@ -2666,34 +2666,34 @@
|
|
|
2666
2666
|
}
|
|
2667
2667
|
while (true);
|
|
2668
2668
|
};
|
|
2669
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2670
|
-
var i = new GameServer$roomOnContinueFromState$slambda(this.
|
|
2671
|
-
i.
|
|
2672
|
-
i.
|
|
2669
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).dck = function ($this$dispatchAwait, store, completion) {
|
|
2670
|
+
var i = new GameServer$roomOnContinueFromState$slambda(this.tf7_1, completion);
|
|
2671
|
+
i.uf7_1 = $this$dispatchAwait;
|
|
2672
|
+
i.vf7_1 = store;
|
|
2673
2673
|
return i;
|
|
2674
2674
|
};
|
|
2675
2675
|
function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
|
|
2676
2676
|
var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
|
|
2677
2677
|
var l = function ($this$dispatchAwait, store, $completion) {
|
|
2678
|
-
return i.
|
|
2678
|
+
return i.wf7($this$dispatchAwait, store, $completion);
|
|
2679
2679
|
};
|
|
2680
2680
|
l.$arity = 2;
|
|
2681
2681
|
return l;
|
|
2682
2682
|
}
|
|
2683
2683
|
function GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation) {
|
|
2684
|
-
this.
|
|
2685
|
-
this.
|
|
2684
|
+
this.ff8_1 = $isCreated;
|
|
2685
|
+
this.gf8_1 = $state;
|
|
2686
2686
|
CoroutineImpl.call(this, resultContinuation);
|
|
2687
2687
|
}
|
|
2688
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2689
|
-
var tmp = this.
|
|
2688
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).cck = function ($this$dispatchAsync, store, $completion) {
|
|
2689
|
+
var tmp = this.dck($this$dispatchAsync, store, $completion);
|
|
2690
2690
|
tmp.g9_1 = Unit_instance;
|
|
2691
2691
|
tmp.h9_1 = null;
|
|
2692
2692
|
return tmp.m9();
|
|
2693
2693
|
};
|
|
2694
2694
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).z9 = function (p1, p2, $completion) {
|
|
2695
2695
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2696
|
-
return this.
|
|
2696
|
+
return this.cck(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2697
2697
|
};
|
|
2698
2698
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).m9 = function () {
|
|
2699
2699
|
var suspendResult = this.g9_1;
|
|
@@ -2704,7 +2704,7 @@
|
|
|
2704
2704
|
case 0:
|
|
2705
2705
|
this.f9_1 = 3;
|
|
2706
2706
|
this.e9_1 = 1;
|
|
2707
|
-
suspendResult = this.
|
|
2707
|
+
suspendResult = this.ff8_1.o1r(this);
|
|
2708
2708
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2709
2709
|
return suspendResult;
|
|
2710
2710
|
}
|
|
@@ -2712,10 +2712,10 @@
|
|
|
2712
2712
|
continue $sm;
|
|
2713
2713
|
case 1:
|
|
2714
2714
|
if (suspendResult) {
|
|
2715
|
-
var _iterator__ex2g4s = this.
|
|
2715
|
+
var _iterator__ex2g4s = this.gf8_1.actions.t();
|
|
2716
2716
|
while (_iterator__ex2g4s.u()) {
|
|
2717
2717
|
var element = _iterator__ex2g4s.v();
|
|
2718
|
-
this.
|
|
2718
|
+
this.if8_1.dispatch(element);
|
|
2719
2719
|
}
|
|
2720
2720
|
this.e9_1 = 2;
|
|
2721
2721
|
continue $sm;
|
|
@@ -2740,35 +2740,35 @@
|
|
|
2740
2740
|
}
|
|
2741
2741
|
while (true);
|
|
2742
2742
|
};
|
|
2743
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2744
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1(this.
|
|
2745
|
-
i.
|
|
2746
|
-
i.
|
|
2743
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).dck = function ($this$dispatchAsync, store, completion) {
|
|
2744
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1(this.ff8_1, this.gf8_1, completion);
|
|
2745
|
+
i.hf8_1 = $this$dispatchAsync;
|
|
2746
|
+
i.if8_1 = store;
|
|
2747
2747
|
return i;
|
|
2748
2748
|
};
|
|
2749
2749
|
function GameServer$roomOnContinueFromState$slambda_2($isCreated, $state, resultContinuation) {
|
|
2750
2750
|
var i = new GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation);
|
|
2751
2751
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2752
|
-
return i.
|
|
2752
|
+
return i.cck($this$dispatchAsync, store, $completion);
|
|
2753
2753
|
};
|
|
2754
2754
|
l.$arity = 2;
|
|
2755
2755
|
return l;
|
|
2756
2756
|
}
|
|
2757
2757
|
function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation) {
|
|
2758
|
-
this.
|
|
2759
|
-
this.
|
|
2760
|
-
this.
|
|
2758
|
+
this.rf8_1 = $tableLite;
|
|
2759
|
+
this.sf8_1 = $roomId;
|
|
2760
|
+
this.tf8_1 = this$0;
|
|
2761
2761
|
CoroutineImpl.call(this, resultContinuation);
|
|
2762
2762
|
}
|
|
2763
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2764
|
-
var tmp = this.
|
|
2763
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).cck = function ($this$dispatchAsync, store, $completion) {
|
|
2764
|
+
var tmp = this.dck($this$dispatchAsync, store, $completion);
|
|
2765
2765
|
tmp.g9_1 = Unit_instance;
|
|
2766
2766
|
tmp.h9_1 = null;
|
|
2767
2767
|
return tmp.m9();
|
|
2768
2768
|
};
|
|
2769
2769
|
protoOf(GameServer$roomOnContinueFromRound$slambda).z9 = function (p1, p2, $completion) {
|
|
2770
2770
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2771
|
-
return this.
|
|
2771
|
+
return this.cck(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2772
2772
|
};
|
|
2773
2773
|
protoOf(GameServer$roomOnContinueFromRound$slambda).m9 = function () {
|
|
2774
2774
|
var suspendResult = this.g9_1;
|
|
@@ -2777,9 +2777,9 @@
|
|
|
2777
2777
|
var tmp = this.e9_1;
|
|
2778
2778
|
if (tmp === 0) {
|
|
2779
2779
|
this.f9_1 = 1;
|
|
2780
|
-
var tmp_0 = this.
|
|
2781
|
-
var tmp0_reason = new RestartRoundReason(this.
|
|
2782
|
-
var tmp1_table = Companion_instance_0.restartRound(this.
|
|
2780
|
+
var tmp_0 = this.vf8_1.dispatch;
|
|
2781
|
+
var tmp0_reason = new RestartRoundReason(this.rf8_1.gameInfo.round.roundNumber);
|
|
2782
|
+
var tmp1_table = Companion_instance_0.restartRound(this.sf8_1, _get_idsProvider__fnfajc(this.tf8_1).k7e(), get_versionOrDefault(GameEngineConfig_instance), this.rf8_1);
|
|
2783
2783
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2784
2784
|
return Unit_instance;
|
|
2785
2785
|
} else if (tmp === 1) {
|
|
@@ -2791,16 +2791,16 @@
|
|
|
2791
2791
|
}
|
|
2792
2792
|
while (true);
|
|
2793
2793
|
};
|
|
2794
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2795
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
2796
|
-
i.
|
|
2797
|
-
i.
|
|
2794
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).dck = function ($this$dispatchAsync, store, completion) {
|
|
2795
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.rf8_1, this.sf8_1, this.tf8_1, completion);
|
|
2796
|
+
i.uf8_1 = $this$dispatchAsync;
|
|
2797
|
+
i.vf8_1 = store;
|
|
2798
2798
|
return i;
|
|
2799
2799
|
};
|
|
2800
2800
|
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, resultContinuation) {
|
|
2801
2801
|
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation);
|
|
2802
2802
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2803
|
-
return i.
|
|
2803
|
+
return i.cck($this$dispatchAsync, store, $completion);
|
|
2804
2804
|
};
|
|
2805
2805
|
l.$arity = 2;
|
|
2806
2806
|
return l;
|
|
@@ -2808,15 +2808,15 @@
|
|
|
2808
2808
|
function GameServer$roomOnContinueFromRound$slambda_1(resultContinuation) {
|
|
2809
2809
|
CoroutineImpl.call(this, resultContinuation);
|
|
2810
2810
|
}
|
|
2811
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2812
|
-
var tmp = this.
|
|
2811
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).cck = function ($this$dispatchAsync, store, $completion) {
|
|
2812
|
+
var tmp = this.dck($this$dispatchAsync, store, $completion);
|
|
2813
2813
|
tmp.g9_1 = Unit_instance;
|
|
2814
2814
|
tmp.h9_1 = null;
|
|
2815
2815
|
return tmp.m9();
|
|
2816
2816
|
};
|
|
2817
2817
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).z9 = function (p1, p2, $completion) {
|
|
2818
2818
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2819
|
-
return this.
|
|
2819
|
+
return this.cck(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2820
2820
|
};
|
|
2821
2821
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).m9 = function () {
|
|
2822
2822
|
var suspendResult = this.g9_1;
|
|
@@ -2825,7 +2825,7 @@
|
|
|
2825
2825
|
var tmp = this.e9_1;
|
|
2826
2826
|
if (tmp === 0) {
|
|
2827
2827
|
this.f9_1 = 1;
|
|
2828
|
-
this.
|
|
2828
|
+
this.ff9_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
2829
2829
|
return Unit_instance;
|
|
2830
2830
|
} else if (tmp === 1) {
|
|
2831
2831
|
throw this.h9_1;
|
|
@@ -2836,33 +2836,33 @@
|
|
|
2836
2836
|
}
|
|
2837
2837
|
while (true);
|
|
2838
2838
|
};
|
|
2839
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2839
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).dck = function ($this$dispatchAsync, store, completion) {
|
|
2840
2840
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
2841
|
-
i.
|
|
2842
|
-
i.
|
|
2841
|
+
i.ef9_1 = $this$dispatchAsync;
|
|
2842
|
+
i.ff9_1 = store;
|
|
2843
2843
|
return i;
|
|
2844
2844
|
};
|
|
2845
2845
|
function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
|
|
2846
2846
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(resultContinuation);
|
|
2847
2847
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2848
|
-
return i.
|
|
2848
|
+
return i.cck($this$dispatchAsync, store, $completion);
|
|
2849
2849
|
};
|
|
2850
2850
|
l.$arity = 2;
|
|
2851
2851
|
return l;
|
|
2852
2852
|
}
|
|
2853
2853
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
2854
|
-
this.
|
|
2854
|
+
this.of9_1 = $spectators;
|
|
2855
2855
|
CoroutineImpl.call(this, resultContinuation);
|
|
2856
2856
|
}
|
|
2857
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2858
|
-
var tmp = this.
|
|
2857
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).cck = function ($this$dispatchAsync, store, $completion) {
|
|
2858
|
+
var tmp = this.dck($this$dispatchAsync, store, $completion);
|
|
2859
2859
|
tmp.g9_1 = Unit_instance;
|
|
2860
2860
|
tmp.h9_1 = null;
|
|
2861
2861
|
return tmp.m9();
|
|
2862
2862
|
};
|
|
2863
2863
|
protoOf(GameServer$addSpectatorsToRoom$slambda).z9 = function (p1, p2, $completion) {
|
|
2864
2864
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2865
|
-
return this.
|
|
2865
|
+
return this.cck(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2866
2866
|
};
|
|
2867
2867
|
protoOf(GameServer$addSpectatorsToRoom$slambda).m9 = function () {
|
|
2868
2868
|
var suspendResult = this.g9_1;
|
|
@@ -2871,7 +2871,7 @@
|
|
|
2871
2871
|
var tmp = this.e9_1;
|
|
2872
2872
|
if (tmp === 0) {
|
|
2873
2873
|
this.f9_1 = 1;
|
|
2874
|
-
this.
|
|
2874
|
+
this.qf9_1.dispatch(new AddSpectatorsAction(toList(this.of9_1)));
|
|
2875
2875
|
return Unit_instance;
|
|
2876
2876
|
} else if (tmp === 1) {
|
|
2877
2877
|
throw this.h9_1;
|
|
@@ -2882,33 +2882,33 @@
|
|
|
2882
2882
|
}
|
|
2883
2883
|
while (true);
|
|
2884
2884
|
};
|
|
2885
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2886
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
2887
|
-
i.
|
|
2888
|
-
i.
|
|
2885
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).dck = function ($this$dispatchAsync, store, completion) {
|
|
2886
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.of9_1, completion);
|
|
2887
|
+
i.pf9_1 = $this$dispatchAsync;
|
|
2888
|
+
i.qf9_1 = store;
|
|
2889
2889
|
return i;
|
|
2890
2890
|
};
|
|
2891
2891
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
2892
2892
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
2893
2893
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2894
|
-
return i.
|
|
2894
|
+
return i.cck($this$dispatchAsync, store, $completion);
|
|
2895
2895
|
};
|
|
2896
2896
|
l.$arity = 2;
|
|
2897
2897
|
return l;
|
|
2898
2898
|
}
|
|
2899
2899
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
2900
|
-
this.
|
|
2900
|
+
this.zf9_1 = $spectators;
|
|
2901
2901
|
CoroutineImpl.call(this, resultContinuation);
|
|
2902
2902
|
}
|
|
2903
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2904
|
-
var tmp = this.
|
|
2903
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).cck = function ($this$dispatchAsync, store, $completion) {
|
|
2904
|
+
var tmp = this.dck($this$dispatchAsync, store, $completion);
|
|
2905
2905
|
tmp.g9_1 = Unit_instance;
|
|
2906
2906
|
tmp.h9_1 = null;
|
|
2907
2907
|
return tmp.m9();
|
|
2908
2908
|
};
|
|
2909
2909
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).z9 = function (p1, p2, $completion) {
|
|
2910
2910
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2911
|
-
return this.
|
|
2911
|
+
return this.cck(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2912
2912
|
};
|
|
2913
2913
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).m9 = function () {
|
|
2914
2914
|
var suspendResult = this.g9_1;
|
|
@@ -2917,7 +2917,7 @@
|
|
|
2917
2917
|
var tmp = this.e9_1;
|
|
2918
2918
|
if (tmp === 0) {
|
|
2919
2919
|
this.f9_1 = 1;
|
|
2920
|
-
this.
|
|
2920
|
+
this.bfa_1.dispatch(new RemoveSpectatorsAction(toList(this.zf9_1)));
|
|
2921
2921
|
return Unit_instance;
|
|
2922
2922
|
} else if (tmp === 1) {
|
|
2923
2923
|
throw this.h9_1;
|
|
@@ -2928,34 +2928,34 @@
|
|
|
2928
2928
|
}
|
|
2929
2929
|
while (true);
|
|
2930
2930
|
};
|
|
2931
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2932
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
2933
|
-
i.
|
|
2934
|
-
i.
|
|
2931
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).dck = function ($this$dispatchAsync, store, completion) {
|
|
2932
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.zf9_1, completion);
|
|
2933
|
+
i.afa_1 = $this$dispatchAsync;
|
|
2934
|
+
i.bfa_1 = store;
|
|
2935
2935
|
return i;
|
|
2936
2936
|
};
|
|
2937
2937
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
2938
2938
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
2939
2939
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2940
|
-
return i.
|
|
2940
|
+
return i.cck($this$dispatchAsync, store, $completion);
|
|
2941
2941
|
};
|
|
2942
2942
|
l.$arity = 2;
|
|
2943
2943
|
return l;
|
|
2944
2944
|
}
|
|
2945
2945
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
2946
|
-
this.
|
|
2947
|
-
this.
|
|
2946
|
+
this.kfa_1 = $playerId;
|
|
2947
|
+
this.lfa_1 = this$0;
|
|
2948
2948
|
CoroutineImpl.call(this, resultContinuation);
|
|
2949
2949
|
}
|
|
2950
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2951
|
-
var tmp = this.
|
|
2950
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).cck = function ($this$dispatchAsync, store, $completion) {
|
|
2951
|
+
var tmp = this.dck($this$dispatchAsync, store, $completion);
|
|
2952
2952
|
tmp.g9_1 = Unit_instance;
|
|
2953
2953
|
tmp.h9_1 = null;
|
|
2954
2954
|
return tmp.m9();
|
|
2955
2955
|
};
|
|
2956
2956
|
protoOf(GameServer$roomRefreshPlayerState$slambda).z9 = function (p1, p2, $completion) {
|
|
2957
2957
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2958
|
-
return this.
|
|
2958
|
+
return this.cck(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2959
2959
|
};
|
|
2960
2960
|
protoOf(GameServer$roomRefreshPlayerState$slambda).m9 = function () {
|
|
2961
2961
|
var suspendResult = this.g9_1;
|
|
@@ -2964,14 +2964,14 @@
|
|
|
2964
2964
|
var tmp = this.e9_1;
|
|
2965
2965
|
if (tmp === 0) {
|
|
2966
2966
|
this.f9_1 = 1;
|
|
2967
|
-
var table = this.
|
|
2968
|
-
var player = getPlayer(table.players, this.
|
|
2967
|
+
var table = this.nfa_1.state.y7t();
|
|
2968
|
+
var player = getPlayer(table.players, this.kfa_1);
|
|
2969
2969
|
if (player.m7x_1.v78().f77_1.isLive) {
|
|
2970
|
-
this.
|
|
2970
|
+
this.nfa_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.lfa_1).ofa(player, table));
|
|
2971
2971
|
} else {
|
|
2972
|
-
var tmp_0 = this.
|
|
2972
|
+
var tmp_0 = this.nfa_1.dispatch;
|
|
2973
2973
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2974
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2974
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.kfa_1));
|
|
2975
2975
|
}
|
|
2976
2976
|
return Unit_instance;
|
|
2977
2977
|
} else if (tmp === 1) {
|
|
@@ -2983,34 +2983,34 @@
|
|
|
2983
2983
|
}
|
|
2984
2984
|
while (true);
|
|
2985
2985
|
};
|
|
2986
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2987
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
2988
|
-
i.
|
|
2989
|
-
i.
|
|
2986
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).dck = function ($this$dispatchAsync, store, completion) {
|
|
2987
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.kfa_1, this.lfa_1, completion);
|
|
2988
|
+
i.mfa_1 = $this$dispatchAsync;
|
|
2989
|
+
i.nfa_1 = store;
|
|
2990
2990
|
return i;
|
|
2991
2991
|
};
|
|
2992
2992
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
2993
2993
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
2994
2994
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2995
|
-
return i.
|
|
2995
|
+
return i.cck($this$dispatchAsync, store, $completion);
|
|
2996
2996
|
};
|
|
2997
2997
|
l.$arity = 2;
|
|
2998
2998
|
return l;
|
|
2999
2999
|
}
|
|
3000
3000
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
3001
|
-
this.
|
|
3002
|
-
this.
|
|
3001
|
+
this.xfa_1 = this$0;
|
|
3002
|
+
this.yfa_1 = $newRid;
|
|
3003
3003
|
CoroutineImpl.call(this, resultContinuation);
|
|
3004
3004
|
}
|
|
3005
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
3006
|
-
var tmp = this.
|
|
3005
|
+
protoOf(GameServer$roomOnDelete$slambda).cck = function ($this$dispatchAsync, store, $completion) {
|
|
3006
|
+
var tmp = this.dck($this$dispatchAsync, store, $completion);
|
|
3007
3007
|
tmp.g9_1 = Unit_instance;
|
|
3008
3008
|
tmp.h9_1 = null;
|
|
3009
3009
|
return tmp.m9();
|
|
3010
3010
|
};
|
|
3011
3011
|
protoOf(GameServer$roomOnDelete$slambda).z9 = function (p1, p2, $completion) {
|
|
3012
3012
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
3013
|
-
return this.
|
|
3013
|
+
return this.cck(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
3014
3014
|
};
|
|
3015
3015
|
protoOf(GameServer$roomOnDelete$slambda).m9 = function () {
|
|
3016
3016
|
var suspendResult = this.g9_1;
|
|
@@ -3019,10 +3019,10 @@
|
|
|
3019
3019
|
var tmp = this.e9_1;
|
|
3020
3020
|
if (tmp === 0) {
|
|
3021
3021
|
this.f9_1 = 1;
|
|
3022
|
-
var it = this.
|
|
3022
|
+
var it = this.xfa_1.r76().y7s_1;
|
|
3023
3023
|
var tmp_0;
|
|
3024
3024
|
if (it == null) {
|
|
3025
|
-
this.
|
|
3025
|
+
this.xfa_1.p5q().w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
3026
3026
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
3027
3027
|
} else {
|
|
3028
3028
|
tmp_0 = it;
|
|
@@ -3031,15 +3031,15 @@
|
|
|
3031
3031
|
var gameTransition = terminationState.q9f_1;
|
|
3032
3032
|
var tmp_1;
|
|
3033
3033
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
3034
|
-
var tmp0_elvis_lhs = this.
|
|
3034
|
+
var tmp0_elvis_lhs = this.yfa_1;
|
|
3035
3035
|
tmp_1 = gameTransition.copy(tmp0_elvis_lhs == null ? gameTransition.roomId : tmp0_elvis_lhs);
|
|
3036
3036
|
} else {
|
|
3037
3037
|
tmp_1 = gameTransition;
|
|
3038
3038
|
}
|
|
3039
3039
|
var transition = tmp_1;
|
|
3040
|
-
var tmp_2 = this.
|
|
3040
|
+
var tmp_2 = this.afb_1.dispatch;
|
|
3041
3041
|
var tmp0_reason = terminationState.p9f_1;
|
|
3042
|
-
var tmp1_isGameFinished = this.
|
|
3042
|
+
var tmp1_isGameFinished = this.xfa_1.r76().y7t().isGameFinished;
|
|
3043
3043
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
3044
3044
|
return Unit_instance;
|
|
3045
3045
|
} else if (tmp === 1) {
|
|
@@ -3051,33 +3051,33 @@
|
|
|
3051
3051
|
}
|
|
3052
3052
|
while (true);
|
|
3053
3053
|
};
|
|
3054
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
3055
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
3056
|
-
i.
|
|
3057
|
-
i.
|
|
3054
|
+
protoOf(GameServer$roomOnDelete$slambda).dck = function ($this$dispatchAsync, store, completion) {
|
|
3055
|
+
var i = new GameServer$roomOnDelete$slambda(this.xfa_1, this.yfa_1, completion);
|
|
3056
|
+
i.zfa_1 = $this$dispatchAsync;
|
|
3057
|
+
i.afb_1 = store;
|
|
3058
3058
|
return i;
|
|
3059
3059
|
};
|
|
3060
3060
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
3061
3061
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
3062
3062
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3063
|
-
return i.
|
|
3063
|
+
return i.cck($this$dispatchAsync, store, $completion);
|
|
3064
3064
|
};
|
|
3065
3065
|
l.$arity = 2;
|
|
3066
3066
|
return l;
|
|
3067
3067
|
}
|
|
3068
3068
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
3069
|
-
this.
|
|
3069
|
+
this.jfb_1 = $enabled;
|
|
3070
3070
|
CoroutineImpl.call(this, resultContinuation);
|
|
3071
3071
|
}
|
|
3072
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
3073
|
-
var tmp = this.
|
|
3072
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).cck = function ($this$dispatchAsync, store, $completion) {
|
|
3073
|
+
var tmp = this.dck($this$dispatchAsync, store, $completion);
|
|
3074
3074
|
tmp.g9_1 = Unit_instance;
|
|
3075
3075
|
tmp.h9_1 = null;
|
|
3076
3076
|
return tmp.m9();
|
|
3077
3077
|
};
|
|
3078
3078
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).z9 = function (p1, p2, $completion) {
|
|
3079
3079
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
3080
|
-
return this.
|
|
3080
|
+
return this.cck(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
3081
3081
|
};
|
|
3082
3082
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).m9 = function () {
|
|
3083
3083
|
var suspendResult = this.g9_1;
|
|
@@ -3086,7 +3086,7 @@
|
|
|
3086
3086
|
var tmp = this.e9_1;
|
|
3087
3087
|
if (tmp === 0) {
|
|
3088
3088
|
this.f9_1 = 1;
|
|
3089
|
-
this.
|
|
3089
|
+
this.lfb_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload(this.lfb_1.state).config.copy(VOID, !this.jfb_1)));
|
|
3090
3090
|
return Unit_instance;
|
|
3091
3091
|
} else if (tmp === 1) {
|
|
3092
3092
|
throw this.h9_1;
|
|
@@ -3097,35 +3097,35 @@
|
|
|
3097
3097
|
}
|
|
3098
3098
|
while (true);
|
|
3099
3099
|
};
|
|
3100
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
3101
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
3102
|
-
i.
|
|
3103
|
-
i.
|
|
3100
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).dck = function ($this$dispatchAsync, store, completion) {
|
|
3101
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.jfb_1, completion);
|
|
3102
|
+
i.kfb_1 = $this$dispatchAsync;
|
|
3103
|
+
i.lfb_1 = store;
|
|
3104
3104
|
return i;
|
|
3105
3105
|
};
|
|
3106
3106
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
3107
3107
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
3108
3108
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3109
|
-
return i.
|
|
3109
|
+
return i.cck($this$dispatchAsync, store, $completion);
|
|
3110
3110
|
};
|
|
3111
3111
|
l.$arity = 2;
|
|
3112
3112
|
return l;
|
|
3113
3113
|
}
|
|
3114
3114
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
3115
|
-
this.
|
|
3116
|
-
this.
|
|
3117
|
-
this.
|
|
3115
|
+
this.ufb_1 = $reason;
|
|
3116
|
+
this.vfb_1 = this$0;
|
|
3117
|
+
this.wfb_1 = $roomId;
|
|
3118
3118
|
CoroutineImpl.call(this, resultContinuation);
|
|
3119
3119
|
}
|
|
3120
|
-
protoOf(GameServer$shutdown$slambda).
|
|
3121
|
-
var tmp = this.
|
|
3120
|
+
protoOf(GameServer$shutdown$slambda).cck = function ($this$dispatchAsync, store, $completion) {
|
|
3121
|
+
var tmp = this.dck($this$dispatchAsync, store, $completion);
|
|
3122
3122
|
tmp.g9_1 = Unit_instance;
|
|
3123
3123
|
tmp.h9_1 = null;
|
|
3124
3124
|
return tmp.m9();
|
|
3125
3125
|
};
|
|
3126
3126
|
protoOf(GameServer$shutdown$slambda).z9 = function (p1, p2, $completion) {
|
|
3127
3127
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
3128
|
-
return this.
|
|
3128
|
+
return this.cck(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
3129
3129
|
};
|
|
3130
3130
|
protoOf(GameServer$shutdown$slambda).m9 = function () {
|
|
3131
3131
|
var suspendResult = this.g9_1;
|
|
@@ -3134,11 +3134,11 @@
|
|
|
3134
3134
|
var tmp = this.e9_1;
|
|
3135
3135
|
if (tmp === 0) {
|
|
3136
3136
|
this.f9_1 = 1;
|
|
3137
|
-
var state = this.
|
|
3137
|
+
var state = this.yfb_1.store.state;
|
|
3138
3138
|
if (state.a7u()) {
|
|
3139
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
3139
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.ufb_1, get_serverShutdownReasonMapping());
|
|
3140
3140
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
3141
|
-
var tmp_0 = this.
|
|
3141
|
+
var tmp_0 = this.yfb_1.dispatch;
|
|
3142
3142
|
var tmp_1 = Companion_instance;
|
|
3143
3143
|
var tmp_2;
|
|
3144
3144
|
switch (shutdownReason.a1_1) {
|
|
@@ -3152,10 +3152,10 @@
|
|
|
3152
3152
|
noWhenBranchMatchedException();
|
|
3153
3153
|
break;
|
|
3154
3154
|
}
|
|
3155
|
-
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.
|
|
3155
|
+
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.vfb_1.table.isGameFinished, this.vfb_1.table));
|
|
3156
3156
|
} else {
|
|
3157
|
-
this.
|
|
3158
|
-
var tmp_3 = this.
|
|
3157
|
+
this.vfb_1.p5q().w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.wfb_1);
|
|
3158
|
+
var tmp_3 = this.yfb_1.dispatch;
|
|
3159
3159
|
var tmp2_safe_receiver = state.y7s_1;
|
|
3160
3160
|
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.q9f_1));
|
|
3161
3161
|
}
|
|
@@ -3169,37 +3169,37 @@
|
|
|
3169
3169
|
}
|
|
3170
3170
|
while (true);
|
|
3171
3171
|
};
|
|
3172
|
-
protoOf(GameServer$shutdown$slambda).
|
|
3173
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
3174
|
-
i.
|
|
3175
|
-
i.
|
|
3172
|
+
protoOf(GameServer$shutdown$slambda).dck = function ($this$dispatchAsync, store, completion) {
|
|
3173
|
+
var i = new GameServer$shutdown$slambda(this.ufb_1, this.vfb_1, this.wfb_1, completion);
|
|
3174
|
+
i.xfb_1 = $this$dispatchAsync;
|
|
3175
|
+
i.yfb_1 = store;
|
|
3176
3176
|
return i;
|
|
3177
3177
|
};
|
|
3178
3178
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
3179
3179
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
3180
3180
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3181
|
-
return i.
|
|
3181
|
+
return i.cck($this$dispatchAsync, store, $completion);
|
|
3182
3182
|
};
|
|
3183
3183
|
l.$arity = 2;
|
|
3184
3184
|
return l;
|
|
3185
3185
|
}
|
|
3186
3186
|
function GameServer$handlePlayerMessage$slambda($botChatInteractor, $message, $fromPlayerId, $onMessageGenerated, this$0, resultContinuation) {
|
|
3187
|
-
this.
|
|
3188
|
-
this.
|
|
3189
|
-
this.
|
|
3190
|
-
this.
|
|
3191
|
-
this.
|
|
3187
|
+
this.hfc_1 = $botChatInteractor;
|
|
3188
|
+
this.ifc_1 = $message;
|
|
3189
|
+
this.jfc_1 = $fromPlayerId;
|
|
3190
|
+
this.kfc_1 = $onMessageGenerated;
|
|
3191
|
+
this.lfc_1 = this$0;
|
|
3192
3192
|
CoroutineImpl.call(this, resultContinuation);
|
|
3193
3193
|
}
|
|
3194
|
-
protoOf(GameServer$handlePlayerMessage$slambda).
|
|
3195
|
-
var tmp = this.
|
|
3194
|
+
protoOf(GameServer$handlePlayerMessage$slambda).cck = function ($this$dispatchAsync, store, $completion) {
|
|
3195
|
+
var tmp = this.dck($this$dispatchAsync, store, $completion);
|
|
3196
3196
|
tmp.g9_1 = Unit_instance;
|
|
3197
3197
|
tmp.h9_1 = null;
|
|
3198
3198
|
return tmp.m9();
|
|
3199
3199
|
};
|
|
3200
3200
|
protoOf(GameServer$handlePlayerMessage$slambda).z9 = function (p1, p2, $completion) {
|
|
3201
3201
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
3202
|
-
return this.
|
|
3202
|
+
return this.cck(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
3203
3203
|
};
|
|
3204
3204
|
protoOf(GameServer$handlePlayerMessage$slambda).m9 = function () {
|
|
3205
3205
|
var suspendResult = this.g9_1;
|
|
@@ -3209,18 +3209,18 @@
|
|
|
3209
3209
|
switch (tmp) {
|
|
3210
3210
|
case 0:
|
|
3211
3211
|
this.f9_1 = 3;
|
|
3212
|
-
var state = this.
|
|
3212
|
+
var state = this.nfc_1.store.state;
|
|
3213
3213
|
if (state.a7u()) {
|
|
3214
3214
|
var tmp0_table = state.y7t();
|
|
3215
3215
|
this.e9_1 = 1;
|
|
3216
|
-
suspendResult = this.
|
|
3216
|
+
suspendResult = this.hfc_1.qa5(tmp0_table, this.ifc_1, this.jfc_1, VOID, this);
|
|
3217
3217
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3218
3218
|
return suspendResult;
|
|
3219
3219
|
}
|
|
3220
3220
|
continue $sm;
|
|
3221
3221
|
} else {
|
|
3222
|
-
this.
|
|
3223
|
-
var tmp_0 = this.
|
|
3222
|
+
this.lfc_1.p5q().w('GameEngine_API', "GameServer: can't generate message without table, " + this.jfc_1);
|
|
3223
|
+
var tmp_0 = this.nfc_1.dispatch;
|
|
3224
3224
|
var tmp1_safe_receiver = state.y7s_1;
|
|
3225
3225
|
tmp_0(new ClearAction(tmp1_safe_receiver == null ? null : tmp1_safe_receiver.q9f_1));
|
|
3226
3226
|
this.e9_1 = 2;
|
|
@@ -3230,7 +3230,7 @@
|
|
|
3230
3230
|
case 1:
|
|
3231
3231
|
var message = suspendResult;
|
|
3232
3232
|
if (!(message == null)) {
|
|
3233
|
-
this.
|
|
3233
|
+
this.kfc_1(message);
|
|
3234
3234
|
}
|
|
3235
3235
|
|
|
3236
3236
|
this.e9_1 = 2;
|
|
@@ -3251,16 +3251,16 @@
|
|
|
3251
3251
|
}
|
|
3252
3252
|
while (true);
|
|
3253
3253
|
};
|
|
3254
|
-
protoOf(GameServer$handlePlayerMessage$slambda).
|
|
3255
|
-
var i = new GameServer$handlePlayerMessage$slambda(this.
|
|
3256
|
-
i.
|
|
3257
|
-
i.
|
|
3254
|
+
protoOf(GameServer$handlePlayerMessage$slambda).dck = function ($this$dispatchAsync, store, completion) {
|
|
3255
|
+
var i = new GameServer$handlePlayerMessage$slambda(this.hfc_1, this.ifc_1, this.jfc_1, this.kfc_1, this.lfc_1, completion);
|
|
3256
|
+
i.mfc_1 = $this$dispatchAsync;
|
|
3257
|
+
i.nfc_1 = store;
|
|
3258
3258
|
return i;
|
|
3259
3259
|
};
|
|
3260
3260
|
function GameServer$handlePlayerMessage$slambda_0($botChatInteractor, $message, $fromPlayerId, $onMessageGenerated, this$0, resultContinuation) {
|
|
3261
3261
|
var i = new GameServer$handlePlayerMessage$slambda($botChatInteractor, $message, $fromPlayerId, $onMessageGenerated, this$0, resultContinuation);
|
|
3262
3262
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3263
|
-
return i.
|
|
3263
|
+
return i.cck($this$dispatchAsync, store, $completion);
|
|
3264
3264
|
};
|
|
3265
3265
|
l.$arity = 2;
|
|
3266
3266
|
return l;
|
|
@@ -3291,7 +3291,7 @@
|
|
|
3291
3291
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
3292
3292
|
var tmp_3 = Instance(di, tmp$ret$2, null);
|
|
3293
3293
|
var tmp_4 = KProperty1;
|
|
3294
|
-
tmp_1.
|
|
3294
|
+
tmp_1.nf1_1 = tmp_3.y1h(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_4, GameServer$_get_toClientEventsObserver_$ref_utir8s(), null));
|
|
3295
3295
|
var tmp_5 = this;
|
|
3296
3296
|
// Inline function 'org.kodein.di.instance' call
|
|
3297
3297
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3299,7 +3299,7 @@
|
|
|
3299
3299
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
3300
3300
|
var tmp_7 = Instance(di, tmp$ret$4, null);
|
|
3301
3301
|
var tmp_8 = KProperty1;
|
|
3302
|
-
tmp_5.
|
|
3302
|
+
tmp_5.of1_1 = tmp_7.y1h(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_8, GameServer$_get_fromClientEventsObserver_$ref_nf1g79(), null));
|
|
3303
3303
|
var tmp_9 = this;
|
|
3304
3304
|
// Inline function 'org.kodein.di.instance' call
|
|
3305
3305
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3307,7 +3307,7 @@
|
|
|
3307
3307
|
var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
3308
3308
|
var tmp_11 = Instance(di, tmp$ret$6, null);
|
|
3309
3309
|
var tmp_12 = KProperty1;
|
|
3310
|
-
tmp_9.
|
|
3310
|
+
tmp_9.pf1_1 = tmp_11.y1h(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_12, GameServer$_get_playerConnectionInteractor_$ref_of8tan(), null));
|
|
3311
3311
|
var tmp_13 = this;
|
|
3312
3312
|
// Inline function 'org.kodein.di.instance' call
|
|
3313
3313
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3315,7 +3315,7 @@
|
|
|
3315
3315
|
var tmp$ret$8 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
3316
3316
|
var tmp_15 = Instance(di, tmp$ret$8, null);
|
|
3317
3317
|
var tmp_16 = KProperty1;
|
|
3318
|
-
tmp_13.
|
|
3318
|
+
tmp_13.qf1_1 = tmp_15.y1h(this, getPropertyCallableRef('teamsLogicProvider', 1, tmp_16, GameServer$_get_teamsLogicProvider_$ref_b7y54g(), null));
|
|
3319
3319
|
var tmp_17 = this;
|
|
3320
3320
|
// Inline function 'org.kodein.di.instance' call
|
|
3321
3321
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3323,9 +3323,9 @@
|
|
|
3323
3323
|
var tmp$ret$10 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
3324
3324
|
var tmp_19 = Instance(di, tmp$ret$10, null);
|
|
3325
3325
|
var tmp_20 = KProperty1;
|
|
3326
|
-
tmp_17.
|
|
3326
|
+
tmp_17.rf1_1 = tmp_19.y1h(this, getPropertyCallableRef('userRatingInteractor', 1, tmp_20, GameServer$_get_userRatingInteractor_$ref_8uo6aw(), null));
|
|
3327
3327
|
var tmp_21 = this;
|
|
3328
|
-
tmp_21.
|
|
3328
|
+
tmp_21.sf1_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
3329
3329
|
var tmp_22 = this;
|
|
3330
3330
|
// Inline function 'org.kodein.di.instance' call
|
|
3331
3331
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3333,7 +3333,7 @@
|
|
|
3333
3333
|
var tmp$ret$12 = isInterface(tmp_23, TypeToken) ? tmp_23 : THROW_CCE();
|
|
3334
3334
|
var tmp_24 = Instance(di, tmp$ret$12, null);
|
|
3335
3335
|
var tmp_25 = KProperty1;
|
|
3336
|
-
tmp_22.
|
|
3336
|
+
tmp_22.tf1_1 = tmp_24.y1h(this, getPropertyCallableRef('idsProvider', 1, tmp_25, GameServer$_get_idsProvider_$ref_89s908(), null));
|
|
3337
3337
|
var tmp_26 = this;
|
|
3338
3338
|
// Inline function 'org.kodein.di.instance' call
|
|
3339
3339
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3341,7 +3341,7 @@
|
|
|
3341
3341
|
var tmp$ret$14 = isInterface(tmp_27, TypeToken) ? tmp_27 : THROW_CCE();
|
|
3342
3342
|
var tmp_28 = Instance(di, tmp$ret$14, null);
|
|
3343
3343
|
var tmp_29 = KProperty1;
|
|
3344
|
-
tmp_26.
|
|
3344
|
+
tmp_26.uf1_1 = tmp_28.y1h(this, getPropertyCallableRef('serverReduxConfig', 1, tmp_29, GameServer$_get_serverReduxConfig_$ref_7h6jq6(), null));
|
|
3345
3345
|
var tmp_30 = this;
|
|
3346
3346
|
// Inline function 'org.kodein.di.instance' call
|
|
3347
3347
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3349,7 +3349,7 @@
|
|
|
3349
3349
|
var tmp$ret$16 = isInterface(tmp_31, TypeToken) ? tmp_31 : THROW_CCE();
|
|
3350
3350
|
var tmp_32 = Instance(di, tmp$ret$16, null);
|
|
3351
3351
|
var tmp_33 = KProperty1;
|
|
3352
|
-
tmp_30.
|
|
3352
|
+
tmp_30.vf1_1 = tmp_32.y1h(this, getPropertyCallableRef('encoderDecoderProvider', 1, tmp_33, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8(), null));
|
|
3353
3353
|
var tmp_34 = this;
|
|
3354
3354
|
// Inline function 'org.kodein.di.instance' call
|
|
3355
3355
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3357,7 +3357,7 @@
|
|
|
3357
3357
|
var tmp$ret$18 = isInterface(tmp_35, TypeToken) ? tmp_35 : THROW_CCE();
|
|
3358
3358
|
var tmp_36 = Instance(di, tmp$ret$18, null);
|
|
3359
3359
|
var tmp_37 = KProperty1;
|
|
3360
|
-
tmp_34.
|
|
3360
|
+
tmp_34.wf1_1 = tmp_36.y1h(this, getPropertyCallableRef('engineLogicConfig', 1, tmp_37, GameServer$_get_engineLogicConfig_$ref_nlkv2l(), null));
|
|
3361
3361
|
var tmp_38 = this;
|
|
3362
3362
|
// Inline function 'org.kodein.di.instance' call
|
|
3363
3363
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3365,7 +3365,7 @@
|
|
|
3365
3365
|
var tmp$ret$20 = isInterface(tmp_39, TypeToken) ? tmp_39 : THROW_CCE();
|
|
3366
3366
|
var tmp_40 = Instance(di, tmp$ret$20, null);
|
|
3367
3367
|
var tmp_41 = KProperty1;
|
|
3368
|
-
tmp_38.
|
|
3368
|
+
tmp_38.xf1_1 = tmp_40.y1h(this, getPropertyCallableRef('leaguesConfig', 1, tmp_41, GameServer$_get_leaguesConfig_$ref_fi951n(), null));
|
|
3369
3369
|
var tmp_42 = this;
|
|
3370
3370
|
// Inline function 'org.kodein.di.instanceOrNull' call
|
|
3371
3371
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3373,14 +3373,14 @@
|
|
|
3373
3373
|
var tmp$ret$22 = isInterface(tmp_43, TypeToken) ? tmp_43 : THROW_CCE();
|
|
3374
3374
|
var tmp_44 = InstanceOrNull(di, tmp$ret$22, null);
|
|
3375
3375
|
var tmp_45 = KProperty1;
|
|
3376
|
-
tmp_42.
|
|
3376
|
+
tmp_42.yf1_1 = tmp_44.y1h(this, getPropertyCallableRef('botChatInteractor', 1, tmp_45, GameServer$_get_botChatInteractor_$ref_zf10ih(), null));
|
|
3377
3377
|
var tmp_46 = this;
|
|
3378
3378
|
var tmp0_externalMiddlewares = plus(storeContract.haj(), externalMiddlewares);
|
|
3379
3379
|
var tmp1_externalReducers = plus(storeContract.gaj(), externalReducers);
|
|
3380
|
-
tmp_46.
|
|
3380
|
+
tmp_46.zf1_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
3381
3381
|
}
|
|
3382
3382
|
protoOf(GameServer).o7s = function () {
|
|
3383
|
-
return this.
|
|
3383
|
+
return this.zf1_1;
|
|
3384
3384
|
};
|
|
3385
3385
|
protoOf(GameServer).r9z = function () {
|
|
3386
3386
|
return get_serverStatePayload(this.r76()).metadata;
|
|
@@ -3432,17 +3432,17 @@
|
|
|
3432
3432
|
};
|
|
3433
3433
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
3434
3434
|
this.p5q().d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
3435
|
-
this.
|
|
3435
|
+
this.zf1_1.w7t(GameServer$fromClientEvent$slambda_0(action, null));
|
|
3436
3436
|
};
|
|
3437
3437
|
protoOf(GameServer).playerLostConnection = function (playerId, roomId) {
|
|
3438
3438
|
this.p5q().d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
3439
|
-
this.
|
|
3439
|
+
this.zf1_1.w7t(GameServer$playerLostConnection$slambda_0(playerId, roomId, null));
|
|
3440
3440
|
};
|
|
3441
3441
|
protoOf(GameServer).playerLive = function (playerId, roomId) {
|
|
3442
3442
|
this.p5q().d('GameEngine_API', 'playerLive: ' + playerId);
|
|
3443
|
-
this.
|
|
3443
|
+
this.zf1_1.w7t(GameServer$playerLive$slambda_0(this, playerId, roomId, null));
|
|
3444
3444
|
};
|
|
3445
|
-
protoOf(GameServer).
|
|
3445
|
+
protoOf(GameServer).ofc = function (playerId, roomId, permanently) {
|
|
3446
3446
|
this.p5q().d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
3447
3447
|
var tmp;
|
|
3448
3448
|
if (this.r76().a7u() && !this.r76().y7t().isGameFinished) {
|
|
@@ -3451,33 +3451,33 @@
|
|
|
3451
3451
|
tmp = null;
|
|
3452
3452
|
}
|
|
3453
3453
|
var result = tmp;
|
|
3454
|
-
this.
|
|
3454
|
+
this.zf1_1.w7t(GameServer$playerLeft$slambda_0(this, playerId, permanently, roomId, null));
|
|
3455
3455
|
this.p5q().d('GameEngine_API', 'playerLeft result: ' + toString_0(result));
|
|
3456
3456
|
return result;
|
|
3457
3457
|
};
|
|
3458
|
-
protoOf(GameServer).
|
|
3458
|
+
protoOf(GameServer).pfc = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
3459
3459
|
this.p5q().d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
3460
|
-
this.
|
|
3460
|
+
this.zf1_1.w7t(GameServer$roomOnCreate$slambda_0(usersArray, this, config, roomId, transition, gameCreatorId, spectators, null));
|
|
3461
3461
|
};
|
|
3462
3462
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
3463
3463
|
this.p5q().d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
3464
|
-
var isCreated = this.
|
|
3465
|
-
this.
|
|
3464
|
+
var isCreated = this.zf1_1.x7t(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
3465
|
+
this.zf1_1.w7t(GameServer$roomOnContinueFromState$slambda_2(isCreated, state, null));
|
|
3466
3466
|
};
|
|
3467
3467
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
3468
3468
|
this.p5q().d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
3469
|
-
this.
|
|
3470
|
-
this.
|
|
3469
|
+
this.zf1_1.w7t(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
3470
|
+
this.zf1_1.w7t(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
3471
3471
|
};
|
|
3472
3472
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
3473
|
-
this.
|
|
3473
|
+
this.zf1_1.w7t(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
3474
3474
|
};
|
|
3475
3475
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
3476
|
-
this.
|
|
3476
|
+
this.zf1_1.w7t(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
3477
3477
|
};
|
|
3478
3478
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
3479
3479
|
this.p5q().d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
3480
|
-
this.
|
|
3480
|
+
this.zf1_1.w7t(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
3481
3481
|
};
|
|
3482
3482
|
protoOf(GameServer).getToClientFinishActionBeforeDisconnect = function (playerId, previousState, originState) {
|
|
3483
3483
|
if (!this.isTableExists) {
|
|
@@ -3487,24 +3487,24 @@
|
|
|
3487
3487
|
var table = this.table;
|
|
3488
3488
|
var player = getPlayer(table.players, playerId);
|
|
3489
3489
|
this.p5q().d('GameEngine_API', 'getToClientFinishActionBeforeDisconnect: ' + playerId + ', ' + ('state = ' + player.m7x_1.v78().f77_1.toString() + ', ') + ('isBot = ' + player.l7x_1.isBot));
|
|
3490
|
-
var actions = _get_playerConnectionInteractor__si6cxf(this).
|
|
3490
|
+
var actions = _get_playerConnectionInteractor__si6cxf(this).qfc(playerId, previousState.isLive, table.id, mapToFinishReason(originState, player, table.playersConnections), table.isGameFinished);
|
|
3491
3491
|
this.p5q().d('GameEngine_API', 'getToClientFinishActionBeforeDisconnect: ' + toString(actions));
|
|
3492
3492
|
if (actions.r()) {
|
|
3493
3493
|
return null;
|
|
3494
3494
|
}
|
|
3495
3495
|
return new CombinedToClientAction(actions, Companion_instance_1.user(_get_idsProvider__fnfajc(this).k7e(), table.id, playerId));
|
|
3496
3496
|
};
|
|
3497
|
-
protoOf(GameServer).
|
|
3497
|
+
protoOf(GameServer).rfc = function (newRid) {
|
|
3498
3498
|
this.p5q().d('GameEngine_API', 'roomOnDelete: newRid = ' + newRid);
|
|
3499
|
-
this.
|
|
3499
|
+
this.zf1_1.w7t(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
3500
3500
|
};
|
|
3501
3501
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
3502
3502
|
this.p5q().d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
3503
|
-
this.
|
|
3503
|
+
this.zf1_1.w7t(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
3504
3504
|
};
|
|
3505
|
-
protoOf(GameServer).
|
|
3505
|
+
protoOf(GameServer).sfc = function (reason, roomId) {
|
|
3506
3506
|
this.p5q().d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
3507
|
-
this.
|
|
3507
|
+
this.zf1_1.w7t(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
3508
3508
|
};
|
|
3509
3509
|
protoOf(GameServer).handlePlayerMessage = function (message, fromPlayerId, onMessageGenerated) {
|
|
3510
3510
|
var tmp0_elvis_lhs = _get_botChatInteractor__17f3on(this);
|
|
@@ -3516,7 +3516,7 @@
|
|
|
3516
3516
|
}
|
|
3517
3517
|
var botChatInteractor = tmp;
|
|
3518
3518
|
this.p5q().d('GameEngine_API', 'handlePlayerMessage: ' + fromPlayerId);
|
|
3519
|
-
this.
|
|
3519
|
+
this.zf1_1.w7t(GameServer$handlePlayerMessage$slambda_0(botChatInteractor, message, fromPlayerId, onMessageGenerated, this, null));
|
|
3520
3520
|
};
|
|
3521
3521
|
protoOf(GameServer).clear = function () {
|
|
3522
3522
|
return this.b3();
|
|
@@ -3570,13 +3570,13 @@
|
|
|
3570
3570
|
this.shouldFinishGameWhenDeploy = shouldFinishGameWhenDeploy;
|
|
3571
3571
|
this.shouldFinishGameWithBots = shouldFinishGameWithBots;
|
|
3572
3572
|
}
|
|
3573
|
-
protoOf(ServerConfig).
|
|
3573
|
+
protoOf(ServerConfig).tfc = function () {
|
|
3574
3574
|
return this.fromRound;
|
|
3575
3575
|
};
|
|
3576
|
-
protoOf(ServerConfig).
|
|
3576
|
+
protoOf(ServerConfig).ufc = function () {
|
|
3577
3577
|
return this.shouldFinishGameWhenDeploy;
|
|
3578
3578
|
};
|
|
3579
|
-
protoOf(ServerConfig).
|
|
3579
|
+
protoOf(ServerConfig).vfc = function () {
|
|
3580
3580
|
return this.shouldFinishGameWithBots;
|
|
3581
3581
|
};
|
|
3582
3582
|
protoOf(ServerConfig).kf = function () {
|
|
@@ -3588,14 +3588,14 @@
|
|
|
3588
3588
|
protoOf(ServerConfig).om = function () {
|
|
3589
3589
|
return this.shouldFinishGameWithBots;
|
|
3590
3590
|
};
|
|
3591
|
-
protoOf(ServerConfig).
|
|
3591
|
+
protoOf(ServerConfig).wfc = function (fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots) {
|
|
3592
3592
|
return new ServerConfig(fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots);
|
|
3593
3593
|
};
|
|
3594
3594
|
protoOf(ServerConfig).copy = function (fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots, $super) {
|
|
3595
3595
|
fromRound = fromRound === VOID ? this.fromRound : fromRound;
|
|
3596
3596
|
shouldFinishGameWhenDeploy = shouldFinishGameWhenDeploy === VOID ? this.shouldFinishGameWhenDeploy : shouldFinishGameWhenDeploy;
|
|
3597
3597
|
shouldFinishGameWithBots = shouldFinishGameWithBots === VOID ? this.shouldFinishGameWithBots : shouldFinishGameWithBots;
|
|
3598
|
-
return $super === VOID ? this.
|
|
3598
|
+
return $super === VOID ? this.wfc(fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots) : $super.wfc.call(this, fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots);
|
|
3599
3599
|
};
|
|
3600
3600
|
protoOf(ServerConfig).toString = function () {
|
|
3601
3601
|
return 'ServerConfig(fromRound=' + this.fromRound + ', shouldFinishGameWhenDeploy=' + this.shouldFinishGameWhenDeploy + ', shouldFinishGameWithBots=' + this.shouldFinishGameWithBots + ')';
|
|
@@ -3657,20 +3657,20 @@
|
|
|
3657
3657
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.TableStateUpdateDto', this, 2);
|
|
3658
3658
|
tmp0_serialDesc.xz('roomId', false);
|
|
3659
3659
|
tmp0_serialDesc.xz('table', false);
|
|
3660
|
-
this.
|
|
3660
|
+
this.xfc_1 = tmp0_serialDesc;
|
|
3661
3661
|
}
|
|
3662
|
-
protoOf($serializer).
|
|
3663
|
-
var tmp0_desc = this.
|
|
3662
|
+
protoOf($serializer).yfc = function (encoder, value) {
|
|
3663
|
+
var tmp0_desc = this.xfc_1;
|
|
3664
3664
|
var tmp1_output = encoder.fs(tmp0_desc);
|
|
3665
|
-
tmp1_output.ut(tmp0_desc, 0, value.
|
|
3665
|
+
tmp1_output.ut(tmp0_desc, 0, value.zfc_1);
|
|
3666
3666
|
tmp1_output.ut(tmp0_desc, 1, value.table);
|
|
3667
3667
|
tmp1_output.gs(tmp0_desc);
|
|
3668
3668
|
};
|
|
3669
3669
|
protoOf($serializer).to = function (encoder, value) {
|
|
3670
|
-
return this.
|
|
3670
|
+
return this.yfc(encoder, value instanceof TableStateUpdateDto ? value : THROW_CCE());
|
|
3671
3671
|
};
|
|
3672
3672
|
protoOf($serializer).uo = function (decoder) {
|
|
3673
|
-
var tmp0_desc = this.
|
|
3673
|
+
var tmp0_desc = this.xfc_1;
|
|
3674
3674
|
var tmp1_flag = true;
|
|
3675
3675
|
var tmp2_index = 0;
|
|
3676
3676
|
var tmp3_bitMask0 = 0;
|
|
@@ -3705,7 +3705,7 @@
|
|
|
3705
3705
|
return TableStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3706
3706
|
};
|
|
3707
3707
|
protoOf($serializer).so = function () {
|
|
3708
|
-
return this.
|
|
3708
|
+
return this.xfc_1;
|
|
3709
3709
|
};
|
|
3710
3710
|
protoOf($serializer).m10 = function () {
|
|
3711
3711
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3721,9 +3721,9 @@
|
|
|
3721
3721
|
}
|
|
3722
3722
|
function TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, $this) {
|
|
3723
3723
|
if (!(3 === (3 & seen0))) {
|
|
3724
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance().
|
|
3724
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance().xfc_1);
|
|
3725
3725
|
}
|
|
3726
|
-
$this.
|
|
3726
|
+
$this.zfc_1 = roomId;
|
|
3727
3727
|
$this.table = table;
|
|
3728
3728
|
return $this;
|
|
3729
3729
|
}
|
|
@@ -3731,17 +3731,17 @@
|
|
|
3731
3731
|
return TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, objectCreate(protoOf(TableStateUpdateDto)));
|
|
3732
3732
|
}
|
|
3733
3733
|
function TableStateUpdateDto(roomId, table) {
|
|
3734
|
-
this.
|
|
3734
|
+
this.zfc_1 = roomId;
|
|
3735
3735
|
this.table = table;
|
|
3736
3736
|
}
|
|
3737
3737
|
protoOf(TableStateUpdateDto).k9w = function () {
|
|
3738
|
-
return this.
|
|
3738
|
+
return this.zfc_1;
|
|
3739
3739
|
};
|
|
3740
3740
|
protoOf(TableStateUpdateDto).y7t = function () {
|
|
3741
3741
|
return this.table;
|
|
3742
3742
|
};
|
|
3743
3743
|
protoOf(TableStateUpdateDto).kf = function () {
|
|
3744
|
-
return this.
|
|
3744
|
+
return this.zfc_1;
|
|
3745
3745
|
};
|
|
3746
3746
|
protoOf(TableStateUpdateDto).lf = function () {
|
|
3747
3747
|
return this.table;
|
|
@@ -3750,15 +3750,15 @@
|
|
|
3750
3750
|
return new TableStateUpdateDto(roomId, table);
|
|
3751
3751
|
};
|
|
3752
3752
|
protoOf(TableStateUpdateDto).copy = function (roomId, table, $super) {
|
|
3753
|
-
roomId = roomId === VOID ? this.
|
|
3753
|
+
roomId = roomId === VOID ? this.zfc_1 : roomId;
|
|
3754
3754
|
table = table === VOID ? this.table : table;
|
|
3755
3755
|
return $super === VOID ? this.d6b(roomId, table) : $super.d6b.call(this, roomId, table);
|
|
3756
3756
|
};
|
|
3757
3757
|
protoOf(TableStateUpdateDto).toString = function () {
|
|
3758
|
-
return 'TableStateUpdateDto(roomId=' + this.
|
|
3758
|
+
return 'TableStateUpdateDto(roomId=' + this.zfc_1 + ', table=' + this.table + ')';
|
|
3759
3759
|
};
|
|
3760
3760
|
protoOf(TableStateUpdateDto).hashCode = function () {
|
|
3761
|
-
var result = getStringHashCode(this.
|
|
3761
|
+
var result = getStringHashCode(this.zfc_1);
|
|
3762
3762
|
result = imul(result, 31) + getStringHashCode(this.table) | 0;
|
|
3763
3763
|
return result;
|
|
3764
3764
|
};
|
|
@@ -3767,7 +3767,7 @@
|
|
|
3767
3767
|
return true;
|
|
3768
3768
|
if (!(other instanceof TableStateUpdateDto))
|
|
3769
3769
|
return false;
|
|
3770
|
-
if (!(this.
|
|
3770
|
+
if (!(this.zfc_1 === other.zfc_1))
|
|
3771
3771
|
return false;
|
|
3772
3772
|
if (!(this.table === other.table))
|
|
3773
3773
|
return false;
|
|
@@ -3784,20 +3784,20 @@
|
|
|
3784
3784
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.ActionsStateUpdateDto', this, 2);
|
|
3785
3785
|
tmp0_serialDesc.xz('roomId', false);
|
|
3786
3786
|
tmp0_serialDesc.xz('actions', false);
|
|
3787
|
-
this.
|
|
3787
|
+
this.afd_1 = tmp0_serialDesc;
|
|
3788
3788
|
}
|
|
3789
|
-
protoOf($serializer_0).
|
|
3790
|
-
var tmp0_desc = this.
|
|
3789
|
+
protoOf($serializer_0).bfd = function (encoder, value) {
|
|
3790
|
+
var tmp0_desc = this.afd_1;
|
|
3791
3791
|
var tmp1_output = encoder.fs(tmp0_desc);
|
|
3792
|
-
tmp1_output.ut(tmp0_desc, 0, value.
|
|
3792
|
+
tmp1_output.ut(tmp0_desc, 0, value.cfd_1);
|
|
3793
3793
|
tmp1_output.ut(tmp0_desc, 1, value.actions);
|
|
3794
3794
|
tmp1_output.gs(tmp0_desc);
|
|
3795
3795
|
};
|
|
3796
3796
|
protoOf($serializer_0).to = function (encoder, value) {
|
|
3797
|
-
return this.
|
|
3797
|
+
return this.bfd(encoder, value instanceof ActionsStateUpdateDto ? value : THROW_CCE());
|
|
3798
3798
|
};
|
|
3799
3799
|
protoOf($serializer_0).uo = function (decoder) {
|
|
3800
|
-
var tmp0_desc = this.
|
|
3800
|
+
var tmp0_desc = this.afd_1;
|
|
3801
3801
|
var tmp1_flag = true;
|
|
3802
3802
|
var tmp2_index = 0;
|
|
3803
3803
|
var tmp3_bitMask0 = 0;
|
|
@@ -3832,7 +3832,7 @@
|
|
|
3832
3832
|
return ActionsStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3833
3833
|
};
|
|
3834
3834
|
protoOf($serializer_0).so = function () {
|
|
3835
|
-
return this.
|
|
3835
|
+
return this.afd_1;
|
|
3836
3836
|
};
|
|
3837
3837
|
protoOf($serializer_0).m10 = function () {
|
|
3838
3838
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3848,9 +3848,9 @@
|
|
|
3848
3848
|
}
|
|
3849
3849
|
function ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, $this) {
|
|
3850
3850
|
if (!(3 === (3 & seen0))) {
|
|
3851
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().
|
|
3851
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().afd_1);
|
|
3852
3852
|
}
|
|
3853
|
-
$this.
|
|
3853
|
+
$this.cfd_1 = roomId;
|
|
3854
3854
|
$this.actions = actions;
|
|
3855
3855
|
return $this;
|
|
3856
3856
|
}
|
|
@@ -3858,17 +3858,17 @@
|
|
|
3858
3858
|
return ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, objectCreate(protoOf(ActionsStateUpdateDto)));
|
|
3859
3859
|
}
|
|
3860
3860
|
function ActionsStateUpdateDto(roomId, actions) {
|
|
3861
|
-
this.
|
|
3861
|
+
this.cfd_1 = roomId;
|
|
3862
3862
|
this.actions = actions;
|
|
3863
3863
|
}
|
|
3864
3864
|
protoOf(ActionsStateUpdateDto).k9w = function () {
|
|
3865
|
-
return this.
|
|
3865
|
+
return this.cfd_1;
|
|
3866
3866
|
};
|
|
3867
3867
|
protoOf(ActionsStateUpdateDto).x9w = function () {
|
|
3868
3868
|
return this.actions;
|
|
3869
3869
|
};
|
|
3870
3870
|
protoOf(ActionsStateUpdateDto).kf = function () {
|
|
3871
|
-
return this.
|
|
3871
|
+
return this.cfd_1;
|
|
3872
3872
|
};
|
|
3873
3873
|
protoOf(ActionsStateUpdateDto).lf = function () {
|
|
3874
3874
|
return this.actions;
|
|
@@ -3877,15 +3877,15 @@
|
|
|
3877
3877
|
return new ActionsStateUpdateDto(roomId, actions);
|
|
3878
3878
|
};
|
|
3879
3879
|
protoOf(ActionsStateUpdateDto).copy = function (roomId, actions, $super) {
|
|
3880
|
-
roomId = roomId === VOID ? this.
|
|
3880
|
+
roomId = roomId === VOID ? this.cfd_1 : roomId;
|
|
3881
3881
|
actions = actions === VOID ? this.actions : actions;
|
|
3882
3882
|
return $super === VOID ? this.d6b(roomId, actions) : $super.d6b.call(this, roomId, actions);
|
|
3883
3883
|
};
|
|
3884
3884
|
protoOf(ActionsStateUpdateDto).toString = function () {
|
|
3885
|
-
return 'ActionsStateUpdateDto(roomId=' + this.
|
|
3885
|
+
return 'ActionsStateUpdateDto(roomId=' + this.cfd_1 + ', actions=' + this.actions + ')';
|
|
3886
3886
|
};
|
|
3887
3887
|
protoOf(ActionsStateUpdateDto).hashCode = function () {
|
|
3888
|
-
var result = getStringHashCode(this.
|
|
3888
|
+
var result = getStringHashCode(this.cfd_1);
|
|
3889
3889
|
result = imul(result, 31) + getStringHashCode(this.actions) | 0;
|
|
3890
3890
|
return result;
|
|
3891
3891
|
};
|
|
@@ -3894,7 +3894,7 @@
|
|
|
3894
3894
|
return true;
|
|
3895
3895
|
if (!(other instanceof ActionsStateUpdateDto))
|
|
3896
3896
|
return false;
|
|
3897
|
-
if (!(this.
|
|
3897
|
+
if (!(this.cfd_1 === other.cfd_1))
|
|
3898
3898
|
return false;
|
|
3899
3899
|
if (!(this.actions === other.actions))
|
|
3900
3900
|
return false;
|
|
@@ -3914,7 +3914,7 @@
|
|
|
3914
3914
|
return tmp;
|
|
3915
3915
|
}
|
|
3916
3916
|
function mapToDto_2(_this__u8e3s4, encoderDecoderProvider) {
|
|
3917
|
-
return new TableStateUpdateDto(_this__u8e3s4.
|
|
3917
|
+
return new TableStateUpdateDto(_this__u8e3s4.dfd_1, encoderDecoderProvider.aa4(mapToDto(_this__u8e3s4.table)));
|
|
3918
3918
|
}
|
|
3919
3919
|
function mapToDto_3(_this__u8e3s4, encoderDecoderProvider) {
|
|
3920
3920
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -3927,39 +3927,39 @@
|
|
|
3927
3927
|
var tmp$ret$0 = mapToDto_0(item);
|
|
3928
3928
|
destination.e1(tmp$ret$0);
|
|
3929
3929
|
}
|
|
3930
|
-
return new ActionsStateUpdateDto(_this__u8e3s4.
|
|
3930
|
+
return new ActionsStateUpdateDto(_this__u8e3s4.efd_1, encoderDecoderProvider.ca4(destination));
|
|
3931
3931
|
}
|
|
3932
3932
|
function ServerStateUpdate() {
|
|
3933
3933
|
}
|
|
3934
3934
|
function TableStateUpdate(roomId, table) {
|
|
3935
|
-
this.
|
|
3935
|
+
this.dfd_1 = roomId;
|
|
3936
3936
|
this.table = table;
|
|
3937
3937
|
}
|
|
3938
3938
|
protoOf(TableStateUpdate).k9w = function () {
|
|
3939
|
-
return this.
|
|
3939
|
+
return this.dfd_1;
|
|
3940
3940
|
};
|
|
3941
3941
|
protoOf(TableStateUpdate).y7t = function () {
|
|
3942
3942
|
return this.table;
|
|
3943
3943
|
};
|
|
3944
3944
|
protoOf(TableStateUpdate).kf = function () {
|
|
3945
|
-
return this.
|
|
3945
|
+
return this.dfd_1;
|
|
3946
3946
|
};
|
|
3947
3947
|
protoOf(TableStateUpdate).lf = function () {
|
|
3948
3948
|
return this.table;
|
|
3949
3949
|
};
|
|
3950
|
-
protoOf(TableStateUpdate).
|
|
3950
|
+
protoOf(TableStateUpdate).ffd = function (roomId, table) {
|
|
3951
3951
|
return new TableStateUpdate(roomId, table);
|
|
3952
3952
|
};
|
|
3953
3953
|
protoOf(TableStateUpdate).copy = function (roomId, table, $super) {
|
|
3954
|
-
roomId = roomId === VOID ? this.
|
|
3954
|
+
roomId = roomId === VOID ? this.dfd_1 : roomId;
|
|
3955
3955
|
table = table === VOID ? this.table : table;
|
|
3956
|
-
return $super === VOID ? this.
|
|
3956
|
+
return $super === VOID ? this.ffd(roomId, table) : $super.ffd.call(this, roomId, table);
|
|
3957
3957
|
};
|
|
3958
3958
|
protoOf(TableStateUpdate).toString = function () {
|
|
3959
|
-
return 'TableStateUpdate(roomId=' + this.
|
|
3959
|
+
return 'TableStateUpdate(roomId=' + this.dfd_1 + ', table=' + this.table.toString() + ')';
|
|
3960
3960
|
};
|
|
3961
3961
|
protoOf(TableStateUpdate).hashCode = function () {
|
|
3962
|
-
var result = getStringHashCode(this.
|
|
3962
|
+
var result = getStringHashCode(this.dfd_1);
|
|
3963
3963
|
result = imul(result, 31) + this.table.hashCode() | 0;
|
|
3964
3964
|
return result;
|
|
3965
3965
|
};
|
|
@@ -3968,41 +3968,41 @@
|
|
|
3968
3968
|
return true;
|
|
3969
3969
|
if (!(other instanceof TableStateUpdate))
|
|
3970
3970
|
return false;
|
|
3971
|
-
if (!(this.
|
|
3971
|
+
if (!(this.dfd_1 === other.dfd_1))
|
|
3972
3972
|
return false;
|
|
3973
3973
|
if (!this.table.equals(other.table))
|
|
3974
3974
|
return false;
|
|
3975
3975
|
return true;
|
|
3976
3976
|
};
|
|
3977
3977
|
function ActionsStateUpdate(roomId, actions) {
|
|
3978
|
-
this.
|
|
3978
|
+
this.efd_1 = roomId;
|
|
3979
3979
|
this.actions = actions;
|
|
3980
3980
|
}
|
|
3981
3981
|
protoOf(ActionsStateUpdate).k9w = function () {
|
|
3982
|
-
return this.
|
|
3982
|
+
return this.efd_1;
|
|
3983
3983
|
};
|
|
3984
3984
|
protoOf(ActionsStateUpdate).x9w = function () {
|
|
3985
3985
|
return this.actions;
|
|
3986
3986
|
};
|
|
3987
3987
|
protoOf(ActionsStateUpdate).kf = function () {
|
|
3988
|
-
return this.
|
|
3988
|
+
return this.efd_1;
|
|
3989
3989
|
};
|
|
3990
3990
|
protoOf(ActionsStateUpdate).lf = function () {
|
|
3991
3991
|
return this.actions;
|
|
3992
3992
|
};
|
|
3993
|
-
protoOf(ActionsStateUpdate).
|
|
3993
|
+
protoOf(ActionsStateUpdate).gfd = function (roomId, actions) {
|
|
3994
3994
|
return new ActionsStateUpdate(roomId, actions);
|
|
3995
3995
|
};
|
|
3996
3996
|
protoOf(ActionsStateUpdate).copy = function (roomId, actions, $super) {
|
|
3997
|
-
roomId = roomId === VOID ? this.
|
|
3997
|
+
roomId = roomId === VOID ? this.efd_1 : roomId;
|
|
3998
3998
|
actions = actions === VOID ? this.actions : actions;
|
|
3999
|
-
return $super === VOID ? this.
|
|
3999
|
+
return $super === VOID ? this.gfd(roomId, actions) : $super.gfd.call(this, roomId, actions);
|
|
4000
4000
|
};
|
|
4001
4001
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
4002
|
-
return 'ActionsStateUpdate(roomId=' + this.
|
|
4002
|
+
return 'ActionsStateUpdate(roomId=' + this.efd_1 + ', actions=' + toString(this.actions) + ')';
|
|
4003
4003
|
};
|
|
4004
4004
|
protoOf(ActionsStateUpdate).hashCode = function () {
|
|
4005
|
-
var result = getStringHashCode(this.
|
|
4005
|
+
var result = getStringHashCode(this.efd_1);
|
|
4006
4006
|
result = imul(result, 31) + hashCode(this.actions) | 0;
|
|
4007
4007
|
return result;
|
|
4008
4008
|
};
|
|
@@ -4011,7 +4011,7 @@
|
|
|
4011
4011
|
return true;
|
|
4012
4012
|
if (!(other instanceof ActionsStateUpdate))
|
|
4013
4013
|
return false;
|
|
4014
|
-
if (!(this.
|
|
4014
|
+
if (!(this.efd_1 === other.efd_1))
|
|
4015
4015
|
return false;
|
|
4016
4016
|
if (!equals(this.actions, other.actions))
|
|
4017
4017
|
return false;
|
|
@@ -4251,18 +4251,18 @@
|
|
|
4251
4251
|
function ToClientEventsObserver() {
|
|
4252
4252
|
}
|
|
4253
4253
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
4254
|
-
this.
|
|
4255
|
-
this.
|
|
4254
|
+
this.qfd_1 = this$0;
|
|
4255
|
+
this.rfd_1 = $actions;
|
|
4256
4256
|
CoroutineImpl.call(this, resultContinuation);
|
|
4257
4257
|
}
|
|
4258
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
4259
|
-
var tmp = this.
|
|
4258
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).ufd = function ($this$flow, $completion) {
|
|
4259
|
+
var tmp = this.vfd($this$flow, $completion);
|
|
4260
4260
|
tmp.g9_1 = Unit_instance;
|
|
4261
4261
|
tmp.h9_1 = null;
|
|
4262
4262
|
return tmp.m9();
|
|
4263
4263
|
};
|
|
4264
4264
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).y9 = function (p1, $completion) {
|
|
4265
|
-
return this.
|
|
4265
|
+
return this.ufd((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
4266
4266
|
};
|
|
4267
4267
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).m9 = function () {
|
|
4268
4268
|
var suspendResult = this.g9_1;
|
|
@@ -4272,19 +4272,19 @@
|
|
|
4272
4272
|
switch (tmp) {
|
|
4273
4273
|
case 0:
|
|
4274
4274
|
this.f9_1 = 4;
|
|
4275
|
-
this.
|
|
4276
|
-
this.
|
|
4275
|
+
this.qfd_1.afe_1;
|
|
4276
|
+
this.tfd_1 = transformToEmits(this.qfd_1, this.rfd_1).t();
|
|
4277
4277
|
this.e9_1 = 1;
|
|
4278
4278
|
continue $sm;
|
|
4279
4279
|
case 1:
|
|
4280
|
-
if (!this.
|
|
4280
|
+
if (!this.tfd_1.u()) {
|
|
4281
4281
|
this.e9_1 = 3;
|
|
4282
4282
|
continue $sm;
|
|
4283
4283
|
}
|
|
4284
4284
|
|
|
4285
|
-
var element = this.
|
|
4285
|
+
var element = this.tfd_1.v();
|
|
4286
4286
|
this.e9_1 = 2;
|
|
4287
|
-
suspendResult = this.
|
|
4287
|
+
suspendResult = this.sfd_1.s26(element, this);
|
|
4288
4288
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4289
4289
|
return suspendResult;
|
|
4290
4290
|
}
|
|
@@ -4294,11 +4294,11 @@
|
|
|
4294
4294
|
this.e9_1 = 1;
|
|
4295
4295
|
continue $sm;
|
|
4296
4296
|
case 3:
|
|
4297
|
-
var tmp0 = this.
|
|
4297
|
+
var tmp0 = this.qfd_1.zfd_1;
|
|
4298
4298
|
l$ret$1: do {
|
|
4299
4299
|
while (true) {
|
|
4300
4300
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
4301
|
-
var upd = cur - this.
|
|
4301
|
+
var upd = cur - this.rfd_1.g1() | 0;
|
|
4302
4302
|
if (tmp0.atomicfu$compareAndSet(cur, upd)) {
|
|
4303
4303
|
break l$ret$1;
|
|
4304
4304
|
}
|
|
@@ -4320,15 +4320,15 @@
|
|
|
4320
4320
|
}
|
|
4321
4321
|
while (true);
|
|
4322
4322
|
};
|
|
4323
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
4324
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
4325
|
-
i.
|
|
4323
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).vfd = function ($this$flow, completion) {
|
|
4324
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.qfd_1, this.rfd_1, completion);
|
|
4325
|
+
i.sfd_1 = $this$flow;
|
|
4326
4326
|
return i;
|
|
4327
4327
|
};
|
|
4328
4328
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
4329
4329
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
4330
4330
|
var l = function ($this$flow, $completion) {
|
|
4331
|
-
return i.
|
|
4331
|
+
return i.ufd($this$flow, $completion);
|
|
4332
4332
|
};
|
|
4333
4333
|
l.$arity = 1;
|
|
4334
4334
|
return l;
|
|
@@ -4398,29 +4398,29 @@
|
|
|
4398
4398
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
4399
4399
|
}
|
|
4400
4400
|
function mapFromGroupKey($this, _this__u8e3s4) {
|
|
4401
|
-
var tmp = $this.
|
|
4401
|
+
var tmp = $this.yfd_1.k7e();
|
|
4402
4402
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
4403
|
-
var this_0 = _this__u8e3s4.
|
|
4403
|
+
var this_0 = _this__u8e3s4.dfe_1;
|
|
4404
4404
|
var tmp_0 = copyToArray(this_0);
|
|
4405
4405
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
4406
|
-
var this_1 = _this__u8e3s4.
|
|
4406
|
+
var this_1 = _this__u8e3s4.efe_1;
|
|
4407
4407
|
var tmp$ret$1 = copyToArray(this_1);
|
|
4408
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
4408
|
+
return new ActionDeliveryPayload(_this__u8e3s4.cfe_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.ffe_1);
|
|
4409
4409
|
}
|
|
4410
4410
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
4411
|
-
this.
|
|
4412
|
-
this.
|
|
4413
|
-
this.
|
|
4414
|
-
this.
|
|
4411
|
+
this.cfe_1 = tableId;
|
|
4412
|
+
this.dfe_1 = includePlayers;
|
|
4413
|
+
this.efe_1 = excludePlayers;
|
|
4414
|
+
this.ffe_1 = deliveryType;
|
|
4415
4415
|
}
|
|
4416
4416
|
protoOf(GroupKey).toString = function () {
|
|
4417
|
-
return 'GroupKey(tableId=' + this.
|
|
4417
|
+
return 'GroupKey(tableId=' + this.cfe_1 + ', includePlayers=' + toString(this.dfe_1) + ', excludePlayers=' + toString(this.efe_1) + ', deliveryType=' + this.ffe_1.toString() + ')';
|
|
4418
4418
|
};
|
|
4419
4419
|
protoOf(GroupKey).hashCode = function () {
|
|
4420
|
-
var result = getStringHashCode(this.
|
|
4421
|
-
result = imul(result, 31) + hashCode(this.
|
|
4422
|
-
result = imul(result, 31) + hashCode(this.
|
|
4423
|
-
result = imul(result, 31) + this.
|
|
4420
|
+
var result = getStringHashCode(this.cfe_1);
|
|
4421
|
+
result = imul(result, 31) + hashCode(this.dfe_1) | 0;
|
|
4422
|
+
result = imul(result, 31) + hashCode(this.efe_1) | 0;
|
|
4423
|
+
result = imul(result, 31) + this.ffe_1.hashCode() | 0;
|
|
4424
4424
|
return result;
|
|
4425
4425
|
};
|
|
4426
4426
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -4428,35 +4428,35 @@
|
|
|
4428
4428
|
return true;
|
|
4429
4429
|
if (!(other instanceof GroupKey))
|
|
4430
4430
|
return false;
|
|
4431
|
-
if (!(this.
|
|
4431
|
+
if (!(this.cfe_1 === other.cfe_1))
|
|
4432
4432
|
return false;
|
|
4433
|
-
if (!equals(this.
|
|
4433
|
+
if (!equals(this.dfe_1, other.dfe_1))
|
|
4434
4434
|
return false;
|
|
4435
|
-
if (!equals(this.
|
|
4435
|
+
if (!equals(this.efe_1, other.efe_1))
|
|
4436
4436
|
return false;
|
|
4437
|
-
if (!this.
|
|
4437
|
+
if (!this.ffe_1.equals(other.ffe_1))
|
|
4438
4438
|
return false;
|
|
4439
4439
|
return true;
|
|
4440
4440
|
};
|
|
4441
4441
|
function Companion_4() {
|
|
4442
|
-
this.
|
|
4442
|
+
this.gfe_1 = 6;
|
|
4443
4443
|
}
|
|
4444
4444
|
var Companion_instance_15;
|
|
4445
4445
|
function Companion_getInstance_5() {
|
|
4446
4446
|
return Companion_instance_15;
|
|
4447
4447
|
}
|
|
4448
4448
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
4449
|
-
this.
|
|
4449
|
+
this.pfe_1 = this$0;
|
|
4450
4450
|
CoroutineImpl.call(this, resultContinuation);
|
|
4451
4451
|
}
|
|
4452
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
4453
|
-
var tmp = this.
|
|
4452
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).rfe = function (actions, $completion) {
|
|
4453
|
+
var tmp = this.sfe(actions, $completion);
|
|
4454
4454
|
tmp.g9_1 = Unit_instance;
|
|
4455
4455
|
tmp.h9_1 = null;
|
|
4456
4456
|
return tmp.m9();
|
|
4457
4457
|
};
|
|
4458
4458
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).y9 = function (p1, $completion) {
|
|
4459
|
-
return this.
|
|
4459
|
+
return this.rfe((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
4460
4460
|
};
|
|
4461
4461
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).m9 = function () {
|
|
4462
4462
|
var suspendResult = this.g9_1;
|
|
@@ -4465,7 +4465,7 @@
|
|
|
4465
4465
|
var tmp = this.e9_1;
|
|
4466
4466
|
if (tmp === 0) {
|
|
4467
4467
|
this.f9_1 = 1;
|
|
4468
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
4468
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.pfe_1, this.qfe_1, null));
|
|
4469
4469
|
} else if (tmp === 1) {
|
|
4470
4470
|
throw this.h9_1;
|
|
4471
4471
|
}
|
|
@@ -4475,23 +4475,23 @@
|
|
|
4475
4475
|
}
|
|
4476
4476
|
while (true);
|
|
4477
4477
|
};
|
|
4478
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
4479
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
4480
|
-
i.
|
|
4478
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).sfe = function (actions, completion) {
|
|
4479
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.pfe_1, completion);
|
|
4480
|
+
i.qfe_1 = actions;
|
|
4481
4481
|
return i;
|
|
4482
4482
|
};
|
|
4483
4483
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
4484
4484
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
4485
4485
|
var l = function (actions, $completion) {
|
|
4486
|
-
return i.
|
|
4486
|
+
return i.rfe(actions, $completion);
|
|
4487
4487
|
};
|
|
4488
4488
|
l.$arity = 1;
|
|
4489
4489
|
return l;
|
|
4490
4490
|
}
|
|
4491
4491
|
function $sentEventCOROUTINE$(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
4492
4492
|
CoroutineImpl.call(this, resultContinuation);
|
|
4493
|
-
this.
|
|
4494
|
-
this.
|
|
4493
|
+
this.bff_1 = _this__u8e3s4;
|
|
4494
|
+
this.cff_1 = fromEvent;
|
|
4495
4495
|
}
|
|
4496
4496
|
protoOf($sentEventCOROUTINE$).m9 = function () {
|
|
4497
4497
|
var suspendResult = this.g9_1;
|
|
@@ -4501,8 +4501,8 @@
|
|
|
4501
4501
|
switch (tmp) {
|
|
4502
4502
|
case 0:
|
|
4503
4503
|
this.f9_1 = 2;
|
|
4504
|
-
this.
|
|
4505
|
-
var tmp0 = this.
|
|
4504
|
+
this.bff_1.afe_1;
|
|
4505
|
+
var tmp0 = this.bff_1.zfd_1;
|
|
4506
4506
|
l$ret$1: do {
|
|
4507
4507
|
while (true) {
|
|
4508
4508
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
@@ -4514,7 +4514,7 @@
|
|
|
4514
4514
|
}
|
|
4515
4515
|
while (false);
|
|
4516
4516
|
this.e9_1 = 1;
|
|
4517
|
-
suspendResult = this.
|
|
4517
|
+
suspendResult = this.bff_1.bfe_1.s26(this.cff_1, this);
|
|
4518
4518
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4519
4519
|
return suspendResult;
|
|
4520
4520
|
}
|
|
@@ -4538,7 +4538,7 @@
|
|
|
4538
4538
|
};
|
|
4539
4539
|
function $waitForCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
4540
4540
|
CoroutineImpl.call(this, resultContinuation);
|
|
4541
|
-
this.
|
|
4541
|
+
this.lff_1 = _this__u8e3s4;
|
|
4542
4542
|
}
|
|
4543
4543
|
protoOf($waitForCOROUTINE$).m9 = function () {
|
|
4544
4544
|
var suspendResult = this.g9_1;
|
|
@@ -4548,12 +4548,12 @@
|
|
|
4548
4548
|
switch (tmp) {
|
|
4549
4549
|
case 0:
|
|
4550
4550
|
this.f9_1 = 5;
|
|
4551
|
-
this.
|
|
4552
|
-
this.
|
|
4551
|
+
this.lff_1.afe_1;
|
|
4552
|
+
this.mff_1 = 0;
|
|
4553
4553
|
this.e9_1 = 1;
|
|
4554
4554
|
continue $sm;
|
|
4555
4555
|
case 1:
|
|
4556
|
-
if (!!(this.
|
|
4556
|
+
if (!!(this.lff_1.zfd_1.kotlinx$atomicfu$value === 0)) {
|
|
4557
4557
|
this.e9_1 = 4;
|
|
4558
4558
|
continue $sm;
|
|
4559
4559
|
}
|
|
@@ -4566,9 +4566,9 @@
|
|
|
4566
4566
|
|
|
4567
4567
|
continue $sm;
|
|
4568
4568
|
case 2:
|
|
4569
|
-
this.
|
|
4570
|
-
if (this.
|
|
4571
|
-
this.
|
|
4569
|
+
this.mff_1 = this.mff_1 + 1 | 0;
|
|
4570
|
+
if (this.mff_1 > 6) {
|
|
4571
|
+
this.lff_1.xfd_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.lff_1.zfd_1.kotlinx$atomicfu$value);
|
|
4572
4572
|
this.e9_1 = 4;
|
|
4573
4573
|
continue $sm;
|
|
4574
4574
|
} else {
|
|
@@ -4596,54 +4596,54 @@
|
|
|
4596
4596
|
while (true);
|
|
4597
4597
|
};
|
|
4598
4598
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
4599
|
-
this.
|
|
4600
|
-
this.
|
|
4601
|
-
this.
|
|
4602
|
-
this.
|
|
4599
|
+
this.wfd_1 = serverReduxConfig;
|
|
4600
|
+
this.xfd_1 = logger;
|
|
4601
|
+
this.yfd_1 = idsProvider;
|
|
4602
|
+
this.zfd_1 = atomic$ref$1(0);
|
|
4603
4603
|
var tmp = this;
|
|
4604
4604
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
4605
|
-
tmp.
|
|
4606
|
-
this.
|
|
4605
|
+
tmp.afe_1 = get_atomicfu$reentrantLock();
|
|
4606
|
+
this.bfe_1 = MutableSharedFlow();
|
|
4607
4607
|
}
|
|
4608
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4608
|
+
protoOf(ToClientEventsObserverImpl).hfd = function (fromEvent, $completion) {
|
|
4609
4609
|
var tmp = new $sentEventCOROUTINE$(this, fromEvent, $completion);
|
|
4610
4610
|
tmp.g9_1 = Unit_instance;
|
|
4611
4611
|
tmp.h9_1 = null;
|
|
4612
4612
|
return tmp.m9();
|
|
4613
4613
|
};
|
|
4614
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4614
|
+
protoOf(ToClientEventsObserverImpl).ias = function ($completion) {
|
|
4615
4615
|
var tmp = new $waitForCOROUTINE$(this, $completion);
|
|
4616
4616
|
tmp.g9_1 = Unit_instance;
|
|
4617
4617
|
tmp.h9_1 = null;
|
|
4618
4618
|
return tmp.m9();
|
|
4619
4619
|
};
|
|
4620
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4621
|
-
if (!this.
|
|
4622
|
-
return this.
|
|
4620
|
+
protoOf(ToClientEventsObserverImpl).ac2 = function () {
|
|
4621
|
+
if (!this.wfd_1.enabledCombinedEvents) {
|
|
4622
|
+
return this.bfe_1;
|
|
4623
4623
|
}
|
|
4624
|
-
var tmp = windowedByInterval(this.
|
|
4624
|
+
var tmp = windowedByInterval(this.bfe_1, fromInt(this.wfd_1.combinedEventsIntervalMillis));
|
|
4625
4625
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
4626
4626
|
};
|
|
4627
4627
|
function PlayerConnectionInteractor() {
|
|
4628
4628
|
}
|
|
4629
4629
|
function waitPlayerOrDisconnect($this, newConnectionState, previousConnectionState, table, player, waitForPlayer) {
|
|
4630
|
-
if (waitForPlayer && $this.
|
|
4630
|
+
if (waitForPlayer && $this.qff_1.waitForPlayerToReconnect) {
|
|
4631
4631
|
Companion_getInstance();
|
|
4632
4632
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
4633
|
-
var this_0 = $this.
|
|
4633
|
+
var this_0 = $this.qff_1.reconnectionCheckDurationMillis;
|
|
4634
4634
|
var reconnectionCheckDurationMillis = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
4635
4635
|
var noRecentReconnects = Duration__compareTo_impl_pchp0f(table.gameDuration, reconnectionCheckDurationMillis) < 0 || player.m7x_1.v78().p77(reconnectionCheckDurationMillis);
|
|
4636
4636
|
if (noRecentReconnects) {
|
|
4637
|
-
return $this.
|
|
4637
|
+
return $this.off(player.playerId, newConnectionState, previousConnectionState);
|
|
4638
4638
|
}
|
|
4639
4639
|
}
|
|
4640
|
-
var canRemoveGameWhenNoPlayers = Companion_instance_2.k7x($this.
|
|
4640
|
+
var canRemoveGameWhenNoPlayers = Companion_instance_2.k7x($this.qff_1.finishGameWhenNotLiveStrategy, player.playerId, table.players);
|
|
4641
4641
|
if (canRemoveGameWhenNoPlayers) {
|
|
4642
|
-
return listOf($this.
|
|
4642
|
+
return listOf($this.uff_1.iab(mapToFinishReason(newConnectionState, player, table.playersConnections), table, 'Disconnect: No Players to continue game'));
|
|
4643
4643
|
}
|
|
4644
4644
|
if (table.sceneInfo.n8j()) {
|
|
4645
|
-
if (!$this.
|
|
4646
|
-
return listOf($this.
|
|
4645
|
+
if (!$this.rff_1.openRoomIfFinished) {
|
|
4646
|
+
return listOf($this.uff_1.iab(mapToFinishReason(newConnectionState, player, table.playersConnections), table, 'Disconnect: Game is finished'));
|
|
4647
4647
|
}
|
|
4648
4648
|
// Inline function 'kotlin.collections.filter' call
|
|
4649
4649
|
var tmp0 = table.players;
|
|
@@ -4718,27 +4718,27 @@
|
|
|
4718
4718
|
}
|
|
4719
4719
|
var readyLivePlayers = destination_3;
|
|
4720
4720
|
var usersToJoinRoomSize = table.players.g1() - notAlivePlayers.g1() | 0;
|
|
4721
|
-
if ($this.
|
|
4722
|
-
return listOf($this.
|
|
4721
|
+
if ($this.rff_1.minPlayersToOpenRoom >= usersToJoinRoomSize) {
|
|
4722
|
+
return listOf($this.uff_1.iab(mapToFinishReason(newConnectionState, player, table.playersConnections), table, 'Disconnect: Not enough users to create room'));
|
|
4723
4723
|
}
|
|
4724
4724
|
var allPlayersMadeDecision = (readyLivePlayers.g1() + notAlivePlayers.g1() | 0) === table.players.g1();
|
|
4725
4725
|
if (allPlayersMadeDecision) {
|
|
4726
|
-
var tmp0_$this = $this.
|
|
4726
|
+
var tmp0_$this = $this.uff_1;
|
|
4727
4727
|
var tmp1_reason = mapToFinishReason(newConnectionState, player, table.playersConnections);
|
|
4728
4728
|
return listOf(tmp0_$this.hab(tmp1_reason, table, 'Disconnect: Game is finished, transition to room', readyLivePlayers));
|
|
4729
4729
|
}
|
|
4730
4730
|
}
|
|
4731
|
-
if (!$this.
|
|
4732
|
-
return listOf($this.
|
|
4731
|
+
if (!$this.qff_1.botReplacesPlayerAfterTimeout) {
|
|
4732
|
+
return listOf($this.uff_1.iab(mapToFinishReason(newConnectionState, player, table.playersConnections), table, "Disconnect: Can't continue game without bots"));
|
|
4733
4733
|
}
|
|
4734
4734
|
return getPlayerDisconnectedActions($this, newConnectionState, previousConnectionState, player);
|
|
4735
4735
|
}
|
|
4736
4736
|
function getPlayerConnectedActions($this, player, table, previousConnectionState) {
|
|
4737
4737
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
4738
4738
|
var actionsList = ArrayList_init_$Create$_0();
|
|
4739
|
-
actionsList.i1(listOf_0([new PlayerConnectionChangedMechanicAction(player.playerId, PlayerConnectionState_LIVE_getInstance(), previousConnectionState), $this.
|
|
4739
|
+
actionsList.i1(listOf_0([new PlayerConnectionChangedMechanicAction(player.playerId, PlayerConnectionState_LIVE_getInstance(), previousConnectionState), $this.ofa(player, table)]));
|
|
4740
4740
|
if (player.m7x_1.e77()) {
|
|
4741
|
-
actionsList.i1(listOf_0([new StopTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.m7x_1.l78())), new StartTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.m7x_1.l78(), true), _Duration___get_inWholeMilliseconds__impl__msfiry($this.
|
|
4741
|
+
actionsList.i1(listOf_0([new StopTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.m7x_1.l78())), new StartTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.m7x_1.l78(), true), _Duration___get_inWholeMilliseconds__impl__msfiry($this.sff_1.lay(table.config)), VOID, TimerType_DELAY_getInstance())]));
|
|
4742
4742
|
}
|
|
4743
4743
|
return actionsList;
|
|
4744
4744
|
}
|
|
@@ -4752,13 +4752,13 @@
|
|
|
4752
4752
|
return actionsList;
|
|
4753
4753
|
}
|
|
4754
4754
|
function PlayerConnectionInteractorImpl(serverConfig, engineLogicConfig, playerTurnMechanicReducer, idsProvider, gameLifecycleInteractor) {
|
|
4755
|
-
this.
|
|
4756
|
-
this.
|
|
4757
|
-
this.
|
|
4758
|
-
this.
|
|
4759
|
-
this.
|
|
4755
|
+
this.qff_1 = serverConfig;
|
|
4756
|
+
this.rff_1 = engineLogicConfig;
|
|
4757
|
+
this.sff_1 = playerTurnMechanicReducer;
|
|
4758
|
+
this.tff_1 = idsProvider;
|
|
4759
|
+
this.uff_1 = gameLifecycleInteractor;
|
|
4760
4760
|
}
|
|
4761
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4761
|
+
protoOf(PlayerConnectionInteractorImpl).nff = function (newConnectionState, previousConnectionState, player, table, afterReconnection) {
|
|
4762
4762
|
var tmp;
|
|
4763
4763
|
switch (newConnectionState.a1_1) {
|
|
4764
4764
|
case 1:
|
|
@@ -4791,18 +4791,18 @@
|
|
|
4791
4791
|
}
|
|
4792
4792
|
return tmp;
|
|
4793
4793
|
};
|
|
4794
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4794
|
+
protoOf(PlayerConnectionInteractorImpl).qfc = function (sendToPlayerId, isLive, tableId, reason, isGameFinished) {
|
|
4795
4795
|
if (!isLive) {
|
|
4796
4796
|
return emptyList();
|
|
4797
4797
|
}
|
|
4798
|
-
var tmp0_deliveryPayload = Companion_instance_1.user(this.
|
|
4798
|
+
var tmp0_deliveryPayload = Companion_instance_1.user(this.tff_1.k7e(), tableId, sendToPlayerId);
|
|
4799
4799
|
var tmp = new FinishingGameToClientAction(reason, isGameFinished, null, tmp0_deliveryPayload);
|
|
4800
|
-
var tmp1_deliveryPayload = Companion_instance_1.user(this.
|
|
4800
|
+
var tmp1_deliveryPayload = Companion_instance_1.user(this.tff_1.k7e(), tableId, sendToPlayerId);
|
|
4801
4801
|
return listOf_0([tmp, new FinishGameToClientAction(reason, isGameFinished, null, tmp1_deliveryPayload)]);
|
|
4802
4802
|
};
|
|
4803
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4804
|
-
var updatedTable = this.
|
|
4805
|
-
var aid = this.
|
|
4803
|
+
protoOf(PlayerConnectionInteractorImpl).ofa = function (sendToPlayer, table) {
|
|
4804
|
+
var updatedTable = this.sff_1.maw(table, sendToPlayer.playerId, PlayerConnectionState_LIVE_getInstance(), null);
|
|
4805
|
+
var aid = this.tff_1.k7e();
|
|
4806
4806
|
var tmp4_deliveryPayload = Companion_instance_1.userFromTable(aid, updatedTable, sendToPlayer.playerId);
|
|
4807
4807
|
var tmp0_playerId = sendToPlayer.playerId;
|
|
4808
4808
|
var tmp1_gameCreatorPlayerId = getGameCreator(updatedTable.players).playerId;
|
|
@@ -4821,24 +4821,24 @@
|
|
|
4821
4821
|
var tmp6_reason = new PlayerReturnsReason(sendToPlayer.playerId);
|
|
4822
4822
|
return new ContinueGameToClientAction(tmp5_table, tmp6_reason, null, tmp4_deliveryPayload);
|
|
4823
4823
|
};
|
|
4824
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4824
|
+
protoOf(PlayerConnectionInteractorImpl).off = function (playerId, newConnectionState, previousConnectionState) {
|
|
4825
4825
|
var tmp = System_instance.ik();
|
|
4826
4826
|
Companion_getInstance();
|
|
4827
4827
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
4828
|
-
var this_0 = this.
|
|
4828
|
+
var this_0 = this.qff_1.waitForPlayerToReconnectTimeOutMillis;
|
|
4829
4829
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
4830
4830
|
var reconnectUntilTime = tmp.gl(tmp$ret$0);
|
|
4831
4831
|
var tmp0_state = PlayerConnectionState_DISCONNECTING_getInstance();
|
|
4832
4832
|
var tmp1_reconnectUntilTime = reconnectUntilTime.toString();
|
|
4833
|
-
return listOf_0([new PlayerConnectionChangedMechanicAction(playerId, tmp0_state, previousConnectionState, newConnectionState, false, tmp1_reconnectUntilTime), new StartTimerAction(new PlayerReconnectionWaitingTimerTag(playerId, newConnectionState, previousConnectionState), fromInt(this.
|
|
4833
|
+
return listOf_0([new PlayerConnectionChangedMechanicAction(playerId, tmp0_state, previousConnectionState, newConnectionState, false, tmp1_reconnectUntilTime), new StartTimerAction(new PlayerReconnectionWaitingTimerTag(playerId, newConnectionState, previousConnectionState), fromInt(this.qff_1.waitForPlayerToReconnectTimeOutMillis), VOID, TimerType_DELAY_getInstance())]);
|
|
4834
4834
|
};
|
|
4835
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4835
|
+
protoOf(PlayerConnectionInteractorImpl).pff = function (isBot, playerId, connectedPlayers) {
|
|
4836
4836
|
var tmp;
|
|
4837
4837
|
if (isBot) {
|
|
4838
4838
|
tmp = Companion_instance_3.k77(PlayerConnectionState_LEFT_PERMANENTLY_getInstance());
|
|
4839
4839
|
} else {
|
|
4840
4840
|
var tmp_0;
|
|
4841
|
-
if (this.
|
|
4841
|
+
if (this.qff_1.waitForPlayerToConnectOnStart) {
|
|
4842
4842
|
var tmp_1;
|
|
4843
4843
|
if (connectedPlayers.m2(playerId)) {
|
|
4844
4844
|
tmp_1 = Companion_instance_3.k77(PlayerConnectionState_LIVE_getInstance());
|
|
@@ -4854,154 +4854,154 @@
|
|
|
4854
4854
|
return tmp;
|
|
4855
4855
|
};
|
|
4856
4856
|
function UpdateServerConfigAction(serverConfig) {
|
|
4857
|
-
this.
|
|
4857
|
+
this.vff_1 = serverConfig;
|
|
4858
4858
|
}
|
|
4859
4859
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
4860
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
4860
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.vff_1.toString() + ')';
|
|
4861
4861
|
};
|
|
4862
4862
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
4863
|
-
return this.
|
|
4863
|
+
return this.vff_1.hashCode();
|
|
4864
4864
|
};
|
|
4865
4865
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
4866
4866
|
if (this === other)
|
|
4867
4867
|
return true;
|
|
4868
4868
|
if (!(other instanceof UpdateServerConfigAction))
|
|
4869
4869
|
return false;
|
|
4870
|
-
if (!this.
|
|
4870
|
+
if (!this.vff_1.equals(other.vff_1))
|
|
4871
4871
|
return false;
|
|
4872
4872
|
return true;
|
|
4873
4873
|
};
|
|
4874
4874
|
function AddSpectatorsAction(spectators) {
|
|
4875
|
-
this.
|
|
4875
|
+
this.wff_1 = spectators;
|
|
4876
4876
|
}
|
|
4877
4877
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
4878
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
4878
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.wff_1) + ')';
|
|
4879
4879
|
};
|
|
4880
4880
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
4881
|
-
return hashCode(this.
|
|
4881
|
+
return hashCode(this.wff_1);
|
|
4882
4882
|
};
|
|
4883
4883
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
4884
4884
|
if (this === other)
|
|
4885
4885
|
return true;
|
|
4886
4886
|
if (!(other instanceof AddSpectatorsAction))
|
|
4887
4887
|
return false;
|
|
4888
|
-
if (!equals(this.
|
|
4888
|
+
if (!equals(this.wff_1, other.wff_1))
|
|
4889
4889
|
return false;
|
|
4890
4890
|
return true;
|
|
4891
4891
|
};
|
|
4892
4892
|
function RemoveSpectatorsAction(spectators) {
|
|
4893
|
-
this.
|
|
4893
|
+
this.xff_1 = spectators;
|
|
4894
4894
|
}
|
|
4895
4895
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
4896
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
4896
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.xff_1) + ')';
|
|
4897
4897
|
};
|
|
4898
4898
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
4899
|
-
return hashCode(this.
|
|
4899
|
+
return hashCode(this.xff_1);
|
|
4900
4900
|
};
|
|
4901
4901
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
4902
4902
|
if (this === other)
|
|
4903
4903
|
return true;
|
|
4904
4904
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
4905
4905
|
return false;
|
|
4906
|
-
if (!equals(this.
|
|
4906
|
+
if (!equals(this.xff_1, other.xff_1))
|
|
4907
4907
|
return false;
|
|
4908
4908
|
return true;
|
|
4909
4909
|
};
|
|
4910
4910
|
function SpectatorsAction() {
|
|
4911
4911
|
}
|
|
4912
4912
|
function _get_asyncProvider__jbpyhw($this) {
|
|
4913
|
-
var tmp0 = $this.
|
|
4913
|
+
var tmp0 = $this.dfg_1;
|
|
4914
4914
|
var tmp = KProperty1;
|
|
4915
4915
|
// Inline function 'kotlin.getValue' call
|
|
4916
4916
|
getPropertyCallableRef('asyncProvider', 1, tmp, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3_0(), null);
|
|
4917
4917
|
return tmp0.o1();
|
|
4918
4918
|
}
|
|
4919
4919
|
function _get_logger__rkp4sl($this) {
|
|
4920
|
-
var tmp0 = $this.
|
|
4920
|
+
var tmp0 = $this.efg_1;
|
|
4921
4921
|
var tmp = KProperty1;
|
|
4922
4922
|
// Inline function 'kotlin.getValue' call
|
|
4923
4923
|
getPropertyCallableRef('logger', 1, tmp, ServerGameStoreContract$_get_logger_$ref_zbgw28_0(), null);
|
|
4924
4924
|
return tmp0.o1();
|
|
4925
4925
|
}
|
|
4926
4926
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
4927
|
-
var tmp0 = $this.
|
|
4927
|
+
var tmp0 = $this.ffg_1;
|
|
4928
4928
|
var tmp = KProperty1;
|
|
4929
4929
|
// Inline function 'kotlin.getValue' call
|
|
4930
4930
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8_0(), null);
|
|
4931
4931
|
return tmp0.o1();
|
|
4932
4932
|
}
|
|
4933
4933
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
4934
|
-
var tmp0 = $this.
|
|
4934
|
+
var tmp0 = $this.gfg_1;
|
|
4935
4935
|
var tmp = KProperty1;
|
|
4936
4936
|
// Inline function 'kotlin.getValue' call
|
|
4937
4937
|
getPropertyCallableRef('lastCardInteractor', 1, tmp, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh_0(), null);
|
|
4938
4938
|
return tmp0.o1();
|
|
4939
4939
|
}
|
|
4940
4940
|
function _get_serverConfig__rk2g06($this) {
|
|
4941
|
-
var tmp0 = $this.
|
|
4941
|
+
var tmp0 = $this.hfg_1;
|
|
4942
4942
|
var tmp = KProperty1;
|
|
4943
4943
|
// Inline function 'kotlin.getValue' call
|
|
4944
4944
|
getPropertyCallableRef('serverConfig', 1, tmp, ServerGameStoreContract$_get_serverConfig_$ref_bz2891_0(), null);
|
|
4945
4945
|
return tmp0.o1();
|
|
4946
4946
|
}
|
|
4947
4947
|
function _get_logicConfig__52ww9d($this) {
|
|
4948
|
-
var tmp0 = $this.
|
|
4948
|
+
var tmp0 = $this.ifg_1;
|
|
4949
4949
|
var tmp = KProperty1;
|
|
4950
4950
|
// Inline function 'kotlin.getValue' call
|
|
4951
4951
|
getPropertyCallableRef('logicConfig', 1, tmp, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi_0(), null);
|
|
4952
4952
|
return tmp0.o1();
|
|
4953
4953
|
}
|
|
4954
4954
|
function _get_idsProvider__fnfajc_0($this) {
|
|
4955
|
-
var tmp0 = $this.
|
|
4955
|
+
var tmp0 = $this.jfg_1;
|
|
4956
4956
|
var tmp = KProperty1;
|
|
4957
4957
|
// Inline function 'kotlin.getValue' call
|
|
4958
4958
|
getPropertyCallableRef('idsProvider', 1, tmp, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1_0(), null);
|
|
4959
4959
|
return tmp0.o1();
|
|
4960
4960
|
}
|
|
4961
4961
|
function _get_botConfig__cpaxzc($this) {
|
|
4962
|
-
var tmp0 = $this.
|
|
4962
|
+
var tmp0 = $this.kfg_1;
|
|
4963
4963
|
var tmp = KProperty1;
|
|
4964
4964
|
// Inline function 'kotlin.getValue' call
|
|
4965
4965
|
getPropertyCallableRef('botConfig', 1, tmp, ServerGameStoreContract$_get_botConfig_$ref_nebw1d_0(), null);
|
|
4966
4966
|
return tmp0.o1();
|
|
4967
4967
|
}
|
|
4968
4968
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
4969
|
-
var tmp0 = $this.
|
|
4969
|
+
var tmp0 = $this.lfg_1;
|
|
4970
4970
|
var tmp = KProperty1;
|
|
4971
4971
|
// Inline function 'kotlin.getValue' call
|
|
4972
4972
|
getPropertyCallableRef('scenePositionProvider', 1, tmp, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4_0(), null);
|
|
4973
4973
|
return tmp0.o1();
|
|
4974
4974
|
}
|
|
4975
4975
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
4976
|
-
var tmp0 = $this.
|
|
4976
|
+
var tmp0 = $this.mfg_1;
|
|
4977
4977
|
var tmp = KProperty1;
|
|
4978
4978
|
// Inline function 'kotlin.getValue' call
|
|
4979
4979
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p_0(), null);
|
|
4980
4980
|
return tmp0.o1();
|
|
4981
4981
|
}
|
|
4982
4982
|
function _get_fromClientEventsObserver__a7vzd3_0($this) {
|
|
4983
|
-
var tmp0 = $this.
|
|
4983
|
+
var tmp0 = $this.nfg_1;
|
|
4984
4984
|
var tmp = KProperty1;
|
|
4985
4985
|
// Inline function 'kotlin.getValue' call
|
|
4986
4986
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg_0(), null);
|
|
4987
4987
|
return tmp0.o1();
|
|
4988
4988
|
}
|
|
4989
4989
|
function _get_dealerConfig__183ci8($this) {
|
|
4990
|
-
var tmp0 = $this.
|
|
4990
|
+
var tmp0 = $this.ofg_1;
|
|
4991
4991
|
var tmp = KProperty1;
|
|
4992
4992
|
// Inline function 'kotlin.getValue' call
|
|
4993
4993
|
getPropertyCallableRef('dealerConfig', 1, tmp, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp_0(), null);
|
|
4994
4994
|
return tmp0.o1();
|
|
4995
4995
|
}
|
|
4996
4996
|
function _get_poolProvider__tqti6a($this) {
|
|
4997
|
-
var tmp0 = $this.
|
|
4997
|
+
var tmp0 = $this.pfg_1;
|
|
4998
4998
|
var tmp = KProperty1;
|
|
4999
4999
|
// Inline function 'kotlin.getValue' call
|
|
5000
5000
|
getPropertyCallableRef('poolProvider', 1, tmp, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3_0(), null);
|
|
5001
5001
|
return tmp0.o1();
|
|
5002
5002
|
}
|
|
5003
5003
|
function _get_cardsDealerProvider__bekjpg($this) {
|
|
5004
|
-
var tmp0 = $this.
|
|
5004
|
+
var tmp0 = $this.qfg_1;
|
|
5005
5005
|
var tmp = KProperty1;
|
|
5006
5006
|
// Inline function 'kotlin.getValue' call
|
|
5007
5007
|
getPropertyCallableRef('cardsDealerProvider', 1, tmp, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj_0(), null);
|
|
@@ -5165,11 +5165,11 @@
|
|
|
5165
5165
|
tmp = fileLoggerStoreContract;
|
|
5166
5166
|
}
|
|
5167
5167
|
fileLoggerStoreContract = tmp;
|
|
5168
|
-
this.
|
|
5169
|
-
this.
|
|
5170
|
-
this.
|
|
5171
|
-
this.
|
|
5172
|
-
this.
|
|
5168
|
+
this.yff_1 = validationStoreContract;
|
|
5169
|
+
this.zff_1 = timersStoreContract;
|
|
5170
|
+
this.afg_1 = botGameStoreContract;
|
|
5171
|
+
this.bfg_1 = gameMechanicStoreContract;
|
|
5172
|
+
this.cfg_1 = fileLoggerStoreContract;
|
|
5173
5173
|
var tmp_0 = this;
|
|
5174
5174
|
// Inline function 'org.kodein.di.instance' call
|
|
5175
5175
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5177,7 +5177,7 @@
|
|
|
5177
5177
|
var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
|
|
5178
5178
|
var tmp_2 = Instance(di, tmp$ret$0, null);
|
|
5179
5179
|
var tmp_3 = KProperty1;
|
|
5180
|
-
tmp_0.
|
|
5180
|
+
tmp_0.dfg_1 = tmp_2.y1h(this, getPropertyCallableRef('asyncProvider', 1, tmp_3, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3(), null));
|
|
5181
5181
|
var tmp_4 = 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$2 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
5186
5186
|
var tmp_6 = Instance(di, tmp$ret$2, null);
|
|
5187
5187
|
var tmp_7 = KProperty1;
|
|
5188
|
-
tmp_4.
|
|
5188
|
+
tmp_4.efg_1 = tmp_6.y1h(this, getPropertyCallableRef('logger', 1, tmp_7, ServerGameStoreContract$_get_logger_$ref_zbgw28(), null));
|
|
5189
5189
|
var tmp_8 = 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$4 = isInterface(tmp_9, TypeToken) ? tmp_9 : THROW_CCE();
|
|
5194
5194
|
var tmp_10 = Instance(di, tmp$ret$4, null);
|
|
5195
5195
|
var tmp_11 = KProperty1;
|
|
5196
|
-
tmp_8.
|
|
5196
|
+
tmp_8.ffg_1 = tmp_10.y1h(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_11, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8(), null));
|
|
5197
5197
|
var tmp_12 = 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$6 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
5202
5202
|
var tmp_14 = Instance(di, tmp$ret$6, null);
|
|
5203
5203
|
var tmp_15 = KProperty1;
|
|
5204
|
-
tmp_12.
|
|
5204
|
+
tmp_12.gfg_1 = tmp_14.y1h(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_15, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh(), null));
|
|
5205
5205
|
var tmp_16 = 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$8 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
5210
5210
|
var tmp_18 = Instance(di, tmp$ret$8, null);
|
|
5211
5211
|
var tmp_19 = KProperty1;
|
|
5212
|
-
tmp_16.
|
|
5212
|
+
tmp_16.hfg_1 = tmp_18.y1h(this, getPropertyCallableRef('serverConfig', 1, tmp_19, ServerGameStoreContract$_get_serverConfig_$ref_bz2891(), null));
|
|
5213
5213
|
var tmp_20 = 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$10 = isInterface(tmp_21, TypeToken) ? tmp_21 : THROW_CCE();
|
|
5218
5218
|
var tmp_22 = Instance(di, tmp$ret$10, null);
|
|
5219
5219
|
var tmp_23 = KProperty1;
|
|
5220
|
-
tmp_20.
|
|
5220
|
+
tmp_20.ifg_1 = tmp_22.y1h(this, getPropertyCallableRef('logicConfig', 1, tmp_23, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi(), null));
|
|
5221
5221
|
var tmp_24 = 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$12 = isInterface(tmp_25, TypeToken) ? tmp_25 : THROW_CCE();
|
|
5226
5226
|
var tmp_26 = Instance(di, tmp$ret$12, null);
|
|
5227
5227
|
var tmp_27 = KProperty1;
|
|
5228
|
-
tmp_24.
|
|
5228
|
+
tmp_24.jfg_1 = tmp_26.y1h(this, getPropertyCallableRef('idsProvider', 1, tmp_27, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1(), null));
|
|
5229
5229
|
var tmp_28 = 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$14 = isInterface(tmp_29, TypeToken) ? tmp_29 : THROW_CCE();
|
|
5234
5234
|
var tmp_30 = Instance(di, tmp$ret$14, null);
|
|
5235
5235
|
var tmp_31 = KProperty1;
|
|
5236
|
-
tmp_28.
|
|
5236
|
+
tmp_28.kfg_1 = tmp_30.y1h(this, getPropertyCallableRef('botConfig', 1, tmp_31, ServerGameStoreContract$_get_botConfig_$ref_nebw1d(), null));
|
|
5237
5237
|
var tmp_32 = 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$16 = isInterface(tmp_33, TypeToken) ? tmp_33 : THROW_CCE();
|
|
5242
5242
|
var tmp_34 = Instance(di, tmp$ret$16, null);
|
|
5243
5243
|
var tmp_35 = KProperty1;
|
|
5244
|
-
tmp_32.
|
|
5244
|
+
tmp_32.lfg_1 = tmp_34.y1h(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_35, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4(), null));
|
|
5245
5245
|
var tmp_36 = 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$18 = isInterface(tmp_37, TypeToken) ? tmp_37 : THROW_CCE();
|
|
5250
5250
|
var tmp_38 = Instance(di, tmp$ret$18, null);
|
|
5251
5251
|
var tmp_39 = KProperty1;
|
|
5252
|
-
tmp_36.
|
|
5252
|
+
tmp_36.mfg_1 = tmp_38.y1h(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_39, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p(), null));
|
|
5253
5253
|
var tmp_40 = 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$20 = isInterface(tmp_41, TypeToken) ? tmp_41 : THROW_CCE();
|
|
5258
5258
|
var tmp_42 = Instance(di, tmp$ret$20, null);
|
|
5259
5259
|
var tmp_43 = KProperty1;
|
|
5260
|
-
tmp_40.
|
|
5260
|
+
tmp_40.nfg_1 = tmp_42.y1h(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_43, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg(), null));
|
|
5261
5261
|
var tmp_44 = 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$22 = isInterface(tmp_45, TypeToken) ? tmp_45 : THROW_CCE();
|
|
5266
5266
|
var tmp_46 = Instance(di, tmp$ret$22, null);
|
|
5267
5267
|
var tmp_47 = KProperty1;
|
|
5268
|
-
tmp_44.
|
|
5268
|
+
tmp_44.ofg_1 = tmp_46.y1h(this, getPropertyCallableRef('dealerConfig', 1, tmp_47, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp(), null));
|
|
5269
5269
|
var tmp_48 = 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$24 = isInterface(tmp_49, TypeToken) ? tmp_49 : THROW_CCE();
|
|
5274
5274
|
var tmp_50 = Instance(di, tmp$ret$24, null);
|
|
5275
5275
|
var tmp_51 = KProperty1;
|
|
5276
|
-
tmp_48.
|
|
5276
|
+
tmp_48.pfg_1 = tmp_50.y1h(this, getPropertyCallableRef('poolProvider', 1, tmp_51, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3(), null));
|
|
5277
5277
|
var tmp_52 = this;
|
|
5278
5278
|
// Inline function 'org.kodein.di.instance' call
|
|
5279
5279
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5281,20 +5281,20 @@
|
|
|
5281
5281
|
var tmp$ret$26 = isInterface(tmp_53, TypeToken) ? tmp_53 : THROW_CCE();
|
|
5282
5282
|
var tmp_54 = Instance(di, tmp$ret$26, null);
|
|
5283
5283
|
var tmp_55 = KProperty1;
|
|
5284
|
-
tmp_52.
|
|
5284
|
+
tmp_52.qfg_1 = tmp_54.y1h(this, getPropertyCallableRef('cardsDealerProvider', 1, tmp_55, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj(), null));
|
|
5285
5285
|
}
|
|
5286
5286
|
protoOf(ServerGameStoreContract).gaj = function () {
|
|
5287
|
-
return plus(plus(plus(plus(plus(this.
|
|
5287
|
+
return plus(plus(plus(plus(plus(this.yff_1.gaj(), this.bfg_1.gaj()), this.zff_1.gaj()), this.afg_1.gaj()), this.cfg_1.gaj()), listOf_0([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl(this)), playerConnectionUpdateReducer()]));
|
|
5288
5288
|
};
|
|
5289
5289
|
protoOf(ServerGameStoreContract).haj = function () {
|
|
5290
|
-
var tmp = this.
|
|
5290
|
+
var tmp = this.yff_1.haj();
|
|
5291
5291
|
var tmp_0;
|
|
5292
5292
|
if (_get_serverConfig__rk2g06(this).finishGameWhenNotLiveStrategy.equals(FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance())) {
|
|
5293
5293
|
tmp_0 = checkBotsMiddleware(_get_logger__rkp4sl(this));
|
|
5294
5294
|
} else {
|
|
5295
5295
|
tmp_0 = null;
|
|
5296
5296
|
}
|
|
5297
|
-
var tmp_1 = plus(plus(plus(plus(plus(tmp, listOfNotNull(tmp_0)), this.
|
|
5297
|
+
var tmp_1 = plus(plus(plus(plus(plus(tmp, listOfNotNull(tmp_0)), this.bfg_1.haj()), this.zff_1.haj()), this.afg_1.haj()), this.cfg_1.haj());
|
|
5298
5298
|
var tmp_2 = playerConnectionUpdateMiddleware(_get_logger__rkp4sl(this), _get_playerConnectionInteractor__si6cxf_0(this));
|
|
5299
5299
|
var tmp_3 = playerReconnectionTimeoutMiddleware(_get_playerConnectionInteractor__si6cxf_0(this));
|
|
5300
5300
|
var tmp_4;
|
|
@@ -5309,7 +5309,7 @@
|
|
|
5309
5309
|
var tmp1_logger = _get_logger__rkp4sl(this);
|
|
5310
5310
|
var tmp2_asyncProvider = _get_asyncProvider__jbpyhw(this);
|
|
5311
5311
|
var tmp_7 = playerTurnTimeoutWhenHasConnectionMiddleware(tmp0_serverConfig, tmp2_asyncProvider, tmp1_logger);
|
|
5312
|
-
var tmp_8 = clearOnFinishMiddleware(_get_asyncProvider__jbpyhw(this), listOfNotNull_0([_get_toClientEventsObserver__6rp51y_0(this), this.
|
|
5312
|
+
var tmp_8 = clearOnFinishMiddleware(_get_asyncProvider__jbpyhw(this), listOfNotNull_0([_get_toClientEventsObserver__6rp51y_0(this), this.cfg_1.qaj()]));
|
|
5313
5313
|
var tmp3_asyncProvider = _get_asyncProvider__jbpyhw(this);
|
|
5314
5314
|
var tmp4_dealerConfig = _get_dealerConfig__183ci8(this);
|
|
5315
5315
|
var tmp5_poolProvider = _get_poolProvider__tqti6a(this);
|
|
@@ -5354,7 +5354,7 @@
|
|
|
5354
5354
|
return this.o7i(store, next, action);
|
|
5355
5355
|
};
|
|
5356
5356
|
function ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
|
|
5357
|
-
this.
|
|
5357
|
+
this.ufg_1 = this$0;
|
|
5358
5358
|
}
|
|
5359
5359
|
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).z7g = function (action) {
|
|
5360
5360
|
return action instanceof MechanicAction;
|
|
@@ -5365,7 +5365,7 @@
|
|
|
5365
5365
|
// Inline function 'kotlin.with' call
|
|
5366
5366
|
var tmp;
|
|
5367
5367
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
5368
|
-
var tmp0 = this.
|
|
5368
|
+
var tmp0 = this.ufg_1;
|
|
5369
5369
|
var tmp2 = action_0.x99_1;
|
|
5370
5370
|
var tmp4 = action_0.z99_1;
|
|
5371
5371
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -5375,7 +5375,7 @@
|
|
|
5375
5375
|
var _iterator__ex2g4s = this_0.t();
|
|
5376
5376
|
while (_iterator__ex2g4s.u()) {
|
|
5377
5377
|
var item = _iterator__ex2g4s.v();
|
|
5378
|
-
var tmp$ret$0 = to(item.g76_1, this.
|
|
5378
|
+
var tmp$ret$0 = to(item.g76_1, this.ufg_1.tfg_1.pff(item.isBot, item.g76_1, get_serverStatePayload(state).connectedPlayers).f77_1);
|
|
5379
5379
|
destination.e1(tmp$ret$0);
|
|
5380
5380
|
}
|
|
5381
5381
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
@@ -5405,7 +5405,7 @@
|
|
|
5405
5405
|
var _iterator__ex2g4s_2 = destination_1.t();
|
|
5406
5406
|
while (_iterator__ex2g4s_2.u()) {
|
|
5407
5407
|
var element_0 = _iterator__ex2g4s_2.v();
|
|
5408
|
-
var tmp0_aid = tmp0.
|
|
5408
|
+
var tmp0_aid = tmp0.sfg_1.k7e();
|
|
5409
5409
|
// Inline function 'kotlin.collections.map' call
|
|
5410
5410
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5411
5411
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -5427,15 +5427,15 @@
|
|
|
5427
5427
|
tmp = destination_2;
|
|
5428
5428
|
} else {
|
|
5429
5429
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
5430
|
-
var tmp0_0 = this.
|
|
5430
|
+
var tmp0_0 = this.ufg_1;
|
|
5431
5431
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5432
5432
|
var tableId = state.y7t().id;
|
|
5433
|
-
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.
|
|
5433
|
+
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.sfg_1.k7e(), tableId, null);
|
|
5434
5434
|
var tmp$ret$21 = mapToClient_18(action_0, sendToPlayer_0);
|
|
5435
5435
|
tmp = listOfNotNull(tmp$ret$21);
|
|
5436
5436
|
} else {
|
|
5437
5437
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
5438
|
-
var tmp0_1 = this.
|
|
5438
|
+
var tmp0_1 = this.ufg_1;
|
|
5439
5439
|
var tmp2_0 = action_0.table.id;
|
|
5440
5440
|
var tmp4_0 = action_0.gameCreatorPlayerId;
|
|
5441
5441
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -5475,7 +5475,7 @@
|
|
|
5475
5475
|
var _iterator__ex2g4s_7 = destination_6.t();
|
|
5476
5476
|
while (_iterator__ex2g4s_7.u()) {
|
|
5477
5477
|
var element_2 = _iterator__ex2g4s_7.v();
|
|
5478
|
-
var tmp0_aid_0 = tmp0_1.
|
|
5478
|
+
var tmp0_aid_0 = tmp0_1.sfg_1.k7e();
|
|
5479
5479
|
// Inline function 'kotlin.collections.map' call
|
|
5480
5480
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5481
5481
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -5497,39 +5497,39 @@
|
|
|
5497
5497
|
tmp = destination_7;
|
|
5498
5498
|
} else {
|
|
5499
5499
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
5500
|
-
var tmp0_2 = this.
|
|
5500
|
+
var tmp0_2 = this.ufg_1;
|
|
5501
5501
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5502
5502
|
var tableId_0 = state.y7t().id;
|
|
5503
|
-
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.
|
|
5503
|
+
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.sfg_1.k7e(), tableId_0, null);
|
|
5504
5504
|
var tmp$ret$44 = mapToClient_16(action_0, sendToPlayer_2);
|
|
5505
5505
|
tmp = listOfNotNull(tmp$ret$44);
|
|
5506
5506
|
} else {
|
|
5507
5507
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
5508
|
-
var tmp0_3 = this.
|
|
5508
|
+
var tmp0_3 = this.ufg_1;
|
|
5509
5509
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5510
5510
|
var tableId_1 = state.y7t().id;
|
|
5511
|
-
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.
|
|
5511
|
+
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.sfg_1.k7e(), tableId_1, null);
|
|
5512
5512
|
var tmp$ret$46 = mapToClient_15(action_0, sendToPlayer_3);
|
|
5513
5513
|
tmp = listOfNotNull(tmp$ret$46);
|
|
5514
5514
|
} else {
|
|
5515
5515
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
5516
|
-
var tmp0_4 = this.
|
|
5516
|
+
var tmp0_4 = this.ufg_1;
|
|
5517
5517
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5518
5518
|
var tableId_2 = state.y7t().id;
|
|
5519
|
-
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.
|
|
5519
|
+
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.sfg_1.k7e(), tableId_2, null);
|
|
5520
5520
|
var tmp$ret$48 = mapToClient_14(action_0, sendToPlayer_4);
|
|
5521
5521
|
tmp = listOfNotNull(tmp$ret$48);
|
|
5522
5522
|
} else {
|
|
5523
5523
|
if (action_0 instanceof ErrorAction) {
|
|
5524
|
-
var tmp0_5 = this.
|
|
5524
|
+
var tmp0_5 = this.ufg_1;
|
|
5525
5525
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5526
5526
|
var tableId_3 = state.y7t().id;
|
|
5527
|
-
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.
|
|
5527
|
+
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.sfg_1.k7e(), tableId_3, null);
|
|
5528
5528
|
var tmp$ret$50 = mapToClient_13(action_0, sendToPlayer_5);
|
|
5529
5529
|
tmp = listOfNotNull(tmp$ret$50);
|
|
5530
5530
|
} else {
|
|
5531
5531
|
if (action_0 instanceof SceneMechanicAction) {
|
|
5532
|
-
var tmp0_6 = this.
|
|
5532
|
+
var tmp0_6 = this.ufg_1;
|
|
5533
5533
|
var tmp2_1 = state.y7t().id;
|
|
5534
5534
|
var tmp4_1 = state.y7t().playersConnections;
|
|
5535
5535
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
@@ -5561,7 +5561,7 @@
|
|
|
5561
5561
|
var _iterator__ex2g4s_11 = destination_10.t();
|
|
5562
5562
|
while (_iterator__ex2g4s_11.u()) {
|
|
5563
5563
|
var element_4 = _iterator__ex2g4s_11.v();
|
|
5564
|
-
var tmp0_aid_1 = tmp0_6.
|
|
5564
|
+
var tmp0_aid_1 = tmp0_6.sfg_1.k7e();
|
|
5565
5565
|
// Inline function 'kotlin.collections.map' call
|
|
5566
5566
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5567
5567
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(tmp4_1, 10));
|
|
@@ -5583,7 +5583,7 @@
|
|
|
5583
5583
|
tmp = destination_11;
|
|
5584
5584
|
} else {
|
|
5585
5585
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
5586
|
-
var tmp0_7 = this.
|
|
5586
|
+
var tmp0_7 = this.ufg_1;
|
|
5587
5587
|
var tmp2_2 = state.y7t().id;
|
|
5588
5588
|
var tmp4_2 = state.y7t().playersConnections;
|
|
5589
5589
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
@@ -5615,7 +5615,7 @@
|
|
|
5615
5615
|
var _iterator__ex2g4s_15 = destination_14.t();
|
|
5616
5616
|
while (_iterator__ex2g4s_15.u()) {
|
|
5617
5617
|
var element_6 = _iterator__ex2g4s_15.v();
|
|
5618
|
-
var tmp0_aid_2 = tmp0_7.
|
|
5618
|
+
var tmp0_aid_2 = tmp0_7.sfg_1.k7e();
|
|
5619
5619
|
// Inline function 'kotlin.collections.map' call
|
|
5620
5620
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5621
5621
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(tmp4_2, 10));
|
|
@@ -5637,7 +5637,7 @@
|
|
|
5637
5637
|
tmp = destination_15;
|
|
5638
5638
|
} else {
|
|
5639
5639
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
5640
|
-
var tmp0_8 = this.
|
|
5640
|
+
var tmp0_8 = this.ufg_1;
|
|
5641
5641
|
var tmp2_3 = state.y7t().id;
|
|
5642
5642
|
var tmp4_3 = state.y7t().playersConnections;
|
|
5643
5643
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
@@ -5669,7 +5669,7 @@
|
|
|
5669
5669
|
var _iterator__ex2g4s_19 = destination_18.t();
|
|
5670
5670
|
while (_iterator__ex2g4s_19.u()) {
|
|
5671
5671
|
var element_8 = _iterator__ex2g4s_19.v();
|
|
5672
|
-
var tmp0_aid_3 = tmp0_8.
|
|
5672
|
+
var tmp0_aid_3 = tmp0_8.sfg_1.k7e();
|
|
5673
5673
|
// Inline function 'kotlin.collections.map' call
|
|
5674
5674
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5675
5675
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(tmp4_3, 10));
|
|
@@ -5681,7 +5681,7 @@
|
|
|
5681
5681
|
}
|
|
5682
5682
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tmp2_3, gameCreatorPlayerId_1, element_8, destination_20);
|
|
5683
5683
|
var tmp_0;
|
|
5684
|
-
if (this.
|
|
5684
|
+
if (this.ufg_1.rfg_1.supportBackwardActions && getPlayer(state.y7t().players, sendToPlayer_8.e8k_1).o7x_1.u82_1) {
|
|
5685
5685
|
tmp_0 = null;
|
|
5686
5686
|
} else {
|
|
5687
5687
|
tmp_0 = mapToClient_10(action_0, sendToPlayer_8);
|
|
@@ -5697,81 +5697,81 @@
|
|
|
5697
5697
|
tmp = destination_19;
|
|
5698
5698
|
} else {
|
|
5699
5699
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
5700
|
-
var tmp0_9 = this.
|
|
5700
|
+
var tmp0_9 = this.ufg_1;
|
|
5701
5701
|
var tmp2_4 = state.y7t().id;
|
|
5702
5702
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5703
|
-
var exceptPlayerId = this.
|
|
5704
|
-
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.
|
|
5703
|
+
var exceptPlayerId = this.ufg_1.rfg_1.supportBackwardActions ? action_0.z9a_1 : null;
|
|
5704
|
+
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.sfg_1.k7e(), tmp2_4, exceptPlayerId);
|
|
5705
5705
|
var tmp$ret$109 = mapToClient_9(action_0, sendToPlayer_9);
|
|
5706
5706
|
tmp = listOfNotNull(tmp$ret$109);
|
|
5707
5707
|
} else {
|
|
5708
5708
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
5709
|
-
var tmp0_10 = this.
|
|
5709
|
+
var tmp0_10 = this.ufg_1;
|
|
5710
5710
|
var tmp2_5 = state.y7t().id;
|
|
5711
5711
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5712
|
-
var exceptPlayerId_0 = this.
|
|
5713
|
-
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.
|
|
5712
|
+
var exceptPlayerId_0 = this.ufg_1.rfg_1.supportBackwardActions ? action_0.d9b_1 : null;
|
|
5713
|
+
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.sfg_1.k7e(), tmp2_5, exceptPlayerId_0);
|
|
5714
5714
|
var tmp$ret$111 = mapToClient_8(action_0, sendToPlayer_10);
|
|
5715
5715
|
tmp = listOfNotNull(tmp$ret$111);
|
|
5716
5716
|
} else {
|
|
5717
5717
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
5718
|
-
var tmp0_11 = this.
|
|
5718
|
+
var tmp0_11 = this.ufg_1;
|
|
5719
5719
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5720
5720
|
var tableId_4 = state.y7t().id;
|
|
5721
|
-
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.
|
|
5721
|
+
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.sfg_1.k7e(), tableId_4, null);
|
|
5722
5722
|
var tmp$ret$113 = mapToClient_7(action_0, sendToPlayer_11);
|
|
5723
5723
|
tmp = listOfNotNull(tmp$ret$113);
|
|
5724
5724
|
} else {
|
|
5725
5725
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
5726
|
-
var tmp0_12 = this.
|
|
5726
|
+
var tmp0_12 = this.ufg_1;
|
|
5727
5727
|
var tmp2_6 = state.y7t().id;
|
|
5728
5728
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5729
|
-
var exceptPlayerId_1 = this.
|
|
5730
|
-
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.
|
|
5729
|
+
var exceptPlayerId_1 = this.ufg_1.rfg_1.supportBackwardActions ? action_0.k9b_1 : null;
|
|
5730
|
+
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.sfg_1.k7e(), tmp2_6, exceptPlayerId_1);
|
|
5731
5731
|
var tmp$ret$115 = mapToClient_6(action_0, sendToPlayer_12);
|
|
5732
5732
|
tmp = listOfNotNull(tmp$ret$115);
|
|
5733
5733
|
} else {
|
|
5734
5734
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
5735
|
-
var tmp0_13 = this.
|
|
5735
|
+
var tmp0_13 = this.ufg_1;
|
|
5736
5736
|
var tmp2_7 = state.y7t().id;
|
|
5737
5737
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5738
|
-
var exceptPlayerId_2 = this.
|
|
5739
|
-
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.
|
|
5738
|
+
var exceptPlayerId_2 = this.ufg_1.rfg_1.supportBackwardActions ? action_0.p9b_1 : null;
|
|
5739
|
+
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.sfg_1.k7e(), tmp2_7, exceptPlayerId_2);
|
|
5740
5740
|
var tmp$ret$117 = mapToClient_5(action_0, sendToPlayer_13);
|
|
5741
5741
|
tmp = listOfNotNull(tmp$ret$117);
|
|
5742
5742
|
} else {
|
|
5743
5743
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
5744
|
-
var tmp0_14 = this.
|
|
5744
|
+
var tmp0_14 = this.ufg_1;
|
|
5745
5745
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5746
5746
|
var tableId_5 = state.y7t().id;
|
|
5747
|
-
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.
|
|
5747
|
+
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.sfg_1.k7e(), tableId_5, null);
|
|
5748
5748
|
var tmp$ret$119 = mapToClient_4(action_0, sendToPlayer_14);
|
|
5749
5749
|
tmp = listOfNotNull(tmp$ret$119);
|
|
5750
5750
|
} else {
|
|
5751
5751
|
if (action_0 instanceof TakeAllRemainingCardsMechanicAction) {
|
|
5752
|
-
var tmp0_15 = this.
|
|
5752
|
+
var tmp0_15 = this.ufg_1;
|
|
5753
5753
|
var tmp2_8 = state.y7t().id;
|
|
5754
5754
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5755
|
-
var exceptPlayerId_3 = this.
|
|
5756
|
-
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.
|
|
5755
|
+
var exceptPlayerId_3 = this.ufg_1.rfg_1.supportBackwardActions ? action_0.w9b_1 : null;
|
|
5756
|
+
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.sfg_1.k7e(), tmp2_8, exceptPlayerId_3);
|
|
5757
5757
|
var tmp$ret$121 = mapToClient_3(action_0, sendToPlayer_15);
|
|
5758
5758
|
tmp = listOfNotNull(tmp$ret$121);
|
|
5759
5759
|
} else {
|
|
5760
5760
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
5761
|
-
var tmp0_16 = this.
|
|
5761
|
+
var tmp0_16 = this.ufg_1;
|
|
5762
5762
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5763
5763
|
var tableId_6 = state.y7t().id;
|
|
5764
|
-
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.
|
|
5764
|
+
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.sfg_1.k7e(), tableId_6, null);
|
|
5765
5765
|
var tmp$ret$123 = mapToClient_2(action_0, sendToPlayer_16);
|
|
5766
5766
|
tmp = listOfNotNull(tmp$ret$123);
|
|
5767
5767
|
} else {
|
|
5768
5768
|
if (action_0 instanceof MessageMechanicAction) {
|
|
5769
5769
|
var message = action_0.message;
|
|
5770
|
-
var tmp0_17 = this.
|
|
5770
|
+
var tmp0_17 = this.ufg_1;
|
|
5771
5771
|
var tmp2_9 = state.y7t().id;
|
|
5772
5772
|
var tmp_1;
|
|
5773
5773
|
var tmp_2;
|
|
5774
|
-
if (this.
|
|
5774
|
+
if (this.ufg_1.rfg_1.supportBackwardActions) {
|
|
5775
5775
|
tmp_2 = isInterface(message, UserMessage);
|
|
5776
5776
|
} else {
|
|
5777
5777
|
tmp_2 = false;
|
|
@@ -5783,16 +5783,16 @@
|
|
|
5783
5783
|
}
|
|
5784
5784
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5785
5785
|
var exceptPlayerId_4 = tmp_1;
|
|
5786
|
-
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.
|
|
5786
|
+
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.sfg_1.k7e(), tmp2_9, exceptPlayerId_4);
|
|
5787
5787
|
var tmp$ret$125 = mapToClient_1(action_0, sendToPlayer_17);
|
|
5788
5788
|
tmp = listOfNotNull(tmp$ret$125);
|
|
5789
5789
|
} else {
|
|
5790
5790
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
5791
|
-
var tmp0_18 = this.
|
|
5791
|
+
var tmp0_18 = this.ufg_1;
|
|
5792
5792
|
var tmp2_10 = state.y7t().id;
|
|
5793
5793
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5794
5794
|
var exceptPlayerId_5 = action_0.playerId;
|
|
5795
|
-
var sendToPlayer_18 = new RoomActionPayload(tmp0_18.
|
|
5795
|
+
var sendToPlayer_18 = new RoomActionPayload(tmp0_18.sfg_1.k7e(), tmp2_10, exceptPlayerId_5);
|
|
5796
5796
|
var tmp$ret$127 = mapToClient_0(action_0, sendToPlayer_18);
|
|
5797
5797
|
tmp = listOfNotNull(tmp$ret$127);
|
|
5798
5798
|
} else {
|
|
@@ -5830,9 +5830,9 @@
|
|
|
5830
5830
|
return this.o7i(store, next, action);
|
|
5831
5831
|
};
|
|
5832
5832
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider, playerConnectionInteractor) {
|
|
5833
|
-
this.
|
|
5834
|
-
this.
|
|
5835
|
-
this.
|
|
5833
|
+
this.rfg_1 = logicConfig;
|
|
5834
|
+
this.sfg_1 = idsProvider;
|
|
5835
|
+
this.tfg_1 = playerConnectionInteractor;
|
|
5836
5836
|
}
|
|
5837
5837
|
protoOf(ServerMapMechanicToClientActionMiddleware).pal = function () {
|
|
5838
5838
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
@@ -5843,8 +5843,8 @@
|
|
|
5843
5843
|
return new playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1(logger, playerConnectionInteractor);
|
|
5844
5844
|
}
|
|
5845
5845
|
function playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1($logger, $playerConnectionInteractor) {
|
|
5846
|
-
this.
|
|
5847
|
-
this.
|
|
5846
|
+
this.vfg_1 = $logger;
|
|
5847
|
+
this.wfg_1 = $playerConnectionInteractor;
|
|
5848
5848
|
}
|
|
5849
5849
|
protoOf(playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1).z7g = function (action) {
|
|
5850
5850
|
return action instanceof PlayerConnectionUpdateAction;
|
|
@@ -5865,7 +5865,7 @@
|
|
|
5865
5865
|
}
|
|
5866
5866
|
}
|
|
5867
5867
|
if (player.m7x_1.v78().f77_1.isLeftPermanently) {
|
|
5868
|
-
this.
|
|
5868
|
+
this.vfg_1.w('playerConnectionUpdateMiddleware', "player connection state can't be changed after [playerLeft] is invoked, " + tmp4.toString());
|
|
5869
5869
|
break $l$block_1;
|
|
5870
5870
|
}
|
|
5871
5871
|
}
|
|
@@ -5888,7 +5888,7 @@
|
|
|
5888
5888
|
var _iterator__ex2g4s_0 = destination.t();
|
|
5889
5889
|
while (_iterator__ex2g4s_0.u()) {
|
|
5890
5890
|
var element_0 = _iterator__ex2g4s_0.v();
|
|
5891
|
-
if (element_0.
|
|
5891
|
+
if (element_0.xfg_1 === tmp4.dag_1) {
|
|
5892
5892
|
if (found) {
|
|
5893
5893
|
tmp$ret$4 = null;
|
|
5894
5894
|
break $l$block_3;
|
|
@@ -5907,7 +5907,7 @@
|
|
|
5907
5907
|
if (!(reconnectionTimerTag == null)) {
|
|
5908
5908
|
store.dispatch(new StopTimerAction(reconnectionTimerTag));
|
|
5909
5909
|
}
|
|
5910
|
-
var actions = this.
|
|
5910
|
+
var actions = this.wfg_1.nff(tmp4.cag_1, player.m7x_1.v78().f77_1, player, store.state.y7t(), tmp4.fag_1);
|
|
5911
5911
|
// Inline function 'kotlin.collections.forEach' call
|
|
5912
5912
|
var _iterator__ex2g4s_1 = actions.t();
|
|
5913
5913
|
while (_iterator__ex2g4s_1.u()) {
|
|
@@ -5920,17 +5920,17 @@
|
|
|
5920
5920
|
return this.o7i(store, next, action);
|
|
5921
5921
|
};
|
|
5922
5922
|
function PlayerReconnectionWaitingTimerTag(playerId, state, previousState) {
|
|
5923
|
-
this.
|
|
5924
|
-
this.
|
|
5925
|
-
this.
|
|
5923
|
+
this.xfg_1 = playerId;
|
|
5924
|
+
this.yfg_1 = state;
|
|
5925
|
+
this.zfg_1 = previousState;
|
|
5926
5926
|
}
|
|
5927
5927
|
protoOf(PlayerReconnectionWaitingTimerTag).toString = function () {
|
|
5928
|
-
return 'PlayerReconnectionWaitingTimerTag(playerId=' + this.
|
|
5928
|
+
return 'PlayerReconnectionWaitingTimerTag(playerId=' + this.xfg_1 + ', state=' + this.yfg_1.toString() + ', previousState=' + this.zfg_1.toString() + ')';
|
|
5929
5929
|
};
|
|
5930
5930
|
protoOf(PlayerReconnectionWaitingTimerTag).hashCode = function () {
|
|
5931
|
-
var result = getStringHashCode(this.
|
|
5932
|
-
result = imul(result, 31) + this.
|
|
5933
|
-
result = imul(result, 31) + this.
|
|
5931
|
+
var result = getStringHashCode(this.xfg_1);
|
|
5932
|
+
result = imul(result, 31) + this.yfg_1.hashCode() | 0;
|
|
5933
|
+
result = imul(result, 31) + this.zfg_1.hashCode() | 0;
|
|
5934
5934
|
return result;
|
|
5935
5935
|
};
|
|
5936
5936
|
protoOf(PlayerReconnectionWaitingTimerTag).equals = function (other) {
|
|
@@ -5938,11 +5938,11 @@
|
|
|
5938
5938
|
return true;
|
|
5939
5939
|
if (!(other instanceof PlayerReconnectionWaitingTimerTag))
|
|
5940
5940
|
return false;
|
|
5941
|
-
if (!(this.
|
|
5941
|
+
if (!(this.xfg_1 === other.xfg_1))
|
|
5942
5942
|
return false;
|
|
5943
|
-
if (!this.
|
|
5943
|
+
if (!this.yfg_1.equals(other.yfg_1))
|
|
5944
5944
|
return false;
|
|
5945
|
-
if (!this.
|
|
5945
|
+
if (!this.zfg_1.equals(other.zfg_1))
|
|
5946
5946
|
return false;
|
|
5947
5947
|
return true;
|
|
5948
5948
|
};
|
|
@@ -5951,7 +5951,7 @@
|
|
|
5951
5951
|
return new playerReconnectionTimeoutMiddleware$$inlined$middlewareForActionType$1(playerConnectionInteractor);
|
|
5952
5952
|
}
|
|
5953
5953
|
function playerReconnectionTimeoutMiddleware$$inlined$middlewareForActionType$1($playerConnectionInteractor) {
|
|
5954
|
-
this.
|
|
5954
|
+
this.afh_1 = $playerConnectionInteractor;
|
|
5955
5955
|
}
|
|
5956
5956
|
protoOf(playerReconnectionTimeoutMiddleware$$inlined$middlewareForActionType$1).z7g = function (action) {
|
|
5957
5957
|
return action instanceof TimerTickAction;
|
|
@@ -5965,8 +5965,8 @@
|
|
|
5965
5965
|
var timerTag = tmp4.v7g_1;
|
|
5966
5966
|
if (timerTag instanceof PlayerReconnectionWaitingTimerTag) {
|
|
5967
5967
|
var state = store.state;
|
|
5968
|
-
var player = getPlayer(state.y7t().players, timerTag.
|
|
5969
|
-
var actions = this.
|
|
5968
|
+
var player = getPlayer(state.y7t().players, timerTag.xfg_1);
|
|
5969
|
+
var actions = this.afh_1.nff(timerTag.yfg_1, timerTag.zfg_1, player, state.y7t(), true);
|
|
5970
5970
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5971
5971
|
if (!actions.r()) {
|
|
5972
5972
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5988,7 +5988,7 @@
|
|
|
5988
5988
|
return new playerReconnectionTimerStartWhenStartGameMiddleware$$inlined$middlewareForActionType$1(playerConnectionInteractor);
|
|
5989
5989
|
}
|
|
5990
5990
|
function playerReconnectionTimerStartWhenStartGameMiddleware$$inlined$middlewareForActionType$1($playerConnectionInteractor) {
|
|
5991
|
-
this.
|
|
5991
|
+
this.bfh_1 = $playerConnectionInteractor;
|
|
5992
5992
|
}
|
|
5993
5993
|
protoOf(playerReconnectionTimerStartWhenStartGameMiddleware$$inlined$middlewareForActionType$1).z7g = function (action) {
|
|
5994
5994
|
return isInterface(action, FirstMechanicAction);
|
|
@@ -6016,7 +6016,7 @@
|
|
|
6016
6016
|
var tmp1_previousConnectionState = element_0.m7x_1.v78().f77_1;
|
|
6017
6017
|
var tmp2_playerId = element_0.playerId;
|
|
6018
6018
|
// Inline function 'kotlin.collections.forEach' call
|
|
6019
|
-
var _iterator__ex2g4s_1 = this.
|
|
6019
|
+
var _iterator__ex2g4s_1 = this.bfh_1.off(tmp2_playerId, tmp0_newConnectionState, tmp1_previousConnectionState).t();
|
|
6020
6020
|
while (_iterator__ex2g4s_1.u()) {
|
|
6021
6021
|
var element_1 = _iterator__ex2g4s_1.v();
|
|
6022
6022
|
store.dispatch(element_1);
|
|
@@ -6031,8 +6031,8 @@
|
|
|
6031
6031
|
return new sendToClientActionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, provider);
|
|
6032
6032
|
}
|
|
6033
6033
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
6034
|
-
this.
|
|
6035
|
-
this.
|
|
6034
|
+
this.kfh_1 = $provider;
|
|
6035
|
+
this.lfh_1 = $action;
|
|
6036
6036
|
CoroutineImpl.call(this, resultContinuation);
|
|
6037
6037
|
}
|
|
6038
6038
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).t2b = function ($this$launchDefault, $completion) {
|
|
@@ -6053,7 +6053,7 @@
|
|
|
6053
6053
|
case 0:
|
|
6054
6054
|
this.f9_1 = 2;
|
|
6055
6055
|
this.e9_1 = 1;
|
|
6056
|
-
suspendResult = this.
|
|
6056
|
+
suspendResult = this.kfh_1.hfd(this.lfh_1, this);
|
|
6057
6057
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
6058
6058
|
return suspendResult;
|
|
6059
6059
|
}
|
|
@@ -6076,8 +6076,8 @@
|
|
|
6076
6076
|
while (true);
|
|
6077
6077
|
};
|
|
6078
6078
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).u2b = function ($this$launchDefault, completion) {
|
|
6079
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
6080
|
-
i.
|
|
6079
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.kfh_1, this.lfh_1, completion);
|
|
6080
|
+
i.mfh_1 = $this$launchDefault;
|
|
6081
6081
|
return i;
|
|
6082
6082
|
};
|
|
6083
6083
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -6089,15 +6089,15 @@
|
|
|
6089
6089
|
return l;
|
|
6090
6090
|
}
|
|
6091
6091
|
function sendToClientActionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $provider) {
|
|
6092
|
-
this.
|
|
6093
|
-
this.
|
|
6092
|
+
this.nfh_1 = $asyncProvider;
|
|
6093
|
+
this.ofh_1 = $provider;
|
|
6094
6094
|
}
|
|
6095
6095
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).z7g = function (action) {
|
|
6096
6096
|
return action instanceof ToClientAction;
|
|
6097
6097
|
};
|
|
6098
6098
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).o7i = function (store, next, action) {
|
|
6099
6099
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
6100
|
-
this.
|
|
6100
|
+
this.nfh_1.p7c(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.ofh_1, action_0, null));
|
|
6101
6101
|
next(action_0);
|
|
6102
6102
|
};
|
|
6103
6103
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).y7g = function (store, next, action) {
|
|
@@ -6108,11 +6108,11 @@
|
|
|
6108
6108
|
return new playerTurnTimeoutWhenHasConnectionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, serverConfig, logger);
|
|
6109
6109
|
}
|
|
6110
6110
|
function playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda($store, $timerTag, $serverConfig, $logger, $action, resultContinuation) {
|
|
6111
|
-
this.
|
|
6112
|
-
this.
|
|
6113
|
-
this.
|
|
6114
|
-
this.
|
|
6115
|
-
this.
|
|
6111
|
+
this.xfh_1 = $store;
|
|
6112
|
+
this.yfh_1 = $timerTag;
|
|
6113
|
+
this.zfh_1 = $serverConfig;
|
|
6114
|
+
this.afi_1 = $logger;
|
|
6115
|
+
this.bfi_1 = $action;
|
|
6116
6116
|
CoroutineImpl.call(this, resultContinuation);
|
|
6117
6117
|
}
|
|
6118
6118
|
protoOf(playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda).t2b = function ($this$launchDefaultWithLock, $completion) {
|
|
@@ -6131,13 +6131,13 @@
|
|
|
6131
6131
|
var tmp = this.e9_1;
|
|
6132
6132
|
if (tmp === 0) {
|
|
6133
6133
|
this.f9_1 = 1;
|
|
6134
|
-
var table = this.
|
|
6135
|
-
var player = getPlayer(table.players, this.
|
|
6134
|
+
var table = this.xfh_1.state.y7t();
|
|
6135
|
+
var player = getPlayer(table.players, this.yfh_1.s75());
|
|
6136
6136
|
var connectionState = player.m7x_1.v78().f77_1;
|
|
6137
6137
|
var tmp_0;
|
|
6138
6138
|
switch (connectionState.a1_1) {
|
|
6139
6139
|
case 1:
|
|
6140
|
-
tmp_0 = listOf(new PlayerConnectionUpdateAction(PlayerConnectionState_TIMEOUT_getInstance(), player.playerId, VOID, this.
|
|
6140
|
+
tmp_0 = listOf(new PlayerConnectionUpdateAction(PlayerConnectionState_TIMEOUT_getInstance(), player.playerId, VOID, this.yfh_1.qat_1));
|
|
6141
6141
|
break;
|
|
6142
6142
|
case 6:
|
|
6143
6143
|
tmp_0 = emptyList();
|
|
@@ -6148,8 +6148,8 @@
|
|
|
6148
6148
|
case 2:
|
|
6149
6149
|
case 0:
|
|
6150
6150
|
var tmp_1;
|
|
6151
|
-
if (table.sceneInfo.n8j() && this.
|
|
6152
|
-
tmp_1 = new PlayerConnectionUpdateAction(PlayerConnectionState_DELETED_getInstance(), player.playerId, VOID, this.
|
|
6151
|
+
if (table.sceneInfo.n8j() && this.zfh_1.closeIfBotsAtFinish) {
|
|
6152
|
+
tmp_1 = new PlayerConnectionUpdateAction(PlayerConnectionState_DELETED_getInstance(), player.playerId, VOID, this.yfh_1.qat_1);
|
|
6153
6153
|
} else {
|
|
6154
6154
|
tmp_1 = AskBotAction_init_$Create$(player.playerId, 'PlayerTurn when connection state = ' + connectionState.toString());
|
|
6155
6155
|
}
|
|
@@ -6157,7 +6157,7 @@
|
|
|
6157
6157
|
tmp_0 = listOf(tmp_1);
|
|
6158
6158
|
break;
|
|
6159
6159
|
case 7:
|
|
6160
|
-
this.
|
|
6160
|
+
this.afi_1.w('playerTurnTimeoutWhenHasConnectionMiddleware', "Can't support this state " + connectionState.toString() + ', ' + ('action:' + this.bfi_1.toString()));
|
|
6161
6161
|
tmp_0 = emptyList();
|
|
6162
6162
|
break;
|
|
6163
6163
|
default:
|
|
@@ -6169,7 +6169,7 @@
|
|
|
6169
6169
|
var _iterator__ex2g4s = actions.t();
|
|
6170
6170
|
while (_iterator__ex2g4s.u()) {
|
|
6171
6171
|
var element = _iterator__ex2g4s.v();
|
|
6172
|
-
this.
|
|
6172
|
+
this.xfh_1.dispatch(element);
|
|
6173
6173
|
}
|
|
6174
6174
|
}
|
|
6175
6175
|
return Unit_instance;
|
|
@@ -6183,8 +6183,8 @@
|
|
|
6183
6183
|
while (true);
|
|
6184
6184
|
};
|
|
6185
6185
|
protoOf(playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda).u2b = function ($this$launchDefaultWithLock, completion) {
|
|
6186
|
-
var i = new playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda(this.
|
|
6187
|
-
i.
|
|
6186
|
+
var i = new playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda(this.xfh_1, this.yfh_1, this.zfh_1, this.afi_1, this.bfi_1, completion);
|
|
6187
|
+
i.cfi_1 = $this$launchDefaultWithLock;
|
|
6188
6188
|
return i;
|
|
6189
6189
|
};
|
|
6190
6190
|
function playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda_0($store, $timerTag, $serverConfig, $logger, $action, resultContinuation) {
|
|
@@ -6196,9 +6196,9 @@
|
|
|
6196
6196
|
return l;
|
|
6197
6197
|
}
|
|
6198
6198
|
function playerTurnTimeoutWhenHasConnectionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $serverConfig, $logger) {
|
|
6199
|
-
this.
|
|
6200
|
-
this.
|
|
6201
|
-
this.
|
|
6199
|
+
this.dfi_1 = $asyncProvider;
|
|
6200
|
+
this.efi_1 = $serverConfig;
|
|
6201
|
+
this.ffi_1 = $logger;
|
|
6202
6202
|
}
|
|
6203
6203
|
protoOf(playerTurnTimeoutWhenHasConnectionMiddleware$$inlined$middlewareForActionType$1).z7g = function (action) {
|
|
6204
6204
|
return action instanceof TimerTickAction;
|
|
@@ -6207,7 +6207,7 @@
|
|
|
6207
6207
|
var action_0 = action instanceof TimerTickAction ? action : THROW_CCE();
|
|
6208
6208
|
var timerTag = action_0.v7g_1;
|
|
6209
6209
|
if (timerTag instanceof PlayerTurnTimerTag) {
|
|
6210
|
-
this.
|
|
6210
|
+
this.dfi_1.r7c(VOID, playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda_0(store, timerTag, this.efi_1, this.ffi_1, action_0, null));
|
|
6211
6211
|
}
|
|
6212
6212
|
next(action_0);
|
|
6213
6213
|
};
|
|
@@ -6223,19 +6223,19 @@
|
|
|
6223
6223
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).z7g = function (action) {
|
|
6224
6224
|
return action instanceof UpdateServerConfigAction;
|
|
6225
6225
|
};
|
|
6226
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
6226
|
+
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).zav = function (state, action) {
|
|
6227
6227
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
6228
|
-
return state.xaf(VOID, get_serverStatePayload(state).copy(action_0.
|
|
6228
|
+
return state.xaf(VOID, get_serverStatePayload(state).copy(action_0.vff_1));
|
|
6229
6229
|
};
|
|
6230
6230
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).p7i = function (state, action) {
|
|
6231
|
-
return this.
|
|
6231
|
+
return this.zav((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
6232
6232
|
};
|
|
6233
6233
|
function addRoomMetadata($this, _this__u8e3s4, gameId) {
|
|
6234
6234
|
_this__u8e3s4.metadata.addGame(gameId, new GameMetadata(gameId));
|
|
6235
6235
|
return _this__u8e3s4.metadata;
|
|
6236
6236
|
}
|
|
6237
6237
|
function Companion_5() {
|
|
6238
|
-
this.
|
|
6238
|
+
this.gfi_1 = 'ServerMechanicLifecycleReducer';
|
|
6239
6239
|
}
|
|
6240
6240
|
var Companion_instance_16;
|
|
6241
6241
|
function Companion_getInstance_6() {
|
|
@@ -6243,31 +6243,31 @@
|
|
|
6243
6243
|
}
|
|
6244
6244
|
function ServerMechanicLifecycleReducer$onStart$lambda(this$0, $updatedServerPayload) {
|
|
6245
6245
|
return function (it) {
|
|
6246
|
-
return Companion_instance_4.r78(this$0.
|
|
6246
|
+
return Companion_instance_4.r78(this$0.kfi_1.pff(it.isBot, it.g76_1, $updatedServerPayload.connectedPlayers));
|
|
6247
6247
|
};
|
|
6248
6248
|
}
|
|
6249
6249
|
function ServerMechanicLifecycleReducer(logger, connectionInteractor, tableLifecycleReducer, randomPoolProvider) {
|
|
6250
6250
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
6251
|
-
this.
|
|
6252
|
-
this.
|
|
6251
|
+
this.jfi_1 = logger;
|
|
6252
|
+
this.kfi_1 = connectionInteractor;
|
|
6253
6253
|
}
|
|
6254
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
6254
|
+
protoOf(ServerMechanicLifecycleReducer).qax = function (state, action) {
|
|
6255
6255
|
var serverState = get_serverStatePayload(state);
|
|
6256
|
-
this.
|
|
6256
|
+
this.jfi_1.d('ServerMechanicLifecycleReducer', 'onStart ' + get_versionOrDefault(GameEngineConfig_instance) + ', connectedPlayers: ' + toString(serverState.connectedPlayers), action);
|
|
6257
6257
|
var tableId = action.x99_1;
|
|
6258
6258
|
var updatedServerPayload = serverState.copy(VOID, addRoomMetadata(this, serverState, tableId));
|
|
6259
6259
|
var tmp6_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
6260
|
-
var tmp0_$this = this.
|
|
6260
|
+
var tmp0_$this = this.rax_1;
|
|
6261
6261
|
var tmp1_version = action.y99_1;
|
|
6262
6262
|
var tmp2_config = action.w99_1;
|
|
6263
6263
|
var tmp3_users = action.a9a_1;
|
|
6264
6264
|
var tmp4_spectators = action.spectators;
|
|
6265
6265
|
var tmp5_gameCreatorPlayerId = action.z99_1;
|
|
6266
|
-
var tmp7_tableOrNull = tmp0_$this.
|
|
6266
|
+
var tmp7_tableOrNull = tmp0_$this.zay(tableId, tableId, tmp2_config, tmp1_version, tmp3_users, tmp4_spectators, tmp5_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(this, updatedServerPayload));
|
|
6267
6267
|
return state.xaf(tmp7_tableOrNull, updatedServerPayload, tmp6_gameLifecycleState);
|
|
6268
6268
|
};
|
|
6269
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
6270
|
-
this.
|
|
6269
|
+
protoOf(ServerMechanicLifecycleReducer).oax = function (state, action) {
|
|
6270
|
+
this.jfi_1.d('ServerMechanicLifecycleReducer', 'onContinue ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
6271
6271
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
6272
6272
|
var tmp2_tableOrNull = action.table;
|
|
6273
6273
|
var tmp = Companion_instance_17;
|
|
@@ -6277,10 +6277,10 @@
|
|
|
6277
6277
|
var tmp3_payload = tmp.initial(tmp_0.copy(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.w74_1), addRoomMetadata(this, get_serverStatePayload(state), action.table.gameId));
|
|
6278
6278
|
return state.xaf(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
|
|
6279
6279
|
};
|
|
6280
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
6281
|
-
this.
|
|
6280
|
+
protoOf(ServerMechanicLifecycleReducer).pax = function (state, action) {
|
|
6281
|
+
this.sax_1.m6f(action.previousGameId);
|
|
6282
6282
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
6283
|
-
var tmp1_tableOrNull = this.
|
|
6283
|
+
var tmp1_tableOrNull = this.rax_1.aaz(state.y7t(), action.gameId);
|
|
6284
6284
|
var tmp2_payload = get_serverStatePayload(state).copy(VOID, addRoomMetadata(this, get_serverStatePayload(state), action.gameId));
|
|
6285
6285
|
return state.xaf(tmp1_tableOrNull, tmp2_payload, tmp0_gameLifecycleState);
|
|
6286
6286
|
};
|
|
@@ -6289,18 +6289,18 @@
|
|
|
6289
6289
|
return new spectatorsReducer$$inlined$reducerForActionType$1(logger);
|
|
6290
6290
|
}
|
|
6291
6291
|
function spectatorsReducer$$inlined$reducerForActionType$1($logger) {
|
|
6292
|
-
this.
|
|
6292
|
+
this.lfi_1 = $logger;
|
|
6293
6293
|
}
|
|
6294
6294
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).z7g = function (action) {
|
|
6295
6295
|
return isInterface(action, SpectatorsAction);
|
|
6296
6296
|
};
|
|
6297
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
6297
|
+
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).zav = function (state, action) {
|
|
6298
6298
|
var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
|
|
6299
6299
|
var table = state.y7t();
|
|
6300
6300
|
var tmp;
|
|
6301
6301
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
6302
6302
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
6303
|
-
var tmp0 = action_0.
|
|
6303
|
+
var tmp0 = action_0.wff_1;
|
|
6304
6304
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
6305
6305
|
var destination = ArrayList_init_$Create$_0();
|
|
6306
6306
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -6319,9 +6319,9 @@
|
|
|
6319
6319
|
var tmp_0;
|
|
6320
6320
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
6321
6321
|
if (!sameSpectators.r()) {
|
|
6322
|
-
this.
|
|
6322
|
+
this.lfi_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
6323
6323
|
// Inline function 'kotlin.collections.filterNot' call
|
|
6324
|
-
var tmp0_0 = action_0.
|
|
6324
|
+
var tmp0_0 = action_0.wff_1;
|
|
6325
6325
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
6326
6326
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
6327
6327
|
var _iterator__ex2g4s_0 = tmp0_0.t();
|
|
@@ -6356,7 +6356,7 @@
|
|
|
6356
6356
|
}
|
|
6357
6357
|
tmp_0 = destination_0;
|
|
6358
6358
|
} else {
|
|
6359
|
-
tmp_0 = action_0.
|
|
6359
|
+
tmp_0 = action_0.wff_1;
|
|
6360
6360
|
}
|
|
6361
6361
|
// Inline function 'kotlin.collections.map' call
|
|
6362
6362
|
var this_0 = tmp_0;
|
|
@@ -6373,7 +6373,7 @@
|
|
|
6373
6373
|
} else {
|
|
6374
6374
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
6375
6375
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
6376
|
-
var tmp0_1 = action_0.
|
|
6376
|
+
var tmp0_1 = action_0.xff_1;
|
|
6377
6377
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
6378
6378
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
6379
6379
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -6392,9 +6392,9 @@
|
|
|
6392
6392
|
var tmp_2;
|
|
6393
6393
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
6394
6394
|
if (!sameSpectators_0.r()) {
|
|
6395
|
-
this.
|
|
6395
|
+
this.lfi_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
6396
6396
|
// Inline function 'kotlin.collections.filterNot' call
|
|
6397
|
-
var tmp0_2 = action_0.
|
|
6397
|
+
var tmp0_2 = action_0.xff_1;
|
|
6398
6398
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
6399
6399
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
6400
6400
|
var _iterator__ex2g4s_4 = tmp0_2.t();
|
|
@@ -6429,7 +6429,7 @@
|
|
|
6429
6429
|
}
|
|
6430
6430
|
tmp_2 = destination_3;
|
|
6431
6431
|
} else {
|
|
6432
|
-
tmp_2 = action_0.
|
|
6432
|
+
tmp_2 = action_0.xff_1;
|
|
6433
6433
|
}
|
|
6434
6434
|
var spectatorsToRemove = toSet(tmp_2);
|
|
6435
6435
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -6474,7 +6474,7 @@
|
|
|
6474
6474
|
return tmp;
|
|
6475
6475
|
};
|
|
6476
6476
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).p7i = function (state, action) {
|
|
6477
|
-
return this.
|
|
6477
|
+
return this.zav((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
6478
6478
|
};
|
|
6479
6479
|
function playerConnectionUpdateReducer() {
|
|
6480
6480
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
@@ -6485,7 +6485,7 @@
|
|
|
6485
6485
|
protoOf(playerConnectionUpdateReducer$$inlined$reducerForActionType$1).z7g = function (action) {
|
|
6486
6486
|
return action instanceof PlayerConnectionUpdateAction;
|
|
6487
6487
|
};
|
|
6488
|
-
protoOf(playerConnectionUpdateReducer$$inlined$reducerForActionType$1).
|
|
6488
|
+
protoOf(playerConnectionUpdateReducer$$inlined$reducerForActionType$1).zav = function (state, action) {
|
|
6489
6489
|
var action_0 = action instanceof PlayerConnectionUpdateAction ? action : THROW_CCE();
|
|
6490
6490
|
var statePayload = get_serverStatePayload(state);
|
|
6491
6491
|
var tmp;
|
|
@@ -6497,17 +6497,17 @@
|
|
|
6497
6497
|
return tmp;
|
|
6498
6498
|
};
|
|
6499
6499
|
protoOf(playerConnectionUpdateReducer$$inlined$reducerForActionType$1).p7i = function (state, action) {
|
|
6500
|
-
return this.
|
|
6500
|
+
return this.zav((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
6501
6501
|
};
|
|
6502
6502
|
function Companion_6() {
|
|
6503
6503
|
}
|
|
6504
|
-
protoOf(Companion_6).
|
|
6504
|
+
protoOf(Companion_6).mfi = function (config, metadata) {
|
|
6505
6505
|
return new ServerStatePayload(config, metadata, emptyList());
|
|
6506
6506
|
};
|
|
6507
6507
|
protoOf(Companion_6).initial = function (config, metadata, $super) {
|
|
6508
6508
|
config = config === VOID ? Companion_instance_11.initial(null) : config;
|
|
6509
6509
|
metadata = metadata === VOID ? new RoomMetadata() : metadata;
|
|
6510
|
-
return $super === VOID ? this.
|
|
6510
|
+
return $super === VOID ? this.mfi(config, metadata) : $super.mfi.call(this, config, metadata);
|
|
6511
6511
|
};
|
|
6512
6512
|
var Companion_instance_17;
|
|
6513
6513
|
function Companion_getInstance_7() {
|
|
@@ -6524,7 +6524,7 @@
|
|
|
6524
6524
|
protoOf(ServerStatePayload).r9z = function () {
|
|
6525
6525
|
return this.metadata;
|
|
6526
6526
|
};
|
|
6527
|
-
protoOf(ServerStatePayload).
|
|
6527
|
+
protoOf(ServerStatePayload).nfi = function () {
|
|
6528
6528
|
return this.connectedPlayers;
|
|
6529
6529
|
};
|
|
6530
6530
|
protoOf(ServerStatePayload).kf = function () {
|
|
@@ -6536,14 +6536,14 @@
|
|
|
6536
6536
|
protoOf(ServerStatePayload).om = function () {
|
|
6537
6537
|
return this.connectedPlayers;
|
|
6538
6538
|
};
|
|
6539
|
-
protoOf(ServerStatePayload).
|
|
6539
|
+
protoOf(ServerStatePayload).ofi = function (config, metadata, connectedPlayers) {
|
|
6540
6540
|
return new ServerStatePayload(config, metadata, connectedPlayers);
|
|
6541
6541
|
};
|
|
6542
6542
|
protoOf(ServerStatePayload).copy = function (config, metadata, connectedPlayers, $super) {
|
|
6543
6543
|
config = config === VOID ? this.config : config;
|
|
6544
6544
|
metadata = metadata === VOID ? this.metadata : metadata;
|
|
6545
6545
|
connectedPlayers = connectedPlayers === VOID ? this.connectedPlayers : connectedPlayers;
|
|
6546
|
-
return $super === VOID ? this.
|
|
6546
|
+
return $super === VOID ? this.ofi(config, metadata, connectedPlayers) : $super.ofi.call(this, config, metadata, connectedPlayers);
|
|
6547
6547
|
};
|
|
6548
6548
|
protoOf(ServerStatePayload).toString = function () {
|
|
6549
6549
|
return 'ServerStatePayload(config=' + this.config.toString() + ', metadata=' + toString(this.metadata) + ', connectedPlayers=' + toString(this.connectedPlayers) + ')';
|
|
@@ -6568,7 +6568,7 @@
|
|
|
6568
6568
|
return true;
|
|
6569
6569
|
};
|
|
6570
6570
|
function serverLoggerKeyFromPayload(_this__u8e3s4, payload) {
|
|
6571
|
-
var gameId = Companion_instance_5.
|
|
6571
|
+
var gameId = Companion_instance_5.bb1(payload);
|
|
6572
6572
|
var tmp;
|
|
6573
6573
|
if (!(gameId == null)) {
|
|
6574
6574
|
tmp = new ServerLoggerKey(gameId);
|
|
@@ -6608,14 +6608,14 @@
|
|
|
6608
6608
|
return new GameServerEngineControllerImpl(loggerCallback, randomOrgConfig);
|
|
6609
6609
|
}
|
|
6610
6610
|
function _get_logger__rkp4sl_0($this) {
|
|
6611
|
-
var tmp0 = $this.
|
|
6611
|
+
var tmp0 = $this.xfi_1;
|
|
6612
6612
|
var tmp = KProperty1;
|
|
6613
6613
|
// Inline function 'kotlin.getValue' call
|
|
6614
6614
|
getPropertyCallableRef('logger', 1, tmp, GameServerEngineControllerImpl$_get_logger_$ref_b9j0th(), null);
|
|
6615
6615
|
return tmp0.o1();
|
|
6616
6616
|
}
|
|
6617
6617
|
function _get_di__ndbzja($this) {
|
|
6618
|
-
var tmp0 = $this.
|
|
6618
|
+
var tmp0 = $this.yfi_1;
|
|
6619
6619
|
var tmp = KProperty1;
|
|
6620
6620
|
// Inline function 'kotlin.getValue' call
|
|
6621
6621
|
getPropertyCallableRef('di', 1, tmp, GameServerEngineControllerImpl$_get_di_$ref_cvlqo6(), null);
|
|
@@ -6632,8 +6632,8 @@
|
|
|
6632
6632
|
}
|
|
6633
6633
|
function createCallbackOutput($this, gameServer) {
|
|
6634
6634
|
var tmp;
|
|
6635
|
-
if (!($this.
|
|
6636
|
-
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.
|
|
6635
|
+
if (!($this.vfi_1 == null)) {
|
|
6636
|
+
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.vfi_1);
|
|
6637
6637
|
tmp = new CallbackWrapperLoggerOutput(tmp_0, GameServerEngineControllerImpl$createCallbackOutput$lambda(gameServer));
|
|
6638
6638
|
} else {
|
|
6639
6639
|
tmp = null;
|
|
@@ -6647,11 +6647,11 @@
|
|
|
6647
6647
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
6648
6648
|
return function () {
|
|
6649
6649
|
var tmp;
|
|
6650
|
-
if (this$0.
|
|
6650
|
+
if (this$0.vfi_1 == null) {
|
|
6651
6651
|
tmp = null;
|
|
6652
6652
|
} else {
|
|
6653
6653
|
// Inline function 'kotlin.let' call
|
|
6654
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
6654
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.vfi_1)]));
|
|
6655
6655
|
}
|
|
6656
6656
|
var tmp1_elvis_lhs = tmp;
|
|
6657
6657
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -6684,7 +6684,7 @@
|
|
|
6684
6684
|
tmp_0.b1g(tmp$ret$3);
|
|
6685
6685
|
$this$DI.a1c(jsonModule());
|
|
6686
6686
|
$this$DI.a1c(serverHelpersModule());
|
|
6687
|
-
$this$DI.a1c(randomOrgModule(this$0.
|
|
6687
|
+
$this$DI.a1c(randomOrgModule(this$0.wfi_1));
|
|
6688
6688
|
return Unit_instance;
|
|
6689
6689
|
};
|
|
6690
6690
|
}
|
|
@@ -6760,16 +6760,16 @@
|
|
|
6760
6760
|
};
|
|
6761
6761
|
}
|
|
6762
6762
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1($reducer) {
|
|
6763
|
-
this.
|
|
6763
|
+
this.ffj_1 = $reducer;
|
|
6764
6764
|
}
|
|
6765
6765
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).z7g = function (action) {
|
|
6766
6766
|
return isInterface(action, Action);
|
|
6767
6767
|
};
|
|
6768
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
6769
|
-
return this.
|
|
6768
|
+
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).zav = function (state, action) {
|
|
6769
|
+
return this.ffj_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
6770
6770
|
};
|
|
6771
6771
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).p7i = function (state, action) {
|
|
6772
|
-
return this.
|
|
6772
|
+
return this.zav((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
6773
6773
|
};
|
|
6774
6774
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($gameServer) {
|
|
6775
6775
|
return function () {
|
|
@@ -6849,7 +6849,7 @@
|
|
|
6849
6849
|
}
|
|
6850
6850
|
function GameServerEngineControllerImpl$createCallbackOutput$lambda($gameServer) {
|
|
6851
6851
|
return function (it) {
|
|
6852
|
-
var payload = Companion_instance_8.
|
|
6852
|
+
var payload = Companion_instance_8.naz(it);
|
|
6853
6853
|
var tmp;
|
|
6854
6854
|
if (!(payload == null)) {
|
|
6855
6855
|
return payload;
|
|
@@ -6870,7 +6870,7 @@
|
|
|
6870
6870
|
// Inline function 'kotlin.let' call
|
|
6871
6871
|
$this$DI.a1c(tmp0_safe_receiver);
|
|
6872
6872
|
}
|
|
6873
|
-
$this$DI.a1c(dealerModule(this$0.randomPoolProvider, this$0.
|
|
6873
|
+
$this$DI.a1c(dealerModule(this$0.randomPoolProvider, this$0.wfi_1));
|
|
6874
6874
|
$this$DI.a1c(coreModule($coreConfig));
|
|
6875
6875
|
$this$DI.a1c(createGameServerDI($serverConfig, $logicConfig, $engineBotConfig, $dealerConfig, $ratingConfig, $leaguesConfig, $externalReducers, $externalMiddlewares));
|
|
6876
6876
|
return Unit_instance;
|
|
@@ -6879,8 +6879,8 @@
|
|
|
6879
6879
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
6880
6880
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
6881
6881
|
production = production === VOID ? true : production;
|
|
6882
|
-
this.
|
|
6883
|
-
this.
|
|
6882
|
+
this.vfi_1 = loggerCallback;
|
|
6883
|
+
this.wfi_1 = randomOrgConfig;
|
|
6884
6884
|
var tmp = AppEnvironment_getInstance();
|
|
6885
6885
|
var tmp_0;
|
|
6886
6886
|
if (production) {
|
|
@@ -6890,9 +6890,9 @@
|
|
|
6890
6890
|
}
|
|
6891
6891
|
tmp.c7o(tmp_0);
|
|
6892
6892
|
var tmp_1 = this;
|
|
6893
|
-
tmp_1.
|
|
6893
|
+
tmp_1.xfi_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
6894
6894
|
var tmp_2 = this;
|
|
6895
|
-
tmp_2.
|
|
6895
|
+
tmp_2.yfi_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
6896
6896
|
var tmp_3 = this;
|
|
6897
6897
|
// Inline function 'org.kodein.di.instance' call
|
|
6898
6898
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -6901,7 +6901,7 @@
|
|
|
6901
6901
|
var tmp$ret$0 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
6902
6902
|
var tmp_5 = Instance(this_0, tmp$ret$0, null);
|
|
6903
6903
|
var tmp_6 = KProperty1;
|
|
6904
|
-
tmp_3.
|
|
6904
|
+
tmp_3.zfi_1 = tmp_5.y1h(this, getPropertyCallableRef('parser', 1, tmp_6, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w(), null));
|
|
6905
6905
|
var tmp_7 = this;
|
|
6906
6906
|
// Inline function 'org.kodein.di.instance' call
|
|
6907
6907
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -6910,7 +6910,7 @@
|
|
|
6910
6910
|
var tmp$ret$2 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
6911
6911
|
var tmp_9 = Instance(this_1, tmp$ret$2, null);
|
|
6912
6912
|
var tmp_10 = KProperty1;
|
|
6913
|
-
tmp_7.
|
|
6913
|
+
tmp_7.afj_1 = tmp_9.y1h(this, getPropertyCallableRef('helper', 1, tmp_10, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f(), null));
|
|
6914
6914
|
var tmp_11 = this;
|
|
6915
6915
|
// Inline function 'org.kodein.di.instance' call
|
|
6916
6916
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -6919,7 +6919,7 @@
|
|
|
6919
6919
|
var tmp$ret$4 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
6920
6920
|
var tmp_13 = Instance(this_2, tmp$ret$4, null);
|
|
6921
6921
|
var tmp_14 = KProperty1;
|
|
6922
|
-
tmp_11.
|
|
6922
|
+
tmp_11.bfj_1 = tmp_13.y1h(this, getPropertyCallableRef('serverHelper', 1, tmp_14, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre(), null));
|
|
6923
6923
|
var tmp_15 = this;
|
|
6924
6924
|
// Inline function 'org.kodein.di.instance' call
|
|
6925
6925
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -6928,7 +6928,7 @@
|
|
|
6928
6928
|
var tmp$ret$6 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
6929
6929
|
var tmp_17 = Instance(this_3, tmp$ret$6, null);
|
|
6930
6930
|
var tmp_18 = KProperty1;
|
|
6931
|
-
tmp_15.
|
|
6931
|
+
tmp_15.cfj_1 = tmp_17.y1h(this, getPropertyCallableRef('resources', 1, tmp_18, GameServerEngineControllerImpl$_get_resources_$ref_dt6416(), null));
|
|
6932
6932
|
var tmp_19 = this;
|
|
6933
6933
|
// Inline function 'org.kodein.di.instance' call
|
|
6934
6934
|
var this_4 = _get_di__ndbzja(this);
|
|
@@ -6937,7 +6937,7 @@
|
|
|
6937
6937
|
var tmp$ret$8 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
6938
6938
|
var tmp_21 = Instance(this_4, tmp$ret$8, null);
|
|
6939
6939
|
var tmp_22 = KProperty1;
|
|
6940
|
-
tmp_19.
|
|
6940
|
+
tmp_19.dfj_1 = tmp_21.y1h(this, getPropertyCallableRef('test', 1, tmp_22, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5(), null));
|
|
6941
6941
|
var tmp_23 = this;
|
|
6942
6942
|
// Inline function 'org.kodein.di.instance' call
|
|
6943
6943
|
var this_5 = _get_di__ndbzja(this);
|
|
@@ -6946,45 +6946,45 @@
|
|
|
6946
6946
|
var tmp$ret$10 = isInterface(tmp_24, TypeToken) ? tmp_24 : THROW_CCE();
|
|
6947
6947
|
var tmp_25 = Instance(this_5, tmp$ret$10, null);
|
|
6948
6948
|
var tmp_26 = KProperty1;
|
|
6949
|
-
tmp_23.
|
|
6949
|
+
tmp_23.efj_1 = tmp_25.y1h(this, getPropertyCallableRef('randomPoolProvider', 1, tmp_26, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl(), null));
|
|
6950
6950
|
}
|
|
6951
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6952
|
-
var tmp0 = this.
|
|
6951
|
+
protoOf(GameServerEngineControllerImpl).iet = function () {
|
|
6952
|
+
var tmp0 = this.zfi_1;
|
|
6953
6953
|
var tmp = KProperty1;
|
|
6954
6954
|
// Inline function 'kotlin.getValue' call
|
|
6955
6955
|
getPropertyCallableRef('parser', 1, tmp, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w_0(), null);
|
|
6956
6956
|
return tmp0.o1();
|
|
6957
6957
|
};
|
|
6958
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6959
|
-
var tmp0 = this.
|
|
6958
|
+
protoOf(GameServerEngineControllerImpl).qfi = function () {
|
|
6959
|
+
var tmp0 = this.afj_1;
|
|
6960
6960
|
var tmp = KProperty1;
|
|
6961
6961
|
// Inline function 'kotlin.getValue' call
|
|
6962
6962
|
getPropertyCallableRef('helper', 1, tmp, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f_0(), null);
|
|
6963
6963
|
return tmp0.o1();
|
|
6964
6964
|
};
|
|
6965
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6966
|
-
var tmp0 = this.
|
|
6965
|
+
protoOf(GameServerEngineControllerImpl).rfi = function () {
|
|
6966
|
+
var tmp0 = this.bfj_1;
|
|
6967
6967
|
var tmp = KProperty1;
|
|
6968
6968
|
// Inline function 'kotlin.getValue' call
|
|
6969
6969
|
getPropertyCallableRef('serverHelper', 1, tmp, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre_0(), null);
|
|
6970
6970
|
return tmp0.o1();
|
|
6971
6971
|
};
|
|
6972
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6973
|
-
var tmp0 = this.
|
|
6972
|
+
protoOf(GameServerEngineControllerImpl).sfi = function () {
|
|
6973
|
+
var tmp0 = this.cfj_1;
|
|
6974
6974
|
var tmp = KProperty1;
|
|
6975
6975
|
// Inline function 'kotlin.getValue' call
|
|
6976
6976
|
getPropertyCallableRef('resources', 1, tmp, GameServerEngineControllerImpl$_get_resources_$ref_dt6416_0(), null);
|
|
6977
6977
|
return tmp0.o1();
|
|
6978
6978
|
};
|
|
6979
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6980
|
-
var tmp0 = this.
|
|
6979
|
+
protoOf(GameServerEngineControllerImpl).pfi = function () {
|
|
6980
|
+
var tmp0 = this.dfj_1;
|
|
6981
6981
|
var tmp = KProperty1;
|
|
6982
6982
|
// Inline function 'kotlin.getValue' call
|
|
6983
6983
|
getPropertyCallableRef('test', 1, tmp, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5_0(), null);
|
|
6984
6984
|
return tmp0.o1();
|
|
6985
6985
|
};
|
|
6986
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6987
|
-
var tmp0 = this.
|
|
6986
|
+
protoOf(GameServerEngineControllerImpl).tfi = function () {
|
|
6987
|
+
var tmp0 = this.efj_1;
|
|
6988
6988
|
var tmp = KProperty1;
|
|
6989
6989
|
// Inline function 'kotlin.getValue' call
|
|
6990
6990
|
getPropertyCallableRef('randomPoolProvider', 1, tmp, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl_0(), null);
|
|
@@ -6996,7 +6996,7 @@
|
|
|
6996
6996
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
6997
6997
|
return this.createGameEngineWithLogic();
|
|
6998
6998
|
};
|
|
6999
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6999
|
+
protoOf(GameServerEngineControllerImpl).ufi = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, leaguesConfig, coreConfig, botConfig) {
|
|
7000
7000
|
var combinedLogger = Companion_instance_9.dy();
|
|
7001
7001
|
var gameServer = {_v: null};
|
|
7002
7002
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -7044,7 +7044,7 @@
|
|
|
7044
7044
|
function TestHelper() {
|
|
7045
7045
|
}
|
|
7046
7046
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
7047
|
-
var tmp0 = $this.
|
|
7047
|
+
var tmp0 = $this.ifj_1;
|
|
7048
7048
|
var tmp = KProperty1;
|
|
7049
7049
|
// Inline function 'kotlin.getValue' call
|
|
7050
7050
|
getPropertyCallableRef('playerAnswerInteractor', 1, tmp, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy_0(), null);
|
|
@@ -7052,7 +7052,7 @@
|
|
|
7052
7052
|
}
|
|
7053
7053
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
7054
7054
|
return function ($this$singleton) {
|
|
7055
|
-
return this$0.
|
|
7055
|
+
return this$0.gfj_1;
|
|
7056
7056
|
};
|
|
7057
7057
|
}
|
|
7058
7058
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -7092,19 +7092,19 @@
|
|
|
7092
7092
|
return emptyMap();
|
|
7093
7093
|
}
|
|
7094
7094
|
function TestHelperImpl(logger) {
|
|
7095
|
-
this.
|
|
7095
|
+
this.gfj_1 = logger;
|
|
7096
7096
|
var tmp = this;
|
|
7097
7097
|
var tmp_0 = Companion_instance_7;
|
|
7098
|
-
tmp.
|
|
7098
|
+
tmp.hfj_1 = tmp_0.i1c(VOID, TestHelperImpl$di$lambda(this));
|
|
7099
7099
|
var tmp_1 = this;
|
|
7100
7100
|
// Inline function 'org.kodein.di.instance' call
|
|
7101
|
-
var this_0 = this.
|
|
7101
|
+
var this_0 = this.hfj_1;
|
|
7102
7102
|
// Inline function 'org.kodein.type.generic' call
|
|
7103
7103
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
7104
7104
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
7105
7105
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
7106
7106
|
var tmp_4 = KProperty1;
|
|
7107
|
-
tmp_1.
|
|
7107
|
+
tmp_1.ifj_1 = tmp_3.y1h(this, getPropertyCallableRef('playerAnswerInteractor', 1, tmp_4, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy(), null));
|
|
7108
7108
|
}
|
|
7109
7109
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
7110
7110
|
return _get_playerAnswerInteractor__msggz1(this).ha7(playerId, table, botConfig);
|
|
@@ -7177,14 +7177,14 @@
|
|
|
7177
7177
|
function RoomMetadata() {
|
|
7178
7178
|
var tmp = this;
|
|
7179
7179
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
7180
|
-
tmp.
|
|
7180
|
+
tmp.jfj_1 = LinkedHashMap_init_$Create$();
|
|
7181
7181
|
this.extras = {};
|
|
7182
|
-
this.extras = this.
|
|
7182
|
+
this.extras = this.jfj_1;
|
|
7183
7183
|
}
|
|
7184
|
-
protoOf(RoomMetadata).
|
|
7184
|
+
protoOf(RoomMetadata).kfj = function () {
|
|
7185
7185
|
return this.extras;
|
|
7186
7186
|
};
|
|
7187
|
-
protoOf(RoomMetadata).
|
|
7187
|
+
protoOf(RoomMetadata).kfj = function () {
|
|
7188
7188
|
return this.extras;
|
|
7189
7189
|
};
|
|
7190
7190
|
protoOf(RoomMetadata).getGame = function (gameId) {
|
|
@@ -7202,7 +7202,7 @@
|
|
|
7202
7202
|
};
|
|
7203
7203
|
protoOf(RoomMetadata).addGame = function (gameId, game) {
|
|
7204
7204
|
// Inline function 'kotlin.collections.set' call
|
|
7205
|
-
this.
|
|
7205
|
+
this.jfj_1.g3(gameId, game);
|
|
7206
7206
|
};
|
|
7207
7207
|
function GameMetadata(gameId) {
|
|
7208
7208
|
this.gameId = gameId;
|
|
@@ -7211,7 +7211,7 @@
|
|
|
7211
7211
|
protoOf(GameMetadata).b6b = function () {
|
|
7212
7212
|
return this.gameId;
|
|
7213
7213
|
};
|
|
7214
|
-
protoOf(GameMetadata).
|
|
7214
|
+
protoOf(GameMetadata).kfj = function () {
|
|
7215
7215
|
return this.extras;
|
|
7216
7216
|
};
|
|
7217
7217
|
function serverHelpersModule() {
|
|
@@ -7320,22 +7320,22 @@
|
|
|
7320
7320
|
protoOf(PlayerReconnectionWaitingTimerTag).haf = ignoreTimerResetValidation;
|
|
7321
7321
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
7322
7322
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
7323
|
-
return this.
|
|
7323
|
+
return this.iet();
|
|
7324
7324
|
});
|
|
7325
7325
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
7326
|
-
return this.
|
|
7326
|
+
return this.qfi();
|
|
7327
7327
|
});
|
|
7328
7328
|
defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
|
|
7329
|
-
return this.
|
|
7329
|
+
return this.rfi();
|
|
7330
7330
|
});
|
|
7331
7331
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
7332
|
-
return this.
|
|
7332
|
+
return this.sfi();
|
|
7333
7333
|
});
|
|
7334
7334
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
7335
|
-
return this.
|
|
7335
|
+
return this.pfi();
|
|
7336
7336
|
});
|
|
7337
7337
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
7338
|
-
return this.
|
|
7338
|
+
return this.tfi();
|
|
7339
7339
|
});
|
|
7340
7340
|
//endregion
|
|
7341
7341
|
//region block: init
|