client_plugin_logic_deb 1.8.507 → 1.8.508
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1 -1
- package/Logic_Debertz-client_plugin.d.ts +4 -2
- package/Logic_Debertz-client_plugin.js +2029 -2029
- package/Logic_Debertz-core.js +1 -1
- package/Logic_Debertz-engine.js +8 -0
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +5013 -5029
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js +874 -874
- package/kotlin-kotlin-stdlib.js +10 -10
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +9 -9
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -434,10 +434,10 @@
|
|
|
434
434
|
spectators = tmp;
|
|
435
435
|
var tmp_0;
|
|
436
436
|
if ($super === VOID) {
|
|
437
|
-
this.
|
|
437
|
+
this.nfq(roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
438
438
|
tmp_0 = Unit_instance;
|
|
439
439
|
} else {
|
|
440
|
-
tmp_0 = $super.
|
|
440
|
+
tmp_0 = $super.nfq.call(this, roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
441
441
|
}
|
|
442
442
|
return tmp_0;
|
|
443
443
|
}
|
|
@@ -445,10 +445,10 @@
|
|
|
445
445
|
newRid = newRid === VOID ? null : newRid;
|
|
446
446
|
var tmp;
|
|
447
447
|
if ($super === VOID) {
|
|
448
|
-
this.
|
|
448
|
+
this.pfq(newRid);
|
|
449
449
|
tmp = Unit_instance;
|
|
450
450
|
} else {
|
|
451
|
-
tmp = $super.
|
|
451
|
+
tmp = $super.pfq.call(this, newRid);
|
|
452
452
|
}
|
|
453
453
|
return tmp;
|
|
454
454
|
}
|
|
@@ -456,16 +456,16 @@
|
|
|
456
456
|
roomId = roomId === VOID ? null : roomId;
|
|
457
457
|
var tmp;
|
|
458
458
|
if ($super === VOID) {
|
|
459
|
-
this.
|
|
459
|
+
this.qfq(reason, roomId);
|
|
460
460
|
tmp = Unit_instance;
|
|
461
461
|
} else {
|
|
462
|
-
tmp = $super.
|
|
462
|
+
tmp = $super.qfq.call(this, reason, roomId);
|
|
463
463
|
}
|
|
464
464
|
return tmp;
|
|
465
465
|
}
|
|
466
466
|
function playerLeft(playerId, roomId, permanently, $super) {
|
|
467
467
|
permanently = permanently === VOID ? true : permanently;
|
|
468
|
-
return $super === VOID ? this.
|
|
468
|
+
return $super === VOID ? this.mfq(playerId, roomId, permanently) : $super.mfq.call(this, playerId, roomId, permanently);
|
|
469
469
|
}
|
|
470
470
|
initMetadataForInterface(ServerGameEngineContract, 'ServerGameEngineContract', VOID, VOID, [GameStoreContract]);
|
|
471
471
|
initMetadataForClass(GameServer, 'GameServer', VOID, BaseGame, [BaseGame, ServerGameEngineContract]);
|
|
@@ -493,7 +493,7 @@
|
|
|
493
493
|
initMetadataForClass(ToClientEventsObserverImpl, 'ToClientEventsObserverImpl', VOID, VOID, [ToClientEventsObserver], [1, 0]);
|
|
494
494
|
function getToClientContinueAction$default(sendToPlayer, table, previousConnectionState, $super) {
|
|
495
495
|
previousConnectionState = previousConnectionState === VOID ? null : previousConnectionState;
|
|
496
|
-
return $super === VOID ? this.
|
|
496
|
+
return $super === VOID ? this.oft(sendToPlayer, table, previousConnectionState) : $super.oft.call(this, sendToPlayer, table, previousConnectionState);
|
|
497
497
|
}
|
|
498
498
|
initMetadataForInterface(PlayerConnectionInteractor, 'PlayerConnectionInteractor');
|
|
499
499
|
initMetadataForClass(PlayerConnectionInteractorImpl, 'PlayerConnectionInteractorImpl', VOID, VOID, [PlayerConnectionInteractor]);
|
|
@@ -545,7 +545,7 @@
|
|
|
545
545
|
leaguesConfig = leaguesConfig === VOID ? Companion_instance_6.defaultConfig() : leaguesConfig;
|
|
546
546
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
547
547
|
botConfig = botConfig === VOID ? new EngineBotConfig(VOID, VOID, VOID, false) : botConfig;
|
|
548
|
-
return $super === VOID ? this.
|
|
548
|
+
return $super === VOID ? this.wfw(reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, leaguesConfig, coreConfig, botConfig) : $super.wfw.call(this, reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, leaguesConfig, coreConfig, botConfig);
|
|
549
549
|
}
|
|
550
550
|
initMetadataForInterface(GameEngineController, 'GameEngineController');
|
|
551
551
|
initMetadataForClass(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1, VOID, VOID, VOID, [Reducer]);
|
|
@@ -558,17 +558,17 @@
|
|
|
558
558
|
initMetadataForClass(GameMetadata, 'GameMetadata');
|
|
559
559
|
//endregion
|
|
560
560
|
function GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation) {
|
|
561
|
-
this.
|
|
561
|
+
this.vf7_1 = $subscriber;
|
|
562
562
|
CoroutineImpl.call(this, resultContinuation);
|
|
563
563
|
}
|
|
564
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
565
|
-
var tmp = this.
|
|
564
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).xf7 = function (it, $completion) {
|
|
565
|
+
var tmp = this.yf7(it, $completion);
|
|
566
566
|
tmp.k9_1 = Unit_instance;
|
|
567
567
|
tmp.l9_1 = null;
|
|
568
568
|
return tmp.q9();
|
|
569
569
|
};
|
|
570
570
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).ca = function (p1, $completion) {
|
|
571
|
-
return this.
|
|
571
|
+
return this.xf7(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
|
|
572
572
|
};
|
|
573
573
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).q9 = function () {
|
|
574
574
|
var suspendResult = this.k9_1;
|
|
@@ -577,7 +577,7 @@
|
|
|
577
577
|
var tmp = this.i9_1;
|
|
578
578
|
if (tmp === 0) {
|
|
579
579
|
this.j9_1 = 1;
|
|
580
|
-
this.
|
|
580
|
+
this.vf7_1(this.wf7_1);
|
|
581
581
|
return Unit_instance;
|
|
582
582
|
} else if (tmp === 1) {
|
|
583
583
|
throw this.l9_1;
|
|
@@ -588,31 +588,31 @@
|
|
|
588
588
|
}
|
|
589
589
|
while (true);
|
|
590
590
|
};
|
|
591
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
592
|
-
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.
|
|
593
|
-
i.
|
|
591
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).yf7 = function (it, completion) {
|
|
592
|
+
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.vf7_1, completion);
|
|
593
|
+
i.wf7_1 = it;
|
|
594
594
|
return i;
|
|
595
595
|
};
|
|
596
596
|
function GameServer$subscribeToClientAction$slambda$slambda_0($subscriber, resultContinuation) {
|
|
597
597
|
var i = new GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation);
|
|
598
598
|
var l = function (it, $completion) {
|
|
599
|
-
return i.
|
|
599
|
+
return i.xf7(it, $completion);
|
|
600
600
|
};
|
|
601
601
|
l.$arity = 1;
|
|
602
602
|
return l;
|
|
603
603
|
}
|
|
604
604
|
function GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation) {
|
|
605
|
-
this.
|
|
605
|
+
this.hf8_1 = $subscriber;
|
|
606
606
|
CoroutineImpl.call(this, resultContinuation);
|
|
607
607
|
}
|
|
608
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
609
|
-
var tmp = this.
|
|
608
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).jf8 = function (it, $completion) {
|
|
609
|
+
var tmp = this.kf8(it, $completion);
|
|
610
610
|
tmp.k9_1 = Unit_instance;
|
|
611
611
|
tmp.l9_1 = null;
|
|
612
612
|
return tmp.q9();
|
|
613
613
|
};
|
|
614
614
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).ca = function (p1, $completion) {
|
|
615
|
-
return this.
|
|
615
|
+
return this.jf8((!(p1 == null) ? isInterface(p1, ServerStateUpdate) : false) ? p1 : THROW_CCE(), $completion);
|
|
616
616
|
};
|
|
617
617
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).q9 = function () {
|
|
618
618
|
var suspendResult = this.k9_1;
|
|
@@ -621,7 +621,7 @@
|
|
|
621
621
|
var tmp = this.i9_1;
|
|
622
622
|
if (tmp === 0) {
|
|
623
623
|
this.j9_1 = 1;
|
|
624
|
-
this.
|
|
624
|
+
this.hf8_1(this.if8_1);
|
|
625
625
|
return Unit_instance;
|
|
626
626
|
} else if (tmp === 1) {
|
|
627
627
|
throw this.l9_1;
|
|
@@ -632,22 +632,22 @@
|
|
|
632
632
|
}
|
|
633
633
|
while (true);
|
|
634
634
|
};
|
|
635
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
636
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.
|
|
637
|
-
i.
|
|
635
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).kf8 = function (it, completion) {
|
|
636
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.hf8_1, completion);
|
|
637
|
+
i.if8_1 = it;
|
|
638
638
|
return i;
|
|
639
639
|
};
|
|
640
640
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_0($subscriber, resultContinuation) {
|
|
641
641
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation);
|
|
642
642
|
var l = function (it, $completion) {
|
|
643
|
-
return i.
|
|
643
|
+
return i.jf8(it, $completion);
|
|
644
644
|
};
|
|
645
645
|
l.$arity = 1;
|
|
646
646
|
return l;
|
|
647
647
|
}
|
|
648
648
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
|
|
649
|
-
this.
|
|
650
|
-
this.
|
|
649
|
+
this.tf8_1 = $$this$unsafeFlow;
|
|
650
|
+
this.uf8_1 = this$0;
|
|
651
651
|
CoroutineImpl.call(this, resultContinuation);
|
|
652
652
|
}
|
|
653
653
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).l2n = function (value, $completion) {
|
|
@@ -667,10 +667,10 @@
|
|
|
667
667
|
switch (tmp) {
|
|
668
668
|
case 0:
|
|
669
669
|
this.j9_1 = 2;
|
|
670
|
-
var tmp0 = this.
|
|
671
|
-
var value = this.
|
|
670
|
+
var tmp0 = this.tf8_1;
|
|
671
|
+
var value = this.vf8_1;
|
|
672
672
|
this.i9_1 = 1;
|
|
673
|
-
suspendResult = tmp0.r28(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.
|
|
673
|
+
suspendResult = tmp0.r28(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.uf8_1)), this);
|
|
674
674
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
675
675
|
return suspendResult;
|
|
676
676
|
}
|
|
@@ -693,8 +693,8 @@
|
|
|
693
693
|
while (true);
|
|
694
694
|
};
|
|
695
695
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).m2n = function (value, completion) {
|
|
696
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.
|
|
697
|
-
i.
|
|
696
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.tf8_1, this.uf8_1, completion);
|
|
697
|
+
i.vf8_1 = value;
|
|
698
698
|
return i;
|
|
699
699
|
};
|
|
700
700
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
@@ -707,8 +707,8 @@
|
|
|
707
707
|
}
|
|
708
708
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
709
709
|
CoroutineImpl.call(this, resultContinuation);
|
|
710
|
-
this.
|
|
711
|
-
this.
|
|
710
|
+
this.ef9_1 = _this__u8e3s4;
|
|
711
|
+
this.ff9_1 = collector;
|
|
712
712
|
}
|
|
713
713
|
protoOf($collectCOROUTINE$).q9 = function () {
|
|
714
714
|
var suspendResult = this.k9_1;
|
|
@@ -718,10 +718,10 @@
|
|
|
718
718
|
switch (tmp) {
|
|
719
719
|
case 0:
|
|
720
720
|
this.j9_1 = 2;
|
|
721
|
-
var $this$unsafeFlow = this.
|
|
721
|
+
var $this$unsafeFlow = this.ff9_1;
|
|
722
722
|
this.i9_1 = 1;
|
|
723
|
-
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
724
|
-
suspendResult = this.
|
|
723
|
+
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.ef9_1.hf9_1, null);
|
|
724
|
+
suspendResult = this.ef9_1.gf9_1.o27(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_0), this);
|
|
725
725
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
726
726
|
return suspendResult;
|
|
727
727
|
}
|
|
@@ -744,8 +744,8 @@
|
|
|
744
744
|
while (true);
|
|
745
745
|
};
|
|
746
746
|
function GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1($this, this$0) {
|
|
747
|
-
this.
|
|
748
|
-
this.
|
|
747
|
+
this.gf9_1 = $this;
|
|
748
|
+
this.hf9_1 = this$0;
|
|
749
749
|
}
|
|
750
750
|
protoOf(GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1).s28 = function (collector, $completion) {
|
|
751
751
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
@@ -757,17 +757,17 @@
|
|
|
757
757
|
return this.s28(collector, $completion);
|
|
758
758
|
};
|
|
759
759
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation) {
|
|
760
|
-
this.
|
|
760
|
+
this.qf9_1 = $subscriber;
|
|
761
761
|
CoroutineImpl.call(this, resultContinuation);
|
|
762
762
|
}
|
|
763
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
764
|
-
var tmp = this.
|
|
763
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).sf9 = function (it, $completion) {
|
|
764
|
+
var tmp = this.tf9(it, $completion);
|
|
765
765
|
tmp.k9_1 = Unit_instance;
|
|
766
766
|
tmp.l9_1 = null;
|
|
767
767
|
return tmp.q9();
|
|
768
768
|
};
|
|
769
769
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).ca = function (p1, $completion) {
|
|
770
|
-
return this.
|
|
770
|
+
return this.sf9((!(p1 == null) ? isInterface(p1, ServerStateUpdateDto) : false) ? p1 : THROW_CCE(), $completion);
|
|
771
771
|
};
|
|
772
772
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).q9 = function () {
|
|
773
773
|
var suspendResult = this.k9_1;
|
|
@@ -776,7 +776,7 @@
|
|
|
776
776
|
var tmp = this.i9_1;
|
|
777
777
|
if (tmp === 0) {
|
|
778
778
|
this.j9_1 = 1;
|
|
779
|
-
this.
|
|
779
|
+
this.qf9_1(this.rf9_1);
|
|
780
780
|
return Unit_instance;
|
|
781
781
|
} else if (tmp === 1) {
|
|
782
782
|
throw this.l9_1;
|
|
@@ -787,22 +787,22 @@
|
|
|
787
787
|
}
|
|
788
788
|
while (true);
|
|
789
789
|
};
|
|
790
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
791
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.
|
|
792
|
-
i.
|
|
790
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).tf9 = function (it, completion) {
|
|
791
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.qf9_1, completion);
|
|
792
|
+
i.rf9_1 = it;
|
|
793
793
|
return i;
|
|
794
794
|
};
|
|
795
795
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda_0($subscriber, resultContinuation) {
|
|
796
796
|
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation);
|
|
797
797
|
var l = function (it, $completion) {
|
|
798
|
-
return i.
|
|
798
|
+
return i.sf9(it, $completion);
|
|
799
799
|
};
|
|
800
800
|
l.$arity = 1;
|
|
801
801
|
return l;
|
|
802
802
|
}
|
|
803
803
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, $table, resultContinuation) {
|
|
804
|
-
this.
|
|
805
|
-
this.
|
|
804
|
+
this.cfa_1 = $$this$unsafeFlow;
|
|
805
|
+
this.dfa_1 = $table;
|
|
806
806
|
CoroutineImpl.call(this, resultContinuation);
|
|
807
807
|
}
|
|
808
808
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).l2n = function (value, $completion) {
|
|
@@ -822,10 +822,10 @@
|
|
|
822
822
|
switch (tmp) {
|
|
823
823
|
case 0:
|
|
824
824
|
this.j9_1 = 2;
|
|
825
|
-
var tmp0 = this.
|
|
826
|
-
var value = this.
|
|
825
|
+
var tmp0 = this.cfa_1;
|
|
826
|
+
var value = this.efa_1;
|
|
827
827
|
this.i9_1 = 1;
|
|
828
|
-
suspendResult = tmp0.r28(new ActionsStateUpdate(this.
|
|
828
|
+
suspendResult = tmp0.r28(new ActionsStateUpdate(this.dfa_1.id, copyToArray(value)), this);
|
|
829
829
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
830
830
|
return suspendResult;
|
|
831
831
|
}
|
|
@@ -848,8 +848,8 @@
|
|
|
848
848
|
while (true);
|
|
849
849
|
};
|
|
850
850
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).m2n = function (value, completion) {
|
|
851
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.
|
|
852
|
-
i.
|
|
851
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.cfa_1, this.dfa_1, completion);
|
|
852
|
+
i.efa_1 = value;
|
|
853
853
|
return i;
|
|
854
854
|
};
|
|
855
855
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, $table, resultContinuation) {
|
|
@@ -862,8 +862,8 @@
|
|
|
862
862
|
}
|
|
863
863
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
864
864
|
CoroutineImpl.call(this, resultContinuation);
|
|
865
|
-
this.
|
|
866
|
-
this.
|
|
865
|
+
this.nfa_1 = _this__u8e3s4;
|
|
866
|
+
this.ofa_1 = collector;
|
|
867
867
|
}
|
|
868
868
|
protoOf($collectCOROUTINE$_0).q9 = function () {
|
|
869
869
|
var suspendResult = this.k9_1;
|
|
@@ -873,10 +873,10 @@
|
|
|
873
873
|
switch (tmp) {
|
|
874
874
|
case 0:
|
|
875
875
|
this.j9_1 = 2;
|
|
876
|
-
var $this$unsafeFlow = this.
|
|
876
|
+
var $this$unsafeFlow = this.ofa_1;
|
|
877
877
|
this.i9_1 = 1;
|
|
878
|
-
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
879
|
-
suspendResult = this.
|
|
878
|
+
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.nfa_1.qfa_1, null);
|
|
879
|
+
suspendResult = this.nfa_1.pfa_1.o27(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
|
|
880
880
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
881
881
|
return suspendResult;
|
|
882
882
|
}
|
|
@@ -899,8 +899,8 @@
|
|
|
899
899
|
while (true);
|
|
900
900
|
};
|
|
901
901
|
function GameServer$observeTableStateUpdates$$inlined$flatMapLatest$2$2$1($this, $table) {
|
|
902
|
-
this.
|
|
903
|
-
this.
|
|
902
|
+
this.pfa_1 = $this;
|
|
903
|
+
this.qfa_1 = $table;
|
|
904
904
|
}
|
|
905
905
|
protoOf(GameServer$observeTableStateUpdates$$inlined$flatMapLatest$2$2$1).s28 = function (collector, $completion) {
|
|
906
906
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
@@ -912,18 +912,18 @@
|
|
|
912
912
|
return this.s28(collector, $completion);
|
|
913
913
|
};
|
|
914
914
|
function GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation) {
|
|
915
|
-
this.
|
|
916
|
-
this.
|
|
915
|
+
this.zfa_1 = $table;
|
|
916
|
+
this.afb_1 = this$0;
|
|
917
917
|
CoroutineImpl.call(this, resultContinuation);
|
|
918
918
|
}
|
|
919
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
920
|
-
var tmp = this.
|
|
919
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).cfb = function ($this$flow, $completion) {
|
|
920
|
+
var tmp = this.dfb($this$flow, $completion);
|
|
921
921
|
tmp.k9_1 = Unit_instance;
|
|
922
922
|
tmp.l9_1 = null;
|
|
923
923
|
return tmp.q9();
|
|
924
924
|
};
|
|
925
925
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).ca = function (p1, $completion) {
|
|
926
|
-
return this.
|
|
926
|
+
return this.cfb((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
927
927
|
};
|
|
928
928
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).q9 = function () {
|
|
929
929
|
var suspendResult = this.k9_1;
|
|
@@ -934,7 +934,7 @@
|
|
|
934
934
|
case 0:
|
|
935
935
|
this.j9_1 = 3;
|
|
936
936
|
this.i9_1 = 1;
|
|
937
|
-
suspendResult = this.
|
|
937
|
+
suspendResult = this.bfb_1.r28(new TableStateUpdate(this.zfa_1.id, this.zfa_1), this);
|
|
938
938
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
939
939
|
return suspendResult;
|
|
940
940
|
}
|
|
@@ -942,8 +942,8 @@
|
|
|
942
942
|
continue $sm;
|
|
943
943
|
case 1:
|
|
944
944
|
this.i9_1 = 2;
|
|
945
|
-
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.
|
|
946
|
-
suspendResult = emitAll(this.
|
|
945
|
+
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.afb_1).kaa(), fromInt(_get_serverReduxConfig__rprcrm(this.afb_1).serverStateUpdateIntervalMillis));
|
|
946
|
+
suspendResult = emitAll(this.bfb_1, new GameServer$observeTableStateUpdates$$inlined$flatMapLatest$2$2$1(this_0, this.zfa_1), this);
|
|
947
947
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
948
948
|
return suspendResult;
|
|
949
949
|
}
|
|
@@ -965,22 +965,22 @@
|
|
|
965
965
|
}
|
|
966
966
|
while (true);
|
|
967
967
|
};
|
|
968
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
969
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.
|
|
970
|
-
i.
|
|
968
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).dfb = function ($this$flow, completion) {
|
|
969
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.zfa_1, this.afb_1, completion);
|
|
970
|
+
i.bfb_1 = $this$flow;
|
|
971
971
|
return i;
|
|
972
972
|
};
|
|
973
973
|
function GameServer$observeTableStateUpdates$slambda$slambda_0($table, this$0, resultContinuation) {
|
|
974
974
|
var i = new GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation);
|
|
975
975
|
var l = function ($this$flow, $completion) {
|
|
976
|
-
return i.
|
|
976
|
+
return i.cfb($this$flow, $completion);
|
|
977
977
|
};
|
|
978
978
|
l.$arity = 1;
|
|
979
979
|
return l;
|
|
980
980
|
}
|
|
981
981
|
function GameServer$observeTableStateUpdates$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
|
|
982
|
-
this.
|
|
983
|
-
this.
|
|
982
|
+
this.mfb_1 = $$this$unsafeFlow;
|
|
983
|
+
this.nfb_1 = this$0;
|
|
984
984
|
CoroutineImpl.call(this, resultContinuation);
|
|
985
985
|
}
|
|
986
986
|
protoOf(GameServer$observeTableStateUpdates$o$collect$slambda).l2n = function (value, $completion) {
|
|
@@ -1000,15 +1000,15 @@
|
|
|
1000
1000
|
switch (tmp) {
|
|
1001
1001
|
case 0:
|
|
1002
1002
|
this.j9_1 = 5;
|
|
1003
|
-
this.
|
|
1004
|
-
this.
|
|
1003
|
+
this.sfb_1 = this.mfb_1;
|
|
1004
|
+
this.rfb_1 = this.ofb_1;
|
|
1005
1005
|
this.i9_1 = 1;
|
|
1006
1006
|
continue $sm;
|
|
1007
1007
|
case 1:
|
|
1008
|
-
this.
|
|
1009
|
-
var it = this.
|
|
1008
|
+
this.pfb_1 = this.sfb_1;
|
|
1009
|
+
var it = this.rfb_1;
|
|
1010
1010
|
var tmp_0;
|
|
1011
|
-
if (get_isCreated(this.
|
|
1011
|
+
if (get_isCreated(this.nfb_1.a79())) {
|
|
1012
1012
|
tmp_0 = it;
|
|
1013
1013
|
} else {
|
|
1014
1014
|
tmp_0 = null;
|
|
@@ -1020,15 +1020,15 @@
|
|
|
1020
1020
|
var tmp_1 = this;
|
|
1021
1021
|
continue $sm;
|
|
1022
1022
|
} else {
|
|
1023
|
-
this.
|
|
1023
|
+
this.qfb_1 = tmp0_elvis_lhs;
|
|
1024
1024
|
this.i9_1 = 2;
|
|
1025
1025
|
continue $sm;
|
|
1026
1026
|
}
|
|
1027
1027
|
|
|
1028
1028
|
case 2:
|
|
1029
|
-
var transformed = this.
|
|
1029
|
+
var transformed = this.qfb_1;
|
|
1030
1030
|
this.i9_1 = 3;
|
|
1031
|
-
suspendResult = this.
|
|
1031
|
+
suspendResult = this.pfb_1.r28(transformed, this);
|
|
1032
1032
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1033
1033
|
return suspendResult;
|
|
1034
1034
|
}
|
|
@@ -1059,8 +1059,8 @@
|
|
|
1059
1059
|
while (true);
|
|
1060
1060
|
};
|
|
1061
1061
|
protoOf(GameServer$observeTableStateUpdates$o$collect$slambda).m2n = function (value, completion) {
|
|
1062
|
-
var i = new GameServer$observeTableStateUpdates$o$collect$slambda(this.
|
|
1063
|
-
i.
|
|
1062
|
+
var i = new GameServer$observeTableStateUpdates$o$collect$slambda(this.mfb_1, this.nfb_1, completion);
|
|
1063
|
+
i.ofb_1 = value;
|
|
1064
1064
|
return i;
|
|
1065
1065
|
};
|
|
1066
1066
|
function GameServer$observeTableStateUpdates$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
@@ -1073,8 +1073,8 @@
|
|
|
1073
1073
|
}
|
|
1074
1074
|
function $collectCOROUTINE$_1(_this__u8e3s4, collector, resultContinuation) {
|
|
1075
1075
|
CoroutineImpl.call(this, resultContinuation);
|
|
1076
|
-
this.
|
|
1077
|
-
this.
|
|
1076
|
+
this.bfc_1 = _this__u8e3s4;
|
|
1077
|
+
this.cfc_1 = collector;
|
|
1078
1078
|
}
|
|
1079
1079
|
protoOf($collectCOROUTINE$_1).q9 = function () {
|
|
1080
1080
|
var suspendResult = this.k9_1;
|
|
@@ -1084,10 +1084,10 @@
|
|
|
1084
1084
|
switch (tmp) {
|
|
1085
1085
|
case 0:
|
|
1086
1086
|
this.j9_1 = 2;
|
|
1087
|
-
var $this$unsafeFlow = this.
|
|
1087
|
+
var $this$unsafeFlow = this.cfc_1;
|
|
1088
1088
|
this.i9_1 = 1;
|
|
1089
|
-
var tmp_0 = GameServer$observeTableStateUpdates$o$collect$slambda_0($this$unsafeFlow, this.
|
|
1090
|
-
suspendResult = this.
|
|
1089
|
+
var tmp_0 = GameServer$observeTableStateUpdates$o$collect$slambda_0($this$unsafeFlow, this.bfc_1.efc_1, null);
|
|
1090
|
+
suspendResult = this.bfc_1.dfc_1.o27(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
|
|
1091
1091
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1092
1092
|
return suspendResult;
|
|
1093
1093
|
}
|
|
@@ -1110,7 +1110,7 @@
|
|
|
1110
1110
|
while (true);
|
|
1111
1111
|
};
|
|
1112
1112
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
1113
|
-
this.
|
|
1113
|
+
this.nfc_1 = $$this$unsafeFlow;
|
|
1114
1114
|
CoroutineImpl.call(this, resultContinuation);
|
|
1115
1115
|
}
|
|
1116
1116
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).l2n = function (value, $completion) {
|
|
@@ -1130,27 +1130,27 @@
|
|
|
1130
1130
|
switch (tmp) {
|
|
1131
1131
|
case 0:
|
|
1132
1132
|
this.j9_1 = 5;
|
|
1133
|
-
this.
|
|
1134
|
-
this.
|
|
1133
|
+
this.sfc_1 = this.nfc_1;
|
|
1134
|
+
this.rfc_1 = this.ofc_1;
|
|
1135
1135
|
this.i9_1 = 1;
|
|
1136
1136
|
continue $sm;
|
|
1137
1137
|
case 1:
|
|
1138
|
-
this.
|
|
1139
|
-
var tmp0_elvis_lhs = this.
|
|
1138
|
+
this.pfc_1 = this.sfc_1;
|
|
1139
|
+
var tmp0_elvis_lhs = this.rfc_1.tableOrNull;
|
|
1140
1140
|
if (tmp0_elvis_lhs == null) {
|
|
1141
1141
|
this.i9_1 = 4;
|
|
1142
1142
|
var tmp_0 = this;
|
|
1143
1143
|
continue $sm;
|
|
1144
1144
|
} else {
|
|
1145
|
-
this.
|
|
1145
|
+
this.qfc_1 = tmp0_elvis_lhs;
|
|
1146
1146
|
this.i9_1 = 2;
|
|
1147
1147
|
continue $sm;
|
|
1148
1148
|
}
|
|
1149
1149
|
|
|
1150
1150
|
case 2:
|
|
1151
|
-
var transformed = this.
|
|
1151
|
+
var transformed = this.qfc_1;
|
|
1152
1152
|
this.i9_1 = 3;
|
|
1153
|
-
suspendResult = this.
|
|
1153
|
+
suspendResult = this.pfc_1.r28(transformed, this);
|
|
1154
1154
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1155
1155
|
return suspendResult;
|
|
1156
1156
|
}
|
|
@@ -1181,8 +1181,8 @@
|
|
|
1181
1181
|
while (true);
|
|
1182
1182
|
};
|
|
1183
1183
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).m2n = function (value, completion) {
|
|
1184
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.
|
|
1185
|
-
i.
|
|
1184
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.nfc_1, completion);
|
|
1185
|
+
i.ofc_1 = value;
|
|
1186
1186
|
return i;
|
|
1187
1187
|
};
|
|
1188
1188
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1195,8 +1195,8 @@
|
|
|
1195
1195
|
}
|
|
1196
1196
|
function $collectCOROUTINE$_2(_this__u8e3s4, collector, resultContinuation) {
|
|
1197
1197
|
CoroutineImpl.call(this, resultContinuation);
|
|
1198
|
-
this.
|
|
1199
|
-
this.
|
|
1198
|
+
this.bfd_1 = _this__u8e3s4;
|
|
1199
|
+
this.cfd_1 = collector;
|
|
1200
1200
|
}
|
|
1201
1201
|
protoOf($collectCOROUTINE$_2).q9 = function () {
|
|
1202
1202
|
var suspendResult = this.k9_1;
|
|
@@ -1206,10 +1206,10 @@
|
|
|
1206
1206
|
switch (tmp) {
|
|
1207
1207
|
case 0:
|
|
1208
1208
|
this.j9_1 = 2;
|
|
1209
|
-
var $this$unsafeFlow = this.
|
|
1209
|
+
var $this$unsafeFlow = this.cfd_1;
|
|
1210
1210
|
this.i9_1 = 1;
|
|
1211
1211
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($this$unsafeFlow, null);
|
|
1212
|
-
suspendResult = this.
|
|
1212
|
+
suspendResult = this.bfd_1.dfd_1.o27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1213
1213
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1214
1214
|
return suspendResult;
|
|
1215
1215
|
}
|
|
@@ -1232,7 +1232,7 @@
|
|
|
1232
1232
|
while (true);
|
|
1233
1233
|
};
|
|
1234
1234
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_1($$this$unsafeFlow, resultContinuation) {
|
|
1235
|
-
this.
|
|
1235
|
+
this.mfd_1 = $$this$unsafeFlow;
|
|
1236
1236
|
CoroutineImpl.call(this, resultContinuation);
|
|
1237
1237
|
}
|
|
1238
1238
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).l2n = function (value, $completion) {
|
|
@@ -1252,8 +1252,8 @@
|
|
|
1252
1252
|
switch (tmp) {
|
|
1253
1253
|
case 0:
|
|
1254
1254
|
this.j9_1 = 2;
|
|
1255
|
-
var tmp0 = this.
|
|
1256
|
-
var value = this.
|
|
1255
|
+
var tmp0 = this.mfd_1;
|
|
1256
|
+
var value = this.nfd_1;
|
|
1257
1257
|
this.i9_1 = 1;
|
|
1258
1258
|
suspendResult = tmp0.r28(to(value.gameInfo.roundNumberTotal, value), this);
|
|
1259
1259
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1278,8 +1278,8 @@
|
|
|
1278
1278
|
while (true);
|
|
1279
1279
|
};
|
|
1280
1280
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).m2n = function (value, completion) {
|
|
1281
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.
|
|
1282
|
-
i.
|
|
1281
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.mfd_1, completion);
|
|
1282
|
+
i.nfd_1 = value;
|
|
1283
1283
|
return i;
|
|
1284
1284
|
};
|
|
1285
1285
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1292,8 +1292,8 @@
|
|
|
1292
1292
|
}
|
|
1293
1293
|
function $collectCOROUTINE$_3(_this__u8e3s4, collector, resultContinuation) {
|
|
1294
1294
|
CoroutineImpl.call(this, resultContinuation);
|
|
1295
|
-
this.
|
|
1296
|
-
this.
|
|
1295
|
+
this.wfd_1 = _this__u8e3s4;
|
|
1296
|
+
this.xfd_1 = collector;
|
|
1297
1297
|
}
|
|
1298
1298
|
protoOf($collectCOROUTINE$_3).q9 = function () {
|
|
1299
1299
|
var suspendResult = this.k9_1;
|
|
@@ -1303,10 +1303,10 @@
|
|
|
1303
1303
|
switch (tmp) {
|
|
1304
1304
|
case 0:
|
|
1305
1305
|
this.j9_1 = 2;
|
|
1306
|
-
var $this$unsafeFlow = this.
|
|
1306
|
+
var $this$unsafeFlow = this.xfd_1;
|
|
1307
1307
|
this.i9_1 = 1;
|
|
1308
1308
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($this$unsafeFlow, null);
|
|
1309
|
-
suspendResult = this.
|
|
1309
|
+
suspendResult = this.wfd_1.yfd_1.o27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1310
1310
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1311
1311
|
return suspendResult;
|
|
1312
1312
|
}
|
|
@@ -1329,7 +1329,7 @@
|
|
|
1329
1329
|
while (true);
|
|
1330
1330
|
};
|
|
1331
1331
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_3($$this$unsafeFlow, resultContinuation) {
|
|
1332
|
-
this.
|
|
1332
|
+
this.hfe_1 = $$this$unsafeFlow;
|
|
1333
1333
|
CoroutineImpl.call(this, resultContinuation);
|
|
1334
1334
|
}
|
|
1335
1335
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).l2n = function (value, $completion) {
|
|
@@ -1349,8 +1349,8 @@
|
|
|
1349
1349
|
switch (tmp) {
|
|
1350
1350
|
case 0:
|
|
1351
1351
|
this.j9_1 = 2;
|
|
1352
|
-
var tmp0 = this.
|
|
1353
|
-
var value = this.
|
|
1352
|
+
var tmp0 = this.hfe_1;
|
|
1353
|
+
var value = this.ife_1;
|
|
1354
1354
|
this.i9_1 = 1;
|
|
1355
1355
|
suspendResult = tmp0.r28(value.second, this);
|
|
1356
1356
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1375,8 +1375,8 @@
|
|
|
1375
1375
|
while (true);
|
|
1376
1376
|
};
|
|
1377
1377
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).m2n = function (value, completion) {
|
|
1378
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.
|
|
1379
|
-
i.
|
|
1378
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.hfe_1, completion);
|
|
1379
|
+
i.ife_1 = value;
|
|
1380
1380
|
return i;
|
|
1381
1381
|
};
|
|
1382
1382
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1389,8 +1389,8 @@
|
|
|
1389
1389
|
}
|
|
1390
1390
|
function $collectCOROUTINE$_4(_this__u8e3s4, collector, resultContinuation) {
|
|
1391
1391
|
CoroutineImpl.call(this, resultContinuation);
|
|
1392
|
-
this.
|
|
1393
|
-
this.
|
|
1392
|
+
this.rfe_1 = _this__u8e3s4;
|
|
1393
|
+
this.sfe_1 = collector;
|
|
1394
1394
|
}
|
|
1395
1395
|
protoOf($collectCOROUTINE$_4).q9 = function () {
|
|
1396
1396
|
var suspendResult = this.k9_1;
|
|
@@ -1400,10 +1400,10 @@
|
|
|
1400
1400
|
switch (tmp) {
|
|
1401
1401
|
case 0:
|
|
1402
1402
|
this.j9_1 = 2;
|
|
1403
|
-
var $this$unsafeFlow = this.
|
|
1403
|
+
var $this$unsafeFlow = this.sfe_1;
|
|
1404
1404
|
this.i9_1 = 1;
|
|
1405
1405
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($this$unsafeFlow, null);
|
|
1406
|
-
suspendResult = this.
|
|
1406
|
+
suspendResult = this.rfe_1.tfe_1.o27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1407
1407
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1408
1408
|
return suspendResult;
|
|
1409
1409
|
}
|
|
@@ -1426,17 +1426,17 @@
|
|
|
1426
1426
|
while (true);
|
|
1427
1427
|
};
|
|
1428
1428
|
function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
|
|
1429
|
-
this.
|
|
1429
|
+
this.cff_1 = $subscriber;
|
|
1430
1430
|
CoroutineImpl.call(this, resultContinuation);
|
|
1431
1431
|
}
|
|
1432
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1433
|
-
var tmp = this.
|
|
1432
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).eff = function (it, $completion) {
|
|
1433
|
+
var tmp = this.fff(it, $completion);
|
|
1434
1434
|
tmp.k9_1 = Unit_instance;
|
|
1435
1435
|
tmp.l9_1 = null;
|
|
1436
1436
|
return tmp.q9();
|
|
1437
1437
|
};
|
|
1438
1438
|
protoOf(GameServer$subscribeWith$slambda$slambda).ca = function (p1, $completion) {
|
|
1439
|
-
return this.
|
|
1439
|
+
return this.eff(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
|
|
1440
1440
|
};
|
|
1441
1441
|
protoOf(GameServer$subscribeWith$slambda$slambda).q9 = function () {
|
|
1442
1442
|
var suspendResult = this.k9_1;
|
|
@@ -1445,7 +1445,7 @@
|
|
|
1445
1445
|
var tmp = this.i9_1;
|
|
1446
1446
|
if (tmp === 0) {
|
|
1447
1447
|
this.j9_1 = 1;
|
|
1448
|
-
this.
|
|
1448
|
+
this.cff_1(this.dff_1);
|
|
1449
1449
|
return Unit_instance;
|
|
1450
1450
|
} else if (tmp === 1) {
|
|
1451
1451
|
throw this.l9_1;
|
|
@@ -1456,98 +1456,98 @@
|
|
|
1456
1456
|
}
|
|
1457
1457
|
while (true);
|
|
1458
1458
|
};
|
|
1459
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1460
|
-
var i = new GameServer$subscribeWith$slambda$slambda(this.
|
|
1461
|
-
i.
|
|
1459
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).fff = function (it, completion) {
|
|
1460
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.cff_1, completion);
|
|
1461
|
+
i.dff_1 = it;
|
|
1462
1462
|
return i;
|
|
1463
1463
|
};
|
|
1464
1464
|
function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
|
|
1465
1465
|
var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
|
|
1466
1466
|
var l = function (it, $completion) {
|
|
1467
|
-
return i.
|
|
1467
|
+
return i.eff(it, $completion);
|
|
1468
1468
|
};
|
|
1469
1469
|
l.$arity = 1;
|
|
1470
1470
|
return l;
|
|
1471
1471
|
}
|
|
1472
1472
|
function _get_toClientEventsObserver__6rp51y($this) {
|
|
1473
|
-
var tmp0 = $this.
|
|
1473
|
+
var tmp0 = $this.kff_1;
|
|
1474
1474
|
var tmp = KProperty1;
|
|
1475
1475
|
// Inline function 'kotlin.getValue' call
|
|
1476
1476
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, GameServer$_get_toClientEventsObserver_$ref_utir8s_0(), null);
|
|
1477
1477
|
return tmp0.o1();
|
|
1478
1478
|
}
|
|
1479
1479
|
function _get_fromClientEventsObserver__a7vzd3($this) {
|
|
1480
|
-
var tmp0 = $this.
|
|
1480
|
+
var tmp0 = $this.lff_1;
|
|
1481
1481
|
var tmp = KProperty1;
|
|
1482
1482
|
// Inline function 'kotlin.getValue' call
|
|
1483
1483
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, GameServer$_get_fromClientEventsObserver_$ref_nf1g79_0(), null);
|
|
1484
1484
|
return tmp0.o1();
|
|
1485
1485
|
}
|
|
1486
1486
|
function _get_playerConnectionInteractor__si6cxf($this) {
|
|
1487
|
-
var tmp0 = $this.
|
|
1487
|
+
var tmp0 = $this.mff_1;
|
|
1488
1488
|
var tmp = KProperty1;
|
|
1489
1489
|
// Inline function 'kotlin.getValue' call
|
|
1490
1490
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, GameServer$_get_playerConnectionInteractor_$ref_of8tan_0(), null);
|
|
1491
1491
|
return tmp0.o1();
|
|
1492
1492
|
}
|
|
1493
1493
|
function _get_teamsLogicProvider__u10pm6($this) {
|
|
1494
|
-
var tmp0 = $this.
|
|
1494
|
+
var tmp0 = $this.nff_1;
|
|
1495
1495
|
var tmp = KProperty1;
|
|
1496
1496
|
// Inline function 'kotlin.getValue' call
|
|
1497
1497
|
getPropertyCallableRef('teamsLogicProvider', 1, tmp, GameServer$_get_teamsLogicProvider_$ref_b7y54g_0(), null);
|
|
1498
1498
|
return tmp0.o1();
|
|
1499
1499
|
}
|
|
1500
1500
|
function _get_userRatingInteractor__a09mdy($this) {
|
|
1501
|
-
var tmp0 = $this.
|
|
1501
|
+
var tmp0 = $this.off_1;
|
|
1502
1502
|
var tmp = KProperty1;
|
|
1503
1503
|
// Inline function 'kotlin.getValue' call
|
|
1504
1504
|
getPropertyCallableRef('userRatingInteractor', 1, tmp, GameServer$_get_userRatingInteractor_$ref_8uo6aw_0(), null);
|
|
1505
1505
|
return tmp0.o1();
|
|
1506
1506
|
}
|
|
1507
1507
|
function _get_random__h29cgo($this) {
|
|
1508
|
-
var tmp0 = $this.
|
|
1508
|
+
var tmp0 = $this.pff_1;
|
|
1509
1509
|
var tmp = KProperty1;
|
|
1510
1510
|
// Inline function 'kotlin.getValue' call
|
|
1511
1511
|
getPropertyCallableRef('random', 1, tmp, GameServer$_get_random_$ref_fottnq(), null);
|
|
1512
1512
|
return tmp0.o1();
|
|
1513
1513
|
}
|
|
1514
1514
|
function _get_idsProvider__fnfajc($this) {
|
|
1515
|
-
var tmp0 = $this.
|
|
1515
|
+
var tmp0 = $this.qff_1;
|
|
1516
1516
|
var tmp = KProperty1;
|
|
1517
1517
|
// Inline function 'kotlin.getValue' call
|
|
1518
1518
|
getPropertyCallableRef('idsProvider', 1, tmp, GameServer$_get_idsProvider_$ref_89s908_0(), null);
|
|
1519
1519
|
return tmp0.o1();
|
|
1520
1520
|
}
|
|
1521
1521
|
function _get_serverReduxConfig__rprcrm($this) {
|
|
1522
|
-
var tmp0 = $this.
|
|
1522
|
+
var tmp0 = $this.rff_1;
|
|
1523
1523
|
var tmp = KProperty1;
|
|
1524
1524
|
// Inline function 'kotlin.getValue' call
|
|
1525
1525
|
getPropertyCallableRef('serverReduxConfig', 1, tmp, GameServer$_get_serverReduxConfig_$ref_7h6jq6_0(), null);
|
|
1526
1526
|
return tmp0.o1();
|
|
1527
1527
|
}
|
|
1528
1528
|
function _get_encoderDecoderProvider__qqgrji($this) {
|
|
1529
|
-
var tmp0 = $this.
|
|
1529
|
+
var tmp0 = $this.sff_1;
|
|
1530
1530
|
var tmp = KProperty1;
|
|
1531
1531
|
// Inline function 'kotlin.getValue' call
|
|
1532
1532
|
getPropertyCallableRef('encoderDecoderProvider', 1, tmp, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8_0(), null);
|
|
1533
1533
|
return tmp0.o1();
|
|
1534
1534
|
}
|
|
1535
1535
|
function _get_engineLogicConfig__l11qpf($this) {
|
|
1536
|
-
var tmp0 = $this.
|
|
1536
|
+
var tmp0 = $this.tff_1;
|
|
1537
1537
|
var tmp = KProperty1;
|
|
1538
1538
|
// Inline function 'kotlin.getValue' call
|
|
1539
1539
|
getPropertyCallableRef('engineLogicConfig', 1, tmp, GameServer$_get_engineLogicConfig_$ref_nlkv2l_0(), null);
|
|
1540
1540
|
return tmp0.o1();
|
|
1541
1541
|
}
|
|
1542
1542
|
function _get_leaguesConfig__hvzxf9($this) {
|
|
1543
|
-
var tmp0 = $this.
|
|
1543
|
+
var tmp0 = $this.uff_1;
|
|
1544
1544
|
var tmp = KProperty1;
|
|
1545
1545
|
// Inline function 'kotlin.getValue' call
|
|
1546
1546
|
getPropertyCallableRef('leaguesConfig', 1, tmp, GameServer$_get_leaguesConfig_$ref_fi951n_0(), null);
|
|
1547
1547
|
return tmp0.o1();
|
|
1548
1548
|
}
|
|
1549
1549
|
function _get_botChatInteractor__17f3on($this) {
|
|
1550
|
-
var tmp0 = $this.
|
|
1550
|
+
var tmp0 = $this.vff_1;
|
|
1551
1551
|
var tmp = KProperty1;
|
|
1552
1552
|
// Inline function 'kotlin.getValue' call
|
|
1553
1553
|
getPropertyCallableRef('botChatInteractor', 1, tmp, GameServer$_get_botChatInteractor_$ref_zf10ih_0(), null);
|
|
@@ -1680,20 +1680,20 @@
|
|
|
1680
1680
|
return _get_teamsLogicProvider__u10pm6($this).faa(updatedTeams);
|
|
1681
1681
|
}
|
|
1682
1682
|
function Companion() {
|
|
1683
|
-
this.
|
|
1683
|
+
this.xff_1 = 'GameEngine_API';
|
|
1684
1684
|
}
|
|
1685
1685
|
var Companion_instance_10;
|
|
1686
1686
|
function Companion_getInstance_0() {
|
|
1687
1687
|
return Companion_instance_10;
|
|
1688
1688
|
}
|
|
1689
1689
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
1690
|
-
this.
|
|
1690
|
+
this.yff_1 = function_0;
|
|
1691
1691
|
}
|
|
1692
1692
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).r28 = function (value, $completion) {
|
|
1693
|
-
return this.
|
|
1693
|
+
return this.yff_1(value, $completion);
|
|
1694
1694
|
};
|
|
1695
1695
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).s3 = function () {
|
|
1696
|
-
return this.
|
|
1696
|
+
return this.yff_1;
|
|
1697
1697
|
};
|
|
1698
1698
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
1699
1699
|
var tmp;
|
|
@@ -1714,13 +1714,13 @@
|
|
|
1714
1714
|
return hashCode(this.s3());
|
|
1715
1715
|
};
|
|
1716
1716
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
1717
|
-
this.
|
|
1717
|
+
this.zff_1 = function_0;
|
|
1718
1718
|
}
|
|
1719
1719
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).r28 = function (value, $completion) {
|
|
1720
|
-
return this.
|
|
1720
|
+
return this.zff_1(value, $completion);
|
|
1721
1721
|
};
|
|
1722
1722
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).s3 = function () {
|
|
1723
|
-
return this.
|
|
1723
|
+
return this.zff_1;
|
|
1724
1724
|
};
|
|
1725
1725
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
1726
1726
|
var tmp;
|
|
@@ -1741,13 +1741,13 @@
|
|
|
1741
1741
|
return hashCode(this.s3());
|
|
1742
1742
|
};
|
|
1743
1743
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
|
|
1744
|
-
this.
|
|
1744
|
+
this.afg_1 = function_0;
|
|
1745
1745
|
}
|
|
1746
1746
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).r28 = function (value, $completion) {
|
|
1747
|
-
return this.
|
|
1747
|
+
return this.afg_1(value, $completion);
|
|
1748
1748
|
};
|
|
1749
1749
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).s3 = function () {
|
|
1750
|
-
return this.
|
|
1750
|
+
return this.afg_1;
|
|
1751
1751
|
};
|
|
1752
1752
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
|
|
1753
1753
|
var tmp;
|
|
@@ -1768,13 +1768,13 @@
|
|
|
1768
1768
|
return hashCode(this.s3());
|
|
1769
1769
|
};
|
|
1770
1770
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
|
|
1771
|
-
this.
|
|
1771
|
+
this.bfg_1 = function_0;
|
|
1772
1772
|
}
|
|
1773
1773
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).r28 = function (value, $completion) {
|
|
1774
|
-
return this.
|
|
1774
|
+
return this.bfg_1(value, $completion);
|
|
1775
1775
|
};
|
|
1776
1776
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).s3 = function () {
|
|
1777
|
-
return this.
|
|
1777
|
+
return this.bfg_1;
|
|
1778
1778
|
};
|
|
1779
1779
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
|
|
1780
1780
|
var tmp;
|
|
@@ -1795,13 +1795,13 @@
|
|
|
1795
1795
|
return hashCode(this.s3());
|
|
1796
1796
|
};
|
|
1797
1797
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_3(function_0) {
|
|
1798
|
-
this.
|
|
1798
|
+
this.cfg_1 = function_0;
|
|
1799
1799
|
}
|
|
1800
1800
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).r28 = function (value, $completion) {
|
|
1801
|
-
return this.
|
|
1801
|
+
return this.cfg_1(value, $completion);
|
|
1802
1802
|
};
|
|
1803
1803
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).s3 = function () {
|
|
1804
|
-
return this.
|
|
1804
|
+
return this.cfg_1;
|
|
1805
1805
|
};
|
|
1806
1806
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).equals = function (other) {
|
|
1807
1807
|
var tmp;
|
|
@@ -1822,13 +1822,13 @@
|
|
|
1822
1822
|
return hashCode(this.s3());
|
|
1823
1823
|
};
|
|
1824
1824
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_4(function_0) {
|
|
1825
|
-
this.
|
|
1825
|
+
this.dfg_1 = function_0;
|
|
1826
1826
|
}
|
|
1827
1827
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).r28 = function (value, $completion) {
|
|
1828
|
-
return this.
|
|
1828
|
+
return this.dfg_1(value, $completion);
|
|
1829
1829
|
};
|
|
1830
1830
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).s3 = function () {
|
|
1831
|
-
return this.
|
|
1831
|
+
return this.dfg_1;
|
|
1832
1832
|
};
|
|
1833
1833
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).equals = function (other) {
|
|
1834
1834
|
var tmp;
|
|
@@ -1969,8 +1969,8 @@
|
|
|
1969
1969
|
};
|
|
1970
1970
|
}
|
|
1971
1971
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
1972
|
-
this.
|
|
1973
|
-
this.
|
|
1972
|
+
this.mfg_1 = this$0;
|
|
1973
|
+
this.nfg_1 = $subscriber;
|
|
1974
1974
|
CoroutineImpl.call(this, resultContinuation);
|
|
1975
1975
|
}
|
|
1976
1976
|
protoOf(GameServer$subscribeToClientAction$slambda).s2d = function ($this$launchDefault, $completion) {
|
|
@@ -1991,8 +1991,8 @@
|
|
|
1991
1991
|
case 0:
|
|
1992
1992
|
this.j9_1 = 2;
|
|
1993
1993
|
this.i9_1 = 1;
|
|
1994
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
1995
|
-
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.
|
|
1994
|
+
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.mfg_1).fcg();
|
|
1995
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.nfg_1, null);
|
|
1996
1996
|
suspendResult = tmp_0.o27(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
1997
1997
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1998
1998
|
return suspendResult;
|
|
@@ -2016,8 +2016,8 @@
|
|
|
2016
2016
|
while (true);
|
|
2017
2017
|
};
|
|
2018
2018
|
protoOf(GameServer$subscribeToClientAction$slambda).t2d = function ($this$launchDefault, completion) {
|
|
2019
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
2020
|
-
i.
|
|
2019
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.mfg_1, this.nfg_1, completion);
|
|
2020
|
+
i.ofg_1 = $this$launchDefault;
|
|
2021
2021
|
return i;
|
|
2022
2022
|
};
|
|
2023
2023
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -2029,8 +2029,8 @@
|
|
|
2029
2029
|
return l;
|
|
2030
2030
|
}
|
|
2031
2031
|
function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
|
|
2032
|
-
this.
|
|
2033
|
-
this.
|
|
2032
|
+
this.xfg_1 = this$0;
|
|
2033
|
+
this.yfg_1 = $subscriber;
|
|
2034
2034
|
CoroutineImpl.call(this, resultContinuation);
|
|
2035
2035
|
}
|
|
2036
2036
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).s2d = function ($this$launchDefault, $completion) {
|
|
@@ -2051,8 +2051,8 @@
|
|
|
2051
2051
|
case 0:
|
|
2052
2052
|
this.j9_1 = 2;
|
|
2053
2053
|
this.i9_1 = 1;
|
|
2054
|
-
var tmp_0 = observeTableStateUpdates(this.
|
|
2055
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.
|
|
2054
|
+
var tmp_0 = observeTableStateUpdates(this.xfg_1);
|
|
2055
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.yfg_1, null);
|
|
2056
2056
|
suspendResult = tmp_0.o27(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
2057
2057
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2058
2058
|
return suspendResult;
|
|
@@ -2076,8 +2076,8 @@
|
|
|
2076
2076
|
while (true);
|
|
2077
2077
|
};
|
|
2078
2078
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).t2d = function ($this$launchDefault, completion) {
|
|
2079
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda(this.
|
|
2080
|
-
i.
|
|
2079
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda(this.xfg_1, this.yfg_1, completion);
|
|
2080
|
+
i.zfg_1 = $this$launchDefault;
|
|
2081
2081
|
return i;
|
|
2082
2082
|
};
|
|
2083
2083
|
function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -2089,8 +2089,8 @@
|
|
|
2089
2089
|
return l;
|
|
2090
2090
|
}
|
|
2091
2091
|
function GameServer$subscribeServerStateUpdateJson$slambda(this$0, $subscriber, resultContinuation) {
|
|
2092
|
-
this.
|
|
2093
|
-
this.
|
|
2092
|
+
this.ifh_1 = this$0;
|
|
2093
|
+
this.jfh_1 = $subscriber;
|
|
2094
2094
|
CoroutineImpl.call(this, resultContinuation);
|
|
2095
2095
|
}
|
|
2096
2096
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).s2d = function ($this$launchDefault, $completion) {
|
|
@@ -2111,9 +2111,9 @@
|
|
|
2111
2111
|
case 0:
|
|
2112
2112
|
this.j9_1 = 2;
|
|
2113
2113
|
this.i9_1 = 1;
|
|
2114
|
-
var this_0 = observeTableStateUpdates(this.
|
|
2115
|
-
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.
|
|
2116
|
-
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.
|
|
2114
|
+
var this_0 = observeTableStateUpdates(this.ifh_1);
|
|
2115
|
+
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.ifh_1);
|
|
2116
|
+
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.jfh_1, null);
|
|
2117
2117
|
suspendResult = tmp_0.o27(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
2118
2118
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2119
2119
|
return suspendResult;
|
|
@@ -2137,8 +2137,8 @@
|
|
|
2137
2137
|
while (true);
|
|
2138
2138
|
};
|
|
2139
2139
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).t2d = function ($this$launchDefault, completion) {
|
|
2140
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.
|
|
2141
|
-
i.
|
|
2140
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.ifh_1, this.jfh_1, completion);
|
|
2141
|
+
i.kfh_1 = $this$launchDefault;
|
|
2142
2142
|
return i;
|
|
2143
2143
|
};
|
|
2144
2144
|
function GameServer$subscribeServerStateUpdateJson$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -2150,8 +2150,8 @@
|
|
|
2150
2150
|
return l;
|
|
2151
2151
|
}
|
|
2152
2152
|
function GameServer$getServerTableState$slambda(this$0, $callback, resultContinuation) {
|
|
2153
|
-
this.
|
|
2154
|
-
this.
|
|
2153
|
+
this.tfh_1 = this$0;
|
|
2154
|
+
this.ufh_1 = $callback;
|
|
2155
2155
|
CoroutineImpl.call(this, resultContinuation);
|
|
2156
2156
|
}
|
|
2157
2157
|
protoOf(GameServer$getServerTableState$slambda).s2d = function ($this$launchDefault, $completion) {
|
|
@@ -2170,11 +2170,11 @@
|
|
|
2170
2170
|
var tmp = this.i9_1;
|
|
2171
2171
|
if (tmp === 0) {
|
|
2172
2172
|
this.j9_1 = 1;
|
|
2173
|
-
if (!this.
|
|
2173
|
+
if (!this.tfh_1.isTableExists) {
|
|
2174
2174
|
return Unit_instance;
|
|
2175
2175
|
}
|
|
2176
|
-
var dto = mapToDto_2(new TableStateUpdate(this.
|
|
2177
|
-
this.
|
|
2176
|
+
var dto = mapToDto_2(new TableStateUpdate(this.tfh_1.table.id, this.tfh_1.table), _get_encoderDecoderProvider__qqgrji(this.tfh_1));
|
|
2177
|
+
this.ufh_1(dto);
|
|
2178
2178
|
return Unit_instance;
|
|
2179
2179
|
} else if (tmp === 1) {
|
|
2180
2180
|
throw this.l9_1;
|
|
@@ -2186,8 +2186,8 @@
|
|
|
2186
2186
|
while (true);
|
|
2187
2187
|
};
|
|
2188
2188
|
protoOf(GameServer$getServerTableState$slambda).t2d = function ($this$launchDefault, completion) {
|
|
2189
|
-
var i = new GameServer$getServerTableState$slambda(this.
|
|
2190
|
-
i.
|
|
2189
|
+
var i = new GameServer$getServerTableState$slambda(this.tfh_1, this.ufh_1, completion);
|
|
2190
|
+
i.vfh_1 = $this$launchDefault;
|
|
2191
2191
|
return i;
|
|
2192
2192
|
};
|
|
2193
2193
|
function GameServer$getServerTableState$slambda_0(this$0, $callback, resultContinuation) {
|
|
@@ -2199,18 +2199,18 @@
|
|
|
2199
2199
|
return l;
|
|
2200
2200
|
}
|
|
2201
2201
|
function GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation) {
|
|
2202
|
-
this.
|
|
2202
|
+
this.efi_1 = this$0;
|
|
2203
2203
|
CoroutineImpl.call(this, resultContinuation);
|
|
2204
2204
|
}
|
|
2205
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
2206
|
-
var tmp = this.
|
|
2205
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).ydo = function ($this$transformLatest, it, $completion) {
|
|
2206
|
+
var tmp = this.zdo($this$transformLatest, it, $completion);
|
|
2207
2207
|
tmp.k9_1 = Unit_instance;
|
|
2208
2208
|
tmp.l9_1 = null;
|
|
2209
2209
|
return tmp.q9();
|
|
2210
2210
|
};
|
|
2211
2211
|
protoOf(GameServer$observeTableStateUpdates$slambda).da = function (p1, p2, $completion) {
|
|
2212
2212
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
2213
|
-
return this.
|
|
2213
|
+
return this.ydo(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
2214
2214
|
};
|
|
2215
2215
|
protoOf(GameServer$observeTableStateUpdates$slambda).q9 = function () {
|
|
2216
2216
|
var suspendResult = this.k9_1;
|
|
@@ -2221,8 +2221,8 @@
|
|
|
2221
2221
|
case 0:
|
|
2222
2222
|
this.j9_1 = 2;
|
|
2223
2223
|
this.i9_1 = 1;
|
|
2224
|
-
var table = this.
|
|
2225
|
-
suspendResult = emitAll(this.
|
|
2224
|
+
var table = this.gfi_1;
|
|
2225
|
+
suspendResult = emitAll(this.ffi_1, flow(GameServer$observeTableStateUpdates$slambda$slambda_0(table, this.efi_1, null)), this);
|
|
2226
2226
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2227
2227
|
return suspendResult;
|
|
2228
2228
|
}
|
|
@@ -2244,23 +2244,23 @@
|
|
|
2244
2244
|
}
|
|
2245
2245
|
while (true);
|
|
2246
2246
|
};
|
|
2247
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
2248
|
-
var i = new GameServer$observeTableStateUpdates$slambda(this.
|
|
2249
|
-
i.
|
|
2250
|
-
i.
|
|
2247
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).zdo = function ($this$transformLatest, it, completion) {
|
|
2248
|
+
var i = new GameServer$observeTableStateUpdates$slambda(this.efi_1, completion);
|
|
2249
|
+
i.ffi_1 = $this$transformLatest;
|
|
2250
|
+
i.gfi_1 = it;
|
|
2251
2251
|
return i;
|
|
2252
2252
|
};
|
|
2253
2253
|
function GameServer$observeTableStateUpdates$slambda_0(this$0, resultContinuation) {
|
|
2254
2254
|
var i = new GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation);
|
|
2255
2255
|
var l = function ($this$transformLatest, it, $completion) {
|
|
2256
|
-
return i.
|
|
2256
|
+
return i.ydo($this$transformLatest, it, $completion);
|
|
2257
2257
|
};
|
|
2258
2258
|
l.$arity = 2;
|
|
2259
2259
|
return l;
|
|
2260
2260
|
}
|
|
2261
2261
|
function GameServer$observeTableStateUpdates$$inlined$mapNotNull$1($this, this$0) {
|
|
2262
|
-
this.
|
|
2263
|
-
this.
|
|
2262
|
+
this.dfc_1 = $this;
|
|
2263
|
+
this.efc_1 = this$0;
|
|
2264
2264
|
}
|
|
2265
2265
|
protoOf(GameServer$observeTableStateUpdates$$inlined$mapNotNull$1).s28 = function (collector, $completion) {
|
|
2266
2266
|
var tmp = new $collectCOROUTINE$_1(this, collector, $completion);
|
|
@@ -2272,7 +2272,7 @@
|
|
|
2272
2272
|
return this.s28(collector, $completion);
|
|
2273
2273
|
};
|
|
2274
2274
|
function GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1($this) {
|
|
2275
|
-
this.
|
|
2275
|
+
this.dfd_1 = $this;
|
|
2276
2276
|
}
|
|
2277
2277
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1).s28 = function (collector, $completion) {
|
|
2278
2278
|
var tmp = new $collectCOROUTINE$_2(this, collector, $completion);
|
|
@@ -2284,7 +2284,7 @@
|
|
|
2284
2284
|
return this.s28(collector, $completion);
|
|
2285
2285
|
};
|
|
2286
2286
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$1($this) {
|
|
2287
|
-
this.
|
|
2287
|
+
this.yfd_1 = $this;
|
|
2288
2288
|
}
|
|
2289
2289
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$1).s28 = function (collector, $completion) {
|
|
2290
2290
|
var tmp = new $collectCOROUTINE$_3(this, collector, $completion);
|
|
@@ -2299,7 +2299,7 @@
|
|
|
2299
2299
|
return old.first === new_0.first;
|
|
2300
2300
|
}
|
|
2301
2301
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$2($this) {
|
|
2302
|
-
this.
|
|
2302
|
+
this.tfe_1 = $this;
|
|
2303
2303
|
}
|
|
2304
2304
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$2).s28 = function (collector, $completion) {
|
|
2305
2305
|
var tmp = new $collectCOROUTINE$_4(this, collector, $completion);
|
|
@@ -2311,8 +2311,8 @@
|
|
|
2311
2311
|
return this.s28(collector, $completion);
|
|
2312
2312
|
};
|
|
2313
2313
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
2314
|
-
this.
|
|
2315
|
-
this.
|
|
2314
|
+
this.pfi_1 = this$0;
|
|
2315
|
+
this.qfi_1 = $subscriber;
|
|
2316
2316
|
CoroutineImpl.call(this, resultContinuation);
|
|
2317
2317
|
}
|
|
2318
2318
|
protoOf(GameServer$subscribeWith$slambda).s2d = function ($this$launchDefault, $completion) {
|
|
@@ -2333,8 +2333,8 @@
|
|
|
2333
2333
|
case 0:
|
|
2334
2334
|
this.j9_1 = 2;
|
|
2335
2335
|
this.i9_1 = 1;
|
|
2336
|
-
var tmp_0 = distinctUntilChanged(this.
|
|
2337
|
-
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.
|
|
2336
|
+
var tmp_0 = distinctUntilChanged(this.pfi_1.r7v());
|
|
2337
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.qfi_1, null);
|
|
2338
2338
|
suspendResult = tmp_0.o27(new sam$kotlinx_coroutines_flow_FlowCollector$0_4(tmp_1), this);
|
|
2339
2339
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2340
2340
|
return suspendResult;
|
|
@@ -2358,8 +2358,8 @@
|
|
|
2358
2358
|
while (true);
|
|
2359
2359
|
};
|
|
2360
2360
|
protoOf(GameServer$subscribeWith$slambda).t2d = function ($this$launchDefault, completion) {
|
|
2361
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
2362
|
-
i.
|
|
2361
|
+
var i = new GameServer$subscribeWith$slambda(this.pfi_1, this.qfi_1, completion);
|
|
2362
|
+
i.rfi_1 = $this$launchDefault;
|
|
2363
2363
|
return i;
|
|
2364
2364
|
};
|
|
2365
2365
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -2371,18 +2371,18 @@
|
|
|
2371
2371
|
return l;
|
|
2372
2372
|
}
|
|
2373
2373
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
2374
|
-
this.
|
|
2374
|
+
this.afj_1 = $action;
|
|
2375
2375
|
CoroutineImpl.call(this, resultContinuation);
|
|
2376
2376
|
}
|
|
2377
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
2378
|
-
var tmp = this.
|
|
2377
|
+
protoOf(GameServer$fromClientEvent$slambda).mcx = function ($this$dispatchAsync, store, $completion) {
|
|
2378
|
+
var tmp = this.ncx($this$dispatchAsync, store, $completion);
|
|
2379
2379
|
tmp.k9_1 = Unit_instance;
|
|
2380
2380
|
tmp.l9_1 = null;
|
|
2381
2381
|
return tmp.q9();
|
|
2382
2382
|
};
|
|
2383
2383
|
protoOf(GameServer$fromClientEvent$slambda).da = function (p1, p2, $completion) {
|
|
2384
2384
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2385
|
-
return this.
|
|
2385
|
+
return this.mcx(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2386
2386
|
};
|
|
2387
2387
|
protoOf(GameServer$fromClientEvent$slambda).q9 = function () {
|
|
2388
2388
|
var suspendResult = this.k9_1;
|
|
@@ -2391,11 +2391,11 @@
|
|
|
2391
2391
|
var tmp = this.i9_1;
|
|
2392
2392
|
if (tmp === 0) {
|
|
2393
2393
|
this.j9_1 = 1;
|
|
2394
|
-
if (this.
|
|
2395
|
-
if (!get_isCreated(this.
|
|
2394
|
+
if (this.afj_1 instanceof PlayerReadyFromClientAction)
|
|
2395
|
+
if (!get_isCreated(this.cfj_1.state)) {
|
|
2396
2396
|
return Unit_instance;
|
|
2397
2397
|
}
|
|
2398
|
-
this.
|
|
2398
|
+
this.cfj_1.dispatch(this.afj_1);
|
|
2399
2399
|
return Unit_instance;
|
|
2400
2400
|
} else if (tmp === 1) {
|
|
2401
2401
|
throw this.l9_1;
|
|
@@ -2406,34 +2406,34 @@
|
|
|
2406
2406
|
}
|
|
2407
2407
|
while (true);
|
|
2408
2408
|
};
|
|
2409
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
2410
|
-
var i = new GameServer$fromClientEvent$slambda(this.
|
|
2411
|
-
i.
|
|
2412
|
-
i.
|
|
2409
|
+
protoOf(GameServer$fromClientEvent$slambda).ncx = function ($this$dispatchAsync, store, completion) {
|
|
2410
|
+
var i = new GameServer$fromClientEvent$slambda(this.afj_1, completion);
|
|
2411
|
+
i.bfj_1 = $this$dispatchAsync;
|
|
2412
|
+
i.cfj_1 = store;
|
|
2413
2413
|
return i;
|
|
2414
2414
|
};
|
|
2415
2415
|
function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
|
|
2416
2416
|
var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
|
|
2417
2417
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2418
|
-
return i.
|
|
2418
|
+
return i.mcx($this$dispatchAsync, store, $completion);
|
|
2419
2419
|
};
|
|
2420
2420
|
l.$arity = 2;
|
|
2421
2421
|
return l;
|
|
2422
2422
|
}
|
|
2423
2423
|
function GameServer$playerLostConnection$slambda($playerId, $roomId, resultContinuation) {
|
|
2424
|
-
this.
|
|
2425
|
-
this.
|
|
2424
|
+
this.lfj_1 = $playerId;
|
|
2425
|
+
this.mfj_1 = $roomId;
|
|
2426
2426
|
CoroutineImpl.call(this, resultContinuation);
|
|
2427
2427
|
}
|
|
2428
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2429
|
-
var tmp = this.
|
|
2428
|
+
protoOf(GameServer$playerLostConnection$slambda).mcx = function ($this$dispatchAsync, store, $completion) {
|
|
2429
|
+
var tmp = this.ncx($this$dispatchAsync, store, $completion);
|
|
2430
2430
|
tmp.k9_1 = Unit_instance;
|
|
2431
2431
|
tmp.l9_1 = null;
|
|
2432
2432
|
return tmp.q9();
|
|
2433
2433
|
};
|
|
2434
2434
|
protoOf(GameServer$playerLostConnection$slambda).da = function (p1, p2, $completion) {
|
|
2435
2435
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2436
|
-
return this.
|
|
2436
|
+
return this.mcx(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2437
2437
|
};
|
|
2438
2438
|
protoOf(GameServer$playerLostConnection$slambda).q9 = function () {
|
|
2439
2439
|
var suspendResult = this.k9_1;
|
|
@@ -2442,12 +2442,12 @@
|
|
|
2442
2442
|
var tmp = this.i9_1;
|
|
2443
2443
|
if (tmp === 0) {
|
|
2444
2444
|
this.j9_1 = 1;
|
|
2445
|
-
if (!get_isCreated(this.
|
|
2445
|
+
if (!get_isCreated(this.ofj_1.state)) {
|
|
2446
2446
|
return Unit_instance;
|
|
2447
2447
|
}
|
|
2448
|
-
var tmp_0 = this.
|
|
2448
|
+
var tmp_0 = this.ofj_1.dispatch;
|
|
2449
2449
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
2450
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2450
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.lfj_1, this.mfj_1));
|
|
2451
2451
|
return Unit_instance;
|
|
2452
2452
|
} else if (tmp === 1) {
|
|
2453
2453
|
throw this.l9_1;
|
|
@@ -2458,35 +2458,35 @@
|
|
|
2458
2458
|
}
|
|
2459
2459
|
while (true);
|
|
2460
2460
|
};
|
|
2461
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2462
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
2463
|
-
i.
|
|
2464
|
-
i.
|
|
2461
|
+
protoOf(GameServer$playerLostConnection$slambda).ncx = function ($this$dispatchAsync, store, completion) {
|
|
2462
|
+
var i = new GameServer$playerLostConnection$slambda(this.lfj_1, this.mfj_1, completion);
|
|
2463
|
+
i.nfj_1 = $this$dispatchAsync;
|
|
2464
|
+
i.ofj_1 = store;
|
|
2465
2465
|
return i;
|
|
2466
2466
|
};
|
|
2467
2467
|
function GameServer$playerLostConnection$slambda_0($playerId, $roomId, resultContinuation) {
|
|
2468
2468
|
var i = new GameServer$playerLostConnection$slambda($playerId, $roomId, resultContinuation);
|
|
2469
2469
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2470
|
-
return i.
|
|
2470
|
+
return i.mcx($this$dispatchAsync, store, $completion);
|
|
2471
2471
|
};
|
|
2472
2472
|
l.$arity = 2;
|
|
2473
2473
|
return l;
|
|
2474
2474
|
}
|
|
2475
2475
|
function GameServer$playerLive$slambda(this$0, $playerId, $roomId, resultContinuation) {
|
|
2476
|
-
this.
|
|
2477
|
-
this.
|
|
2478
|
-
this.
|
|
2476
|
+
this.xfj_1 = this$0;
|
|
2477
|
+
this.yfj_1 = $playerId;
|
|
2478
|
+
this.zfj_1 = $roomId;
|
|
2479
2479
|
CoroutineImpl.call(this, resultContinuation);
|
|
2480
2480
|
}
|
|
2481
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2482
|
-
var tmp = this.
|
|
2481
|
+
protoOf(GameServer$playerLive$slambda).mcx = function ($this$dispatchAsync, store, $completion) {
|
|
2482
|
+
var tmp = this.ncx($this$dispatchAsync, store, $completion);
|
|
2483
2483
|
tmp.k9_1 = Unit_instance;
|
|
2484
2484
|
tmp.l9_1 = null;
|
|
2485
2485
|
return tmp.q9();
|
|
2486
2486
|
};
|
|
2487
2487
|
protoOf(GameServer$playerLive$slambda).da = function (p1, p2, $completion) {
|
|
2488
2488
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2489
|
-
return this.
|
|
2489
|
+
return this.mcx(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2490
2490
|
};
|
|
2491
2491
|
protoOf(GameServer$playerLive$slambda).q9 = function () {
|
|
2492
2492
|
var suspendResult = this.k9_1;
|
|
@@ -2495,16 +2495,16 @@
|
|
|
2495
2495
|
var tmp = this.i9_1;
|
|
2496
2496
|
if (tmp === 0) {
|
|
2497
2497
|
this.j9_1 = 1;
|
|
2498
|
-
if (get_isFinished(this.
|
|
2498
|
+
if (get_isFinished(this.bfk_1.state) || get_isFinishing(this.bfk_1.state)) {
|
|
2499
2499
|
return Unit_instance;
|
|
2500
2500
|
}
|
|
2501
|
-
if (!_get_serverReduxConfig__rprcrm(this.
|
|
2502
|
-
this.
|
|
2501
|
+
if (!_get_serverReduxConfig__rprcrm(this.xfj_1).waitForPlayerToConnectOnStart && (!get_isCreated(this.bfk_1.state) || !this.xfj_1.a79().u7w())) {
|
|
2502
|
+
this.xfj_1.o5s().v('GameEngine_API', 'playerLive: ' + this.yfj_1 + ' before game is created');
|
|
2503
2503
|
return Unit_instance;
|
|
2504
2504
|
}
|
|
2505
|
-
var tmp_0 = this.
|
|
2505
|
+
var tmp_0 = this.bfk_1.dispatch;
|
|
2506
2506
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2507
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2507
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.yfj_1, this.zfj_1));
|
|
2508
2508
|
return Unit_instance;
|
|
2509
2509
|
} else if (tmp === 1) {
|
|
2510
2510
|
throw this.l9_1;
|
|
@@ -2515,36 +2515,36 @@
|
|
|
2515
2515
|
}
|
|
2516
2516
|
while (true);
|
|
2517
2517
|
};
|
|
2518
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2519
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
2520
|
-
i.
|
|
2521
|
-
i.
|
|
2518
|
+
protoOf(GameServer$playerLive$slambda).ncx = function ($this$dispatchAsync, store, completion) {
|
|
2519
|
+
var i = new GameServer$playerLive$slambda(this.xfj_1, this.yfj_1, this.zfj_1, completion);
|
|
2520
|
+
i.afk_1 = $this$dispatchAsync;
|
|
2521
|
+
i.bfk_1 = store;
|
|
2522
2522
|
return i;
|
|
2523
2523
|
};
|
|
2524
2524
|
function GameServer$playerLive$slambda_0(this$0, $playerId, $roomId, resultContinuation) {
|
|
2525
2525
|
var i = new GameServer$playerLive$slambda(this$0, $playerId, $roomId, resultContinuation);
|
|
2526
2526
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2527
|
-
return i.
|
|
2527
|
+
return i.mcx($this$dispatchAsync, store, $completion);
|
|
2528
2528
|
};
|
|
2529
2529
|
l.$arity = 2;
|
|
2530
2530
|
return l;
|
|
2531
2531
|
}
|
|
2532
2532
|
function GameServer$playerLeft$slambda(this$0, $playerId, $permanently, $roomId, resultContinuation) {
|
|
2533
|
-
this.
|
|
2534
|
-
this.
|
|
2535
|
-
this.
|
|
2536
|
-
this.
|
|
2533
|
+
this.kfk_1 = this$0;
|
|
2534
|
+
this.lfk_1 = $playerId;
|
|
2535
|
+
this.mfk_1 = $permanently;
|
|
2536
|
+
this.nfk_1 = $roomId;
|
|
2537
2537
|
CoroutineImpl.call(this, resultContinuation);
|
|
2538
2538
|
}
|
|
2539
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2540
|
-
var tmp = this.
|
|
2539
|
+
protoOf(GameServer$playerLeft$slambda).mcx = function ($this$dispatchAsync, store, $completion) {
|
|
2540
|
+
var tmp = this.ncx($this$dispatchAsync, store, $completion);
|
|
2541
2541
|
tmp.k9_1 = Unit_instance;
|
|
2542
2542
|
tmp.l9_1 = null;
|
|
2543
2543
|
return tmp.q9();
|
|
2544
2544
|
};
|
|
2545
2545
|
protoOf(GameServer$playerLeft$slambda).da = function (p1, p2, $completion) {
|
|
2546
2546
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2547
|
-
return this.
|
|
2547
|
+
return this.mcx(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2548
2548
|
};
|
|
2549
2549
|
protoOf(GameServer$playerLeft$slambda).q9 = function () {
|
|
2550
2550
|
var suspendResult = this.k9_1;
|
|
@@ -2553,22 +2553,22 @@
|
|
|
2553
2553
|
var tmp = this.i9_1;
|
|
2554
2554
|
if (tmp === 0) {
|
|
2555
2555
|
this.j9_1 = 1;
|
|
2556
|
-
if (get_isFinished(this.
|
|
2556
|
+
if (get_isFinished(this.pfk_1.state) || get_isFinishing(this.pfk_1.state)) {
|
|
2557
2557
|
return Unit_instance;
|
|
2558
2558
|
}
|
|
2559
|
-
if (!get_isCreated(this.
|
|
2560
|
-
this.
|
|
2559
|
+
if (!get_isCreated(this.pfk_1.state) || !this.kfk_1.a79().u7w()) {
|
|
2560
|
+
this.kfk_1.o5s().w('GameEngine_API', 'playerLeft: ' + this.lfk_1 + ' before game is created');
|
|
2561
2561
|
return Unit_instance;
|
|
2562
2562
|
}
|
|
2563
|
-
var tmp_0 = this.
|
|
2563
|
+
var tmp_0 = this.pfk_1.dispatch;
|
|
2564
2564
|
var tmp_1;
|
|
2565
|
-
if (this.
|
|
2565
|
+
if (this.mfk_1) {
|
|
2566
2566
|
tmp_1 = PlayerConnectionState_LEFT_PERMANENTLY_getInstance();
|
|
2567
2567
|
} else {
|
|
2568
2568
|
tmp_1 = PlayerConnectionState_LEFT_getInstance();
|
|
2569
2569
|
}
|
|
2570
2570
|
var tmp0_connectionState = tmp_1;
|
|
2571
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2571
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.lfk_1, this.nfk_1));
|
|
2572
2572
|
return Unit_instance;
|
|
2573
2573
|
} else if (tmp === 1) {
|
|
2574
2574
|
throw this.l9_1;
|
|
@@ -2579,39 +2579,39 @@
|
|
|
2579
2579
|
}
|
|
2580
2580
|
while (true);
|
|
2581
2581
|
};
|
|
2582
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2583
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
2584
|
-
i.
|
|
2585
|
-
i.
|
|
2582
|
+
protoOf(GameServer$playerLeft$slambda).ncx = function ($this$dispatchAsync, store, completion) {
|
|
2583
|
+
var i = new GameServer$playerLeft$slambda(this.kfk_1, this.lfk_1, this.mfk_1, this.nfk_1, completion);
|
|
2584
|
+
i.ofk_1 = $this$dispatchAsync;
|
|
2585
|
+
i.pfk_1 = store;
|
|
2586
2586
|
return i;
|
|
2587
2587
|
};
|
|
2588
2588
|
function GameServer$playerLeft$slambda_0(this$0, $playerId, $permanently, $roomId, resultContinuation) {
|
|
2589
2589
|
var i = new GameServer$playerLeft$slambda(this$0, $playerId, $permanently, $roomId, resultContinuation);
|
|
2590
2590
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2591
|
-
return i.
|
|
2591
|
+
return i.mcx($this$dispatchAsync, store, $completion);
|
|
2592
2592
|
};
|
|
2593
2593
|
l.$arity = 2;
|
|
2594
2594
|
return l;
|
|
2595
2595
|
}
|
|
2596
2596
|
function GameServer$roomOnCreate$slambda($usersArray, this$0, $config, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2597
|
-
this.
|
|
2598
|
-
this.
|
|
2599
|
-
this.
|
|
2600
|
-
this.
|
|
2601
|
-
this.
|
|
2602
|
-
this.
|
|
2603
|
-
this.
|
|
2597
|
+
this.yfk_1 = $usersArray;
|
|
2598
|
+
this.zfk_1 = this$0;
|
|
2599
|
+
this.afl_1 = $config;
|
|
2600
|
+
this.bfl_1 = $roomId;
|
|
2601
|
+
this.cfl_1 = $transition;
|
|
2602
|
+
this.dfl_1 = $gameCreatorId;
|
|
2603
|
+
this.efl_1 = $spectators;
|
|
2604
2604
|
CoroutineImpl.call(this, resultContinuation);
|
|
2605
2605
|
}
|
|
2606
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2607
|
-
var tmp = this.
|
|
2606
|
+
protoOf(GameServer$roomOnCreate$slambda).mcx = function ($this$dispatchAsync, store, $completion) {
|
|
2607
|
+
var tmp = this.ncx($this$dispatchAsync, store, $completion);
|
|
2608
2608
|
tmp.k9_1 = Unit_instance;
|
|
2609
2609
|
tmp.l9_1 = null;
|
|
2610
2610
|
return tmp.q9();
|
|
2611
2611
|
};
|
|
2612
2612
|
protoOf(GameServer$roomOnCreate$slambda).da = function (p1, p2, $completion) {
|
|
2613
2613
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2614
|
-
return this.
|
|
2614
|
+
return this.mcx(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2615
2615
|
};
|
|
2616
2616
|
protoOf(GameServer$roomOnCreate$slambda).q9 = function () {
|
|
2617
2617
|
var suspendResult = this.k9_1;
|
|
@@ -2620,18 +2620,18 @@
|
|
|
2620
2620
|
var tmp = this.i9_1;
|
|
2621
2621
|
if (tmp === 0) {
|
|
2622
2622
|
this.j9_1 = 1;
|
|
2623
|
-
var users = toList(this.
|
|
2624
|
-
if (!validatePlayerCount(this.
|
|
2625
|
-
this.
|
|
2623
|
+
var users = toList(this.yfk_1);
|
|
2624
|
+
if (!validatePlayerCount(this.zfk_1, this.afl_1, users, this.bfl_1)) {
|
|
2625
|
+
this.gfl_1.dispatch(Companion_instance.fromTableWithAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.zfk_1.table.isGameFinished, this.zfk_1.table));
|
|
2626
2626
|
return Unit_instance;
|
|
2627
2627
|
}
|
|
2628
|
-
var orderedUsers = orderUsers(this.
|
|
2629
|
-
var gameCreatorUser = getPlayer(users, this.
|
|
2630
|
-
var tmp_0 = this.
|
|
2628
|
+
var orderedUsers = orderUsers(this.zfk_1, users, this.afl_1, this.cfl_1);
|
|
2629
|
+
var gameCreatorUser = getPlayer(users, this.dfl_1);
|
|
2630
|
+
var tmp_0 = this.gfl_1.dispatch;
|
|
2631
2631
|
var tmp0_version = get_versionOrDefault(GameEngineConfig_instance);
|
|
2632
2632
|
var tmp1_users = sortWithItem(orderedUsers, gameCreatorUser);
|
|
2633
|
-
var tmp2_spectators = toList(this.
|
|
2634
|
-
tmp_0(new StartGameMechanicAction(this.
|
|
2633
|
+
var tmp2_spectators = toList(this.efl_1);
|
|
2634
|
+
tmp_0(new StartGameMechanicAction(this.afl_1, this.bfl_1, tmp0_version, this.dfl_1, tmp1_users, VOID, tmp2_spectators));
|
|
2635
2635
|
return Unit_instance;
|
|
2636
2636
|
} else if (tmp === 1) {
|
|
2637
2637
|
throw this.l9_1;
|
|
@@ -2642,39 +2642,39 @@
|
|
|
2642
2642
|
}
|
|
2643
2643
|
while (true);
|
|
2644
2644
|
};
|
|
2645
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2646
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
2647
|
-
i.
|
|
2648
|
-
i.
|
|
2645
|
+
protoOf(GameServer$roomOnCreate$slambda).ncx = function ($this$dispatchAsync, store, completion) {
|
|
2646
|
+
var i = new GameServer$roomOnCreate$slambda(this.yfk_1, this.zfk_1, this.afl_1, this.bfl_1, this.cfl_1, this.dfl_1, this.efl_1, completion);
|
|
2647
|
+
i.ffl_1 = $this$dispatchAsync;
|
|
2648
|
+
i.gfl_1 = store;
|
|
2649
2649
|
return i;
|
|
2650
2650
|
};
|
|
2651
2651
|
function GameServer$roomOnCreate$slambda_0($usersArray, this$0, $config, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2652
2652
|
var i = new GameServer$roomOnCreate$slambda($usersArray, this$0, $config, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation);
|
|
2653
2653
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2654
|
-
return i.
|
|
2654
|
+
return i.mcx($this$dispatchAsync, store, $completion);
|
|
2655
2655
|
};
|
|
2656
2656
|
l.$arity = 2;
|
|
2657
2657
|
return l;
|
|
2658
2658
|
}
|
|
2659
2659
|
function GameServer$preserveTeams$previousTeams$1($playerId) {
|
|
2660
|
-
this.
|
|
2660
|
+
this.hfl_1 = $playerId;
|
|
2661
2661
|
}
|
|
2662
2662
|
protoOf(GameServer$preserveTeams$previousTeams$1).b78 = function () {
|
|
2663
|
-
return this.
|
|
2663
|
+
return this.hfl_1;
|
|
2664
2664
|
};
|
|
2665
2665
|
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
2666
|
-
this.
|
|
2666
|
+
this.qfl_1 = $state;
|
|
2667
2667
|
CoroutineImpl.call(this, resultContinuation);
|
|
2668
2668
|
}
|
|
2669
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2670
|
-
var tmp = this.
|
|
2669
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).tfl = function ($this$dispatchAwait, store, $completion) {
|
|
2670
|
+
var tmp = this.ncx($this$dispatchAwait, store, $completion);
|
|
2671
2671
|
tmp.k9_1 = Unit_instance;
|
|
2672
2672
|
tmp.l9_1 = null;
|
|
2673
2673
|
return tmp.q9();
|
|
2674
2674
|
};
|
|
2675
2675
|
protoOf(GameServer$roomOnContinueFromState$slambda).da = function (p1, p2, $completion) {
|
|
2676
2676
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2677
|
-
return this.
|
|
2677
|
+
return this.tfl(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2678
2678
|
};
|
|
2679
2679
|
protoOf(GameServer$roomOnContinueFromState$slambda).q9 = function () {
|
|
2680
2680
|
var suspendResult = this.k9_1;
|
|
@@ -2683,10 +2683,10 @@
|
|
|
2683
2683
|
var tmp = this.i9_1;
|
|
2684
2684
|
if (tmp === 0) {
|
|
2685
2685
|
this.j9_1 = 1;
|
|
2686
|
-
if (get_isCreating(this.
|
|
2687
|
-
var tmp_0 = this.
|
|
2686
|
+
if (get_isCreating(this.sfl_1.state)) {
|
|
2687
|
+
var tmp_0 = this.sfl_1.dispatch;
|
|
2688
2688
|
var tmp0_reason = new RestartRoundReason(null);
|
|
2689
|
-
var tmp1_table = this.
|
|
2689
|
+
var tmp1_table = this.qfl_1.table;
|
|
2690
2690
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2691
2691
|
return true;
|
|
2692
2692
|
}
|
|
@@ -2700,34 +2700,34 @@
|
|
|
2700
2700
|
}
|
|
2701
2701
|
while (true);
|
|
2702
2702
|
};
|
|
2703
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2704
|
-
var i = new GameServer$roomOnContinueFromState$slambda(this.
|
|
2705
|
-
i.
|
|
2706
|
-
i.
|
|
2703
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).ncx = function ($this$dispatchAwait, store, completion) {
|
|
2704
|
+
var i = new GameServer$roomOnContinueFromState$slambda(this.qfl_1, completion);
|
|
2705
|
+
i.rfl_1 = $this$dispatchAwait;
|
|
2706
|
+
i.sfl_1 = store;
|
|
2707
2707
|
return i;
|
|
2708
2708
|
};
|
|
2709
2709
|
function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
|
|
2710
2710
|
var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
|
|
2711
2711
|
var l = function ($this$dispatchAwait, store, $completion) {
|
|
2712
|
-
return i.
|
|
2712
|
+
return i.tfl($this$dispatchAwait, store, $completion);
|
|
2713
2713
|
};
|
|
2714
2714
|
l.$arity = 2;
|
|
2715
2715
|
return l;
|
|
2716
2716
|
}
|
|
2717
2717
|
function GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation) {
|
|
2718
|
-
this.
|
|
2719
|
-
this.
|
|
2718
|
+
this.cfm_1 = $isCreated;
|
|
2719
|
+
this.dfm_1 = $state;
|
|
2720
2720
|
CoroutineImpl.call(this, resultContinuation);
|
|
2721
2721
|
}
|
|
2722
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2723
|
-
var tmp = this.
|
|
2722
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).mcx = function ($this$dispatchAsync, store, $completion) {
|
|
2723
|
+
var tmp = this.ncx($this$dispatchAsync, store, $completion);
|
|
2724
2724
|
tmp.k9_1 = Unit_instance;
|
|
2725
2725
|
tmp.l9_1 = null;
|
|
2726
2726
|
return tmp.q9();
|
|
2727
2727
|
};
|
|
2728
2728
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).da = function (p1, p2, $completion) {
|
|
2729
2729
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2730
|
-
return this.
|
|
2730
|
+
return this.mcx(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2731
2731
|
};
|
|
2732
2732
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).q9 = function () {
|
|
2733
2733
|
var suspendResult = this.k9_1;
|
|
@@ -2738,7 +2738,7 @@
|
|
|
2738
2738
|
case 0:
|
|
2739
2739
|
this.j9_1 = 3;
|
|
2740
2740
|
this.i9_1 = 1;
|
|
2741
|
-
suspendResult = this.
|
|
2741
|
+
suspendResult = this.cfm_1.n1t(this);
|
|
2742
2742
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2743
2743
|
return suspendResult;
|
|
2744
2744
|
}
|
|
@@ -2746,10 +2746,10 @@
|
|
|
2746
2746
|
continue $sm;
|
|
2747
2747
|
case 1:
|
|
2748
2748
|
if (suspendResult) {
|
|
2749
|
-
var _iterator__ex2g4s = this.
|
|
2749
|
+
var _iterator__ex2g4s = this.dfm_1.actions.t();
|
|
2750
2750
|
while (_iterator__ex2g4s.u()) {
|
|
2751
2751
|
var element = _iterator__ex2g4s.v();
|
|
2752
|
-
this.
|
|
2752
|
+
this.ffm_1.dispatch(element);
|
|
2753
2753
|
}
|
|
2754
2754
|
this.i9_1 = 2;
|
|
2755
2755
|
continue $sm;
|
|
@@ -2774,35 +2774,35 @@
|
|
|
2774
2774
|
}
|
|
2775
2775
|
while (true);
|
|
2776
2776
|
};
|
|
2777
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2778
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1(this.
|
|
2779
|
-
i.
|
|
2780
|
-
i.
|
|
2777
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).ncx = function ($this$dispatchAsync, store, completion) {
|
|
2778
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1(this.cfm_1, this.dfm_1, completion);
|
|
2779
|
+
i.efm_1 = $this$dispatchAsync;
|
|
2780
|
+
i.ffm_1 = store;
|
|
2781
2781
|
return i;
|
|
2782
2782
|
};
|
|
2783
2783
|
function GameServer$roomOnContinueFromState$slambda_2($isCreated, $state, resultContinuation) {
|
|
2784
2784
|
var i = new GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation);
|
|
2785
2785
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2786
|
-
return i.
|
|
2786
|
+
return i.mcx($this$dispatchAsync, store, $completion);
|
|
2787
2787
|
};
|
|
2788
2788
|
l.$arity = 2;
|
|
2789
2789
|
return l;
|
|
2790
2790
|
}
|
|
2791
2791
|
function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation) {
|
|
2792
|
-
this.
|
|
2793
|
-
this.
|
|
2794
|
-
this.
|
|
2792
|
+
this.ofm_1 = $tableLite;
|
|
2793
|
+
this.pfm_1 = $roomId;
|
|
2794
|
+
this.qfm_1 = this$0;
|
|
2795
2795
|
CoroutineImpl.call(this, resultContinuation);
|
|
2796
2796
|
}
|
|
2797
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2798
|
-
var tmp = this.
|
|
2797
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).mcx = function ($this$dispatchAsync, store, $completion) {
|
|
2798
|
+
var tmp = this.ncx($this$dispatchAsync, store, $completion);
|
|
2799
2799
|
tmp.k9_1 = Unit_instance;
|
|
2800
2800
|
tmp.l9_1 = null;
|
|
2801
2801
|
return tmp.q9();
|
|
2802
2802
|
};
|
|
2803
2803
|
protoOf(GameServer$roomOnContinueFromRound$slambda).da = function (p1, p2, $completion) {
|
|
2804
2804
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2805
|
-
return this.
|
|
2805
|
+
return this.mcx(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2806
2806
|
};
|
|
2807
2807
|
protoOf(GameServer$roomOnContinueFromRound$slambda).q9 = function () {
|
|
2808
2808
|
var suspendResult = this.k9_1;
|
|
@@ -2811,9 +2811,9 @@
|
|
|
2811
2811
|
var tmp = this.i9_1;
|
|
2812
2812
|
if (tmp === 0) {
|
|
2813
2813
|
this.j9_1 = 1;
|
|
2814
|
-
var tmp_0 = this.
|
|
2815
|
-
var tmp0_reason = new RestartRoundReason(this.
|
|
2816
|
-
var tmp1_table = Companion_instance_0.restartRound(this.
|
|
2814
|
+
var tmp_0 = this.sfm_1.dispatch;
|
|
2815
|
+
var tmp0_reason = new RestartRoundReason(this.ofm_1.gameInfo.round.roundNumber);
|
|
2816
|
+
var tmp1_table = Companion_instance_0.restartRound(this.pfm_1, _get_idsProvider__fnfajc(this.qfm_1).f7h(), get_versionOrDefault(GameEngineConfig_instance), this.ofm_1);
|
|
2817
2817
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2818
2818
|
return Unit_instance;
|
|
2819
2819
|
} else if (tmp === 1) {
|
|
@@ -2825,16 +2825,16 @@
|
|
|
2825
2825
|
}
|
|
2826
2826
|
while (true);
|
|
2827
2827
|
};
|
|
2828
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2829
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
2830
|
-
i.
|
|
2831
|
-
i.
|
|
2828
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).ncx = function ($this$dispatchAsync, store, completion) {
|
|
2829
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.ofm_1, this.pfm_1, this.qfm_1, completion);
|
|
2830
|
+
i.rfm_1 = $this$dispatchAsync;
|
|
2831
|
+
i.sfm_1 = store;
|
|
2832
2832
|
return i;
|
|
2833
2833
|
};
|
|
2834
2834
|
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, resultContinuation) {
|
|
2835
2835
|
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation);
|
|
2836
2836
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2837
|
-
return i.
|
|
2837
|
+
return i.mcx($this$dispatchAsync, store, $completion);
|
|
2838
2838
|
};
|
|
2839
2839
|
l.$arity = 2;
|
|
2840
2840
|
return l;
|
|
@@ -2842,15 +2842,15 @@
|
|
|
2842
2842
|
function GameServer$roomOnContinueFromRound$slambda_1(resultContinuation) {
|
|
2843
2843
|
CoroutineImpl.call(this, resultContinuation);
|
|
2844
2844
|
}
|
|
2845
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2846
|
-
var tmp = this.
|
|
2845
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).mcx = function ($this$dispatchAsync, store, $completion) {
|
|
2846
|
+
var tmp = this.ncx($this$dispatchAsync, store, $completion);
|
|
2847
2847
|
tmp.k9_1 = Unit_instance;
|
|
2848
2848
|
tmp.l9_1 = null;
|
|
2849
2849
|
return tmp.q9();
|
|
2850
2850
|
};
|
|
2851
2851
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).da = function (p1, p2, $completion) {
|
|
2852
2852
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2853
|
-
return this.
|
|
2853
|
+
return this.mcx(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2854
2854
|
};
|
|
2855
2855
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).q9 = function () {
|
|
2856
2856
|
var suspendResult = this.k9_1;
|
|
@@ -2859,7 +2859,7 @@
|
|
|
2859
2859
|
var tmp = this.i9_1;
|
|
2860
2860
|
if (tmp === 0) {
|
|
2861
2861
|
this.j9_1 = 1;
|
|
2862
|
-
this.
|
|
2862
|
+
this.cfn_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
2863
2863
|
return Unit_instance;
|
|
2864
2864
|
} else if (tmp === 1) {
|
|
2865
2865
|
throw this.l9_1;
|
|
@@ -2870,33 +2870,33 @@
|
|
|
2870
2870
|
}
|
|
2871
2871
|
while (true);
|
|
2872
2872
|
};
|
|
2873
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2873
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).ncx = function ($this$dispatchAsync, store, completion) {
|
|
2874
2874
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
2875
|
-
i.
|
|
2876
|
-
i.
|
|
2875
|
+
i.bfn_1 = $this$dispatchAsync;
|
|
2876
|
+
i.cfn_1 = store;
|
|
2877
2877
|
return i;
|
|
2878
2878
|
};
|
|
2879
2879
|
function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
|
|
2880
2880
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(resultContinuation);
|
|
2881
2881
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2882
|
-
return i.
|
|
2882
|
+
return i.mcx($this$dispatchAsync, store, $completion);
|
|
2883
2883
|
};
|
|
2884
2884
|
l.$arity = 2;
|
|
2885
2885
|
return l;
|
|
2886
2886
|
}
|
|
2887
2887
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
2888
|
-
this.
|
|
2888
|
+
this.lfn_1 = $spectators;
|
|
2889
2889
|
CoroutineImpl.call(this, resultContinuation);
|
|
2890
2890
|
}
|
|
2891
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2892
|
-
var tmp = this.
|
|
2891
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).mcx = function ($this$dispatchAsync, store, $completion) {
|
|
2892
|
+
var tmp = this.ncx($this$dispatchAsync, store, $completion);
|
|
2893
2893
|
tmp.k9_1 = Unit_instance;
|
|
2894
2894
|
tmp.l9_1 = null;
|
|
2895
2895
|
return tmp.q9();
|
|
2896
2896
|
};
|
|
2897
2897
|
protoOf(GameServer$addSpectatorsToRoom$slambda).da = function (p1, p2, $completion) {
|
|
2898
2898
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2899
|
-
return this.
|
|
2899
|
+
return this.mcx(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2900
2900
|
};
|
|
2901
2901
|
protoOf(GameServer$addSpectatorsToRoom$slambda).q9 = function () {
|
|
2902
2902
|
var suspendResult = this.k9_1;
|
|
@@ -2905,7 +2905,7 @@
|
|
|
2905
2905
|
var tmp = this.i9_1;
|
|
2906
2906
|
if (tmp === 0) {
|
|
2907
2907
|
this.j9_1 = 1;
|
|
2908
|
-
this.
|
|
2908
|
+
this.nfn_1.dispatch(new AddSpectatorsAction(toList(this.lfn_1)));
|
|
2909
2909
|
return Unit_instance;
|
|
2910
2910
|
} else if (tmp === 1) {
|
|
2911
2911
|
throw this.l9_1;
|
|
@@ -2916,33 +2916,33 @@
|
|
|
2916
2916
|
}
|
|
2917
2917
|
while (true);
|
|
2918
2918
|
};
|
|
2919
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2920
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
2921
|
-
i.
|
|
2922
|
-
i.
|
|
2919
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).ncx = function ($this$dispatchAsync, store, completion) {
|
|
2920
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.lfn_1, completion);
|
|
2921
|
+
i.mfn_1 = $this$dispatchAsync;
|
|
2922
|
+
i.nfn_1 = store;
|
|
2923
2923
|
return i;
|
|
2924
2924
|
};
|
|
2925
2925
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
2926
2926
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
2927
2927
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2928
|
-
return i.
|
|
2928
|
+
return i.mcx($this$dispatchAsync, store, $completion);
|
|
2929
2929
|
};
|
|
2930
2930
|
l.$arity = 2;
|
|
2931
2931
|
return l;
|
|
2932
2932
|
}
|
|
2933
2933
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
2934
|
-
this.
|
|
2934
|
+
this.wfn_1 = $spectators;
|
|
2935
2935
|
CoroutineImpl.call(this, resultContinuation);
|
|
2936
2936
|
}
|
|
2937
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2938
|
-
var tmp = this.
|
|
2937
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).mcx = function ($this$dispatchAsync, store, $completion) {
|
|
2938
|
+
var tmp = this.ncx($this$dispatchAsync, store, $completion);
|
|
2939
2939
|
tmp.k9_1 = Unit_instance;
|
|
2940
2940
|
tmp.l9_1 = null;
|
|
2941
2941
|
return tmp.q9();
|
|
2942
2942
|
};
|
|
2943
2943
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).da = function (p1, p2, $completion) {
|
|
2944
2944
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2945
|
-
return this.
|
|
2945
|
+
return this.mcx(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2946
2946
|
};
|
|
2947
2947
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).q9 = function () {
|
|
2948
2948
|
var suspendResult = this.k9_1;
|
|
@@ -2951,7 +2951,7 @@
|
|
|
2951
2951
|
var tmp = this.i9_1;
|
|
2952
2952
|
if (tmp === 0) {
|
|
2953
2953
|
this.j9_1 = 1;
|
|
2954
|
-
this.
|
|
2954
|
+
this.yfn_1.dispatch(new RemoveSpectatorsAction(toList(this.wfn_1)));
|
|
2955
2955
|
return Unit_instance;
|
|
2956
2956
|
} else if (tmp === 1) {
|
|
2957
2957
|
throw this.l9_1;
|
|
@@ -2962,34 +2962,34 @@
|
|
|
2962
2962
|
}
|
|
2963
2963
|
while (true);
|
|
2964
2964
|
};
|
|
2965
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2966
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
2967
|
-
i.
|
|
2968
|
-
i.
|
|
2965
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).ncx = function ($this$dispatchAsync, store, completion) {
|
|
2966
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.wfn_1, completion);
|
|
2967
|
+
i.xfn_1 = $this$dispatchAsync;
|
|
2968
|
+
i.yfn_1 = store;
|
|
2969
2969
|
return i;
|
|
2970
2970
|
};
|
|
2971
2971
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
2972
2972
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
2973
2973
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2974
|
-
return i.
|
|
2974
|
+
return i.mcx($this$dispatchAsync, store, $completion);
|
|
2975
2975
|
};
|
|
2976
2976
|
l.$arity = 2;
|
|
2977
2977
|
return l;
|
|
2978
2978
|
}
|
|
2979
2979
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
2980
|
-
this.
|
|
2981
|
-
this.
|
|
2980
|
+
this.hfo_1 = $playerId;
|
|
2981
|
+
this.ifo_1 = this$0;
|
|
2982
2982
|
CoroutineImpl.call(this, resultContinuation);
|
|
2983
2983
|
}
|
|
2984
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2985
|
-
var tmp = this.
|
|
2984
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).mcx = function ($this$dispatchAsync, store, $completion) {
|
|
2985
|
+
var tmp = this.ncx($this$dispatchAsync, store, $completion);
|
|
2986
2986
|
tmp.k9_1 = Unit_instance;
|
|
2987
2987
|
tmp.l9_1 = null;
|
|
2988
2988
|
return tmp.q9();
|
|
2989
2989
|
};
|
|
2990
2990
|
protoOf(GameServer$roomRefreshPlayerState$slambda).da = function (p1, p2, $completion) {
|
|
2991
2991
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2992
|
-
return this.
|
|
2992
|
+
return this.mcx(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2993
2993
|
};
|
|
2994
2994
|
protoOf(GameServer$roomRefreshPlayerState$slambda).q9 = function () {
|
|
2995
2995
|
var suspendResult = this.k9_1;
|
|
@@ -2998,23 +2998,23 @@
|
|
|
2998
2998
|
var tmp = this.i9_1;
|
|
2999
2999
|
if (tmp === 0) {
|
|
3000
3000
|
this.j9_1 = 1;
|
|
3001
|
-
var table = this.
|
|
3002
|
-
var player = getPlayer(table.players, this.
|
|
3001
|
+
var table = this.kfo_1.state.s7w();
|
|
3002
|
+
var player = getPlayer(table.players, this.hfo_1);
|
|
3003
3003
|
var connection = player.h80_1.f7b();
|
|
3004
3004
|
if (connection.o79_1.isLive) {
|
|
3005
3005
|
if (connection.p79_1 == null) {
|
|
3006
|
-
var _iterator__ex2g4s = _get_playerConnectionInteractor__si6cxf(this.
|
|
3006
|
+
var _iterator__ex2g4s = _get_playerConnectionInteractor__si6cxf(this.ifo_1).mfo(PlayerConnectionState_LIVE_getInstance(), PlayerConnectionState_WAITING_getInstance(), player, table, false).t();
|
|
3007
3007
|
while (_iterator__ex2g4s.u()) {
|
|
3008
3008
|
var element = _iterator__ex2g4s.v();
|
|
3009
|
-
this.
|
|
3009
|
+
this.kfo_1.dispatch(element);
|
|
3010
3010
|
}
|
|
3011
3011
|
} else {
|
|
3012
|
-
this.
|
|
3012
|
+
this.kfo_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.ifo_1).lfo(player, table));
|
|
3013
3013
|
}
|
|
3014
3014
|
} else {
|
|
3015
|
-
var tmp_0 = this.
|
|
3015
|
+
var tmp_0 = this.kfo_1.dispatch;
|
|
3016
3016
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
3017
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
3017
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.hfo_1));
|
|
3018
3018
|
}
|
|
3019
3019
|
return Unit_instance;
|
|
3020
3020
|
} else if (tmp === 1) {
|
|
@@ -3026,34 +3026,34 @@
|
|
|
3026
3026
|
}
|
|
3027
3027
|
while (true);
|
|
3028
3028
|
};
|
|
3029
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
3030
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
3031
|
-
i.
|
|
3032
|
-
i.
|
|
3029
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).ncx = function ($this$dispatchAsync, store, completion) {
|
|
3030
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.hfo_1, this.ifo_1, completion);
|
|
3031
|
+
i.jfo_1 = $this$dispatchAsync;
|
|
3032
|
+
i.kfo_1 = store;
|
|
3033
3033
|
return i;
|
|
3034
3034
|
};
|
|
3035
3035
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
3036
3036
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
3037
3037
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3038
|
-
return i.
|
|
3038
|
+
return i.mcx($this$dispatchAsync, store, $completion);
|
|
3039
3039
|
};
|
|
3040
3040
|
l.$arity = 2;
|
|
3041
3041
|
return l;
|
|
3042
3042
|
}
|
|
3043
3043
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
3044
|
-
this.
|
|
3045
|
-
this.
|
|
3044
|
+
this.vfo_1 = this$0;
|
|
3045
|
+
this.wfo_1 = $newRid;
|
|
3046
3046
|
CoroutineImpl.call(this, resultContinuation);
|
|
3047
3047
|
}
|
|
3048
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
3049
|
-
var tmp = this.
|
|
3048
|
+
protoOf(GameServer$roomOnDelete$slambda).mcx = function ($this$dispatchAsync, store, $completion) {
|
|
3049
|
+
var tmp = this.ncx($this$dispatchAsync, store, $completion);
|
|
3050
3050
|
tmp.k9_1 = Unit_instance;
|
|
3051
3051
|
tmp.l9_1 = null;
|
|
3052
3052
|
return tmp.q9();
|
|
3053
3053
|
};
|
|
3054
3054
|
protoOf(GameServer$roomOnDelete$slambda).da = function (p1, p2, $completion) {
|
|
3055
3055
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
3056
|
-
return this.
|
|
3056
|
+
return this.mcx(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
3057
3057
|
};
|
|
3058
3058
|
protoOf(GameServer$roomOnDelete$slambda).q9 = function () {
|
|
3059
3059
|
var suspendResult = this.k9_1;
|
|
@@ -3062,10 +3062,10 @@
|
|
|
3062
3062
|
var tmp = this.i9_1;
|
|
3063
3063
|
if (tmp === 0) {
|
|
3064
3064
|
this.j9_1 = 1;
|
|
3065
|
-
var it = this.
|
|
3065
|
+
var it = this.vfo_1.a79().s7v_1;
|
|
3066
3066
|
var tmp_0;
|
|
3067
3067
|
if (it == null) {
|
|
3068
|
-
this.
|
|
3068
|
+
this.vfo_1.o5s().w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
3069
3069
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
3070
3070
|
} else {
|
|
3071
3071
|
tmp_0 = it;
|
|
@@ -3074,15 +3074,15 @@
|
|
|
3074
3074
|
var gameTransition = terminationState.q9k_1;
|
|
3075
3075
|
var tmp_1;
|
|
3076
3076
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
3077
|
-
var tmp0_elvis_lhs = this.
|
|
3077
|
+
var tmp0_elvis_lhs = this.wfo_1;
|
|
3078
3078
|
tmp_1 = gameTransition.copy(tmp0_elvis_lhs == null ? gameTransition.roomId : tmp0_elvis_lhs);
|
|
3079
3079
|
} else {
|
|
3080
3080
|
tmp_1 = gameTransition;
|
|
3081
3081
|
}
|
|
3082
3082
|
var transition = tmp_1;
|
|
3083
|
-
var tmp_2 = this.
|
|
3083
|
+
var tmp_2 = this.yfo_1.dispatch;
|
|
3084
3084
|
var tmp0_reason = terminationState.p9k_1;
|
|
3085
|
-
var tmp1_isGameFinished = this.
|
|
3085
|
+
var tmp1_isGameFinished = this.vfo_1.a79().s7w().isGameFinished;
|
|
3086
3086
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
3087
3087
|
return Unit_instance;
|
|
3088
3088
|
} else if (tmp === 1) {
|
|
@@ -3094,33 +3094,33 @@
|
|
|
3094
3094
|
}
|
|
3095
3095
|
while (true);
|
|
3096
3096
|
};
|
|
3097
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
3098
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
3099
|
-
i.
|
|
3100
|
-
i.
|
|
3097
|
+
protoOf(GameServer$roomOnDelete$slambda).ncx = function ($this$dispatchAsync, store, completion) {
|
|
3098
|
+
var i = new GameServer$roomOnDelete$slambda(this.vfo_1, this.wfo_1, completion);
|
|
3099
|
+
i.xfo_1 = $this$dispatchAsync;
|
|
3100
|
+
i.yfo_1 = store;
|
|
3101
3101
|
return i;
|
|
3102
3102
|
};
|
|
3103
3103
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
3104
3104
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
3105
3105
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3106
|
-
return i.
|
|
3106
|
+
return i.mcx($this$dispatchAsync, store, $completion);
|
|
3107
3107
|
};
|
|
3108
3108
|
l.$arity = 2;
|
|
3109
3109
|
return l;
|
|
3110
3110
|
}
|
|
3111
3111
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
3112
|
-
this.
|
|
3112
|
+
this.hfp_1 = $enabled;
|
|
3113
3113
|
CoroutineImpl.call(this, resultContinuation);
|
|
3114
3114
|
}
|
|
3115
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
3116
|
-
var tmp = this.
|
|
3115
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).mcx = function ($this$dispatchAsync, store, $completion) {
|
|
3116
|
+
var tmp = this.ncx($this$dispatchAsync, store, $completion);
|
|
3117
3117
|
tmp.k9_1 = Unit_instance;
|
|
3118
3118
|
tmp.l9_1 = null;
|
|
3119
3119
|
return tmp.q9();
|
|
3120
3120
|
};
|
|
3121
3121
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).da = function (p1, p2, $completion) {
|
|
3122
3122
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
3123
|
-
return this.
|
|
3123
|
+
return this.mcx(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
3124
3124
|
};
|
|
3125
3125
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).q9 = function () {
|
|
3126
3126
|
var suspendResult = this.k9_1;
|
|
@@ -3129,7 +3129,7 @@
|
|
|
3129
3129
|
var tmp = this.i9_1;
|
|
3130
3130
|
if (tmp === 0) {
|
|
3131
3131
|
this.j9_1 = 1;
|
|
3132
|
-
this.
|
|
3132
|
+
this.jfp_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload(this.jfp_1.state).config.copy(VOID, !this.hfp_1)));
|
|
3133
3133
|
return Unit_instance;
|
|
3134
3134
|
} else if (tmp === 1) {
|
|
3135
3135
|
throw this.l9_1;
|
|
@@ -3140,35 +3140,35 @@
|
|
|
3140
3140
|
}
|
|
3141
3141
|
while (true);
|
|
3142
3142
|
};
|
|
3143
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
3144
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
3145
|
-
i.
|
|
3146
|
-
i.
|
|
3143
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).ncx = function ($this$dispatchAsync, store, completion) {
|
|
3144
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.hfp_1, completion);
|
|
3145
|
+
i.ifp_1 = $this$dispatchAsync;
|
|
3146
|
+
i.jfp_1 = store;
|
|
3147
3147
|
return i;
|
|
3148
3148
|
};
|
|
3149
3149
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
3150
3150
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
3151
3151
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3152
|
-
return i.
|
|
3152
|
+
return i.mcx($this$dispatchAsync, store, $completion);
|
|
3153
3153
|
};
|
|
3154
3154
|
l.$arity = 2;
|
|
3155
3155
|
return l;
|
|
3156
3156
|
}
|
|
3157
3157
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
3158
|
-
this.
|
|
3159
|
-
this.
|
|
3160
|
-
this.
|
|
3158
|
+
this.sfp_1 = $reason;
|
|
3159
|
+
this.tfp_1 = this$0;
|
|
3160
|
+
this.ufp_1 = $roomId;
|
|
3161
3161
|
CoroutineImpl.call(this, resultContinuation);
|
|
3162
3162
|
}
|
|
3163
|
-
protoOf(GameServer$shutdown$slambda).
|
|
3164
|
-
var tmp = this.
|
|
3163
|
+
protoOf(GameServer$shutdown$slambda).mcx = function ($this$dispatchAsync, store, $completion) {
|
|
3164
|
+
var tmp = this.ncx($this$dispatchAsync, store, $completion);
|
|
3165
3165
|
tmp.k9_1 = Unit_instance;
|
|
3166
3166
|
tmp.l9_1 = null;
|
|
3167
3167
|
return tmp.q9();
|
|
3168
3168
|
};
|
|
3169
3169
|
protoOf(GameServer$shutdown$slambda).da = function (p1, p2, $completion) {
|
|
3170
3170
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
3171
|
-
return this.
|
|
3171
|
+
return this.mcx(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
3172
3172
|
};
|
|
3173
3173
|
protoOf(GameServer$shutdown$slambda).q9 = function () {
|
|
3174
3174
|
var suspendResult = this.k9_1;
|
|
@@ -3177,11 +3177,11 @@
|
|
|
3177
3177
|
var tmp = this.i9_1;
|
|
3178
3178
|
if (tmp === 0) {
|
|
3179
3179
|
this.j9_1 = 1;
|
|
3180
|
-
var state = this.
|
|
3180
|
+
var state = this.wfp_1.store.state;
|
|
3181
3181
|
if (state.u7w()) {
|
|
3182
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
3182
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.sfp_1, get_serverShutdownReasonMapping());
|
|
3183
3183
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
3184
|
-
var tmp_0 = this.
|
|
3184
|
+
var tmp_0 = this.wfp_1.dispatch;
|
|
3185
3185
|
var tmp_1 = Companion_instance;
|
|
3186
3186
|
var tmp_2;
|
|
3187
3187
|
switch (shutdownReason.a1_1) {
|
|
@@ -3195,10 +3195,10 @@
|
|
|
3195
3195
|
noWhenBranchMatchedException();
|
|
3196
3196
|
break;
|
|
3197
3197
|
}
|
|
3198
|
-
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.
|
|
3198
|
+
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.tfp_1.table.isGameFinished, this.tfp_1.table));
|
|
3199
3199
|
} else {
|
|
3200
|
-
this.
|
|
3201
|
-
var tmp_3 = this.
|
|
3200
|
+
this.tfp_1.o5s().w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.ufp_1);
|
|
3201
|
+
var tmp_3 = this.wfp_1.dispatch;
|
|
3202
3202
|
var tmp2_safe_receiver = state.s7v_1;
|
|
3203
3203
|
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.q9k_1));
|
|
3204
3204
|
}
|
|
@@ -3212,37 +3212,37 @@
|
|
|
3212
3212
|
}
|
|
3213
3213
|
while (true);
|
|
3214
3214
|
};
|
|
3215
|
-
protoOf(GameServer$shutdown$slambda).
|
|
3216
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
3217
|
-
i.
|
|
3218
|
-
i.
|
|
3215
|
+
protoOf(GameServer$shutdown$slambda).ncx = function ($this$dispatchAsync, store, completion) {
|
|
3216
|
+
var i = new GameServer$shutdown$slambda(this.sfp_1, this.tfp_1, this.ufp_1, completion);
|
|
3217
|
+
i.vfp_1 = $this$dispatchAsync;
|
|
3218
|
+
i.wfp_1 = store;
|
|
3219
3219
|
return i;
|
|
3220
3220
|
};
|
|
3221
3221
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
3222
3222
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
3223
3223
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3224
|
-
return i.
|
|
3224
|
+
return i.mcx($this$dispatchAsync, store, $completion);
|
|
3225
3225
|
};
|
|
3226
3226
|
l.$arity = 2;
|
|
3227
3227
|
return l;
|
|
3228
3228
|
}
|
|
3229
3229
|
function GameServer$handlePlayerMessage$slambda($botChatInteractor, $message, $fromPlayerId, $onMessageGenerated, this$0, resultContinuation) {
|
|
3230
|
-
this.
|
|
3231
|
-
this.
|
|
3232
|
-
this.
|
|
3233
|
-
this.
|
|
3234
|
-
this.
|
|
3230
|
+
this.ffq_1 = $botChatInteractor;
|
|
3231
|
+
this.gfq_1 = $message;
|
|
3232
|
+
this.hfq_1 = $fromPlayerId;
|
|
3233
|
+
this.ifq_1 = $onMessageGenerated;
|
|
3234
|
+
this.jfq_1 = this$0;
|
|
3235
3235
|
CoroutineImpl.call(this, resultContinuation);
|
|
3236
3236
|
}
|
|
3237
|
-
protoOf(GameServer$handlePlayerMessage$slambda).
|
|
3238
|
-
var tmp = this.
|
|
3237
|
+
protoOf(GameServer$handlePlayerMessage$slambda).mcx = function ($this$dispatchAsync, store, $completion) {
|
|
3238
|
+
var tmp = this.ncx($this$dispatchAsync, store, $completion);
|
|
3239
3239
|
tmp.k9_1 = Unit_instance;
|
|
3240
3240
|
tmp.l9_1 = null;
|
|
3241
3241
|
return tmp.q9();
|
|
3242
3242
|
};
|
|
3243
3243
|
protoOf(GameServer$handlePlayerMessage$slambda).da = function (p1, p2, $completion) {
|
|
3244
3244
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
3245
|
-
return this.
|
|
3245
|
+
return this.mcx(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
3246
3246
|
};
|
|
3247
3247
|
protoOf(GameServer$handlePlayerMessage$slambda).q9 = function () {
|
|
3248
3248
|
var suspendResult = this.k9_1;
|
|
@@ -3252,18 +3252,18 @@
|
|
|
3252
3252
|
switch (tmp) {
|
|
3253
3253
|
case 0:
|
|
3254
3254
|
this.j9_1 = 3;
|
|
3255
|
-
var state = this.
|
|
3255
|
+
var state = this.lfq_1.store.state;
|
|
3256
3256
|
if (state.u7w()) {
|
|
3257
3257
|
var tmp0_table = state.s7w();
|
|
3258
3258
|
this.i9_1 = 1;
|
|
3259
|
-
suspendResult = this.
|
|
3259
|
+
suspendResult = this.ffq_1.zaa(tmp0_table, this.gfq_1, this.hfq_1, VOID, this);
|
|
3260
3260
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3261
3261
|
return suspendResult;
|
|
3262
3262
|
}
|
|
3263
3263
|
continue $sm;
|
|
3264
3264
|
} else {
|
|
3265
|
-
this.
|
|
3266
|
-
var tmp_0 = this.
|
|
3265
|
+
this.jfq_1.o5s().w('GameEngine_API', "GameServer: can't generate message without table, " + this.hfq_1);
|
|
3266
|
+
var tmp_0 = this.lfq_1.dispatch;
|
|
3267
3267
|
var tmp1_safe_receiver = state.s7v_1;
|
|
3268
3268
|
tmp_0(new ClearAction(tmp1_safe_receiver == null ? null : tmp1_safe_receiver.q9k_1));
|
|
3269
3269
|
this.i9_1 = 2;
|
|
@@ -3273,7 +3273,7 @@
|
|
|
3273
3273
|
case 1:
|
|
3274
3274
|
var message = suspendResult;
|
|
3275
3275
|
if (!(message == null)) {
|
|
3276
|
-
this.
|
|
3276
|
+
this.ifq_1(message);
|
|
3277
3277
|
}
|
|
3278
3278
|
|
|
3279
3279
|
this.i9_1 = 2;
|
|
@@ -3294,16 +3294,16 @@
|
|
|
3294
3294
|
}
|
|
3295
3295
|
while (true);
|
|
3296
3296
|
};
|
|
3297
|
-
protoOf(GameServer$handlePlayerMessage$slambda).
|
|
3298
|
-
var i = new GameServer$handlePlayerMessage$slambda(this.
|
|
3299
|
-
i.
|
|
3300
|
-
i.
|
|
3297
|
+
protoOf(GameServer$handlePlayerMessage$slambda).ncx = function ($this$dispatchAsync, store, completion) {
|
|
3298
|
+
var i = new GameServer$handlePlayerMessage$slambda(this.ffq_1, this.gfq_1, this.hfq_1, this.ifq_1, this.jfq_1, completion);
|
|
3299
|
+
i.kfq_1 = $this$dispatchAsync;
|
|
3300
|
+
i.lfq_1 = store;
|
|
3301
3301
|
return i;
|
|
3302
3302
|
};
|
|
3303
3303
|
function GameServer$handlePlayerMessage$slambda_0($botChatInteractor, $message, $fromPlayerId, $onMessageGenerated, this$0, resultContinuation) {
|
|
3304
3304
|
var i = new GameServer$handlePlayerMessage$slambda($botChatInteractor, $message, $fromPlayerId, $onMessageGenerated, this$0, resultContinuation);
|
|
3305
3305
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3306
|
-
return i.
|
|
3306
|
+
return i.mcx($this$dispatchAsync, store, $completion);
|
|
3307
3307
|
};
|
|
3308
3308
|
l.$arity = 2;
|
|
3309
3309
|
return l;
|
|
@@ -3334,7 +3334,7 @@
|
|
|
3334
3334
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
3335
3335
|
var tmp_3 = Instance(di, tmp$ret$2, null);
|
|
3336
3336
|
var tmp_4 = KProperty1;
|
|
3337
|
-
tmp_1.
|
|
3337
|
+
tmp_1.kff_1 = tmp_3.x1j(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_4, GameServer$_get_toClientEventsObserver_$ref_utir8s(), null));
|
|
3338
3338
|
var tmp_5 = this;
|
|
3339
3339
|
// Inline function 'org.kodein.di.instance' call
|
|
3340
3340
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3342,7 +3342,7 @@
|
|
|
3342
3342
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
3343
3343
|
var tmp_7 = Instance(di, tmp$ret$4, null);
|
|
3344
3344
|
var tmp_8 = KProperty1;
|
|
3345
|
-
tmp_5.
|
|
3345
|
+
tmp_5.lff_1 = tmp_7.x1j(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_8, GameServer$_get_fromClientEventsObserver_$ref_nf1g79(), null));
|
|
3346
3346
|
var tmp_9 = this;
|
|
3347
3347
|
// Inline function 'org.kodein.di.instance' call
|
|
3348
3348
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3350,7 +3350,7 @@
|
|
|
3350
3350
|
var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
3351
3351
|
var tmp_11 = Instance(di, tmp$ret$6, null);
|
|
3352
3352
|
var tmp_12 = KProperty1;
|
|
3353
|
-
tmp_9.
|
|
3353
|
+
tmp_9.mff_1 = tmp_11.x1j(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_12, GameServer$_get_playerConnectionInteractor_$ref_of8tan(), null));
|
|
3354
3354
|
var tmp_13 = this;
|
|
3355
3355
|
// Inline function 'org.kodein.di.instance' call
|
|
3356
3356
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3358,7 +3358,7 @@
|
|
|
3358
3358
|
var tmp$ret$8 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
3359
3359
|
var tmp_15 = Instance(di, tmp$ret$8, null);
|
|
3360
3360
|
var tmp_16 = KProperty1;
|
|
3361
|
-
tmp_13.
|
|
3361
|
+
tmp_13.nff_1 = tmp_15.x1j(this, getPropertyCallableRef('teamsLogicProvider', 1, tmp_16, GameServer$_get_teamsLogicProvider_$ref_b7y54g(), null));
|
|
3362
3362
|
var tmp_17 = this;
|
|
3363
3363
|
// Inline function 'org.kodein.di.instance' call
|
|
3364
3364
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3366,9 +3366,9 @@
|
|
|
3366
3366
|
var tmp$ret$10 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
3367
3367
|
var tmp_19 = Instance(di, tmp$ret$10, null);
|
|
3368
3368
|
var tmp_20 = KProperty1;
|
|
3369
|
-
tmp_17.
|
|
3369
|
+
tmp_17.off_1 = tmp_19.x1j(this, getPropertyCallableRef('userRatingInteractor', 1, tmp_20, GameServer$_get_userRatingInteractor_$ref_8uo6aw(), null));
|
|
3370
3370
|
var tmp_21 = this;
|
|
3371
|
-
tmp_21.
|
|
3371
|
+
tmp_21.pff_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
3372
3372
|
var tmp_22 = this;
|
|
3373
3373
|
// Inline function 'org.kodein.di.instance' call
|
|
3374
3374
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3376,7 +3376,7 @@
|
|
|
3376
3376
|
var tmp$ret$12 = isInterface(tmp_23, TypeToken) ? tmp_23 : THROW_CCE();
|
|
3377
3377
|
var tmp_24 = Instance(di, tmp$ret$12, null);
|
|
3378
3378
|
var tmp_25 = KProperty1;
|
|
3379
|
-
tmp_22.
|
|
3379
|
+
tmp_22.qff_1 = tmp_24.x1j(this, getPropertyCallableRef('idsProvider', 1, tmp_25, GameServer$_get_idsProvider_$ref_89s908(), null));
|
|
3380
3380
|
var tmp_26 = this;
|
|
3381
3381
|
// Inline function 'org.kodein.di.instance' call
|
|
3382
3382
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3384,7 +3384,7 @@
|
|
|
3384
3384
|
var tmp$ret$14 = isInterface(tmp_27, TypeToken) ? tmp_27 : THROW_CCE();
|
|
3385
3385
|
var tmp_28 = Instance(di, tmp$ret$14, null);
|
|
3386
3386
|
var tmp_29 = KProperty1;
|
|
3387
|
-
tmp_26.
|
|
3387
|
+
tmp_26.rff_1 = tmp_28.x1j(this, getPropertyCallableRef('serverReduxConfig', 1, tmp_29, GameServer$_get_serverReduxConfig_$ref_7h6jq6(), null));
|
|
3388
3388
|
var tmp_30 = this;
|
|
3389
3389
|
// Inline function 'org.kodein.di.instance' call
|
|
3390
3390
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3392,7 +3392,7 @@
|
|
|
3392
3392
|
var tmp$ret$16 = isInterface(tmp_31, TypeToken) ? tmp_31 : THROW_CCE();
|
|
3393
3393
|
var tmp_32 = Instance(di, tmp$ret$16, null);
|
|
3394
3394
|
var tmp_33 = KProperty1;
|
|
3395
|
-
tmp_30.
|
|
3395
|
+
tmp_30.sff_1 = tmp_32.x1j(this, getPropertyCallableRef('encoderDecoderProvider', 1, tmp_33, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8(), null));
|
|
3396
3396
|
var tmp_34 = this;
|
|
3397
3397
|
// Inline function 'org.kodein.di.instance' call
|
|
3398
3398
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3400,7 +3400,7 @@
|
|
|
3400
3400
|
var tmp$ret$18 = isInterface(tmp_35, TypeToken) ? tmp_35 : THROW_CCE();
|
|
3401
3401
|
var tmp_36 = Instance(di, tmp$ret$18, null);
|
|
3402
3402
|
var tmp_37 = KProperty1;
|
|
3403
|
-
tmp_34.
|
|
3403
|
+
tmp_34.tff_1 = tmp_36.x1j(this, getPropertyCallableRef('engineLogicConfig', 1, tmp_37, GameServer$_get_engineLogicConfig_$ref_nlkv2l(), null));
|
|
3404
3404
|
var tmp_38 = this;
|
|
3405
3405
|
// Inline function 'org.kodein.di.instance' call
|
|
3406
3406
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3408,7 +3408,7 @@
|
|
|
3408
3408
|
var tmp$ret$20 = isInterface(tmp_39, TypeToken) ? tmp_39 : THROW_CCE();
|
|
3409
3409
|
var tmp_40 = Instance(di, tmp$ret$20, null);
|
|
3410
3410
|
var tmp_41 = KProperty1;
|
|
3411
|
-
tmp_38.
|
|
3411
|
+
tmp_38.uff_1 = tmp_40.x1j(this, getPropertyCallableRef('leaguesConfig', 1, tmp_41, GameServer$_get_leaguesConfig_$ref_fi951n(), null));
|
|
3412
3412
|
var tmp_42 = this;
|
|
3413
3413
|
// Inline function 'org.kodein.di.instanceOrNull' call
|
|
3414
3414
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3416,14 +3416,14 @@
|
|
|
3416
3416
|
var tmp$ret$22 = isInterface(tmp_43, TypeToken) ? tmp_43 : THROW_CCE();
|
|
3417
3417
|
var tmp_44 = InstanceOrNull(di, tmp$ret$22, null);
|
|
3418
3418
|
var tmp_45 = KProperty1;
|
|
3419
|
-
tmp_42.
|
|
3419
|
+
tmp_42.vff_1 = tmp_44.x1j(this, getPropertyCallableRef('botChatInteractor', 1, tmp_45, GameServer$_get_botChatInteractor_$ref_zf10ih(), null));
|
|
3420
3420
|
var tmp_46 = this;
|
|
3421
3421
|
var tmp0_externalMiddlewares = plus(storeContract.vap(), externalMiddlewares);
|
|
3422
3422
|
var tmp1_externalReducers = plus(storeContract.uap(), externalReducers);
|
|
3423
|
-
tmp_46.
|
|
3423
|
+
tmp_46.wff_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
3424
3424
|
}
|
|
3425
3425
|
protoOf(GameServer).i7v = function () {
|
|
3426
|
-
return this.
|
|
3426
|
+
return this.wff_1;
|
|
3427
3427
|
};
|
|
3428
3428
|
protoOf(GameServer).ca5 = function () {
|
|
3429
3429
|
return get_serverStatePayload(this.a79()).metadata;
|
|
@@ -3475,17 +3475,17 @@
|
|
|
3475
3475
|
};
|
|
3476
3476
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
3477
3477
|
this.o5s().d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
3478
|
-
this.
|
|
3478
|
+
this.wff_1.q7w(GameServer$fromClientEvent$slambda_0(action, null));
|
|
3479
3479
|
};
|
|
3480
3480
|
protoOf(GameServer).playerLostConnection = function (playerId, roomId) {
|
|
3481
3481
|
this.o5s().d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
3482
|
-
this.
|
|
3482
|
+
this.wff_1.q7w(GameServer$playerLostConnection$slambda_0(playerId, roomId, null));
|
|
3483
3483
|
};
|
|
3484
3484
|
protoOf(GameServer).playerLive = function (playerId, roomId) {
|
|
3485
3485
|
this.o5s().d('GameEngine_API', 'playerLive: ' + playerId);
|
|
3486
|
-
this.
|
|
3486
|
+
this.wff_1.q7w(GameServer$playerLive$slambda_0(this, playerId, roomId, null));
|
|
3487
3487
|
};
|
|
3488
|
-
protoOf(GameServer).
|
|
3488
|
+
protoOf(GameServer).mfq = function (playerId, roomId, permanently) {
|
|
3489
3489
|
this.o5s().d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
3490
3490
|
var tmp;
|
|
3491
3491
|
if (this.a79().u7w() && !this.a79().s7w().isGameFinished) {
|
|
@@ -3494,33 +3494,33 @@
|
|
|
3494
3494
|
tmp = null;
|
|
3495
3495
|
}
|
|
3496
3496
|
var result = tmp;
|
|
3497
|
-
this.
|
|
3497
|
+
this.wff_1.q7w(GameServer$playerLeft$slambda_0(this, playerId, permanently, roomId, null));
|
|
3498
3498
|
this.o5s().d('GameEngine_API', 'playerLeft result: ' + toString_0(result));
|
|
3499
3499
|
return result;
|
|
3500
3500
|
};
|
|
3501
|
-
protoOf(GameServer).
|
|
3501
|
+
protoOf(GameServer).nfq = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
3502
3502
|
this.o5s().d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
3503
|
-
this.
|
|
3503
|
+
this.wff_1.q7w(GameServer$roomOnCreate$slambda_0(usersArray, this, config, roomId, transition, gameCreatorId, spectators, null));
|
|
3504
3504
|
};
|
|
3505
3505
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
3506
3506
|
this.o5s().d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
3507
|
-
var isCreated = this.
|
|
3508
|
-
this.
|
|
3507
|
+
var isCreated = this.wff_1.r7w(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
3508
|
+
this.wff_1.q7w(GameServer$roomOnContinueFromState$slambda_2(isCreated, state, null));
|
|
3509
3509
|
};
|
|
3510
3510
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
3511
3511
|
this.o5s().d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
3512
|
-
this.
|
|
3513
|
-
this.
|
|
3512
|
+
this.wff_1.q7w(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
3513
|
+
this.wff_1.q7w(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
3514
3514
|
};
|
|
3515
3515
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
3516
|
-
this.
|
|
3516
|
+
this.wff_1.q7w(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
3517
3517
|
};
|
|
3518
3518
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
3519
|
-
this.
|
|
3519
|
+
this.wff_1.q7w(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
3520
3520
|
};
|
|
3521
3521
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
3522
3522
|
this.o5s().d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
3523
|
-
this.
|
|
3523
|
+
this.wff_1.q7w(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
3524
3524
|
};
|
|
3525
3525
|
protoOf(GameServer).getToClientFinishActionBeforeDisconnect = function (playerId, previousState, originState) {
|
|
3526
3526
|
if (!this.isTableExists) {
|
|
@@ -3530,24 +3530,24 @@
|
|
|
3530
3530
|
var table = this.table;
|
|
3531
3531
|
var player = getPlayer(table.players, playerId);
|
|
3532
3532
|
this.o5s().d('GameEngine_API', 'getToClientFinishActionBeforeDisconnect: ' + playerId + ', ' + ('state = ' + player.h80_1.f7b().o79_1.toString() + ', ') + ('isBot = ' + player.g80_1.isBot));
|
|
3533
|
-
var actions = _get_playerConnectionInteractor__si6cxf(this).
|
|
3533
|
+
var actions = _get_playerConnectionInteractor__si6cxf(this).ofq(playerId, previousState.isLive, table.id, mapToFinishReason(originState, player, table.playersConnections), table.isGameFinished);
|
|
3534
3534
|
this.o5s().d('GameEngine_API', 'getToClientFinishActionBeforeDisconnect: ' + toString(actions));
|
|
3535
3535
|
if (actions.r()) {
|
|
3536
3536
|
return null;
|
|
3537
3537
|
}
|
|
3538
3538
|
return new CombinedToClientAction(actions, Companion_instance_1.user(_get_idsProvider__fnfajc(this).f7h(), table.id, playerId));
|
|
3539
3539
|
};
|
|
3540
|
-
protoOf(GameServer).
|
|
3540
|
+
protoOf(GameServer).pfq = function (newRid) {
|
|
3541
3541
|
this.o5s().d('GameEngine_API', 'roomOnDelete: newRid = ' + newRid);
|
|
3542
|
-
this.
|
|
3542
|
+
this.wff_1.q7w(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
3543
3543
|
};
|
|
3544
3544
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
3545
3545
|
this.o5s().d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
3546
|
-
this.
|
|
3546
|
+
this.wff_1.q7w(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
3547
3547
|
};
|
|
3548
|
-
protoOf(GameServer).
|
|
3548
|
+
protoOf(GameServer).qfq = function (reason, roomId) {
|
|
3549
3549
|
this.o5s().d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
3550
|
-
this.
|
|
3550
|
+
this.wff_1.q7w(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
3551
3551
|
};
|
|
3552
3552
|
protoOf(GameServer).handlePlayerMessage = function (message, fromPlayerId, onMessageGenerated) {
|
|
3553
3553
|
var tmp0_elvis_lhs = _get_botChatInteractor__17f3on(this);
|
|
@@ -3559,7 +3559,7 @@
|
|
|
3559
3559
|
}
|
|
3560
3560
|
var botChatInteractor = tmp;
|
|
3561
3561
|
this.o5s().d('GameEngine_API', 'handlePlayerMessage: ' + fromPlayerId);
|
|
3562
|
-
this.
|
|
3562
|
+
this.wff_1.q7w(GameServer$handlePlayerMessage$slambda_0(botChatInteractor, message, fromPlayerId, onMessageGenerated, this, null));
|
|
3563
3563
|
};
|
|
3564
3564
|
protoOf(GameServer).clear = function () {
|
|
3565
3565
|
return this.b3();
|
|
@@ -3613,13 +3613,13 @@
|
|
|
3613
3613
|
this.shouldFinishGameWhenDeploy = shouldFinishGameWhenDeploy;
|
|
3614
3614
|
this.shouldFinishGameWithBots = shouldFinishGameWithBots;
|
|
3615
3615
|
}
|
|
3616
|
-
protoOf(ServerConfig).
|
|
3616
|
+
protoOf(ServerConfig).rfq = function () {
|
|
3617
3617
|
return this.fromRound;
|
|
3618
3618
|
};
|
|
3619
|
-
protoOf(ServerConfig).
|
|
3619
|
+
protoOf(ServerConfig).sfq = function () {
|
|
3620
3620
|
return this.shouldFinishGameWhenDeploy;
|
|
3621
3621
|
};
|
|
3622
|
-
protoOf(ServerConfig).
|
|
3622
|
+
protoOf(ServerConfig).tfq = function () {
|
|
3623
3623
|
return this.shouldFinishGameWithBots;
|
|
3624
3624
|
};
|
|
3625
3625
|
protoOf(ServerConfig).jg = function () {
|
|
@@ -3631,14 +3631,14 @@
|
|
|
3631
3631
|
protoOf(ServerConfig).ro = function () {
|
|
3632
3632
|
return this.shouldFinishGameWithBots;
|
|
3633
3633
|
};
|
|
3634
|
-
protoOf(ServerConfig).
|
|
3634
|
+
protoOf(ServerConfig).ufq = function (fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots) {
|
|
3635
3635
|
return new ServerConfig(fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots);
|
|
3636
3636
|
};
|
|
3637
3637
|
protoOf(ServerConfig).copy = function (fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots, $super) {
|
|
3638
3638
|
fromRound = fromRound === VOID ? this.fromRound : fromRound;
|
|
3639
3639
|
shouldFinishGameWhenDeploy = shouldFinishGameWhenDeploy === VOID ? this.shouldFinishGameWhenDeploy : shouldFinishGameWhenDeploy;
|
|
3640
3640
|
shouldFinishGameWithBots = shouldFinishGameWithBots === VOID ? this.shouldFinishGameWithBots : shouldFinishGameWithBots;
|
|
3641
|
-
return $super === VOID ? this.
|
|
3641
|
+
return $super === VOID ? this.ufq(fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots) : $super.ufq.call(this, fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots);
|
|
3642
3642
|
};
|
|
3643
3643
|
protoOf(ServerConfig).toString = function () {
|
|
3644
3644
|
return 'ServerConfig(fromRound=' + this.fromRound + ', shouldFinishGameWhenDeploy=' + this.shouldFinishGameWhenDeploy + ', shouldFinishGameWithBots=' + this.shouldFinishGameWithBots + ')';
|
|
@@ -3700,20 +3700,20 @@
|
|
|
3700
3700
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.TableStateUpdateDto', this, 2);
|
|
3701
3701
|
tmp0_serialDesc.w11('roomId', false);
|
|
3702
3702
|
tmp0_serialDesc.w11('table', false);
|
|
3703
|
-
this.
|
|
3703
|
+
this.vfq_1 = tmp0_serialDesc;
|
|
3704
3704
|
}
|
|
3705
|
-
protoOf($serializer).
|
|
3706
|
-
var tmp0_desc = this.
|
|
3705
|
+
protoOf($serializer).wfq = function (encoder, value) {
|
|
3706
|
+
var tmp0_desc = this.vfq_1;
|
|
3707
3707
|
var tmp1_output = encoder.eu(tmp0_desc);
|
|
3708
|
-
tmp1_output.tv(tmp0_desc, 0, value.
|
|
3708
|
+
tmp1_output.tv(tmp0_desc, 0, value.xfq_1);
|
|
3709
3709
|
tmp1_output.tv(tmp0_desc, 1, value.table);
|
|
3710
3710
|
tmp1_output.fu(tmp0_desc);
|
|
3711
3711
|
};
|
|
3712
3712
|
protoOf($serializer).sq = function (encoder, value) {
|
|
3713
|
-
return this.
|
|
3713
|
+
return this.wfq(encoder, value instanceof TableStateUpdateDto ? value : THROW_CCE());
|
|
3714
3714
|
};
|
|
3715
3715
|
protoOf($serializer).tq = function (decoder) {
|
|
3716
|
-
var tmp0_desc = this.
|
|
3716
|
+
var tmp0_desc = this.vfq_1;
|
|
3717
3717
|
var tmp1_flag = true;
|
|
3718
3718
|
var tmp2_index = 0;
|
|
3719
3719
|
var tmp3_bitMask0 = 0;
|
|
@@ -3748,7 +3748,7 @@
|
|
|
3748
3748
|
return TableStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3749
3749
|
};
|
|
3750
3750
|
protoOf($serializer).rq = function () {
|
|
3751
|
-
return this.
|
|
3751
|
+
return this.vfq_1;
|
|
3752
3752
|
};
|
|
3753
3753
|
protoOf($serializer).l12 = function () {
|
|
3754
3754
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3764,9 +3764,9 @@
|
|
|
3764
3764
|
}
|
|
3765
3765
|
function TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, $this) {
|
|
3766
3766
|
if (!(3 === (3 & seen0))) {
|
|
3767
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance().
|
|
3767
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance().vfq_1);
|
|
3768
3768
|
}
|
|
3769
|
-
$this.
|
|
3769
|
+
$this.xfq_1 = roomId;
|
|
3770
3770
|
$this.table = table;
|
|
3771
3771
|
return $this;
|
|
3772
3772
|
}
|
|
@@ -3774,17 +3774,17 @@
|
|
|
3774
3774
|
return TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, objectCreate(protoOf(TableStateUpdateDto)));
|
|
3775
3775
|
}
|
|
3776
3776
|
function TableStateUpdateDto(roomId, table) {
|
|
3777
|
-
this.
|
|
3777
|
+
this.xfq_1 = roomId;
|
|
3778
3778
|
this.table = table;
|
|
3779
3779
|
}
|
|
3780
3780
|
protoOf(TableStateUpdateDto).pa1 = function () {
|
|
3781
|
-
return this.
|
|
3781
|
+
return this.xfq_1;
|
|
3782
3782
|
};
|
|
3783
3783
|
protoOf(TableStateUpdateDto).s7w = function () {
|
|
3784
3784
|
return this.table;
|
|
3785
3785
|
};
|
|
3786
3786
|
protoOf(TableStateUpdateDto).jg = function () {
|
|
3787
|
-
return this.
|
|
3787
|
+
return this.xfq_1;
|
|
3788
3788
|
};
|
|
3789
3789
|
protoOf(TableStateUpdateDto).kg = function () {
|
|
3790
3790
|
return this.table;
|
|
@@ -3793,15 +3793,15 @@
|
|
|
3793
3793
|
return new TableStateUpdateDto(roomId, table);
|
|
3794
3794
|
};
|
|
3795
3795
|
protoOf(TableStateUpdateDto).copy = function (roomId, table, $super) {
|
|
3796
|
-
roomId = roomId === VOID ? this.
|
|
3796
|
+
roomId = roomId === VOID ? this.xfq_1 : roomId;
|
|
3797
3797
|
table = table === VOID ? this.table : table;
|
|
3798
3798
|
return $super === VOID ? this.c6d(roomId, table) : $super.c6d.call(this, roomId, table);
|
|
3799
3799
|
};
|
|
3800
3800
|
protoOf(TableStateUpdateDto).toString = function () {
|
|
3801
|
-
return 'TableStateUpdateDto(roomId=' + this.
|
|
3801
|
+
return 'TableStateUpdateDto(roomId=' + this.xfq_1 + ', table=' + this.table + ')';
|
|
3802
3802
|
};
|
|
3803
3803
|
protoOf(TableStateUpdateDto).hashCode = function () {
|
|
3804
|
-
var result = getStringHashCode(this.
|
|
3804
|
+
var result = getStringHashCode(this.xfq_1);
|
|
3805
3805
|
result = imul(result, 31) + getStringHashCode(this.table) | 0;
|
|
3806
3806
|
return result;
|
|
3807
3807
|
};
|
|
@@ -3810,7 +3810,7 @@
|
|
|
3810
3810
|
return true;
|
|
3811
3811
|
if (!(other instanceof TableStateUpdateDto))
|
|
3812
3812
|
return false;
|
|
3813
|
-
if (!(this.
|
|
3813
|
+
if (!(this.xfq_1 === other.xfq_1))
|
|
3814
3814
|
return false;
|
|
3815
3815
|
if (!(this.table === other.table))
|
|
3816
3816
|
return false;
|
|
@@ -3826,7 +3826,7 @@
|
|
|
3826
3826
|
// Inline function 'kotlin.arrayOf' call
|
|
3827
3827
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3828
3828
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3829
|
-
tmp.
|
|
3829
|
+
tmp.yfq_1 = [null, lazy_0(tmp_0, ActionsStateUpdateDto$Companion$$childSerializers$_anonymous__oomzzs)];
|
|
3830
3830
|
}
|
|
3831
3831
|
var Companion_instance_14;
|
|
3832
3832
|
function Companion_getInstance_4() {
|
|
@@ -3839,28 +3839,28 @@
|
|
|
3839
3839
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.ActionsStateUpdateDto', this, 2);
|
|
3840
3840
|
tmp0_serialDesc.w11('roomId', false);
|
|
3841
3841
|
tmp0_serialDesc.w11('actions', false);
|
|
3842
|
-
this.
|
|
3842
|
+
this.zfq_1 = tmp0_serialDesc;
|
|
3843
3843
|
}
|
|
3844
|
-
protoOf($serializer_0).
|
|
3845
|
-
var tmp0_desc = this.
|
|
3844
|
+
protoOf($serializer_0).afr = function (encoder, value) {
|
|
3845
|
+
var tmp0_desc = this.zfq_1;
|
|
3846
3846
|
var tmp1_output = encoder.eu(tmp0_desc);
|
|
3847
|
-
var tmp2_cached = Companion_getInstance_4().
|
|
3848
|
-
tmp1_output.tv(tmp0_desc, 0, value.
|
|
3847
|
+
var tmp2_cached = Companion_getInstance_4().yfq_1;
|
|
3848
|
+
tmp1_output.tv(tmp0_desc, 0, value.bfr_1);
|
|
3849
3849
|
tmp1_output.vv(tmp0_desc, 1, tmp2_cached[1].o1(), value.actions);
|
|
3850
3850
|
tmp1_output.fu(tmp0_desc);
|
|
3851
3851
|
};
|
|
3852
3852
|
protoOf($serializer_0).sq = function (encoder, value) {
|
|
3853
|
-
return this.
|
|
3853
|
+
return this.afr(encoder, value instanceof ActionsStateUpdateDto ? value : THROW_CCE());
|
|
3854
3854
|
};
|
|
3855
3855
|
protoOf($serializer_0).tq = function (decoder) {
|
|
3856
|
-
var tmp0_desc = this.
|
|
3856
|
+
var tmp0_desc = this.zfq_1;
|
|
3857
3857
|
var tmp1_flag = true;
|
|
3858
3858
|
var tmp2_index = 0;
|
|
3859
3859
|
var tmp3_bitMask0 = 0;
|
|
3860
3860
|
var tmp4_local0 = null;
|
|
3861
3861
|
var tmp5_local1 = null;
|
|
3862
3862
|
var tmp6_input = decoder.eu(tmp0_desc);
|
|
3863
|
-
var tmp7_cached = Companion_getInstance_4().
|
|
3863
|
+
var tmp7_cached = Companion_getInstance_4().yfq_1;
|
|
3864
3864
|
if (tmp6_input.uu()) {
|
|
3865
3865
|
tmp4_local0 = tmp6_input.ou(tmp0_desc, 0);
|
|
3866
3866
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -3889,10 +3889,10 @@
|
|
|
3889
3889
|
return ActionsStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3890
3890
|
};
|
|
3891
3891
|
protoOf($serializer_0).rq = function () {
|
|
3892
|
-
return this.
|
|
3892
|
+
return this.zfq_1;
|
|
3893
3893
|
};
|
|
3894
3894
|
protoOf($serializer_0).l12 = function () {
|
|
3895
|
-
var tmp0_cached = Companion_getInstance_4().
|
|
3895
|
+
var tmp0_cached = Companion_getInstance_4().yfq_1;
|
|
3896
3896
|
// Inline function 'kotlin.arrayOf' call
|
|
3897
3897
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3898
3898
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -3906,9 +3906,9 @@
|
|
|
3906
3906
|
}
|
|
3907
3907
|
function ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, $this) {
|
|
3908
3908
|
if (!(3 === (3 & seen0))) {
|
|
3909
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().
|
|
3909
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().zfq_1);
|
|
3910
3910
|
}
|
|
3911
|
-
$this.
|
|
3911
|
+
$this.bfr_1 = roomId;
|
|
3912
3912
|
$this.actions = actions;
|
|
3913
3913
|
return $this;
|
|
3914
3914
|
}
|
|
@@ -3917,11 +3917,11 @@
|
|
|
3917
3917
|
}
|
|
3918
3918
|
function ActionsStateUpdateDto(roomId, actions) {
|
|
3919
3919
|
Companion_getInstance_4();
|
|
3920
|
-
this.
|
|
3920
|
+
this.bfr_1 = roomId;
|
|
3921
3921
|
this.actions = actions;
|
|
3922
3922
|
}
|
|
3923
3923
|
protoOf(ActionsStateUpdateDto).pa1 = function () {
|
|
3924
|
-
return this.
|
|
3924
|
+
return this.bfr_1;
|
|
3925
3925
|
};
|
|
3926
3926
|
protoOf(ActionsStateUpdateDto).ca2 = function () {
|
|
3927
3927
|
return this.actions;
|
|
@@ -3933,33 +3933,33 @@
|
|
|
3933
3933
|
return false;
|
|
3934
3934
|
if (!(other instanceof ActionsStateUpdateDto))
|
|
3935
3935
|
THROW_CCE();
|
|
3936
|
-
if (!(this.
|
|
3936
|
+
if (!(this.bfr_1 === other.bfr_1))
|
|
3937
3937
|
return false;
|
|
3938
3938
|
if (!contentEquals(this.actions, other.actions))
|
|
3939
3939
|
return false;
|
|
3940
3940
|
return true;
|
|
3941
3941
|
};
|
|
3942
3942
|
protoOf(ActionsStateUpdateDto).hashCode = function () {
|
|
3943
|
-
var result = getStringHashCode(this.
|
|
3943
|
+
var result = getStringHashCode(this.bfr_1);
|
|
3944
3944
|
result = imul(31, result) + contentHashCode(this.actions) | 0;
|
|
3945
3945
|
return result;
|
|
3946
3946
|
};
|
|
3947
3947
|
protoOf(ActionsStateUpdateDto).jg = function () {
|
|
3948
|
-
return this.
|
|
3948
|
+
return this.bfr_1;
|
|
3949
3949
|
};
|
|
3950
3950
|
protoOf(ActionsStateUpdateDto).kg = function () {
|
|
3951
3951
|
return this.actions;
|
|
3952
3952
|
};
|
|
3953
|
-
protoOf(ActionsStateUpdateDto).
|
|
3953
|
+
protoOf(ActionsStateUpdateDto).cfr = function (roomId, actions) {
|
|
3954
3954
|
return new ActionsStateUpdateDto(roomId, actions);
|
|
3955
3955
|
};
|
|
3956
3956
|
protoOf(ActionsStateUpdateDto).copy = function (roomId, actions, $super) {
|
|
3957
|
-
roomId = roomId === VOID ? this.
|
|
3957
|
+
roomId = roomId === VOID ? this.bfr_1 : roomId;
|
|
3958
3958
|
actions = actions === VOID ? this.actions : actions;
|
|
3959
|
-
return $super === VOID ? this.
|
|
3959
|
+
return $super === VOID ? this.cfr(roomId, actions) : $super.cfr.call(this, roomId, actions);
|
|
3960
3960
|
};
|
|
3961
3961
|
protoOf(ActionsStateUpdateDto).toString = function () {
|
|
3962
|
-
return 'ActionsStateUpdateDto(roomId=' + this.
|
|
3962
|
+
return 'ActionsStateUpdateDto(roomId=' + this.bfr_1 + ', actions=' + toString(this.actions) + ')';
|
|
3963
3963
|
};
|
|
3964
3964
|
function mapToDto_1(_this__u8e3s4, encoderDecoderProvider) {
|
|
3965
3965
|
var tmp;
|
|
@@ -3975,7 +3975,7 @@
|
|
|
3975
3975
|
return tmp;
|
|
3976
3976
|
}
|
|
3977
3977
|
function mapToDto_2(_this__u8e3s4, encoderDecoderProvider) {
|
|
3978
|
-
return new TableStateUpdateDto(_this__u8e3s4.
|
|
3978
|
+
return new TableStateUpdateDto(_this__u8e3s4.dfr_1, encoderDecoderProvider.ia9(mapToDto(_this__u8e3s4.table)));
|
|
3979
3979
|
}
|
|
3980
3980
|
function mapToDto_3(_this__u8e3s4, encoderDecoderProvider) {
|
|
3981
3981
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -3992,39 +3992,39 @@
|
|
|
3992
3992
|
}
|
|
3993
3993
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3994
3994
|
var tmp$ret$3 = copyToArray(destination);
|
|
3995
|
-
return new ActionsStateUpdateDto(_this__u8e3s4.
|
|
3995
|
+
return new ActionsStateUpdateDto(_this__u8e3s4.efr_1, tmp$ret$3);
|
|
3996
3996
|
}
|
|
3997
3997
|
function ServerStateUpdate() {
|
|
3998
3998
|
}
|
|
3999
3999
|
function TableStateUpdate(roomId, table) {
|
|
4000
|
-
this.
|
|
4000
|
+
this.dfr_1 = roomId;
|
|
4001
4001
|
this.table = table;
|
|
4002
4002
|
}
|
|
4003
4003
|
protoOf(TableStateUpdate).pa1 = function () {
|
|
4004
|
-
return this.
|
|
4004
|
+
return this.dfr_1;
|
|
4005
4005
|
};
|
|
4006
4006
|
protoOf(TableStateUpdate).s7w = function () {
|
|
4007
4007
|
return this.table;
|
|
4008
4008
|
};
|
|
4009
4009
|
protoOf(TableStateUpdate).jg = function () {
|
|
4010
|
-
return this.
|
|
4010
|
+
return this.dfr_1;
|
|
4011
4011
|
};
|
|
4012
4012
|
protoOf(TableStateUpdate).kg = function () {
|
|
4013
4013
|
return this.table;
|
|
4014
4014
|
};
|
|
4015
|
-
protoOf(TableStateUpdate).
|
|
4015
|
+
protoOf(TableStateUpdate).ffr = function (roomId, table) {
|
|
4016
4016
|
return new TableStateUpdate(roomId, table);
|
|
4017
4017
|
};
|
|
4018
4018
|
protoOf(TableStateUpdate).copy = function (roomId, table, $super) {
|
|
4019
|
-
roomId = roomId === VOID ? this.
|
|
4019
|
+
roomId = roomId === VOID ? this.dfr_1 : roomId;
|
|
4020
4020
|
table = table === VOID ? this.table : table;
|
|
4021
|
-
return $super === VOID ? this.
|
|
4021
|
+
return $super === VOID ? this.ffr(roomId, table) : $super.ffr.call(this, roomId, table);
|
|
4022
4022
|
};
|
|
4023
4023
|
protoOf(TableStateUpdate).toString = function () {
|
|
4024
|
-
return 'TableStateUpdate(roomId=' + this.
|
|
4024
|
+
return 'TableStateUpdate(roomId=' + this.dfr_1 + ', table=' + this.table.toString() + ')';
|
|
4025
4025
|
};
|
|
4026
4026
|
protoOf(TableStateUpdate).hashCode = function () {
|
|
4027
|
-
var result = getStringHashCode(this.
|
|
4027
|
+
var result = getStringHashCode(this.dfr_1);
|
|
4028
4028
|
result = imul(result, 31) + this.table.hashCode() | 0;
|
|
4029
4029
|
return result;
|
|
4030
4030
|
};
|
|
@@ -4033,18 +4033,18 @@
|
|
|
4033
4033
|
return true;
|
|
4034
4034
|
if (!(other instanceof TableStateUpdate))
|
|
4035
4035
|
return false;
|
|
4036
|
-
if (!(this.
|
|
4036
|
+
if (!(this.dfr_1 === other.dfr_1))
|
|
4037
4037
|
return false;
|
|
4038
4038
|
if (!this.table.equals(other.table))
|
|
4039
4039
|
return false;
|
|
4040
4040
|
return true;
|
|
4041
4041
|
};
|
|
4042
4042
|
function ActionsStateUpdate(roomId, actions) {
|
|
4043
|
-
this.
|
|
4043
|
+
this.efr_1 = roomId;
|
|
4044
4044
|
this.actions = actions;
|
|
4045
4045
|
}
|
|
4046
4046
|
protoOf(ActionsStateUpdate).pa1 = function () {
|
|
4047
|
-
return this.
|
|
4047
|
+
return this.efr_1;
|
|
4048
4048
|
};
|
|
4049
4049
|
protoOf(ActionsStateUpdate).ca2 = function () {
|
|
4050
4050
|
return this.actions;
|
|
@@ -4056,33 +4056,33 @@
|
|
|
4056
4056
|
return false;
|
|
4057
4057
|
if (!(other instanceof ActionsStateUpdate))
|
|
4058
4058
|
THROW_CCE();
|
|
4059
|
-
if (!(this.
|
|
4059
|
+
if (!(this.efr_1 === other.efr_1))
|
|
4060
4060
|
return false;
|
|
4061
4061
|
if (!contentEquals(this.actions, other.actions))
|
|
4062
4062
|
return false;
|
|
4063
4063
|
return true;
|
|
4064
4064
|
};
|
|
4065
4065
|
protoOf(ActionsStateUpdate).hashCode = function () {
|
|
4066
|
-
var result = getStringHashCode(this.
|
|
4066
|
+
var result = getStringHashCode(this.efr_1);
|
|
4067
4067
|
result = imul(31, result) + contentHashCode(this.actions) | 0;
|
|
4068
4068
|
return result;
|
|
4069
4069
|
};
|
|
4070
4070
|
protoOf(ActionsStateUpdate).jg = function () {
|
|
4071
|
-
return this.
|
|
4071
|
+
return this.efr_1;
|
|
4072
4072
|
};
|
|
4073
4073
|
protoOf(ActionsStateUpdate).kg = function () {
|
|
4074
4074
|
return this.actions;
|
|
4075
4075
|
};
|
|
4076
|
-
protoOf(ActionsStateUpdate).
|
|
4076
|
+
protoOf(ActionsStateUpdate).gfr = function (roomId, actions) {
|
|
4077
4077
|
return new ActionsStateUpdate(roomId, actions);
|
|
4078
4078
|
};
|
|
4079
4079
|
protoOf(ActionsStateUpdate).copy = function (roomId, actions, $super) {
|
|
4080
|
-
roomId = roomId === VOID ? this.
|
|
4080
|
+
roomId = roomId === VOID ? this.efr_1 : roomId;
|
|
4081
4081
|
actions = actions === VOID ? this.actions : actions;
|
|
4082
|
-
return $super === VOID ? this.
|
|
4082
|
+
return $super === VOID ? this.gfr(roomId, actions) : $super.gfr.call(this, roomId, actions);
|
|
4083
4083
|
};
|
|
4084
4084
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
4085
|
-
return 'ActionsStateUpdate(roomId=' + this.
|
|
4085
|
+
return 'ActionsStateUpdate(roomId=' + this.efr_1 + ', actions=' + toString(this.actions) + ')';
|
|
4086
4086
|
};
|
|
4087
4087
|
function createGameServerDI(serverConfig, logicConfig, engineBotConfig, dealerConfig, ratingConfig, leaguesConfig, externalReducers, externalMiddlewares, botModelProvider) {
|
|
4088
4088
|
externalReducers = externalReducers === VOID ? emptyList() : externalReducers;
|
|
@@ -4411,18 +4411,18 @@
|
|
|
4411
4411
|
function ToClientEventsObserver() {
|
|
4412
4412
|
}
|
|
4413
4413
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
4414
|
-
this.
|
|
4415
|
-
this.
|
|
4414
|
+
this.qfr_1 = this$0;
|
|
4415
|
+
this.rfr_1 = $actions;
|
|
4416
4416
|
CoroutineImpl.call(this, resultContinuation);
|
|
4417
4417
|
}
|
|
4418
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
4419
|
-
var tmp = this.
|
|
4418
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).ufr = function ($this$flow, $completion) {
|
|
4419
|
+
var tmp = this.vfr($this$flow, $completion);
|
|
4420
4420
|
tmp.k9_1 = Unit_instance;
|
|
4421
4421
|
tmp.l9_1 = null;
|
|
4422
4422
|
return tmp.q9();
|
|
4423
4423
|
};
|
|
4424
4424
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).ca = function (p1, $completion) {
|
|
4425
|
-
return this.
|
|
4425
|
+
return this.ufr((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
4426
4426
|
};
|
|
4427
4427
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).q9 = function () {
|
|
4428
4428
|
var suspendResult = this.k9_1;
|
|
@@ -4432,19 +4432,19 @@
|
|
|
4432
4432
|
switch (tmp) {
|
|
4433
4433
|
case 0:
|
|
4434
4434
|
this.j9_1 = 4;
|
|
4435
|
-
this.
|
|
4436
|
-
this.
|
|
4435
|
+
this.qfr_1.afs_1;
|
|
4436
|
+
this.tfr_1 = transformToEmits(this.qfr_1, this.rfr_1).t();
|
|
4437
4437
|
this.i9_1 = 1;
|
|
4438
4438
|
continue $sm;
|
|
4439
4439
|
case 1:
|
|
4440
|
-
if (!this.
|
|
4440
|
+
if (!this.tfr_1.u()) {
|
|
4441
4441
|
this.i9_1 = 3;
|
|
4442
4442
|
continue $sm;
|
|
4443
4443
|
}
|
|
4444
4444
|
|
|
4445
|
-
var element = this.
|
|
4445
|
+
var element = this.tfr_1.v();
|
|
4446
4446
|
this.i9_1 = 2;
|
|
4447
|
-
suspendResult = this.
|
|
4447
|
+
suspendResult = this.sfr_1.r28(element, this);
|
|
4448
4448
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4449
4449
|
return suspendResult;
|
|
4450
4450
|
}
|
|
@@ -4454,11 +4454,11 @@
|
|
|
4454
4454
|
this.i9_1 = 1;
|
|
4455
4455
|
continue $sm;
|
|
4456
4456
|
case 3:
|
|
4457
|
-
var tmp0 = this.
|
|
4457
|
+
var tmp0 = this.qfr_1.zfr_1;
|
|
4458
4458
|
l$ret$1: do {
|
|
4459
4459
|
while (true) {
|
|
4460
4460
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
4461
|
-
var upd = cur - this.
|
|
4461
|
+
var upd = cur - this.rfr_1.g1() | 0;
|
|
4462
4462
|
if (tmp0.atomicfu$compareAndSet(cur, upd)) {
|
|
4463
4463
|
break l$ret$1;
|
|
4464
4464
|
}
|
|
@@ -4480,15 +4480,15 @@
|
|
|
4480
4480
|
}
|
|
4481
4481
|
while (true);
|
|
4482
4482
|
};
|
|
4483
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
4484
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
4485
|
-
i.
|
|
4483
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).vfr = function ($this$flow, completion) {
|
|
4484
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.qfr_1, this.rfr_1, completion);
|
|
4485
|
+
i.sfr_1 = $this$flow;
|
|
4486
4486
|
return i;
|
|
4487
4487
|
};
|
|
4488
4488
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
4489
4489
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
4490
4490
|
var l = function ($this$flow, $completion) {
|
|
4491
|
-
return i.
|
|
4491
|
+
return i.ufr($this$flow, $completion);
|
|
4492
4492
|
};
|
|
4493
4493
|
l.$arity = 1;
|
|
4494
4494
|
return l;
|
|
@@ -4558,29 +4558,29 @@
|
|
|
4558
4558
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
4559
4559
|
}
|
|
4560
4560
|
function mapFromGroupKey($this, _this__u8e3s4) {
|
|
4561
|
-
var tmp = $this.
|
|
4561
|
+
var tmp = $this.yfr_1.f7h();
|
|
4562
4562
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
4563
|
-
var this_0 = _this__u8e3s4.
|
|
4563
|
+
var this_0 = _this__u8e3s4.dfs_1;
|
|
4564
4564
|
var tmp_0 = copyToArray(this_0);
|
|
4565
4565
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
4566
|
-
var this_1 = _this__u8e3s4.
|
|
4566
|
+
var this_1 = _this__u8e3s4.efs_1;
|
|
4567
4567
|
var tmp$ret$1 = copyToArray(this_1);
|
|
4568
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
4568
|
+
return new ActionDeliveryPayload(_this__u8e3s4.cfs_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.ffs_1);
|
|
4569
4569
|
}
|
|
4570
4570
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
4571
|
-
this.
|
|
4572
|
-
this.
|
|
4573
|
-
this.
|
|
4574
|
-
this.
|
|
4571
|
+
this.cfs_1 = tableId;
|
|
4572
|
+
this.dfs_1 = includePlayers;
|
|
4573
|
+
this.efs_1 = excludePlayers;
|
|
4574
|
+
this.ffs_1 = deliveryType;
|
|
4575
4575
|
}
|
|
4576
4576
|
protoOf(GroupKey).toString = function () {
|
|
4577
|
-
return 'GroupKey(tableId=' + this.
|
|
4577
|
+
return 'GroupKey(tableId=' + this.cfs_1 + ', includePlayers=' + toString(this.dfs_1) + ', excludePlayers=' + toString(this.efs_1) + ', deliveryType=' + this.ffs_1.toString() + ')';
|
|
4578
4578
|
};
|
|
4579
4579
|
protoOf(GroupKey).hashCode = function () {
|
|
4580
|
-
var result = getStringHashCode(this.
|
|
4581
|
-
result = imul(result, 31) + hashCode(this.
|
|
4582
|
-
result = imul(result, 31) + hashCode(this.
|
|
4583
|
-
result = imul(result, 31) + this.
|
|
4580
|
+
var result = getStringHashCode(this.cfs_1);
|
|
4581
|
+
result = imul(result, 31) + hashCode(this.dfs_1) | 0;
|
|
4582
|
+
result = imul(result, 31) + hashCode(this.efs_1) | 0;
|
|
4583
|
+
result = imul(result, 31) + this.ffs_1.hashCode() | 0;
|
|
4584
4584
|
return result;
|
|
4585
4585
|
};
|
|
4586
4586
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -4588,35 +4588,35 @@
|
|
|
4588
4588
|
return true;
|
|
4589
4589
|
if (!(other instanceof GroupKey))
|
|
4590
4590
|
return false;
|
|
4591
|
-
if (!(this.
|
|
4591
|
+
if (!(this.cfs_1 === other.cfs_1))
|
|
4592
4592
|
return false;
|
|
4593
|
-
if (!equals(this.
|
|
4593
|
+
if (!equals(this.dfs_1, other.dfs_1))
|
|
4594
4594
|
return false;
|
|
4595
|
-
if (!equals(this.
|
|
4595
|
+
if (!equals(this.efs_1, other.efs_1))
|
|
4596
4596
|
return false;
|
|
4597
|
-
if (!this.
|
|
4597
|
+
if (!this.ffs_1.equals(other.ffs_1))
|
|
4598
4598
|
return false;
|
|
4599
4599
|
return true;
|
|
4600
4600
|
};
|
|
4601
4601
|
function Companion_4() {
|
|
4602
|
-
this.
|
|
4602
|
+
this.gfs_1 = 6;
|
|
4603
4603
|
}
|
|
4604
4604
|
var Companion_instance_15;
|
|
4605
4605
|
function Companion_getInstance_5() {
|
|
4606
4606
|
return Companion_instance_15;
|
|
4607
4607
|
}
|
|
4608
4608
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
4609
|
-
this.
|
|
4609
|
+
this.pfs_1 = this$0;
|
|
4610
4610
|
CoroutineImpl.call(this, resultContinuation);
|
|
4611
4611
|
}
|
|
4612
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
4613
|
-
var tmp = this.
|
|
4612
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).rfs = function (actions, $completion) {
|
|
4613
|
+
var tmp = this.sfs(actions, $completion);
|
|
4614
4614
|
tmp.k9_1 = Unit_instance;
|
|
4615
4615
|
tmp.l9_1 = null;
|
|
4616
4616
|
return tmp.q9();
|
|
4617
4617
|
};
|
|
4618
4618
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).ca = function (p1, $completion) {
|
|
4619
|
-
return this.
|
|
4619
|
+
return this.rfs((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
4620
4620
|
};
|
|
4621
4621
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).q9 = function () {
|
|
4622
4622
|
var suspendResult = this.k9_1;
|
|
@@ -4625,7 +4625,7 @@
|
|
|
4625
4625
|
var tmp = this.i9_1;
|
|
4626
4626
|
if (tmp === 0) {
|
|
4627
4627
|
this.j9_1 = 1;
|
|
4628
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
4628
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.pfs_1, this.qfs_1, null));
|
|
4629
4629
|
} else if (tmp === 1) {
|
|
4630
4630
|
throw this.l9_1;
|
|
4631
4631
|
}
|
|
@@ -4635,23 +4635,23 @@
|
|
|
4635
4635
|
}
|
|
4636
4636
|
while (true);
|
|
4637
4637
|
};
|
|
4638
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
4639
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
4640
|
-
i.
|
|
4638
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).sfs = function (actions, completion) {
|
|
4639
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.pfs_1, completion);
|
|
4640
|
+
i.qfs_1 = actions;
|
|
4641
4641
|
return i;
|
|
4642
4642
|
};
|
|
4643
4643
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
4644
4644
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
4645
4645
|
var l = function (actions, $completion) {
|
|
4646
|
-
return i.
|
|
4646
|
+
return i.rfs(actions, $completion);
|
|
4647
4647
|
};
|
|
4648
4648
|
l.$arity = 1;
|
|
4649
4649
|
return l;
|
|
4650
4650
|
}
|
|
4651
4651
|
function $sentEventCOROUTINE$(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
4652
4652
|
CoroutineImpl.call(this, resultContinuation);
|
|
4653
|
-
this.
|
|
4654
|
-
this.
|
|
4653
|
+
this.bft_1 = _this__u8e3s4;
|
|
4654
|
+
this.cft_1 = fromEvent;
|
|
4655
4655
|
}
|
|
4656
4656
|
protoOf($sentEventCOROUTINE$).q9 = function () {
|
|
4657
4657
|
var suspendResult = this.k9_1;
|
|
@@ -4661,8 +4661,8 @@
|
|
|
4661
4661
|
switch (tmp) {
|
|
4662
4662
|
case 0:
|
|
4663
4663
|
this.j9_1 = 2;
|
|
4664
|
-
this.
|
|
4665
|
-
var tmp0 = this.
|
|
4664
|
+
this.bft_1.afs_1;
|
|
4665
|
+
var tmp0 = this.bft_1.zfr_1;
|
|
4666
4666
|
l$ret$1: do {
|
|
4667
4667
|
while (true) {
|
|
4668
4668
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
@@ -4674,7 +4674,7 @@
|
|
|
4674
4674
|
}
|
|
4675
4675
|
while (false);
|
|
4676
4676
|
this.i9_1 = 1;
|
|
4677
|
-
suspendResult = this.
|
|
4677
|
+
suspendResult = this.bft_1.bfs_1.r28(this.cft_1, this);
|
|
4678
4678
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4679
4679
|
return suspendResult;
|
|
4680
4680
|
}
|
|
@@ -4698,7 +4698,7 @@
|
|
|
4698
4698
|
};
|
|
4699
4699
|
function $waitForCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
4700
4700
|
CoroutineImpl.call(this, resultContinuation);
|
|
4701
|
-
this.
|
|
4701
|
+
this.lft_1 = _this__u8e3s4;
|
|
4702
4702
|
}
|
|
4703
4703
|
protoOf($waitForCOROUTINE$).q9 = function () {
|
|
4704
4704
|
var suspendResult = this.k9_1;
|
|
@@ -4708,12 +4708,12 @@
|
|
|
4708
4708
|
switch (tmp) {
|
|
4709
4709
|
case 0:
|
|
4710
4710
|
this.j9_1 = 5;
|
|
4711
|
-
this.
|
|
4712
|
-
this.
|
|
4711
|
+
this.lft_1.afs_1;
|
|
4712
|
+
this.mft_1 = 0;
|
|
4713
4713
|
this.i9_1 = 1;
|
|
4714
4714
|
continue $sm;
|
|
4715
4715
|
case 1:
|
|
4716
|
-
if (!!(this.
|
|
4716
|
+
if (!!(this.lft_1.zfr_1.kotlinx$atomicfu$value === 0)) {
|
|
4717
4717
|
this.i9_1 = 4;
|
|
4718
4718
|
continue $sm;
|
|
4719
4719
|
}
|
|
@@ -4726,9 +4726,9 @@
|
|
|
4726
4726
|
|
|
4727
4727
|
continue $sm;
|
|
4728
4728
|
case 2:
|
|
4729
|
-
this.
|
|
4730
|
-
if (this.
|
|
4731
|
-
this.
|
|
4729
|
+
this.mft_1 = this.mft_1 + 1 | 0;
|
|
4730
|
+
if (this.mft_1 > 6) {
|
|
4731
|
+
this.lft_1.xfr_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, " + ('not delivered events count = ' + this.lft_1.zfr_1.kotlinx$atomicfu$value));
|
|
4732
4732
|
this.i9_1 = 4;
|
|
4733
4733
|
continue $sm;
|
|
4734
4734
|
} else {
|
|
@@ -4756,16 +4756,16 @@
|
|
|
4756
4756
|
while (true);
|
|
4757
4757
|
};
|
|
4758
4758
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
4759
|
-
this.
|
|
4760
|
-
this.
|
|
4761
|
-
this.
|
|
4762
|
-
this.
|
|
4759
|
+
this.wfr_1 = serverReduxConfig;
|
|
4760
|
+
this.xfr_1 = logger;
|
|
4761
|
+
this.yfr_1 = idsProvider;
|
|
4762
|
+
this.zfr_1 = atomic$ref$1(0);
|
|
4763
4763
|
var tmp = this;
|
|
4764
4764
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
4765
|
-
tmp.
|
|
4766
|
-
this.
|
|
4765
|
+
tmp.afs_1 = get_atomicfu$reentrantLock();
|
|
4766
|
+
this.bfs_1 = MutableSharedFlow();
|
|
4767
4767
|
}
|
|
4768
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4768
|
+
protoOf(ToClientEventsObserverImpl).hfr = function (fromEvent, $completion) {
|
|
4769
4769
|
var tmp = new $sentEventCOROUTINE$(this, fromEvent, $completion);
|
|
4770
4770
|
tmp.k9_1 = Unit_instance;
|
|
4771
4771
|
tmp.l9_1 = null;
|
|
@@ -4777,33 +4777,33 @@
|
|
|
4777
4777
|
tmp.l9_1 = null;
|
|
4778
4778
|
return tmp.q9();
|
|
4779
4779
|
};
|
|
4780
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4781
|
-
if (!this.
|
|
4782
|
-
return this.
|
|
4780
|
+
protoOf(ToClientEventsObserverImpl).fcg = function () {
|
|
4781
|
+
if (!this.wfr_1.enabledCombinedEvents) {
|
|
4782
|
+
return this.bfs_1;
|
|
4783
4783
|
}
|
|
4784
|
-
var tmp = windowedByInterval(this.
|
|
4784
|
+
var tmp = windowedByInterval(this.bfs_1, fromInt(this.wfr_1.combinedEventsIntervalMillis));
|
|
4785
4785
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
4786
4786
|
};
|
|
4787
4787
|
function PlayerConnectionInteractor() {
|
|
4788
4788
|
}
|
|
4789
4789
|
function waitPlayerOrDisconnect($this, newConnectionState, previousConnectionState, table, player, waitForPlayer) {
|
|
4790
|
-
if (waitForPlayer && $this.
|
|
4790
|
+
if (waitForPlayer && $this.rft_1.waitForPlayerToReconnect) {
|
|
4791
4791
|
Companion_getInstance();
|
|
4792
4792
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
4793
|
-
var this_0 = $this.
|
|
4793
|
+
var this_0 = $this.rft_1.reconnectionCheckDurationMillis;
|
|
4794
4794
|
var reconnectionCheckDurationMillis = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
4795
4795
|
var noRecentReconnects = Duration__compareTo_impl_pchp0f(table.gameDuration, reconnectionCheckDurationMillis) < 0 || player.h80_1.f7b().z79(reconnectionCheckDurationMillis);
|
|
4796
4796
|
if (noRecentReconnects) {
|
|
4797
|
-
return $this.
|
|
4797
|
+
return $this.nft(player.playerId, newConnectionState, previousConnectionState);
|
|
4798
4798
|
}
|
|
4799
4799
|
}
|
|
4800
|
-
var canRemoveGameWhenNoPlayers = Companion_instance_2.f80($this.
|
|
4800
|
+
var canRemoveGameWhenNoPlayers = Companion_instance_2.f80($this.rft_1.finishGameWhenNotLiveStrategy, player.playerId, table.players);
|
|
4801
4801
|
if (canRemoveGameWhenNoPlayers) {
|
|
4802
|
-
return listOf($this.
|
|
4802
|
+
return listOf($this.vft_1.wag(mapToFinishReason(newConnectionState, player, table.playersConnections), table, 'Disconnect: No Players to continue game'));
|
|
4803
4803
|
}
|
|
4804
4804
|
if (table.sceneInfo.b8o()) {
|
|
4805
|
-
if (!$this.
|
|
4806
|
-
return listOf($this.
|
|
4805
|
+
if (!$this.sft_1.openRoomIfFinished) {
|
|
4806
|
+
return listOf($this.vft_1.wag(mapToFinishReason(newConnectionState, player, table.playersConnections), table, 'Disconnect: Game is finished'));
|
|
4807
4807
|
}
|
|
4808
4808
|
// Inline function 'kotlin.collections.filter' call
|
|
4809
4809
|
var tmp0 = table.players;
|
|
@@ -4878,27 +4878,27 @@
|
|
|
4878
4878
|
}
|
|
4879
4879
|
var readyLivePlayers = destination_3;
|
|
4880
4880
|
var usersToJoinRoomSize = table.players.g1() - notAlivePlayers.g1() | 0;
|
|
4881
|
-
if ($this.
|
|
4882
|
-
return listOf($this.
|
|
4881
|
+
if ($this.sft_1.minPlayersToOpenRoom >= usersToJoinRoomSize) {
|
|
4882
|
+
return listOf($this.vft_1.wag(mapToFinishReason(newConnectionState, player, table.playersConnections), table, 'Disconnect: Not enough users to create room'));
|
|
4883
4883
|
}
|
|
4884
4884
|
var allPlayersMadeDecision = (readyLivePlayers.g1() + notAlivePlayers.g1() | 0) === table.players.g1();
|
|
4885
4885
|
if (allPlayersMadeDecision) {
|
|
4886
|
-
var tmp0_$this = $this.
|
|
4886
|
+
var tmp0_$this = $this.vft_1;
|
|
4887
4887
|
var tmp1_reason = mapToFinishReason(newConnectionState, player, table.playersConnections);
|
|
4888
4888
|
return listOf(tmp0_$this.vag(tmp1_reason, table, 'Disconnect: Game is finished, transition to room', readyLivePlayers));
|
|
4889
4889
|
}
|
|
4890
4890
|
}
|
|
4891
|
-
if (!$this.
|
|
4892
|
-
return listOf($this.
|
|
4891
|
+
if (!$this.rft_1.botReplacesPlayerAfterTimeout) {
|
|
4892
|
+
return listOf($this.vft_1.wag(mapToFinishReason(newConnectionState, player, table.playersConnections), table, "Disconnect: Can't continue game without bots"));
|
|
4893
4893
|
}
|
|
4894
4894
|
return getPlayerDisconnectedActions($this, newConnectionState, previousConnectionState, player);
|
|
4895
4895
|
}
|
|
4896
4896
|
function getPlayerConnectedActions($this, player, table, previousConnectionState) {
|
|
4897
4897
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
4898
4898
|
var actionsList = ArrayList_init_$Create$_0();
|
|
4899
|
-
actionsList.i1(listOf_0([new PlayerConnectionChangedMechanicAction(player.playerId, PlayerConnectionState_LIVE_getInstance(), previousConnectionState), $this.
|
|
4899
|
+
actionsList.i1(listOf_0([new PlayerConnectionChangedMechanicAction(player.playerId, PlayerConnectionState_LIVE_getInstance(), previousConnectionState), $this.oft(player, table, previousConnectionState)]));
|
|
4900
4900
|
if (player.h80_1.n79()) {
|
|
4901
|
-
actionsList.i1(listOf_0([new StopTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.h80_1.v7a())), new StartTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.h80_1.v7a(), true), _Duration___get_inWholeMilliseconds__impl__msfiry($this.
|
|
4901
|
+
actionsList.i1(listOf_0([new StopTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.h80_1.v7a())), new StartTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.h80_1.v7a(), true), _Duration___get_inWholeMilliseconds__impl__msfiry($this.tft_1.bb5(table.config)), VOID, TimerType_DELAY_getInstance())]));
|
|
4902
4902
|
}
|
|
4903
4903
|
return actionsList;
|
|
4904
4904
|
}
|
|
@@ -4927,13 +4927,13 @@
|
|
|
4927
4927
|
};
|
|
4928
4928
|
}
|
|
4929
4929
|
function PlayerConnectionInteractorImpl(serverConfig, engineLogicConfig, playerTurnMechanicReducer, idsProvider, gameLifecycleInteractor) {
|
|
4930
|
-
this.
|
|
4931
|
-
this.
|
|
4932
|
-
this.
|
|
4933
|
-
this.
|
|
4934
|
-
this.
|
|
4930
|
+
this.rft_1 = serverConfig;
|
|
4931
|
+
this.sft_1 = engineLogicConfig;
|
|
4932
|
+
this.tft_1 = playerTurnMechanicReducer;
|
|
4933
|
+
this.uft_1 = idsProvider;
|
|
4934
|
+
this.vft_1 = gameLifecycleInteractor;
|
|
4935
4935
|
}
|
|
4936
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4936
|
+
protoOf(PlayerConnectionInteractorImpl).mfo = function (newConnectionState, previousConnectionState, player, table, afterReconnection) {
|
|
4937
4937
|
var tmp;
|
|
4938
4938
|
switch (newConnectionState.a1_1) {
|
|
4939
4939
|
case 1:
|
|
@@ -4966,18 +4966,18 @@
|
|
|
4966
4966
|
}
|
|
4967
4967
|
return tmp;
|
|
4968
4968
|
};
|
|
4969
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4969
|
+
protoOf(PlayerConnectionInteractorImpl).ofq = function (sendToPlayerId, isLive, tableId, reason, isGameFinished) {
|
|
4970
4970
|
if (!isLive) {
|
|
4971
4971
|
return emptyList();
|
|
4972
4972
|
}
|
|
4973
|
-
var tmp0_deliveryPayload = Companion_instance_1.user(this.
|
|
4973
|
+
var tmp0_deliveryPayload = Companion_instance_1.user(this.uft_1.f7h(), tableId, sendToPlayerId);
|
|
4974
4974
|
var tmp = new FinishingGameToClientAction(reason, isGameFinished, null, tmp0_deliveryPayload);
|
|
4975
|
-
var tmp1_deliveryPayload = Companion_instance_1.user(this.
|
|
4975
|
+
var tmp1_deliveryPayload = Companion_instance_1.user(this.uft_1.f7h(), tableId, sendToPlayerId);
|
|
4976
4976
|
return listOf_0([tmp, new FinishGameToClientAction(reason, isGameFinished, null, tmp1_deliveryPayload)]);
|
|
4977
4977
|
};
|
|
4978
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4979
|
-
var updatedTable = this.
|
|
4980
|
-
var aid = this.
|
|
4978
|
+
protoOf(PlayerConnectionInteractorImpl).oft = function (sendToPlayer, table, previousConnectionState) {
|
|
4979
|
+
var updatedTable = this.tft_1.ab5(table, sendToPlayer.playerId, PlayerConnectionState_LIVE_getInstance(), null);
|
|
4980
|
+
var aid = this.uft_1.f7h();
|
|
4981
4981
|
var tmp0_safe_receiver = sendToPlayer.h80_1.m79_1;
|
|
4982
4982
|
var originCause = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.r79_1;
|
|
4983
4983
|
var tmp;
|
|
@@ -5004,8 +5004,8 @@
|
|
|
5004
5004
|
var tmp6_table = mapToClient(updatedTable, UserActionPayload_init_$Create$(aid, tmp3_tableId, tmp2_gameCreatorPlayerId, tmp1_playerId, destination));
|
|
5005
5005
|
return new ContinueGameToClientAction(tmp6_table, reason, null, null, tmp5_deliveryPayload);
|
|
5006
5006
|
};
|
|
5007
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
5008
|
-
var aid = this.
|
|
5007
|
+
protoOf(PlayerConnectionInteractorImpl).pft = function (sendToPlayerId, table) {
|
|
5008
|
+
var aid = this.uft_1.f7h();
|
|
5009
5009
|
var gameCreatorPlayerId = getGameCreator(table.players).playerId;
|
|
5010
5010
|
// Inline function 'kotlin.collections.single' call
|
|
5011
5011
|
var single = null;
|
|
@@ -5028,24 +5028,24 @@
|
|
|
5028
5028
|
var tmp2_reason = new SpectatorJoinedReason(sendToPlayerId);
|
|
5029
5029
|
return new ContinueGameToClientAction(tmp1_table, tmp2_reason, null, spectator, tmp0_deliveryPayload);
|
|
5030
5030
|
};
|
|
5031
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
5031
|
+
protoOf(PlayerConnectionInteractorImpl).nft = function (playerId, newConnectionState, previousConnectionState) {
|
|
5032
5032
|
var tmp = System_instance.lm();
|
|
5033
5033
|
Companion_getInstance();
|
|
5034
5034
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
5035
|
-
var this_0 = this.
|
|
5035
|
+
var this_0 = this.rft_1.waitForPlayerToReconnectTimeOutMillis;
|
|
5036
5036
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
5037
5037
|
var reconnectUntilTime = tmp.jn(tmp$ret$0);
|
|
5038
5038
|
var tmp0_state = PlayerConnectionState_DISCONNECTING_getInstance();
|
|
5039
5039
|
var tmp1_reconnectUntilTime = reconnectUntilTime.toString();
|
|
5040
|
-
return listOf_0([new PlayerConnectionChangedMechanicAction(playerId, tmp0_state, previousConnectionState, newConnectionState, false, tmp1_reconnectUntilTime), new StartTimerAction(new PlayerReconnectionWaitingTimerTag(playerId, newConnectionState, previousConnectionState), fromInt(this.
|
|
5040
|
+
return listOf_0([new PlayerConnectionChangedMechanicAction(playerId, tmp0_state, previousConnectionState, newConnectionState, false, tmp1_reconnectUntilTime), new StartTimerAction(new PlayerReconnectionWaitingTimerTag(playerId, newConnectionState, previousConnectionState), fromInt(this.rft_1.waitForPlayerToReconnectTimeOutMillis), VOID, TimerType_DELAY_getInstance())]);
|
|
5041
5041
|
};
|
|
5042
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
5042
|
+
protoOf(PlayerConnectionInteractorImpl).qft = function (isBot, playerId, connectedPlayers) {
|
|
5043
5043
|
var tmp;
|
|
5044
5044
|
if (isBot) {
|
|
5045
5045
|
tmp = Companion_instance_3.u79(PlayerConnectionState_LEFT_PERMANENTLY_getInstance());
|
|
5046
5046
|
} else {
|
|
5047
5047
|
var tmp_0;
|
|
5048
|
-
if (this.
|
|
5048
|
+
if (this.rft_1.waitForPlayerToConnectOnStart) {
|
|
5049
5049
|
var tmp_1;
|
|
5050
5050
|
if (connectedPlayers.z1(playerId)) {
|
|
5051
5051
|
tmp_1 = Companion_instance_3.u79(PlayerConnectionState_LIVE_getInstance());
|
|
@@ -5061,154 +5061,154 @@
|
|
|
5061
5061
|
return tmp;
|
|
5062
5062
|
};
|
|
5063
5063
|
function UpdateServerConfigAction(serverConfig) {
|
|
5064
|
-
this.
|
|
5064
|
+
this.wft_1 = serverConfig;
|
|
5065
5065
|
}
|
|
5066
5066
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
5067
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
5067
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.wft_1.toString() + ')';
|
|
5068
5068
|
};
|
|
5069
5069
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
5070
|
-
return this.
|
|
5070
|
+
return this.wft_1.hashCode();
|
|
5071
5071
|
};
|
|
5072
5072
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
5073
5073
|
if (this === other)
|
|
5074
5074
|
return true;
|
|
5075
5075
|
if (!(other instanceof UpdateServerConfigAction))
|
|
5076
5076
|
return false;
|
|
5077
|
-
if (!this.
|
|
5077
|
+
if (!this.wft_1.equals(other.wft_1))
|
|
5078
5078
|
return false;
|
|
5079
5079
|
return true;
|
|
5080
5080
|
};
|
|
5081
5081
|
function AddSpectatorsAction(spectators) {
|
|
5082
|
-
this.
|
|
5082
|
+
this.xft_1 = spectators;
|
|
5083
5083
|
}
|
|
5084
5084
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
5085
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
5085
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.xft_1) + ')';
|
|
5086
5086
|
};
|
|
5087
5087
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
5088
|
-
return hashCode(this.
|
|
5088
|
+
return hashCode(this.xft_1);
|
|
5089
5089
|
};
|
|
5090
5090
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
5091
5091
|
if (this === other)
|
|
5092
5092
|
return true;
|
|
5093
5093
|
if (!(other instanceof AddSpectatorsAction))
|
|
5094
5094
|
return false;
|
|
5095
|
-
if (!equals(this.
|
|
5095
|
+
if (!equals(this.xft_1, other.xft_1))
|
|
5096
5096
|
return false;
|
|
5097
5097
|
return true;
|
|
5098
5098
|
};
|
|
5099
5099
|
function RemoveSpectatorsAction(spectators) {
|
|
5100
|
-
this.
|
|
5100
|
+
this.yft_1 = spectators;
|
|
5101
5101
|
}
|
|
5102
5102
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
5103
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
5103
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.yft_1) + ')';
|
|
5104
5104
|
};
|
|
5105
5105
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
5106
|
-
return hashCode(this.
|
|
5106
|
+
return hashCode(this.yft_1);
|
|
5107
5107
|
};
|
|
5108
5108
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
5109
5109
|
if (this === other)
|
|
5110
5110
|
return true;
|
|
5111
5111
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
5112
5112
|
return false;
|
|
5113
|
-
if (!equals(this.
|
|
5113
|
+
if (!equals(this.yft_1, other.yft_1))
|
|
5114
5114
|
return false;
|
|
5115
5115
|
return true;
|
|
5116
5116
|
};
|
|
5117
5117
|
function SpectatorsAction() {
|
|
5118
5118
|
}
|
|
5119
5119
|
function _get_asyncProvider__jbpyhw($this) {
|
|
5120
|
-
var tmp0 = $this.
|
|
5120
|
+
var tmp0 = $this.efu_1;
|
|
5121
5121
|
var tmp = KProperty1;
|
|
5122
5122
|
// Inline function 'kotlin.getValue' call
|
|
5123
5123
|
getPropertyCallableRef('asyncProvider', 1, tmp, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3_0(), null);
|
|
5124
5124
|
return tmp0.o1();
|
|
5125
5125
|
}
|
|
5126
5126
|
function _get_logger__rkp4sl($this) {
|
|
5127
|
-
var tmp0 = $this.
|
|
5127
|
+
var tmp0 = $this.ffu_1;
|
|
5128
5128
|
var tmp = KProperty1;
|
|
5129
5129
|
// Inline function 'kotlin.getValue' call
|
|
5130
5130
|
getPropertyCallableRef('logger', 1, tmp, ServerGameStoreContract$_get_logger_$ref_zbgw28_0(), null);
|
|
5131
5131
|
return tmp0.o1();
|
|
5132
5132
|
}
|
|
5133
5133
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
5134
|
-
var tmp0 = $this.
|
|
5134
|
+
var tmp0 = $this.gfu_1;
|
|
5135
5135
|
var tmp = KProperty1;
|
|
5136
5136
|
// Inline function 'kotlin.getValue' call
|
|
5137
5137
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8_0(), null);
|
|
5138
5138
|
return tmp0.o1();
|
|
5139
5139
|
}
|
|
5140
5140
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
5141
|
-
var tmp0 = $this.
|
|
5141
|
+
var tmp0 = $this.hfu_1;
|
|
5142
5142
|
var tmp = KProperty1;
|
|
5143
5143
|
// Inline function 'kotlin.getValue' call
|
|
5144
5144
|
getPropertyCallableRef('lastCardInteractor', 1, tmp, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh_0(), null);
|
|
5145
5145
|
return tmp0.o1();
|
|
5146
5146
|
}
|
|
5147
5147
|
function _get_serverConfig__rk2g06($this) {
|
|
5148
|
-
var tmp0 = $this.
|
|
5148
|
+
var tmp0 = $this.ifu_1;
|
|
5149
5149
|
var tmp = KProperty1;
|
|
5150
5150
|
// Inline function 'kotlin.getValue' call
|
|
5151
5151
|
getPropertyCallableRef('serverConfig', 1, tmp, ServerGameStoreContract$_get_serverConfig_$ref_bz2891_0(), null);
|
|
5152
5152
|
return tmp0.o1();
|
|
5153
5153
|
}
|
|
5154
5154
|
function _get_logicConfig__52ww9d($this) {
|
|
5155
|
-
var tmp0 = $this.
|
|
5155
|
+
var tmp0 = $this.jfu_1;
|
|
5156
5156
|
var tmp = KProperty1;
|
|
5157
5157
|
// Inline function 'kotlin.getValue' call
|
|
5158
5158
|
getPropertyCallableRef('logicConfig', 1, tmp, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi_0(), null);
|
|
5159
5159
|
return tmp0.o1();
|
|
5160
5160
|
}
|
|
5161
5161
|
function _get_idsProvider__fnfajc_0($this) {
|
|
5162
|
-
var tmp0 = $this.
|
|
5162
|
+
var tmp0 = $this.kfu_1;
|
|
5163
5163
|
var tmp = KProperty1;
|
|
5164
5164
|
// Inline function 'kotlin.getValue' call
|
|
5165
5165
|
getPropertyCallableRef('idsProvider', 1, tmp, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1_0(), null);
|
|
5166
5166
|
return tmp0.o1();
|
|
5167
5167
|
}
|
|
5168
5168
|
function _get_botConfig__cpaxzc($this) {
|
|
5169
|
-
var tmp0 = $this.
|
|
5169
|
+
var tmp0 = $this.lfu_1;
|
|
5170
5170
|
var tmp = KProperty1;
|
|
5171
5171
|
// Inline function 'kotlin.getValue' call
|
|
5172
5172
|
getPropertyCallableRef('botConfig', 1, tmp, ServerGameStoreContract$_get_botConfig_$ref_nebw1d_0(), null);
|
|
5173
5173
|
return tmp0.o1();
|
|
5174
5174
|
}
|
|
5175
5175
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
5176
|
-
var tmp0 = $this.
|
|
5176
|
+
var tmp0 = $this.mfu_1;
|
|
5177
5177
|
var tmp = KProperty1;
|
|
5178
5178
|
// Inline function 'kotlin.getValue' call
|
|
5179
5179
|
getPropertyCallableRef('scenePositionProvider', 1, tmp, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4_0(), null);
|
|
5180
5180
|
return tmp0.o1();
|
|
5181
5181
|
}
|
|
5182
5182
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
5183
|
-
var tmp0 = $this.
|
|
5183
|
+
var tmp0 = $this.nfu_1;
|
|
5184
5184
|
var tmp = KProperty1;
|
|
5185
5185
|
// Inline function 'kotlin.getValue' call
|
|
5186
5186
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p_0(), null);
|
|
5187
5187
|
return tmp0.o1();
|
|
5188
5188
|
}
|
|
5189
5189
|
function _get_fromClientEventsObserver__a7vzd3_0($this) {
|
|
5190
|
-
var tmp0 = $this.
|
|
5190
|
+
var tmp0 = $this.ofu_1;
|
|
5191
5191
|
var tmp = KProperty1;
|
|
5192
5192
|
// Inline function 'kotlin.getValue' call
|
|
5193
5193
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg_0(), null);
|
|
5194
5194
|
return tmp0.o1();
|
|
5195
5195
|
}
|
|
5196
5196
|
function _get_dealerConfig__183ci8($this) {
|
|
5197
|
-
var tmp0 = $this.
|
|
5197
|
+
var tmp0 = $this.pfu_1;
|
|
5198
5198
|
var tmp = KProperty1;
|
|
5199
5199
|
// Inline function 'kotlin.getValue' call
|
|
5200
5200
|
getPropertyCallableRef('dealerConfig', 1, tmp, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp_0(), null);
|
|
5201
5201
|
return tmp0.o1();
|
|
5202
5202
|
}
|
|
5203
5203
|
function _get_poolProvider__tqti6a($this) {
|
|
5204
|
-
var tmp0 = $this.
|
|
5204
|
+
var tmp0 = $this.qfu_1;
|
|
5205
5205
|
var tmp = KProperty1;
|
|
5206
5206
|
// Inline function 'kotlin.getValue' call
|
|
5207
5207
|
getPropertyCallableRef('poolProvider', 1, tmp, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3_0(), null);
|
|
5208
5208
|
return tmp0.o1();
|
|
5209
5209
|
}
|
|
5210
5210
|
function _get_cardsDealerProvider__bekjpg($this) {
|
|
5211
|
-
var tmp0 = $this.
|
|
5211
|
+
var tmp0 = $this.rfu_1;
|
|
5212
5212
|
var tmp = KProperty1;
|
|
5213
5213
|
// Inline function 'kotlin.getValue' call
|
|
5214
5214
|
getPropertyCallableRef('cardsDealerProvider', 1, tmp, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj_0(), null);
|
|
@@ -5372,11 +5372,11 @@
|
|
|
5372
5372
|
tmp = fileLoggerStoreContract;
|
|
5373
5373
|
}
|
|
5374
5374
|
fileLoggerStoreContract = tmp;
|
|
5375
|
-
this.
|
|
5376
|
-
this.
|
|
5377
|
-
this.
|
|
5378
|
-
this.
|
|
5379
|
-
this.
|
|
5375
|
+
this.zft_1 = validationStoreContract;
|
|
5376
|
+
this.afu_1 = timersStoreContract;
|
|
5377
|
+
this.bfu_1 = botGameStoreContract;
|
|
5378
|
+
this.cfu_1 = gameMechanicStoreContract;
|
|
5379
|
+
this.dfu_1 = fileLoggerStoreContract;
|
|
5380
5380
|
var tmp_0 = this;
|
|
5381
5381
|
// Inline function 'org.kodein.di.instance' call
|
|
5382
5382
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5384,7 +5384,7 @@
|
|
|
5384
5384
|
var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
|
|
5385
5385
|
var tmp_2 = Instance(di, tmp$ret$0, null);
|
|
5386
5386
|
var tmp_3 = KProperty1;
|
|
5387
|
-
tmp_0.
|
|
5387
|
+
tmp_0.efu_1 = tmp_2.x1j(this, getPropertyCallableRef('asyncProvider', 1, tmp_3, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3(), null));
|
|
5388
5388
|
var tmp_4 = this;
|
|
5389
5389
|
// Inline function 'org.kodein.di.instance' call
|
|
5390
5390
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5392,7 +5392,7 @@
|
|
|
5392
5392
|
var tmp$ret$2 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
5393
5393
|
var tmp_6 = Instance(di, tmp$ret$2, null);
|
|
5394
5394
|
var tmp_7 = KProperty1;
|
|
5395
|
-
tmp_4.
|
|
5395
|
+
tmp_4.ffu_1 = tmp_6.x1j(this, getPropertyCallableRef('logger', 1, tmp_7, ServerGameStoreContract$_get_logger_$ref_zbgw28(), null));
|
|
5396
5396
|
var tmp_8 = this;
|
|
5397
5397
|
// Inline function 'org.kodein.di.instance' call
|
|
5398
5398
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5400,7 +5400,7 @@
|
|
|
5400
5400
|
var tmp$ret$4 = isInterface(tmp_9, TypeToken) ? tmp_9 : THROW_CCE();
|
|
5401
5401
|
var tmp_10 = Instance(di, tmp$ret$4, null);
|
|
5402
5402
|
var tmp_11 = KProperty1;
|
|
5403
|
-
tmp_8.
|
|
5403
|
+
tmp_8.gfu_1 = tmp_10.x1j(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_11, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8(), null));
|
|
5404
5404
|
var tmp_12 = this;
|
|
5405
5405
|
// Inline function 'org.kodein.di.instance' call
|
|
5406
5406
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5408,7 +5408,7 @@
|
|
|
5408
5408
|
var tmp$ret$6 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
5409
5409
|
var tmp_14 = Instance(di, tmp$ret$6, null);
|
|
5410
5410
|
var tmp_15 = KProperty1;
|
|
5411
|
-
tmp_12.
|
|
5411
|
+
tmp_12.hfu_1 = tmp_14.x1j(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_15, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh(), null));
|
|
5412
5412
|
var tmp_16 = this;
|
|
5413
5413
|
// Inline function 'org.kodein.di.instance' call
|
|
5414
5414
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5416,7 +5416,7 @@
|
|
|
5416
5416
|
var tmp$ret$8 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
5417
5417
|
var tmp_18 = Instance(di, tmp$ret$8, null);
|
|
5418
5418
|
var tmp_19 = KProperty1;
|
|
5419
|
-
tmp_16.
|
|
5419
|
+
tmp_16.ifu_1 = tmp_18.x1j(this, getPropertyCallableRef('serverConfig', 1, tmp_19, ServerGameStoreContract$_get_serverConfig_$ref_bz2891(), null));
|
|
5420
5420
|
var tmp_20 = this;
|
|
5421
5421
|
// Inline function 'org.kodein.di.instance' call
|
|
5422
5422
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5424,7 +5424,7 @@
|
|
|
5424
5424
|
var tmp$ret$10 = isInterface(tmp_21, TypeToken) ? tmp_21 : THROW_CCE();
|
|
5425
5425
|
var tmp_22 = Instance(di, tmp$ret$10, null);
|
|
5426
5426
|
var tmp_23 = KProperty1;
|
|
5427
|
-
tmp_20.
|
|
5427
|
+
tmp_20.jfu_1 = tmp_22.x1j(this, getPropertyCallableRef('logicConfig', 1, tmp_23, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi(), null));
|
|
5428
5428
|
var tmp_24 = this;
|
|
5429
5429
|
// Inline function 'org.kodein.di.instance' call
|
|
5430
5430
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5432,7 +5432,7 @@
|
|
|
5432
5432
|
var tmp$ret$12 = isInterface(tmp_25, TypeToken) ? tmp_25 : THROW_CCE();
|
|
5433
5433
|
var tmp_26 = Instance(di, tmp$ret$12, null);
|
|
5434
5434
|
var tmp_27 = KProperty1;
|
|
5435
|
-
tmp_24.
|
|
5435
|
+
tmp_24.kfu_1 = tmp_26.x1j(this, getPropertyCallableRef('idsProvider', 1, tmp_27, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1(), null));
|
|
5436
5436
|
var tmp_28 = this;
|
|
5437
5437
|
// Inline function 'org.kodein.di.instance' call
|
|
5438
5438
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5440,7 +5440,7 @@
|
|
|
5440
5440
|
var tmp$ret$14 = isInterface(tmp_29, TypeToken) ? tmp_29 : THROW_CCE();
|
|
5441
5441
|
var tmp_30 = Instance(di, tmp$ret$14, null);
|
|
5442
5442
|
var tmp_31 = KProperty1;
|
|
5443
|
-
tmp_28.
|
|
5443
|
+
tmp_28.lfu_1 = tmp_30.x1j(this, getPropertyCallableRef('botConfig', 1, tmp_31, ServerGameStoreContract$_get_botConfig_$ref_nebw1d(), null));
|
|
5444
5444
|
var tmp_32 = this;
|
|
5445
5445
|
// Inline function 'org.kodein.di.instance' call
|
|
5446
5446
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5448,7 +5448,7 @@
|
|
|
5448
5448
|
var tmp$ret$16 = isInterface(tmp_33, TypeToken) ? tmp_33 : THROW_CCE();
|
|
5449
5449
|
var tmp_34 = Instance(di, tmp$ret$16, null);
|
|
5450
5450
|
var tmp_35 = KProperty1;
|
|
5451
|
-
tmp_32.
|
|
5451
|
+
tmp_32.mfu_1 = tmp_34.x1j(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_35, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4(), null));
|
|
5452
5452
|
var tmp_36 = this;
|
|
5453
5453
|
// Inline function 'org.kodein.di.instance' call
|
|
5454
5454
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5456,7 +5456,7 @@
|
|
|
5456
5456
|
var tmp$ret$18 = isInterface(tmp_37, TypeToken) ? tmp_37 : THROW_CCE();
|
|
5457
5457
|
var tmp_38 = Instance(di, tmp$ret$18, null);
|
|
5458
5458
|
var tmp_39 = KProperty1;
|
|
5459
|
-
tmp_36.
|
|
5459
|
+
tmp_36.nfu_1 = tmp_38.x1j(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_39, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p(), null));
|
|
5460
5460
|
var tmp_40 = this;
|
|
5461
5461
|
// Inline function 'org.kodein.di.instance' call
|
|
5462
5462
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5464,7 +5464,7 @@
|
|
|
5464
5464
|
var tmp$ret$20 = isInterface(tmp_41, TypeToken) ? tmp_41 : THROW_CCE();
|
|
5465
5465
|
var tmp_42 = Instance(di, tmp$ret$20, null);
|
|
5466
5466
|
var tmp_43 = KProperty1;
|
|
5467
|
-
tmp_40.
|
|
5467
|
+
tmp_40.ofu_1 = tmp_42.x1j(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_43, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg(), null));
|
|
5468
5468
|
var tmp_44 = this;
|
|
5469
5469
|
// Inline function 'org.kodein.di.instance' call
|
|
5470
5470
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5472,7 +5472,7 @@
|
|
|
5472
5472
|
var tmp$ret$22 = isInterface(tmp_45, TypeToken) ? tmp_45 : THROW_CCE();
|
|
5473
5473
|
var tmp_46 = Instance(di, tmp$ret$22, null);
|
|
5474
5474
|
var tmp_47 = KProperty1;
|
|
5475
|
-
tmp_44.
|
|
5475
|
+
tmp_44.pfu_1 = tmp_46.x1j(this, getPropertyCallableRef('dealerConfig', 1, tmp_47, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp(), null));
|
|
5476
5476
|
var tmp_48 = this;
|
|
5477
5477
|
// Inline function 'org.kodein.di.instance' call
|
|
5478
5478
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5480,7 +5480,7 @@
|
|
|
5480
5480
|
var tmp$ret$24 = isInterface(tmp_49, TypeToken) ? tmp_49 : THROW_CCE();
|
|
5481
5481
|
var tmp_50 = Instance(di, tmp$ret$24, null);
|
|
5482
5482
|
var tmp_51 = KProperty1;
|
|
5483
|
-
tmp_48.
|
|
5483
|
+
tmp_48.qfu_1 = tmp_50.x1j(this, getPropertyCallableRef('poolProvider', 1, tmp_51, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3(), null));
|
|
5484
5484
|
var tmp_52 = this;
|
|
5485
5485
|
// Inline function 'org.kodein.di.instance' call
|
|
5486
5486
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5488,20 +5488,20 @@
|
|
|
5488
5488
|
var tmp$ret$26 = isInterface(tmp_53, TypeToken) ? tmp_53 : THROW_CCE();
|
|
5489
5489
|
var tmp_54 = Instance(di, tmp$ret$26, null);
|
|
5490
5490
|
var tmp_55 = KProperty1;
|
|
5491
|
-
tmp_52.
|
|
5491
|
+
tmp_52.rfu_1 = tmp_54.x1j(this, getPropertyCallableRef('cardsDealerProvider', 1, tmp_55, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj(), null));
|
|
5492
5492
|
}
|
|
5493
5493
|
protoOf(ServerGameStoreContract).uap = function () {
|
|
5494
|
-
return plus(plus(plus(plus(plus(this.
|
|
5494
|
+
return plus(plus(plus(plus(plus(this.zft_1.uap(), this.cfu_1.uap()), this.afu_1.uap()), this.bfu_1.uap()), this.dfu_1.uap()), listOf_0([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl(this)), playerConnectionUpdateReducer()]));
|
|
5495
5495
|
};
|
|
5496
5496
|
protoOf(ServerGameStoreContract).vap = function () {
|
|
5497
|
-
var tmp = this.
|
|
5497
|
+
var tmp = this.zft_1.vap();
|
|
5498
5498
|
var tmp_0;
|
|
5499
5499
|
if (_get_serverConfig__rk2g06(this).finishGameWhenNotLiveStrategy.equals(FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance())) {
|
|
5500
5500
|
tmp_0 = checkBotsMiddleware(_get_logger__rkp4sl(this));
|
|
5501
5501
|
} else {
|
|
5502
5502
|
tmp_0 = null;
|
|
5503
5503
|
}
|
|
5504
|
-
var tmp_1 = plus(plus(plus(plus(plus(tmp, listOfNotNull(tmp_0)), this.
|
|
5504
|
+
var tmp_1 = plus(plus(plus(plus(plus(tmp, listOfNotNull(tmp_0)), this.cfu_1.vap()), this.afu_1.vap()), this.bfu_1.vap()), this.dfu_1.vap());
|
|
5505
5505
|
var tmp_2 = playerConnectionUpdateMiddleware(_get_logger__rkp4sl(this), _get_playerConnectionInteractor__si6cxf_0(this));
|
|
5506
5506
|
var tmp_3 = playerReconnectionTimeoutMiddleware(_get_playerConnectionInteractor__si6cxf_0(this));
|
|
5507
5507
|
var tmp_4;
|
|
@@ -5516,7 +5516,7 @@
|
|
|
5516
5516
|
var tmp1_logger = _get_logger__rkp4sl(this);
|
|
5517
5517
|
var tmp2_asyncProvider = _get_asyncProvider__jbpyhw(this);
|
|
5518
5518
|
var tmp_7 = playerTurnTimeoutWhenHasConnectionMiddleware(tmp0_serverConfig, tmp2_asyncProvider, tmp1_logger);
|
|
5519
|
-
var tmp_8 = clearOnFinishMiddleware(_get_asyncProvider__jbpyhw(this), listOfNotNull_0([_get_toClientEventsObserver__6rp51y_0(this), this.
|
|
5519
|
+
var tmp_8 = clearOnFinishMiddleware(_get_asyncProvider__jbpyhw(this), listOfNotNull_0([_get_toClientEventsObserver__6rp51y_0(this), this.dfu_1.eaq()]));
|
|
5520
5520
|
var tmp3_asyncProvider = _get_asyncProvider__jbpyhw(this);
|
|
5521
5521
|
var tmp4_dealerConfig = _get_dealerConfig__183ci8(this);
|
|
5522
5522
|
var tmp5_poolProvider = _get_poolProvider__tqti6a(this);
|
|
@@ -5565,7 +5565,7 @@
|
|
|
5565
5565
|
return new sendSpectatorContinueMiddleware$$inlined$middlewareForActionType$1(playerConnectionInteractor);
|
|
5566
5566
|
}
|
|
5567
5567
|
function sendSpectatorContinueMiddleware$$inlined$middlewareForActionType$1($playerConnectionInteractor) {
|
|
5568
|
-
this.
|
|
5568
|
+
this.vfu_1 = $playerConnectionInteractor;
|
|
5569
5569
|
}
|
|
5570
5570
|
protoOf(sendSpectatorContinueMiddleware$$inlined$middlewareForActionType$1).u7j = function (action) {
|
|
5571
5571
|
return action instanceof AddSpectatorsAction;
|
|
@@ -5575,10 +5575,10 @@
|
|
|
5575
5575
|
next(action_0);
|
|
5576
5576
|
var table = store.state.s7w();
|
|
5577
5577
|
// Inline function 'kotlin.collections.forEach' call
|
|
5578
|
-
var _iterator__ex2g4s = action_0.
|
|
5578
|
+
var _iterator__ex2g4s = action_0.xft_1.t();
|
|
5579
5579
|
while (_iterator__ex2g4s.u()) {
|
|
5580
5580
|
var element = _iterator__ex2g4s.v();
|
|
5581
|
-
store.dispatch(this.
|
|
5581
|
+
store.dispatch(this.vfu_1.pft(element.p78_1, table));
|
|
5582
5582
|
}
|
|
5583
5583
|
};
|
|
5584
5584
|
protoOf(sendSpectatorContinueMiddleware$$inlined$middlewareForActionType$1).t7j = function (store, next, action) {
|
|
@@ -5636,7 +5636,7 @@
|
|
|
5636
5636
|
return tmp;
|
|
5637
5637
|
}
|
|
5638
5638
|
function ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
|
|
5639
|
-
this.
|
|
5639
|
+
this.wfu_1 = this$0;
|
|
5640
5640
|
}
|
|
5641
5641
|
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).u7j = function (action) {
|
|
5642
5642
|
return action instanceof MechanicAction;
|
|
@@ -5647,7 +5647,7 @@
|
|
|
5647
5647
|
// Inline function 'kotlin.with' call
|
|
5648
5648
|
var tmp;
|
|
5649
5649
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
5650
|
-
var tmp0 = this.
|
|
5650
|
+
var tmp0 = this.wfu_1;
|
|
5651
5651
|
var tmp2 = action_0.v9e_1;
|
|
5652
5652
|
var tmp4 = action_0.x9e_1;
|
|
5653
5653
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -5657,7 +5657,7 @@
|
|
|
5657
5657
|
var _iterator__ex2g4s = this_0.t();
|
|
5658
5658
|
while (_iterator__ex2g4s.u()) {
|
|
5659
5659
|
var item = _iterator__ex2g4s.v();
|
|
5660
|
-
var tmp$ret$0 = to(item.p78_1, this.ufu_1.
|
|
5660
|
+
var tmp$ret$0 = to(item.p78_1, this.wfu_1.ufu_1.qft(item.isBot, item.p78_1, get_serverStatePayload(state).connectedPlayers).o79_1);
|
|
5661
5661
|
destination.e1(tmp$ret$0);
|
|
5662
5662
|
}
|
|
5663
5663
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
@@ -5687,7 +5687,7 @@
|
|
|
5687
5687
|
var _iterator__ex2g4s_2 = destination_1.t();
|
|
5688
5688
|
while (_iterator__ex2g4s_2.u()) {
|
|
5689
5689
|
var element_0 = _iterator__ex2g4s_2.v();
|
|
5690
|
-
var tmp0_aid = tmp0.
|
|
5690
|
+
var tmp0_aid = tmp0.tfu_1.f7h();
|
|
5691
5691
|
// Inline function 'kotlin.collections.map' call
|
|
5692
5692
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5693
5693
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -5707,7 +5707,7 @@
|
|
|
5707
5707
|
}
|
|
5708
5708
|
}
|
|
5709
5709
|
var tmp_0 = destination_2;
|
|
5710
|
-
var tmp0_0 = this.
|
|
5710
|
+
var tmp0_0 = this.wfu_1;
|
|
5711
5711
|
var tmp2_0 = action_0.v9e_1;
|
|
5712
5712
|
var tmp4_0 = action_0.x9e_1;
|
|
5713
5713
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -5738,7 +5738,7 @@
|
|
|
5738
5738
|
var _iterator__ex2g4s_6 = destination_5.t();
|
|
5739
5739
|
while (_iterator__ex2g4s_6.u()) {
|
|
5740
5740
|
var element_1 = _iterator__ex2g4s_6.v();
|
|
5741
|
-
var tmp_1 = tmp0_0.
|
|
5741
|
+
var tmp_1 = tmp0_0.tfu_1.f7h();
|
|
5742
5742
|
var spectatorPayload = new UserActionPayload(tmp_1, tmp2_0, tmp4_0, element_1, ServerMapMechanicToClientActionMiddleware$middleware$o$handle$lambda(destination_4, tmp4_0));
|
|
5743
5743
|
var tmp0_safe_receiver_0 = mapToClient_19(action_0, spectatorPayload);
|
|
5744
5744
|
if (tmp0_safe_receiver_0 == null)
|
|
@@ -5751,15 +5751,15 @@
|
|
|
5751
5751
|
tmp = plus(tmp_0, destination_6);
|
|
5752
5752
|
} else {
|
|
5753
5753
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
5754
|
-
var tmp0_1 = this.
|
|
5754
|
+
var tmp0_1 = this.wfu_1;
|
|
5755
5755
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5756
5756
|
var tableId = state.s7w().id;
|
|
5757
|
-
var sendToPlayer_0 = new RoomActionPayload(tmp0_1.
|
|
5757
|
+
var sendToPlayer_0 = new RoomActionPayload(tmp0_1.tfu_1.f7h(), tableId, null);
|
|
5758
5758
|
var tmp$ret$36 = mapToClient_18(action_0, sendToPlayer_0);
|
|
5759
5759
|
tmp = listOfNotNull(tmp$ret$36);
|
|
5760
5760
|
} else {
|
|
5761
5761
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
5762
|
-
var tmp0_2 = this.
|
|
5762
|
+
var tmp0_2 = this.wfu_1;
|
|
5763
5763
|
var tmp2_1 = action_0.table.id;
|
|
5764
5764
|
var tmp4_1 = action_0.gameCreatorPlayerId;
|
|
5765
5765
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -5799,7 +5799,7 @@
|
|
|
5799
5799
|
var _iterator__ex2g4s_10 = destination_9.t();
|
|
5800
5800
|
while (_iterator__ex2g4s_10.u()) {
|
|
5801
5801
|
var element_3 = _iterator__ex2g4s_10.v();
|
|
5802
|
-
var tmp0_aid_0 = tmp0_2.
|
|
5802
|
+
var tmp0_aid_0 = tmp0_2.tfu_1.f7h();
|
|
5803
5803
|
// Inline function 'kotlin.collections.map' call
|
|
5804
5804
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5805
5805
|
var destination_11 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_7, 10));
|
|
@@ -5819,7 +5819,7 @@
|
|
|
5819
5819
|
}
|
|
5820
5820
|
}
|
|
5821
5821
|
var tmp_2 = destination_10;
|
|
5822
|
-
var tmp0_3 = this.
|
|
5822
|
+
var tmp0_3 = this.wfu_1;
|
|
5823
5823
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForSpectatorFromTable' call
|
|
5824
5824
|
var table = action_0.table;
|
|
5825
5825
|
var tmp2_2 = table.id;
|
|
@@ -5852,7 +5852,7 @@
|
|
|
5852
5852
|
var _iterator__ex2g4s_14 = destination_13.t();
|
|
5853
5853
|
while (_iterator__ex2g4s_14.u()) {
|
|
5854
5854
|
var element_4 = _iterator__ex2g4s_14.v();
|
|
5855
|
-
var tmp_3 = tmp0_3.
|
|
5855
|
+
var tmp_3 = tmp0_3.tfu_1.f7h();
|
|
5856
5856
|
var spectatorPayload_0 = new UserActionPayload(tmp_3, tmp2_2, tmp4_2, element_4, ServerMapMechanicToClientActionMiddleware$middleware$o$handle$lambda_0(destination_12, tmp4_2));
|
|
5857
5857
|
var tmp0_safe_receiver_2 = mapToClient_17(action_0, spectatorPayload_0);
|
|
5858
5858
|
if (tmp0_safe_receiver_2 == null)
|
|
@@ -5865,39 +5865,39 @@
|
|
|
5865
5865
|
tmp = plus(tmp_2, destination_14);
|
|
5866
5866
|
} else {
|
|
5867
5867
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
5868
|
-
var tmp0_4 = this.
|
|
5868
|
+
var tmp0_4 = this.wfu_1;
|
|
5869
5869
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5870
5870
|
var tableId_0 = state.s7w().id;
|
|
5871
|
-
var sendToPlayer_2 = new RoomActionPayload(tmp0_4.
|
|
5871
|
+
var sendToPlayer_2 = new RoomActionPayload(tmp0_4.tfu_1.f7h(), tableId_0, null);
|
|
5872
5872
|
var tmp$ret$75 = mapToClient_16(action_0, sendToPlayer_2);
|
|
5873
5873
|
tmp = listOfNotNull(tmp$ret$75);
|
|
5874
5874
|
} else {
|
|
5875
5875
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
5876
|
-
var tmp0_5 = this.
|
|
5876
|
+
var tmp0_5 = this.wfu_1;
|
|
5877
5877
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5878
5878
|
var tableId_1 = state.s7w().id;
|
|
5879
|
-
var sendToPlayer_3 = new RoomActionPayload(tmp0_5.
|
|
5879
|
+
var sendToPlayer_3 = new RoomActionPayload(tmp0_5.tfu_1.f7h(), tableId_1, null);
|
|
5880
5880
|
var tmp$ret$77 = mapToClient_15(action_0, sendToPlayer_3);
|
|
5881
5881
|
tmp = listOfNotNull(tmp$ret$77);
|
|
5882
5882
|
} else {
|
|
5883
5883
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
5884
|
-
var tmp0_6 = this.
|
|
5884
|
+
var tmp0_6 = this.wfu_1;
|
|
5885
5885
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5886
5886
|
var tableId_2 = state.s7w().id;
|
|
5887
|
-
var sendToPlayer_4 = new RoomActionPayload(tmp0_6.
|
|
5887
|
+
var sendToPlayer_4 = new RoomActionPayload(tmp0_6.tfu_1.f7h(), tableId_2, null);
|
|
5888
5888
|
var tmp$ret$79 = mapToClient_14(action_0, sendToPlayer_4);
|
|
5889
5889
|
tmp = listOfNotNull(tmp$ret$79);
|
|
5890
5890
|
} else {
|
|
5891
5891
|
if (action_0 instanceof ErrorAction) {
|
|
5892
|
-
var tmp0_7 = this.
|
|
5892
|
+
var tmp0_7 = this.wfu_1;
|
|
5893
5893
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5894
5894
|
var tableId_3 = state.s7w().id;
|
|
5895
|
-
var sendToPlayer_5 = new RoomActionPayload(tmp0_7.
|
|
5895
|
+
var sendToPlayer_5 = new RoomActionPayload(tmp0_7.tfu_1.f7h(), tableId_3, null);
|
|
5896
5896
|
var tmp$ret$81 = mapToClient_13(action_0, sendToPlayer_5);
|
|
5897
5897
|
tmp = listOfNotNull(tmp$ret$81);
|
|
5898
5898
|
} else {
|
|
5899
5899
|
if (action_0 instanceof SceneMechanicAction) {
|
|
5900
|
-
var tmp0_8 = this.
|
|
5900
|
+
var tmp0_8 = this.wfu_1;
|
|
5901
5901
|
var tmp2_3 = state.s7w().id;
|
|
5902
5902
|
var tmp4_3 = state.s7w().playersConnections;
|
|
5903
5903
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
@@ -5929,7 +5929,7 @@
|
|
|
5929
5929
|
var _iterator__ex2g4s_17 = destination_16.t();
|
|
5930
5930
|
while (_iterator__ex2g4s_17.u()) {
|
|
5931
5931
|
var element_6 = _iterator__ex2g4s_17.v();
|
|
5932
|
-
var tmp0_aid_1 = tmp0_8.
|
|
5932
|
+
var tmp0_aid_1 = tmp0_8.tfu_1.f7h();
|
|
5933
5933
|
// Inline function 'kotlin.collections.map' call
|
|
5934
5934
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5935
5935
|
var destination_18 = ArrayList_init_$Create$(collectionSizeOrDefault(tmp4_3, 10));
|
|
@@ -5949,7 +5949,7 @@
|
|
|
5949
5949
|
}
|
|
5950
5950
|
}
|
|
5951
5951
|
var tmp_4 = destination_17;
|
|
5952
|
-
var tmp0_9 = this.
|
|
5952
|
+
var tmp0_9 = this.wfu_1;
|
|
5953
5953
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createSpectatorBroadcastFromTable' call
|
|
5954
5954
|
var table_0 = state.s7w();
|
|
5955
5955
|
var tmp2_4 = table_0.id;
|
|
@@ -5981,7 +5981,7 @@
|
|
|
5981
5981
|
tmp$ret$108 = emptyList();
|
|
5982
5982
|
break $l$block_0;
|
|
5983
5983
|
}
|
|
5984
|
-
var aid = tmp0_9.
|
|
5984
|
+
var aid = tmp0_9.tfu_1.f7h();
|
|
5985
5985
|
var tmp_5 = first(destination_20);
|
|
5986
5986
|
var payload = new UserActionPayload(aid, tmp2_4, tmp4_4, tmp_5, ServerMapMechanicToClientActionMiddleware$middleware$o$handle$lambda_1(destination_19, tmp4_4));
|
|
5987
5987
|
var tmp0_elvis_lhs = mapToClient_12(action_0, payload);
|
|
@@ -6000,7 +6000,7 @@
|
|
|
6000
6000
|
tmp = plus(tmp_4, tmp$ret$110);
|
|
6001
6001
|
} else {
|
|
6002
6002
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
6003
|
-
var tmp0_10 = this.
|
|
6003
|
+
var tmp0_10 = this.wfu_1;
|
|
6004
6004
|
var tmp2_5 = state.s7w().id;
|
|
6005
6005
|
var tmp4_5 = state.s7w().playersConnections;
|
|
6006
6006
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
@@ -6032,7 +6032,7 @@
|
|
|
6032
6032
|
var _iterator__ex2g4s_23 = destination_22.t();
|
|
6033
6033
|
while (_iterator__ex2g4s_23.u()) {
|
|
6034
6034
|
var element_8 = _iterator__ex2g4s_23.v();
|
|
6035
|
-
var tmp0_aid_2 = tmp0_10.
|
|
6035
|
+
var tmp0_aid_2 = tmp0_10.tfu_1.f7h();
|
|
6036
6036
|
// Inline function 'kotlin.collections.map' call
|
|
6037
6037
|
// Inline function 'kotlin.collections.mapTo' call
|
|
6038
6038
|
var destination_24 = ArrayList_init_$Create$(collectionSizeOrDefault(tmp4_5, 10));
|
|
@@ -6052,7 +6052,7 @@
|
|
|
6052
6052
|
}
|
|
6053
6053
|
}
|
|
6054
6054
|
var tmp_7 = destination_23;
|
|
6055
|
-
var tmp0_11 = this.
|
|
6055
|
+
var tmp0_11 = this.wfu_1;
|
|
6056
6056
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createSpectatorBroadcastFromTable' call
|
|
6057
6057
|
var table_1 = state.s7w();
|
|
6058
6058
|
var tmp2_6 = table_1.id;
|
|
@@ -6084,7 +6084,7 @@
|
|
|
6084
6084
|
tmp$ret$136 = emptyList();
|
|
6085
6085
|
break $l$block_2;
|
|
6086
6086
|
}
|
|
6087
|
-
var aid_0 = tmp0_11.
|
|
6087
|
+
var aid_0 = tmp0_11.tfu_1.f7h();
|
|
6088
6088
|
var tmp_8 = first(destination_26);
|
|
6089
6089
|
var payload_0 = new UserActionPayload(aid_0, tmp2_6, tmp4_6, tmp_8, ServerMapMechanicToClientActionMiddleware$middleware$o$handle$lambda_2(destination_25, tmp4_6));
|
|
6090
6090
|
var tmp0_elvis_lhs_0 = mapToClient_11(action_0, payload_0);
|
|
@@ -6103,7 +6103,7 @@
|
|
|
6103
6103
|
tmp = plus(tmp_7, tmp$ret$138);
|
|
6104
6104
|
} else {
|
|
6105
6105
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
6106
|
-
var tmp0_12 = this.
|
|
6106
|
+
var tmp0_12 = this.wfu_1;
|
|
6107
6107
|
var tmp2_7 = state.s7w().id;
|
|
6108
6108
|
var tmp4_7 = state.s7w().playersConnections;
|
|
6109
6109
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
@@ -6135,7 +6135,7 @@
|
|
|
6135
6135
|
var _iterator__ex2g4s_29 = destination_28.t();
|
|
6136
6136
|
while (_iterator__ex2g4s_29.u()) {
|
|
6137
6137
|
var element_10 = _iterator__ex2g4s_29.v();
|
|
6138
|
-
var tmp0_aid_3 = tmp0_12.
|
|
6138
|
+
var tmp0_aid_3 = tmp0_12.tfu_1.f7h();
|
|
6139
6139
|
// Inline function 'kotlin.collections.map' call
|
|
6140
6140
|
// Inline function 'kotlin.collections.mapTo' call
|
|
6141
6141
|
var destination_30 = ArrayList_init_$Create$(collectionSizeOrDefault(tmp4_7, 10));
|
|
@@ -6147,7 +6147,7 @@
|
|
|
6147
6147
|
}
|
|
6148
6148
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tmp2_7, gameCreatorPlayerId_1, element_10, destination_30);
|
|
6149
6149
|
var tmp_10;
|
|
6150
|
-
if (this.
|
|
6150
|
+
if (this.wfu_1.sfu_1.supportBackwardActions && getPlayer(state.s7w().players, sendToPlayer_8.s8o_1).j80_1.p85_1) {
|
|
6151
6151
|
tmp_10 = null;
|
|
6152
6152
|
} else {
|
|
6153
6153
|
tmp_10 = mapToClient_10(action_0, sendToPlayer_8);
|
|
@@ -6161,7 +6161,7 @@
|
|
|
6161
6161
|
}
|
|
6162
6162
|
}
|
|
6163
6163
|
var tmp_11 = destination_29;
|
|
6164
|
-
var tmp0_13 = this.
|
|
6164
|
+
var tmp0_13 = this.wfu_1;
|
|
6165
6165
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createSpectatorBroadcastFromTable' call
|
|
6166
6166
|
var table_2 = state.s7w();
|
|
6167
6167
|
var tmp2_8 = table_2.id;
|
|
@@ -6193,7 +6193,7 @@
|
|
|
6193
6193
|
tmp$ret$164 = emptyList();
|
|
6194
6194
|
break $l$block_4;
|
|
6195
6195
|
}
|
|
6196
|
-
var aid_1 = tmp0_13.
|
|
6196
|
+
var aid_1 = tmp0_13.tfu_1.f7h();
|
|
6197
6197
|
var tmp_12 = first(destination_32);
|
|
6198
6198
|
var payload_1 = new UserActionPayload(aid_1, tmp2_8, tmp4_8, tmp_12, ServerMapMechanicToClientActionMiddleware$middleware$o$handle$lambda_3(destination_31, tmp4_8));
|
|
6199
6199
|
var tmp0_elvis_lhs_1 = mapToClient_10(action_0, payload_1);
|
|
@@ -6212,81 +6212,81 @@
|
|
|
6212
6212
|
tmp = plus(tmp_11, tmp$ret$166);
|
|
6213
6213
|
} else {
|
|
6214
6214
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
6215
|
-
var tmp0_14 = this.
|
|
6215
|
+
var tmp0_14 = this.wfu_1;
|
|
6216
6216
|
var tmp2_9 = state.s7w().id;
|
|
6217
6217
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
6218
|
-
var exceptPlayerId = this.
|
|
6219
|
-
var sendToPlayer_9 = new RoomActionPayload(tmp0_14.
|
|
6218
|
+
var exceptPlayerId = this.wfu_1.sfu_1.supportBackwardActions ? action_0.y9f_1 : null;
|
|
6219
|
+
var sendToPlayer_9 = new RoomActionPayload(tmp0_14.tfu_1.f7h(), tmp2_9, exceptPlayerId);
|
|
6220
6220
|
var tmp$ret$167 = mapToClient_9(action_0, sendToPlayer_9);
|
|
6221
6221
|
tmp = listOfNotNull(tmp$ret$167);
|
|
6222
6222
|
} else {
|
|
6223
6223
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
6224
|
-
var tmp0_15 = this.
|
|
6224
|
+
var tmp0_15 = this.wfu_1;
|
|
6225
6225
|
var tmp2_10 = state.s7w().id;
|
|
6226
6226
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
6227
|
-
var exceptPlayerId_0 = this.
|
|
6228
|
-
var sendToPlayer_10 = new RoomActionPayload(tmp0_15.
|
|
6227
|
+
var exceptPlayerId_0 = this.wfu_1.sfu_1.supportBackwardActions ? action_0.c9g_1 : null;
|
|
6228
|
+
var sendToPlayer_10 = new RoomActionPayload(tmp0_15.tfu_1.f7h(), tmp2_10, exceptPlayerId_0);
|
|
6229
6229
|
var tmp$ret$169 = mapToClient_8(action_0, sendToPlayer_10);
|
|
6230
6230
|
tmp = listOfNotNull(tmp$ret$169);
|
|
6231
6231
|
} else {
|
|
6232
6232
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
6233
|
-
var tmp0_16 = this.
|
|
6233
|
+
var tmp0_16 = this.wfu_1;
|
|
6234
6234
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
6235
6235
|
var tableId_4 = state.s7w().id;
|
|
6236
|
-
var sendToPlayer_11 = new RoomActionPayload(tmp0_16.
|
|
6236
|
+
var sendToPlayer_11 = new RoomActionPayload(tmp0_16.tfu_1.f7h(), tableId_4, null);
|
|
6237
6237
|
var tmp$ret$171 = mapToClient_7(action_0, sendToPlayer_11);
|
|
6238
6238
|
tmp = listOfNotNull(tmp$ret$171);
|
|
6239
6239
|
} else {
|
|
6240
6240
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
6241
|
-
var tmp0_17 = this.
|
|
6241
|
+
var tmp0_17 = this.wfu_1;
|
|
6242
6242
|
var tmp2_11 = state.s7w().id;
|
|
6243
6243
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
6244
|
-
var exceptPlayerId_1 = this.
|
|
6245
|
-
var sendToPlayer_12 = new RoomActionPayload(tmp0_17.
|
|
6244
|
+
var exceptPlayerId_1 = this.wfu_1.sfu_1.supportBackwardActions ? action_0.j9g_1 : null;
|
|
6245
|
+
var sendToPlayer_12 = new RoomActionPayload(tmp0_17.tfu_1.f7h(), tmp2_11, exceptPlayerId_1);
|
|
6246
6246
|
var tmp$ret$173 = mapToClient_6(action_0, sendToPlayer_12);
|
|
6247
6247
|
tmp = listOfNotNull(tmp$ret$173);
|
|
6248
6248
|
} else {
|
|
6249
6249
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
6250
|
-
var tmp0_18 = this.
|
|
6250
|
+
var tmp0_18 = this.wfu_1;
|
|
6251
6251
|
var tmp2_12 = state.s7w().id;
|
|
6252
6252
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
6253
|
-
var exceptPlayerId_2 = this.
|
|
6254
|
-
var sendToPlayer_13 = new RoomActionPayload(tmp0_18.
|
|
6253
|
+
var exceptPlayerId_2 = this.wfu_1.sfu_1.supportBackwardActions ? action_0.o9g_1 : null;
|
|
6254
|
+
var sendToPlayer_13 = new RoomActionPayload(tmp0_18.tfu_1.f7h(), tmp2_12, exceptPlayerId_2);
|
|
6255
6255
|
var tmp$ret$175 = mapToClient_5(action_0, sendToPlayer_13);
|
|
6256
6256
|
tmp = listOfNotNull(tmp$ret$175);
|
|
6257
6257
|
} else {
|
|
6258
6258
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
6259
|
-
var tmp0_19 = this.
|
|
6259
|
+
var tmp0_19 = this.wfu_1;
|
|
6260
6260
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
6261
6261
|
var tableId_5 = state.s7w().id;
|
|
6262
|
-
var sendToPlayer_14 = new RoomActionPayload(tmp0_19.
|
|
6262
|
+
var sendToPlayer_14 = new RoomActionPayload(tmp0_19.tfu_1.f7h(), tableId_5, null);
|
|
6263
6263
|
var tmp$ret$177 = mapToClient_4(action_0, sendToPlayer_14);
|
|
6264
6264
|
tmp = listOfNotNull(tmp$ret$177);
|
|
6265
6265
|
} else {
|
|
6266
6266
|
if (action_0 instanceof TakeAllRemainingCardsMechanicAction) {
|
|
6267
|
-
var tmp0_20 = this.
|
|
6267
|
+
var tmp0_20 = this.wfu_1;
|
|
6268
6268
|
var tmp2_13 = state.s7w().id;
|
|
6269
6269
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
6270
|
-
var exceptPlayerId_3 = this.
|
|
6271
|
-
var sendToPlayer_15 = new RoomActionPayload(tmp0_20.
|
|
6270
|
+
var exceptPlayerId_3 = this.wfu_1.sfu_1.supportBackwardActions ? action_0.v9g_1 : null;
|
|
6271
|
+
var sendToPlayer_15 = new RoomActionPayload(tmp0_20.tfu_1.f7h(), tmp2_13, exceptPlayerId_3);
|
|
6272
6272
|
var tmp$ret$179 = mapToClient_3(action_0, sendToPlayer_15);
|
|
6273
6273
|
tmp = listOfNotNull(tmp$ret$179);
|
|
6274
6274
|
} else {
|
|
6275
6275
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
6276
|
-
var tmp0_21 = this.
|
|
6276
|
+
var tmp0_21 = this.wfu_1;
|
|
6277
6277
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
6278
6278
|
var tableId_6 = state.s7w().id;
|
|
6279
|
-
var sendToPlayer_16 = new RoomActionPayload(tmp0_21.
|
|
6279
|
+
var sendToPlayer_16 = new RoomActionPayload(tmp0_21.tfu_1.f7h(), tableId_6, null);
|
|
6280
6280
|
var tmp$ret$181 = mapToClient_2(action_0, sendToPlayer_16);
|
|
6281
6281
|
tmp = listOfNotNull(tmp$ret$181);
|
|
6282
6282
|
} else {
|
|
6283
6283
|
if (action_0 instanceof MessageMechanicAction) {
|
|
6284
6284
|
var message = action_0.message;
|
|
6285
|
-
var tmp0_22 = this.
|
|
6285
|
+
var tmp0_22 = this.wfu_1;
|
|
6286
6286
|
var tmp2_14 = state.s7w().id;
|
|
6287
6287
|
var tmp_14;
|
|
6288
6288
|
var tmp_15;
|
|
6289
|
-
if (this.
|
|
6289
|
+
if (this.wfu_1.sfu_1.supportBackwardActions) {
|
|
6290
6290
|
tmp_15 = isInterface(message, UserMessage);
|
|
6291
6291
|
} else {
|
|
6292
6292
|
tmp_15 = false;
|
|
@@ -6298,16 +6298,16 @@
|
|
|
6298
6298
|
}
|
|
6299
6299
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
6300
6300
|
var exceptPlayerId_4 = tmp_14;
|
|
6301
|
-
var sendToPlayer_17 = new RoomActionPayload(tmp0_22.
|
|
6301
|
+
var sendToPlayer_17 = new RoomActionPayload(tmp0_22.tfu_1.f7h(), tmp2_14, exceptPlayerId_4);
|
|
6302
6302
|
var tmp$ret$183 = mapToClient_1(action_0, sendToPlayer_17);
|
|
6303
6303
|
tmp = listOfNotNull(tmp$ret$183);
|
|
6304
6304
|
} else {
|
|
6305
6305
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
6306
|
-
var tmp0_23 = this.
|
|
6306
|
+
var tmp0_23 = this.wfu_1;
|
|
6307
6307
|
var tmp2_15 = state.s7w().id;
|
|
6308
6308
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
6309
6309
|
var exceptPlayerId_5 = action_0.playerId;
|
|
6310
|
-
var sendToPlayer_18 = new RoomActionPayload(tmp0_23.
|
|
6310
|
+
var sendToPlayer_18 = new RoomActionPayload(tmp0_23.tfu_1.f7h(), tmp2_15, exceptPlayerId_5);
|
|
6311
6311
|
var tmp$ret$185 = mapToClient_0(action_0, sendToPlayer_18);
|
|
6312
6312
|
tmp = listOfNotNull(tmp$ret$185);
|
|
6313
6313
|
} else {
|
|
@@ -6345,9 +6345,9 @@
|
|
|
6345
6345
|
return this.j7l(store, next, action);
|
|
6346
6346
|
};
|
|
6347
6347
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider, playerConnectionInteractor) {
|
|
6348
|
-
this.
|
|
6349
|
-
this.
|
|
6350
|
-
this.
|
|
6348
|
+
this.sfu_1 = logicConfig;
|
|
6349
|
+
this.tfu_1 = idsProvider;
|
|
6350
|
+
this.ufu_1 = playerConnectionInteractor;
|
|
6351
6351
|
}
|
|
6352
6352
|
protoOf(ServerMapMechanicToClientActionMiddleware).das = function () {
|
|
6353
6353
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
@@ -6358,8 +6358,8 @@
|
|
|
6358
6358
|
return new playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1(logger, playerConnectionInteractor);
|
|
6359
6359
|
}
|
|
6360
6360
|
function playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1($logger, $playerConnectionInteractor) {
|
|
6361
|
-
this.
|
|
6362
|
-
this.
|
|
6361
|
+
this.xfu_1 = $logger;
|
|
6362
|
+
this.yfu_1 = $playerConnectionInteractor;
|
|
6363
6363
|
}
|
|
6364
6364
|
protoOf(playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1).u7j = function (action) {
|
|
6365
6365
|
return action instanceof PlayerConnectionUpdateAction;
|
|
@@ -6380,7 +6380,7 @@
|
|
|
6380
6380
|
}
|
|
6381
6381
|
}
|
|
6382
6382
|
if (player.h80_1.f7b().o79_1.isLeftPermanently) {
|
|
6383
|
-
this.
|
|
6383
|
+
this.xfu_1.w('playerConnectionUpdateMiddleware', "player connection state can't be changed after [playerLeft] is invoked, " + tmp4.toString());
|
|
6384
6384
|
break $l$block_1;
|
|
6385
6385
|
}
|
|
6386
6386
|
}
|
|
@@ -6403,7 +6403,7 @@
|
|
|
6403
6403
|
var _iterator__ex2g4s_0 = destination.t();
|
|
6404
6404
|
while (_iterator__ex2g4s_0.u()) {
|
|
6405
6405
|
var element_0 = _iterator__ex2g4s_0.v();
|
|
6406
|
-
if (element_0.
|
|
6406
|
+
if (element_0.zfu_1 === tmp4.gam_1) {
|
|
6407
6407
|
if (found) {
|
|
6408
6408
|
tmp$ret$4 = null;
|
|
6409
6409
|
break $l$block_3;
|
|
@@ -6422,7 +6422,7 @@
|
|
|
6422
6422
|
if (!(reconnectionTimerTag == null)) {
|
|
6423
6423
|
store.dispatch(new StopTimerAction(reconnectionTimerTag));
|
|
6424
6424
|
}
|
|
6425
|
-
var actions = this.
|
|
6425
|
+
var actions = this.yfu_1.mfo(tmp4.fam_1, player.h80_1.f7b().o79_1, player, store.state.s7w(), tmp4.iam_1);
|
|
6426
6426
|
// Inline function 'kotlin.collections.forEach' call
|
|
6427
6427
|
var _iterator__ex2g4s_1 = actions.t();
|
|
6428
6428
|
while (_iterator__ex2g4s_1.u()) {
|
|
@@ -6435,17 +6435,17 @@
|
|
|
6435
6435
|
return this.j7l(store, next, action);
|
|
6436
6436
|
};
|
|
6437
6437
|
function PlayerReconnectionWaitingTimerTag(playerId, state, previousState) {
|
|
6438
|
-
this.
|
|
6439
|
-
this.
|
|
6440
|
-
this.
|
|
6438
|
+
this.zfu_1 = playerId;
|
|
6439
|
+
this.afv_1 = state;
|
|
6440
|
+
this.bfv_1 = previousState;
|
|
6441
6441
|
}
|
|
6442
6442
|
protoOf(PlayerReconnectionWaitingTimerTag).toString = function () {
|
|
6443
|
-
return 'PlayerReconnectionWaitingTimerTag(playerId=' + this.
|
|
6443
|
+
return 'PlayerReconnectionWaitingTimerTag(playerId=' + this.zfu_1 + ', state=' + this.afv_1.toString() + ', previousState=' + this.bfv_1.toString() + ')';
|
|
6444
6444
|
};
|
|
6445
6445
|
protoOf(PlayerReconnectionWaitingTimerTag).hashCode = function () {
|
|
6446
|
-
var result = getStringHashCode(this.
|
|
6447
|
-
result = imul(result, 31) + this.
|
|
6448
|
-
result = imul(result, 31) + this.
|
|
6446
|
+
var result = getStringHashCode(this.zfu_1);
|
|
6447
|
+
result = imul(result, 31) + this.afv_1.hashCode() | 0;
|
|
6448
|
+
result = imul(result, 31) + this.bfv_1.hashCode() | 0;
|
|
6449
6449
|
return result;
|
|
6450
6450
|
};
|
|
6451
6451
|
protoOf(PlayerReconnectionWaitingTimerTag).equals = function (other) {
|
|
@@ -6453,11 +6453,11 @@
|
|
|
6453
6453
|
return true;
|
|
6454
6454
|
if (!(other instanceof PlayerReconnectionWaitingTimerTag))
|
|
6455
6455
|
return false;
|
|
6456
|
-
if (!(this.
|
|
6456
|
+
if (!(this.zfu_1 === other.zfu_1))
|
|
6457
6457
|
return false;
|
|
6458
|
-
if (!this.
|
|
6458
|
+
if (!this.afv_1.equals(other.afv_1))
|
|
6459
6459
|
return false;
|
|
6460
|
-
if (!this.
|
|
6460
|
+
if (!this.bfv_1.equals(other.bfv_1))
|
|
6461
6461
|
return false;
|
|
6462
6462
|
return true;
|
|
6463
6463
|
};
|
|
@@ -6466,7 +6466,7 @@
|
|
|
6466
6466
|
return new playerReconnectionTimeoutMiddleware$$inlined$middlewareForActionType$1(playerConnectionInteractor);
|
|
6467
6467
|
}
|
|
6468
6468
|
function playerReconnectionTimeoutMiddleware$$inlined$middlewareForActionType$1($playerConnectionInteractor) {
|
|
6469
|
-
this.
|
|
6469
|
+
this.cfv_1 = $playerConnectionInteractor;
|
|
6470
6470
|
}
|
|
6471
6471
|
protoOf(playerReconnectionTimeoutMiddleware$$inlined$middlewareForActionType$1).u7j = function (action) {
|
|
6472
6472
|
return action instanceof TimerTickAction;
|
|
@@ -6480,8 +6480,8 @@
|
|
|
6480
6480
|
var timerTag = tmp4.q7j_1;
|
|
6481
6481
|
if (timerTag instanceof PlayerReconnectionWaitingTimerTag) {
|
|
6482
6482
|
var state = store.state;
|
|
6483
|
-
var player = getPlayer(state.s7w().players, timerTag.
|
|
6484
|
-
var actions = this.
|
|
6483
|
+
var player = getPlayer(state.s7w().players, timerTag.zfu_1);
|
|
6484
|
+
var actions = this.cfv_1.mfo(timerTag.afv_1, timerTag.bfv_1, player, state.s7w(), true);
|
|
6485
6485
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
6486
6486
|
if (!actions.r()) {
|
|
6487
6487
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -6503,7 +6503,7 @@
|
|
|
6503
6503
|
return new playerReconnectionTimerStartWhenStartGameMiddleware$$inlined$middlewareForActionType$1(playerConnectionInteractor);
|
|
6504
6504
|
}
|
|
6505
6505
|
function playerReconnectionTimerStartWhenStartGameMiddleware$$inlined$middlewareForActionType$1($playerConnectionInteractor) {
|
|
6506
|
-
this.
|
|
6506
|
+
this.dfv_1 = $playerConnectionInteractor;
|
|
6507
6507
|
}
|
|
6508
6508
|
protoOf(playerReconnectionTimerStartWhenStartGameMiddleware$$inlined$middlewareForActionType$1).u7j = function (action) {
|
|
6509
6509
|
return isInterface(action, FirstMechanicAction);
|
|
@@ -6531,7 +6531,7 @@
|
|
|
6531
6531
|
var tmp1_previousConnectionState = element_0.h80_1.f7b().o79_1;
|
|
6532
6532
|
var tmp2_playerId = element_0.playerId;
|
|
6533
6533
|
// Inline function 'kotlin.collections.forEach' call
|
|
6534
|
-
var _iterator__ex2g4s_1 = this.
|
|
6534
|
+
var _iterator__ex2g4s_1 = this.dfv_1.nft(tmp2_playerId, tmp0_newConnectionState, tmp1_previousConnectionState).t();
|
|
6535
6535
|
while (_iterator__ex2g4s_1.u()) {
|
|
6536
6536
|
var element_1 = _iterator__ex2g4s_1.v();
|
|
6537
6537
|
store.dispatch(element_1);
|
|
@@ -6546,8 +6546,8 @@
|
|
|
6546
6546
|
return new sendToClientActionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, provider);
|
|
6547
6547
|
}
|
|
6548
6548
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
6549
|
-
this.
|
|
6550
|
-
this.
|
|
6549
|
+
this.mfv_1 = $provider;
|
|
6550
|
+
this.nfv_1 = $action;
|
|
6551
6551
|
CoroutineImpl.call(this, resultContinuation);
|
|
6552
6552
|
}
|
|
6553
6553
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).s2d = function ($this$launchDefault, $completion) {
|
|
@@ -6568,7 +6568,7 @@
|
|
|
6568
6568
|
case 0:
|
|
6569
6569
|
this.j9_1 = 2;
|
|
6570
6570
|
this.i9_1 = 1;
|
|
6571
|
-
suspendResult = this.
|
|
6571
|
+
suspendResult = this.mfv_1.hfr(this.nfv_1, this);
|
|
6572
6572
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
6573
6573
|
return suspendResult;
|
|
6574
6574
|
}
|
|
@@ -6591,8 +6591,8 @@
|
|
|
6591
6591
|
while (true);
|
|
6592
6592
|
};
|
|
6593
6593
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).t2d = function ($this$launchDefault, completion) {
|
|
6594
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
6595
|
-
i.
|
|
6594
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.mfv_1, this.nfv_1, completion);
|
|
6595
|
+
i.ofv_1 = $this$launchDefault;
|
|
6596
6596
|
return i;
|
|
6597
6597
|
};
|
|
6598
6598
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -6604,15 +6604,15 @@
|
|
|
6604
6604
|
return l;
|
|
6605
6605
|
}
|
|
6606
6606
|
function sendToClientActionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $provider) {
|
|
6607
|
-
this.
|
|
6608
|
-
this.
|
|
6607
|
+
this.pfv_1 = $asyncProvider;
|
|
6608
|
+
this.qfv_1 = $provider;
|
|
6609
6609
|
}
|
|
6610
6610
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).u7j = function (action) {
|
|
6611
6611
|
return action instanceof ToClientAction;
|
|
6612
6612
|
};
|
|
6613
6613
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).j7l = function (store, next, action) {
|
|
6614
6614
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
6615
|
-
this.
|
|
6615
|
+
this.pfv_1.k7f(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.qfv_1, action_0, null));
|
|
6616
6616
|
next(action_0);
|
|
6617
6617
|
};
|
|
6618
6618
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).t7j = function (store, next, action) {
|
|
@@ -6623,11 +6623,11 @@
|
|
|
6623
6623
|
return new playerTurnTimeoutWhenHasConnectionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, serverConfig, logger);
|
|
6624
6624
|
}
|
|
6625
6625
|
function playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda($store, $timerTag, $serverConfig, $logger, $action, resultContinuation) {
|
|
6626
|
-
this.
|
|
6627
|
-
this.
|
|
6628
|
-
this.
|
|
6629
|
-
this.
|
|
6630
|
-
this.
|
|
6626
|
+
this.zfv_1 = $store;
|
|
6627
|
+
this.afw_1 = $timerTag;
|
|
6628
|
+
this.bfw_1 = $serverConfig;
|
|
6629
|
+
this.cfw_1 = $logger;
|
|
6630
|
+
this.dfw_1 = $action;
|
|
6631
6631
|
CoroutineImpl.call(this, resultContinuation);
|
|
6632
6632
|
}
|
|
6633
6633
|
protoOf(playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda).s2d = function ($this$launchDefaultWithLock, $completion) {
|
|
@@ -6646,13 +6646,13 @@
|
|
|
6646
6646
|
var tmp = this.i9_1;
|
|
6647
6647
|
if (tmp === 0) {
|
|
6648
6648
|
this.j9_1 = 1;
|
|
6649
|
-
var table = this.
|
|
6650
|
-
var player = getPlayer(table.players, this.
|
|
6649
|
+
var table = this.zfv_1.state.s7w();
|
|
6650
|
+
var player = getPlayer(table.players, this.afw_1.b78());
|
|
6651
6651
|
var connectionState = player.h80_1.f7b().o79_1;
|
|
6652
6652
|
var tmp_0;
|
|
6653
6653
|
switch (connectionState.a1_1) {
|
|
6654
6654
|
case 1:
|
|
6655
|
-
tmp_0 = listOf(new PlayerConnectionUpdateAction(PlayerConnectionState_TIMEOUT_getInstance(), player.playerId, VOID, this.
|
|
6655
|
+
tmp_0 = listOf(new PlayerConnectionUpdateAction(PlayerConnectionState_TIMEOUT_getInstance(), player.playerId, VOID, this.afw_1.fb0_1));
|
|
6656
6656
|
break;
|
|
6657
6657
|
case 6:
|
|
6658
6658
|
tmp_0 = emptyList();
|
|
@@ -6663,8 +6663,8 @@
|
|
|
6663
6663
|
case 2:
|
|
6664
6664
|
case 0:
|
|
6665
6665
|
var tmp_1;
|
|
6666
|
-
if (table.sceneInfo.b8o() && this.
|
|
6667
|
-
tmp_1 = new PlayerConnectionUpdateAction(PlayerConnectionState_DELETED_getInstance(), player.playerId, VOID, this.
|
|
6666
|
+
if (table.sceneInfo.b8o() && this.bfw_1.closeIfBotsAtFinish) {
|
|
6667
|
+
tmp_1 = new PlayerConnectionUpdateAction(PlayerConnectionState_DELETED_getInstance(), player.playerId, VOID, this.afw_1.fb0_1);
|
|
6668
6668
|
} else {
|
|
6669
6669
|
tmp_1 = AskBotAction_init_$Create$(player.playerId, 'PlayerTurn when connection state = ' + connectionState.toString());
|
|
6670
6670
|
}
|
|
@@ -6672,7 +6672,7 @@
|
|
|
6672
6672
|
tmp_0 = listOf(tmp_1);
|
|
6673
6673
|
break;
|
|
6674
6674
|
case 7:
|
|
6675
|
-
this.
|
|
6675
|
+
this.cfw_1.w('playerTurnTimeoutWhenHasConnectionMiddleware', "Can't support this state " + connectionState.toString() + ', ' + ('action:' + this.dfw_1.toString()));
|
|
6676
6676
|
tmp_0 = emptyList();
|
|
6677
6677
|
break;
|
|
6678
6678
|
default:
|
|
@@ -6684,7 +6684,7 @@
|
|
|
6684
6684
|
var _iterator__ex2g4s = actions.t();
|
|
6685
6685
|
while (_iterator__ex2g4s.u()) {
|
|
6686
6686
|
var element = _iterator__ex2g4s.v();
|
|
6687
|
-
this.
|
|
6687
|
+
this.zfv_1.dispatch(element);
|
|
6688
6688
|
}
|
|
6689
6689
|
}
|
|
6690
6690
|
return Unit_instance;
|
|
@@ -6698,8 +6698,8 @@
|
|
|
6698
6698
|
while (true);
|
|
6699
6699
|
};
|
|
6700
6700
|
protoOf(playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda).t2d = function ($this$launchDefaultWithLock, completion) {
|
|
6701
|
-
var i = new playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda(this.
|
|
6702
|
-
i.
|
|
6701
|
+
var i = new playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda(this.zfv_1, this.afw_1, this.bfw_1, this.cfw_1, this.dfw_1, completion);
|
|
6702
|
+
i.efw_1 = $this$launchDefaultWithLock;
|
|
6703
6703
|
return i;
|
|
6704
6704
|
};
|
|
6705
6705
|
function playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda_0($store, $timerTag, $serverConfig, $logger, $action, resultContinuation) {
|
|
@@ -6711,9 +6711,9 @@
|
|
|
6711
6711
|
return l;
|
|
6712
6712
|
}
|
|
6713
6713
|
function playerTurnTimeoutWhenHasConnectionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $serverConfig, $logger) {
|
|
6714
|
-
this.
|
|
6715
|
-
this.
|
|
6716
|
-
this.
|
|
6714
|
+
this.ffw_1 = $asyncProvider;
|
|
6715
|
+
this.gfw_1 = $serverConfig;
|
|
6716
|
+
this.hfw_1 = $logger;
|
|
6717
6717
|
}
|
|
6718
6718
|
protoOf(playerTurnTimeoutWhenHasConnectionMiddleware$$inlined$middlewareForActionType$1).u7j = function (action) {
|
|
6719
6719
|
return action instanceof TimerTickAction;
|
|
@@ -6722,7 +6722,7 @@
|
|
|
6722
6722
|
var action_0 = action instanceof TimerTickAction ? action : THROW_CCE();
|
|
6723
6723
|
var timerTag = action_0.q7j_1;
|
|
6724
6724
|
if (timerTag instanceof PlayerTurnTimerTag) {
|
|
6725
|
-
this.
|
|
6725
|
+
this.ffw_1.m7f(VOID, playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda_0(store, timerTag, this.gfw_1, this.hfw_1, action_0, null));
|
|
6726
6726
|
}
|
|
6727
6727
|
next(action_0);
|
|
6728
6728
|
};
|
|
@@ -6740,7 +6740,7 @@
|
|
|
6740
6740
|
};
|
|
6741
6741
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).ob2 = function (state, action) {
|
|
6742
6742
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
6743
|
-
return state.aam(VOID, get_serverStatePayload(state).copy(action_0.
|
|
6743
|
+
return state.aam(VOID, get_serverStatePayload(state).copy(action_0.wft_1));
|
|
6744
6744
|
};
|
|
6745
6745
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).k7l = function (state, action) {
|
|
6746
6746
|
return this.ob2((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
@@ -6750,7 +6750,7 @@
|
|
|
6750
6750
|
return _this__u8e3s4.metadata;
|
|
6751
6751
|
}
|
|
6752
6752
|
function Companion_5() {
|
|
6753
|
-
this.
|
|
6753
|
+
this.ifw_1 = 'ServerMechanicLifecycleReducer';
|
|
6754
6754
|
}
|
|
6755
6755
|
var Companion_instance_16;
|
|
6756
6756
|
function Companion_getInstance_6() {
|
|
@@ -6758,17 +6758,17 @@
|
|
|
6758
6758
|
}
|
|
6759
6759
|
function ServerMechanicLifecycleReducer$onStart$lambda(this$0, $updatedServerPayload) {
|
|
6760
6760
|
return function (it) {
|
|
6761
|
-
return Companion_instance_4.b7b(this$0.
|
|
6761
|
+
return Companion_instance_4.b7b(this$0.mfw_1.qft(it.isBot, it.p78_1, $updatedServerPayload.connectedPlayers));
|
|
6762
6762
|
};
|
|
6763
6763
|
}
|
|
6764
6764
|
function ServerMechanicLifecycleReducer(logger, connectionInteractor, tableLifecycleReducer, randomPoolProvider) {
|
|
6765
6765
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
6766
|
-
this.
|
|
6767
|
-
this.
|
|
6766
|
+
this.lfw_1 = logger;
|
|
6767
|
+
this.mfw_1 = connectionInteractor;
|
|
6768
6768
|
}
|
|
6769
6769
|
protoOf(ServerMechanicLifecycleReducer).fb4 = function (state, action) {
|
|
6770
6770
|
var serverState = get_serverStatePayload(state);
|
|
6771
|
-
this.
|
|
6771
|
+
this.lfw_1.d('ServerMechanicLifecycleReducer', 'onStart ' + get_versionOrDefault(GameEngineConfig_instance) + ', connectedPlayers: ' + toString(serverState.connectedPlayers), action);
|
|
6772
6772
|
var tableId = action.v9e_1;
|
|
6773
6773
|
var updatedServerPayload = serverState.copy(VOID, addRoomMetadata(this, serverState, tableId));
|
|
6774
6774
|
var tmp6_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
@@ -6782,7 +6782,7 @@
|
|
|
6782
6782
|
return state.aam(tmp7_tableOrNull, updatedServerPayload, tmp6_gameLifecycleState);
|
|
6783
6783
|
};
|
|
6784
6784
|
protoOf(ServerMechanicLifecycleReducer).db4 = function (state, action) {
|
|
6785
|
-
this.
|
|
6785
|
+
this.lfw_1.d('ServerMechanicLifecycleReducer', 'onContinue ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
6786
6786
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
6787
6787
|
var tmp2_tableOrNull = action.table;
|
|
6788
6788
|
var tmp = Companion_instance_17;
|
|
@@ -6804,7 +6804,7 @@
|
|
|
6804
6804
|
return new spectatorsReducer$$inlined$reducerForActionType$1(logger);
|
|
6805
6805
|
}
|
|
6806
6806
|
function spectatorsReducer$$inlined$reducerForActionType$1($logger) {
|
|
6807
|
-
this.
|
|
6807
|
+
this.nfw_1 = $logger;
|
|
6808
6808
|
}
|
|
6809
6809
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).u7j = function (action) {
|
|
6810
6810
|
return isInterface(action, SpectatorsAction);
|
|
@@ -6815,7 +6815,7 @@
|
|
|
6815
6815
|
var tmp;
|
|
6816
6816
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
6817
6817
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
6818
|
-
var tmp0 = action_0.
|
|
6818
|
+
var tmp0 = action_0.xft_1;
|
|
6819
6819
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
6820
6820
|
var destination = ArrayList_init_$Create$_0();
|
|
6821
6821
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -6834,9 +6834,9 @@
|
|
|
6834
6834
|
var tmp_0;
|
|
6835
6835
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
6836
6836
|
if (!sameSpectators.r()) {
|
|
6837
|
-
this.
|
|
6837
|
+
this.nfw_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
6838
6838
|
// Inline function 'kotlin.collections.filterNot' call
|
|
6839
|
-
var tmp0_0 = action_0.
|
|
6839
|
+
var tmp0_0 = action_0.xft_1;
|
|
6840
6840
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
6841
6841
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
6842
6842
|
var _iterator__ex2g4s_0 = tmp0_0.t();
|
|
@@ -6871,7 +6871,7 @@
|
|
|
6871
6871
|
}
|
|
6872
6872
|
tmp_0 = destination_0;
|
|
6873
6873
|
} else {
|
|
6874
|
-
tmp_0 = action_0.
|
|
6874
|
+
tmp_0 = action_0.xft_1;
|
|
6875
6875
|
}
|
|
6876
6876
|
// Inline function 'kotlin.collections.map' call
|
|
6877
6877
|
var this_0 = tmp_0;
|
|
@@ -6888,7 +6888,7 @@
|
|
|
6888
6888
|
} else {
|
|
6889
6889
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
6890
6890
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
6891
|
-
var tmp0_1 = action_0.
|
|
6891
|
+
var tmp0_1 = action_0.yft_1;
|
|
6892
6892
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
6893
6893
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
6894
6894
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -6907,9 +6907,9 @@
|
|
|
6907
6907
|
var tmp_2;
|
|
6908
6908
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
6909
6909
|
if (!sameSpectators_0.r()) {
|
|
6910
|
-
this.
|
|
6910
|
+
this.nfw_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
6911
6911
|
// Inline function 'kotlin.collections.filterNot' call
|
|
6912
|
-
var tmp0_2 = action_0.
|
|
6912
|
+
var tmp0_2 = action_0.yft_1;
|
|
6913
6913
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
6914
6914
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
6915
6915
|
var _iterator__ex2g4s_4 = tmp0_2.t();
|
|
@@ -6944,7 +6944,7 @@
|
|
|
6944
6944
|
}
|
|
6945
6945
|
tmp_2 = destination_3;
|
|
6946
6946
|
} else {
|
|
6947
|
-
tmp_2 = action_0.
|
|
6947
|
+
tmp_2 = action_0.yft_1;
|
|
6948
6948
|
}
|
|
6949
6949
|
var spectatorsToRemove = toSet(tmp_2);
|
|
6950
6950
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -7016,13 +7016,13 @@
|
|
|
7016
7016
|
};
|
|
7017
7017
|
function Companion_6() {
|
|
7018
7018
|
}
|
|
7019
|
-
protoOf(Companion_6).
|
|
7019
|
+
protoOf(Companion_6).ofw = function (config, metadata) {
|
|
7020
7020
|
return new ServerStatePayload(config, metadata, emptyList());
|
|
7021
7021
|
};
|
|
7022
7022
|
protoOf(Companion_6).initial = function (config, metadata, $super) {
|
|
7023
7023
|
config = config === VOID ? Companion_instance_11.initial(null) : config;
|
|
7024
7024
|
metadata = metadata === VOID ? new RoomMetadata() : metadata;
|
|
7025
|
-
return $super === VOID ? this.
|
|
7025
|
+
return $super === VOID ? this.ofw(config, metadata) : $super.ofw.call(this, config, metadata);
|
|
7026
7026
|
};
|
|
7027
7027
|
var Companion_instance_17;
|
|
7028
7028
|
function Companion_getInstance_7() {
|
|
@@ -7039,7 +7039,7 @@
|
|
|
7039
7039
|
protoOf(ServerStatePayload).ca5 = function () {
|
|
7040
7040
|
return this.metadata;
|
|
7041
7041
|
};
|
|
7042
|
-
protoOf(ServerStatePayload).
|
|
7042
|
+
protoOf(ServerStatePayload).pfw = function () {
|
|
7043
7043
|
return this.connectedPlayers;
|
|
7044
7044
|
};
|
|
7045
7045
|
protoOf(ServerStatePayload).jg = function () {
|
|
@@ -7051,14 +7051,14 @@
|
|
|
7051
7051
|
protoOf(ServerStatePayload).ro = function () {
|
|
7052
7052
|
return this.connectedPlayers;
|
|
7053
7053
|
};
|
|
7054
|
-
protoOf(ServerStatePayload).
|
|
7054
|
+
protoOf(ServerStatePayload).qfw = function (config, metadata, connectedPlayers) {
|
|
7055
7055
|
return new ServerStatePayload(config, metadata, connectedPlayers);
|
|
7056
7056
|
};
|
|
7057
7057
|
protoOf(ServerStatePayload).copy = function (config, metadata, connectedPlayers, $super) {
|
|
7058
7058
|
config = config === VOID ? this.config : config;
|
|
7059
7059
|
metadata = metadata === VOID ? this.metadata : metadata;
|
|
7060
7060
|
connectedPlayers = connectedPlayers === VOID ? this.connectedPlayers : connectedPlayers;
|
|
7061
|
-
return $super === VOID ? this.
|
|
7061
|
+
return $super === VOID ? this.qfw(config, metadata, connectedPlayers) : $super.qfw.call(this, config, metadata, connectedPlayers);
|
|
7062
7062
|
};
|
|
7063
7063
|
protoOf(ServerStatePayload).toString = function () {
|
|
7064
7064
|
return 'ServerStatePayload(config=' + this.config.toString() + ', metadata=' + toString(this.metadata) + ', connectedPlayers=' + toString(this.connectedPlayers) + ')';
|
|
@@ -7123,14 +7123,14 @@
|
|
|
7123
7123
|
return new GameServerEngineControllerImpl(loggerCallback, randomOrgConfig);
|
|
7124
7124
|
}
|
|
7125
7125
|
function _get_logger__rkp4sl_0($this) {
|
|
7126
|
-
var tmp0 = $this.
|
|
7126
|
+
var tmp0 = $this.afx_1;
|
|
7127
7127
|
var tmp = KProperty1;
|
|
7128
7128
|
// Inline function 'kotlin.getValue' call
|
|
7129
7129
|
getPropertyCallableRef('logger', 1, tmp, GameServerEngineControllerImpl$_get_logger_$ref_b9j0th(), null);
|
|
7130
7130
|
return tmp0.o1();
|
|
7131
7131
|
}
|
|
7132
7132
|
function _get_di__ndbzja($this) {
|
|
7133
|
-
var tmp0 = $this.
|
|
7133
|
+
var tmp0 = $this.bfx_1;
|
|
7134
7134
|
var tmp = KProperty1;
|
|
7135
7135
|
// Inline function 'kotlin.getValue' call
|
|
7136
7136
|
getPropertyCallableRef('di', 1, tmp, GameServerEngineControllerImpl$_get_di_$ref_cvlqo6(), null);
|
|
@@ -7147,8 +7147,8 @@
|
|
|
7147
7147
|
}
|
|
7148
7148
|
function createCallbackOutput($this, gameServer) {
|
|
7149
7149
|
var tmp;
|
|
7150
|
-
if (!($this.
|
|
7151
|
-
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.
|
|
7150
|
+
if (!($this.xfw_1 == null)) {
|
|
7151
|
+
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.xfw_1);
|
|
7152
7152
|
tmp = new CallbackWrapperLoggerOutput(tmp_0, GameServerEngineControllerImpl$createCallbackOutput$lambda(gameServer));
|
|
7153
7153
|
} else {
|
|
7154
7154
|
tmp = null;
|
|
@@ -7162,11 +7162,11 @@
|
|
|
7162
7162
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
7163
7163
|
return function () {
|
|
7164
7164
|
var tmp;
|
|
7165
|
-
if (this$0.
|
|
7165
|
+
if (this$0.xfw_1 == null) {
|
|
7166
7166
|
tmp = null;
|
|
7167
7167
|
} else {
|
|
7168
7168
|
// Inline function 'kotlin.let' call
|
|
7169
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
7169
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.xfw_1)]));
|
|
7170
7170
|
}
|
|
7171
7171
|
var tmp1_elvis_lhs = tmp;
|
|
7172
7172
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -7199,7 +7199,7 @@
|
|
|
7199
7199
|
tmp_0.a1i(tmp$ret$3);
|
|
7200
7200
|
$this$DI.z1d(jsonModule());
|
|
7201
7201
|
$this$DI.z1d(serverHelpersModule());
|
|
7202
|
-
$this$DI.z1d(randomOrgModule(this$0.
|
|
7202
|
+
$this$DI.z1d(randomOrgModule(this$0.yfw_1));
|
|
7203
7203
|
return Unit_instance;
|
|
7204
7204
|
};
|
|
7205
7205
|
}
|
|
@@ -7275,13 +7275,13 @@
|
|
|
7275
7275
|
};
|
|
7276
7276
|
}
|
|
7277
7277
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1($reducer) {
|
|
7278
|
-
this.
|
|
7278
|
+
this.ifx_1 = $reducer;
|
|
7279
7279
|
}
|
|
7280
7280
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).u7j = function (action) {
|
|
7281
7281
|
return isInterface(action, Action);
|
|
7282
7282
|
};
|
|
7283
7283
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).ob2 = function (state, action) {
|
|
7284
|
-
return this.
|
|
7284
|
+
return this.ifx_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
7285
7285
|
};
|
|
7286
7286
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).k7l = function (state, action) {
|
|
7287
7287
|
return this.ob2((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
@@ -7385,18 +7385,18 @@
|
|
|
7385
7385
|
// Inline function 'kotlin.let' call
|
|
7386
7386
|
$this$DI.z1d(tmp0_safe_receiver);
|
|
7387
7387
|
}
|
|
7388
|
-
$this$DI.z1d(dealerModule(this$0.randomPoolProvider, this$0.
|
|
7388
|
+
$this$DI.z1d(dealerModule(this$0.randomPoolProvider, this$0.yfw_1));
|
|
7389
7389
|
$this$DI.z1d(coreModule($coreConfig));
|
|
7390
|
-
$this$DI.z1d(createGameServerDI($serverConfig, $logicConfig, $engineBotConfig, $dealerConfig, $ratingConfig, $leaguesConfig, $externalReducers, $externalMiddlewares, this$0.
|
|
7390
|
+
$this$DI.z1d(createGameServerDI($serverConfig, $logicConfig, $engineBotConfig, $dealerConfig, $ratingConfig, $leaguesConfig, $externalReducers, $externalMiddlewares, this$0.zfw_1.rbb() ? this$0.zfw_1 : null));
|
|
7391
7391
|
return Unit_instance;
|
|
7392
7392
|
};
|
|
7393
7393
|
}
|
|
7394
7394
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
7395
7395
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
7396
7396
|
production = production === VOID ? true : production;
|
|
7397
|
-
this.
|
|
7398
|
-
this.
|
|
7399
|
-
this.
|
|
7397
|
+
this.xfw_1 = loggerCallback;
|
|
7398
|
+
this.yfw_1 = randomOrgConfig;
|
|
7399
|
+
this.zfw_1 = new BotModelRegistry();
|
|
7400
7400
|
var tmp = AppEnvironment_getInstance();
|
|
7401
7401
|
var tmp_0;
|
|
7402
7402
|
if (production) {
|
|
@@ -7406,9 +7406,9 @@
|
|
|
7406
7406
|
}
|
|
7407
7407
|
tmp.x7q(tmp_0);
|
|
7408
7408
|
var tmp_1 = this;
|
|
7409
|
-
tmp_1.
|
|
7409
|
+
tmp_1.afx_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
7410
7410
|
var tmp_2 = this;
|
|
7411
|
-
tmp_2.
|
|
7411
|
+
tmp_2.bfx_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
7412
7412
|
var tmp_3 = this;
|
|
7413
7413
|
// Inline function 'org.kodein.di.instance' call
|
|
7414
7414
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -7417,7 +7417,7 @@
|
|
|
7417
7417
|
var tmp$ret$0 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
7418
7418
|
var tmp_5 = Instance(this_0, tmp$ret$0, null);
|
|
7419
7419
|
var tmp_6 = KProperty1;
|
|
7420
|
-
tmp_3.
|
|
7420
|
+
tmp_3.cfx_1 = tmp_5.x1j(this, getPropertyCallableRef('parser', 1, tmp_6, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w(), null));
|
|
7421
7421
|
var tmp_7 = this;
|
|
7422
7422
|
// Inline function 'org.kodein.di.instance' call
|
|
7423
7423
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -7426,7 +7426,7 @@
|
|
|
7426
7426
|
var tmp$ret$2 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
7427
7427
|
var tmp_9 = Instance(this_1, tmp$ret$2, null);
|
|
7428
7428
|
var tmp_10 = KProperty1;
|
|
7429
|
-
tmp_7.
|
|
7429
|
+
tmp_7.dfx_1 = tmp_9.x1j(this, getPropertyCallableRef('helper', 1, tmp_10, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f(), null));
|
|
7430
7430
|
var tmp_11 = this;
|
|
7431
7431
|
// Inline function 'org.kodein.di.instance' call
|
|
7432
7432
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -7435,7 +7435,7 @@
|
|
|
7435
7435
|
var tmp$ret$4 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
7436
7436
|
var tmp_13 = Instance(this_2, tmp$ret$4, null);
|
|
7437
7437
|
var tmp_14 = KProperty1;
|
|
7438
|
-
tmp_11.
|
|
7438
|
+
tmp_11.efx_1 = tmp_13.x1j(this, getPropertyCallableRef('serverHelper', 1, tmp_14, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre(), null));
|
|
7439
7439
|
var tmp_15 = this;
|
|
7440
7440
|
// Inline function 'org.kodein.di.instance' call
|
|
7441
7441
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -7444,7 +7444,7 @@
|
|
|
7444
7444
|
var tmp$ret$6 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
7445
7445
|
var tmp_17 = Instance(this_3, tmp$ret$6, null);
|
|
7446
7446
|
var tmp_18 = KProperty1;
|
|
7447
|
-
tmp_15.
|
|
7447
|
+
tmp_15.ffx_1 = tmp_17.x1j(this, getPropertyCallableRef('resources', 1, tmp_18, GameServerEngineControllerImpl$_get_resources_$ref_dt6416(), null));
|
|
7448
7448
|
var tmp_19 = this;
|
|
7449
7449
|
// Inline function 'org.kodein.di.instance' call
|
|
7450
7450
|
var this_4 = _get_di__ndbzja(this);
|
|
@@ -7453,7 +7453,7 @@
|
|
|
7453
7453
|
var tmp$ret$8 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
7454
7454
|
var tmp_21 = Instance(this_4, tmp$ret$8, null);
|
|
7455
7455
|
var tmp_22 = KProperty1;
|
|
7456
|
-
tmp_19.
|
|
7456
|
+
tmp_19.gfx_1 = tmp_21.x1j(this, getPropertyCallableRef('test', 1, tmp_22, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5(), null));
|
|
7457
7457
|
var tmp_23 = this;
|
|
7458
7458
|
// Inline function 'org.kodein.di.instance' call
|
|
7459
7459
|
var this_5 = _get_di__ndbzja(this);
|
|
@@ -7462,52 +7462,52 @@
|
|
|
7462
7462
|
var tmp$ret$10 = isInterface(tmp_24, TypeToken) ? tmp_24 : THROW_CCE();
|
|
7463
7463
|
var tmp_25 = Instance(this_5, tmp$ret$10, null);
|
|
7464
7464
|
var tmp_26 = KProperty1;
|
|
7465
|
-
tmp_23.
|
|
7465
|
+
tmp_23.hfx_1 = tmp_25.x1j(this, getPropertyCallableRef('randomPoolProvider', 1, tmp_26, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl(), null));
|
|
7466
7466
|
}
|
|
7467
|
-
protoOf(GameServerEngineControllerImpl).
|
|
7468
|
-
var tmp0 = this.
|
|
7467
|
+
protoOf(GameServerEngineControllerImpl).gf7 = function () {
|
|
7468
|
+
var tmp0 = this.cfx_1;
|
|
7469
7469
|
var tmp = KProperty1;
|
|
7470
7470
|
// Inline function 'kotlin.getValue' call
|
|
7471
7471
|
getPropertyCallableRef('parser', 1, tmp, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w_0(), null);
|
|
7472
7472
|
return tmp0.o1();
|
|
7473
7473
|
};
|
|
7474
|
-
protoOf(GameServerEngineControllerImpl).
|
|
7475
|
-
var tmp0 = this.
|
|
7474
|
+
protoOf(GameServerEngineControllerImpl).sfw = function () {
|
|
7475
|
+
var tmp0 = this.dfx_1;
|
|
7476
7476
|
var tmp = KProperty1;
|
|
7477
7477
|
// Inline function 'kotlin.getValue' call
|
|
7478
7478
|
getPropertyCallableRef('helper', 1, tmp, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f_0(), null);
|
|
7479
7479
|
return tmp0.o1();
|
|
7480
7480
|
};
|
|
7481
|
-
protoOf(GameServerEngineControllerImpl).
|
|
7482
|
-
var tmp0 = this.
|
|
7481
|
+
protoOf(GameServerEngineControllerImpl).tfw = function () {
|
|
7482
|
+
var tmp0 = this.efx_1;
|
|
7483
7483
|
var tmp = KProperty1;
|
|
7484
7484
|
// Inline function 'kotlin.getValue' call
|
|
7485
7485
|
getPropertyCallableRef('serverHelper', 1, tmp, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre_0(), null);
|
|
7486
7486
|
return tmp0.o1();
|
|
7487
7487
|
};
|
|
7488
|
-
protoOf(GameServerEngineControllerImpl).
|
|
7489
|
-
var tmp0 = this.
|
|
7488
|
+
protoOf(GameServerEngineControllerImpl).ufw = function () {
|
|
7489
|
+
var tmp0 = this.ffx_1;
|
|
7490
7490
|
var tmp = KProperty1;
|
|
7491
7491
|
// Inline function 'kotlin.getValue' call
|
|
7492
7492
|
getPropertyCallableRef('resources', 1, tmp, GameServerEngineControllerImpl$_get_resources_$ref_dt6416_0(), null);
|
|
7493
7493
|
return tmp0.o1();
|
|
7494
7494
|
};
|
|
7495
|
-
protoOf(GameServerEngineControllerImpl).
|
|
7496
|
-
var tmp0 = this.
|
|
7495
|
+
protoOf(GameServerEngineControllerImpl).rfw = function () {
|
|
7496
|
+
var tmp0 = this.gfx_1;
|
|
7497
7497
|
var tmp = KProperty1;
|
|
7498
7498
|
// Inline function 'kotlin.getValue' call
|
|
7499
7499
|
getPropertyCallableRef('test', 1, tmp, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5_0(), null);
|
|
7500
7500
|
return tmp0.o1();
|
|
7501
7501
|
};
|
|
7502
|
-
protoOf(GameServerEngineControllerImpl).
|
|
7503
|
-
var tmp0 = this.
|
|
7502
|
+
protoOf(GameServerEngineControllerImpl).vfw = function () {
|
|
7503
|
+
var tmp0 = this.hfx_1;
|
|
7504
7504
|
var tmp = KProperty1;
|
|
7505
7505
|
// Inline function 'kotlin.getValue' call
|
|
7506
7506
|
getPropertyCallableRef('randomPoolProvider', 1, tmp, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl_0(), null);
|
|
7507
7507
|
return tmp0.o1();
|
|
7508
7508
|
};
|
|
7509
7509
|
protoOf(GameServerEngineControllerImpl).loadModel = function (rulesSetType, playersMode, modelBytes) {
|
|
7510
|
-
this.
|
|
7510
|
+
this.zfw_1.pbb(new BotModelConfig(valueOf(playersMode), valueOf_0(rulesSetType), modelBytes));
|
|
7511
7511
|
};
|
|
7512
7512
|
protoOf(GameServerEngineControllerImpl).setEnableLogger = function (enabled) {
|
|
7513
7513
|
Logger_getInstance().i5p_1 = enabled;
|
|
@@ -7515,7 +7515,7 @@
|
|
|
7515
7515
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
7516
7516
|
return this.createGameEngineWithLogic();
|
|
7517
7517
|
};
|
|
7518
|
-
protoOf(GameServerEngineControllerImpl).
|
|
7518
|
+
protoOf(GameServerEngineControllerImpl).wfw = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, leaguesConfig, coreConfig, botConfig) {
|
|
7519
7519
|
var combinedLogger = Companion_instance_9.c10();
|
|
7520
7520
|
var gameServer = {_v: null};
|
|
7521
7521
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -7563,7 +7563,7 @@
|
|
|
7563
7563
|
function TestHelper() {
|
|
7564
7564
|
}
|
|
7565
7565
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
7566
|
-
var tmp0 = $this.
|
|
7566
|
+
var tmp0 = $this.lfx_1;
|
|
7567
7567
|
var tmp = KProperty1;
|
|
7568
7568
|
// Inline function 'kotlin.getValue' call
|
|
7569
7569
|
getPropertyCallableRef('playerAnswerInteractor', 1, tmp, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy_0(), null);
|
|
@@ -7571,7 +7571,7 @@
|
|
|
7571
7571
|
}
|
|
7572
7572
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
7573
7573
|
return function ($this$singleton) {
|
|
7574
|
-
return this$0.
|
|
7574
|
+
return this$0.jfx_1;
|
|
7575
7575
|
};
|
|
7576
7576
|
}
|
|
7577
7577
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -7611,19 +7611,19 @@
|
|
|
7611
7611
|
return emptyMap();
|
|
7612
7612
|
}
|
|
7613
7613
|
function TestHelperImpl(logger) {
|
|
7614
|
-
this.
|
|
7614
|
+
this.jfx_1 = logger;
|
|
7615
7615
|
var tmp = this;
|
|
7616
7616
|
var tmp_0 = Companion_instance_7;
|
|
7617
|
-
tmp.
|
|
7617
|
+
tmp.kfx_1 = tmp_0.h1e(VOID, TestHelperImpl$di$lambda(this));
|
|
7618
7618
|
var tmp_1 = this;
|
|
7619
7619
|
// Inline function 'org.kodein.di.instance' call
|
|
7620
|
-
var this_0 = this.
|
|
7620
|
+
var this_0 = this.kfx_1;
|
|
7621
7621
|
// Inline function 'org.kodein.type.generic' call
|
|
7622
7622
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
7623
7623
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
7624
7624
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
7625
7625
|
var tmp_4 = KProperty1;
|
|
7626
|
-
tmp_1.
|
|
7626
|
+
tmp_1.lfx_1 = tmp_3.x1j(this, getPropertyCallableRef('playerAnswerInteractor', 1, tmp_4, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy(), null));
|
|
7627
7627
|
}
|
|
7628
7628
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
7629
7629
|
return _get_playerAnswerInteractor__msggz1(this).qac(playerId, table, botConfig);
|
|
@@ -7696,14 +7696,14 @@
|
|
|
7696
7696
|
function RoomMetadata() {
|
|
7697
7697
|
var tmp = this;
|
|
7698
7698
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
7699
|
-
tmp.
|
|
7699
|
+
tmp.mfx_1 = LinkedHashMap_init_$Create$();
|
|
7700
7700
|
this.extras = {};
|
|
7701
|
-
this.extras = this.
|
|
7701
|
+
this.extras = this.mfx_1;
|
|
7702
7702
|
}
|
|
7703
|
-
protoOf(RoomMetadata).
|
|
7703
|
+
protoOf(RoomMetadata).nfx = function () {
|
|
7704
7704
|
return this.extras;
|
|
7705
7705
|
};
|
|
7706
|
-
protoOf(RoomMetadata).
|
|
7706
|
+
protoOf(RoomMetadata).nfx = function () {
|
|
7707
7707
|
return this.extras;
|
|
7708
7708
|
};
|
|
7709
7709
|
protoOf(RoomMetadata).getGame = function (gameId) {
|
|
@@ -7721,7 +7721,7 @@
|
|
|
7721
7721
|
};
|
|
7722
7722
|
protoOf(RoomMetadata).addGame = function (gameId, game) {
|
|
7723
7723
|
// Inline function 'kotlin.collections.set' call
|
|
7724
|
-
this.
|
|
7724
|
+
this.mfx_1.g3(gameId, game);
|
|
7725
7725
|
};
|
|
7726
7726
|
function GameMetadata(gameId) {
|
|
7727
7727
|
this.gameId = gameId;
|
|
@@ -7730,7 +7730,7 @@
|
|
|
7730
7730
|
protoOf(GameMetadata).a6d = function () {
|
|
7731
7731
|
return this.gameId;
|
|
7732
7732
|
};
|
|
7733
|
-
protoOf(GameMetadata).
|
|
7733
|
+
protoOf(GameMetadata).nfx = function () {
|
|
7734
7734
|
return this.extras;
|
|
7735
7735
|
};
|
|
7736
7736
|
function serverHelpersModule() {
|
|
@@ -7823,7 +7823,7 @@
|
|
|
7823
7823
|
defineProp(protoOf(ActionsStateUpdate), 'roomId', function () {
|
|
7824
7824
|
return this.pa1();
|
|
7825
7825
|
});
|
|
7826
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
7826
|
+
protoOf(PlayerConnectionInteractorImpl).lfo = getToClientContinueAction$default;
|
|
7827
7827
|
protoOf(UpdateServerConfigAction).g7j = get_actionTag;
|
|
7828
7828
|
defineProp(protoOf(UpdateServerConfigAction), 'actionTag', function () {
|
|
7829
7829
|
return this.g7j();
|
|
@@ -7840,22 +7840,22 @@
|
|
|
7840
7840
|
protoOf(PlayerReconnectionWaitingTimerTag).kal = ignoreTimerResetValidation;
|
|
7841
7841
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
7842
7842
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
7843
|
-
return this.
|
|
7843
|
+
return this.gf7();
|
|
7844
7844
|
});
|
|
7845
7845
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
7846
|
-
return this.
|
|
7846
|
+
return this.sfw();
|
|
7847
7847
|
});
|
|
7848
7848
|
defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
|
|
7849
|
-
return this.
|
|
7849
|
+
return this.tfw();
|
|
7850
7850
|
});
|
|
7851
7851
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
7852
|
-
return this.
|
|
7852
|
+
return this.ufw();
|
|
7853
7853
|
});
|
|
7854
7854
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
7855
|
-
return this.
|
|
7855
|
+
return this.rfw();
|
|
7856
7856
|
});
|
|
7857
7857
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
7858
|
-
return this.
|
|
7858
|
+
return this.vfw();
|
|
7859
7859
|
});
|
|
7860
7860
|
//endregion
|
|
7861
7861
|
//region block: init
|