client_plugin_logic_deb 1.8.503 → 1.8.504
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Logic_Debertz-bot_engine.js +640 -640
- package/Logic_Debertz-client_plugin.d.ts +3 -2
- package/Logic_Debertz-client_plugin.js +2019 -2020
- package/Logic_Debertz-client_plugin.js.map +1 -1
- package/Logic_Debertz-core.js +1 -1
- package/Logic_Debertz-engine.js +996 -984
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +5962 -5962
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js +896 -896
- package/kotlin-kotlin-stdlib.js +6 -6
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +8 -8
- 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.dfq(roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
438
438
|
tmp_0 = Unit_instance;
|
|
439
439
|
} else {
|
|
440
|
-
tmp_0 = $super.
|
|
440
|
+
tmp_0 = $super.dfq.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.ffq(newRid);
|
|
449
449
|
tmp = Unit_instance;
|
|
450
450
|
} else {
|
|
451
|
-
tmp = $super.
|
|
451
|
+
tmp = $super.ffq.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.gfq(reason, roomId);
|
|
460
460
|
tmp = Unit_instance;
|
|
461
461
|
} else {
|
|
462
|
-
tmp = $super.
|
|
462
|
+
tmp = $super.gfq.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.cfq(playerId, roomId, permanently) : $super.cfq.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.fft(sendToPlayer, table, previousConnectionState) : $super.fft.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.nfw(reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, leaguesConfig, coreConfig, botConfig) : $super.nfw.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.mf7_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).of7 = function (it, $completion) {
|
|
565
|
+
var tmp = this.pf7(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.of7(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.mf7_1(this.nf7_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).pf7 = function (it, completion) {
|
|
592
|
+
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.mf7_1, completion);
|
|
593
|
+
i.nf7_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.of7(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.yf7_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).af8 = function (it, $completion) {
|
|
609
|
+
var tmp = this.bf8(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.af8((!(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.yf7_1(this.zf7_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).bf8 = function (it, completion) {
|
|
636
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.yf7_1, completion);
|
|
637
|
+
i.zf7_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.af8(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.kf8_1 = $$this$unsafeFlow;
|
|
650
|
+
this.lf8_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.kf8_1;
|
|
671
|
+
var value = this.mf8_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.lf8_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.kf8_1, this.lf8_1, completion);
|
|
697
|
+
i.mf8_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.vf8_1 = _this__u8e3s4;
|
|
711
|
+
this.wf8_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.wf8_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.vf8_1.yf8_1, null);
|
|
724
|
+
suspendResult = this.vf8_1.xf8_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.xf8_1 = $this;
|
|
748
|
+
this.yf8_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.hf9_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).jf9 = function (it, $completion) {
|
|
764
|
+
var tmp = this.kf9(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.jf9((!(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.hf9_1(this.if9_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).kf9 = function (it, completion) {
|
|
791
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.hf9_1, completion);
|
|
792
|
+
i.if9_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.jf9(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.tf9_1 = $$this$unsafeFlow;
|
|
805
|
+
this.uf9_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.tf9_1;
|
|
826
|
+
var value = this.vf9_1;
|
|
827
827
|
this.i9_1 = 1;
|
|
828
|
-
suspendResult = tmp0.r28(new ActionsStateUpdate(this.
|
|
828
|
+
suspendResult = tmp0.r28(new ActionsStateUpdate(this.uf9_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.tf9_1, this.uf9_1, completion);
|
|
852
|
+
i.vf9_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.efa_1 = _this__u8e3s4;
|
|
866
|
+
this.ffa_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.ffa_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.efa_1.hfa_1, null);
|
|
879
|
+
suspendResult = this.efa_1.gfa_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.gfa_1 = $this;
|
|
903
|
+
this.hfa_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.qfa_1 = $table;
|
|
916
|
+
this.rfa_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).tfa = function ($this$flow, $completion) {
|
|
920
|
+
var tmp = this.ufa($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.tfa((!(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.sfa_1.r28(new TableStateUpdate(this.qfa_1.id, this.qfa_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.rfa_1).eaa(), fromInt(_get_serverReduxConfig__rprcrm(this.rfa_1).serverStateUpdateIntervalMillis));
|
|
946
|
+
suspendResult = emitAll(this.sfa_1, new GameServer$observeTableStateUpdates$$inlined$flatMapLatest$2$2$1(this_0, this.qfa_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).ufa = function ($this$flow, completion) {
|
|
969
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.qfa_1, this.rfa_1, completion);
|
|
970
|
+
i.sfa_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.tfa($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.dfb_1 = $$this$unsafeFlow;
|
|
983
|
+
this.efb_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.jfb_1 = this.dfb_1;
|
|
1004
|
+
this.ifb_1 = this.ffb_1;
|
|
1005
1005
|
this.i9_1 = 1;
|
|
1006
1006
|
continue $sm;
|
|
1007
1007
|
case 1:
|
|
1008
|
-
this.
|
|
1009
|
-
var it = this.
|
|
1008
|
+
this.gfb_1 = this.jfb_1;
|
|
1009
|
+
var it = this.ifb_1;
|
|
1010
1010
|
var tmp_0;
|
|
1011
|
-
if (get_isCreated(this.
|
|
1011
|
+
if (get_isCreated(this.efb_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.hfb_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.hfb_1;
|
|
1030
1030
|
this.i9_1 = 3;
|
|
1031
|
-
suspendResult = this.
|
|
1031
|
+
suspendResult = this.gfb_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.dfb_1, this.efb_1, completion);
|
|
1063
|
+
i.ffb_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.sfb_1 = _this__u8e3s4;
|
|
1077
|
+
this.tfb_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.tfb_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.sfb_1.vfb_1, null);
|
|
1090
|
+
suspendResult = this.sfb_1.ufb_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.efc_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.jfc_1 = this.efc_1;
|
|
1134
|
+
this.ifc_1 = this.ffc_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.gfc_1 = this.jfc_1;
|
|
1139
|
+
var tmp0_elvis_lhs = this.ifc_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.hfc_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.hfc_1;
|
|
1152
1152
|
this.i9_1 = 3;
|
|
1153
|
-
suspendResult = this.
|
|
1153
|
+
suspendResult = this.gfc_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.efc_1, completion);
|
|
1185
|
+
i.ffc_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.sfc_1 = _this__u8e3s4;
|
|
1199
|
+
this.tfc_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.tfc_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.sfc_1.ufc_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.dfd_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.dfd_1;
|
|
1256
|
+
var value = this.efd_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.dfd_1, completion);
|
|
1282
|
+
i.efd_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.nfd_1 = _this__u8e3s4;
|
|
1296
|
+
this.ofd_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.ofd_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.nfd_1.pfd_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.yfd_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.yfd_1;
|
|
1353
|
+
var value = this.zfd_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.yfd_1, completion);
|
|
1379
|
+
i.zfd_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.ife_1 = _this__u8e3s4;
|
|
1393
|
+
this.jfe_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.jfe_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.ife_1.kfe_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.tfe_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).vfe = function (it, $completion) {
|
|
1433
|
+
var tmp = this.wfe(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.vfe(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.tfe_1(this.ufe_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).wfe = function (it, completion) {
|
|
1460
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.tfe_1, completion);
|
|
1461
|
+
i.ufe_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.vfe(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.bff_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.cff_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.dff_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.eff_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.fff_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.gff_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.hff_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.iff_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.jff_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.kff_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.lff_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.mff_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).za9(updatedTeams);
|
|
1681
1681
|
}
|
|
1682
1682
|
function Companion() {
|
|
1683
|
-
this.
|
|
1683
|
+
this.off_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.pff_1 = function_0;
|
|
1691
1691
|
}
|
|
1692
1692
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).r28 = function (value, $completion) {
|
|
1693
|
-
return this.
|
|
1693
|
+
return this.pff_1(value, $completion);
|
|
1694
1694
|
};
|
|
1695
1695
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).s3 = function () {
|
|
1696
|
-
return this.
|
|
1696
|
+
return this.pff_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.qff_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.qff_1(value, $completion);
|
|
1721
1721
|
};
|
|
1722
1722
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).s3 = function () {
|
|
1723
|
-
return this.
|
|
1723
|
+
return this.qff_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.rff_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.rff_1(value, $completion);
|
|
1748
1748
|
};
|
|
1749
1749
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).s3 = function () {
|
|
1750
|
-
return this.
|
|
1750
|
+
return this.rff_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.sff_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.sff_1(value, $completion);
|
|
1775
1775
|
};
|
|
1776
1776
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).s3 = function () {
|
|
1777
|
-
return this.
|
|
1777
|
+
return this.sff_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.tff_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.tff_1(value, $completion);
|
|
1802
1802
|
};
|
|
1803
1803
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).s3 = function () {
|
|
1804
|
-
return this.
|
|
1804
|
+
return this.tff_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.uff_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.uff_1(value, $completion);
|
|
1829
1829
|
};
|
|
1830
1830
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).s3 = function () {
|
|
1831
|
-
return this.
|
|
1831
|
+
return this.uff_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.dfg_1 = this$0;
|
|
1973
|
+
this.efg_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.dfg_1).wcf();
|
|
1995
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.efg_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.dfg_1, this.efg_1, completion);
|
|
2020
|
+
i.ffg_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.ofg_1 = this$0;
|
|
2033
|
+
this.pfg_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.ofg_1);
|
|
2055
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.pfg_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.ofg_1, this.pfg_1, completion);
|
|
2080
|
+
i.qfg_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.zfg_1 = this$0;
|
|
2093
|
+
this.afh_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.zfg_1);
|
|
2115
|
+
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.zfg_1);
|
|
2116
|
+
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.afh_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.zfg_1, this.afh_1, completion);
|
|
2141
|
+
i.bfh_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.kfh_1 = this$0;
|
|
2154
|
+
this.lfh_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.kfh_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.kfh_1.table.id, this.kfh_1.table), _get_encoderDecoderProvider__qqgrji(this.kfh_1));
|
|
2177
|
+
this.lfh_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.kfh_1, this.lfh_1, completion);
|
|
2190
|
+
i.mfh_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.vfh_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).pdo = function ($this$transformLatest, it, $completion) {
|
|
2206
|
+
var tmp = this.qdo($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.pdo(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.xfh_1;
|
|
2225
|
+
suspendResult = emitAll(this.wfh_1, flow(GameServer$observeTableStateUpdates$slambda$slambda_0(table, this.vfh_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).qdo = function ($this$transformLatest, it, completion) {
|
|
2248
|
+
var i = new GameServer$observeTableStateUpdates$slambda(this.vfh_1, completion);
|
|
2249
|
+
i.wfh_1 = $this$transformLatest;
|
|
2250
|
+
i.xfh_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.pdo($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.ufb_1 = $this;
|
|
2263
|
+
this.vfb_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.ufc_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.pfd_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.kfe_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.gfi_1 = this$0;
|
|
2315
|
+
this.hfi_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.gfi_1.p7v());
|
|
2337
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.hfi_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.gfi_1, this.hfi_1, completion);
|
|
2362
|
+
i.ifi_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.rfi_1 = $action;
|
|
2375
2375
|
CoroutineImpl.call(this, resultContinuation);
|
|
2376
2376
|
}
|
|
2377
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
2378
|
-
var tmp = this.
|
|
2377
|
+
protoOf(GameServer$fromClientEvent$slambda).dcx = function ($this$dispatchAsync, store, $completion) {
|
|
2378
|
+
var tmp = this.ecx($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.dcx(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.rfi_1 instanceof PlayerReadyFromClientAction)
|
|
2395
|
+
if (!get_isCreated(this.tfi_1.state)) {
|
|
2396
2396
|
return Unit_instance;
|
|
2397
2397
|
}
|
|
2398
|
-
this.
|
|
2398
|
+
this.tfi_1.dispatch(this.rfi_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).ecx = function ($this$dispatchAsync, store, completion) {
|
|
2410
|
+
var i = new GameServer$fromClientEvent$slambda(this.rfi_1, completion);
|
|
2411
|
+
i.sfi_1 = $this$dispatchAsync;
|
|
2412
|
+
i.tfi_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.dcx($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.cfj_1 = $playerId;
|
|
2425
|
+
this.dfj_1 = $roomId;
|
|
2426
2426
|
CoroutineImpl.call(this, resultContinuation);
|
|
2427
2427
|
}
|
|
2428
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2429
|
-
var tmp = this.
|
|
2428
|
+
protoOf(GameServer$playerLostConnection$slambda).dcx = function ($this$dispatchAsync, store, $completion) {
|
|
2429
|
+
var tmp = this.ecx($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.dcx(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.ffj_1.state)) {
|
|
2446
2446
|
return Unit_instance;
|
|
2447
2447
|
}
|
|
2448
|
-
var tmp_0 = this.
|
|
2448
|
+
var tmp_0 = this.ffj_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.cfj_1, this.dfj_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).ecx = function ($this$dispatchAsync, store, completion) {
|
|
2462
|
+
var i = new GameServer$playerLostConnection$slambda(this.cfj_1, this.dfj_1, completion);
|
|
2463
|
+
i.efj_1 = $this$dispatchAsync;
|
|
2464
|
+
i.ffj_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.dcx($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.ofj_1 = this$0;
|
|
2477
|
+
this.pfj_1 = $playerId;
|
|
2478
|
+
this.qfj_1 = $roomId;
|
|
2479
2479
|
CoroutineImpl.call(this, resultContinuation);
|
|
2480
2480
|
}
|
|
2481
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2482
|
-
var tmp = this.
|
|
2481
|
+
protoOf(GameServer$playerLive$slambda).dcx = function ($this$dispatchAsync, store, $completion) {
|
|
2482
|
+
var tmp = this.ecx($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.dcx(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.sfj_1.state) || get_isFinishing(this.sfj_1.state)) {
|
|
2499
2499
|
return Unit_instance;
|
|
2500
2500
|
}
|
|
2501
|
-
if (!_get_serverReduxConfig__rprcrm(this.
|
|
2502
|
-
this.
|
|
2501
|
+
if (!_get_serverReduxConfig__rprcrm(this.ofj_1).waitForPlayerToConnectOnStart && (!get_isCreated(this.sfj_1.state) || !this.ofj_1.a79().s7w())) {
|
|
2502
|
+
this.ofj_1.o5s().v('GameEngine_API', 'playerLive: ' + this.pfj_1 + ' before game is created');
|
|
2503
2503
|
return Unit_instance;
|
|
2504
2504
|
}
|
|
2505
|
-
var tmp_0 = this.
|
|
2505
|
+
var tmp_0 = this.sfj_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.pfj_1, this.qfj_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).ecx = function ($this$dispatchAsync, store, completion) {
|
|
2519
|
+
var i = new GameServer$playerLive$slambda(this.ofj_1, this.pfj_1, this.qfj_1, completion);
|
|
2520
|
+
i.rfj_1 = $this$dispatchAsync;
|
|
2521
|
+
i.sfj_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.dcx($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.bfk_1 = this$0;
|
|
2534
|
+
this.cfk_1 = $playerId;
|
|
2535
|
+
this.dfk_1 = $permanently;
|
|
2536
|
+
this.efk_1 = $roomId;
|
|
2537
2537
|
CoroutineImpl.call(this, resultContinuation);
|
|
2538
2538
|
}
|
|
2539
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2540
|
-
var tmp = this.
|
|
2539
|
+
protoOf(GameServer$playerLeft$slambda).dcx = function ($this$dispatchAsync, store, $completion) {
|
|
2540
|
+
var tmp = this.ecx($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.dcx(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.gfk_1.state) || get_isFinishing(this.gfk_1.state)) {
|
|
2557
2557
|
return Unit_instance;
|
|
2558
2558
|
}
|
|
2559
|
-
if (!get_isCreated(this.
|
|
2560
|
-
this.
|
|
2559
|
+
if (!get_isCreated(this.gfk_1.state) || !this.bfk_1.a79().s7w()) {
|
|
2560
|
+
this.bfk_1.o5s().w('GameEngine_API', 'playerLeft: ' + this.cfk_1 + ' before game is created');
|
|
2561
2561
|
return Unit_instance;
|
|
2562
2562
|
}
|
|
2563
|
-
var tmp_0 = this.
|
|
2563
|
+
var tmp_0 = this.gfk_1.dispatch;
|
|
2564
2564
|
var tmp_1;
|
|
2565
|
-
if (this.
|
|
2565
|
+
if (this.dfk_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.cfk_1, this.efk_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).ecx = function ($this$dispatchAsync, store, completion) {
|
|
2583
|
+
var i = new GameServer$playerLeft$slambda(this.bfk_1, this.cfk_1, this.dfk_1, this.efk_1, completion);
|
|
2584
|
+
i.ffk_1 = $this$dispatchAsync;
|
|
2585
|
+
i.gfk_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.dcx($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.pfk_1 = $usersArray;
|
|
2598
|
+
this.qfk_1 = this$0;
|
|
2599
|
+
this.rfk_1 = $config;
|
|
2600
|
+
this.sfk_1 = $roomId;
|
|
2601
|
+
this.tfk_1 = $transition;
|
|
2602
|
+
this.ufk_1 = $gameCreatorId;
|
|
2603
|
+
this.vfk_1 = $spectators;
|
|
2604
2604
|
CoroutineImpl.call(this, resultContinuation);
|
|
2605
2605
|
}
|
|
2606
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2607
|
-
var tmp = this.
|
|
2606
|
+
protoOf(GameServer$roomOnCreate$slambda).dcx = function ($this$dispatchAsync, store, $completion) {
|
|
2607
|
+
var tmp = this.ecx($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.dcx(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.pfk_1);
|
|
2624
|
+
if (!validatePlayerCount(this.qfk_1, this.rfk_1, users, this.sfk_1)) {
|
|
2625
|
+
this.xfk_1.dispatch(Companion_instance.fromTableWithAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.qfk_1.table.isGameFinished, this.qfk_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.qfk_1, users, this.rfk_1, this.tfk_1);
|
|
2629
|
+
var gameCreatorUser = getPlayer(users, this.ufk_1);
|
|
2630
|
+
var tmp_0 = this.xfk_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.vfk_1);
|
|
2634
|
+
tmp_0(new StartGameMechanicAction(this.rfk_1, this.sfk_1, tmp0_version, this.ufk_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).ecx = function ($this$dispatchAsync, store, completion) {
|
|
2646
|
+
var i = new GameServer$roomOnCreate$slambda(this.pfk_1, this.qfk_1, this.rfk_1, this.sfk_1, this.tfk_1, this.ufk_1, this.vfk_1, completion);
|
|
2647
|
+
i.wfk_1 = $this$dispatchAsync;
|
|
2648
|
+
i.xfk_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.dcx($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.yfk_1 = $playerId;
|
|
2661
2661
|
}
|
|
2662
2662
|
protoOf(GameServer$preserveTeams$previousTeams$1).b78 = function () {
|
|
2663
|
-
return this.
|
|
2663
|
+
return this.yfk_1;
|
|
2664
2664
|
};
|
|
2665
2665
|
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
2666
|
-
this.
|
|
2666
|
+
this.hfl_1 = $state;
|
|
2667
2667
|
CoroutineImpl.call(this, resultContinuation);
|
|
2668
2668
|
}
|
|
2669
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2670
|
-
var tmp = this.
|
|
2669
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).kfl = function ($this$dispatchAwait, store, $completion) {
|
|
2670
|
+
var tmp = this.ecx($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.kfl(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.jfl_1.state)) {
|
|
2687
|
+
var tmp_0 = this.jfl_1.dispatch;
|
|
2688
2688
|
var tmp0_reason = new RestartRoundReason(null);
|
|
2689
|
-
var tmp1_table = this.
|
|
2689
|
+
var tmp1_table = this.hfl_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).ecx = function ($this$dispatchAwait, store, completion) {
|
|
2704
|
+
var i = new GameServer$roomOnContinueFromState$slambda(this.hfl_1, completion);
|
|
2705
|
+
i.ifl_1 = $this$dispatchAwait;
|
|
2706
|
+
i.jfl_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.kfl($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.tfl_1 = $isCreated;
|
|
2719
|
+
this.ufl_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).dcx = function ($this$dispatchAsync, store, $completion) {
|
|
2723
|
+
var tmp = this.ecx($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.dcx(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.tfl_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.ufl_1.actions.t();
|
|
2750
2750
|
while (_iterator__ex2g4s.u()) {
|
|
2751
2751
|
var element = _iterator__ex2g4s.v();
|
|
2752
|
-
this.
|
|
2752
|
+
this.wfl_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).ecx = function ($this$dispatchAsync, store, completion) {
|
|
2778
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1(this.tfl_1, this.ufl_1, completion);
|
|
2779
|
+
i.vfl_1 = $this$dispatchAsync;
|
|
2780
|
+
i.wfl_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.dcx($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.ffm_1 = $tableLite;
|
|
2793
|
+
this.gfm_1 = $roomId;
|
|
2794
|
+
this.hfm_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).dcx = function ($this$dispatchAsync, store, $completion) {
|
|
2798
|
+
var tmp = this.ecx($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.dcx(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.jfm_1.dispatch;
|
|
2815
|
+
var tmp0_reason = new RestartRoundReason(this.ffm_1.gameInfo.round.roundNumber);
|
|
2816
|
+
var tmp1_table = Companion_instance_0.restartRound(this.gfm_1, _get_idsProvider__fnfajc(this.hfm_1).d7h(), get_versionOrDefault(GameEngineConfig_instance), this.ffm_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).ecx = function ($this$dispatchAsync, store, completion) {
|
|
2829
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.ffm_1, this.gfm_1, this.hfm_1, completion);
|
|
2830
|
+
i.ifm_1 = $this$dispatchAsync;
|
|
2831
|
+
i.jfm_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.dcx($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).dcx = function ($this$dispatchAsync, store, $completion) {
|
|
2846
|
+
var tmp = this.ecx($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.dcx(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.tfm_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).ecx = function ($this$dispatchAsync, store, completion) {
|
|
2874
2874
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
2875
|
-
i.
|
|
2876
|
-
i.
|
|
2875
|
+
i.sfm_1 = $this$dispatchAsync;
|
|
2876
|
+
i.tfm_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.dcx($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.cfn_1 = $spectators;
|
|
2889
2889
|
CoroutineImpl.call(this, resultContinuation);
|
|
2890
2890
|
}
|
|
2891
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2892
|
-
var tmp = this.
|
|
2891
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).dcx = function ($this$dispatchAsync, store, $completion) {
|
|
2892
|
+
var tmp = this.ecx($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.dcx(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.efn_1.dispatch(new AddSpectatorsAction(toList(this.cfn_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).ecx = function ($this$dispatchAsync, store, completion) {
|
|
2920
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.cfn_1, completion);
|
|
2921
|
+
i.dfn_1 = $this$dispatchAsync;
|
|
2922
|
+
i.efn_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.dcx($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.nfn_1 = $spectators;
|
|
2935
2935
|
CoroutineImpl.call(this, resultContinuation);
|
|
2936
2936
|
}
|
|
2937
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2938
|
-
var tmp = this.
|
|
2937
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).dcx = function ($this$dispatchAsync, store, $completion) {
|
|
2938
|
+
var tmp = this.ecx($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.dcx(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.pfn_1.dispatch(new RemoveSpectatorsAction(toList(this.nfn_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).ecx = function ($this$dispatchAsync, store, completion) {
|
|
2966
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.nfn_1, completion);
|
|
2967
|
+
i.ofn_1 = $this$dispatchAsync;
|
|
2968
|
+
i.pfn_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.dcx($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.yfn_1 = $playerId;
|
|
2981
|
+
this.zfn_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).dcx = function ($this$dispatchAsync, store, $completion) {
|
|
2985
|
+
var tmp = this.ecx($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.dcx(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,14 +2998,14 @@
|
|
|
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.bfo_1.state.q7w();
|
|
3002
|
+
var player = getPlayer(table.players, this.yfn_1);
|
|
3003
3003
|
if (player.h80_1.e7b().o79_1.isLive) {
|
|
3004
|
-
this.
|
|
3004
|
+
this.bfo_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.zfn_1).cfo(player, table));
|
|
3005
3005
|
} else {
|
|
3006
|
-
var tmp_0 = this.
|
|
3006
|
+
var tmp_0 = this.bfo_1.dispatch;
|
|
3007
3007
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
3008
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
3008
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.yfn_1));
|
|
3009
3009
|
}
|
|
3010
3010
|
return Unit_instance;
|
|
3011
3011
|
} else if (tmp === 1) {
|
|
@@ -3017,34 +3017,34 @@
|
|
|
3017
3017
|
}
|
|
3018
3018
|
while (true);
|
|
3019
3019
|
};
|
|
3020
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
3021
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
3022
|
-
i.
|
|
3023
|
-
i.
|
|
3020
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).ecx = function ($this$dispatchAsync, store, completion) {
|
|
3021
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.yfn_1, this.zfn_1, completion);
|
|
3022
|
+
i.afo_1 = $this$dispatchAsync;
|
|
3023
|
+
i.bfo_1 = store;
|
|
3024
3024
|
return i;
|
|
3025
3025
|
};
|
|
3026
3026
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
3027
3027
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
3028
3028
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3029
|
-
return i.
|
|
3029
|
+
return i.dcx($this$dispatchAsync, store, $completion);
|
|
3030
3030
|
};
|
|
3031
3031
|
l.$arity = 2;
|
|
3032
3032
|
return l;
|
|
3033
3033
|
}
|
|
3034
3034
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
3035
|
-
this.
|
|
3036
|
-
this.
|
|
3035
|
+
this.lfo_1 = this$0;
|
|
3036
|
+
this.mfo_1 = $newRid;
|
|
3037
3037
|
CoroutineImpl.call(this, resultContinuation);
|
|
3038
3038
|
}
|
|
3039
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
3040
|
-
var tmp = this.
|
|
3039
|
+
protoOf(GameServer$roomOnDelete$slambda).dcx = function ($this$dispatchAsync, store, $completion) {
|
|
3040
|
+
var tmp = this.ecx($this$dispatchAsync, store, $completion);
|
|
3041
3041
|
tmp.k9_1 = Unit_instance;
|
|
3042
3042
|
tmp.l9_1 = null;
|
|
3043
3043
|
return tmp.q9();
|
|
3044
3044
|
};
|
|
3045
3045
|
protoOf(GameServer$roomOnDelete$slambda).da = function (p1, p2, $completion) {
|
|
3046
3046
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
3047
|
-
return this.
|
|
3047
|
+
return this.dcx(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
3048
3048
|
};
|
|
3049
3049
|
protoOf(GameServer$roomOnDelete$slambda).q9 = function () {
|
|
3050
3050
|
var suspendResult = this.k9_1;
|
|
@@ -3053,10 +3053,10 @@
|
|
|
3053
3053
|
var tmp = this.i9_1;
|
|
3054
3054
|
if (tmp === 0) {
|
|
3055
3055
|
this.j9_1 = 1;
|
|
3056
|
-
var it = this.
|
|
3056
|
+
var it = this.lfo_1.a79().q7v_1;
|
|
3057
3057
|
var tmp_0;
|
|
3058
3058
|
if (it == null) {
|
|
3059
|
-
this.
|
|
3059
|
+
this.lfo_1.o5s().w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
3060
3060
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
3061
3061
|
} else {
|
|
3062
3062
|
tmp_0 = it;
|
|
@@ -3065,15 +3065,15 @@
|
|
|
3065
3065
|
var gameTransition = terminationState.m9k_1;
|
|
3066
3066
|
var tmp_1;
|
|
3067
3067
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
3068
|
-
var tmp0_elvis_lhs = this.
|
|
3068
|
+
var tmp0_elvis_lhs = this.mfo_1;
|
|
3069
3069
|
tmp_1 = gameTransition.copy(tmp0_elvis_lhs == null ? gameTransition.roomId : tmp0_elvis_lhs);
|
|
3070
3070
|
} else {
|
|
3071
3071
|
tmp_1 = gameTransition;
|
|
3072
3072
|
}
|
|
3073
3073
|
var transition = tmp_1;
|
|
3074
|
-
var tmp_2 = this.
|
|
3074
|
+
var tmp_2 = this.ofo_1.dispatch;
|
|
3075
3075
|
var tmp0_reason = terminationState.l9k_1;
|
|
3076
|
-
var tmp1_isGameFinished = this.
|
|
3076
|
+
var tmp1_isGameFinished = this.lfo_1.a79().q7w().isGameFinished;
|
|
3077
3077
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
3078
3078
|
return Unit_instance;
|
|
3079
3079
|
} else if (tmp === 1) {
|
|
@@ -3085,33 +3085,33 @@
|
|
|
3085
3085
|
}
|
|
3086
3086
|
while (true);
|
|
3087
3087
|
};
|
|
3088
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
3089
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
3090
|
-
i.
|
|
3091
|
-
i.
|
|
3088
|
+
protoOf(GameServer$roomOnDelete$slambda).ecx = function ($this$dispatchAsync, store, completion) {
|
|
3089
|
+
var i = new GameServer$roomOnDelete$slambda(this.lfo_1, this.mfo_1, completion);
|
|
3090
|
+
i.nfo_1 = $this$dispatchAsync;
|
|
3091
|
+
i.ofo_1 = store;
|
|
3092
3092
|
return i;
|
|
3093
3093
|
};
|
|
3094
3094
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
3095
3095
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
3096
3096
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3097
|
-
return i.
|
|
3097
|
+
return i.dcx($this$dispatchAsync, store, $completion);
|
|
3098
3098
|
};
|
|
3099
3099
|
l.$arity = 2;
|
|
3100
3100
|
return l;
|
|
3101
3101
|
}
|
|
3102
3102
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
3103
|
-
this.
|
|
3103
|
+
this.xfo_1 = $enabled;
|
|
3104
3104
|
CoroutineImpl.call(this, resultContinuation);
|
|
3105
3105
|
}
|
|
3106
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
3107
|
-
var tmp = this.
|
|
3106
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).dcx = function ($this$dispatchAsync, store, $completion) {
|
|
3107
|
+
var tmp = this.ecx($this$dispatchAsync, store, $completion);
|
|
3108
3108
|
tmp.k9_1 = Unit_instance;
|
|
3109
3109
|
tmp.l9_1 = null;
|
|
3110
3110
|
return tmp.q9();
|
|
3111
3111
|
};
|
|
3112
3112
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).da = function (p1, p2, $completion) {
|
|
3113
3113
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
3114
|
-
return this.
|
|
3114
|
+
return this.dcx(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
3115
3115
|
};
|
|
3116
3116
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).q9 = function () {
|
|
3117
3117
|
var suspendResult = this.k9_1;
|
|
@@ -3120,7 +3120,7 @@
|
|
|
3120
3120
|
var tmp = this.i9_1;
|
|
3121
3121
|
if (tmp === 0) {
|
|
3122
3122
|
this.j9_1 = 1;
|
|
3123
|
-
this.
|
|
3123
|
+
this.zfo_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload(this.zfo_1.state).config.copy(VOID, !this.xfo_1)));
|
|
3124
3124
|
return Unit_instance;
|
|
3125
3125
|
} else if (tmp === 1) {
|
|
3126
3126
|
throw this.l9_1;
|
|
@@ -3131,35 +3131,35 @@
|
|
|
3131
3131
|
}
|
|
3132
3132
|
while (true);
|
|
3133
3133
|
};
|
|
3134
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
3135
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
3136
|
-
i.
|
|
3137
|
-
i.
|
|
3134
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).ecx = function ($this$dispatchAsync, store, completion) {
|
|
3135
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.xfo_1, completion);
|
|
3136
|
+
i.yfo_1 = $this$dispatchAsync;
|
|
3137
|
+
i.zfo_1 = store;
|
|
3138
3138
|
return i;
|
|
3139
3139
|
};
|
|
3140
3140
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
3141
3141
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
3142
3142
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3143
|
-
return i.
|
|
3143
|
+
return i.dcx($this$dispatchAsync, store, $completion);
|
|
3144
3144
|
};
|
|
3145
3145
|
l.$arity = 2;
|
|
3146
3146
|
return l;
|
|
3147
3147
|
}
|
|
3148
3148
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
3149
|
-
this.
|
|
3150
|
-
this.
|
|
3151
|
-
this.
|
|
3149
|
+
this.ifp_1 = $reason;
|
|
3150
|
+
this.jfp_1 = this$0;
|
|
3151
|
+
this.kfp_1 = $roomId;
|
|
3152
3152
|
CoroutineImpl.call(this, resultContinuation);
|
|
3153
3153
|
}
|
|
3154
|
-
protoOf(GameServer$shutdown$slambda).
|
|
3155
|
-
var tmp = this.
|
|
3154
|
+
protoOf(GameServer$shutdown$slambda).dcx = function ($this$dispatchAsync, store, $completion) {
|
|
3155
|
+
var tmp = this.ecx($this$dispatchAsync, store, $completion);
|
|
3156
3156
|
tmp.k9_1 = Unit_instance;
|
|
3157
3157
|
tmp.l9_1 = null;
|
|
3158
3158
|
return tmp.q9();
|
|
3159
3159
|
};
|
|
3160
3160
|
protoOf(GameServer$shutdown$slambda).da = function (p1, p2, $completion) {
|
|
3161
3161
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
3162
|
-
return this.
|
|
3162
|
+
return this.dcx(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
3163
3163
|
};
|
|
3164
3164
|
protoOf(GameServer$shutdown$slambda).q9 = function () {
|
|
3165
3165
|
var suspendResult = this.k9_1;
|
|
@@ -3168,11 +3168,11 @@
|
|
|
3168
3168
|
var tmp = this.i9_1;
|
|
3169
3169
|
if (tmp === 0) {
|
|
3170
3170
|
this.j9_1 = 1;
|
|
3171
|
-
var state = this.
|
|
3171
|
+
var state = this.mfp_1.store.state;
|
|
3172
3172
|
if (state.s7w()) {
|
|
3173
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
3173
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.ifp_1, get_serverShutdownReasonMapping());
|
|
3174
3174
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
3175
|
-
var tmp_0 = this.
|
|
3175
|
+
var tmp_0 = this.mfp_1.dispatch;
|
|
3176
3176
|
var tmp_1 = Companion_instance;
|
|
3177
3177
|
var tmp_2;
|
|
3178
3178
|
switch (shutdownReason.a1_1) {
|
|
@@ -3186,10 +3186,10 @@
|
|
|
3186
3186
|
noWhenBranchMatchedException();
|
|
3187
3187
|
break;
|
|
3188
3188
|
}
|
|
3189
|
-
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.
|
|
3189
|
+
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.jfp_1.table.isGameFinished, this.jfp_1.table));
|
|
3190
3190
|
} else {
|
|
3191
|
-
this.
|
|
3192
|
-
var tmp_3 = this.
|
|
3191
|
+
this.jfp_1.o5s().w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.kfp_1);
|
|
3192
|
+
var tmp_3 = this.mfp_1.dispatch;
|
|
3193
3193
|
var tmp2_safe_receiver = state.q7v_1;
|
|
3194
3194
|
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.m9k_1));
|
|
3195
3195
|
}
|
|
@@ -3203,37 +3203,37 @@
|
|
|
3203
3203
|
}
|
|
3204
3204
|
while (true);
|
|
3205
3205
|
};
|
|
3206
|
-
protoOf(GameServer$shutdown$slambda).
|
|
3207
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
3208
|
-
i.
|
|
3209
|
-
i.
|
|
3206
|
+
protoOf(GameServer$shutdown$slambda).ecx = function ($this$dispatchAsync, store, completion) {
|
|
3207
|
+
var i = new GameServer$shutdown$slambda(this.ifp_1, this.jfp_1, this.kfp_1, completion);
|
|
3208
|
+
i.lfp_1 = $this$dispatchAsync;
|
|
3209
|
+
i.mfp_1 = store;
|
|
3210
3210
|
return i;
|
|
3211
3211
|
};
|
|
3212
3212
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
3213
3213
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
3214
3214
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3215
|
-
return i.
|
|
3215
|
+
return i.dcx($this$dispatchAsync, store, $completion);
|
|
3216
3216
|
};
|
|
3217
3217
|
l.$arity = 2;
|
|
3218
3218
|
return l;
|
|
3219
3219
|
}
|
|
3220
3220
|
function GameServer$handlePlayerMessage$slambda($botChatInteractor, $message, $fromPlayerId, $onMessageGenerated, this$0, resultContinuation) {
|
|
3221
|
-
this.
|
|
3222
|
-
this.
|
|
3223
|
-
this.
|
|
3224
|
-
this.
|
|
3225
|
-
this.
|
|
3221
|
+
this.vfp_1 = $botChatInteractor;
|
|
3222
|
+
this.wfp_1 = $message;
|
|
3223
|
+
this.xfp_1 = $fromPlayerId;
|
|
3224
|
+
this.yfp_1 = $onMessageGenerated;
|
|
3225
|
+
this.zfp_1 = this$0;
|
|
3226
3226
|
CoroutineImpl.call(this, resultContinuation);
|
|
3227
3227
|
}
|
|
3228
|
-
protoOf(GameServer$handlePlayerMessage$slambda).
|
|
3229
|
-
var tmp = this.
|
|
3228
|
+
protoOf(GameServer$handlePlayerMessage$slambda).dcx = function ($this$dispatchAsync, store, $completion) {
|
|
3229
|
+
var tmp = this.ecx($this$dispatchAsync, store, $completion);
|
|
3230
3230
|
tmp.k9_1 = Unit_instance;
|
|
3231
3231
|
tmp.l9_1 = null;
|
|
3232
3232
|
return tmp.q9();
|
|
3233
3233
|
};
|
|
3234
3234
|
protoOf(GameServer$handlePlayerMessage$slambda).da = function (p1, p2, $completion) {
|
|
3235
3235
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
3236
|
-
return this.
|
|
3236
|
+
return this.dcx(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
3237
3237
|
};
|
|
3238
3238
|
protoOf(GameServer$handlePlayerMessage$slambda).q9 = function () {
|
|
3239
3239
|
var suspendResult = this.k9_1;
|
|
@@ -3243,18 +3243,18 @@
|
|
|
3243
3243
|
switch (tmp) {
|
|
3244
3244
|
case 0:
|
|
3245
3245
|
this.j9_1 = 3;
|
|
3246
|
-
var state = this.
|
|
3246
|
+
var state = this.bfq_1.store.state;
|
|
3247
3247
|
if (state.s7w()) {
|
|
3248
3248
|
var tmp0_table = state.q7w();
|
|
3249
3249
|
this.i9_1 = 1;
|
|
3250
|
-
suspendResult = this.
|
|
3250
|
+
suspendResult = this.vfp_1.taa(tmp0_table, this.wfp_1, this.xfp_1, VOID, this);
|
|
3251
3251
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3252
3252
|
return suspendResult;
|
|
3253
3253
|
}
|
|
3254
3254
|
continue $sm;
|
|
3255
3255
|
} else {
|
|
3256
|
-
this.
|
|
3257
|
-
var tmp_0 = this.
|
|
3256
|
+
this.zfp_1.o5s().w('GameEngine_API', "GameServer: can't generate message without table, " + this.xfp_1);
|
|
3257
|
+
var tmp_0 = this.bfq_1.dispatch;
|
|
3258
3258
|
var tmp1_safe_receiver = state.q7v_1;
|
|
3259
3259
|
tmp_0(new ClearAction(tmp1_safe_receiver == null ? null : tmp1_safe_receiver.m9k_1));
|
|
3260
3260
|
this.i9_1 = 2;
|
|
@@ -3264,7 +3264,7 @@
|
|
|
3264
3264
|
case 1:
|
|
3265
3265
|
var message = suspendResult;
|
|
3266
3266
|
if (!(message == null)) {
|
|
3267
|
-
this.
|
|
3267
|
+
this.yfp_1(message);
|
|
3268
3268
|
}
|
|
3269
3269
|
|
|
3270
3270
|
this.i9_1 = 2;
|
|
@@ -3285,16 +3285,16 @@
|
|
|
3285
3285
|
}
|
|
3286
3286
|
while (true);
|
|
3287
3287
|
};
|
|
3288
|
-
protoOf(GameServer$handlePlayerMessage$slambda).
|
|
3289
|
-
var i = new GameServer$handlePlayerMessage$slambda(this.
|
|
3290
|
-
i.
|
|
3291
|
-
i.
|
|
3288
|
+
protoOf(GameServer$handlePlayerMessage$slambda).ecx = function ($this$dispatchAsync, store, completion) {
|
|
3289
|
+
var i = new GameServer$handlePlayerMessage$slambda(this.vfp_1, this.wfp_1, this.xfp_1, this.yfp_1, this.zfp_1, completion);
|
|
3290
|
+
i.afq_1 = $this$dispatchAsync;
|
|
3291
|
+
i.bfq_1 = store;
|
|
3292
3292
|
return i;
|
|
3293
3293
|
};
|
|
3294
3294
|
function GameServer$handlePlayerMessage$slambda_0($botChatInteractor, $message, $fromPlayerId, $onMessageGenerated, this$0, resultContinuation) {
|
|
3295
3295
|
var i = new GameServer$handlePlayerMessage$slambda($botChatInteractor, $message, $fromPlayerId, $onMessageGenerated, this$0, resultContinuation);
|
|
3296
3296
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3297
|
-
return i.
|
|
3297
|
+
return i.dcx($this$dispatchAsync, store, $completion);
|
|
3298
3298
|
};
|
|
3299
3299
|
l.$arity = 2;
|
|
3300
3300
|
return l;
|
|
@@ -3325,7 +3325,7 @@
|
|
|
3325
3325
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
3326
3326
|
var tmp_3 = Instance(di, tmp$ret$2, null);
|
|
3327
3327
|
var tmp_4 = KProperty1;
|
|
3328
|
-
tmp_1.
|
|
3328
|
+
tmp_1.bff_1 = tmp_3.x1j(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_4, GameServer$_get_toClientEventsObserver_$ref_utir8s(), null));
|
|
3329
3329
|
var tmp_5 = this;
|
|
3330
3330
|
// Inline function 'org.kodein.di.instance' call
|
|
3331
3331
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3333,7 +3333,7 @@
|
|
|
3333
3333
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
3334
3334
|
var tmp_7 = Instance(di, tmp$ret$4, null);
|
|
3335
3335
|
var tmp_8 = KProperty1;
|
|
3336
|
-
tmp_5.
|
|
3336
|
+
tmp_5.cff_1 = tmp_7.x1j(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_8, GameServer$_get_fromClientEventsObserver_$ref_nf1g79(), null));
|
|
3337
3337
|
var tmp_9 = this;
|
|
3338
3338
|
// Inline function 'org.kodein.di.instance' call
|
|
3339
3339
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3341,7 +3341,7 @@
|
|
|
3341
3341
|
var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
3342
3342
|
var tmp_11 = Instance(di, tmp$ret$6, null);
|
|
3343
3343
|
var tmp_12 = KProperty1;
|
|
3344
|
-
tmp_9.
|
|
3344
|
+
tmp_9.dff_1 = tmp_11.x1j(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_12, GameServer$_get_playerConnectionInteractor_$ref_of8tan(), null));
|
|
3345
3345
|
var tmp_13 = this;
|
|
3346
3346
|
// Inline function 'org.kodein.di.instance' call
|
|
3347
3347
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3349,7 +3349,7 @@
|
|
|
3349
3349
|
var tmp$ret$8 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
3350
3350
|
var tmp_15 = Instance(di, tmp$ret$8, null);
|
|
3351
3351
|
var tmp_16 = KProperty1;
|
|
3352
|
-
tmp_13.
|
|
3352
|
+
tmp_13.eff_1 = tmp_15.x1j(this, getPropertyCallableRef('teamsLogicProvider', 1, tmp_16, GameServer$_get_teamsLogicProvider_$ref_b7y54g(), null));
|
|
3353
3353
|
var tmp_17 = this;
|
|
3354
3354
|
// Inline function 'org.kodein.di.instance' call
|
|
3355
3355
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3357,9 +3357,9 @@
|
|
|
3357
3357
|
var tmp$ret$10 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
3358
3358
|
var tmp_19 = Instance(di, tmp$ret$10, null);
|
|
3359
3359
|
var tmp_20 = KProperty1;
|
|
3360
|
-
tmp_17.
|
|
3360
|
+
tmp_17.fff_1 = tmp_19.x1j(this, getPropertyCallableRef('userRatingInteractor', 1, tmp_20, GameServer$_get_userRatingInteractor_$ref_8uo6aw(), null));
|
|
3361
3361
|
var tmp_21 = this;
|
|
3362
|
-
tmp_21.
|
|
3362
|
+
tmp_21.gff_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
3363
3363
|
var tmp_22 = this;
|
|
3364
3364
|
// Inline function 'org.kodein.di.instance' call
|
|
3365
3365
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3367,7 +3367,7 @@
|
|
|
3367
3367
|
var tmp$ret$12 = isInterface(tmp_23, TypeToken) ? tmp_23 : THROW_CCE();
|
|
3368
3368
|
var tmp_24 = Instance(di, tmp$ret$12, null);
|
|
3369
3369
|
var tmp_25 = KProperty1;
|
|
3370
|
-
tmp_22.
|
|
3370
|
+
tmp_22.hff_1 = tmp_24.x1j(this, getPropertyCallableRef('idsProvider', 1, tmp_25, GameServer$_get_idsProvider_$ref_89s908(), null));
|
|
3371
3371
|
var tmp_26 = this;
|
|
3372
3372
|
// Inline function 'org.kodein.di.instance' call
|
|
3373
3373
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3375,7 +3375,7 @@
|
|
|
3375
3375
|
var tmp$ret$14 = isInterface(tmp_27, TypeToken) ? tmp_27 : THROW_CCE();
|
|
3376
3376
|
var tmp_28 = Instance(di, tmp$ret$14, null);
|
|
3377
3377
|
var tmp_29 = KProperty1;
|
|
3378
|
-
tmp_26.
|
|
3378
|
+
tmp_26.iff_1 = tmp_28.x1j(this, getPropertyCallableRef('serverReduxConfig', 1, tmp_29, GameServer$_get_serverReduxConfig_$ref_7h6jq6(), null));
|
|
3379
3379
|
var tmp_30 = this;
|
|
3380
3380
|
// Inline function 'org.kodein.di.instance' call
|
|
3381
3381
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3383,7 +3383,7 @@
|
|
|
3383
3383
|
var tmp$ret$16 = isInterface(tmp_31, TypeToken) ? tmp_31 : THROW_CCE();
|
|
3384
3384
|
var tmp_32 = Instance(di, tmp$ret$16, null);
|
|
3385
3385
|
var tmp_33 = KProperty1;
|
|
3386
|
-
tmp_30.
|
|
3386
|
+
tmp_30.jff_1 = tmp_32.x1j(this, getPropertyCallableRef('encoderDecoderProvider', 1, tmp_33, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8(), null));
|
|
3387
3387
|
var tmp_34 = this;
|
|
3388
3388
|
// Inline function 'org.kodein.di.instance' call
|
|
3389
3389
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3391,7 +3391,7 @@
|
|
|
3391
3391
|
var tmp$ret$18 = isInterface(tmp_35, TypeToken) ? tmp_35 : THROW_CCE();
|
|
3392
3392
|
var tmp_36 = Instance(di, tmp$ret$18, null);
|
|
3393
3393
|
var tmp_37 = KProperty1;
|
|
3394
|
-
tmp_34.
|
|
3394
|
+
tmp_34.kff_1 = tmp_36.x1j(this, getPropertyCallableRef('engineLogicConfig', 1, tmp_37, GameServer$_get_engineLogicConfig_$ref_nlkv2l(), null));
|
|
3395
3395
|
var tmp_38 = this;
|
|
3396
3396
|
// Inline function 'org.kodein.di.instance' call
|
|
3397
3397
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3399,7 +3399,7 @@
|
|
|
3399
3399
|
var tmp$ret$20 = isInterface(tmp_39, TypeToken) ? tmp_39 : THROW_CCE();
|
|
3400
3400
|
var tmp_40 = Instance(di, tmp$ret$20, null);
|
|
3401
3401
|
var tmp_41 = KProperty1;
|
|
3402
|
-
tmp_38.
|
|
3402
|
+
tmp_38.lff_1 = tmp_40.x1j(this, getPropertyCallableRef('leaguesConfig', 1, tmp_41, GameServer$_get_leaguesConfig_$ref_fi951n(), null));
|
|
3403
3403
|
var tmp_42 = this;
|
|
3404
3404
|
// Inline function 'org.kodein.di.instanceOrNull' call
|
|
3405
3405
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3407,14 +3407,14 @@
|
|
|
3407
3407
|
var tmp$ret$22 = isInterface(tmp_43, TypeToken) ? tmp_43 : THROW_CCE();
|
|
3408
3408
|
var tmp_44 = InstanceOrNull(di, tmp$ret$22, null);
|
|
3409
3409
|
var tmp_45 = KProperty1;
|
|
3410
|
-
tmp_42.
|
|
3410
|
+
tmp_42.mff_1 = tmp_44.x1j(this, getPropertyCallableRef('botChatInteractor', 1, tmp_45, GameServer$_get_botChatInteractor_$ref_zf10ih(), null));
|
|
3411
3411
|
var tmp_46 = this;
|
|
3412
|
-
var tmp0_externalMiddlewares = plus(storeContract.
|
|
3413
|
-
var tmp1_externalReducers = plus(storeContract.
|
|
3414
|
-
tmp_46.
|
|
3412
|
+
var tmp0_externalMiddlewares = plus(storeContract.pap(), externalMiddlewares);
|
|
3413
|
+
var tmp1_externalReducers = plus(storeContract.oap(), externalReducers);
|
|
3414
|
+
tmp_46.nff_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
3415
3415
|
}
|
|
3416
3416
|
protoOf(GameServer).g7v = function () {
|
|
3417
|
-
return this.
|
|
3417
|
+
return this.nff_1;
|
|
3418
3418
|
};
|
|
3419
3419
|
protoOf(GameServer).ya4 = function () {
|
|
3420
3420
|
return get_serverStatePayload(this.a79()).metadata;
|
|
@@ -3466,17 +3466,17 @@
|
|
|
3466
3466
|
};
|
|
3467
3467
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
3468
3468
|
this.o5s().d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
3469
|
-
this.
|
|
3469
|
+
this.nff_1.o7w(GameServer$fromClientEvent$slambda_0(action, null));
|
|
3470
3470
|
};
|
|
3471
3471
|
protoOf(GameServer).playerLostConnection = function (playerId, roomId) {
|
|
3472
3472
|
this.o5s().d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
3473
|
-
this.
|
|
3473
|
+
this.nff_1.o7w(GameServer$playerLostConnection$slambda_0(playerId, roomId, null));
|
|
3474
3474
|
};
|
|
3475
3475
|
protoOf(GameServer).playerLive = function (playerId, roomId) {
|
|
3476
3476
|
this.o5s().d('GameEngine_API', 'playerLive: ' + playerId);
|
|
3477
|
-
this.
|
|
3477
|
+
this.nff_1.o7w(GameServer$playerLive$slambda_0(this, playerId, roomId, null));
|
|
3478
3478
|
};
|
|
3479
|
-
protoOf(GameServer).
|
|
3479
|
+
protoOf(GameServer).cfq = function (playerId, roomId, permanently) {
|
|
3480
3480
|
this.o5s().d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
3481
3481
|
var tmp;
|
|
3482
3482
|
if (this.a79().s7w() && !this.a79().q7w().isGameFinished) {
|
|
@@ -3485,33 +3485,33 @@
|
|
|
3485
3485
|
tmp = null;
|
|
3486
3486
|
}
|
|
3487
3487
|
var result = tmp;
|
|
3488
|
-
this.
|
|
3488
|
+
this.nff_1.o7w(GameServer$playerLeft$slambda_0(this, playerId, permanently, roomId, null));
|
|
3489
3489
|
this.o5s().d('GameEngine_API', 'playerLeft result: ' + toString_0(result));
|
|
3490
3490
|
return result;
|
|
3491
3491
|
};
|
|
3492
|
-
protoOf(GameServer).
|
|
3492
|
+
protoOf(GameServer).dfq = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
3493
3493
|
this.o5s().d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
3494
|
-
this.
|
|
3494
|
+
this.nff_1.o7w(GameServer$roomOnCreate$slambda_0(usersArray, this, config, roomId, transition, gameCreatorId, spectators, null));
|
|
3495
3495
|
};
|
|
3496
3496
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
3497
3497
|
this.o5s().d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
3498
|
-
var isCreated = this.
|
|
3499
|
-
this.
|
|
3498
|
+
var isCreated = this.nff_1.p7w(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
3499
|
+
this.nff_1.o7w(GameServer$roomOnContinueFromState$slambda_2(isCreated, state, null));
|
|
3500
3500
|
};
|
|
3501
3501
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
3502
3502
|
this.o5s().d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
3503
|
-
this.
|
|
3504
|
-
this.
|
|
3503
|
+
this.nff_1.o7w(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
3504
|
+
this.nff_1.o7w(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
3505
3505
|
};
|
|
3506
3506
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
3507
|
-
this.
|
|
3507
|
+
this.nff_1.o7w(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
3508
3508
|
};
|
|
3509
3509
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
3510
|
-
this.
|
|
3510
|
+
this.nff_1.o7w(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
3511
3511
|
};
|
|
3512
3512
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
3513
3513
|
this.o5s().d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
3514
|
-
this.
|
|
3514
|
+
this.nff_1.o7w(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
3515
3515
|
};
|
|
3516
3516
|
protoOf(GameServer).getToClientFinishActionBeforeDisconnect = function (playerId, previousState, originState) {
|
|
3517
3517
|
if (!this.isTableExists) {
|
|
@@ -3521,24 +3521,24 @@
|
|
|
3521
3521
|
var table = this.table;
|
|
3522
3522
|
var player = getPlayer(table.players, playerId);
|
|
3523
3523
|
this.o5s().d('GameEngine_API', 'getToClientFinishActionBeforeDisconnect: ' + playerId + ', ' + ('state = ' + player.h80_1.e7b().o79_1.toString() + ', ') + ('isBot = ' + player.g80_1.isBot));
|
|
3524
|
-
var actions = _get_playerConnectionInteractor__si6cxf(this).
|
|
3524
|
+
var actions = _get_playerConnectionInteractor__si6cxf(this).efq(playerId, previousState.isLive, table.id, mapToFinishReason(originState, player, table.playersConnections), table.isGameFinished);
|
|
3525
3525
|
this.o5s().d('GameEngine_API', 'getToClientFinishActionBeforeDisconnect: ' + toString(actions));
|
|
3526
3526
|
if (actions.r()) {
|
|
3527
3527
|
return null;
|
|
3528
3528
|
}
|
|
3529
3529
|
return new CombinedToClientAction(actions, Companion_instance_1.user(_get_idsProvider__fnfajc(this).d7h(), table.id, playerId));
|
|
3530
3530
|
};
|
|
3531
|
-
protoOf(GameServer).
|
|
3531
|
+
protoOf(GameServer).ffq = function (newRid) {
|
|
3532
3532
|
this.o5s().d('GameEngine_API', 'roomOnDelete: newRid = ' + newRid);
|
|
3533
|
-
this.
|
|
3533
|
+
this.nff_1.o7w(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
3534
3534
|
};
|
|
3535
3535
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
3536
3536
|
this.o5s().d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
3537
|
-
this.
|
|
3537
|
+
this.nff_1.o7w(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
3538
3538
|
};
|
|
3539
|
-
protoOf(GameServer).
|
|
3539
|
+
protoOf(GameServer).gfq = function (reason, roomId) {
|
|
3540
3540
|
this.o5s().d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
3541
|
-
this.
|
|
3541
|
+
this.nff_1.o7w(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
3542
3542
|
};
|
|
3543
3543
|
protoOf(GameServer).handlePlayerMessage = function (message, fromPlayerId, onMessageGenerated) {
|
|
3544
3544
|
var tmp0_elvis_lhs = _get_botChatInteractor__17f3on(this);
|
|
@@ -3550,7 +3550,7 @@
|
|
|
3550
3550
|
}
|
|
3551
3551
|
var botChatInteractor = tmp;
|
|
3552
3552
|
this.o5s().d('GameEngine_API', 'handlePlayerMessage: ' + fromPlayerId);
|
|
3553
|
-
this.
|
|
3553
|
+
this.nff_1.o7w(GameServer$handlePlayerMessage$slambda_0(botChatInteractor, message, fromPlayerId, onMessageGenerated, this, null));
|
|
3554
3554
|
};
|
|
3555
3555
|
protoOf(GameServer).clear = function () {
|
|
3556
3556
|
return this.b3();
|
|
@@ -3604,13 +3604,13 @@
|
|
|
3604
3604
|
this.shouldFinishGameWhenDeploy = shouldFinishGameWhenDeploy;
|
|
3605
3605
|
this.shouldFinishGameWithBots = shouldFinishGameWithBots;
|
|
3606
3606
|
}
|
|
3607
|
-
protoOf(ServerConfig).
|
|
3607
|
+
protoOf(ServerConfig).hfq = function () {
|
|
3608
3608
|
return this.fromRound;
|
|
3609
3609
|
};
|
|
3610
|
-
protoOf(ServerConfig).
|
|
3610
|
+
protoOf(ServerConfig).ifq = function () {
|
|
3611
3611
|
return this.shouldFinishGameWhenDeploy;
|
|
3612
3612
|
};
|
|
3613
|
-
protoOf(ServerConfig).
|
|
3613
|
+
protoOf(ServerConfig).jfq = function () {
|
|
3614
3614
|
return this.shouldFinishGameWithBots;
|
|
3615
3615
|
};
|
|
3616
3616
|
protoOf(ServerConfig).jg = function () {
|
|
@@ -3622,14 +3622,14 @@
|
|
|
3622
3622
|
protoOf(ServerConfig).ro = function () {
|
|
3623
3623
|
return this.shouldFinishGameWithBots;
|
|
3624
3624
|
};
|
|
3625
|
-
protoOf(ServerConfig).
|
|
3625
|
+
protoOf(ServerConfig).kfq = function (fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots) {
|
|
3626
3626
|
return new ServerConfig(fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots);
|
|
3627
3627
|
};
|
|
3628
3628
|
protoOf(ServerConfig).copy = function (fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots, $super) {
|
|
3629
3629
|
fromRound = fromRound === VOID ? this.fromRound : fromRound;
|
|
3630
3630
|
shouldFinishGameWhenDeploy = shouldFinishGameWhenDeploy === VOID ? this.shouldFinishGameWhenDeploy : shouldFinishGameWhenDeploy;
|
|
3631
3631
|
shouldFinishGameWithBots = shouldFinishGameWithBots === VOID ? this.shouldFinishGameWithBots : shouldFinishGameWithBots;
|
|
3632
|
-
return $super === VOID ? this.
|
|
3632
|
+
return $super === VOID ? this.kfq(fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots) : $super.kfq.call(this, fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots);
|
|
3633
3633
|
};
|
|
3634
3634
|
protoOf(ServerConfig).toString = function () {
|
|
3635
3635
|
return 'ServerConfig(fromRound=' + this.fromRound + ', shouldFinishGameWhenDeploy=' + this.shouldFinishGameWhenDeploy + ', shouldFinishGameWithBots=' + this.shouldFinishGameWithBots + ')';
|
|
@@ -3691,20 +3691,20 @@
|
|
|
3691
3691
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.TableStateUpdateDto', this, 2);
|
|
3692
3692
|
tmp0_serialDesc.w11('roomId', false);
|
|
3693
3693
|
tmp0_serialDesc.w11('table', false);
|
|
3694
|
-
this.
|
|
3694
|
+
this.lfq_1 = tmp0_serialDesc;
|
|
3695
3695
|
}
|
|
3696
|
-
protoOf($serializer).
|
|
3697
|
-
var tmp0_desc = this.
|
|
3696
|
+
protoOf($serializer).mfq = function (encoder, value) {
|
|
3697
|
+
var tmp0_desc = this.lfq_1;
|
|
3698
3698
|
var tmp1_output = encoder.eu(tmp0_desc);
|
|
3699
|
-
tmp1_output.tv(tmp0_desc, 0, value.
|
|
3699
|
+
tmp1_output.tv(tmp0_desc, 0, value.nfq_1);
|
|
3700
3700
|
tmp1_output.tv(tmp0_desc, 1, value.table);
|
|
3701
3701
|
tmp1_output.fu(tmp0_desc);
|
|
3702
3702
|
};
|
|
3703
3703
|
protoOf($serializer).sq = function (encoder, value) {
|
|
3704
|
-
return this.
|
|
3704
|
+
return this.mfq(encoder, value instanceof TableStateUpdateDto ? value : THROW_CCE());
|
|
3705
3705
|
};
|
|
3706
3706
|
protoOf($serializer).tq = function (decoder) {
|
|
3707
|
-
var tmp0_desc = this.
|
|
3707
|
+
var tmp0_desc = this.lfq_1;
|
|
3708
3708
|
var tmp1_flag = true;
|
|
3709
3709
|
var tmp2_index = 0;
|
|
3710
3710
|
var tmp3_bitMask0 = 0;
|
|
@@ -3739,7 +3739,7 @@
|
|
|
3739
3739
|
return TableStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3740
3740
|
};
|
|
3741
3741
|
protoOf($serializer).rq = function () {
|
|
3742
|
-
return this.
|
|
3742
|
+
return this.lfq_1;
|
|
3743
3743
|
};
|
|
3744
3744
|
protoOf($serializer).l12 = function () {
|
|
3745
3745
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3755,9 +3755,9 @@
|
|
|
3755
3755
|
}
|
|
3756
3756
|
function TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, $this) {
|
|
3757
3757
|
if (!(3 === (3 & seen0))) {
|
|
3758
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance().
|
|
3758
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance().lfq_1);
|
|
3759
3759
|
}
|
|
3760
|
-
$this.
|
|
3760
|
+
$this.nfq_1 = roomId;
|
|
3761
3761
|
$this.table = table;
|
|
3762
3762
|
return $this;
|
|
3763
3763
|
}
|
|
@@ -3765,17 +3765,17 @@
|
|
|
3765
3765
|
return TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, objectCreate(protoOf(TableStateUpdateDto)));
|
|
3766
3766
|
}
|
|
3767
3767
|
function TableStateUpdateDto(roomId, table) {
|
|
3768
|
-
this.
|
|
3768
|
+
this.nfq_1 = roomId;
|
|
3769
3769
|
this.table = table;
|
|
3770
3770
|
}
|
|
3771
3771
|
protoOf(TableStateUpdateDto).la1 = function () {
|
|
3772
|
-
return this.
|
|
3772
|
+
return this.nfq_1;
|
|
3773
3773
|
};
|
|
3774
3774
|
protoOf(TableStateUpdateDto).q7w = function () {
|
|
3775
3775
|
return this.table;
|
|
3776
3776
|
};
|
|
3777
3777
|
protoOf(TableStateUpdateDto).jg = function () {
|
|
3778
|
-
return this.
|
|
3778
|
+
return this.nfq_1;
|
|
3779
3779
|
};
|
|
3780
3780
|
protoOf(TableStateUpdateDto).kg = function () {
|
|
3781
3781
|
return this.table;
|
|
@@ -3784,15 +3784,15 @@
|
|
|
3784
3784
|
return new TableStateUpdateDto(roomId, table);
|
|
3785
3785
|
};
|
|
3786
3786
|
protoOf(TableStateUpdateDto).copy = function (roomId, table, $super) {
|
|
3787
|
-
roomId = roomId === VOID ? this.
|
|
3787
|
+
roomId = roomId === VOID ? this.nfq_1 : roomId;
|
|
3788
3788
|
table = table === VOID ? this.table : table;
|
|
3789
3789
|
return $super === VOID ? this.c6d(roomId, table) : $super.c6d.call(this, roomId, table);
|
|
3790
3790
|
};
|
|
3791
3791
|
protoOf(TableStateUpdateDto).toString = function () {
|
|
3792
|
-
return 'TableStateUpdateDto(roomId=' + this.
|
|
3792
|
+
return 'TableStateUpdateDto(roomId=' + this.nfq_1 + ', table=' + this.table + ')';
|
|
3793
3793
|
};
|
|
3794
3794
|
protoOf(TableStateUpdateDto).hashCode = function () {
|
|
3795
|
-
var result = getStringHashCode(this.
|
|
3795
|
+
var result = getStringHashCode(this.nfq_1);
|
|
3796
3796
|
result = imul(result, 31) + getStringHashCode(this.table) | 0;
|
|
3797
3797
|
return result;
|
|
3798
3798
|
};
|
|
@@ -3801,7 +3801,7 @@
|
|
|
3801
3801
|
return true;
|
|
3802
3802
|
if (!(other instanceof TableStateUpdateDto))
|
|
3803
3803
|
return false;
|
|
3804
|
-
if (!(this.
|
|
3804
|
+
if (!(this.nfq_1 === other.nfq_1))
|
|
3805
3805
|
return false;
|
|
3806
3806
|
if (!(this.table === other.table))
|
|
3807
3807
|
return false;
|
|
@@ -3817,7 +3817,7 @@
|
|
|
3817
3817
|
// Inline function 'kotlin.arrayOf' call
|
|
3818
3818
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3819
3819
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3820
|
-
tmp.
|
|
3820
|
+
tmp.ofq_1 = [null, lazy_0(tmp_0, ActionsStateUpdateDto$Companion$$childSerializers$_anonymous__oomzzs)];
|
|
3821
3821
|
}
|
|
3822
3822
|
var Companion_instance_14;
|
|
3823
3823
|
function Companion_getInstance_4() {
|
|
@@ -3830,28 +3830,28 @@
|
|
|
3830
3830
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.ActionsStateUpdateDto', this, 2);
|
|
3831
3831
|
tmp0_serialDesc.w11('roomId', false);
|
|
3832
3832
|
tmp0_serialDesc.w11('actions', false);
|
|
3833
|
-
this.
|
|
3833
|
+
this.pfq_1 = tmp0_serialDesc;
|
|
3834
3834
|
}
|
|
3835
|
-
protoOf($serializer_0).
|
|
3836
|
-
var tmp0_desc = this.
|
|
3835
|
+
protoOf($serializer_0).qfq = function (encoder, value) {
|
|
3836
|
+
var tmp0_desc = this.pfq_1;
|
|
3837
3837
|
var tmp1_output = encoder.eu(tmp0_desc);
|
|
3838
|
-
var tmp2_cached = Companion_getInstance_4().
|
|
3839
|
-
tmp1_output.tv(tmp0_desc, 0, value.
|
|
3838
|
+
var tmp2_cached = Companion_getInstance_4().ofq_1;
|
|
3839
|
+
tmp1_output.tv(tmp0_desc, 0, value.rfq_1);
|
|
3840
3840
|
tmp1_output.vv(tmp0_desc, 1, tmp2_cached[1].o1(), value.actions);
|
|
3841
3841
|
tmp1_output.fu(tmp0_desc);
|
|
3842
3842
|
};
|
|
3843
3843
|
protoOf($serializer_0).sq = function (encoder, value) {
|
|
3844
|
-
return this.
|
|
3844
|
+
return this.qfq(encoder, value instanceof ActionsStateUpdateDto ? value : THROW_CCE());
|
|
3845
3845
|
};
|
|
3846
3846
|
protoOf($serializer_0).tq = function (decoder) {
|
|
3847
|
-
var tmp0_desc = this.
|
|
3847
|
+
var tmp0_desc = this.pfq_1;
|
|
3848
3848
|
var tmp1_flag = true;
|
|
3849
3849
|
var tmp2_index = 0;
|
|
3850
3850
|
var tmp3_bitMask0 = 0;
|
|
3851
3851
|
var tmp4_local0 = null;
|
|
3852
3852
|
var tmp5_local1 = null;
|
|
3853
3853
|
var tmp6_input = decoder.eu(tmp0_desc);
|
|
3854
|
-
var tmp7_cached = Companion_getInstance_4().
|
|
3854
|
+
var tmp7_cached = Companion_getInstance_4().ofq_1;
|
|
3855
3855
|
if (tmp6_input.uu()) {
|
|
3856
3856
|
tmp4_local0 = tmp6_input.ou(tmp0_desc, 0);
|
|
3857
3857
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -3880,10 +3880,10 @@
|
|
|
3880
3880
|
return ActionsStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3881
3881
|
};
|
|
3882
3882
|
protoOf($serializer_0).rq = function () {
|
|
3883
|
-
return this.
|
|
3883
|
+
return this.pfq_1;
|
|
3884
3884
|
};
|
|
3885
3885
|
protoOf($serializer_0).l12 = function () {
|
|
3886
|
-
var tmp0_cached = Companion_getInstance_4().
|
|
3886
|
+
var tmp0_cached = Companion_getInstance_4().ofq_1;
|
|
3887
3887
|
// Inline function 'kotlin.arrayOf' call
|
|
3888
3888
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3889
3889
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -3897,9 +3897,9 @@
|
|
|
3897
3897
|
}
|
|
3898
3898
|
function ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, $this) {
|
|
3899
3899
|
if (!(3 === (3 & seen0))) {
|
|
3900
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().
|
|
3900
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().pfq_1);
|
|
3901
3901
|
}
|
|
3902
|
-
$this.
|
|
3902
|
+
$this.rfq_1 = roomId;
|
|
3903
3903
|
$this.actions = actions;
|
|
3904
3904
|
return $this;
|
|
3905
3905
|
}
|
|
@@ -3908,11 +3908,11 @@
|
|
|
3908
3908
|
}
|
|
3909
3909
|
function ActionsStateUpdateDto(roomId, actions) {
|
|
3910
3910
|
Companion_getInstance_4();
|
|
3911
|
-
this.
|
|
3911
|
+
this.rfq_1 = roomId;
|
|
3912
3912
|
this.actions = actions;
|
|
3913
3913
|
}
|
|
3914
3914
|
protoOf(ActionsStateUpdateDto).la1 = function () {
|
|
3915
|
-
return this.
|
|
3915
|
+
return this.rfq_1;
|
|
3916
3916
|
};
|
|
3917
3917
|
protoOf(ActionsStateUpdateDto).ya1 = function () {
|
|
3918
3918
|
return this.actions;
|
|
@@ -3924,33 +3924,33 @@
|
|
|
3924
3924
|
return false;
|
|
3925
3925
|
if (!(other instanceof ActionsStateUpdateDto))
|
|
3926
3926
|
THROW_CCE();
|
|
3927
|
-
if (!(this.
|
|
3927
|
+
if (!(this.rfq_1 === other.rfq_1))
|
|
3928
3928
|
return false;
|
|
3929
3929
|
if (!contentEquals(this.actions, other.actions))
|
|
3930
3930
|
return false;
|
|
3931
3931
|
return true;
|
|
3932
3932
|
};
|
|
3933
3933
|
protoOf(ActionsStateUpdateDto).hashCode = function () {
|
|
3934
|
-
var result = getStringHashCode(this.
|
|
3934
|
+
var result = getStringHashCode(this.rfq_1);
|
|
3935
3935
|
result = imul(31, result) + contentHashCode(this.actions) | 0;
|
|
3936
3936
|
return result;
|
|
3937
3937
|
};
|
|
3938
3938
|
protoOf(ActionsStateUpdateDto).jg = function () {
|
|
3939
|
-
return this.
|
|
3939
|
+
return this.rfq_1;
|
|
3940
3940
|
};
|
|
3941
3941
|
protoOf(ActionsStateUpdateDto).kg = function () {
|
|
3942
3942
|
return this.actions;
|
|
3943
3943
|
};
|
|
3944
|
-
protoOf(ActionsStateUpdateDto).
|
|
3944
|
+
protoOf(ActionsStateUpdateDto).sfq = function (roomId, actions) {
|
|
3945
3945
|
return new ActionsStateUpdateDto(roomId, actions);
|
|
3946
3946
|
};
|
|
3947
3947
|
protoOf(ActionsStateUpdateDto).copy = function (roomId, actions, $super) {
|
|
3948
|
-
roomId = roomId === VOID ? this.
|
|
3948
|
+
roomId = roomId === VOID ? this.rfq_1 : roomId;
|
|
3949
3949
|
actions = actions === VOID ? this.actions : actions;
|
|
3950
|
-
return $super === VOID ? this.
|
|
3950
|
+
return $super === VOID ? this.sfq(roomId, actions) : $super.sfq.call(this, roomId, actions);
|
|
3951
3951
|
};
|
|
3952
3952
|
protoOf(ActionsStateUpdateDto).toString = function () {
|
|
3953
|
-
return 'ActionsStateUpdateDto(roomId=' + this.
|
|
3953
|
+
return 'ActionsStateUpdateDto(roomId=' + this.rfq_1 + ', actions=' + toString(this.actions) + ')';
|
|
3954
3954
|
};
|
|
3955
3955
|
function mapToDto_1(_this__u8e3s4, encoderDecoderProvider) {
|
|
3956
3956
|
var tmp;
|
|
@@ -3966,7 +3966,7 @@
|
|
|
3966
3966
|
return tmp;
|
|
3967
3967
|
}
|
|
3968
3968
|
function mapToDto_2(_this__u8e3s4, encoderDecoderProvider) {
|
|
3969
|
-
return new TableStateUpdateDto(_this__u8e3s4.
|
|
3969
|
+
return new TableStateUpdateDto(_this__u8e3s4.tfq_1, encoderDecoderProvider.ca9(mapToDto(_this__u8e3s4.table)));
|
|
3970
3970
|
}
|
|
3971
3971
|
function mapToDto_3(_this__u8e3s4, encoderDecoderProvider) {
|
|
3972
3972
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -3983,39 +3983,39 @@
|
|
|
3983
3983
|
}
|
|
3984
3984
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3985
3985
|
var tmp$ret$3 = copyToArray(destination);
|
|
3986
|
-
return new ActionsStateUpdateDto(_this__u8e3s4.
|
|
3986
|
+
return new ActionsStateUpdateDto(_this__u8e3s4.ufq_1, tmp$ret$3);
|
|
3987
3987
|
}
|
|
3988
3988
|
function ServerStateUpdate() {
|
|
3989
3989
|
}
|
|
3990
3990
|
function TableStateUpdate(roomId, table) {
|
|
3991
|
-
this.
|
|
3991
|
+
this.tfq_1 = roomId;
|
|
3992
3992
|
this.table = table;
|
|
3993
3993
|
}
|
|
3994
3994
|
protoOf(TableStateUpdate).la1 = function () {
|
|
3995
|
-
return this.
|
|
3995
|
+
return this.tfq_1;
|
|
3996
3996
|
};
|
|
3997
3997
|
protoOf(TableStateUpdate).q7w = function () {
|
|
3998
3998
|
return this.table;
|
|
3999
3999
|
};
|
|
4000
4000
|
protoOf(TableStateUpdate).jg = function () {
|
|
4001
|
-
return this.
|
|
4001
|
+
return this.tfq_1;
|
|
4002
4002
|
};
|
|
4003
4003
|
protoOf(TableStateUpdate).kg = function () {
|
|
4004
4004
|
return this.table;
|
|
4005
4005
|
};
|
|
4006
|
-
protoOf(TableStateUpdate).
|
|
4006
|
+
protoOf(TableStateUpdate).vfq = function (roomId, table) {
|
|
4007
4007
|
return new TableStateUpdate(roomId, table);
|
|
4008
4008
|
};
|
|
4009
4009
|
protoOf(TableStateUpdate).copy = function (roomId, table, $super) {
|
|
4010
|
-
roomId = roomId === VOID ? this.
|
|
4010
|
+
roomId = roomId === VOID ? this.tfq_1 : roomId;
|
|
4011
4011
|
table = table === VOID ? this.table : table;
|
|
4012
|
-
return $super === VOID ? this.
|
|
4012
|
+
return $super === VOID ? this.vfq(roomId, table) : $super.vfq.call(this, roomId, table);
|
|
4013
4013
|
};
|
|
4014
4014
|
protoOf(TableStateUpdate).toString = function () {
|
|
4015
|
-
return 'TableStateUpdate(roomId=' + this.
|
|
4015
|
+
return 'TableStateUpdate(roomId=' + this.tfq_1 + ', table=' + this.table.toString() + ')';
|
|
4016
4016
|
};
|
|
4017
4017
|
protoOf(TableStateUpdate).hashCode = function () {
|
|
4018
|
-
var result = getStringHashCode(this.
|
|
4018
|
+
var result = getStringHashCode(this.tfq_1);
|
|
4019
4019
|
result = imul(result, 31) + this.table.hashCode() | 0;
|
|
4020
4020
|
return result;
|
|
4021
4021
|
};
|
|
@@ -4024,18 +4024,18 @@
|
|
|
4024
4024
|
return true;
|
|
4025
4025
|
if (!(other instanceof TableStateUpdate))
|
|
4026
4026
|
return false;
|
|
4027
|
-
if (!(this.
|
|
4027
|
+
if (!(this.tfq_1 === other.tfq_1))
|
|
4028
4028
|
return false;
|
|
4029
4029
|
if (!this.table.equals(other.table))
|
|
4030
4030
|
return false;
|
|
4031
4031
|
return true;
|
|
4032
4032
|
};
|
|
4033
4033
|
function ActionsStateUpdate(roomId, actions) {
|
|
4034
|
-
this.
|
|
4034
|
+
this.ufq_1 = roomId;
|
|
4035
4035
|
this.actions = actions;
|
|
4036
4036
|
}
|
|
4037
4037
|
protoOf(ActionsStateUpdate).la1 = function () {
|
|
4038
|
-
return this.
|
|
4038
|
+
return this.ufq_1;
|
|
4039
4039
|
};
|
|
4040
4040
|
protoOf(ActionsStateUpdate).ya1 = function () {
|
|
4041
4041
|
return this.actions;
|
|
@@ -4047,33 +4047,33 @@
|
|
|
4047
4047
|
return false;
|
|
4048
4048
|
if (!(other instanceof ActionsStateUpdate))
|
|
4049
4049
|
THROW_CCE();
|
|
4050
|
-
if (!(this.
|
|
4050
|
+
if (!(this.ufq_1 === other.ufq_1))
|
|
4051
4051
|
return false;
|
|
4052
4052
|
if (!contentEquals(this.actions, other.actions))
|
|
4053
4053
|
return false;
|
|
4054
4054
|
return true;
|
|
4055
4055
|
};
|
|
4056
4056
|
protoOf(ActionsStateUpdate).hashCode = function () {
|
|
4057
|
-
var result = getStringHashCode(this.
|
|
4057
|
+
var result = getStringHashCode(this.ufq_1);
|
|
4058
4058
|
result = imul(31, result) + contentHashCode(this.actions) | 0;
|
|
4059
4059
|
return result;
|
|
4060
4060
|
};
|
|
4061
4061
|
protoOf(ActionsStateUpdate).jg = function () {
|
|
4062
|
-
return this.
|
|
4062
|
+
return this.ufq_1;
|
|
4063
4063
|
};
|
|
4064
4064
|
protoOf(ActionsStateUpdate).kg = function () {
|
|
4065
4065
|
return this.actions;
|
|
4066
4066
|
};
|
|
4067
|
-
protoOf(ActionsStateUpdate).
|
|
4067
|
+
protoOf(ActionsStateUpdate).wfq = function (roomId, actions) {
|
|
4068
4068
|
return new ActionsStateUpdate(roomId, actions);
|
|
4069
4069
|
};
|
|
4070
4070
|
protoOf(ActionsStateUpdate).copy = function (roomId, actions, $super) {
|
|
4071
|
-
roomId = roomId === VOID ? this.
|
|
4071
|
+
roomId = roomId === VOID ? this.ufq_1 : roomId;
|
|
4072
4072
|
actions = actions === VOID ? this.actions : actions;
|
|
4073
|
-
return $super === VOID ? this.
|
|
4073
|
+
return $super === VOID ? this.wfq(roomId, actions) : $super.wfq.call(this, roomId, actions);
|
|
4074
4074
|
};
|
|
4075
4075
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
4076
|
-
return 'ActionsStateUpdate(roomId=' + this.
|
|
4076
|
+
return 'ActionsStateUpdate(roomId=' + this.ufq_1 + ', actions=' + toString(this.actions) + ')';
|
|
4077
4077
|
};
|
|
4078
4078
|
function createGameServerDI(serverConfig, logicConfig, engineBotConfig, dealerConfig, ratingConfig, leaguesConfig, externalReducers, externalMiddlewares, botModelProvider) {
|
|
4079
4079
|
externalReducers = externalReducers === VOID ? emptyList() : externalReducers;
|
|
@@ -4402,18 +4402,18 @@
|
|
|
4402
4402
|
function ToClientEventsObserver() {
|
|
4403
4403
|
}
|
|
4404
4404
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
4405
|
-
this.
|
|
4406
|
-
this.
|
|
4405
|
+
this.gfr_1 = this$0;
|
|
4406
|
+
this.hfr_1 = $actions;
|
|
4407
4407
|
CoroutineImpl.call(this, resultContinuation);
|
|
4408
4408
|
}
|
|
4409
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
4410
|
-
var tmp = this.
|
|
4409
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).kfr = function ($this$flow, $completion) {
|
|
4410
|
+
var tmp = this.lfr($this$flow, $completion);
|
|
4411
4411
|
tmp.k9_1 = Unit_instance;
|
|
4412
4412
|
tmp.l9_1 = null;
|
|
4413
4413
|
return tmp.q9();
|
|
4414
4414
|
};
|
|
4415
4415
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).ca = function (p1, $completion) {
|
|
4416
|
-
return this.
|
|
4416
|
+
return this.kfr((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
4417
4417
|
};
|
|
4418
4418
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).q9 = function () {
|
|
4419
4419
|
var suspendResult = this.k9_1;
|
|
@@ -4423,19 +4423,19 @@
|
|
|
4423
4423
|
switch (tmp) {
|
|
4424
4424
|
case 0:
|
|
4425
4425
|
this.j9_1 = 4;
|
|
4426
|
-
this.
|
|
4427
|
-
this.
|
|
4426
|
+
this.gfr_1.qfr_1;
|
|
4427
|
+
this.jfr_1 = transformToEmits(this.gfr_1, this.hfr_1).t();
|
|
4428
4428
|
this.i9_1 = 1;
|
|
4429
4429
|
continue $sm;
|
|
4430
4430
|
case 1:
|
|
4431
|
-
if (!this.
|
|
4431
|
+
if (!this.jfr_1.u()) {
|
|
4432
4432
|
this.i9_1 = 3;
|
|
4433
4433
|
continue $sm;
|
|
4434
4434
|
}
|
|
4435
4435
|
|
|
4436
|
-
var element = this.
|
|
4436
|
+
var element = this.jfr_1.v();
|
|
4437
4437
|
this.i9_1 = 2;
|
|
4438
|
-
suspendResult = this.
|
|
4438
|
+
suspendResult = this.ifr_1.r28(element, this);
|
|
4439
4439
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4440
4440
|
return suspendResult;
|
|
4441
4441
|
}
|
|
@@ -4445,11 +4445,11 @@
|
|
|
4445
4445
|
this.i9_1 = 1;
|
|
4446
4446
|
continue $sm;
|
|
4447
4447
|
case 3:
|
|
4448
|
-
var tmp0 = this.
|
|
4448
|
+
var tmp0 = this.gfr_1.pfr_1;
|
|
4449
4449
|
l$ret$1: do {
|
|
4450
4450
|
while (true) {
|
|
4451
4451
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
4452
|
-
var upd = cur - this.
|
|
4452
|
+
var upd = cur - this.hfr_1.g1() | 0;
|
|
4453
4453
|
if (tmp0.atomicfu$compareAndSet(cur, upd)) {
|
|
4454
4454
|
break l$ret$1;
|
|
4455
4455
|
}
|
|
@@ -4471,15 +4471,15 @@
|
|
|
4471
4471
|
}
|
|
4472
4472
|
while (true);
|
|
4473
4473
|
};
|
|
4474
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
4475
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
4476
|
-
i.
|
|
4474
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).lfr = function ($this$flow, completion) {
|
|
4475
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.gfr_1, this.hfr_1, completion);
|
|
4476
|
+
i.ifr_1 = $this$flow;
|
|
4477
4477
|
return i;
|
|
4478
4478
|
};
|
|
4479
4479
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
4480
4480
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
4481
4481
|
var l = function ($this$flow, $completion) {
|
|
4482
|
-
return i.
|
|
4482
|
+
return i.kfr($this$flow, $completion);
|
|
4483
4483
|
};
|
|
4484
4484
|
l.$arity = 1;
|
|
4485
4485
|
return l;
|
|
@@ -4549,29 +4549,29 @@
|
|
|
4549
4549
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
4550
4550
|
}
|
|
4551
4551
|
function mapFromGroupKey($this, _this__u8e3s4) {
|
|
4552
|
-
var tmp = $this.
|
|
4552
|
+
var tmp = $this.ofr_1.d7h();
|
|
4553
4553
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
4554
|
-
var this_0 = _this__u8e3s4.
|
|
4554
|
+
var this_0 = _this__u8e3s4.tfr_1;
|
|
4555
4555
|
var tmp_0 = copyToArray(this_0);
|
|
4556
4556
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
4557
|
-
var this_1 = _this__u8e3s4.
|
|
4557
|
+
var this_1 = _this__u8e3s4.ufr_1;
|
|
4558
4558
|
var tmp$ret$1 = copyToArray(this_1);
|
|
4559
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
4559
|
+
return new ActionDeliveryPayload(_this__u8e3s4.sfr_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.vfr_1);
|
|
4560
4560
|
}
|
|
4561
4561
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
4562
|
-
this.
|
|
4563
|
-
this.
|
|
4564
|
-
this.
|
|
4565
|
-
this.
|
|
4562
|
+
this.sfr_1 = tableId;
|
|
4563
|
+
this.tfr_1 = includePlayers;
|
|
4564
|
+
this.ufr_1 = excludePlayers;
|
|
4565
|
+
this.vfr_1 = deliveryType;
|
|
4566
4566
|
}
|
|
4567
4567
|
protoOf(GroupKey).toString = function () {
|
|
4568
|
-
return 'GroupKey(tableId=' + this.
|
|
4568
|
+
return 'GroupKey(tableId=' + this.sfr_1 + ', includePlayers=' + toString(this.tfr_1) + ', excludePlayers=' + toString(this.ufr_1) + ', deliveryType=' + this.vfr_1.toString() + ')';
|
|
4569
4569
|
};
|
|
4570
4570
|
protoOf(GroupKey).hashCode = function () {
|
|
4571
|
-
var result = getStringHashCode(this.
|
|
4572
|
-
result = imul(result, 31) + hashCode(this.sfr_1) | 0;
|
|
4571
|
+
var result = getStringHashCode(this.sfr_1);
|
|
4573
4572
|
result = imul(result, 31) + hashCode(this.tfr_1) | 0;
|
|
4574
|
-
result = imul(result, 31) + this.ufr_1
|
|
4573
|
+
result = imul(result, 31) + hashCode(this.ufr_1) | 0;
|
|
4574
|
+
result = imul(result, 31) + this.vfr_1.hashCode() | 0;
|
|
4575
4575
|
return result;
|
|
4576
4576
|
};
|
|
4577
4577
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -4579,35 +4579,35 @@
|
|
|
4579
4579
|
return true;
|
|
4580
4580
|
if (!(other instanceof GroupKey))
|
|
4581
4581
|
return false;
|
|
4582
|
-
if (!(this.
|
|
4583
|
-
return false;
|
|
4584
|
-
if (!equals(this.sfr_1, other.sfr_1))
|
|
4582
|
+
if (!(this.sfr_1 === other.sfr_1))
|
|
4585
4583
|
return false;
|
|
4586
4584
|
if (!equals(this.tfr_1, other.tfr_1))
|
|
4587
4585
|
return false;
|
|
4588
|
-
if (!this.ufr_1
|
|
4586
|
+
if (!equals(this.ufr_1, other.ufr_1))
|
|
4587
|
+
return false;
|
|
4588
|
+
if (!this.vfr_1.equals(other.vfr_1))
|
|
4589
4589
|
return false;
|
|
4590
4590
|
return true;
|
|
4591
4591
|
};
|
|
4592
4592
|
function Companion_4() {
|
|
4593
|
-
this.
|
|
4593
|
+
this.wfr_1 = 6;
|
|
4594
4594
|
}
|
|
4595
4595
|
var Companion_instance_15;
|
|
4596
4596
|
function Companion_getInstance_5() {
|
|
4597
4597
|
return Companion_instance_15;
|
|
4598
4598
|
}
|
|
4599
4599
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
4600
|
-
this.
|
|
4600
|
+
this.ffs_1 = this$0;
|
|
4601
4601
|
CoroutineImpl.call(this, resultContinuation);
|
|
4602
4602
|
}
|
|
4603
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
4604
|
-
var tmp = this.
|
|
4603
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).hfs = function (actions, $completion) {
|
|
4604
|
+
var tmp = this.ifs(actions, $completion);
|
|
4605
4605
|
tmp.k9_1 = Unit_instance;
|
|
4606
4606
|
tmp.l9_1 = null;
|
|
4607
4607
|
return tmp.q9();
|
|
4608
4608
|
};
|
|
4609
4609
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).ca = function (p1, $completion) {
|
|
4610
|
-
return this.
|
|
4610
|
+
return this.hfs((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
4611
4611
|
};
|
|
4612
4612
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).q9 = function () {
|
|
4613
4613
|
var suspendResult = this.k9_1;
|
|
@@ -4616,7 +4616,7 @@
|
|
|
4616
4616
|
var tmp = this.i9_1;
|
|
4617
4617
|
if (tmp === 0) {
|
|
4618
4618
|
this.j9_1 = 1;
|
|
4619
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
4619
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.ffs_1, this.gfs_1, null));
|
|
4620
4620
|
} else if (tmp === 1) {
|
|
4621
4621
|
throw this.l9_1;
|
|
4622
4622
|
}
|
|
@@ -4626,23 +4626,23 @@
|
|
|
4626
4626
|
}
|
|
4627
4627
|
while (true);
|
|
4628
4628
|
};
|
|
4629
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
4630
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
4631
|
-
i.
|
|
4629
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).ifs = function (actions, completion) {
|
|
4630
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.ffs_1, completion);
|
|
4631
|
+
i.gfs_1 = actions;
|
|
4632
4632
|
return i;
|
|
4633
4633
|
};
|
|
4634
4634
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
4635
4635
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
4636
4636
|
var l = function (actions, $completion) {
|
|
4637
|
-
return i.
|
|
4637
|
+
return i.hfs(actions, $completion);
|
|
4638
4638
|
};
|
|
4639
4639
|
l.$arity = 1;
|
|
4640
4640
|
return l;
|
|
4641
4641
|
}
|
|
4642
4642
|
function $sentEventCOROUTINE$(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
4643
4643
|
CoroutineImpl.call(this, resultContinuation);
|
|
4644
|
-
this.
|
|
4645
|
-
this.
|
|
4644
|
+
this.rfs_1 = _this__u8e3s4;
|
|
4645
|
+
this.sfs_1 = fromEvent;
|
|
4646
4646
|
}
|
|
4647
4647
|
protoOf($sentEventCOROUTINE$).q9 = function () {
|
|
4648
4648
|
var suspendResult = this.k9_1;
|
|
@@ -4652,8 +4652,8 @@
|
|
|
4652
4652
|
switch (tmp) {
|
|
4653
4653
|
case 0:
|
|
4654
4654
|
this.j9_1 = 2;
|
|
4655
|
-
this.
|
|
4656
|
-
var tmp0 = this.
|
|
4655
|
+
this.rfs_1.qfr_1;
|
|
4656
|
+
var tmp0 = this.rfs_1.pfr_1;
|
|
4657
4657
|
l$ret$1: do {
|
|
4658
4658
|
while (true) {
|
|
4659
4659
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
@@ -4665,7 +4665,7 @@
|
|
|
4665
4665
|
}
|
|
4666
4666
|
while (false);
|
|
4667
4667
|
this.i9_1 = 1;
|
|
4668
|
-
suspendResult = this.
|
|
4668
|
+
suspendResult = this.rfs_1.rfr_1.r28(this.sfs_1, this);
|
|
4669
4669
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4670
4670
|
return suspendResult;
|
|
4671
4671
|
}
|
|
@@ -4689,7 +4689,7 @@
|
|
|
4689
4689
|
};
|
|
4690
4690
|
function $waitForCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
4691
4691
|
CoroutineImpl.call(this, resultContinuation);
|
|
4692
|
-
this.
|
|
4692
|
+
this.bft_1 = _this__u8e3s4;
|
|
4693
4693
|
}
|
|
4694
4694
|
protoOf($waitForCOROUTINE$).q9 = function () {
|
|
4695
4695
|
var suspendResult = this.k9_1;
|
|
@@ -4699,12 +4699,12 @@
|
|
|
4699
4699
|
switch (tmp) {
|
|
4700
4700
|
case 0:
|
|
4701
4701
|
this.j9_1 = 5;
|
|
4702
|
-
this.
|
|
4703
|
-
this.
|
|
4702
|
+
this.bft_1.qfr_1;
|
|
4703
|
+
this.cft_1 = 0;
|
|
4704
4704
|
this.i9_1 = 1;
|
|
4705
4705
|
continue $sm;
|
|
4706
4706
|
case 1:
|
|
4707
|
-
if (!!(this.
|
|
4707
|
+
if (!!(this.bft_1.pfr_1.kotlinx$atomicfu$value === 0)) {
|
|
4708
4708
|
this.i9_1 = 4;
|
|
4709
4709
|
continue $sm;
|
|
4710
4710
|
}
|
|
@@ -4717,9 +4717,9 @@
|
|
|
4717
4717
|
|
|
4718
4718
|
continue $sm;
|
|
4719
4719
|
case 2:
|
|
4720
|
-
this.
|
|
4721
|
-
if (this.
|
|
4722
|
-
this.
|
|
4720
|
+
this.cft_1 = this.cft_1 + 1 | 0;
|
|
4721
|
+
if (this.cft_1 > 6) {
|
|
4722
|
+
this.bft_1.nfr_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, " + ('not delivered events count = ' + this.bft_1.pfr_1.kotlinx$atomicfu$value));
|
|
4723
4723
|
this.i9_1 = 4;
|
|
4724
4724
|
continue $sm;
|
|
4725
4725
|
} else {
|
|
@@ -4747,54 +4747,54 @@
|
|
|
4747
4747
|
while (true);
|
|
4748
4748
|
};
|
|
4749
4749
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
4750
|
-
this.
|
|
4751
|
-
this.
|
|
4752
|
-
this.
|
|
4753
|
-
this.
|
|
4750
|
+
this.mfr_1 = serverReduxConfig;
|
|
4751
|
+
this.nfr_1 = logger;
|
|
4752
|
+
this.ofr_1 = idsProvider;
|
|
4753
|
+
this.pfr_1 = atomic$ref$1(0);
|
|
4754
4754
|
var tmp = this;
|
|
4755
4755
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
4756
|
-
tmp.
|
|
4757
|
-
this.
|
|
4756
|
+
tmp.qfr_1 = get_atomicfu$reentrantLock();
|
|
4757
|
+
this.rfr_1 = MutableSharedFlow();
|
|
4758
4758
|
}
|
|
4759
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4759
|
+
protoOf(ToClientEventsObserverImpl).xfq = function (fromEvent, $completion) {
|
|
4760
4760
|
var tmp = new $sentEventCOROUTINE$(this, fromEvent, $completion);
|
|
4761
4761
|
tmp.k9_1 = Unit_instance;
|
|
4762
4762
|
tmp.l9_1 = null;
|
|
4763
4763
|
return tmp.q9();
|
|
4764
4764
|
};
|
|
4765
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4765
|
+
protoOf(ToClientEventsObserverImpl).ray = function ($completion) {
|
|
4766
4766
|
var tmp = new $waitForCOROUTINE$(this, $completion);
|
|
4767
4767
|
tmp.k9_1 = Unit_instance;
|
|
4768
4768
|
tmp.l9_1 = null;
|
|
4769
4769
|
return tmp.q9();
|
|
4770
4770
|
};
|
|
4771
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4772
|
-
if (!this.
|
|
4773
|
-
return this.
|
|
4771
|
+
protoOf(ToClientEventsObserverImpl).wcf = function () {
|
|
4772
|
+
if (!this.mfr_1.enabledCombinedEvents) {
|
|
4773
|
+
return this.rfr_1;
|
|
4774
4774
|
}
|
|
4775
|
-
var tmp = windowedByInterval(this.
|
|
4775
|
+
var tmp = windowedByInterval(this.rfr_1, fromInt(this.mfr_1.combinedEventsIntervalMillis));
|
|
4776
4776
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
4777
4777
|
};
|
|
4778
4778
|
function PlayerConnectionInteractor() {
|
|
4779
4779
|
}
|
|
4780
4780
|
function waitPlayerOrDisconnect($this, newConnectionState, previousConnectionState, table, player, waitForPlayer) {
|
|
4781
|
-
if (waitForPlayer && $this.
|
|
4781
|
+
if (waitForPlayer && $this.ift_1.waitForPlayerToReconnect) {
|
|
4782
4782
|
Companion_getInstance();
|
|
4783
4783
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
4784
|
-
var this_0 = $this.
|
|
4784
|
+
var this_0 = $this.ift_1.reconnectionCheckDurationMillis;
|
|
4785
4785
|
var reconnectionCheckDurationMillis = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
4786
4786
|
var noRecentReconnects = Duration__compareTo_impl_pchp0f(table.gameDuration, reconnectionCheckDurationMillis) < 0 || player.h80_1.e7b().y79(reconnectionCheckDurationMillis);
|
|
4787
4787
|
if (noRecentReconnects) {
|
|
4788
|
-
return $this.
|
|
4788
|
+
return $this.eft(player.playerId, newConnectionState, previousConnectionState);
|
|
4789
4789
|
}
|
|
4790
4790
|
}
|
|
4791
|
-
var canRemoveGameWhenNoPlayers = Companion_instance_2.f80($this.
|
|
4791
|
+
var canRemoveGameWhenNoPlayers = Companion_instance_2.f80($this.ift_1.finishGameWhenNotLiveStrategy, player.playerId, table.players);
|
|
4792
4792
|
if (canRemoveGameWhenNoPlayers) {
|
|
4793
|
-
return listOf($this.
|
|
4793
|
+
return listOf($this.mft_1.pag(mapToFinishReason(newConnectionState, player, table.playersConnections), table, 'Disconnect: No Players to continue game'));
|
|
4794
4794
|
}
|
|
4795
4795
|
if (table.sceneInfo.a8o()) {
|
|
4796
|
-
if (!$this.
|
|
4797
|
-
return listOf($this.
|
|
4796
|
+
if (!$this.jft_1.openRoomIfFinished) {
|
|
4797
|
+
return listOf($this.mft_1.pag(mapToFinishReason(newConnectionState, player, table.playersConnections), table, 'Disconnect: Game is finished'));
|
|
4798
4798
|
}
|
|
4799
4799
|
// Inline function 'kotlin.collections.filter' call
|
|
4800
4800
|
var tmp0 = table.players;
|
|
@@ -4869,27 +4869,27 @@
|
|
|
4869
4869
|
}
|
|
4870
4870
|
var readyLivePlayers = destination_3;
|
|
4871
4871
|
var usersToJoinRoomSize = table.players.g1() - notAlivePlayers.g1() | 0;
|
|
4872
|
-
if ($this.
|
|
4873
|
-
return listOf($this.
|
|
4872
|
+
if ($this.jft_1.minPlayersToOpenRoom >= usersToJoinRoomSize) {
|
|
4873
|
+
return listOf($this.mft_1.pag(mapToFinishReason(newConnectionState, player, table.playersConnections), table, 'Disconnect: Not enough users to create room'));
|
|
4874
4874
|
}
|
|
4875
4875
|
var allPlayersMadeDecision = (readyLivePlayers.g1() + notAlivePlayers.g1() | 0) === table.players.g1();
|
|
4876
4876
|
if (allPlayersMadeDecision) {
|
|
4877
|
-
var tmp0_$this = $this.
|
|
4877
|
+
var tmp0_$this = $this.mft_1;
|
|
4878
4878
|
var tmp1_reason = mapToFinishReason(newConnectionState, player, table.playersConnections);
|
|
4879
4879
|
return listOf(tmp0_$this.oag(tmp1_reason, table, 'Disconnect: Game is finished, transition to room', readyLivePlayers));
|
|
4880
4880
|
}
|
|
4881
4881
|
}
|
|
4882
|
-
if (!$this.
|
|
4883
|
-
return listOf($this.
|
|
4882
|
+
if (!$this.ift_1.botReplacesPlayerAfterTimeout) {
|
|
4883
|
+
return listOf($this.mft_1.pag(mapToFinishReason(newConnectionState, player, table.playersConnections), table, "Disconnect: Can't continue game without bots"));
|
|
4884
4884
|
}
|
|
4885
4885
|
return getPlayerDisconnectedActions($this, newConnectionState, previousConnectionState, player);
|
|
4886
4886
|
}
|
|
4887
4887
|
function getPlayerConnectedActions($this, player, table, previousConnectionState) {
|
|
4888
4888
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
4889
4889
|
var actionsList = ArrayList_init_$Create$_0();
|
|
4890
|
-
actionsList.i1(listOf_0([new PlayerConnectionChangedMechanicAction(player.playerId, PlayerConnectionState_LIVE_getInstance(), previousConnectionState), $this.
|
|
4890
|
+
actionsList.i1(listOf_0([new PlayerConnectionChangedMechanicAction(player.playerId, PlayerConnectionState_LIVE_getInstance(), previousConnectionState), $this.fft(player, table, previousConnectionState)]));
|
|
4891
4891
|
if (player.h80_1.n79()) {
|
|
4892
|
-
actionsList.i1(listOf_0([new StopTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.h80_1.u7a())), new StartTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.h80_1.u7a(), true), _Duration___get_inWholeMilliseconds__impl__msfiry($this.
|
|
4892
|
+
actionsList.i1(listOf_0([new StopTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.h80_1.u7a())), new StartTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.h80_1.u7a(), true), _Duration___get_inWholeMilliseconds__impl__msfiry($this.kft_1.ub4(table.config)), VOID, TimerType_DELAY_getInstance())]));
|
|
4893
4893
|
}
|
|
4894
4894
|
return actionsList;
|
|
4895
4895
|
}
|
|
@@ -4918,13 +4918,13 @@
|
|
|
4918
4918
|
};
|
|
4919
4919
|
}
|
|
4920
4920
|
function PlayerConnectionInteractorImpl(serverConfig, engineLogicConfig, playerTurnMechanicReducer, idsProvider, gameLifecycleInteractor) {
|
|
4921
|
-
this.
|
|
4922
|
-
this.
|
|
4923
|
-
this.
|
|
4924
|
-
this.
|
|
4925
|
-
this.
|
|
4921
|
+
this.ift_1 = serverConfig;
|
|
4922
|
+
this.jft_1 = engineLogicConfig;
|
|
4923
|
+
this.kft_1 = playerTurnMechanicReducer;
|
|
4924
|
+
this.lft_1 = idsProvider;
|
|
4925
|
+
this.mft_1 = gameLifecycleInteractor;
|
|
4926
4926
|
}
|
|
4927
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4927
|
+
protoOf(PlayerConnectionInteractorImpl).dft = function (newConnectionState, previousConnectionState, player, table, afterReconnection) {
|
|
4928
4928
|
var tmp;
|
|
4929
4929
|
switch (newConnectionState.a1_1) {
|
|
4930
4930
|
case 1:
|
|
@@ -4957,18 +4957,18 @@
|
|
|
4957
4957
|
}
|
|
4958
4958
|
return tmp;
|
|
4959
4959
|
};
|
|
4960
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4960
|
+
protoOf(PlayerConnectionInteractorImpl).efq = function (sendToPlayerId, isLive, tableId, reason, isGameFinished) {
|
|
4961
4961
|
if (!isLive) {
|
|
4962
4962
|
return emptyList();
|
|
4963
4963
|
}
|
|
4964
|
-
var tmp0_deliveryPayload = Companion_instance_1.user(this.
|
|
4964
|
+
var tmp0_deliveryPayload = Companion_instance_1.user(this.lft_1.d7h(), tableId, sendToPlayerId);
|
|
4965
4965
|
var tmp = new FinishingGameToClientAction(reason, isGameFinished, null, tmp0_deliveryPayload);
|
|
4966
|
-
var tmp1_deliveryPayload = Companion_instance_1.user(this.
|
|
4966
|
+
var tmp1_deliveryPayload = Companion_instance_1.user(this.lft_1.d7h(), tableId, sendToPlayerId);
|
|
4967
4967
|
return listOf_0([tmp, new FinishGameToClientAction(reason, isGameFinished, null, tmp1_deliveryPayload)]);
|
|
4968
4968
|
};
|
|
4969
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4970
|
-
var updatedTable = this.
|
|
4971
|
-
var aid = this.
|
|
4969
|
+
protoOf(PlayerConnectionInteractorImpl).fft = function (sendToPlayer, table, previousConnectionState) {
|
|
4970
|
+
var updatedTable = this.kft_1.vb2(table, sendToPlayer.playerId, PlayerConnectionState_LIVE_getInstance(), null);
|
|
4971
|
+
var aid = this.lft_1.d7h();
|
|
4972
4972
|
var tmp;
|
|
4973
4973
|
if (equals(previousConnectionState, PlayerConnectionState_WAITING_getInstance())) {
|
|
4974
4974
|
tmp = GameStartReason_getInstance();
|
|
@@ -4993,8 +4993,8 @@
|
|
|
4993
4993
|
var tmp5_table = mapToClient(updatedTable, UserActionPayload_init_$Create$(aid, tmp2_tableId, tmp1_gameCreatorPlayerId, tmp0_playerId, destination));
|
|
4994
4994
|
return new ContinueGameToClientAction(tmp5_table, reason, null, null, tmp4_deliveryPayload);
|
|
4995
4995
|
};
|
|
4996
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4997
|
-
var aid = this.
|
|
4996
|
+
protoOf(PlayerConnectionInteractorImpl).gft = function (sendToPlayerId, table) {
|
|
4997
|
+
var aid = this.lft_1.d7h();
|
|
4998
4998
|
var gameCreatorPlayerId = getGameCreator(table.players).playerId;
|
|
4999
4999
|
// Inline function 'kotlin.collections.single' call
|
|
5000
5000
|
var single = null;
|
|
@@ -5017,24 +5017,24 @@
|
|
|
5017
5017
|
var tmp2_reason = new SpectatorJoinedReason(sendToPlayerId);
|
|
5018
5018
|
return new ContinueGameToClientAction(tmp1_table, tmp2_reason, null, spectator, tmp0_deliveryPayload);
|
|
5019
5019
|
};
|
|
5020
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
5020
|
+
protoOf(PlayerConnectionInteractorImpl).eft = function (playerId, newConnectionState, previousConnectionState) {
|
|
5021
5021
|
var tmp = System_instance.lm();
|
|
5022
5022
|
Companion_getInstance();
|
|
5023
5023
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
5024
|
-
var this_0 = this.
|
|
5024
|
+
var this_0 = this.ift_1.waitForPlayerToReconnectTimeOutMillis;
|
|
5025
5025
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
5026
5026
|
var reconnectUntilTime = tmp.jn(tmp$ret$0);
|
|
5027
5027
|
var tmp0_state = PlayerConnectionState_DISCONNECTING_getInstance();
|
|
5028
5028
|
var tmp1_reconnectUntilTime = reconnectUntilTime.toString();
|
|
5029
|
-
return listOf_0([new PlayerConnectionChangedMechanicAction(playerId, tmp0_state, previousConnectionState, newConnectionState, false, tmp1_reconnectUntilTime), new StartTimerAction(new PlayerReconnectionWaitingTimerTag(playerId, newConnectionState, previousConnectionState), fromInt(this.
|
|
5029
|
+
return listOf_0([new PlayerConnectionChangedMechanicAction(playerId, tmp0_state, previousConnectionState, newConnectionState, false, tmp1_reconnectUntilTime), new StartTimerAction(new PlayerReconnectionWaitingTimerTag(playerId, newConnectionState, previousConnectionState), fromInt(this.ift_1.waitForPlayerToReconnectTimeOutMillis), VOID, TimerType_DELAY_getInstance())]);
|
|
5030
5030
|
};
|
|
5031
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
5031
|
+
protoOf(PlayerConnectionInteractorImpl).hft = function (isBot, playerId, connectedPlayers) {
|
|
5032
5032
|
var tmp;
|
|
5033
5033
|
if (isBot) {
|
|
5034
5034
|
tmp = Companion_instance_3.t79(PlayerConnectionState_LEFT_PERMANENTLY_getInstance());
|
|
5035
5035
|
} else {
|
|
5036
5036
|
var tmp_0;
|
|
5037
|
-
if (this.
|
|
5037
|
+
if (this.ift_1.waitForPlayerToConnectOnStart) {
|
|
5038
5038
|
var tmp_1;
|
|
5039
5039
|
if (connectedPlayers.z1(playerId)) {
|
|
5040
5040
|
tmp_1 = Companion_instance_3.t79(PlayerConnectionState_LIVE_getInstance());
|
|
@@ -5050,154 +5050,154 @@
|
|
|
5050
5050
|
return tmp;
|
|
5051
5051
|
};
|
|
5052
5052
|
function UpdateServerConfigAction(serverConfig) {
|
|
5053
|
-
this.
|
|
5053
|
+
this.nft_1 = serverConfig;
|
|
5054
5054
|
}
|
|
5055
5055
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
5056
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
5056
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.nft_1.toString() + ')';
|
|
5057
5057
|
};
|
|
5058
5058
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
5059
|
-
return this.
|
|
5059
|
+
return this.nft_1.hashCode();
|
|
5060
5060
|
};
|
|
5061
5061
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
5062
5062
|
if (this === other)
|
|
5063
5063
|
return true;
|
|
5064
5064
|
if (!(other instanceof UpdateServerConfigAction))
|
|
5065
5065
|
return false;
|
|
5066
|
-
if (!this.
|
|
5066
|
+
if (!this.nft_1.equals(other.nft_1))
|
|
5067
5067
|
return false;
|
|
5068
5068
|
return true;
|
|
5069
5069
|
};
|
|
5070
5070
|
function AddSpectatorsAction(spectators) {
|
|
5071
|
-
this.
|
|
5071
|
+
this.oft_1 = spectators;
|
|
5072
5072
|
}
|
|
5073
5073
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
5074
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
5074
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.oft_1) + ')';
|
|
5075
5075
|
};
|
|
5076
5076
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
5077
|
-
return hashCode(this.
|
|
5077
|
+
return hashCode(this.oft_1);
|
|
5078
5078
|
};
|
|
5079
5079
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
5080
5080
|
if (this === other)
|
|
5081
5081
|
return true;
|
|
5082
5082
|
if (!(other instanceof AddSpectatorsAction))
|
|
5083
5083
|
return false;
|
|
5084
|
-
if (!equals(this.
|
|
5084
|
+
if (!equals(this.oft_1, other.oft_1))
|
|
5085
5085
|
return false;
|
|
5086
5086
|
return true;
|
|
5087
5087
|
};
|
|
5088
5088
|
function RemoveSpectatorsAction(spectators) {
|
|
5089
|
-
this.
|
|
5089
|
+
this.pft_1 = spectators;
|
|
5090
5090
|
}
|
|
5091
5091
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
5092
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
5092
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.pft_1) + ')';
|
|
5093
5093
|
};
|
|
5094
5094
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
5095
|
-
return hashCode(this.
|
|
5095
|
+
return hashCode(this.pft_1);
|
|
5096
5096
|
};
|
|
5097
5097
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
5098
5098
|
if (this === other)
|
|
5099
5099
|
return true;
|
|
5100
5100
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
5101
5101
|
return false;
|
|
5102
|
-
if (!equals(this.
|
|
5102
|
+
if (!equals(this.pft_1, other.pft_1))
|
|
5103
5103
|
return false;
|
|
5104
5104
|
return true;
|
|
5105
5105
|
};
|
|
5106
5106
|
function SpectatorsAction() {
|
|
5107
5107
|
}
|
|
5108
5108
|
function _get_asyncProvider__jbpyhw($this) {
|
|
5109
|
-
var tmp0 = $this.
|
|
5109
|
+
var tmp0 = $this.vft_1;
|
|
5110
5110
|
var tmp = KProperty1;
|
|
5111
5111
|
// Inline function 'kotlin.getValue' call
|
|
5112
5112
|
getPropertyCallableRef('asyncProvider', 1, tmp, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3_0(), null);
|
|
5113
5113
|
return tmp0.o1();
|
|
5114
5114
|
}
|
|
5115
5115
|
function _get_logger__rkp4sl($this) {
|
|
5116
|
-
var tmp0 = $this.
|
|
5116
|
+
var tmp0 = $this.wft_1;
|
|
5117
5117
|
var tmp = KProperty1;
|
|
5118
5118
|
// Inline function 'kotlin.getValue' call
|
|
5119
5119
|
getPropertyCallableRef('logger', 1, tmp, ServerGameStoreContract$_get_logger_$ref_zbgw28_0(), null);
|
|
5120
5120
|
return tmp0.o1();
|
|
5121
5121
|
}
|
|
5122
5122
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
5123
|
-
var tmp0 = $this.
|
|
5123
|
+
var tmp0 = $this.xft_1;
|
|
5124
5124
|
var tmp = KProperty1;
|
|
5125
5125
|
// Inline function 'kotlin.getValue' call
|
|
5126
5126
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8_0(), null);
|
|
5127
5127
|
return tmp0.o1();
|
|
5128
5128
|
}
|
|
5129
5129
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
5130
|
-
var tmp0 = $this.
|
|
5130
|
+
var tmp0 = $this.yft_1;
|
|
5131
5131
|
var tmp = KProperty1;
|
|
5132
5132
|
// Inline function 'kotlin.getValue' call
|
|
5133
5133
|
getPropertyCallableRef('lastCardInteractor', 1, tmp, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh_0(), null);
|
|
5134
5134
|
return tmp0.o1();
|
|
5135
5135
|
}
|
|
5136
5136
|
function _get_serverConfig__rk2g06($this) {
|
|
5137
|
-
var tmp0 = $this.
|
|
5137
|
+
var tmp0 = $this.zft_1;
|
|
5138
5138
|
var tmp = KProperty1;
|
|
5139
5139
|
// Inline function 'kotlin.getValue' call
|
|
5140
5140
|
getPropertyCallableRef('serverConfig', 1, tmp, ServerGameStoreContract$_get_serverConfig_$ref_bz2891_0(), null);
|
|
5141
5141
|
return tmp0.o1();
|
|
5142
5142
|
}
|
|
5143
5143
|
function _get_logicConfig__52ww9d($this) {
|
|
5144
|
-
var tmp0 = $this.
|
|
5144
|
+
var tmp0 = $this.afu_1;
|
|
5145
5145
|
var tmp = KProperty1;
|
|
5146
5146
|
// Inline function 'kotlin.getValue' call
|
|
5147
5147
|
getPropertyCallableRef('logicConfig', 1, tmp, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi_0(), null);
|
|
5148
5148
|
return tmp0.o1();
|
|
5149
5149
|
}
|
|
5150
5150
|
function _get_idsProvider__fnfajc_0($this) {
|
|
5151
|
-
var tmp0 = $this.
|
|
5151
|
+
var tmp0 = $this.bfu_1;
|
|
5152
5152
|
var tmp = KProperty1;
|
|
5153
5153
|
// Inline function 'kotlin.getValue' call
|
|
5154
5154
|
getPropertyCallableRef('idsProvider', 1, tmp, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1_0(), null);
|
|
5155
5155
|
return tmp0.o1();
|
|
5156
5156
|
}
|
|
5157
5157
|
function _get_botConfig__cpaxzc($this) {
|
|
5158
|
-
var tmp0 = $this.
|
|
5158
|
+
var tmp0 = $this.cfu_1;
|
|
5159
5159
|
var tmp = KProperty1;
|
|
5160
5160
|
// Inline function 'kotlin.getValue' call
|
|
5161
5161
|
getPropertyCallableRef('botConfig', 1, tmp, ServerGameStoreContract$_get_botConfig_$ref_nebw1d_0(), null);
|
|
5162
5162
|
return tmp0.o1();
|
|
5163
5163
|
}
|
|
5164
5164
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
5165
|
-
var tmp0 = $this.
|
|
5165
|
+
var tmp0 = $this.dfu_1;
|
|
5166
5166
|
var tmp = KProperty1;
|
|
5167
5167
|
// Inline function 'kotlin.getValue' call
|
|
5168
5168
|
getPropertyCallableRef('scenePositionProvider', 1, tmp, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4_0(), null);
|
|
5169
5169
|
return tmp0.o1();
|
|
5170
5170
|
}
|
|
5171
5171
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
5172
|
-
var tmp0 = $this.
|
|
5172
|
+
var tmp0 = $this.efu_1;
|
|
5173
5173
|
var tmp = KProperty1;
|
|
5174
5174
|
// Inline function 'kotlin.getValue' call
|
|
5175
5175
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p_0(), null);
|
|
5176
5176
|
return tmp0.o1();
|
|
5177
5177
|
}
|
|
5178
5178
|
function _get_fromClientEventsObserver__a7vzd3_0($this) {
|
|
5179
|
-
var tmp0 = $this.
|
|
5179
|
+
var tmp0 = $this.ffu_1;
|
|
5180
5180
|
var tmp = KProperty1;
|
|
5181
5181
|
// Inline function 'kotlin.getValue' call
|
|
5182
5182
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg_0(), null);
|
|
5183
5183
|
return tmp0.o1();
|
|
5184
5184
|
}
|
|
5185
5185
|
function _get_dealerConfig__183ci8($this) {
|
|
5186
|
-
var tmp0 = $this.
|
|
5186
|
+
var tmp0 = $this.gfu_1;
|
|
5187
5187
|
var tmp = KProperty1;
|
|
5188
5188
|
// Inline function 'kotlin.getValue' call
|
|
5189
5189
|
getPropertyCallableRef('dealerConfig', 1, tmp, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp_0(), null);
|
|
5190
5190
|
return tmp0.o1();
|
|
5191
5191
|
}
|
|
5192
5192
|
function _get_poolProvider__tqti6a($this) {
|
|
5193
|
-
var tmp0 = $this.
|
|
5193
|
+
var tmp0 = $this.hfu_1;
|
|
5194
5194
|
var tmp = KProperty1;
|
|
5195
5195
|
// Inline function 'kotlin.getValue' call
|
|
5196
5196
|
getPropertyCallableRef('poolProvider', 1, tmp, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3_0(), null);
|
|
5197
5197
|
return tmp0.o1();
|
|
5198
5198
|
}
|
|
5199
5199
|
function _get_cardsDealerProvider__bekjpg($this) {
|
|
5200
|
-
var tmp0 = $this.
|
|
5200
|
+
var tmp0 = $this.ifu_1;
|
|
5201
5201
|
var tmp = KProperty1;
|
|
5202
5202
|
// Inline function 'kotlin.getValue' call
|
|
5203
5203
|
getPropertyCallableRef('cardsDealerProvider', 1, tmp, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj_0(), null);
|
|
@@ -5361,11 +5361,11 @@
|
|
|
5361
5361
|
tmp = fileLoggerStoreContract;
|
|
5362
5362
|
}
|
|
5363
5363
|
fileLoggerStoreContract = tmp;
|
|
5364
|
-
this.
|
|
5365
|
-
this.
|
|
5366
|
-
this.
|
|
5367
|
-
this.
|
|
5368
|
-
this.
|
|
5364
|
+
this.qft_1 = validationStoreContract;
|
|
5365
|
+
this.rft_1 = timersStoreContract;
|
|
5366
|
+
this.sft_1 = botGameStoreContract;
|
|
5367
|
+
this.tft_1 = gameMechanicStoreContract;
|
|
5368
|
+
this.uft_1 = fileLoggerStoreContract;
|
|
5369
5369
|
var tmp_0 = this;
|
|
5370
5370
|
// Inline function 'org.kodein.di.instance' call
|
|
5371
5371
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5373,7 +5373,7 @@
|
|
|
5373
5373
|
var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
|
|
5374
5374
|
var tmp_2 = Instance(di, tmp$ret$0, null);
|
|
5375
5375
|
var tmp_3 = KProperty1;
|
|
5376
|
-
tmp_0.
|
|
5376
|
+
tmp_0.vft_1 = tmp_2.x1j(this, getPropertyCallableRef('asyncProvider', 1, tmp_3, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3(), null));
|
|
5377
5377
|
var tmp_4 = this;
|
|
5378
5378
|
// Inline function 'org.kodein.di.instance' call
|
|
5379
5379
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5381,7 +5381,7 @@
|
|
|
5381
5381
|
var tmp$ret$2 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
5382
5382
|
var tmp_6 = Instance(di, tmp$ret$2, null);
|
|
5383
5383
|
var tmp_7 = KProperty1;
|
|
5384
|
-
tmp_4.
|
|
5384
|
+
tmp_4.wft_1 = tmp_6.x1j(this, getPropertyCallableRef('logger', 1, tmp_7, ServerGameStoreContract$_get_logger_$ref_zbgw28(), null));
|
|
5385
5385
|
var tmp_8 = this;
|
|
5386
5386
|
// Inline function 'org.kodein.di.instance' call
|
|
5387
5387
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5389,7 +5389,7 @@
|
|
|
5389
5389
|
var tmp$ret$4 = isInterface(tmp_9, TypeToken) ? tmp_9 : THROW_CCE();
|
|
5390
5390
|
var tmp_10 = Instance(di, tmp$ret$4, null);
|
|
5391
5391
|
var tmp_11 = KProperty1;
|
|
5392
|
-
tmp_8.
|
|
5392
|
+
tmp_8.xft_1 = tmp_10.x1j(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_11, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8(), null));
|
|
5393
5393
|
var tmp_12 = this;
|
|
5394
5394
|
// Inline function 'org.kodein.di.instance' call
|
|
5395
5395
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5397,7 +5397,7 @@
|
|
|
5397
5397
|
var tmp$ret$6 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
5398
5398
|
var tmp_14 = Instance(di, tmp$ret$6, null);
|
|
5399
5399
|
var tmp_15 = KProperty1;
|
|
5400
|
-
tmp_12.
|
|
5400
|
+
tmp_12.yft_1 = tmp_14.x1j(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_15, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh(), null));
|
|
5401
5401
|
var tmp_16 = this;
|
|
5402
5402
|
// Inline function 'org.kodein.di.instance' call
|
|
5403
5403
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5405,7 +5405,7 @@
|
|
|
5405
5405
|
var tmp$ret$8 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
5406
5406
|
var tmp_18 = Instance(di, tmp$ret$8, null);
|
|
5407
5407
|
var tmp_19 = KProperty1;
|
|
5408
|
-
tmp_16.
|
|
5408
|
+
tmp_16.zft_1 = tmp_18.x1j(this, getPropertyCallableRef('serverConfig', 1, tmp_19, ServerGameStoreContract$_get_serverConfig_$ref_bz2891(), null));
|
|
5409
5409
|
var tmp_20 = this;
|
|
5410
5410
|
// Inline function 'org.kodein.di.instance' call
|
|
5411
5411
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5413,7 +5413,7 @@
|
|
|
5413
5413
|
var tmp$ret$10 = isInterface(tmp_21, TypeToken) ? tmp_21 : THROW_CCE();
|
|
5414
5414
|
var tmp_22 = Instance(di, tmp$ret$10, null);
|
|
5415
5415
|
var tmp_23 = KProperty1;
|
|
5416
|
-
tmp_20.
|
|
5416
|
+
tmp_20.afu_1 = tmp_22.x1j(this, getPropertyCallableRef('logicConfig', 1, tmp_23, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi(), null));
|
|
5417
5417
|
var tmp_24 = this;
|
|
5418
5418
|
// Inline function 'org.kodein.di.instance' call
|
|
5419
5419
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5421,7 +5421,7 @@
|
|
|
5421
5421
|
var tmp$ret$12 = isInterface(tmp_25, TypeToken) ? tmp_25 : THROW_CCE();
|
|
5422
5422
|
var tmp_26 = Instance(di, tmp$ret$12, null);
|
|
5423
5423
|
var tmp_27 = KProperty1;
|
|
5424
|
-
tmp_24.
|
|
5424
|
+
tmp_24.bfu_1 = tmp_26.x1j(this, getPropertyCallableRef('idsProvider', 1, tmp_27, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1(), null));
|
|
5425
5425
|
var tmp_28 = this;
|
|
5426
5426
|
// Inline function 'org.kodein.di.instance' call
|
|
5427
5427
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5429,7 +5429,7 @@
|
|
|
5429
5429
|
var tmp$ret$14 = isInterface(tmp_29, TypeToken) ? tmp_29 : THROW_CCE();
|
|
5430
5430
|
var tmp_30 = Instance(di, tmp$ret$14, null);
|
|
5431
5431
|
var tmp_31 = KProperty1;
|
|
5432
|
-
tmp_28.
|
|
5432
|
+
tmp_28.cfu_1 = tmp_30.x1j(this, getPropertyCallableRef('botConfig', 1, tmp_31, ServerGameStoreContract$_get_botConfig_$ref_nebw1d(), null));
|
|
5433
5433
|
var tmp_32 = this;
|
|
5434
5434
|
// Inline function 'org.kodein.di.instance' call
|
|
5435
5435
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5437,7 +5437,7 @@
|
|
|
5437
5437
|
var tmp$ret$16 = isInterface(tmp_33, TypeToken) ? tmp_33 : THROW_CCE();
|
|
5438
5438
|
var tmp_34 = Instance(di, tmp$ret$16, null);
|
|
5439
5439
|
var tmp_35 = KProperty1;
|
|
5440
|
-
tmp_32.
|
|
5440
|
+
tmp_32.dfu_1 = tmp_34.x1j(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_35, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4(), null));
|
|
5441
5441
|
var tmp_36 = this;
|
|
5442
5442
|
// Inline function 'org.kodein.di.instance' call
|
|
5443
5443
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5445,7 +5445,7 @@
|
|
|
5445
5445
|
var tmp$ret$18 = isInterface(tmp_37, TypeToken) ? tmp_37 : THROW_CCE();
|
|
5446
5446
|
var tmp_38 = Instance(di, tmp$ret$18, null);
|
|
5447
5447
|
var tmp_39 = KProperty1;
|
|
5448
|
-
tmp_36.
|
|
5448
|
+
tmp_36.efu_1 = tmp_38.x1j(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_39, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p(), null));
|
|
5449
5449
|
var tmp_40 = this;
|
|
5450
5450
|
// Inline function 'org.kodein.di.instance' call
|
|
5451
5451
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5453,7 +5453,7 @@
|
|
|
5453
5453
|
var tmp$ret$20 = isInterface(tmp_41, TypeToken) ? tmp_41 : THROW_CCE();
|
|
5454
5454
|
var tmp_42 = Instance(di, tmp$ret$20, null);
|
|
5455
5455
|
var tmp_43 = KProperty1;
|
|
5456
|
-
tmp_40.
|
|
5456
|
+
tmp_40.ffu_1 = tmp_42.x1j(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_43, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg(), null));
|
|
5457
5457
|
var tmp_44 = this;
|
|
5458
5458
|
// Inline function 'org.kodein.di.instance' call
|
|
5459
5459
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5461,7 +5461,7 @@
|
|
|
5461
5461
|
var tmp$ret$22 = isInterface(tmp_45, TypeToken) ? tmp_45 : THROW_CCE();
|
|
5462
5462
|
var tmp_46 = Instance(di, tmp$ret$22, null);
|
|
5463
5463
|
var tmp_47 = KProperty1;
|
|
5464
|
-
tmp_44.
|
|
5464
|
+
tmp_44.gfu_1 = tmp_46.x1j(this, getPropertyCallableRef('dealerConfig', 1, tmp_47, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp(), null));
|
|
5465
5465
|
var tmp_48 = this;
|
|
5466
5466
|
// Inline function 'org.kodein.di.instance' call
|
|
5467
5467
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5469,7 +5469,7 @@
|
|
|
5469
5469
|
var tmp$ret$24 = isInterface(tmp_49, TypeToken) ? tmp_49 : THROW_CCE();
|
|
5470
5470
|
var tmp_50 = Instance(di, tmp$ret$24, null);
|
|
5471
5471
|
var tmp_51 = KProperty1;
|
|
5472
|
-
tmp_48.
|
|
5472
|
+
tmp_48.hfu_1 = tmp_50.x1j(this, getPropertyCallableRef('poolProvider', 1, tmp_51, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3(), null));
|
|
5473
5473
|
var tmp_52 = this;
|
|
5474
5474
|
// Inline function 'org.kodein.di.instance' call
|
|
5475
5475
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5477,20 +5477,20 @@
|
|
|
5477
5477
|
var tmp$ret$26 = isInterface(tmp_53, TypeToken) ? tmp_53 : THROW_CCE();
|
|
5478
5478
|
var tmp_54 = Instance(di, tmp$ret$26, null);
|
|
5479
5479
|
var tmp_55 = KProperty1;
|
|
5480
|
-
tmp_52.
|
|
5480
|
+
tmp_52.ifu_1 = tmp_54.x1j(this, getPropertyCallableRef('cardsDealerProvider', 1, tmp_55, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj(), null));
|
|
5481
5481
|
}
|
|
5482
|
-
protoOf(ServerGameStoreContract).nap = function () {
|
|
5483
|
-
return plus(plus(plus(plus(plus(this.pft_1.nap(), this.sft_1.nap()), this.qft_1.nap()), this.rft_1.nap()), this.tft_1.nap()), listOf_0([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl(this)), playerConnectionUpdateReducer()]));
|
|
5484
|
-
};
|
|
5485
5482
|
protoOf(ServerGameStoreContract).oap = function () {
|
|
5486
|
-
|
|
5483
|
+
return plus(plus(plus(plus(plus(this.qft_1.oap(), this.tft_1.oap()), this.rft_1.oap()), this.sft_1.oap()), this.uft_1.oap()), listOf_0([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl(this)), playerConnectionUpdateReducer()]));
|
|
5484
|
+
};
|
|
5485
|
+
protoOf(ServerGameStoreContract).pap = function () {
|
|
5486
|
+
var tmp = this.qft_1.pap();
|
|
5487
5487
|
var tmp_0;
|
|
5488
5488
|
if (_get_serverConfig__rk2g06(this).finishGameWhenNotLiveStrategy.equals(FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance())) {
|
|
5489
5489
|
tmp_0 = checkBotsMiddleware(_get_logger__rkp4sl(this));
|
|
5490
5490
|
} else {
|
|
5491
5491
|
tmp_0 = null;
|
|
5492
5492
|
}
|
|
5493
|
-
var tmp_1 = plus(plus(plus(plus(plus(tmp, listOfNotNull(tmp_0)), this.
|
|
5493
|
+
var tmp_1 = plus(plus(plus(plus(plus(tmp, listOfNotNull(tmp_0)), this.tft_1.pap()), this.rft_1.pap()), this.sft_1.pap()), this.uft_1.pap());
|
|
5494
5494
|
var tmp_2 = playerConnectionUpdateMiddleware(_get_logger__rkp4sl(this), _get_playerConnectionInteractor__si6cxf_0(this));
|
|
5495
5495
|
var tmp_3 = playerReconnectionTimeoutMiddleware(_get_playerConnectionInteractor__si6cxf_0(this));
|
|
5496
5496
|
var tmp_4;
|
|
@@ -5499,13 +5499,13 @@
|
|
|
5499
5499
|
} else {
|
|
5500
5500
|
tmp_4 = null;
|
|
5501
5501
|
}
|
|
5502
|
-
var tmp_5 = plus(plus(tmp_1, listOfNotNull_0([tmp_2, tmp_3, tmp_4])), listOfNotNull_0([sendFromClientEventsMiddleware(_get_asyncProvider__jbpyhw(this), _get_fromClientEventsObserver__a7vzd3_0(this)), sendToClientActionMiddleware(_get_asyncProvider__jbpyhw(this), _get_toClientEventsObserver__6rp51y_0(this)), (new ServerMapMechanicToClientActionMiddleware(_get_logicConfig__52ww9d(this), _get_idsProvider__fnfajc_0(this), _get_playerConnectionInteractor__si6cxf_0(this))).
|
|
5502
|
+
var tmp_5 = plus(plus(tmp_1, listOfNotNull_0([tmp_2, tmp_3, tmp_4])), listOfNotNull_0([sendFromClientEventsMiddleware(_get_asyncProvider__jbpyhw(this), _get_fromClientEventsObserver__a7vzd3_0(this)), sendToClientActionMiddleware(_get_asyncProvider__jbpyhw(this), _get_toClientEventsObserver__6rp51y_0(this)), (new ServerMapMechanicToClientActionMiddleware(_get_logicConfig__52ww9d(this), _get_idsProvider__fnfajc_0(this), _get_playerConnectionInteractor__si6cxf_0(this))).xar(), sendSpectatorContinueMiddleware(_get_playerConnectionInteractor__si6cxf_0(this)), finishingGameWhenCantStartNewMiddleware()]));
|
|
5503
5503
|
var tmp_6 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this), _get_logger__rkp4sl(this));
|
|
5504
5504
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
5505
5505
|
var tmp1_logger = _get_logger__rkp4sl(this);
|
|
5506
5506
|
var tmp2_asyncProvider = _get_asyncProvider__jbpyhw(this);
|
|
5507
5507
|
var tmp_7 = playerTurnTimeoutWhenHasConnectionMiddleware(tmp0_serverConfig, tmp2_asyncProvider, tmp1_logger);
|
|
5508
|
-
var tmp_8 = clearOnFinishMiddleware(_get_asyncProvider__jbpyhw(this), listOfNotNull_0([_get_toClientEventsObserver__6rp51y_0(this), this.
|
|
5508
|
+
var tmp_8 = clearOnFinishMiddleware(_get_asyncProvider__jbpyhw(this), listOfNotNull_0([_get_toClientEventsObserver__6rp51y_0(this), this.uft_1.yap()]));
|
|
5509
5509
|
var tmp3_asyncProvider = _get_asyncProvider__jbpyhw(this);
|
|
5510
5510
|
var tmp4_dealerConfig = _get_dealerConfig__183ci8(this);
|
|
5511
5511
|
var tmp5_poolProvider = _get_poolProvider__tqti6a(this);
|
|
@@ -5554,7 +5554,7 @@
|
|
|
5554
5554
|
return new sendSpectatorContinueMiddleware$$inlined$middlewareForActionType$1(playerConnectionInteractor);
|
|
5555
5555
|
}
|
|
5556
5556
|
function sendSpectatorContinueMiddleware$$inlined$middlewareForActionType$1($playerConnectionInteractor) {
|
|
5557
|
-
this.
|
|
5557
|
+
this.mfu_1 = $playerConnectionInteractor;
|
|
5558
5558
|
}
|
|
5559
5559
|
protoOf(sendSpectatorContinueMiddleware$$inlined$middlewareForActionType$1).s7j = function (action) {
|
|
5560
5560
|
return action instanceof AddSpectatorsAction;
|
|
@@ -5564,10 +5564,10 @@
|
|
|
5564
5564
|
next(action_0);
|
|
5565
5565
|
var table = store.state.q7w();
|
|
5566
5566
|
// Inline function 'kotlin.collections.forEach' call
|
|
5567
|
-
var _iterator__ex2g4s = action_0.
|
|
5567
|
+
var _iterator__ex2g4s = action_0.oft_1.t();
|
|
5568
5568
|
while (_iterator__ex2g4s.u()) {
|
|
5569
5569
|
var element = _iterator__ex2g4s.v();
|
|
5570
|
-
store.dispatch(this.
|
|
5570
|
+
store.dispatch(this.mfu_1.gft(element.p78_1, table));
|
|
5571
5571
|
}
|
|
5572
5572
|
};
|
|
5573
5573
|
protoOf(sendSpectatorContinueMiddleware$$inlined$middlewareForActionType$1).r7j = function (store, next, action) {
|
|
@@ -5625,7 +5625,7 @@
|
|
|
5625
5625
|
return tmp;
|
|
5626
5626
|
}
|
|
5627
5627
|
function ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
|
|
5628
|
-
this.
|
|
5628
|
+
this.nfu_1 = this$0;
|
|
5629
5629
|
}
|
|
5630
5630
|
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).s7j = function (action) {
|
|
5631
5631
|
return action instanceof MechanicAction;
|
|
@@ -5636,7 +5636,7 @@
|
|
|
5636
5636
|
// Inline function 'kotlin.with' call
|
|
5637
5637
|
var tmp;
|
|
5638
5638
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
5639
|
-
var tmp0 = this.
|
|
5639
|
+
var tmp0 = this.nfu_1;
|
|
5640
5640
|
var tmp2 = action_0.r9e_1;
|
|
5641
5641
|
var tmp4 = action_0.t9e_1;
|
|
5642
5642
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -5646,7 +5646,7 @@
|
|
|
5646
5646
|
var _iterator__ex2g4s = this_0.t();
|
|
5647
5647
|
while (_iterator__ex2g4s.u()) {
|
|
5648
5648
|
var item = _iterator__ex2g4s.v();
|
|
5649
|
-
var tmp$ret$0 = to(item.p78_1, this.
|
|
5649
|
+
var tmp$ret$0 = to(item.p78_1, this.nfu_1.lfu_1.hft(item.isBot, item.p78_1, get_serverStatePayload(state).connectedPlayers).o79_1);
|
|
5650
5650
|
destination.e1(tmp$ret$0);
|
|
5651
5651
|
}
|
|
5652
5652
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
@@ -5676,7 +5676,7 @@
|
|
|
5676
5676
|
var _iterator__ex2g4s_2 = destination_1.t();
|
|
5677
5677
|
while (_iterator__ex2g4s_2.u()) {
|
|
5678
5678
|
var element_0 = _iterator__ex2g4s_2.v();
|
|
5679
|
-
var tmp0_aid = tmp0.
|
|
5679
|
+
var tmp0_aid = tmp0.kfu_1.d7h();
|
|
5680
5680
|
// Inline function 'kotlin.collections.map' call
|
|
5681
5681
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5682
5682
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -5696,7 +5696,7 @@
|
|
|
5696
5696
|
}
|
|
5697
5697
|
}
|
|
5698
5698
|
var tmp_0 = destination_2;
|
|
5699
|
-
var tmp0_0 = this.
|
|
5699
|
+
var tmp0_0 = this.nfu_1;
|
|
5700
5700
|
var tmp2_0 = action_0.r9e_1;
|
|
5701
5701
|
var tmp4_0 = action_0.t9e_1;
|
|
5702
5702
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -5727,7 +5727,7 @@
|
|
|
5727
5727
|
var _iterator__ex2g4s_6 = destination_5.t();
|
|
5728
5728
|
while (_iterator__ex2g4s_6.u()) {
|
|
5729
5729
|
var element_1 = _iterator__ex2g4s_6.v();
|
|
5730
|
-
var tmp_1 = tmp0_0.
|
|
5730
|
+
var tmp_1 = tmp0_0.kfu_1.d7h();
|
|
5731
5731
|
var spectatorPayload = new UserActionPayload(tmp_1, tmp2_0, tmp4_0, element_1, ServerMapMechanicToClientActionMiddleware$middleware$o$handle$lambda(destination_4, tmp4_0));
|
|
5732
5732
|
var tmp0_safe_receiver_0 = mapToClient_19(action_0, spectatorPayload);
|
|
5733
5733
|
if (tmp0_safe_receiver_0 == null)
|
|
@@ -5740,15 +5740,15 @@
|
|
|
5740
5740
|
tmp = plus(tmp_0, destination_6);
|
|
5741
5741
|
} else {
|
|
5742
5742
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
5743
|
-
var tmp0_1 = this.
|
|
5743
|
+
var tmp0_1 = this.nfu_1;
|
|
5744
5744
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5745
5745
|
var tableId = state.q7w().id;
|
|
5746
|
-
var sendToPlayer_0 = new RoomActionPayload(tmp0_1.
|
|
5746
|
+
var sendToPlayer_0 = new RoomActionPayload(tmp0_1.kfu_1.d7h(), tableId, null);
|
|
5747
5747
|
var tmp$ret$36 = mapToClient_18(action_0, sendToPlayer_0);
|
|
5748
5748
|
tmp = listOfNotNull(tmp$ret$36);
|
|
5749
5749
|
} else {
|
|
5750
5750
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
5751
|
-
var tmp0_2 = this.
|
|
5751
|
+
var tmp0_2 = this.nfu_1;
|
|
5752
5752
|
var tmp2_1 = action_0.table.id;
|
|
5753
5753
|
var tmp4_1 = action_0.gameCreatorPlayerId;
|
|
5754
5754
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -5788,7 +5788,7 @@
|
|
|
5788
5788
|
var _iterator__ex2g4s_10 = destination_9.t();
|
|
5789
5789
|
while (_iterator__ex2g4s_10.u()) {
|
|
5790
5790
|
var element_3 = _iterator__ex2g4s_10.v();
|
|
5791
|
-
var tmp0_aid_0 = tmp0_2.
|
|
5791
|
+
var tmp0_aid_0 = tmp0_2.kfu_1.d7h();
|
|
5792
5792
|
// Inline function 'kotlin.collections.map' call
|
|
5793
5793
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5794
5794
|
var destination_11 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_7, 10));
|
|
@@ -5808,7 +5808,7 @@
|
|
|
5808
5808
|
}
|
|
5809
5809
|
}
|
|
5810
5810
|
var tmp_2 = destination_10;
|
|
5811
|
-
var tmp0_3 = this.
|
|
5811
|
+
var tmp0_3 = this.nfu_1;
|
|
5812
5812
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForSpectatorFromTable' call
|
|
5813
5813
|
var table = action_0.table;
|
|
5814
5814
|
var tmp2_2 = table.id;
|
|
@@ -5841,7 +5841,7 @@
|
|
|
5841
5841
|
var _iterator__ex2g4s_14 = destination_13.t();
|
|
5842
5842
|
while (_iterator__ex2g4s_14.u()) {
|
|
5843
5843
|
var element_4 = _iterator__ex2g4s_14.v();
|
|
5844
|
-
var tmp_3 = tmp0_3.
|
|
5844
|
+
var tmp_3 = tmp0_3.kfu_1.d7h();
|
|
5845
5845
|
var spectatorPayload_0 = new UserActionPayload(tmp_3, tmp2_2, tmp4_2, element_4, ServerMapMechanicToClientActionMiddleware$middleware$o$handle$lambda_0(destination_12, tmp4_2));
|
|
5846
5846
|
var tmp0_safe_receiver_2 = mapToClient_17(action_0, spectatorPayload_0);
|
|
5847
5847
|
if (tmp0_safe_receiver_2 == null)
|
|
@@ -5854,39 +5854,39 @@
|
|
|
5854
5854
|
tmp = plus(tmp_2, destination_14);
|
|
5855
5855
|
} else {
|
|
5856
5856
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
5857
|
-
var tmp0_4 = this.
|
|
5857
|
+
var tmp0_4 = this.nfu_1;
|
|
5858
5858
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5859
5859
|
var tableId_0 = state.q7w().id;
|
|
5860
|
-
var sendToPlayer_2 = new RoomActionPayload(tmp0_4.
|
|
5860
|
+
var sendToPlayer_2 = new RoomActionPayload(tmp0_4.kfu_1.d7h(), tableId_0, null);
|
|
5861
5861
|
var tmp$ret$75 = mapToClient_16(action_0, sendToPlayer_2);
|
|
5862
5862
|
tmp = listOfNotNull(tmp$ret$75);
|
|
5863
5863
|
} else {
|
|
5864
5864
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
5865
|
-
var tmp0_5 = this.
|
|
5865
|
+
var tmp0_5 = this.nfu_1;
|
|
5866
5866
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5867
5867
|
var tableId_1 = state.q7w().id;
|
|
5868
|
-
var sendToPlayer_3 = new RoomActionPayload(tmp0_5.
|
|
5868
|
+
var sendToPlayer_3 = new RoomActionPayload(tmp0_5.kfu_1.d7h(), tableId_1, null);
|
|
5869
5869
|
var tmp$ret$77 = mapToClient_15(action_0, sendToPlayer_3);
|
|
5870
5870
|
tmp = listOfNotNull(tmp$ret$77);
|
|
5871
5871
|
} else {
|
|
5872
5872
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
5873
|
-
var tmp0_6 = this.
|
|
5873
|
+
var tmp0_6 = this.nfu_1;
|
|
5874
5874
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5875
5875
|
var tableId_2 = state.q7w().id;
|
|
5876
|
-
var sendToPlayer_4 = new RoomActionPayload(tmp0_6.
|
|
5876
|
+
var sendToPlayer_4 = new RoomActionPayload(tmp0_6.kfu_1.d7h(), tableId_2, null);
|
|
5877
5877
|
var tmp$ret$79 = mapToClient_14(action_0, sendToPlayer_4);
|
|
5878
5878
|
tmp = listOfNotNull(tmp$ret$79);
|
|
5879
5879
|
} else {
|
|
5880
5880
|
if (action_0 instanceof ErrorAction) {
|
|
5881
|
-
var tmp0_7 = this.
|
|
5881
|
+
var tmp0_7 = this.nfu_1;
|
|
5882
5882
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5883
5883
|
var tableId_3 = state.q7w().id;
|
|
5884
|
-
var sendToPlayer_5 = new RoomActionPayload(tmp0_7.
|
|
5884
|
+
var sendToPlayer_5 = new RoomActionPayload(tmp0_7.kfu_1.d7h(), tableId_3, null);
|
|
5885
5885
|
var tmp$ret$81 = mapToClient_13(action_0, sendToPlayer_5);
|
|
5886
5886
|
tmp = listOfNotNull(tmp$ret$81);
|
|
5887
5887
|
} else {
|
|
5888
5888
|
if (action_0 instanceof SceneMechanicAction) {
|
|
5889
|
-
var tmp0_8 = this.
|
|
5889
|
+
var tmp0_8 = this.nfu_1;
|
|
5890
5890
|
var tmp2_3 = state.q7w().id;
|
|
5891
5891
|
var tmp4_3 = state.q7w().playersConnections;
|
|
5892
5892
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
@@ -5918,7 +5918,7 @@
|
|
|
5918
5918
|
var _iterator__ex2g4s_17 = destination_16.t();
|
|
5919
5919
|
while (_iterator__ex2g4s_17.u()) {
|
|
5920
5920
|
var element_6 = _iterator__ex2g4s_17.v();
|
|
5921
|
-
var tmp0_aid_1 = tmp0_8.
|
|
5921
|
+
var tmp0_aid_1 = tmp0_8.kfu_1.d7h();
|
|
5922
5922
|
// Inline function 'kotlin.collections.map' call
|
|
5923
5923
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5924
5924
|
var destination_18 = ArrayList_init_$Create$(collectionSizeOrDefault(tmp4_3, 10));
|
|
@@ -5938,7 +5938,7 @@
|
|
|
5938
5938
|
}
|
|
5939
5939
|
}
|
|
5940
5940
|
var tmp_4 = destination_17;
|
|
5941
|
-
var tmp0_9 = this.
|
|
5941
|
+
var tmp0_9 = this.nfu_1;
|
|
5942
5942
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createSpectatorBroadcastFromTable' call
|
|
5943
5943
|
var table_0 = state.q7w();
|
|
5944
5944
|
var tmp2_4 = table_0.id;
|
|
@@ -5970,7 +5970,7 @@
|
|
|
5970
5970
|
tmp$ret$108 = emptyList();
|
|
5971
5971
|
break $l$block_0;
|
|
5972
5972
|
}
|
|
5973
|
-
var aid = tmp0_9.
|
|
5973
|
+
var aid = tmp0_9.kfu_1.d7h();
|
|
5974
5974
|
var tmp_5 = first(destination_20);
|
|
5975
5975
|
var payload = new UserActionPayload(aid, tmp2_4, tmp4_4, tmp_5, ServerMapMechanicToClientActionMiddleware$middleware$o$handle$lambda_1(destination_19, tmp4_4));
|
|
5976
5976
|
var tmp0_elvis_lhs = mapToClient_12(action_0, payload);
|
|
@@ -5989,7 +5989,7 @@
|
|
|
5989
5989
|
tmp = plus(tmp_4, tmp$ret$110);
|
|
5990
5990
|
} else {
|
|
5991
5991
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
5992
|
-
var tmp0_10 = this.
|
|
5992
|
+
var tmp0_10 = this.nfu_1;
|
|
5993
5993
|
var tmp2_5 = state.q7w().id;
|
|
5994
5994
|
var tmp4_5 = state.q7w().playersConnections;
|
|
5995
5995
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
@@ -6021,7 +6021,7 @@
|
|
|
6021
6021
|
var _iterator__ex2g4s_23 = destination_22.t();
|
|
6022
6022
|
while (_iterator__ex2g4s_23.u()) {
|
|
6023
6023
|
var element_8 = _iterator__ex2g4s_23.v();
|
|
6024
|
-
var tmp0_aid_2 = tmp0_10.
|
|
6024
|
+
var tmp0_aid_2 = tmp0_10.kfu_1.d7h();
|
|
6025
6025
|
// Inline function 'kotlin.collections.map' call
|
|
6026
6026
|
// Inline function 'kotlin.collections.mapTo' call
|
|
6027
6027
|
var destination_24 = ArrayList_init_$Create$(collectionSizeOrDefault(tmp4_5, 10));
|
|
@@ -6041,7 +6041,7 @@
|
|
|
6041
6041
|
}
|
|
6042
6042
|
}
|
|
6043
6043
|
var tmp_7 = destination_23;
|
|
6044
|
-
var tmp0_11 = this.
|
|
6044
|
+
var tmp0_11 = this.nfu_1;
|
|
6045
6045
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createSpectatorBroadcastFromTable' call
|
|
6046
6046
|
var table_1 = state.q7w();
|
|
6047
6047
|
var tmp2_6 = table_1.id;
|
|
@@ -6073,7 +6073,7 @@
|
|
|
6073
6073
|
tmp$ret$136 = emptyList();
|
|
6074
6074
|
break $l$block_2;
|
|
6075
6075
|
}
|
|
6076
|
-
var aid_0 = tmp0_11.
|
|
6076
|
+
var aid_0 = tmp0_11.kfu_1.d7h();
|
|
6077
6077
|
var tmp_8 = first(destination_26);
|
|
6078
6078
|
var payload_0 = new UserActionPayload(aid_0, tmp2_6, tmp4_6, tmp_8, ServerMapMechanicToClientActionMiddleware$middleware$o$handle$lambda_2(destination_25, tmp4_6));
|
|
6079
6079
|
var tmp0_elvis_lhs_0 = mapToClient_11(action_0, payload_0);
|
|
@@ -6092,7 +6092,7 @@
|
|
|
6092
6092
|
tmp = plus(tmp_7, tmp$ret$138);
|
|
6093
6093
|
} else {
|
|
6094
6094
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
6095
|
-
var tmp0_12 = this.
|
|
6095
|
+
var tmp0_12 = this.nfu_1;
|
|
6096
6096
|
var tmp2_7 = state.q7w().id;
|
|
6097
6097
|
var tmp4_7 = state.q7w().playersConnections;
|
|
6098
6098
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
@@ -6124,7 +6124,7 @@
|
|
|
6124
6124
|
var _iterator__ex2g4s_29 = destination_28.t();
|
|
6125
6125
|
while (_iterator__ex2g4s_29.u()) {
|
|
6126
6126
|
var element_10 = _iterator__ex2g4s_29.v();
|
|
6127
|
-
var tmp0_aid_3 = tmp0_12.
|
|
6127
|
+
var tmp0_aid_3 = tmp0_12.kfu_1.d7h();
|
|
6128
6128
|
// Inline function 'kotlin.collections.map' call
|
|
6129
6129
|
// Inline function 'kotlin.collections.mapTo' call
|
|
6130
6130
|
var destination_30 = ArrayList_init_$Create$(collectionSizeOrDefault(tmp4_7, 10));
|
|
@@ -6136,7 +6136,7 @@
|
|
|
6136
6136
|
}
|
|
6137
6137
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tmp2_7, gameCreatorPlayerId_1, element_10, destination_30);
|
|
6138
6138
|
var tmp_10;
|
|
6139
|
-
if (this.
|
|
6139
|
+
if (this.nfu_1.jfu_1.supportBackwardActions && getPlayer(state.q7w().players, sendToPlayer_8.r8o_1).j80_1.p85_1) {
|
|
6140
6140
|
tmp_10 = null;
|
|
6141
6141
|
} else {
|
|
6142
6142
|
tmp_10 = mapToClient_10(action_0, sendToPlayer_8);
|
|
@@ -6150,7 +6150,7 @@
|
|
|
6150
6150
|
}
|
|
6151
6151
|
}
|
|
6152
6152
|
var tmp_11 = destination_29;
|
|
6153
|
-
var tmp0_13 = this.
|
|
6153
|
+
var tmp0_13 = this.nfu_1;
|
|
6154
6154
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createSpectatorBroadcastFromTable' call
|
|
6155
6155
|
var table_2 = state.q7w();
|
|
6156
6156
|
var tmp2_8 = table_2.id;
|
|
@@ -6182,7 +6182,7 @@
|
|
|
6182
6182
|
tmp$ret$164 = emptyList();
|
|
6183
6183
|
break $l$block_4;
|
|
6184
6184
|
}
|
|
6185
|
-
var aid_1 = tmp0_13.
|
|
6185
|
+
var aid_1 = tmp0_13.kfu_1.d7h();
|
|
6186
6186
|
var tmp_12 = first(destination_32);
|
|
6187
6187
|
var payload_1 = new UserActionPayload(aid_1, tmp2_8, tmp4_8, tmp_12, ServerMapMechanicToClientActionMiddleware$middleware$o$handle$lambda_3(destination_31, tmp4_8));
|
|
6188
6188
|
var tmp0_elvis_lhs_1 = mapToClient_10(action_0, payload_1);
|
|
@@ -6201,81 +6201,81 @@
|
|
|
6201
6201
|
tmp = plus(tmp_11, tmp$ret$166);
|
|
6202
6202
|
} else {
|
|
6203
6203
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
6204
|
-
var tmp0_14 = this.
|
|
6204
|
+
var tmp0_14 = this.nfu_1;
|
|
6205
6205
|
var tmp2_9 = state.q7w().id;
|
|
6206
6206
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
6207
|
-
var exceptPlayerId = this.
|
|
6208
|
-
var sendToPlayer_9 = new RoomActionPayload(tmp0_14.
|
|
6207
|
+
var exceptPlayerId = this.nfu_1.jfu_1.supportBackwardActions ? action_0.u9f_1 : null;
|
|
6208
|
+
var sendToPlayer_9 = new RoomActionPayload(tmp0_14.kfu_1.d7h(), tmp2_9, exceptPlayerId);
|
|
6209
6209
|
var tmp$ret$167 = mapToClient_9(action_0, sendToPlayer_9);
|
|
6210
6210
|
tmp = listOfNotNull(tmp$ret$167);
|
|
6211
6211
|
} else {
|
|
6212
6212
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
6213
|
-
var tmp0_15 = this.
|
|
6213
|
+
var tmp0_15 = this.nfu_1;
|
|
6214
6214
|
var tmp2_10 = state.q7w().id;
|
|
6215
6215
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
6216
|
-
var exceptPlayerId_0 = this.
|
|
6217
|
-
var sendToPlayer_10 = new RoomActionPayload(tmp0_15.
|
|
6216
|
+
var exceptPlayerId_0 = this.nfu_1.jfu_1.supportBackwardActions ? action_0.y9f_1 : null;
|
|
6217
|
+
var sendToPlayer_10 = new RoomActionPayload(tmp0_15.kfu_1.d7h(), tmp2_10, exceptPlayerId_0);
|
|
6218
6218
|
var tmp$ret$169 = mapToClient_8(action_0, sendToPlayer_10);
|
|
6219
6219
|
tmp = listOfNotNull(tmp$ret$169);
|
|
6220
6220
|
} else {
|
|
6221
6221
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
6222
|
-
var tmp0_16 = this.
|
|
6222
|
+
var tmp0_16 = this.nfu_1;
|
|
6223
6223
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
6224
6224
|
var tableId_4 = state.q7w().id;
|
|
6225
|
-
var sendToPlayer_11 = new RoomActionPayload(tmp0_16.
|
|
6225
|
+
var sendToPlayer_11 = new RoomActionPayload(tmp0_16.kfu_1.d7h(), tableId_4, null);
|
|
6226
6226
|
var tmp$ret$171 = mapToClient_7(action_0, sendToPlayer_11);
|
|
6227
6227
|
tmp = listOfNotNull(tmp$ret$171);
|
|
6228
6228
|
} else {
|
|
6229
6229
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
6230
|
-
var tmp0_17 = this.
|
|
6230
|
+
var tmp0_17 = this.nfu_1;
|
|
6231
6231
|
var tmp2_11 = state.q7w().id;
|
|
6232
6232
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
6233
|
-
var exceptPlayerId_1 = this.
|
|
6234
|
-
var sendToPlayer_12 = new RoomActionPayload(tmp0_17.
|
|
6233
|
+
var exceptPlayerId_1 = this.nfu_1.jfu_1.supportBackwardActions ? action_0.f9g_1 : null;
|
|
6234
|
+
var sendToPlayer_12 = new RoomActionPayload(tmp0_17.kfu_1.d7h(), tmp2_11, exceptPlayerId_1);
|
|
6235
6235
|
var tmp$ret$173 = mapToClient_6(action_0, sendToPlayer_12);
|
|
6236
6236
|
tmp = listOfNotNull(tmp$ret$173);
|
|
6237
6237
|
} else {
|
|
6238
6238
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
6239
|
-
var tmp0_18 = this.
|
|
6239
|
+
var tmp0_18 = this.nfu_1;
|
|
6240
6240
|
var tmp2_12 = state.q7w().id;
|
|
6241
6241
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
6242
|
-
var exceptPlayerId_2 = this.
|
|
6243
|
-
var sendToPlayer_13 = new RoomActionPayload(tmp0_18.
|
|
6242
|
+
var exceptPlayerId_2 = this.nfu_1.jfu_1.supportBackwardActions ? action_0.k9g_1 : null;
|
|
6243
|
+
var sendToPlayer_13 = new RoomActionPayload(tmp0_18.kfu_1.d7h(), tmp2_12, exceptPlayerId_2);
|
|
6244
6244
|
var tmp$ret$175 = mapToClient_5(action_0, sendToPlayer_13);
|
|
6245
6245
|
tmp = listOfNotNull(tmp$ret$175);
|
|
6246
6246
|
} else {
|
|
6247
6247
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
6248
|
-
var tmp0_19 = this.
|
|
6248
|
+
var tmp0_19 = this.nfu_1;
|
|
6249
6249
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
6250
6250
|
var tableId_5 = state.q7w().id;
|
|
6251
|
-
var sendToPlayer_14 = new RoomActionPayload(tmp0_19.
|
|
6251
|
+
var sendToPlayer_14 = new RoomActionPayload(tmp0_19.kfu_1.d7h(), tableId_5, null);
|
|
6252
6252
|
var tmp$ret$177 = mapToClient_4(action_0, sendToPlayer_14);
|
|
6253
6253
|
tmp = listOfNotNull(tmp$ret$177);
|
|
6254
6254
|
} else {
|
|
6255
6255
|
if (action_0 instanceof TakeAllRemainingCardsMechanicAction) {
|
|
6256
|
-
var tmp0_20 = this.
|
|
6256
|
+
var tmp0_20 = this.nfu_1;
|
|
6257
6257
|
var tmp2_13 = state.q7w().id;
|
|
6258
6258
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
6259
|
-
var exceptPlayerId_3 = this.
|
|
6260
|
-
var sendToPlayer_15 = new RoomActionPayload(tmp0_20.
|
|
6259
|
+
var exceptPlayerId_3 = this.nfu_1.jfu_1.supportBackwardActions ? action_0.r9g_1 : null;
|
|
6260
|
+
var sendToPlayer_15 = new RoomActionPayload(tmp0_20.kfu_1.d7h(), tmp2_13, exceptPlayerId_3);
|
|
6261
6261
|
var tmp$ret$179 = mapToClient_3(action_0, sendToPlayer_15);
|
|
6262
6262
|
tmp = listOfNotNull(tmp$ret$179);
|
|
6263
6263
|
} else {
|
|
6264
6264
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
6265
|
-
var tmp0_21 = this.
|
|
6265
|
+
var tmp0_21 = this.nfu_1;
|
|
6266
6266
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
6267
6267
|
var tableId_6 = state.q7w().id;
|
|
6268
|
-
var sendToPlayer_16 = new RoomActionPayload(tmp0_21.
|
|
6268
|
+
var sendToPlayer_16 = new RoomActionPayload(tmp0_21.kfu_1.d7h(), tableId_6, null);
|
|
6269
6269
|
var tmp$ret$181 = mapToClient_2(action_0, sendToPlayer_16);
|
|
6270
6270
|
tmp = listOfNotNull(tmp$ret$181);
|
|
6271
6271
|
} else {
|
|
6272
6272
|
if (action_0 instanceof MessageMechanicAction) {
|
|
6273
6273
|
var message = action_0.message;
|
|
6274
|
-
var tmp0_22 = this.
|
|
6274
|
+
var tmp0_22 = this.nfu_1;
|
|
6275
6275
|
var tmp2_14 = state.q7w().id;
|
|
6276
6276
|
var tmp_14;
|
|
6277
6277
|
var tmp_15;
|
|
6278
|
-
if (this.
|
|
6278
|
+
if (this.nfu_1.jfu_1.supportBackwardActions) {
|
|
6279
6279
|
tmp_15 = isInterface(message, UserMessage);
|
|
6280
6280
|
} else {
|
|
6281
6281
|
tmp_15 = false;
|
|
@@ -6287,16 +6287,16 @@
|
|
|
6287
6287
|
}
|
|
6288
6288
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
6289
6289
|
var exceptPlayerId_4 = tmp_14;
|
|
6290
|
-
var sendToPlayer_17 = new RoomActionPayload(tmp0_22.
|
|
6290
|
+
var sendToPlayer_17 = new RoomActionPayload(tmp0_22.kfu_1.d7h(), tmp2_14, exceptPlayerId_4);
|
|
6291
6291
|
var tmp$ret$183 = mapToClient_1(action_0, sendToPlayer_17);
|
|
6292
6292
|
tmp = listOfNotNull(tmp$ret$183);
|
|
6293
6293
|
} else {
|
|
6294
6294
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
6295
|
-
var tmp0_23 = this.
|
|
6295
|
+
var tmp0_23 = this.nfu_1;
|
|
6296
6296
|
var tmp2_15 = state.q7w().id;
|
|
6297
6297
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
6298
6298
|
var exceptPlayerId_5 = action_0.playerId;
|
|
6299
|
-
var sendToPlayer_18 = new RoomActionPayload(tmp0_23.
|
|
6299
|
+
var sendToPlayer_18 = new RoomActionPayload(tmp0_23.kfu_1.d7h(), tmp2_15, exceptPlayerId_5);
|
|
6300
6300
|
var tmp$ret$185 = mapToClient_0(action_0, sendToPlayer_18);
|
|
6301
6301
|
tmp = listOfNotNull(tmp$ret$185);
|
|
6302
6302
|
} else {
|
|
@@ -6334,11 +6334,11 @@
|
|
|
6334
6334
|
return this.h7l(store, next, action);
|
|
6335
6335
|
};
|
|
6336
6336
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider, playerConnectionInteractor) {
|
|
6337
|
-
this.
|
|
6338
|
-
this.
|
|
6339
|
-
this.
|
|
6337
|
+
this.jfu_1 = logicConfig;
|
|
6338
|
+
this.kfu_1 = idsProvider;
|
|
6339
|
+
this.lfu_1 = playerConnectionInteractor;
|
|
6340
6340
|
}
|
|
6341
|
-
protoOf(ServerMapMechanicToClientActionMiddleware).
|
|
6341
|
+
protoOf(ServerMapMechanicToClientActionMiddleware).xar = function () {
|
|
6342
6342
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
6343
6343
|
return new ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this);
|
|
6344
6344
|
};
|
|
@@ -6347,8 +6347,8 @@
|
|
|
6347
6347
|
return new playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1(logger, playerConnectionInteractor);
|
|
6348
6348
|
}
|
|
6349
6349
|
function playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1($logger, $playerConnectionInteractor) {
|
|
6350
|
-
this.
|
|
6351
|
-
this.
|
|
6350
|
+
this.ofu_1 = $logger;
|
|
6351
|
+
this.pfu_1 = $playerConnectionInteractor;
|
|
6352
6352
|
}
|
|
6353
6353
|
protoOf(playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1).s7j = function (action) {
|
|
6354
6354
|
return action instanceof PlayerConnectionUpdateAction;
|
|
@@ -6369,7 +6369,7 @@
|
|
|
6369
6369
|
}
|
|
6370
6370
|
}
|
|
6371
6371
|
if (player.h80_1.e7b().o79_1.isLeftPermanently) {
|
|
6372
|
-
this.
|
|
6372
|
+
this.ofu_1.w('playerConnectionUpdateMiddleware', "player connection state can't be changed after [playerLeft] is invoked, " + tmp4.toString());
|
|
6373
6373
|
break $l$block_1;
|
|
6374
6374
|
}
|
|
6375
6375
|
}
|
|
@@ -6392,7 +6392,7 @@
|
|
|
6392
6392
|
var _iterator__ex2g4s_0 = destination.t();
|
|
6393
6393
|
while (_iterator__ex2g4s_0.u()) {
|
|
6394
6394
|
var element_0 = _iterator__ex2g4s_0.v();
|
|
6395
|
-
if (element_0.
|
|
6395
|
+
if (element_0.qfu_1 === tmp4.aam_1) {
|
|
6396
6396
|
if (found) {
|
|
6397
6397
|
tmp$ret$4 = null;
|
|
6398
6398
|
break $l$block_3;
|
|
@@ -6411,7 +6411,7 @@
|
|
|
6411
6411
|
if (!(reconnectionTimerTag == null)) {
|
|
6412
6412
|
store.dispatch(new StopTimerAction(reconnectionTimerTag));
|
|
6413
6413
|
}
|
|
6414
|
-
var actions = this.
|
|
6414
|
+
var actions = this.pfu_1.dft(tmp4.zal_1, player.h80_1.e7b().o79_1, player, store.state.q7w(), tmp4.cam_1);
|
|
6415
6415
|
// Inline function 'kotlin.collections.forEach' call
|
|
6416
6416
|
var _iterator__ex2g4s_1 = actions.t();
|
|
6417
6417
|
while (_iterator__ex2g4s_1.u()) {
|
|
@@ -6424,17 +6424,17 @@
|
|
|
6424
6424
|
return this.h7l(store, next, action);
|
|
6425
6425
|
};
|
|
6426
6426
|
function PlayerReconnectionWaitingTimerTag(playerId, state, previousState) {
|
|
6427
|
-
this.
|
|
6428
|
-
this.
|
|
6429
|
-
this.
|
|
6427
|
+
this.qfu_1 = playerId;
|
|
6428
|
+
this.rfu_1 = state;
|
|
6429
|
+
this.sfu_1 = previousState;
|
|
6430
6430
|
}
|
|
6431
6431
|
protoOf(PlayerReconnectionWaitingTimerTag).toString = function () {
|
|
6432
|
-
return 'PlayerReconnectionWaitingTimerTag(playerId=' + this.
|
|
6432
|
+
return 'PlayerReconnectionWaitingTimerTag(playerId=' + this.qfu_1 + ', state=' + this.rfu_1.toString() + ', previousState=' + this.sfu_1.toString() + ')';
|
|
6433
6433
|
};
|
|
6434
6434
|
protoOf(PlayerReconnectionWaitingTimerTag).hashCode = function () {
|
|
6435
|
-
var result = getStringHashCode(this.
|
|
6436
|
-
result = imul(result, 31) + this.qfu_1.hashCode() | 0;
|
|
6435
|
+
var result = getStringHashCode(this.qfu_1);
|
|
6437
6436
|
result = imul(result, 31) + this.rfu_1.hashCode() | 0;
|
|
6437
|
+
result = imul(result, 31) + this.sfu_1.hashCode() | 0;
|
|
6438
6438
|
return result;
|
|
6439
6439
|
};
|
|
6440
6440
|
protoOf(PlayerReconnectionWaitingTimerTag).equals = function (other) {
|
|
@@ -6442,12 +6442,12 @@
|
|
|
6442
6442
|
return true;
|
|
6443
6443
|
if (!(other instanceof PlayerReconnectionWaitingTimerTag))
|
|
6444
6444
|
return false;
|
|
6445
|
-
if (!(this.
|
|
6446
|
-
return false;
|
|
6447
|
-
if (!this.qfu_1.equals(other.qfu_1))
|
|
6445
|
+
if (!(this.qfu_1 === other.qfu_1))
|
|
6448
6446
|
return false;
|
|
6449
6447
|
if (!this.rfu_1.equals(other.rfu_1))
|
|
6450
6448
|
return false;
|
|
6449
|
+
if (!this.sfu_1.equals(other.sfu_1))
|
|
6450
|
+
return false;
|
|
6451
6451
|
return true;
|
|
6452
6452
|
};
|
|
6453
6453
|
function playerReconnectionTimeoutMiddleware(playerConnectionInteractor) {
|
|
@@ -6455,7 +6455,7 @@
|
|
|
6455
6455
|
return new playerReconnectionTimeoutMiddleware$$inlined$middlewareForActionType$1(playerConnectionInteractor);
|
|
6456
6456
|
}
|
|
6457
6457
|
function playerReconnectionTimeoutMiddleware$$inlined$middlewareForActionType$1($playerConnectionInteractor) {
|
|
6458
|
-
this.
|
|
6458
|
+
this.tfu_1 = $playerConnectionInteractor;
|
|
6459
6459
|
}
|
|
6460
6460
|
protoOf(playerReconnectionTimeoutMiddleware$$inlined$middlewareForActionType$1).s7j = function (action) {
|
|
6461
6461
|
return action instanceof TimerTickAction;
|
|
@@ -6469,8 +6469,8 @@
|
|
|
6469
6469
|
var timerTag = tmp4.o7j_1;
|
|
6470
6470
|
if (timerTag instanceof PlayerReconnectionWaitingTimerTag) {
|
|
6471
6471
|
var state = store.state;
|
|
6472
|
-
var player = getPlayer(state.q7w().players, timerTag.
|
|
6473
|
-
var actions = this.
|
|
6472
|
+
var player = getPlayer(state.q7w().players, timerTag.qfu_1);
|
|
6473
|
+
var actions = this.tfu_1.dft(timerTag.rfu_1, timerTag.sfu_1, player, state.q7w(), true);
|
|
6474
6474
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
6475
6475
|
if (!actions.r()) {
|
|
6476
6476
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -6492,7 +6492,7 @@
|
|
|
6492
6492
|
return new playerReconnectionTimerStartWhenStartGameMiddleware$$inlined$middlewareForActionType$1(playerConnectionInteractor);
|
|
6493
6493
|
}
|
|
6494
6494
|
function playerReconnectionTimerStartWhenStartGameMiddleware$$inlined$middlewareForActionType$1($playerConnectionInteractor) {
|
|
6495
|
-
this.
|
|
6495
|
+
this.ufu_1 = $playerConnectionInteractor;
|
|
6496
6496
|
}
|
|
6497
6497
|
protoOf(playerReconnectionTimerStartWhenStartGameMiddleware$$inlined$middlewareForActionType$1).s7j = function (action) {
|
|
6498
6498
|
return isInterface(action, FirstMechanicAction);
|
|
@@ -6520,7 +6520,7 @@
|
|
|
6520
6520
|
var tmp1_previousConnectionState = element_0.h80_1.e7b().o79_1;
|
|
6521
6521
|
var tmp2_playerId = element_0.playerId;
|
|
6522
6522
|
// Inline function 'kotlin.collections.forEach' call
|
|
6523
|
-
var _iterator__ex2g4s_1 = this.
|
|
6523
|
+
var _iterator__ex2g4s_1 = this.ufu_1.eft(tmp2_playerId, tmp0_newConnectionState, tmp1_previousConnectionState).t();
|
|
6524
6524
|
while (_iterator__ex2g4s_1.u()) {
|
|
6525
6525
|
var element_1 = _iterator__ex2g4s_1.v();
|
|
6526
6526
|
store.dispatch(element_1);
|
|
@@ -6535,8 +6535,8 @@
|
|
|
6535
6535
|
return new sendToClientActionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, provider);
|
|
6536
6536
|
}
|
|
6537
6537
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
6538
|
-
this.
|
|
6539
|
-
this.
|
|
6538
|
+
this.dfv_1 = $provider;
|
|
6539
|
+
this.efv_1 = $action;
|
|
6540
6540
|
CoroutineImpl.call(this, resultContinuation);
|
|
6541
6541
|
}
|
|
6542
6542
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).s2d = function ($this$launchDefault, $completion) {
|
|
@@ -6557,7 +6557,7 @@
|
|
|
6557
6557
|
case 0:
|
|
6558
6558
|
this.j9_1 = 2;
|
|
6559
6559
|
this.i9_1 = 1;
|
|
6560
|
-
suspendResult = this.
|
|
6560
|
+
suspendResult = this.dfv_1.xfq(this.efv_1, this);
|
|
6561
6561
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
6562
6562
|
return suspendResult;
|
|
6563
6563
|
}
|
|
@@ -6580,8 +6580,8 @@
|
|
|
6580
6580
|
while (true);
|
|
6581
6581
|
};
|
|
6582
6582
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).t2d = function ($this$launchDefault, completion) {
|
|
6583
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
6584
|
-
i.
|
|
6583
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.dfv_1, this.efv_1, completion);
|
|
6584
|
+
i.ffv_1 = $this$launchDefault;
|
|
6585
6585
|
return i;
|
|
6586
6586
|
};
|
|
6587
6587
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -6593,15 +6593,15 @@
|
|
|
6593
6593
|
return l;
|
|
6594
6594
|
}
|
|
6595
6595
|
function sendToClientActionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $provider) {
|
|
6596
|
-
this.
|
|
6597
|
-
this.
|
|
6596
|
+
this.gfv_1 = $asyncProvider;
|
|
6597
|
+
this.hfv_1 = $provider;
|
|
6598
6598
|
}
|
|
6599
6599
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).s7j = function (action) {
|
|
6600
6600
|
return action instanceof ToClientAction;
|
|
6601
6601
|
};
|
|
6602
6602
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).h7l = function (store, next, action) {
|
|
6603
6603
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
6604
|
-
this.
|
|
6604
|
+
this.gfv_1.i7f(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.hfv_1, action_0, null));
|
|
6605
6605
|
next(action_0);
|
|
6606
6606
|
};
|
|
6607
6607
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).r7j = function (store, next, action) {
|
|
@@ -6612,11 +6612,11 @@
|
|
|
6612
6612
|
return new playerTurnTimeoutWhenHasConnectionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, serverConfig, logger);
|
|
6613
6613
|
}
|
|
6614
6614
|
function playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda($store, $timerTag, $serverConfig, $logger, $action, resultContinuation) {
|
|
6615
|
-
this.
|
|
6616
|
-
this.
|
|
6617
|
-
this.
|
|
6618
|
-
this.
|
|
6619
|
-
this.
|
|
6615
|
+
this.qfv_1 = $store;
|
|
6616
|
+
this.rfv_1 = $timerTag;
|
|
6617
|
+
this.sfv_1 = $serverConfig;
|
|
6618
|
+
this.tfv_1 = $logger;
|
|
6619
|
+
this.ufv_1 = $action;
|
|
6620
6620
|
CoroutineImpl.call(this, resultContinuation);
|
|
6621
6621
|
}
|
|
6622
6622
|
protoOf(playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda).s2d = function ($this$launchDefaultWithLock, $completion) {
|
|
@@ -6635,13 +6635,13 @@
|
|
|
6635
6635
|
var tmp = this.i9_1;
|
|
6636
6636
|
if (tmp === 0) {
|
|
6637
6637
|
this.j9_1 = 1;
|
|
6638
|
-
var table = this.
|
|
6639
|
-
var player = getPlayer(table.players, this.
|
|
6638
|
+
var table = this.qfv_1.state.q7w();
|
|
6639
|
+
var player = getPlayer(table.players, this.rfv_1.b78());
|
|
6640
6640
|
var connectionState = player.h80_1.e7b().o79_1;
|
|
6641
6641
|
var tmp_0;
|
|
6642
6642
|
switch (connectionState.a1_1) {
|
|
6643
6643
|
case 1:
|
|
6644
|
-
tmp_0 = listOf(new PlayerConnectionUpdateAction(PlayerConnectionState_TIMEOUT_getInstance(), player.playerId, VOID, this.
|
|
6644
|
+
tmp_0 = listOf(new PlayerConnectionUpdateAction(PlayerConnectionState_TIMEOUT_getInstance(), player.playerId, VOID, this.rfv_1.zaz_1));
|
|
6645
6645
|
break;
|
|
6646
6646
|
case 6:
|
|
6647
6647
|
tmp_0 = emptyList();
|
|
@@ -6652,8 +6652,8 @@
|
|
|
6652
6652
|
case 2:
|
|
6653
6653
|
case 0:
|
|
6654
6654
|
var tmp_1;
|
|
6655
|
-
if (table.sceneInfo.a8o() && this.
|
|
6656
|
-
tmp_1 = new PlayerConnectionUpdateAction(PlayerConnectionState_DELETED_getInstance(), player.playerId, VOID, this.
|
|
6655
|
+
if (table.sceneInfo.a8o() && this.sfv_1.closeIfBotsAtFinish) {
|
|
6656
|
+
tmp_1 = new PlayerConnectionUpdateAction(PlayerConnectionState_DELETED_getInstance(), player.playerId, VOID, this.rfv_1.zaz_1);
|
|
6657
6657
|
} else {
|
|
6658
6658
|
tmp_1 = AskBotAction_init_$Create$(player.playerId, 'PlayerTurn when connection state = ' + connectionState.toString());
|
|
6659
6659
|
}
|
|
@@ -6661,7 +6661,7 @@
|
|
|
6661
6661
|
tmp_0 = listOf(tmp_1);
|
|
6662
6662
|
break;
|
|
6663
6663
|
case 7:
|
|
6664
|
-
this.
|
|
6664
|
+
this.tfv_1.w('playerTurnTimeoutWhenHasConnectionMiddleware', "Can't support this state " + connectionState.toString() + ', ' + ('action:' + this.ufv_1.toString()));
|
|
6665
6665
|
tmp_0 = emptyList();
|
|
6666
6666
|
break;
|
|
6667
6667
|
default:
|
|
@@ -6673,7 +6673,7 @@
|
|
|
6673
6673
|
var _iterator__ex2g4s = actions.t();
|
|
6674
6674
|
while (_iterator__ex2g4s.u()) {
|
|
6675
6675
|
var element = _iterator__ex2g4s.v();
|
|
6676
|
-
this.
|
|
6676
|
+
this.qfv_1.dispatch(element);
|
|
6677
6677
|
}
|
|
6678
6678
|
}
|
|
6679
6679
|
return Unit_instance;
|
|
@@ -6687,8 +6687,8 @@
|
|
|
6687
6687
|
while (true);
|
|
6688
6688
|
};
|
|
6689
6689
|
protoOf(playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda).t2d = function ($this$launchDefaultWithLock, completion) {
|
|
6690
|
-
var i = new playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda(this.
|
|
6691
|
-
i.
|
|
6690
|
+
var i = new playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda(this.qfv_1, this.rfv_1, this.sfv_1, this.tfv_1, this.ufv_1, completion);
|
|
6691
|
+
i.vfv_1 = $this$launchDefaultWithLock;
|
|
6692
6692
|
return i;
|
|
6693
6693
|
};
|
|
6694
6694
|
function playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda_0($store, $timerTag, $serverConfig, $logger, $action, resultContinuation) {
|
|
@@ -6700,9 +6700,9 @@
|
|
|
6700
6700
|
return l;
|
|
6701
6701
|
}
|
|
6702
6702
|
function playerTurnTimeoutWhenHasConnectionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $serverConfig, $logger) {
|
|
6703
|
-
this.
|
|
6704
|
-
this.
|
|
6705
|
-
this.
|
|
6703
|
+
this.wfv_1 = $asyncProvider;
|
|
6704
|
+
this.xfv_1 = $serverConfig;
|
|
6705
|
+
this.yfv_1 = $logger;
|
|
6706
6706
|
}
|
|
6707
6707
|
protoOf(playerTurnTimeoutWhenHasConnectionMiddleware$$inlined$middlewareForActionType$1).s7j = function (action) {
|
|
6708
6708
|
return action instanceof TimerTickAction;
|
|
@@ -6711,7 +6711,7 @@
|
|
|
6711
6711
|
var action_0 = action instanceof TimerTickAction ? action : THROW_CCE();
|
|
6712
6712
|
var timerTag = action_0.o7j_1;
|
|
6713
6713
|
if (timerTag instanceof PlayerTurnTimerTag) {
|
|
6714
|
-
this.
|
|
6714
|
+
this.wfv_1.k7f(VOID, playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda_0(store, timerTag, this.xfv_1, this.yfv_1, action_0, null));
|
|
6715
6715
|
}
|
|
6716
6716
|
next(action_0);
|
|
6717
6717
|
};
|
|
@@ -6727,19 +6727,19 @@
|
|
|
6727
6727
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).s7j = function (action) {
|
|
6728
6728
|
return action instanceof UpdateServerConfigAction;
|
|
6729
6729
|
};
|
|
6730
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
6730
|
+
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).ib2 = function (state, action) {
|
|
6731
6731
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
6732
|
-
return state.ual(VOID, get_serverStatePayload(state).copy(action_0.
|
|
6732
|
+
return state.ual(VOID, get_serverStatePayload(state).copy(action_0.nft_1));
|
|
6733
6733
|
};
|
|
6734
6734
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).i7l = function (state, action) {
|
|
6735
|
-
return this.
|
|
6735
|
+
return this.ib2((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
6736
6736
|
};
|
|
6737
6737
|
function addRoomMetadata($this, _this__u8e3s4, gameId) {
|
|
6738
6738
|
_this__u8e3s4.metadata.addGame(gameId, new GameMetadata(gameId));
|
|
6739
6739
|
return _this__u8e3s4.metadata;
|
|
6740
6740
|
}
|
|
6741
6741
|
function Companion_5() {
|
|
6742
|
-
this.
|
|
6742
|
+
this.zfv_1 = 'ServerMechanicLifecycleReducer';
|
|
6743
6743
|
}
|
|
6744
6744
|
var Companion_instance_16;
|
|
6745
6745
|
function Companion_getInstance_6() {
|
|
@@ -6747,31 +6747,31 @@
|
|
|
6747
6747
|
}
|
|
6748
6748
|
function ServerMechanicLifecycleReducer$onStart$lambda(this$0, $updatedServerPayload) {
|
|
6749
6749
|
return function (it) {
|
|
6750
|
-
return Companion_instance_4.a7b(this$0.
|
|
6750
|
+
return Companion_instance_4.a7b(this$0.dfw_1.hft(it.isBot, it.p78_1, $updatedServerPayload.connectedPlayers));
|
|
6751
6751
|
};
|
|
6752
6752
|
}
|
|
6753
6753
|
function ServerMechanicLifecycleReducer(logger, connectionInteractor, tableLifecycleReducer, randomPoolProvider) {
|
|
6754
6754
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
6755
|
-
this.
|
|
6756
|
-
this.
|
|
6755
|
+
this.cfw_1 = logger;
|
|
6756
|
+
this.dfw_1 = connectionInteractor;
|
|
6757
6757
|
}
|
|
6758
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
6758
|
+
protoOf(ServerMechanicLifecycleReducer).zb3 = function (state, action) {
|
|
6759
6759
|
var serverState = get_serverStatePayload(state);
|
|
6760
|
-
this.
|
|
6760
|
+
this.cfw_1.d('ServerMechanicLifecycleReducer', 'onStart ' + get_versionOrDefault(GameEngineConfig_instance) + ', connectedPlayers: ' + toString(serverState.connectedPlayers), action);
|
|
6761
6761
|
var tableId = action.r9e_1;
|
|
6762
6762
|
var updatedServerPayload = serverState.copy(VOID, addRoomMetadata(this, serverState, tableId));
|
|
6763
6763
|
var tmp6_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
6764
|
-
var tmp0_$this = this.
|
|
6764
|
+
var tmp0_$this = this.ab4_1;
|
|
6765
6765
|
var tmp1_version = action.s9e_1;
|
|
6766
6766
|
var tmp2_config = action.q9e_1;
|
|
6767
6767
|
var tmp3_users = action.u9e_1;
|
|
6768
6768
|
var tmp4_spectators = action.w9e_1;
|
|
6769
6769
|
var tmp5_gameCreatorPlayerId = action.t9e_1;
|
|
6770
|
-
var tmp7_tableOrNull = tmp0_$this.
|
|
6770
|
+
var tmp7_tableOrNull = tmp0_$this.jb5(tableId, tableId, tmp2_config, tmp1_version, tmp3_users, tmp4_spectators, tmp5_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(this, updatedServerPayload));
|
|
6771
6771
|
return state.ual(tmp7_tableOrNull, updatedServerPayload, tmp6_gameLifecycleState);
|
|
6772
6772
|
};
|
|
6773
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
6774
|
-
this.
|
|
6773
|
+
protoOf(ServerMechanicLifecycleReducer).xb3 = function (state, action) {
|
|
6774
|
+
this.cfw_1.d('ServerMechanicLifecycleReducer', 'onContinue ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
6775
6775
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
6776
6776
|
var tmp2_tableOrNull = action.table;
|
|
6777
6777
|
var tmp = Companion_instance_17;
|
|
@@ -6781,10 +6781,10 @@
|
|
|
6781
6781
|
var tmp3_payload = tmp.initial(tmp_0.copy(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.v76_1), addRoomMetadata(this, get_serverStatePayload(state), action.table.gameId));
|
|
6782
6782
|
return state.ual(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
|
|
6783
6783
|
};
|
|
6784
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
6785
|
-
this.
|
|
6784
|
+
protoOf(ServerMechanicLifecycleReducer).yb3 = function (state, action) {
|
|
6785
|
+
this.bb4_1.l6h(action.previousGameId);
|
|
6786
6786
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
6787
|
-
var tmp1_tableOrNull = this.
|
|
6787
|
+
var tmp1_tableOrNull = this.ab4_1.kb5(state.q7w(), action.gameId);
|
|
6788
6788
|
var tmp2_payload = get_serverStatePayload(state).copy(VOID, addRoomMetadata(this, get_serverStatePayload(state), action.gameId));
|
|
6789
6789
|
return state.ual(tmp1_tableOrNull, tmp2_payload, tmp0_gameLifecycleState);
|
|
6790
6790
|
};
|
|
@@ -6793,18 +6793,18 @@
|
|
|
6793
6793
|
return new spectatorsReducer$$inlined$reducerForActionType$1(logger);
|
|
6794
6794
|
}
|
|
6795
6795
|
function spectatorsReducer$$inlined$reducerForActionType$1($logger) {
|
|
6796
|
-
this.
|
|
6796
|
+
this.efw_1 = $logger;
|
|
6797
6797
|
}
|
|
6798
6798
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).s7j = function (action) {
|
|
6799
6799
|
return isInterface(action, SpectatorsAction);
|
|
6800
6800
|
};
|
|
6801
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
6801
|
+
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).ib2 = function (state, action) {
|
|
6802
6802
|
var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
|
|
6803
6803
|
var table = state.q7w();
|
|
6804
6804
|
var tmp;
|
|
6805
6805
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
6806
6806
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
6807
|
-
var tmp0 = action_0.
|
|
6807
|
+
var tmp0 = action_0.oft_1;
|
|
6808
6808
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
6809
6809
|
var destination = ArrayList_init_$Create$_0();
|
|
6810
6810
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -6823,9 +6823,9 @@
|
|
|
6823
6823
|
var tmp_0;
|
|
6824
6824
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
6825
6825
|
if (!sameSpectators.r()) {
|
|
6826
|
-
this.
|
|
6826
|
+
this.efw_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
6827
6827
|
// Inline function 'kotlin.collections.filterNot' call
|
|
6828
|
-
var tmp0_0 = action_0.
|
|
6828
|
+
var tmp0_0 = action_0.oft_1;
|
|
6829
6829
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
6830
6830
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
6831
6831
|
var _iterator__ex2g4s_0 = tmp0_0.t();
|
|
@@ -6860,7 +6860,7 @@
|
|
|
6860
6860
|
}
|
|
6861
6861
|
tmp_0 = destination_0;
|
|
6862
6862
|
} else {
|
|
6863
|
-
tmp_0 = action_0.
|
|
6863
|
+
tmp_0 = action_0.oft_1;
|
|
6864
6864
|
}
|
|
6865
6865
|
// Inline function 'kotlin.collections.map' call
|
|
6866
6866
|
var this_0 = tmp_0;
|
|
@@ -6877,7 +6877,7 @@
|
|
|
6877
6877
|
} else {
|
|
6878
6878
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
6879
6879
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
6880
|
-
var tmp0_1 = action_0.
|
|
6880
|
+
var tmp0_1 = action_0.pft_1;
|
|
6881
6881
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
6882
6882
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
6883
6883
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -6896,9 +6896,9 @@
|
|
|
6896
6896
|
var tmp_2;
|
|
6897
6897
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
6898
6898
|
if (!sameSpectators_0.r()) {
|
|
6899
|
-
this.
|
|
6899
|
+
this.efw_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
6900
6900
|
// Inline function 'kotlin.collections.filterNot' call
|
|
6901
|
-
var tmp0_2 = action_0.
|
|
6901
|
+
var tmp0_2 = action_0.pft_1;
|
|
6902
6902
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
6903
6903
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
6904
6904
|
var _iterator__ex2g4s_4 = tmp0_2.t();
|
|
@@ -6933,7 +6933,7 @@
|
|
|
6933
6933
|
}
|
|
6934
6934
|
tmp_2 = destination_3;
|
|
6935
6935
|
} else {
|
|
6936
|
-
tmp_2 = action_0.
|
|
6936
|
+
tmp_2 = action_0.pft_1;
|
|
6937
6937
|
}
|
|
6938
6938
|
var spectatorsToRemove = toSet(tmp_2);
|
|
6939
6939
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -6978,7 +6978,7 @@
|
|
|
6978
6978
|
return tmp;
|
|
6979
6979
|
};
|
|
6980
6980
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).i7l = function (state, action) {
|
|
6981
|
-
return this.
|
|
6981
|
+
return this.ib2((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
6982
6982
|
};
|
|
6983
6983
|
function playerConnectionUpdateReducer() {
|
|
6984
6984
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
@@ -6989,7 +6989,7 @@
|
|
|
6989
6989
|
protoOf(playerConnectionUpdateReducer$$inlined$reducerForActionType$1).s7j = function (action) {
|
|
6990
6990
|
return action instanceof PlayerConnectionUpdateAction;
|
|
6991
6991
|
};
|
|
6992
|
-
protoOf(playerConnectionUpdateReducer$$inlined$reducerForActionType$1).
|
|
6992
|
+
protoOf(playerConnectionUpdateReducer$$inlined$reducerForActionType$1).ib2 = function (state, action) {
|
|
6993
6993
|
var action_0 = action instanceof PlayerConnectionUpdateAction ? action : THROW_CCE();
|
|
6994
6994
|
var statePayload = get_serverStatePayload(state);
|
|
6995
6995
|
var tmp;
|
|
@@ -7001,17 +7001,17 @@
|
|
|
7001
7001
|
return tmp;
|
|
7002
7002
|
};
|
|
7003
7003
|
protoOf(playerConnectionUpdateReducer$$inlined$reducerForActionType$1).i7l = function (state, action) {
|
|
7004
|
-
return this.
|
|
7004
|
+
return this.ib2((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
7005
7005
|
};
|
|
7006
7006
|
function Companion_6() {
|
|
7007
7007
|
}
|
|
7008
|
-
protoOf(Companion_6).
|
|
7008
|
+
protoOf(Companion_6).ffw = function (config, metadata) {
|
|
7009
7009
|
return new ServerStatePayload(config, metadata, emptyList());
|
|
7010
7010
|
};
|
|
7011
7011
|
protoOf(Companion_6).initial = function (config, metadata, $super) {
|
|
7012
7012
|
config = config === VOID ? Companion_instance_11.initial(null) : config;
|
|
7013
7013
|
metadata = metadata === VOID ? new RoomMetadata() : metadata;
|
|
7014
|
-
return $super === VOID ? this.
|
|
7014
|
+
return $super === VOID ? this.ffw(config, metadata) : $super.ffw.call(this, config, metadata);
|
|
7015
7015
|
};
|
|
7016
7016
|
var Companion_instance_17;
|
|
7017
7017
|
function Companion_getInstance_7() {
|
|
@@ -7028,7 +7028,7 @@
|
|
|
7028
7028
|
protoOf(ServerStatePayload).ya4 = function () {
|
|
7029
7029
|
return this.metadata;
|
|
7030
7030
|
};
|
|
7031
|
-
protoOf(ServerStatePayload).
|
|
7031
|
+
protoOf(ServerStatePayload).gfw = function () {
|
|
7032
7032
|
return this.connectedPlayers;
|
|
7033
7033
|
};
|
|
7034
7034
|
protoOf(ServerStatePayload).jg = function () {
|
|
@@ -7040,14 +7040,14 @@
|
|
|
7040
7040
|
protoOf(ServerStatePayload).ro = function () {
|
|
7041
7041
|
return this.connectedPlayers;
|
|
7042
7042
|
};
|
|
7043
|
-
protoOf(ServerStatePayload).
|
|
7043
|
+
protoOf(ServerStatePayload).hfw = function (config, metadata, connectedPlayers) {
|
|
7044
7044
|
return new ServerStatePayload(config, metadata, connectedPlayers);
|
|
7045
7045
|
};
|
|
7046
7046
|
protoOf(ServerStatePayload).copy = function (config, metadata, connectedPlayers, $super) {
|
|
7047
7047
|
config = config === VOID ? this.config : config;
|
|
7048
7048
|
metadata = metadata === VOID ? this.metadata : metadata;
|
|
7049
7049
|
connectedPlayers = connectedPlayers === VOID ? this.connectedPlayers : connectedPlayers;
|
|
7050
|
-
return $super === VOID ? this.
|
|
7050
|
+
return $super === VOID ? this.hfw(config, metadata, connectedPlayers) : $super.hfw.call(this, config, metadata, connectedPlayers);
|
|
7051
7051
|
};
|
|
7052
7052
|
protoOf(ServerStatePayload).toString = function () {
|
|
7053
7053
|
return 'ServerStatePayload(config=' + this.config.toString() + ', metadata=' + toString(this.metadata) + ', connectedPlayers=' + toString(this.connectedPlayers) + ')';
|
|
@@ -7072,7 +7072,7 @@
|
|
|
7072
7072
|
return true;
|
|
7073
7073
|
};
|
|
7074
7074
|
function serverLoggerKeyFromPayload(_this__u8e3s4, payload) {
|
|
7075
|
-
var gameId = Companion_instance_5.
|
|
7075
|
+
var gameId = Companion_instance_5.lb7(payload);
|
|
7076
7076
|
var tmp;
|
|
7077
7077
|
if (!(gameId == null)) {
|
|
7078
7078
|
tmp = new ServerLoggerKey(gameId);
|
|
@@ -7112,14 +7112,14 @@
|
|
|
7112
7112
|
return new GameServerEngineControllerImpl(loggerCallback, randomOrgConfig);
|
|
7113
7113
|
}
|
|
7114
7114
|
function _get_logger__rkp4sl_0($this) {
|
|
7115
|
-
var tmp0 = $this.
|
|
7115
|
+
var tmp0 = $this.rfw_1;
|
|
7116
7116
|
var tmp = KProperty1;
|
|
7117
7117
|
// Inline function 'kotlin.getValue' call
|
|
7118
7118
|
getPropertyCallableRef('logger', 1, tmp, GameServerEngineControllerImpl$_get_logger_$ref_b9j0th(), null);
|
|
7119
7119
|
return tmp0.o1();
|
|
7120
7120
|
}
|
|
7121
7121
|
function _get_di__ndbzja($this) {
|
|
7122
|
-
var tmp0 = $this.
|
|
7122
|
+
var tmp0 = $this.sfw_1;
|
|
7123
7123
|
var tmp = KProperty1;
|
|
7124
7124
|
// Inline function 'kotlin.getValue' call
|
|
7125
7125
|
getPropertyCallableRef('di', 1, tmp, GameServerEngineControllerImpl$_get_di_$ref_cvlqo6(), null);
|
|
@@ -7136,8 +7136,8 @@
|
|
|
7136
7136
|
}
|
|
7137
7137
|
function createCallbackOutput($this, gameServer) {
|
|
7138
7138
|
var tmp;
|
|
7139
|
-
if (!($this.
|
|
7140
|
-
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.
|
|
7139
|
+
if (!($this.ofw_1 == null)) {
|
|
7140
|
+
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.ofw_1);
|
|
7141
7141
|
tmp = new CallbackWrapperLoggerOutput(tmp_0, GameServerEngineControllerImpl$createCallbackOutput$lambda(gameServer));
|
|
7142
7142
|
} else {
|
|
7143
7143
|
tmp = null;
|
|
@@ -7151,11 +7151,11 @@
|
|
|
7151
7151
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
7152
7152
|
return function () {
|
|
7153
7153
|
var tmp;
|
|
7154
|
-
if (this$0.
|
|
7154
|
+
if (this$0.ofw_1 == null) {
|
|
7155
7155
|
tmp = null;
|
|
7156
7156
|
} else {
|
|
7157
7157
|
// Inline function 'kotlin.let' call
|
|
7158
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
7158
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.ofw_1)]));
|
|
7159
7159
|
}
|
|
7160
7160
|
var tmp1_elvis_lhs = tmp;
|
|
7161
7161
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -7188,7 +7188,7 @@
|
|
|
7188
7188
|
tmp_0.a1i(tmp$ret$3);
|
|
7189
7189
|
$this$DI.z1d(jsonModule());
|
|
7190
7190
|
$this$DI.z1d(serverHelpersModule());
|
|
7191
|
-
$this$DI.z1d(randomOrgModule(this$0.
|
|
7191
|
+
$this$DI.z1d(randomOrgModule(this$0.pfw_1));
|
|
7192
7192
|
return Unit_instance;
|
|
7193
7193
|
};
|
|
7194
7194
|
}
|
|
@@ -7264,16 +7264,16 @@
|
|
|
7264
7264
|
};
|
|
7265
7265
|
}
|
|
7266
7266
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1($reducer) {
|
|
7267
|
-
this.
|
|
7267
|
+
this.zfw_1 = $reducer;
|
|
7268
7268
|
}
|
|
7269
7269
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).s7j = function (action) {
|
|
7270
7270
|
return isInterface(action, Action);
|
|
7271
7271
|
};
|
|
7272
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
7273
|
-
return this.
|
|
7272
|
+
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).ib2 = function (state, action) {
|
|
7273
|
+
return this.zfw_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
7274
7274
|
};
|
|
7275
7275
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).i7l = function (state, action) {
|
|
7276
|
-
return this.
|
|
7276
|
+
return this.ib2((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
7277
7277
|
};
|
|
7278
7278
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($gameServer) {
|
|
7279
7279
|
return function () {
|
|
@@ -7353,7 +7353,7 @@
|
|
|
7353
7353
|
}
|
|
7354
7354
|
function GameServerEngineControllerImpl$createCallbackOutput$lambda($gameServer) {
|
|
7355
7355
|
return function (it) {
|
|
7356
|
-
var payload = Companion_instance_8.
|
|
7356
|
+
var payload = Companion_instance_8.xb5(it);
|
|
7357
7357
|
var tmp;
|
|
7358
7358
|
if (!(payload == null)) {
|
|
7359
7359
|
return payload;
|
|
@@ -7374,18 +7374,18 @@
|
|
|
7374
7374
|
// Inline function 'kotlin.let' call
|
|
7375
7375
|
$this$DI.z1d(tmp0_safe_receiver);
|
|
7376
7376
|
}
|
|
7377
|
-
$this$DI.z1d(dealerModule(this$0.randomPoolProvider, this$0.
|
|
7377
|
+
$this$DI.z1d(dealerModule(this$0.randomPoolProvider, this$0.pfw_1));
|
|
7378
7378
|
$this$DI.z1d(coreModule($coreConfig));
|
|
7379
|
-
$this$DI.z1d(createGameServerDI($serverConfig, $logicConfig, $engineBotConfig, $dealerConfig, $ratingConfig, $leaguesConfig, $externalReducers, $externalMiddlewares, this$0.
|
|
7379
|
+
$this$DI.z1d(createGameServerDI($serverConfig, $logicConfig, $engineBotConfig, $dealerConfig, $ratingConfig, $leaguesConfig, $externalReducers, $externalMiddlewares, this$0.qfw_1.kbb() ? this$0.qfw_1 : null));
|
|
7380
7380
|
return Unit_instance;
|
|
7381
7381
|
};
|
|
7382
7382
|
}
|
|
7383
7383
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
7384
7384
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
7385
7385
|
production = production === VOID ? true : production;
|
|
7386
|
-
this.
|
|
7387
|
-
this.
|
|
7388
|
-
this.
|
|
7386
|
+
this.ofw_1 = loggerCallback;
|
|
7387
|
+
this.pfw_1 = randomOrgConfig;
|
|
7388
|
+
this.qfw_1 = new BotModelRegistry();
|
|
7389
7389
|
var tmp = AppEnvironment_getInstance();
|
|
7390
7390
|
var tmp_0;
|
|
7391
7391
|
if (production) {
|
|
@@ -7395,9 +7395,9 @@
|
|
|
7395
7395
|
}
|
|
7396
7396
|
tmp.v7q(tmp_0);
|
|
7397
7397
|
var tmp_1 = this;
|
|
7398
|
-
tmp_1.
|
|
7398
|
+
tmp_1.rfw_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
7399
7399
|
var tmp_2 = this;
|
|
7400
|
-
tmp_2.
|
|
7400
|
+
tmp_2.sfw_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
7401
7401
|
var tmp_3 = this;
|
|
7402
7402
|
// Inline function 'org.kodein.di.instance' call
|
|
7403
7403
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -7406,7 +7406,7 @@
|
|
|
7406
7406
|
var tmp$ret$0 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
7407
7407
|
var tmp_5 = Instance(this_0, tmp$ret$0, null);
|
|
7408
7408
|
var tmp_6 = KProperty1;
|
|
7409
|
-
tmp_3.
|
|
7409
|
+
tmp_3.tfw_1 = tmp_5.x1j(this, getPropertyCallableRef('parser', 1, tmp_6, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w(), null));
|
|
7410
7410
|
var tmp_7 = this;
|
|
7411
7411
|
// Inline function 'org.kodein.di.instance' call
|
|
7412
7412
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -7415,7 +7415,7 @@
|
|
|
7415
7415
|
var tmp$ret$2 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
7416
7416
|
var tmp_9 = Instance(this_1, tmp$ret$2, null);
|
|
7417
7417
|
var tmp_10 = KProperty1;
|
|
7418
|
-
tmp_7.
|
|
7418
|
+
tmp_7.ufw_1 = tmp_9.x1j(this, getPropertyCallableRef('helper', 1, tmp_10, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f(), null));
|
|
7419
7419
|
var tmp_11 = this;
|
|
7420
7420
|
// Inline function 'org.kodein.di.instance' call
|
|
7421
7421
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -7424,7 +7424,7 @@
|
|
|
7424
7424
|
var tmp$ret$4 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
7425
7425
|
var tmp_13 = Instance(this_2, tmp$ret$4, null);
|
|
7426
7426
|
var tmp_14 = KProperty1;
|
|
7427
|
-
tmp_11.
|
|
7427
|
+
tmp_11.vfw_1 = tmp_13.x1j(this, getPropertyCallableRef('serverHelper', 1, tmp_14, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre(), null));
|
|
7428
7428
|
var tmp_15 = this;
|
|
7429
7429
|
// Inline function 'org.kodein.di.instance' call
|
|
7430
7430
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -7433,7 +7433,7 @@
|
|
|
7433
7433
|
var tmp$ret$6 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
7434
7434
|
var tmp_17 = Instance(this_3, tmp$ret$6, null);
|
|
7435
7435
|
var tmp_18 = KProperty1;
|
|
7436
|
-
tmp_15.
|
|
7436
|
+
tmp_15.wfw_1 = tmp_17.x1j(this, getPropertyCallableRef('resources', 1, tmp_18, GameServerEngineControllerImpl$_get_resources_$ref_dt6416(), null));
|
|
7437
7437
|
var tmp_19 = this;
|
|
7438
7438
|
// Inline function 'org.kodein.di.instance' call
|
|
7439
7439
|
var this_4 = _get_di__ndbzja(this);
|
|
@@ -7442,7 +7442,7 @@
|
|
|
7442
7442
|
var tmp$ret$8 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
7443
7443
|
var tmp_21 = Instance(this_4, tmp$ret$8, null);
|
|
7444
7444
|
var tmp_22 = KProperty1;
|
|
7445
|
-
tmp_19.
|
|
7445
|
+
tmp_19.xfw_1 = tmp_21.x1j(this, getPropertyCallableRef('test', 1, tmp_22, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5(), null));
|
|
7446
7446
|
var tmp_23 = this;
|
|
7447
7447
|
// Inline function 'org.kodein.di.instance' call
|
|
7448
7448
|
var this_5 = _get_di__ndbzja(this);
|
|
@@ -7451,52 +7451,52 @@
|
|
|
7451
7451
|
var tmp$ret$10 = isInterface(tmp_24, TypeToken) ? tmp_24 : THROW_CCE();
|
|
7452
7452
|
var tmp_25 = Instance(this_5, tmp$ret$10, null);
|
|
7453
7453
|
var tmp_26 = KProperty1;
|
|
7454
|
-
tmp_23.
|
|
7454
|
+
tmp_23.yfw_1 = tmp_25.x1j(this, getPropertyCallableRef('randomPoolProvider', 1, tmp_26, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl(), null));
|
|
7455
7455
|
}
|
|
7456
|
-
protoOf(GameServerEngineControllerImpl).
|
|
7457
|
-
var tmp0 = this.
|
|
7456
|
+
protoOf(GameServerEngineControllerImpl).xf6 = function () {
|
|
7457
|
+
var tmp0 = this.tfw_1;
|
|
7458
7458
|
var tmp = KProperty1;
|
|
7459
7459
|
// Inline function 'kotlin.getValue' call
|
|
7460
7460
|
getPropertyCallableRef('parser', 1, tmp, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w_0(), null);
|
|
7461
7461
|
return tmp0.o1();
|
|
7462
7462
|
};
|
|
7463
|
-
protoOf(GameServerEngineControllerImpl).
|
|
7464
|
-
var tmp0 = this.
|
|
7463
|
+
protoOf(GameServerEngineControllerImpl).jfw = function () {
|
|
7464
|
+
var tmp0 = this.ufw_1;
|
|
7465
7465
|
var tmp = KProperty1;
|
|
7466
7466
|
// Inline function 'kotlin.getValue' call
|
|
7467
7467
|
getPropertyCallableRef('helper', 1, tmp, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f_0(), null);
|
|
7468
7468
|
return tmp0.o1();
|
|
7469
7469
|
};
|
|
7470
|
-
protoOf(GameServerEngineControllerImpl).
|
|
7471
|
-
var tmp0 = this.
|
|
7470
|
+
protoOf(GameServerEngineControllerImpl).kfw = function () {
|
|
7471
|
+
var tmp0 = this.vfw_1;
|
|
7472
7472
|
var tmp = KProperty1;
|
|
7473
7473
|
// Inline function 'kotlin.getValue' call
|
|
7474
7474
|
getPropertyCallableRef('serverHelper', 1, tmp, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre_0(), null);
|
|
7475
7475
|
return tmp0.o1();
|
|
7476
7476
|
};
|
|
7477
|
-
protoOf(GameServerEngineControllerImpl).
|
|
7478
|
-
var tmp0 = this.
|
|
7477
|
+
protoOf(GameServerEngineControllerImpl).lfw = function () {
|
|
7478
|
+
var tmp0 = this.wfw_1;
|
|
7479
7479
|
var tmp = KProperty1;
|
|
7480
7480
|
// Inline function 'kotlin.getValue' call
|
|
7481
7481
|
getPropertyCallableRef('resources', 1, tmp, GameServerEngineControllerImpl$_get_resources_$ref_dt6416_0(), null);
|
|
7482
7482
|
return tmp0.o1();
|
|
7483
7483
|
};
|
|
7484
|
-
protoOf(GameServerEngineControllerImpl).
|
|
7485
|
-
var tmp0 = this.
|
|
7484
|
+
protoOf(GameServerEngineControllerImpl).ifw = function () {
|
|
7485
|
+
var tmp0 = this.xfw_1;
|
|
7486
7486
|
var tmp = KProperty1;
|
|
7487
7487
|
// Inline function 'kotlin.getValue' call
|
|
7488
7488
|
getPropertyCallableRef('test', 1, tmp, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5_0(), null);
|
|
7489
7489
|
return tmp0.o1();
|
|
7490
7490
|
};
|
|
7491
|
-
protoOf(GameServerEngineControllerImpl).
|
|
7492
|
-
var tmp0 = this.
|
|
7491
|
+
protoOf(GameServerEngineControllerImpl).mfw = function () {
|
|
7492
|
+
var tmp0 = this.yfw_1;
|
|
7493
7493
|
var tmp = KProperty1;
|
|
7494
7494
|
// Inline function 'kotlin.getValue' call
|
|
7495
7495
|
getPropertyCallableRef('randomPoolProvider', 1, tmp, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl_0(), null);
|
|
7496
7496
|
return tmp0.o1();
|
|
7497
7497
|
};
|
|
7498
7498
|
protoOf(GameServerEngineControllerImpl).loadModel = function (rulesSetType, playersMode, modelBytes) {
|
|
7499
|
-
this.
|
|
7499
|
+
this.qfw_1.ibb(new BotModelConfig(valueOf(playersMode), valueOf_0(rulesSetType), modelBytes));
|
|
7500
7500
|
};
|
|
7501
7501
|
protoOf(GameServerEngineControllerImpl).setEnableLogger = function (enabled) {
|
|
7502
7502
|
Logger_getInstance().i5p_1 = enabled;
|
|
@@ -7504,7 +7504,7 @@
|
|
|
7504
7504
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
7505
7505
|
return this.createGameEngineWithLogic();
|
|
7506
7506
|
};
|
|
7507
|
-
protoOf(GameServerEngineControllerImpl).
|
|
7507
|
+
protoOf(GameServerEngineControllerImpl).nfw = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, leaguesConfig, coreConfig, botConfig) {
|
|
7508
7508
|
var combinedLogger = Companion_instance_9.c10();
|
|
7509
7509
|
var gameServer = {_v: null};
|
|
7510
7510
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -7552,7 +7552,7 @@
|
|
|
7552
7552
|
function TestHelper() {
|
|
7553
7553
|
}
|
|
7554
7554
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
7555
|
-
var tmp0 = $this.
|
|
7555
|
+
var tmp0 = $this.cfx_1;
|
|
7556
7556
|
var tmp = KProperty1;
|
|
7557
7557
|
// Inline function 'kotlin.getValue' call
|
|
7558
7558
|
getPropertyCallableRef('playerAnswerInteractor', 1, tmp, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy_0(), null);
|
|
@@ -7560,7 +7560,7 @@
|
|
|
7560
7560
|
}
|
|
7561
7561
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
7562
7562
|
return function ($this$singleton) {
|
|
7563
|
-
return this$0.
|
|
7563
|
+
return this$0.afx_1;
|
|
7564
7564
|
};
|
|
7565
7565
|
}
|
|
7566
7566
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -7600,19 +7600,19 @@
|
|
|
7600
7600
|
return emptyMap();
|
|
7601
7601
|
}
|
|
7602
7602
|
function TestHelperImpl(logger) {
|
|
7603
|
-
this.
|
|
7603
|
+
this.afx_1 = logger;
|
|
7604
7604
|
var tmp = this;
|
|
7605
7605
|
var tmp_0 = Companion_instance_7;
|
|
7606
|
-
tmp.
|
|
7606
|
+
tmp.bfx_1 = tmp_0.h1e(VOID, TestHelperImpl$di$lambda(this));
|
|
7607
7607
|
var tmp_1 = this;
|
|
7608
7608
|
// Inline function 'org.kodein.di.instance' call
|
|
7609
|
-
var this_0 = this.
|
|
7609
|
+
var this_0 = this.bfx_1;
|
|
7610
7610
|
// Inline function 'org.kodein.type.generic' call
|
|
7611
7611
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
7612
7612
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
7613
7613
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
7614
7614
|
var tmp_4 = KProperty1;
|
|
7615
|
-
tmp_1.
|
|
7615
|
+
tmp_1.cfx_1 = tmp_3.x1j(this, getPropertyCallableRef('playerAnswerInteractor', 1, tmp_4, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy(), null));
|
|
7616
7616
|
}
|
|
7617
7617
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
7618
7618
|
return _get_playerAnswerInteractor__msggz1(this).kac(playerId, table, botConfig);
|
|
@@ -7620,7 +7620,7 @@
|
|
|
7620
7620
|
protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
|
|
7621
7621
|
var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
|
|
7622
7622
|
if (isInterface(mechanicAction, NextPlayerTurnAction)) {
|
|
7623
|
-
var tmp0 = mechanicAction.
|
|
7623
|
+
var tmp0 = mechanicAction.kao();
|
|
7624
7624
|
var tmp$ret$0;
|
|
7625
7625
|
$l$block_0: {
|
|
7626
7626
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -7652,7 +7652,7 @@
|
|
|
7652
7652
|
};
|
|
7653
7653
|
protoOf(TestHelperImpl).getPlayerAnswerFromMechanicAction = function (table, currentPlayerId, action, botConfig) {
|
|
7654
7654
|
if (isInterface(action, NextPlayerTurnAction)) {
|
|
7655
|
-
var tmp0 = action.
|
|
7655
|
+
var tmp0 = action.kao();
|
|
7656
7656
|
var tmp$ret$0;
|
|
7657
7657
|
$l$block_0: {
|
|
7658
7658
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -7685,14 +7685,14 @@
|
|
|
7685
7685
|
function RoomMetadata() {
|
|
7686
7686
|
var tmp = this;
|
|
7687
7687
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
7688
|
-
tmp.
|
|
7688
|
+
tmp.dfx_1 = LinkedHashMap_init_$Create$();
|
|
7689
7689
|
this.extras = {};
|
|
7690
|
-
this.extras = this.
|
|
7690
|
+
this.extras = this.dfx_1;
|
|
7691
7691
|
}
|
|
7692
|
-
protoOf(RoomMetadata).
|
|
7692
|
+
protoOf(RoomMetadata).efx = function () {
|
|
7693
7693
|
return this.extras;
|
|
7694
7694
|
};
|
|
7695
|
-
protoOf(RoomMetadata).
|
|
7695
|
+
protoOf(RoomMetadata).efx = function () {
|
|
7696
7696
|
return this.extras;
|
|
7697
7697
|
};
|
|
7698
7698
|
protoOf(RoomMetadata).getGame = function (gameId) {
|
|
@@ -7710,7 +7710,7 @@
|
|
|
7710
7710
|
};
|
|
7711
7711
|
protoOf(RoomMetadata).addGame = function (gameId, game) {
|
|
7712
7712
|
// Inline function 'kotlin.collections.set' call
|
|
7713
|
-
this.
|
|
7713
|
+
this.dfx_1.g3(gameId, game);
|
|
7714
7714
|
};
|
|
7715
7715
|
function GameMetadata(gameId) {
|
|
7716
7716
|
this.gameId = gameId;
|
|
@@ -7719,7 +7719,7 @@
|
|
|
7719
7719
|
protoOf(GameMetadata).a6d = function () {
|
|
7720
7720
|
return this.gameId;
|
|
7721
7721
|
};
|
|
7722
|
-
protoOf(GameMetadata).
|
|
7722
|
+
protoOf(GameMetadata).efx = function () {
|
|
7723
7723
|
return this.extras;
|
|
7724
7724
|
};
|
|
7725
7725
|
function serverHelpersModule() {
|
|
@@ -7812,7 +7812,7 @@
|
|
|
7812
7812
|
defineProp(protoOf(ActionsStateUpdate), 'roomId', function () {
|
|
7813
7813
|
return this.la1();
|
|
7814
7814
|
});
|
|
7815
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
7815
|
+
protoOf(PlayerConnectionInteractorImpl).cfo = getToClientContinueAction$default;
|
|
7816
7816
|
protoOf(UpdateServerConfigAction).e7j = get_actionTag;
|
|
7817
7817
|
defineProp(protoOf(UpdateServerConfigAction), 'actionTag', function () {
|
|
7818
7818
|
return this.e7j();
|
|
@@ -7829,22 +7829,22 @@
|
|
|
7829
7829
|
protoOf(PlayerReconnectionWaitingTimerTag).eal = ignoreTimerResetValidation;
|
|
7830
7830
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
7831
7831
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
7832
|
-
return this.
|
|
7832
|
+
return this.xf6();
|
|
7833
7833
|
});
|
|
7834
7834
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
7835
|
-
return this.
|
|
7835
|
+
return this.jfw();
|
|
7836
7836
|
});
|
|
7837
7837
|
defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
|
|
7838
|
-
return this.
|
|
7838
|
+
return this.kfw();
|
|
7839
7839
|
});
|
|
7840
7840
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
7841
|
-
return this.
|
|
7841
|
+
return this.lfw();
|
|
7842
7842
|
});
|
|
7843
7843
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
7844
|
-
return this.
|
|
7844
|
+
return this.ifw();
|
|
7845
7845
|
});
|
|
7846
7846
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
7847
|
-
return this.
|
|
7847
|
+
return this.mfw();
|
|
7848
7848
|
});
|
|
7849
7849
|
//endregion
|
|
7850
7850
|
//region block: init
|