client_plugin_logic_deb 1.8.478 → 1.8.480
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1 -1
- package/Logic_Debertz-ai_module.js.map +1 -1
- package/Logic_Debertz-bot_engine.js +706 -706
- package/Logic_Debertz-bot_engine.js.map +1 -1
- package/Logic_Debertz-client_plugin.d.ts +6 -0
- package/Logic_Debertz-client_plugin.js +2052 -2052
- package/Logic_Debertz-client_plugin.js.map +1 -1
- package/Logic_Debertz-core.js +1 -1
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +10012 -9979
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +6391 -6340
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js +927 -927
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +4 -4
- package/kotlinx-coroutines-core.js +1 -1
- package/package.json +1 -1
|
@@ -426,10 +426,10 @@
|
|
|
426
426
|
spectators = tmp;
|
|
427
427
|
var tmp_0;
|
|
428
428
|
if ($super === VOID) {
|
|
429
|
-
this.
|
|
429
|
+
this.bfo(roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
430
430
|
tmp_0 = Unit_instance;
|
|
431
431
|
} else {
|
|
432
|
-
tmp_0 = $super.
|
|
432
|
+
tmp_0 = $super.bfo.call(this, roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
433
433
|
}
|
|
434
434
|
return tmp_0;
|
|
435
435
|
}
|
|
@@ -437,10 +437,10 @@
|
|
|
437
437
|
newRid = newRid === VOID ? null : newRid;
|
|
438
438
|
var tmp;
|
|
439
439
|
if ($super === VOID) {
|
|
440
|
-
this.
|
|
440
|
+
this.dfo(newRid);
|
|
441
441
|
tmp = Unit_instance;
|
|
442
442
|
} else {
|
|
443
|
-
tmp = $super.
|
|
443
|
+
tmp = $super.dfo.call(this, newRid);
|
|
444
444
|
}
|
|
445
445
|
return tmp;
|
|
446
446
|
}
|
|
@@ -448,16 +448,16 @@
|
|
|
448
448
|
roomId = roomId === VOID ? null : roomId;
|
|
449
449
|
var tmp;
|
|
450
450
|
if ($super === VOID) {
|
|
451
|
-
this.
|
|
451
|
+
this.efo(reason, roomId);
|
|
452
452
|
tmp = Unit_instance;
|
|
453
453
|
} else {
|
|
454
|
-
tmp = $super.
|
|
454
|
+
tmp = $super.efo.call(this, reason, roomId);
|
|
455
455
|
}
|
|
456
456
|
return tmp;
|
|
457
457
|
}
|
|
458
458
|
function playerLeft(playerId, roomId, permanently, $super) {
|
|
459
459
|
permanently = permanently === VOID ? true : permanently;
|
|
460
|
-
return $super === VOID ? this.
|
|
460
|
+
return $super === VOID ? this.afo(playerId, roomId, permanently) : $super.afo.call(this, playerId, roomId, permanently);
|
|
461
461
|
}
|
|
462
462
|
initMetadataForInterface(ServerGameEngineContract, 'ServerGameEngineContract', VOID, VOID, [GameStoreContract]);
|
|
463
463
|
initMetadataForClass(GameServer, 'GameServer', VOID, BaseGame, [BaseGame, ServerGameEngineContract]);
|
|
@@ -485,7 +485,7 @@
|
|
|
485
485
|
initMetadataForClass(ToClientEventsObserverImpl, 'ToClientEventsObserverImpl', VOID, VOID, [ToClientEventsObserver], [1, 0]);
|
|
486
486
|
function getToClientContinueAction$default(sendToPlayer, table, previousConnectionState, $super) {
|
|
487
487
|
previousConnectionState = previousConnectionState === VOID ? null : previousConnectionState;
|
|
488
|
-
return $super === VOID ? this.
|
|
488
|
+
return $super === VOID ? this.dfr(sendToPlayer, table, previousConnectionState) : $super.dfr.call(this, sendToPlayer, table, previousConnectionState);
|
|
489
489
|
}
|
|
490
490
|
initMetadataForInterface(PlayerConnectionInteractor, 'PlayerConnectionInteractor');
|
|
491
491
|
initMetadataForClass(PlayerConnectionInteractorImpl, 'PlayerConnectionInteractorImpl', VOID, VOID, [PlayerConnectionInteractor]);
|
|
@@ -536,7 +536,7 @@
|
|
|
536
536
|
leaguesConfig = leaguesConfig === VOID ? Companion_instance_6.defaultConfig() : leaguesConfig;
|
|
537
537
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
538
538
|
botConfig = botConfig === VOID ? new EngineBotConfig(VOID, VOID, VOID, false) : botConfig;
|
|
539
|
-
return $super === VOID ? this.
|
|
539
|
+
return $super === VOID ? this.jfu(reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, leaguesConfig, coreConfig, botConfig) : $super.jfu.call(this, reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, leaguesConfig, coreConfig, botConfig);
|
|
540
540
|
}
|
|
541
541
|
initMetadataForInterface(GameEngineController, 'GameEngineController');
|
|
542
542
|
initMetadataForClass(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1, VOID, VOID, VOID, [Reducer]);
|
|
@@ -549,17 +549,17 @@
|
|
|
549
549
|
initMetadataForClass(GameMetadata, 'GameMetadata');
|
|
550
550
|
//endregion
|
|
551
551
|
function GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation) {
|
|
552
|
-
this.
|
|
552
|
+
this.kf5_1 = $subscriber;
|
|
553
553
|
CoroutineImpl.call(this, resultContinuation);
|
|
554
554
|
}
|
|
555
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
556
|
-
var tmp = this.
|
|
555
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).mf5 = function (it, $completion) {
|
|
556
|
+
var tmp = this.nf5(it, $completion);
|
|
557
557
|
tmp.k9_1 = Unit_instance;
|
|
558
558
|
tmp.l9_1 = null;
|
|
559
559
|
return tmp.q9();
|
|
560
560
|
};
|
|
561
561
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).ca = function (p1, $completion) {
|
|
562
|
-
return this.
|
|
562
|
+
return this.mf5(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
|
|
563
563
|
};
|
|
564
564
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).q9 = function () {
|
|
565
565
|
var suspendResult = this.k9_1;
|
|
@@ -568,7 +568,7 @@
|
|
|
568
568
|
var tmp = this.i9_1;
|
|
569
569
|
if (tmp === 0) {
|
|
570
570
|
this.j9_1 = 1;
|
|
571
|
-
this.
|
|
571
|
+
this.kf5_1(this.lf5_1);
|
|
572
572
|
return Unit_instance;
|
|
573
573
|
} else if (tmp === 1) {
|
|
574
574
|
throw this.l9_1;
|
|
@@ -579,31 +579,31 @@
|
|
|
579
579
|
}
|
|
580
580
|
while (true);
|
|
581
581
|
};
|
|
582
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
583
|
-
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.
|
|
584
|
-
i.
|
|
582
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).nf5 = function (it, completion) {
|
|
583
|
+
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.kf5_1, completion);
|
|
584
|
+
i.lf5_1 = it;
|
|
585
585
|
return i;
|
|
586
586
|
};
|
|
587
587
|
function GameServer$subscribeToClientAction$slambda$slambda_0($subscriber, resultContinuation) {
|
|
588
588
|
var i = new GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation);
|
|
589
589
|
var l = function (it, $completion) {
|
|
590
|
-
return i.
|
|
590
|
+
return i.mf5(it, $completion);
|
|
591
591
|
};
|
|
592
592
|
l.$arity = 1;
|
|
593
593
|
return l;
|
|
594
594
|
}
|
|
595
595
|
function GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation) {
|
|
596
|
-
this.
|
|
596
|
+
this.wf5_1 = $subscriber;
|
|
597
597
|
CoroutineImpl.call(this, resultContinuation);
|
|
598
598
|
}
|
|
599
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
600
|
-
var tmp = this.
|
|
599
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).yf5 = function (it, $completion) {
|
|
600
|
+
var tmp = this.zf5(it, $completion);
|
|
601
601
|
tmp.k9_1 = Unit_instance;
|
|
602
602
|
tmp.l9_1 = null;
|
|
603
603
|
return tmp.q9();
|
|
604
604
|
};
|
|
605
605
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).ca = function (p1, $completion) {
|
|
606
|
-
return this.
|
|
606
|
+
return this.yf5((!(p1 == null) ? isInterface(p1, ServerStateUpdate) : false) ? p1 : THROW_CCE(), $completion);
|
|
607
607
|
};
|
|
608
608
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).q9 = function () {
|
|
609
609
|
var suspendResult = this.k9_1;
|
|
@@ -612,7 +612,7 @@
|
|
|
612
612
|
var tmp = this.i9_1;
|
|
613
613
|
if (tmp === 0) {
|
|
614
614
|
this.j9_1 = 1;
|
|
615
|
-
this.
|
|
615
|
+
this.wf5_1(this.xf5_1);
|
|
616
616
|
return Unit_instance;
|
|
617
617
|
} else if (tmp === 1) {
|
|
618
618
|
throw this.l9_1;
|
|
@@ -623,22 +623,22 @@
|
|
|
623
623
|
}
|
|
624
624
|
while (true);
|
|
625
625
|
};
|
|
626
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
627
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.
|
|
628
|
-
i.
|
|
626
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).zf5 = function (it, completion) {
|
|
627
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.wf5_1, completion);
|
|
628
|
+
i.xf5_1 = it;
|
|
629
629
|
return i;
|
|
630
630
|
};
|
|
631
631
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_0($subscriber, resultContinuation) {
|
|
632
632
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation);
|
|
633
633
|
var l = function (it, $completion) {
|
|
634
|
-
return i.
|
|
634
|
+
return i.yf5(it, $completion);
|
|
635
635
|
};
|
|
636
636
|
l.$arity = 1;
|
|
637
637
|
return l;
|
|
638
638
|
}
|
|
639
639
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
|
|
640
|
-
this.
|
|
641
|
-
this.
|
|
640
|
+
this.if6_1 = $$this$unsafeFlow;
|
|
641
|
+
this.jf6_1 = this$0;
|
|
642
642
|
CoroutineImpl.call(this, resultContinuation);
|
|
643
643
|
}
|
|
644
644
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).q2m = function (value, $completion) {
|
|
@@ -658,10 +658,10 @@
|
|
|
658
658
|
switch (tmp) {
|
|
659
659
|
case 0:
|
|
660
660
|
this.j9_1 = 2;
|
|
661
|
-
var tmp0 = this.
|
|
662
|
-
var value = this.
|
|
661
|
+
var tmp0 = this.if6_1;
|
|
662
|
+
var value = this.kf6_1;
|
|
663
663
|
this.i9_1 = 1;
|
|
664
|
-
suspendResult = tmp0.w27(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.
|
|
664
|
+
suspendResult = tmp0.w27(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.jf6_1)), this);
|
|
665
665
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
666
666
|
return suspendResult;
|
|
667
667
|
}
|
|
@@ -684,8 +684,8 @@
|
|
|
684
684
|
while (true);
|
|
685
685
|
};
|
|
686
686
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).r2m = function (value, completion) {
|
|
687
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.
|
|
688
|
-
i.
|
|
687
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.if6_1, this.jf6_1, completion);
|
|
688
|
+
i.kf6_1 = value;
|
|
689
689
|
return i;
|
|
690
690
|
};
|
|
691
691
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
@@ -698,8 +698,8 @@
|
|
|
698
698
|
}
|
|
699
699
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
700
700
|
CoroutineImpl.call(this, resultContinuation);
|
|
701
|
-
this.
|
|
702
|
-
this.
|
|
701
|
+
this.tf6_1 = _this__u8e3s4;
|
|
702
|
+
this.uf6_1 = collector;
|
|
703
703
|
}
|
|
704
704
|
protoOf($collectCOROUTINE$).q9 = function () {
|
|
705
705
|
var suspendResult = this.k9_1;
|
|
@@ -709,10 +709,10 @@
|
|
|
709
709
|
switch (tmp) {
|
|
710
710
|
case 0:
|
|
711
711
|
this.j9_1 = 2;
|
|
712
|
-
var $this$unsafeFlow = this.
|
|
712
|
+
var $this$unsafeFlow = this.uf6_1;
|
|
713
713
|
this.i9_1 = 1;
|
|
714
|
-
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
715
|
-
suspendResult = this.
|
|
714
|
+
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.tf6_1.wf6_1, null);
|
|
715
|
+
suspendResult = this.tf6_1.vf6_1.t26(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_0), this);
|
|
716
716
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
717
717
|
return suspendResult;
|
|
718
718
|
}
|
|
@@ -735,8 +735,8 @@
|
|
|
735
735
|
while (true);
|
|
736
736
|
};
|
|
737
737
|
function GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1($this, this$0) {
|
|
738
|
-
this.
|
|
739
|
-
this.
|
|
738
|
+
this.vf6_1 = $this;
|
|
739
|
+
this.wf6_1 = this$0;
|
|
740
740
|
}
|
|
741
741
|
protoOf(GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1).x27 = function (collector, $completion) {
|
|
742
742
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
@@ -748,17 +748,17 @@
|
|
|
748
748
|
return this.x27(collector, $completion);
|
|
749
749
|
};
|
|
750
750
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation) {
|
|
751
|
-
this.
|
|
751
|
+
this.ff7_1 = $subscriber;
|
|
752
752
|
CoroutineImpl.call(this, resultContinuation);
|
|
753
753
|
}
|
|
754
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
755
|
-
var tmp = this.
|
|
754
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).hf7 = function (it, $completion) {
|
|
755
|
+
var tmp = this.if7(it, $completion);
|
|
756
756
|
tmp.k9_1 = Unit_instance;
|
|
757
757
|
tmp.l9_1 = null;
|
|
758
758
|
return tmp.q9();
|
|
759
759
|
};
|
|
760
760
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).ca = function (p1, $completion) {
|
|
761
|
-
return this.
|
|
761
|
+
return this.hf7((!(p1 == null) ? isInterface(p1, ServerStateUpdateDto) : false) ? p1 : THROW_CCE(), $completion);
|
|
762
762
|
};
|
|
763
763
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).q9 = function () {
|
|
764
764
|
var suspendResult = this.k9_1;
|
|
@@ -767,7 +767,7 @@
|
|
|
767
767
|
var tmp = this.i9_1;
|
|
768
768
|
if (tmp === 0) {
|
|
769
769
|
this.j9_1 = 1;
|
|
770
|
-
this.
|
|
770
|
+
this.ff7_1(this.gf7_1);
|
|
771
771
|
return Unit_instance;
|
|
772
772
|
} else if (tmp === 1) {
|
|
773
773
|
throw this.l9_1;
|
|
@@ -778,22 +778,22 @@
|
|
|
778
778
|
}
|
|
779
779
|
while (true);
|
|
780
780
|
};
|
|
781
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
782
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.
|
|
783
|
-
i.
|
|
781
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).if7 = function (it, completion) {
|
|
782
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.ff7_1, completion);
|
|
783
|
+
i.gf7_1 = it;
|
|
784
784
|
return i;
|
|
785
785
|
};
|
|
786
786
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda_0($subscriber, resultContinuation) {
|
|
787
787
|
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation);
|
|
788
788
|
var l = function (it, $completion) {
|
|
789
|
-
return i.
|
|
789
|
+
return i.hf7(it, $completion);
|
|
790
790
|
};
|
|
791
791
|
l.$arity = 1;
|
|
792
792
|
return l;
|
|
793
793
|
}
|
|
794
794
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, $table, resultContinuation) {
|
|
795
|
-
this.
|
|
796
|
-
this.
|
|
795
|
+
this.rf7_1 = $$this$unsafeFlow;
|
|
796
|
+
this.sf7_1 = $table;
|
|
797
797
|
CoroutineImpl.call(this, resultContinuation);
|
|
798
798
|
}
|
|
799
799
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).q2m = function (value, $completion) {
|
|
@@ -813,10 +813,10 @@
|
|
|
813
813
|
switch (tmp) {
|
|
814
814
|
case 0:
|
|
815
815
|
this.j9_1 = 2;
|
|
816
|
-
var tmp0 = this.
|
|
817
|
-
var value = this.
|
|
816
|
+
var tmp0 = this.rf7_1;
|
|
817
|
+
var value = this.tf7_1;
|
|
818
818
|
this.i9_1 = 1;
|
|
819
|
-
suspendResult = tmp0.w27(new ActionsStateUpdate(this.
|
|
819
|
+
suspendResult = tmp0.w27(new ActionsStateUpdate(this.sf7_1.id, copyToArray(value)), this);
|
|
820
820
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
821
821
|
return suspendResult;
|
|
822
822
|
}
|
|
@@ -839,8 +839,8 @@
|
|
|
839
839
|
while (true);
|
|
840
840
|
};
|
|
841
841
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).r2m = function (value, completion) {
|
|
842
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.
|
|
843
|
-
i.
|
|
842
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.rf7_1, this.sf7_1, completion);
|
|
843
|
+
i.tf7_1 = value;
|
|
844
844
|
return i;
|
|
845
845
|
};
|
|
846
846
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, $table, resultContinuation) {
|
|
@@ -853,8 +853,8 @@
|
|
|
853
853
|
}
|
|
854
854
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
855
855
|
CoroutineImpl.call(this, resultContinuation);
|
|
856
|
-
this.
|
|
857
|
-
this.
|
|
856
|
+
this.cf8_1 = _this__u8e3s4;
|
|
857
|
+
this.df8_1 = collector;
|
|
858
858
|
}
|
|
859
859
|
protoOf($collectCOROUTINE$_0).q9 = function () {
|
|
860
860
|
var suspendResult = this.k9_1;
|
|
@@ -864,10 +864,10 @@
|
|
|
864
864
|
switch (tmp) {
|
|
865
865
|
case 0:
|
|
866
866
|
this.j9_1 = 2;
|
|
867
|
-
var $this$unsafeFlow = this.
|
|
867
|
+
var $this$unsafeFlow = this.df8_1;
|
|
868
868
|
this.i9_1 = 1;
|
|
869
|
-
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
870
|
-
suspendResult = this.
|
|
869
|
+
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.cf8_1.ff8_1, null);
|
|
870
|
+
suspendResult = this.cf8_1.ef8_1.t26(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
|
|
871
871
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
872
872
|
return suspendResult;
|
|
873
873
|
}
|
|
@@ -890,8 +890,8 @@
|
|
|
890
890
|
while (true);
|
|
891
891
|
};
|
|
892
892
|
function GameServer$observeTableStateUpdates$$inlined$flatMapLatest$2$2$1($this, $table) {
|
|
893
|
-
this.
|
|
894
|
-
this.
|
|
893
|
+
this.ef8_1 = $this;
|
|
894
|
+
this.ff8_1 = $table;
|
|
895
895
|
}
|
|
896
896
|
protoOf(GameServer$observeTableStateUpdates$$inlined$flatMapLatest$2$2$1).x27 = function (collector, $completion) {
|
|
897
897
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
@@ -903,18 +903,18 @@
|
|
|
903
903
|
return this.x27(collector, $completion);
|
|
904
904
|
};
|
|
905
905
|
function GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation) {
|
|
906
|
-
this.
|
|
907
|
-
this.
|
|
906
|
+
this.of8_1 = $table;
|
|
907
|
+
this.pf8_1 = this$0;
|
|
908
908
|
CoroutineImpl.call(this, resultContinuation);
|
|
909
909
|
}
|
|
910
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
911
|
-
var tmp = this.
|
|
910
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).rf8 = function ($this$flow, $completion) {
|
|
911
|
+
var tmp = this.sf8($this$flow, $completion);
|
|
912
912
|
tmp.k9_1 = Unit_instance;
|
|
913
913
|
tmp.l9_1 = null;
|
|
914
914
|
return tmp.q9();
|
|
915
915
|
};
|
|
916
916
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).ca = function (p1, $completion) {
|
|
917
|
-
return this.
|
|
917
|
+
return this.rf8((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
918
918
|
};
|
|
919
919
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).q9 = function () {
|
|
920
920
|
var suspendResult = this.k9_1;
|
|
@@ -925,7 +925,7 @@
|
|
|
925
925
|
case 0:
|
|
926
926
|
this.j9_1 = 3;
|
|
927
927
|
this.i9_1 = 1;
|
|
928
|
-
suspendResult = this.
|
|
928
|
+
suspendResult = this.qf8_1.w27(new TableStateUpdate(this.of8_1.id, this.of8_1), this);
|
|
929
929
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
930
930
|
return suspendResult;
|
|
931
931
|
}
|
|
@@ -933,8 +933,8 @@
|
|
|
933
933
|
continue $sm;
|
|
934
934
|
case 1:
|
|
935
935
|
this.i9_1 = 2;
|
|
936
|
-
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.
|
|
937
|
-
suspendResult = emitAll(this.
|
|
936
|
+
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.pf8_1).sa8(), fromInt(_get_serverReduxConfig__rprcrm(this.pf8_1).serverStateUpdateIntervalMillis));
|
|
937
|
+
suspendResult = emitAll(this.qf8_1, new GameServer$observeTableStateUpdates$$inlined$flatMapLatest$2$2$1(this_0, this.of8_1), this);
|
|
938
938
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
939
939
|
return suspendResult;
|
|
940
940
|
}
|
|
@@ -956,22 +956,22 @@
|
|
|
956
956
|
}
|
|
957
957
|
while (true);
|
|
958
958
|
};
|
|
959
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
960
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.
|
|
961
|
-
i.
|
|
959
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).sf8 = function ($this$flow, completion) {
|
|
960
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.of8_1, this.pf8_1, completion);
|
|
961
|
+
i.qf8_1 = $this$flow;
|
|
962
962
|
return i;
|
|
963
963
|
};
|
|
964
964
|
function GameServer$observeTableStateUpdates$slambda$slambda_0($table, this$0, resultContinuation) {
|
|
965
965
|
var i = new GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation);
|
|
966
966
|
var l = function ($this$flow, $completion) {
|
|
967
|
-
return i.
|
|
967
|
+
return i.rf8($this$flow, $completion);
|
|
968
968
|
};
|
|
969
969
|
l.$arity = 1;
|
|
970
970
|
return l;
|
|
971
971
|
}
|
|
972
972
|
function GameServer$observeTableStateUpdates$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
|
|
973
|
-
this.
|
|
974
|
-
this.
|
|
973
|
+
this.bf9_1 = $$this$unsafeFlow;
|
|
974
|
+
this.cf9_1 = this$0;
|
|
975
975
|
CoroutineImpl.call(this, resultContinuation);
|
|
976
976
|
}
|
|
977
977
|
protoOf(GameServer$observeTableStateUpdates$o$collect$slambda).q2m = function (value, $completion) {
|
|
@@ -991,15 +991,15 @@
|
|
|
991
991
|
switch (tmp) {
|
|
992
992
|
case 0:
|
|
993
993
|
this.j9_1 = 5;
|
|
994
|
-
this.
|
|
995
|
-
this.
|
|
994
|
+
this.hf9_1 = this.bf9_1;
|
|
995
|
+
this.gf9_1 = this.df9_1;
|
|
996
996
|
this.i9_1 = 1;
|
|
997
997
|
continue $sm;
|
|
998
998
|
case 1:
|
|
999
|
-
this.
|
|
1000
|
-
var it = this.
|
|
999
|
+
this.ef9_1 = this.hf9_1;
|
|
1000
|
+
var it = this.gf9_1;
|
|
1001
1001
|
var tmp_0;
|
|
1002
|
-
if (get_isCreated(this.
|
|
1002
|
+
if (get_isCreated(this.cf9_1.c78())) {
|
|
1003
1003
|
tmp_0 = it;
|
|
1004
1004
|
} else {
|
|
1005
1005
|
tmp_0 = null;
|
|
@@ -1011,15 +1011,15 @@
|
|
|
1011
1011
|
var tmp_1 = this;
|
|
1012
1012
|
continue $sm;
|
|
1013
1013
|
} else {
|
|
1014
|
-
this.
|
|
1014
|
+
this.ff9_1 = tmp0_elvis_lhs;
|
|
1015
1015
|
this.i9_1 = 2;
|
|
1016
1016
|
continue $sm;
|
|
1017
1017
|
}
|
|
1018
1018
|
|
|
1019
1019
|
case 2:
|
|
1020
|
-
var transformed = this.
|
|
1020
|
+
var transformed = this.ff9_1;
|
|
1021
1021
|
this.i9_1 = 3;
|
|
1022
|
-
suspendResult = this.
|
|
1022
|
+
suspendResult = this.ef9_1.w27(transformed, this);
|
|
1023
1023
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1024
1024
|
return suspendResult;
|
|
1025
1025
|
}
|
|
@@ -1050,8 +1050,8 @@
|
|
|
1050
1050
|
while (true);
|
|
1051
1051
|
};
|
|
1052
1052
|
protoOf(GameServer$observeTableStateUpdates$o$collect$slambda).r2m = function (value, completion) {
|
|
1053
|
-
var i = new GameServer$observeTableStateUpdates$o$collect$slambda(this.
|
|
1054
|
-
i.
|
|
1053
|
+
var i = new GameServer$observeTableStateUpdates$o$collect$slambda(this.bf9_1, this.cf9_1, completion);
|
|
1054
|
+
i.df9_1 = value;
|
|
1055
1055
|
return i;
|
|
1056
1056
|
};
|
|
1057
1057
|
function GameServer$observeTableStateUpdates$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
@@ -1064,8 +1064,8 @@
|
|
|
1064
1064
|
}
|
|
1065
1065
|
function $collectCOROUTINE$_1(_this__u8e3s4, collector, resultContinuation) {
|
|
1066
1066
|
CoroutineImpl.call(this, resultContinuation);
|
|
1067
|
-
this.
|
|
1068
|
-
this.
|
|
1067
|
+
this.qf9_1 = _this__u8e3s4;
|
|
1068
|
+
this.rf9_1 = collector;
|
|
1069
1069
|
}
|
|
1070
1070
|
protoOf($collectCOROUTINE$_1).q9 = function () {
|
|
1071
1071
|
var suspendResult = this.k9_1;
|
|
@@ -1075,10 +1075,10 @@
|
|
|
1075
1075
|
switch (tmp) {
|
|
1076
1076
|
case 0:
|
|
1077
1077
|
this.j9_1 = 2;
|
|
1078
|
-
var $this$unsafeFlow = this.
|
|
1078
|
+
var $this$unsafeFlow = this.rf9_1;
|
|
1079
1079
|
this.i9_1 = 1;
|
|
1080
|
-
var tmp_0 = GameServer$observeTableStateUpdates$o$collect$slambda_0($this$unsafeFlow, this.
|
|
1081
|
-
suspendResult = this.
|
|
1080
|
+
var tmp_0 = GameServer$observeTableStateUpdates$o$collect$slambda_0($this$unsafeFlow, this.qf9_1.tf9_1, null);
|
|
1081
|
+
suspendResult = this.qf9_1.sf9_1.t26(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
|
|
1082
1082
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1083
1083
|
return suspendResult;
|
|
1084
1084
|
}
|
|
@@ -1101,7 +1101,7 @@
|
|
|
1101
1101
|
while (true);
|
|
1102
1102
|
};
|
|
1103
1103
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
1104
|
-
this.
|
|
1104
|
+
this.cfa_1 = $$this$unsafeFlow;
|
|
1105
1105
|
CoroutineImpl.call(this, resultContinuation);
|
|
1106
1106
|
}
|
|
1107
1107
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).q2m = function (value, $completion) {
|
|
@@ -1121,27 +1121,27 @@
|
|
|
1121
1121
|
switch (tmp) {
|
|
1122
1122
|
case 0:
|
|
1123
1123
|
this.j9_1 = 5;
|
|
1124
|
-
this.
|
|
1125
|
-
this.
|
|
1124
|
+
this.hfa_1 = this.cfa_1;
|
|
1125
|
+
this.gfa_1 = this.dfa_1;
|
|
1126
1126
|
this.i9_1 = 1;
|
|
1127
1127
|
continue $sm;
|
|
1128
1128
|
case 1:
|
|
1129
|
-
this.
|
|
1130
|
-
var tmp0_elvis_lhs = this.
|
|
1129
|
+
this.efa_1 = this.hfa_1;
|
|
1130
|
+
var tmp0_elvis_lhs = this.gfa_1.tableOrNull;
|
|
1131
1131
|
if (tmp0_elvis_lhs == null) {
|
|
1132
1132
|
this.i9_1 = 4;
|
|
1133
1133
|
var tmp_0 = this;
|
|
1134
1134
|
continue $sm;
|
|
1135
1135
|
} else {
|
|
1136
|
-
this.
|
|
1136
|
+
this.ffa_1 = tmp0_elvis_lhs;
|
|
1137
1137
|
this.i9_1 = 2;
|
|
1138
1138
|
continue $sm;
|
|
1139
1139
|
}
|
|
1140
1140
|
|
|
1141
1141
|
case 2:
|
|
1142
|
-
var transformed = this.
|
|
1142
|
+
var transformed = this.ffa_1;
|
|
1143
1143
|
this.i9_1 = 3;
|
|
1144
|
-
suspendResult = this.
|
|
1144
|
+
suspendResult = this.efa_1.w27(transformed, this);
|
|
1145
1145
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1146
1146
|
return suspendResult;
|
|
1147
1147
|
}
|
|
@@ -1172,8 +1172,8 @@
|
|
|
1172
1172
|
while (true);
|
|
1173
1173
|
};
|
|
1174
1174
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).r2m = function (value, completion) {
|
|
1175
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.
|
|
1176
|
-
i.
|
|
1175
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.cfa_1, completion);
|
|
1176
|
+
i.dfa_1 = value;
|
|
1177
1177
|
return i;
|
|
1178
1178
|
};
|
|
1179
1179
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1186,8 +1186,8 @@
|
|
|
1186
1186
|
}
|
|
1187
1187
|
function $collectCOROUTINE$_2(_this__u8e3s4, collector, resultContinuation) {
|
|
1188
1188
|
CoroutineImpl.call(this, resultContinuation);
|
|
1189
|
-
this.
|
|
1190
|
-
this.
|
|
1189
|
+
this.qfa_1 = _this__u8e3s4;
|
|
1190
|
+
this.rfa_1 = collector;
|
|
1191
1191
|
}
|
|
1192
1192
|
protoOf($collectCOROUTINE$_2).q9 = function () {
|
|
1193
1193
|
var suspendResult = this.k9_1;
|
|
@@ -1197,10 +1197,10 @@
|
|
|
1197
1197
|
switch (tmp) {
|
|
1198
1198
|
case 0:
|
|
1199
1199
|
this.j9_1 = 2;
|
|
1200
|
-
var $this$unsafeFlow = this.
|
|
1200
|
+
var $this$unsafeFlow = this.rfa_1;
|
|
1201
1201
|
this.i9_1 = 1;
|
|
1202
1202
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($this$unsafeFlow, null);
|
|
1203
|
-
suspendResult = this.
|
|
1203
|
+
suspendResult = this.qfa_1.sfa_1.t26(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1204
1204
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1205
1205
|
return suspendResult;
|
|
1206
1206
|
}
|
|
@@ -1223,7 +1223,7 @@
|
|
|
1223
1223
|
while (true);
|
|
1224
1224
|
};
|
|
1225
1225
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_1($$this$unsafeFlow, resultContinuation) {
|
|
1226
|
-
this.
|
|
1226
|
+
this.bfb_1 = $$this$unsafeFlow;
|
|
1227
1227
|
CoroutineImpl.call(this, resultContinuation);
|
|
1228
1228
|
}
|
|
1229
1229
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).q2m = function (value, $completion) {
|
|
@@ -1243,8 +1243,8 @@
|
|
|
1243
1243
|
switch (tmp) {
|
|
1244
1244
|
case 0:
|
|
1245
1245
|
this.j9_1 = 2;
|
|
1246
|
-
var tmp0 = this.
|
|
1247
|
-
var value = this.
|
|
1246
|
+
var tmp0 = this.bfb_1;
|
|
1247
|
+
var value = this.cfb_1;
|
|
1248
1248
|
this.i9_1 = 1;
|
|
1249
1249
|
suspendResult = tmp0.w27(to(value.gameInfo.roundNumberTotal, value), this);
|
|
1250
1250
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1269,8 +1269,8 @@
|
|
|
1269
1269
|
while (true);
|
|
1270
1270
|
};
|
|
1271
1271
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).r2m = function (value, completion) {
|
|
1272
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.
|
|
1273
|
-
i.
|
|
1272
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.bfb_1, completion);
|
|
1273
|
+
i.cfb_1 = value;
|
|
1274
1274
|
return i;
|
|
1275
1275
|
};
|
|
1276
1276
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1283,8 +1283,8 @@
|
|
|
1283
1283
|
}
|
|
1284
1284
|
function $collectCOROUTINE$_3(_this__u8e3s4, collector, resultContinuation) {
|
|
1285
1285
|
CoroutineImpl.call(this, resultContinuation);
|
|
1286
|
-
this.
|
|
1287
|
-
this.
|
|
1286
|
+
this.lfb_1 = _this__u8e3s4;
|
|
1287
|
+
this.mfb_1 = collector;
|
|
1288
1288
|
}
|
|
1289
1289
|
protoOf($collectCOROUTINE$_3).q9 = function () {
|
|
1290
1290
|
var suspendResult = this.k9_1;
|
|
@@ -1294,10 +1294,10 @@
|
|
|
1294
1294
|
switch (tmp) {
|
|
1295
1295
|
case 0:
|
|
1296
1296
|
this.j9_1 = 2;
|
|
1297
|
-
var $this$unsafeFlow = this.
|
|
1297
|
+
var $this$unsafeFlow = this.mfb_1;
|
|
1298
1298
|
this.i9_1 = 1;
|
|
1299
1299
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($this$unsafeFlow, null);
|
|
1300
|
-
suspendResult = this.
|
|
1300
|
+
suspendResult = this.lfb_1.nfb_1.t26(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1301
1301
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1302
1302
|
return suspendResult;
|
|
1303
1303
|
}
|
|
@@ -1320,7 +1320,7 @@
|
|
|
1320
1320
|
while (true);
|
|
1321
1321
|
};
|
|
1322
1322
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_3($$this$unsafeFlow, resultContinuation) {
|
|
1323
|
-
this.
|
|
1323
|
+
this.wfb_1 = $$this$unsafeFlow;
|
|
1324
1324
|
CoroutineImpl.call(this, resultContinuation);
|
|
1325
1325
|
}
|
|
1326
1326
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).q2m = function (value, $completion) {
|
|
@@ -1340,8 +1340,8 @@
|
|
|
1340
1340
|
switch (tmp) {
|
|
1341
1341
|
case 0:
|
|
1342
1342
|
this.j9_1 = 2;
|
|
1343
|
-
var tmp0 = this.
|
|
1344
|
-
var value = this.
|
|
1343
|
+
var tmp0 = this.wfb_1;
|
|
1344
|
+
var value = this.xfb_1;
|
|
1345
1345
|
this.i9_1 = 1;
|
|
1346
1346
|
suspendResult = tmp0.w27(value.second, this);
|
|
1347
1347
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1366,8 +1366,8 @@
|
|
|
1366
1366
|
while (true);
|
|
1367
1367
|
};
|
|
1368
1368
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).r2m = function (value, completion) {
|
|
1369
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.
|
|
1370
|
-
i.
|
|
1369
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.wfb_1, completion);
|
|
1370
|
+
i.xfb_1 = value;
|
|
1371
1371
|
return i;
|
|
1372
1372
|
};
|
|
1373
1373
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1380,8 +1380,8 @@
|
|
|
1380
1380
|
}
|
|
1381
1381
|
function $collectCOROUTINE$_4(_this__u8e3s4, collector, resultContinuation) {
|
|
1382
1382
|
CoroutineImpl.call(this, resultContinuation);
|
|
1383
|
-
this.
|
|
1384
|
-
this.
|
|
1383
|
+
this.gfc_1 = _this__u8e3s4;
|
|
1384
|
+
this.hfc_1 = collector;
|
|
1385
1385
|
}
|
|
1386
1386
|
protoOf($collectCOROUTINE$_4).q9 = function () {
|
|
1387
1387
|
var suspendResult = this.k9_1;
|
|
@@ -1391,10 +1391,10 @@
|
|
|
1391
1391
|
switch (tmp) {
|
|
1392
1392
|
case 0:
|
|
1393
1393
|
this.j9_1 = 2;
|
|
1394
|
-
var $this$unsafeFlow = this.
|
|
1394
|
+
var $this$unsafeFlow = this.hfc_1;
|
|
1395
1395
|
this.i9_1 = 1;
|
|
1396
1396
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($this$unsafeFlow, null);
|
|
1397
|
-
suspendResult = this.
|
|
1397
|
+
suspendResult = this.gfc_1.ifc_1.t26(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1398
1398
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1399
1399
|
return suspendResult;
|
|
1400
1400
|
}
|
|
@@ -1417,17 +1417,17 @@
|
|
|
1417
1417
|
while (true);
|
|
1418
1418
|
};
|
|
1419
1419
|
function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
|
|
1420
|
-
this.
|
|
1420
|
+
this.rfc_1 = $subscriber;
|
|
1421
1421
|
CoroutineImpl.call(this, resultContinuation);
|
|
1422
1422
|
}
|
|
1423
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1424
|
-
var tmp = this.
|
|
1423
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).tfc = function (it, $completion) {
|
|
1424
|
+
var tmp = this.ufc(it, $completion);
|
|
1425
1425
|
tmp.k9_1 = Unit_instance;
|
|
1426
1426
|
tmp.l9_1 = null;
|
|
1427
1427
|
return tmp.q9();
|
|
1428
1428
|
};
|
|
1429
1429
|
protoOf(GameServer$subscribeWith$slambda$slambda).ca = function (p1, $completion) {
|
|
1430
|
-
return this.
|
|
1430
|
+
return this.tfc(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
|
|
1431
1431
|
};
|
|
1432
1432
|
protoOf(GameServer$subscribeWith$slambda$slambda).q9 = function () {
|
|
1433
1433
|
var suspendResult = this.k9_1;
|
|
@@ -1436,7 +1436,7 @@
|
|
|
1436
1436
|
var tmp = this.i9_1;
|
|
1437
1437
|
if (tmp === 0) {
|
|
1438
1438
|
this.j9_1 = 1;
|
|
1439
|
-
this.
|
|
1439
|
+
this.rfc_1(this.sfc_1);
|
|
1440
1440
|
return Unit_instance;
|
|
1441
1441
|
} else if (tmp === 1) {
|
|
1442
1442
|
throw this.l9_1;
|
|
@@ -1447,98 +1447,98 @@
|
|
|
1447
1447
|
}
|
|
1448
1448
|
while (true);
|
|
1449
1449
|
};
|
|
1450
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1451
|
-
var i = new GameServer$subscribeWith$slambda$slambda(this.
|
|
1452
|
-
i.
|
|
1450
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).ufc = function (it, completion) {
|
|
1451
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.rfc_1, completion);
|
|
1452
|
+
i.sfc_1 = it;
|
|
1453
1453
|
return i;
|
|
1454
1454
|
};
|
|
1455
1455
|
function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
|
|
1456
1456
|
var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
|
|
1457
1457
|
var l = function (it, $completion) {
|
|
1458
|
-
return i.
|
|
1458
|
+
return i.tfc(it, $completion);
|
|
1459
1459
|
};
|
|
1460
1460
|
l.$arity = 1;
|
|
1461
1461
|
return l;
|
|
1462
1462
|
}
|
|
1463
1463
|
function _get_toClientEventsObserver__6rp51y($this) {
|
|
1464
|
-
var tmp0 = $this.
|
|
1464
|
+
var tmp0 = $this.zfc_1;
|
|
1465
1465
|
var tmp = KProperty1;
|
|
1466
1466
|
// Inline function 'kotlin.getValue' call
|
|
1467
1467
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, GameServer$_get_toClientEventsObserver_$ref_utir8s_0(), null);
|
|
1468
1468
|
return tmp0.o1();
|
|
1469
1469
|
}
|
|
1470
1470
|
function _get_fromClientEventsObserver__a7vzd3($this) {
|
|
1471
|
-
var tmp0 = $this.
|
|
1471
|
+
var tmp0 = $this.afd_1;
|
|
1472
1472
|
var tmp = KProperty1;
|
|
1473
1473
|
// Inline function 'kotlin.getValue' call
|
|
1474
1474
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, GameServer$_get_fromClientEventsObserver_$ref_nf1g79_0(), null);
|
|
1475
1475
|
return tmp0.o1();
|
|
1476
1476
|
}
|
|
1477
1477
|
function _get_playerConnectionInteractor__si6cxf($this) {
|
|
1478
|
-
var tmp0 = $this.
|
|
1478
|
+
var tmp0 = $this.bfd_1;
|
|
1479
1479
|
var tmp = KProperty1;
|
|
1480
1480
|
// Inline function 'kotlin.getValue' call
|
|
1481
1481
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, GameServer$_get_playerConnectionInteractor_$ref_of8tan_0(), null);
|
|
1482
1482
|
return tmp0.o1();
|
|
1483
1483
|
}
|
|
1484
1484
|
function _get_teamsLogicProvider__u10pm6($this) {
|
|
1485
|
-
var tmp0 = $this.
|
|
1485
|
+
var tmp0 = $this.cfd_1;
|
|
1486
1486
|
var tmp = KProperty1;
|
|
1487
1487
|
// Inline function 'kotlin.getValue' call
|
|
1488
1488
|
getPropertyCallableRef('teamsLogicProvider', 1, tmp, GameServer$_get_teamsLogicProvider_$ref_b7y54g_0(), null);
|
|
1489
1489
|
return tmp0.o1();
|
|
1490
1490
|
}
|
|
1491
1491
|
function _get_userRatingInteractor__a09mdy($this) {
|
|
1492
|
-
var tmp0 = $this.
|
|
1492
|
+
var tmp0 = $this.dfd_1;
|
|
1493
1493
|
var tmp = KProperty1;
|
|
1494
1494
|
// Inline function 'kotlin.getValue' call
|
|
1495
1495
|
getPropertyCallableRef('userRatingInteractor', 1, tmp, GameServer$_get_userRatingInteractor_$ref_8uo6aw_0(), null);
|
|
1496
1496
|
return tmp0.o1();
|
|
1497
1497
|
}
|
|
1498
1498
|
function _get_random__h29cgo($this) {
|
|
1499
|
-
var tmp0 = $this.
|
|
1499
|
+
var tmp0 = $this.efd_1;
|
|
1500
1500
|
var tmp = KProperty1;
|
|
1501
1501
|
// Inline function 'kotlin.getValue' call
|
|
1502
1502
|
getPropertyCallableRef('random', 1, tmp, GameServer$_get_random_$ref_fottnq(), null);
|
|
1503
1503
|
return tmp0.o1();
|
|
1504
1504
|
}
|
|
1505
1505
|
function _get_idsProvider__fnfajc($this) {
|
|
1506
|
-
var tmp0 = $this.
|
|
1506
|
+
var tmp0 = $this.ffd_1;
|
|
1507
1507
|
var tmp = KProperty1;
|
|
1508
1508
|
// Inline function 'kotlin.getValue' call
|
|
1509
1509
|
getPropertyCallableRef('idsProvider', 1, tmp, GameServer$_get_idsProvider_$ref_89s908_0(), null);
|
|
1510
1510
|
return tmp0.o1();
|
|
1511
1511
|
}
|
|
1512
1512
|
function _get_serverReduxConfig__rprcrm($this) {
|
|
1513
|
-
var tmp0 = $this.
|
|
1513
|
+
var tmp0 = $this.gfd_1;
|
|
1514
1514
|
var tmp = KProperty1;
|
|
1515
1515
|
// Inline function 'kotlin.getValue' call
|
|
1516
1516
|
getPropertyCallableRef('serverReduxConfig', 1, tmp, GameServer$_get_serverReduxConfig_$ref_7h6jq6_0(), null);
|
|
1517
1517
|
return tmp0.o1();
|
|
1518
1518
|
}
|
|
1519
1519
|
function _get_encoderDecoderProvider__qqgrji($this) {
|
|
1520
|
-
var tmp0 = $this.
|
|
1520
|
+
var tmp0 = $this.hfd_1;
|
|
1521
1521
|
var tmp = KProperty1;
|
|
1522
1522
|
// Inline function 'kotlin.getValue' call
|
|
1523
1523
|
getPropertyCallableRef('encoderDecoderProvider', 1, tmp, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8_0(), null);
|
|
1524
1524
|
return tmp0.o1();
|
|
1525
1525
|
}
|
|
1526
1526
|
function _get_engineLogicConfig__l11qpf($this) {
|
|
1527
|
-
var tmp0 = $this.
|
|
1527
|
+
var tmp0 = $this.ifd_1;
|
|
1528
1528
|
var tmp = KProperty1;
|
|
1529
1529
|
// Inline function 'kotlin.getValue' call
|
|
1530
1530
|
getPropertyCallableRef('engineLogicConfig', 1, tmp, GameServer$_get_engineLogicConfig_$ref_nlkv2l_0(), null);
|
|
1531
1531
|
return tmp0.o1();
|
|
1532
1532
|
}
|
|
1533
1533
|
function _get_leaguesConfig__hvzxf9($this) {
|
|
1534
|
-
var tmp0 = $this.
|
|
1534
|
+
var tmp0 = $this.jfd_1;
|
|
1535
1535
|
var tmp = KProperty1;
|
|
1536
1536
|
// Inline function 'kotlin.getValue' call
|
|
1537
1537
|
getPropertyCallableRef('leaguesConfig', 1, tmp, GameServer$_get_leaguesConfig_$ref_fi951n_0(), null);
|
|
1538
1538
|
return tmp0.o1();
|
|
1539
1539
|
}
|
|
1540
1540
|
function _get_botChatInteractor__17f3on($this) {
|
|
1541
|
-
var tmp0 = $this.
|
|
1541
|
+
var tmp0 = $this.kfd_1;
|
|
1542
1542
|
var tmp = KProperty1;
|
|
1543
1543
|
// Inline function 'kotlin.getValue' call
|
|
1544
1544
|
getPropertyCallableRef('botChatInteractor', 1, tmp, GameServer$_get_botChatInteractor_$ref_zf10ih_0(), null);
|
|
@@ -1574,7 +1574,7 @@
|
|
|
1574
1574
|
var player = getPlayer(table.players, playerId);
|
|
1575
1575
|
var tmp;
|
|
1576
1576
|
if (_get_engineLogicConfig__l11qpf($this).updateRating) {
|
|
1577
|
-
var tmp0_safe_receiver = _get_userRatingInteractor__a09mdy($this).
|
|
1577
|
+
var tmp0_safe_receiver = _get_userRatingInteractor__a09mdy($this).iah(player, table.players, table.config, table.gameDuration, table.isGameFinished, VOID, _get_leaguesConfig__hvzxf9($this));
|
|
1578
1578
|
var tmp_0;
|
|
1579
1579
|
if (tmp0_safe_receiver == null) {
|
|
1580
1580
|
tmp_0 = null;
|
|
@@ -1637,7 +1637,7 @@
|
|
|
1637
1637
|
var tmp$ret$3 = new GameServer$preserveTeams$previousTeams$1(item);
|
|
1638
1638
|
destination.e1(tmp$ret$3);
|
|
1639
1639
|
}
|
|
1640
|
-
var previousTeams = tmp.
|
|
1640
|
+
var previousTeams = tmp.ma8(destination);
|
|
1641
1641
|
// Inline function 'kotlin.collections.filterNot' call
|
|
1642
1642
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
1643
1643
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
@@ -1668,23 +1668,23 @@
|
|
|
1668
1668
|
destination_1.e1(destination_2);
|
|
1669
1669
|
}
|
|
1670
1670
|
var updatedTeams = destination_1;
|
|
1671
|
-
return _get_teamsLogicProvider__u10pm6($this).
|
|
1671
|
+
return _get_teamsLogicProvider__u10pm6($this).na8(updatedTeams);
|
|
1672
1672
|
}
|
|
1673
1673
|
function Companion() {
|
|
1674
|
-
this.
|
|
1674
|
+
this.mfd_1 = 'GameEngine_API';
|
|
1675
1675
|
}
|
|
1676
1676
|
var Companion_instance_10;
|
|
1677
1677
|
function Companion_getInstance_0() {
|
|
1678
1678
|
return Companion_instance_10;
|
|
1679
1679
|
}
|
|
1680
1680
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
1681
|
-
this.
|
|
1681
|
+
this.nfd_1 = function_0;
|
|
1682
1682
|
}
|
|
1683
1683
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).w27 = function (value, $completion) {
|
|
1684
|
-
return this.
|
|
1684
|
+
return this.nfd_1(value, $completion);
|
|
1685
1685
|
};
|
|
1686
1686
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).s3 = function () {
|
|
1687
|
-
return this.
|
|
1687
|
+
return this.nfd_1;
|
|
1688
1688
|
};
|
|
1689
1689
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
1690
1690
|
var tmp;
|
|
@@ -1705,13 +1705,13 @@
|
|
|
1705
1705
|
return hashCode(this.s3());
|
|
1706
1706
|
};
|
|
1707
1707
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
1708
|
-
this.
|
|
1708
|
+
this.ofd_1 = function_0;
|
|
1709
1709
|
}
|
|
1710
1710
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).w27 = function (value, $completion) {
|
|
1711
|
-
return this.
|
|
1711
|
+
return this.ofd_1(value, $completion);
|
|
1712
1712
|
};
|
|
1713
1713
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).s3 = function () {
|
|
1714
|
-
return this.
|
|
1714
|
+
return this.ofd_1;
|
|
1715
1715
|
};
|
|
1716
1716
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
1717
1717
|
var tmp;
|
|
@@ -1732,13 +1732,13 @@
|
|
|
1732
1732
|
return hashCode(this.s3());
|
|
1733
1733
|
};
|
|
1734
1734
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
|
|
1735
|
-
this.
|
|
1735
|
+
this.pfd_1 = function_0;
|
|
1736
1736
|
}
|
|
1737
1737
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).w27 = function (value, $completion) {
|
|
1738
|
-
return this.
|
|
1738
|
+
return this.pfd_1(value, $completion);
|
|
1739
1739
|
};
|
|
1740
1740
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).s3 = function () {
|
|
1741
|
-
return this.
|
|
1741
|
+
return this.pfd_1;
|
|
1742
1742
|
};
|
|
1743
1743
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
|
|
1744
1744
|
var tmp;
|
|
@@ -1759,13 +1759,13 @@
|
|
|
1759
1759
|
return hashCode(this.s3());
|
|
1760
1760
|
};
|
|
1761
1761
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
|
|
1762
|
-
this.
|
|
1762
|
+
this.qfd_1 = function_0;
|
|
1763
1763
|
}
|
|
1764
1764
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).w27 = function (value, $completion) {
|
|
1765
|
-
return this.
|
|
1765
|
+
return this.qfd_1(value, $completion);
|
|
1766
1766
|
};
|
|
1767
1767
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).s3 = function () {
|
|
1768
|
-
return this.
|
|
1768
|
+
return this.qfd_1;
|
|
1769
1769
|
};
|
|
1770
1770
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
|
|
1771
1771
|
var tmp;
|
|
@@ -1786,13 +1786,13 @@
|
|
|
1786
1786
|
return hashCode(this.s3());
|
|
1787
1787
|
};
|
|
1788
1788
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_3(function_0) {
|
|
1789
|
-
this.
|
|
1789
|
+
this.rfd_1 = function_0;
|
|
1790
1790
|
}
|
|
1791
1791
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).w27 = function (value, $completion) {
|
|
1792
|
-
return this.
|
|
1792
|
+
return this.rfd_1(value, $completion);
|
|
1793
1793
|
};
|
|
1794
1794
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).s3 = function () {
|
|
1795
|
-
return this.
|
|
1795
|
+
return this.rfd_1;
|
|
1796
1796
|
};
|
|
1797
1797
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).equals = function (other) {
|
|
1798
1798
|
var tmp;
|
|
@@ -1813,13 +1813,13 @@
|
|
|
1813
1813
|
return hashCode(this.s3());
|
|
1814
1814
|
};
|
|
1815
1815
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_4(function_0) {
|
|
1816
|
-
this.
|
|
1816
|
+
this.sfd_1 = function_0;
|
|
1817
1817
|
}
|
|
1818
1818
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).w27 = function (value, $completion) {
|
|
1819
|
-
return this.
|
|
1819
|
+
return this.sfd_1(value, $completion);
|
|
1820
1820
|
};
|
|
1821
1821
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).s3 = function () {
|
|
1822
|
-
return this.
|
|
1822
|
+
return this.sfd_1;
|
|
1823
1823
|
};
|
|
1824
1824
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).equals = function (other) {
|
|
1825
1825
|
var tmp;
|
|
@@ -1960,8 +1960,8 @@
|
|
|
1960
1960
|
};
|
|
1961
1961
|
}
|
|
1962
1962
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
1963
|
-
this.
|
|
1964
|
-
this.
|
|
1963
|
+
this.bfe_1 = this$0;
|
|
1964
|
+
this.cfe_1 = $subscriber;
|
|
1965
1965
|
CoroutineImpl.call(this, resultContinuation);
|
|
1966
1966
|
}
|
|
1967
1967
|
protoOf(GameServer$subscribeToClientAction$slambda).x2c = function ($this$launchDefault, $completion) {
|
|
@@ -1982,8 +1982,8 @@
|
|
|
1982
1982
|
case 0:
|
|
1983
1983
|
this.j9_1 = 2;
|
|
1984
1984
|
this.i9_1 = 1;
|
|
1985
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
1986
|
-
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.
|
|
1985
|
+
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.bfe_1).mcd();
|
|
1986
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.cfe_1, null);
|
|
1987
1987
|
suspendResult = tmp_0.t26(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
1988
1988
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1989
1989
|
return suspendResult;
|
|
@@ -2007,8 +2007,8 @@
|
|
|
2007
2007
|
while (true);
|
|
2008
2008
|
};
|
|
2009
2009
|
protoOf(GameServer$subscribeToClientAction$slambda).y2c = function ($this$launchDefault, completion) {
|
|
2010
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
2011
|
-
i.
|
|
2010
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.bfe_1, this.cfe_1, completion);
|
|
2011
|
+
i.dfe_1 = $this$launchDefault;
|
|
2012
2012
|
return i;
|
|
2013
2013
|
};
|
|
2014
2014
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -2020,8 +2020,8 @@
|
|
|
2020
2020
|
return l;
|
|
2021
2021
|
}
|
|
2022
2022
|
function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
|
|
2023
|
-
this.
|
|
2024
|
-
this.
|
|
2023
|
+
this.mfe_1 = this$0;
|
|
2024
|
+
this.nfe_1 = $subscriber;
|
|
2025
2025
|
CoroutineImpl.call(this, resultContinuation);
|
|
2026
2026
|
}
|
|
2027
2027
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).x2c = function ($this$launchDefault, $completion) {
|
|
@@ -2042,8 +2042,8 @@
|
|
|
2042
2042
|
case 0:
|
|
2043
2043
|
this.j9_1 = 2;
|
|
2044
2044
|
this.i9_1 = 1;
|
|
2045
|
-
var tmp_0 = observeTableStateUpdates(this.
|
|
2046
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.
|
|
2045
|
+
var tmp_0 = observeTableStateUpdates(this.mfe_1);
|
|
2046
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.nfe_1, null);
|
|
2047
2047
|
suspendResult = tmp_0.t26(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
2048
2048
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2049
2049
|
return suspendResult;
|
|
@@ -2067,8 +2067,8 @@
|
|
|
2067
2067
|
while (true);
|
|
2068
2068
|
};
|
|
2069
2069
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).y2c = function ($this$launchDefault, completion) {
|
|
2070
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda(this.
|
|
2071
|
-
i.
|
|
2070
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda(this.mfe_1, this.nfe_1, completion);
|
|
2071
|
+
i.ofe_1 = $this$launchDefault;
|
|
2072
2072
|
return i;
|
|
2073
2073
|
};
|
|
2074
2074
|
function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -2080,8 +2080,8 @@
|
|
|
2080
2080
|
return l;
|
|
2081
2081
|
}
|
|
2082
2082
|
function GameServer$subscribeServerStateUpdateJson$slambda(this$0, $subscriber, resultContinuation) {
|
|
2083
|
-
this.
|
|
2084
|
-
this.
|
|
2083
|
+
this.xfe_1 = this$0;
|
|
2084
|
+
this.yfe_1 = $subscriber;
|
|
2085
2085
|
CoroutineImpl.call(this, resultContinuation);
|
|
2086
2086
|
}
|
|
2087
2087
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).x2c = function ($this$launchDefault, $completion) {
|
|
@@ -2102,9 +2102,9 @@
|
|
|
2102
2102
|
case 0:
|
|
2103
2103
|
this.j9_1 = 2;
|
|
2104
2104
|
this.i9_1 = 1;
|
|
2105
|
-
var this_0 = observeTableStateUpdates(this.
|
|
2106
|
-
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.
|
|
2107
|
-
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.
|
|
2105
|
+
var this_0 = observeTableStateUpdates(this.xfe_1);
|
|
2106
|
+
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.xfe_1);
|
|
2107
|
+
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.yfe_1, null);
|
|
2108
2108
|
suspendResult = tmp_0.t26(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
2109
2109
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2110
2110
|
return suspendResult;
|
|
@@ -2128,8 +2128,8 @@
|
|
|
2128
2128
|
while (true);
|
|
2129
2129
|
};
|
|
2130
2130
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).y2c = function ($this$launchDefault, completion) {
|
|
2131
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.
|
|
2132
|
-
i.
|
|
2131
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.xfe_1, this.yfe_1, completion);
|
|
2132
|
+
i.zfe_1 = $this$launchDefault;
|
|
2133
2133
|
return i;
|
|
2134
2134
|
};
|
|
2135
2135
|
function GameServer$subscribeServerStateUpdateJson$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -2141,8 +2141,8 @@
|
|
|
2141
2141
|
return l;
|
|
2142
2142
|
}
|
|
2143
2143
|
function GameServer$getServerTableState$slambda(this$0, $callback, resultContinuation) {
|
|
2144
|
-
this.
|
|
2145
|
-
this.
|
|
2144
|
+
this.iff_1 = this$0;
|
|
2145
|
+
this.jff_1 = $callback;
|
|
2146
2146
|
CoroutineImpl.call(this, resultContinuation);
|
|
2147
2147
|
}
|
|
2148
2148
|
protoOf(GameServer$getServerTableState$slambda).x2c = function ($this$launchDefault, $completion) {
|
|
@@ -2161,11 +2161,11 @@
|
|
|
2161
2161
|
var tmp = this.i9_1;
|
|
2162
2162
|
if (tmp === 0) {
|
|
2163
2163
|
this.j9_1 = 1;
|
|
2164
|
-
if (!this.
|
|
2164
|
+
if (!this.iff_1.isTableExists) {
|
|
2165
2165
|
return Unit_instance;
|
|
2166
2166
|
}
|
|
2167
|
-
var dto = mapToDto_2(new TableStateUpdate(this.
|
|
2168
|
-
this.
|
|
2167
|
+
var dto = mapToDto_2(new TableStateUpdate(this.iff_1.table.id, this.iff_1.table), _get_encoderDecoderProvider__qqgrji(this.iff_1));
|
|
2168
|
+
this.jff_1(dto);
|
|
2169
2169
|
return Unit_instance;
|
|
2170
2170
|
} else if (tmp === 1) {
|
|
2171
2171
|
throw this.l9_1;
|
|
@@ -2177,8 +2177,8 @@
|
|
|
2177
2177
|
while (true);
|
|
2178
2178
|
};
|
|
2179
2179
|
protoOf(GameServer$getServerTableState$slambda).y2c = function ($this$launchDefault, completion) {
|
|
2180
|
-
var i = new GameServer$getServerTableState$slambda(this.
|
|
2181
|
-
i.
|
|
2180
|
+
var i = new GameServer$getServerTableState$slambda(this.iff_1, this.jff_1, completion);
|
|
2181
|
+
i.kff_1 = $this$launchDefault;
|
|
2182
2182
|
return i;
|
|
2183
2183
|
};
|
|
2184
2184
|
function GameServer$getServerTableState$slambda_0(this$0, $callback, resultContinuation) {
|
|
@@ -2190,18 +2190,18 @@
|
|
|
2190
2190
|
return l;
|
|
2191
2191
|
}
|
|
2192
2192
|
function GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation) {
|
|
2193
|
-
this.
|
|
2193
|
+
this.tff_1 = this$0;
|
|
2194
2194
|
CoroutineImpl.call(this, resultContinuation);
|
|
2195
2195
|
}
|
|
2196
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
2197
|
-
var tmp = this.
|
|
2196
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).zdm = function ($this$transformLatest, it, $completion) {
|
|
2197
|
+
var tmp = this.adn($this$transformLatest, it, $completion);
|
|
2198
2198
|
tmp.k9_1 = Unit_instance;
|
|
2199
2199
|
tmp.l9_1 = null;
|
|
2200
2200
|
return tmp.q9();
|
|
2201
2201
|
};
|
|
2202
2202
|
protoOf(GameServer$observeTableStateUpdates$slambda).da = function (p1, p2, $completion) {
|
|
2203
2203
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
2204
|
-
return this.
|
|
2204
|
+
return this.zdm(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
2205
2205
|
};
|
|
2206
2206
|
protoOf(GameServer$observeTableStateUpdates$slambda).q9 = function () {
|
|
2207
2207
|
var suspendResult = this.k9_1;
|
|
@@ -2212,8 +2212,8 @@
|
|
|
2212
2212
|
case 0:
|
|
2213
2213
|
this.j9_1 = 2;
|
|
2214
2214
|
this.i9_1 = 1;
|
|
2215
|
-
var table = this.
|
|
2216
|
-
suspendResult = emitAll(this.
|
|
2215
|
+
var table = this.vff_1;
|
|
2216
|
+
suspendResult = emitAll(this.uff_1, flow(GameServer$observeTableStateUpdates$slambda$slambda_0(table, this.tff_1, null)), this);
|
|
2217
2217
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2218
2218
|
return suspendResult;
|
|
2219
2219
|
}
|
|
@@ -2235,23 +2235,23 @@
|
|
|
2235
2235
|
}
|
|
2236
2236
|
while (true);
|
|
2237
2237
|
};
|
|
2238
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
2239
|
-
var i = new GameServer$observeTableStateUpdates$slambda(this.
|
|
2240
|
-
i.
|
|
2241
|
-
i.
|
|
2238
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).adn = function ($this$transformLatest, it, completion) {
|
|
2239
|
+
var i = new GameServer$observeTableStateUpdates$slambda(this.tff_1, completion);
|
|
2240
|
+
i.uff_1 = $this$transformLatest;
|
|
2241
|
+
i.vff_1 = it;
|
|
2242
2242
|
return i;
|
|
2243
2243
|
};
|
|
2244
2244
|
function GameServer$observeTableStateUpdates$slambda_0(this$0, resultContinuation) {
|
|
2245
2245
|
var i = new GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation);
|
|
2246
2246
|
var l = function ($this$transformLatest, it, $completion) {
|
|
2247
|
-
return i.
|
|
2247
|
+
return i.zdm($this$transformLatest, it, $completion);
|
|
2248
2248
|
};
|
|
2249
2249
|
l.$arity = 2;
|
|
2250
2250
|
return l;
|
|
2251
2251
|
}
|
|
2252
2252
|
function GameServer$observeTableStateUpdates$$inlined$mapNotNull$1($this, this$0) {
|
|
2253
|
-
this.
|
|
2254
|
-
this.
|
|
2253
|
+
this.sf9_1 = $this;
|
|
2254
|
+
this.tf9_1 = this$0;
|
|
2255
2255
|
}
|
|
2256
2256
|
protoOf(GameServer$observeTableStateUpdates$$inlined$mapNotNull$1).x27 = function (collector, $completion) {
|
|
2257
2257
|
var tmp = new $collectCOROUTINE$_1(this, collector, $completion);
|
|
@@ -2263,7 +2263,7 @@
|
|
|
2263
2263
|
return this.x27(collector, $completion);
|
|
2264
2264
|
};
|
|
2265
2265
|
function GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1($this) {
|
|
2266
|
-
this.
|
|
2266
|
+
this.sfa_1 = $this;
|
|
2267
2267
|
}
|
|
2268
2268
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1).x27 = function (collector, $completion) {
|
|
2269
2269
|
var tmp = new $collectCOROUTINE$_2(this, collector, $completion);
|
|
@@ -2275,7 +2275,7 @@
|
|
|
2275
2275
|
return this.x27(collector, $completion);
|
|
2276
2276
|
};
|
|
2277
2277
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$1($this) {
|
|
2278
|
-
this.
|
|
2278
|
+
this.nfb_1 = $this;
|
|
2279
2279
|
}
|
|
2280
2280
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$1).x27 = function (collector, $completion) {
|
|
2281
2281
|
var tmp = new $collectCOROUTINE$_3(this, collector, $completion);
|
|
@@ -2290,7 +2290,7 @@
|
|
|
2290
2290
|
return old.first === new_0.first;
|
|
2291
2291
|
}
|
|
2292
2292
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$2($this) {
|
|
2293
|
-
this.
|
|
2293
|
+
this.ifc_1 = $this;
|
|
2294
2294
|
}
|
|
2295
2295
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$2).x27 = function (collector, $completion) {
|
|
2296
2296
|
var tmp = new $collectCOROUTINE$_4(this, collector, $completion);
|
|
@@ -2302,8 +2302,8 @@
|
|
|
2302
2302
|
return this.x27(collector, $completion);
|
|
2303
2303
|
};
|
|
2304
2304
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
2305
|
-
this.
|
|
2306
|
-
this.
|
|
2305
|
+
this.efg_1 = this$0;
|
|
2306
|
+
this.ffg_1 = $subscriber;
|
|
2307
2307
|
CoroutineImpl.call(this, resultContinuation);
|
|
2308
2308
|
}
|
|
2309
2309
|
protoOf(GameServer$subscribeWith$slambda).x2c = function ($this$launchDefault, $completion) {
|
|
@@ -2324,8 +2324,8 @@
|
|
|
2324
2324
|
case 0:
|
|
2325
2325
|
this.j9_1 = 2;
|
|
2326
2326
|
this.i9_1 = 1;
|
|
2327
|
-
var tmp_0 = distinctUntilChanged(this.
|
|
2328
|
-
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.
|
|
2327
|
+
var tmp_0 = distinctUntilChanged(this.efg_1.r7u());
|
|
2328
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.ffg_1, null);
|
|
2329
2329
|
suspendResult = tmp_0.t26(new sam$kotlinx_coroutines_flow_FlowCollector$0_4(tmp_1), this);
|
|
2330
2330
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2331
2331
|
return suspendResult;
|
|
@@ -2349,8 +2349,8 @@
|
|
|
2349
2349
|
while (true);
|
|
2350
2350
|
};
|
|
2351
2351
|
protoOf(GameServer$subscribeWith$slambda).y2c = function ($this$launchDefault, completion) {
|
|
2352
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
2353
|
-
i.
|
|
2352
|
+
var i = new GameServer$subscribeWith$slambda(this.efg_1, this.ffg_1, completion);
|
|
2353
|
+
i.gfg_1 = $this$launchDefault;
|
|
2354
2354
|
return i;
|
|
2355
2355
|
};
|
|
2356
2356
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -2362,18 +2362,18 @@
|
|
|
2362
2362
|
return l;
|
|
2363
2363
|
}
|
|
2364
2364
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
2365
|
-
this.
|
|
2365
|
+
this.pfg_1 = $action;
|
|
2366
2366
|
CoroutineImpl.call(this, resultContinuation);
|
|
2367
2367
|
}
|
|
2368
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
2369
|
-
var tmp = this.
|
|
2368
|
+
protoOf(GameServer$fromClientEvent$slambda).ocv = function ($this$dispatchAsync, store, $completion) {
|
|
2369
|
+
var tmp = this.pcv($this$dispatchAsync, store, $completion);
|
|
2370
2370
|
tmp.k9_1 = Unit_instance;
|
|
2371
2371
|
tmp.l9_1 = null;
|
|
2372
2372
|
return tmp.q9();
|
|
2373
2373
|
};
|
|
2374
2374
|
protoOf(GameServer$fromClientEvent$slambda).da = function (p1, p2, $completion) {
|
|
2375
2375
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2376
|
-
return this.
|
|
2376
|
+
return this.ocv(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2377
2377
|
};
|
|
2378
2378
|
protoOf(GameServer$fromClientEvent$slambda).q9 = function () {
|
|
2379
2379
|
var suspendResult = this.k9_1;
|
|
@@ -2382,11 +2382,11 @@
|
|
|
2382
2382
|
var tmp = this.i9_1;
|
|
2383
2383
|
if (tmp === 0) {
|
|
2384
2384
|
this.j9_1 = 1;
|
|
2385
|
-
if (this.
|
|
2386
|
-
if (!get_isCreated(this.
|
|
2385
|
+
if (this.pfg_1 instanceof PlayerReadyFromClientAction)
|
|
2386
|
+
if (!get_isCreated(this.rfg_1.state)) {
|
|
2387
2387
|
return Unit_instance;
|
|
2388
2388
|
}
|
|
2389
|
-
this.
|
|
2389
|
+
this.rfg_1.dispatch(this.pfg_1);
|
|
2390
2390
|
return Unit_instance;
|
|
2391
2391
|
} else if (tmp === 1) {
|
|
2392
2392
|
throw this.l9_1;
|
|
@@ -2397,34 +2397,34 @@
|
|
|
2397
2397
|
}
|
|
2398
2398
|
while (true);
|
|
2399
2399
|
};
|
|
2400
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
2401
|
-
var i = new GameServer$fromClientEvent$slambda(this.
|
|
2402
|
-
i.
|
|
2403
|
-
i.
|
|
2400
|
+
protoOf(GameServer$fromClientEvent$slambda).pcv = function ($this$dispatchAsync, store, completion) {
|
|
2401
|
+
var i = new GameServer$fromClientEvent$slambda(this.pfg_1, completion);
|
|
2402
|
+
i.qfg_1 = $this$dispatchAsync;
|
|
2403
|
+
i.rfg_1 = store;
|
|
2404
2404
|
return i;
|
|
2405
2405
|
};
|
|
2406
2406
|
function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
|
|
2407
2407
|
var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
|
|
2408
2408
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2409
|
-
return i.
|
|
2409
|
+
return i.ocv($this$dispatchAsync, store, $completion);
|
|
2410
2410
|
};
|
|
2411
2411
|
l.$arity = 2;
|
|
2412
2412
|
return l;
|
|
2413
2413
|
}
|
|
2414
2414
|
function GameServer$playerLostConnection$slambda($playerId, $roomId, resultContinuation) {
|
|
2415
|
-
this.
|
|
2416
|
-
this.
|
|
2415
|
+
this.afh_1 = $playerId;
|
|
2416
|
+
this.bfh_1 = $roomId;
|
|
2417
2417
|
CoroutineImpl.call(this, resultContinuation);
|
|
2418
2418
|
}
|
|
2419
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2420
|
-
var tmp = this.
|
|
2419
|
+
protoOf(GameServer$playerLostConnection$slambda).ocv = function ($this$dispatchAsync, store, $completion) {
|
|
2420
|
+
var tmp = this.pcv($this$dispatchAsync, store, $completion);
|
|
2421
2421
|
tmp.k9_1 = Unit_instance;
|
|
2422
2422
|
tmp.l9_1 = null;
|
|
2423
2423
|
return tmp.q9();
|
|
2424
2424
|
};
|
|
2425
2425
|
protoOf(GameServer$playerLostConnection$slambda).da = function (p1, p2, $completion) {
|
|
2426
2426
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2427
|
-
return this.
|
|
2427
|
+
return this.ocv(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2428
2428
|
};
|
|
2429
2429
|
protoOf(GameServer$playerLostConnection$slambda).q9 = function () {
|
|
2430
2430
|
var suspendResult = this.k9_1;
|
|
@@ -2433,12 +2433,12 @@
|
|
|
2433
2433
|
var tmp = this.i9_1;
|
|
2434
2434
|
if (tmp === 0) {
|
|
2435
2435
|
this.j9_1 = 1;
|
|
2436
|
-
if (!get_isCreated(this.
|
|
2436
|
+
if (!get_isCreated(this.dfh_1.state)) {
|
|
2437
2437
|
return Unit_instance;
|
|
2438
2438
|
}
|
|
2439
|
-
var tmp_0 = this.
|
|
2439
|
+
var tmp_0 = this.dfh_1.dispatch;
|
|
2440
2440
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
2441
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2441
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.afh_1, this.bfh_1));
|
|
2442
2442
|
return Unit_instance;
|
|
2443
2443
|
} else if (tmp === 1) {
|
|
2444
2444
|
throw this.l9_1;
|
|
@@ -2449,35 +2449,35 @@
|
|
|
2449
2449
|
}
|
|
2450
2450
|
while (true);
|
|
2451
2451
|
};
|
|
2452
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2453
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
2454
|
-
i.
|
|
2455
|
-
i.
|
|
2452
|
+
protoOf(GameServer$playerLostConnection$slambda).pcv = function ($this$dispatchAsync, store, completion) {
|
|
2453
|
+
var i = new GameServer$playerLostConnection$slambda(this.afh_1, this.bfh_1, completion);
|
|
2454
|
+
i.cfh_1 = $this$dispatchAsync;
|
|
2455
|
+
i.dfh_1 = store;
|
|
2456
2456
|
return i;
|
|
2457
2457
|
};
|
|
2458
2458
|
function GameServer$playerLostConnection$slambda_0($playerId, $roomId, resultContinuation) {
|
|
2459
2459
|
var i = new GameServer$playerLostConnection$slambda($playerId, $roomId, resultContinuation);
|
|
2460
2460
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2461
|
-
return i.
|
|
2461
|
+
return i.ocv($this$dispatchAsync, store, $completion);
|
|
2462
2462
|
};
|
|
2463
2463
|
l.$arity = 2;
|
|
2464
2464
|
return l;
|
|
2465
2465
|
}
|
|
2466
2466
|
function GameServer$playerLive$slambda(this$0, $playerId, $roomId, resultContinuation) {
|
|
2467
|
-
this.
|
|
2468
|
-
this.
|
|
2469
|
-
this.
|
|
2467
|
+
this.mfh_1 = this$0;
|
|
2468
|
+
this.nfh_1 = $playerId;
|
|
2469
|
+
this.ofh_1 = $roomId;
|
|
2470
2470
|
CoroutineImpl.call(this, resultContinuation);
|
|
2471
2471
|
}
|
|
2472
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2473
|
-
var tmp = this.
|
|
2472
|
+
protoOf(GameServer$playerLive$slambda).ocv = function ($this$dispatchAsync, store, $completion) {
|
|
2473
|
+
var tmp = this.pcv($this$dispatchAsync, store, $completion);
|
|
2474
2474
|
tmp.k9_1 = Unit_instance;
|
|
2475
2475
|
tmp.l9_1 = null;
|
|
2476
2476
|
return tmp.q9();
|
|
2477
2477
|
};
|
|
2478
2478
|
protoOf(GameServer$playerLive$slambda).da = function (p1, p2, $completion) {
|
|
2479
2479
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2480
|
-
return this.
|
|
2480
|
+
return this.ocv(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2481
2481
|
};
|
|
2482
2482
|
protoOf(GameServer$playerLive$slambda).q9 = function () {
|
|
2483
2483
|
var suspendResult = this.k9_1;
|
|
@@ -2486,16 +2486,16 @@
|
|
|
2486
2486
|
var tmp = this.i9_1;
|
|
2487
2487
|
if (tmp === 0) {
|
|
2488
2488
|
this.j9_1 = 1;
|
|
2489
|
-
if (get_isFinished(this.
|
|
2489
|
+
if (get_isFinished(this.qfh_1.state) || get_isFinishing(this.qfh_1.state)) {
|
|
2490
2490
|
return Unit_instance;
|
|
2491
2491
|
}
|
|
2492
|
-
if (!_get_serverReduxConfig__rprcrm(this.
|
|
2493
|
-
this.
|
|
2492
|
+
if (!_get_serverReduxConfig__rprcrm(this.mfh_1).waitForPlayerToConnectOnStart && (!get_isCreated(this.qfh_1.state) || !this.mfh_1.c78().u7v())) {
|
|
2493
|
+
this.mfh_1.t5r().v('GameEngine_API', 'playerLive: ' + this.nfh_1 + ' before game is created');
|
|
2494
2494
|
return Unit_instance;
|
|
2495
2495
|
}
|
|
2496
|
-
var tmp_0 = this.
|
|
2496
|
+
var tmp_0 = this.qfh_1.dispatch;
|
|
2497
2497
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2498
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2498
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.nfh_1, this.ofh_1));
|
|
2499
2499
|
return Unit_instance;
|
|
2500
2500
|
} else if (tmp === 1) {
|
|
2501
2501
|
throw this.l9_1;
|
|
@@ -2506,36 +2506,36 @@
|
|
|
2506
2506
|
}
|
|
2507
2507
|
while (true);
|
|
2508
2508
|
};
|
|
2509
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2510
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
2511
|
-
i.
|
|
2512
|
-
i.
|
|
2509
|
+
protoOf(GameServer$playerLive$slambda).pcv = function ($this$dispatchAsync, store, completion) {
|
|
2510
|
+
var i = new GameServer$playerLive$slambda(this.mfh_1, this.nfh_1, this.ofh_1, completion);
|
|
2511
|
+
i.pfh_1 = $this$dispatchAsync;
|
|
2512
|
+
i.qfh_1 = store;
|
|
2513
2513
|
return i;
|
|
2514
2514
|
};
|
|
2515
2515
|
function GameServer$playerLive$slambda_0(this$0, $playerId, $roomId, resultContinuation) {
|
|
2516
2516
|
var i = new GameServer$playerLive$slambda(this$0, $playerId, $roomId, resultContinuation);
|
|
2517
2517
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2518
|
-
return i.
|
|
2518
|
+
return i.ocv($this$dispatchAsync, store, $completion);
|
|
2519
2519
|
};
|
|
2520
2520
|
l.$arity = 2;
|
|
2521
2521
|
return l;
|
|
2522
2522
|
}
|
|
2523
2523
|
function GameServer$playerLeft$slambda(this$0, $playerId, $permanently, $roomId, resultContinuation) {
|
|
2524
|
-
this.
|
|
2525
|
-
this.
|
|
2526
|
-
this.
|
|
2527
|
-
this.
|
|
2524
|
+
this.zfh_1 = this$0;
|
|
2525
|
+
this.afi_1 = $playerId;
|
|
2526
|
+
this.bfi_1 = $permanently;
|
|
2527
|
+
this.cfi_1 = $roomId;
|
|
2528
2528
|
CoroutineImpl.call(this, resultContinuation);
|
|
2529
2529
|
}
|
|
2530
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2531
|
-
var tmp = this.
|
|
2530
|
+
protoOf(GameServer$playerLeft$slambda).ocv = function ($this$dispatchAsync, store, $completion) {
|
|
2531
|
+
var tmp = this.pcv($this$dispatchAsync, store, $completion);
|
|
2532
2532
|
tmp.k9_1 = Unit_instance;
|
|
2533
2533
|
tmp.l9_1 = null;
|
|
2534
2534
|
return tmp.q9();
|
|
2535
2535
|
};
|
|
2536
2536
|
protoOf(GameServer$playerLeft$slambda).da = function (p1, p2, $completion) {
|
|
2537
2537
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2538
|
-
return this.
|
|
2538
|
+
return this.ocv(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2539
2539
|
};
|
|
2540
2540
|
protoOf(GameServer$playerLeft$slambda).q9 = function () {
|
|
2541
2541
|
var suspendResult = this.k9_1;
|
|
@@ -2544,22 +2544,22 @@
|
|
|
2544
2544
|
var tmp = this.i9_1;
|
|
2545
2545
|
if (tmp === 0) {
|
|
2546
2546
|
this.j9_1 = 1;
|
|
2547
|
-
if (get_isFinished(this.
|
|
2547
|
+
if (get_isFinished(this.efi_1.state) || get_isFinishing(this.efi_1.state)) {
|
|
2548
2548
|
return Unit_instance;
|
|
2549
2549
|
}
|
|
2550
|
-
if (!get_isCreated(this.
|
|
2551
|
-
this.
|
|
2550
|
+
if (!get_isCreated(this.efi_1.state) || !this.zfh_1.c78().u7v()) {
|
|
2551
|
+
this.zfh_1.t5r().w('GameEngine_API', 'playerLeft: ' + this.afi_1 + ' before game is created');
|
|
2552
2552
|
return Unit_instance;
|
|
2553
2553
|
}
|
|
2554
|
-
var tmp_0 = this.
|
|
2554
|
+
var tmp_0 = this.efi_1.dispatch;
|
|
2555
2555
|
var tmp_1;
|
|
2556
|
-
if (this.
|
|
2556
|
+
if (this.bfi_1) {
|
|
2557
2557
|
tmp_1 = PlayerConnectionState_LEFT_PERMANENTLY_getInstance();
|
|
2558
2558
|
} else {
|
|
2559
2559
|
tmp_1 = PlayerConnectionState_LEFT_getInstance();
|
|
2560
2560
|
}
|
|
2561
2561
|
var tmp0_connectionState = tmp_1;
|
|
2562
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2562
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.afi_1, this.cfi_1));
|
|
2563
2563
|
return Unit_instance;
|
|
2564
2564
|
} else if (tmp === 1) {
|
|
2565
2565
|
throw this.l9_1;
|
|
@@ -2570,39 +2570,39 @@
|
|
|
2570
2570
|
}
|
|
2571
2571
|
while (true);
|
|
2572
2572
|
};
|
|
2573
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2574
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
2575
|
-
i.
|
|
2576
|
-
i.
|
|
2573
|
+
protoOf(GameServer$playerLeft$slambda).pcv = function ($this$dispatchAsync, store, completion) {
|
|
2574
|
+
var i = new GameServer$playerLeft$slambda(this.zfh_1, this.afi_1, this.bfi_1, this.cfi_1, completion);
|
|
2575
|
+
i.dfi_1 = $this$dispatchAsync;
|
|
2576
|
+
i.efi_1 = store;
|
|
2577
2577
|
return i;
|
|
2578
2578
|
};
|
|
2579
2579
|
function GameServer$playerLeft$slambda_0(this$0, $playerId, $permanently, $roomId, resultContinuation) {
|
|
2580
2580
|
var i = new GameServer$playerLeft$slambda(this$0, $playerId, $permanently, $roomId, resultContinuation);
|
|
2581
2581
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2582
|
-
return i.
|
|
2582
|
+
return i.ocv($this$dispatchAsync, store, $completion);
|
|
2583
2583
|
};
|
|
2584
2584
|
l.$arity = 2;
|
|
2585
2585
|
return l;
|
|
2586
2586
|
}
|
|
2587
2587
|
function GameServer$roomOnCreate$slambda($usersArray, this$0, $config, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2588
|
-
this.
|
|
2589
|
-
this.
|
|
2590
|
-
this.
|
|
2591
|
-
this.
|
|
2592
|
-
this.
|
|
2593
|
-
this.
|
|
2594
|
-
this.
|
|
2588
|
+
this.nfi_1 = $usersArray;
|
|
2589
|
+
this.ofi_1 = this$0;
|
|
2590
|
+
this.pfi_1 = $config;
|
|
2591
|
+
this.qfi_1 = $roomId;
|
|
2592
|
+
this.rfi_1 = $transition;
|
|
2593
|
+
this.sfi_1 = $gameCreatorId;
|
|
2594
|
+
this.tfi_1 = $spectators;
|
|
2595
2595
|
CoroutineImpl.call(this, resultContinuation);
|
|
2596
2596
|
}
|
|
2597
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2598
|
-
var tmp = this.
|
|
2597
|
+
protoOf(GameServer$roomOnCreate$slambda).ocv = function ($this$dispatchAsync, store, $completion) {
|
|
2598
|
+
var tmp = this.pcv($this$dispatchAsync, store, $completion);
|
|
2599
2599
|
tmp.k9_1 = Unit_instance;
|
|
2600
2600
|
tmp.l9_1 = null;
|
|
2601
2601
|
return tmp.q9();
|
|
2602
2602
|
};
|
|
2603
2603
|
protoOf(GameServer$roomOnCreate$slambda).da = function (p1, p2, $completion) {
|
|
2604
2604
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2605
|
-
return this.
|
|
2605
|
+
return this.ocv(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2606
2606
|
};
|
|
2607
2607
|
protoOf(GameServer$roomOnCreate$slambda).q9 = function () {
|
|
2608
2608
|
var suspendResult = this.k9_1;
|
|
@@ -2611,18 +2611,18 @@
|
|
|
2611
2611
|
var tmp = this.i9_1;
|
|
2612
2612
|
if (tmp === 0) {
|
|
2613
2613
|
this.j9_1 = 1;
|
|
2614
|
-
var users = toList(this.
|
|
2615
|
-
if (!validatePlayerCount(this.
|
|
2616
|
-
this.
|
|
2614
|
+
var users = toList(this.nfi_1);
|
|
2615
|
+
if (!validatePlayerCount(this.ofi_1, this.pfi_1, users, this.qfi_1)) {
|
|
2616
|
+
this.vfi_1.dispatch(Companion_instance.fromTableWithAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.ofi_1.table.isGameFinished, this.ofi_1.table));
|
|
2617
2617
|
return Unit_instance;
|
|
2618
2618
|
}
|
|
2619
|
-
var orderedUsers = orderUsers(this.
|
|
2620
|
-
var gameCreatorUser = getPlayer(users, this.
|
|
2621
|
-
var tmp_0 = this.
|
|
2619
|
+
var orderedUsers = orderUsers(this.ofi_1, users, this.pfi_1, this.rfi_1);
|
|
2620
|
+
var gameCreatorUser = getPlayer(users, this.sfi_1);
|
|
2621
|
+
var tmp_0 = this.vfi_1.dispatch;
|
|
2622
2622
|
var tmp0_version = get_versionOrDefault(GameEngineConfig_instance);
|
|
2623
2623
|
var tmp1_users = sortWithItem(orderedUsers, gameCreatorUser);
|
|
2624
|
-
var tmp2_spectators = toList(this.
|
|
2625
|
-
tmp_0(new StartGameMechanicAction(this.
|
|
2624
|
+
var tmp2_spectators = toList(this.tfi_1);
|
|
2625
|
+
tmp_0(new StartGameMechanicAction(this.pfi_1, this.qfi_1, tmp0_version, this.sfi_1, tmp1_users, VOID, tmp2_spectators));
|
|
2626
2626
|
return Unit_instance;
|
|
2627
2627
|
} else if (tmp === 1) {
|
|
2628
2628
|
throw this.l9_1;
|
|
@@ -2633,39 +2633,39 @@
|
|
|
2633
2633
|
}
|
|
2634
2634
|
while (true);
|
|
2635
2635
|
};
|
|
2636
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2637
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
2638
|
-
i.
|
|
2639
|
-
i.
|
|
2636
|
+
protoOf(GameServer$roomOnCreate$slambda).pcv = function ($this$dispatchAsync, store, completion) {
|
|
2637
|
+
var i = new GameServer$roomOnCreate$slambda(this.nfi_1, this.ofi_1, this.pfi_1, this.qfi_1, this.rfi_1, this.sfi_1, this.tfi_1, completion);
|
|
2638
|
+
i.ufi_1 = $this$dispatchAsync;
|
|
2639
|
+
i.vfi_1 = store;
|
|
2640
2640
|
return i;
|
|
2641
2641
|
};
|
|
2642
2642
|
function GameServer$roomOnCreate$slambda_0($usersArray, this$0, $config, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2643
2643
|
var i = new GameServer$roomOnCreate$slambda($usersArray, this$0, $config, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation);
|
|
2644
2644
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2645
|
-
return i.
|
|
2645
|
+
return i.ocv($this$dispatchAsync, store, $completion);
|
|
2646
2646
|
};
|
|
2647
2647
|
l.$arity = 2;
|
|
2648
2648
|
return l;
|
|
2649
2649
|
}
|
|
2650
2650
|
function GameServer$preserveTeams$previousTeams$1($playerId) {
|
|
2651
|
-
this.
|
|
2651
|
+
this.wfi_1 = $playerId;
|
|
2652
2652
|
}
|
|
2653
2653
|
protoOf(GameServer$preserveTeams$previousTeams$1).d77 = function () {
|
|
2654
|
-
return this.
|
|
2654
|
+
return this.wfi_1;
|
|
2655
2655
|
};
|
|
2656
2656
|
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
2657
|
-
this.
|
|
2657
|
+
this.ffj_1 = $state;
|
|
2658
2658
|
CoroutineImpl.call(this, resultContinuation);
|
|
2659
2659
|
}
|
|
2660
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2661
|
-
var tmp = this.
|
|
2660
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).ifj = function ($this$dispatchAwait, store, $completion) {
|
|
2661
|
+
var tmp = this.pcv($this$dispatchAwait, store, $completion);
|
|
2662
2662
|
tmp.k9_1 = Unit_instance;
|
|
2663
2663
|
tmp.l9_1 = null;
|
|
2664
2664
|
return tmp.q9();
|
|
2665
2665
|
};
|
|
2666
2666
|
protoOf(GameServer$roomOnContinueFromState$slambda).da = function (p1, p2, $completion) {
|
|
2667
2667
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2668
|
-
return this.
|
|
2668
|
+
return this.ifj(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2669
2669
|
};
|
|
2670
2670
|
protoOf(GameServer$roomOnContinueFromState$slambda).q9 = function () {
|
|
2671
2671
|
var suspendResult = this.k9_1;
|
|
@@ -2674,10 +2674,10 @@
|
|
|
2674
2674
|
var tmp = this.i9_1;
|
|
2675
2675
|
if (tmp === 0) {
|
|
2676
2676
|
this.j9_1 = 1;
|
|
2677
|
-
if (get_isCreating(this.
|
|
2678
|
-
var tmp_0 = this.
|
|
2677
|
+
if (get_isCreating(this.hfj_1.state)) {
|
|
2678
|
+
var tmp_0 = this.hfj_1.dispatch;
|
|
2679
2679
|
var tmp0_reason = new RestartRoundReason(null);
|
|
2680
|
-
var tmp1_table = this.
|
|
2680
|
+
var tmp1_table = this.ffj_1.table;
|
|
2681
2681
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2682
2682
|
return true;
|
|
2683
2683
|
}
|
|
@@ -2691,34 +2691,34 @@
|
|
|
2691
2691
|
}
|
|
2692
2692
|
while (true);
|
|
2693
2693
|
};
|
|
2694
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2695
|
-
var i = new GameServer$roomOnContinueFromState$slambda(this.
|
|
2696
|
-
i.
|
|
2697
|
-
i.
|
|
2694
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).pcv = function ($this$dispatchAwait, store, completion) {
|
|
2695
|
+
var i = new GameServer$roomOnContinueFromState$slambda(this.ffj_1, completion);
|
|
2696
|
+
i.gfj_1 = $this$dispatchAwait;
|
|
2697
|
+
i.hfj_1 = store;
|
|
2698
2698
|
return i;
|
|
2699
2699
|
};
|
|
2700
2700
|
function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
|
|
2701
2701
|
var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
|
|
2702
2702
|
var l = function ($this$dispatchAwait, store, $completion) {
|
|
2703
|
-
return i.
|
|
2703
|
+
return i.ifj($this$dispatchAwait, store, $completion);
|
|
2704
2704
|
};
|
|
2705
2705
|
l.$arity = 2;
|
|
2706
2706
|
return l;
|
|
2707
2707
|
}
|
|
2708
2708
|
function GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation) {
|
|
2709
|
-
this.
|
|
2710
|
-
this.
|
|
2709
|
+
this.rfj_1 = $isCreated;
|
|
2710
|
+
this.sfj_1 = $state;
|
|
2711
2711
|
CoroutineImpl.call(this, resultContinuation);
|
|
2712
2712
|
}
|
|
2713
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2714
|
-
var tmp = this.
|
|
2713
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).ocv = function ($this$dispatchAsync, store, $completion) {
|
|
2714
|
+
var tmp = this.pcv($this$dispatchAsync, store, $completion);
|
|
2715
2715
|
tmp.k9_1 = Unit_instance;
|
|
2716
2716
|
tmp.l9_1 = null;
|
|
2717
2717
|
return tmp.q9();
|
|
2718
2718
|
};
|
|
2719
2719
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).da = function (p1, p2, $completion) {
|
|
2720
2720
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2721
|
-
return this.
|
|
2721
|
+
return this.ocv(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2722
2722
|
};
|
|
2723
2723
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).q9 = function () {
|
|
2724
2724
|
var suspendResult = this.k9_1;
|
|
@@ -2729,7 +2729,7 @@
|
|
|
2729
2729
|
case 0:
|
|
2730
2730
|
this.j9_1 = 3;
|
|
2731
2731
|
this.i9_1 = 1;
|
|
2732
|
-
suspendResult = this.
|
|
2732
|
+
suspendResult = this.rfj_1.s1s(this);
|
|
2733
2733
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2734
2734
|
return suspendResult;
|
|
2735
2735
|
}
|
|
@@ -2737,10 +2737,10 @@
|
|
|
2737
2737
|
continue $sm;
|
|
2738
2738
|
case 1:
|
|
2739
2739
|
if (suspendResult) {
|
|
2740
|
-
var _iterator__ex2g4s = this.
|
|
2740
|
+
var _iterator__ex2g4s = this.sfj_1.actions.t();
|
|
2741
2741
|
while (_iterator__ex2g4s.u()) {
|
|
2742
2742
|
var element = _iterator__ex2g4s.v();
|
|
2743
|
-
this.
|
|
2743
|
+
this.ufj_1.dispatch(element);
|
|
2744
2744
|
}
|
|
2745
2745
|
this.i9_1 = 2;
|
|
2746
2746
|
continue $sm;
|
|
@@ -2765,35 +2765,35 @@
|
|
|
2765
2765
|
}
|
|
2766
2766
|
while (true);
|
|
2767
2767
|
};
|
|
2768
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2769
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1(this.
|
|
2770
|
-
i.
|
|
2771
|
-
i.
|
|
2768
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).pcv = function ($this$dispatchAsync, store, completion) {
|
|
2769
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1(this.rfj_1, this.sfj_1, completion);
|
|
2770
|
+
i.tfj_1 = $this$dispatchAsync;
|
|
2771
|
+
i.ufj_1 = store;
|
|
2772
2772
|
return i;
|
|
2773
2773
|
};
|
|
2774
2774
|
function GameServer$roomOnContinueFromState$slambda_2($isCreated, $state, resultContinuation) {
|
|
2775
2775
|
var i = new GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation);
|
|
2776
2776
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2777
|
-
return i.
|
|
2777
|
+
return i.ocv($this$dispatchAsync, store, $completion);
|
|
2778
2778
|
};
|
|
2779
2779
|
l.$arity = 2;
|
|
2780
2780
|
return l;
|
|
2781
2781
|
}
|
|
2782
2782
|
function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation) {
|
|
2783
|
-
this.
|
|
2784
|
-
this.
|
|
2785
|
-
this.
|
|
2783
|
+
this.dfk_1 = $tableLite;
|
|
2784
|
+
this.efk_1 = $roomId;
|
|
2785
|
+
this.ffk_1 = this$0;
|
|
2786
2786
|
CoroutineImpl.call(this, resultContinuation);
|
|
2787
2787
|
}
|
|
2788
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2789
|
-
var tmp = this.
|
|
2788
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).ocv = function ($this$dispatchAsync, store, $completion) {
|
|
2789
|
+
var tmp = this.pcv($this$dispatchAsync, store, $completion);
|
|
2790
2790
|
tmp.k9_1 = Unit_instance;
|
|
2791
2791
|
tmp.l9_1 = null;
|
|
2792
2792
|
return tmp.q9();
|
|
2793
2793
|
};
|
|
2794
2794
|
protoOf(GameServer$roomOnContinueFromRound$slambda).da = function (p1, p2, $completion) {
|
|
2795
2795
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2796
|
-
return this.
|
|
2796
|
+
return this.ocv(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2797
2797
|
};
|
|
2798
2798
|
protoOf(GameServer$roomOnContinueFromRound$slambda).q9 = function () {
|
|
2799
2799
|
var suspendResult = this.k9_1;
|
|
@@ -2802,9 +2802,9 @@
|
|
|
2802
2802
|
var tmp = this.i9_1;
|
|
2803
2803
|
if (tmp === 0) {
|
|
2804
2804
|
this.j9_1 = 1;
|
|
2805
|
-
var tmp_0 = this.
|
|
2806
|
-
var tmp0_reason = new RestartRoundReason(this.
|
|
2807
|
-
var tmp1_table = Companion_instance_0.restartRound(this.
|
|
2805
|
+
var tmp_0 = this.hfk_1.dispatch;
|
|
2806
|
+
var tmp0_reason = new RestartRoundReason(this.dfk_1.gameInfo.round.roundNumber);
|
|
2807
|
+
var tmp1_table = Companion_instance_0.restartRound(this.efk_1, _get_idsProvider__fnfajc(this.ffk_1).e7g(), get_versionOrDefault(GameEngineConfig_instance), this.dfk_1);
|
|
2808
2808
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2809
2809
|
return Unit_instance;
|
|
2810
2810
|
} else if (tmp === 1) {
|
|
@@ -2816,16 +2816,16 @@
|
|
|
2816
2816
|
}
|
|
2817
2817
|
while (true);
|
|
2818
2818
|
};
|
|
2819
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2820
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
2821
|
-
i.
|
|
2822
|
-
i.
|
|
2819
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).pcv = function ($this$dispatchAsync, store, completion) {
|
|
2820
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.dfk_1, this.efk_1, this.ffk_1, completion);
|
|
2821
|
+
i.gfk_1 = $this$dispatchAsync;
|
|
2822
|
+
i.hfk_1 = store;
|
|
2823
2823
|
return i;
|
|
2824
2824
|
};
|
|
2825
2825
|
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, resultContinuation) {
|
|
2826
2826
|
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation);
|
|
2827
2827
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2828
|
-
return i.
|
|
2828
|
+
return i.ocv($this$dispatchAsync, store, $completion);
|
|
2829
2829
|
};
|
|
2830
2830
|
l.$arity = 2;
|
|
2831
2831
|
return l;
|
|
@@ -2833,15 +2833,15 @@
|
|
|
2833
2833
|
function GameServer$roomOnContinueFromRound$slambda_1(resultContinuation) {
|
|
2834
2834
|
CoroutineImpl.call(this, resultContinuation);
|
|
2835
2835
|
}
|
|
2836
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2837
|
-
var tmp = this.
|
|
2836
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).ocv = function ($this$dispatchAsync, store, $completion) {
|
|
2837
|
+
var tmp = this.pcv($this$dispatchAsync, store, $completion);
|
|
2838
2838
|
tmp.k9_1 = Unit_instance;
|
|
2839
2839
|
tmp.l9_1 = null;
|
|
2840
2840
|
return tmp.q9();
|
|
2841
2841
|
};
|
|
2842
2842
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).da = function (p1, p2, $completion) {
|
|
2843
2843
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2844
|
-
return this.
|
|
2844
|
+
return this.ocv(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2845
2845
|
};
|
|
2846
2846
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).q9 = function () {
|
|
2847
2847
|
var suspendResult = this.k9_1;
|
|
@@ -2850,7 +2850,7 @@
|
|
|
2850
2850
|
var tmp = this.i9_1;
|
|
2851
2851
|
if (tmp === 0) {
|
|
2852
2852
|
this.j9_1 = 1;
|
|
2853
|
-
this.
|
|
2853
|
+
this.rfk_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
2854
2854
|
return Unit_instance;
|
|
2855
2855
|
} else if (tmp === 1) {
|
|
2856
2856
|
throw this.l9_1;
|
|
@@ -2861,33 +2861,33 @@
|
|
|
2861
2861
|
}
|
|
2862
2862
|
while (true);
|
|
2863
2863
|
};
|
|
2864
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2864
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).pcv = function ($this$dispatchAsync, store, completion) {
|
|
2865
2865
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
2866
|
-
i.
|
|
2867
|
-
i.
|
|
2866
|
+
i.qfk_1 = $this$dispatchAsync;
|
|
2867
|
+
i.rfk_1 = store;
|
|
2868
2868
|
return i;
|
|
2869
2869
|
};
|
|
2870
2870
|
function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
|
|
2871
2871
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(resultContinuation);
|
|
2872
2872
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2873
|
-
return i.
|
|
2873
|
+
return i.ocv($this$dispatchAsync, store, $completion);
|
|
2874
2874
|
};
|
|
2875
2875
|
l.$arity = 2;
|
|
2876
2876
|
return l;
|
|
2877
2877
|
}
|
|
2878
2878
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
2879
|
-
this.
|
|
2879
|
+
this.afl_1 = $spectators;
|
|
2880
2880
|
CoroutineImpl.call(this, resultContinuation);
|
|
2881
2881
|
}
|
|
2882
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2883
|
-
var tmp = this.
|
|
2882
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).ocv = function ($this$dispatchAsync, store, $completion) {
|
|
2883
|
+
var tmp = this.pcv($this$dispatchAsync, store, $completion);
|
|
2884
2884
|
tmp.k9_1 = Unit_instance;
|
|
2885
2885
|
tmp.l9_1 = null;
|
|
2886
2886
|
return tmp.q9();
|
|
2887
2887
|
};
|
|
2888
2888
|
protoOf(GameServer$addSpectatorsToRoom$slambda).da = function (p1, p2, $completion) {
|
|
2889
2889
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2890
|
-
return this.
|
|
2890
|
+
return this.ocv(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2891
2891
|
};
|
|
2892
2892
|
protoOf(GameServer$addSpectatorsToRoom$slambda).q9 = function () {
|
|
2893
2893
|
var suspendResult = this.k9_1;
|
|
@@ -2896,7 +2896,7 @@
|
|
|
2896
2896
|
var tmp = this.i9_1;
|
|
2897
2897
|
if (tmp === 0) {
|
|
2898
2898
|
this.j9_1 = 1;
|
|
2899
|
-
this.
|
|
2899
|
+
this.cfl_1.dispatch(new AddSpectatorsAction(toList(this.afl_1)));
|
|
2900
2900
|
return Unit_instance;
|
|
2901
2901
|
} else if (tmp === 1) {
|
|
2902
2902
|
throw this.l9_1;
|
|
@@ -2907,33 +2907,33 @@
|
|
|
2907
2907
|
}
|
|
2908
2908
|
while (true);
|
|
2909
2909
|
};
|
|
2910
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2911
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
2912
|
-
i.
|
|
2913
|
-
i.
|
|
2910
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).pcv = function ($this$dispatchAsync, store, completion) {
|
|
2911
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.afl_1, completion);
|
|
2912
|
+
i.bfl_1 = $this$dispatchAsync;
|
|
2913
|
+
i.cfl_1 = store;
|
|
2914
2914
|
return i;
|
|
2915
2915
|
};
|
|
2916
2916
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
2917
2917
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
2918
2918
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2919
|
-
return i.
|
|
2919
|
+
return i.ocv($this$dispatchAsync, store, $completion);
|
|
2920
2920
|
};
|
|
2921
2921
|
l.$arity = 2;
|
|
2922
2922
|
return l;
|
|
2923
2923
|
}
|
|
2924
2924
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
2925
|
-
this.
|
|
2925
|
+
this.lfl_1 = $spectators;
|
|
2926
2926
|
CoroutineImpl.call(this, resultContinuation);
|
|
2927
2927
|
}
|
|
2928
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2929
|
-
var tmp = this.
|
|
2928
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).ocv = function ($this$dispatchAsync, store, $completion) {
|
|
2929
|
+
var tmp = this.pcv($this$dispatchAsync, store, $completion);
|
|
2930
2930
|
tmp.k9_1 = Unit_instance;
|
|
2931
2931
|
tmp.l9_1 = null;
|
|
2932
2932
|
return tmp.q9();
|
|
2933
2933
|
};
|
|
2934
2934
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).da = function (p1, p2, $completion) {
|
|
2935
2935
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2936
|
-
return this.
|
|
2936
|
+
return this.ocv(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2937
2937
|
};
|
|
2938
2938
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).q9 = function () {
|
|
2939
2939
|
var suspendResult = this.k9_1;
|
|
@@ -2942,7 +2942,7 @@
|
|
|
2942
2942
|
var tmp = this.i9_1;
|
|
2943
2943
|
if (tmp === 0) {
|
|
2944
2944
|
this.j9_1 = 1;
|
|
2945
|
-
this.
|
|
2945
|
+
this.nfl_1.dispatch(new RemoveSpectatorsAction(toList(this.lfl_1)));
|
|
2946
2946
|
return Unit_instance;
|
|
2947
2947
|
} else if (tmp === 1) {
|
|
2948
2948
|
throw this.l9_1;
|
|
@@ -2953,34 +2953,34 @@
|
|
|
2953
2953
|
}
|
|
2954
2954
|
while (true);
|
|
2955
2955
|
};
|
|
2956
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2957
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
2958
|
-
i.
|
|
2959
|
-
i.
|
|
2956
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).pcv = function ($this$dispatchAsync, store, completion) {
|
|
2957
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.lfl_1, completion);
|
|
2958
|
+
i.mfl_1 = $this$dispatchAsync;
|
|
2959
|
+
i.nfl_1 = store;
|
|
2960
2960
|
return i;
|
|
2961
2961
|
};
|
|
2962
2962
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
2963
2963
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
2964
2964
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2965
|
-
return i.
|
|
2965
|
+
return i.ocv($this$dispatchAsync, store, $completion);
|
|
2966
2966
|
};
|
|
2967
2967
|
l.$arity = 2;
|
|
2968
2968
|
return l;
|
|
2969
2969
|
}
|
|
2970
2970
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
2971
|
-
this.
|
|
2972
|
-
this.
|
|
2971
|
+
this.wfl_1 = $playerId;
|
|
2972
|
+
this.xfl_1 = this$0;
|
|
2973
2973
|
CoroutineImpl.call(this, resultContinuation);
|
|
2974
2974
|
}
|
|
2975
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2976
|
-
var tmp = this.
|
|
2975
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).ocv = function ($this$dispatchAsync, store, $completion) {
|
|
2976
|
+
var tmp = this.pcv($this$dispatchAsync, store, $completion);
|
|
2977
2977
|
tmp.k9_1 = Unit_instance;
|
|
2978
2978
|
tmp.l9_1 = null;
|
|
2979
2979
|
return tmp.q9();
|
|
2980
2980
|
};
|
|
2981
2981
|
protoOf(GameServer$roomRefreshPlayerState$slambda).da = function (p1, p2, $completion) {
|
|
2982
2982
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2983
|
-
return this.
|
|
2983
|
+
return this.ocv(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2984
2984
|
};
|
|
2985
2985
|
protoOf(GameServer$roomRefreshPlayerState$slambda).q9 = function () {
|
|
2986
2986
|
var suspendResult = this.k9_1;
|
|
@@ -2989,14 +2989,14 @@
|
|
|
2989
2989
|
var tmp = this.i9_1;
|
|
2990
2990
|
if (tmp === 0) {
|
|
2991
2991
|
this.j9_1 = 1;
|
|
2992
|
-
var table = this.
|
|
2993
|
-
var player = getPlayer(table.players, this.
|
|
2992
|
+
var table = this.zfl_1.state.s7v();
|
|
2993
|
+
var player = getPlayer(table.players, this.wfl_1);
|
|
2994
2994
|
if (player.j7z_1.g7a().q78_1.isLive) {
|
|
2995
|
-
this.
|
|
2995
|
+
this.zfl_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.xfl_1).afm(player, table));
|
|
2996
2996
|
} else {
|
|
2997
|
-
var tmp_0 = this.
|
|
2997
|
+
var tmp_0 = this.zfl_1.dispatch;
|
|
2998
2998
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2999
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2999
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.wfl_1));
|
|
3000
3000
|
}
|
|
3001
3001
|
return Unit_instance;
|
|
3002
3002
|
} else if (tmp === 1) {
|
|
@@ -3008,34 +3008,34 @@
|
|
|
3008
3008
|
}
|
|
3009
3009
|
while (true);
|
|
3010
3010
|
};
|
|
3011
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
3012
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
3013
|
-
i.
|
|
3014
|
-
i.
|
|
3011
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).pcv = function ($this$dispatchAsync, store, completion) {
|
|
3012
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.wfl_1, this.xfl_1, completion);
|
|
3013
|
+
i.yfl_1 = $this$dispatchAsync;
|
|
3014
|
+
i.zfl_1 = store;
|
|
3015
3015
|
return i;
|
|
3016
3016
|
};
|
|
3017
3017
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
3018
3018
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
3019
3019
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3020
|
-
return i.
|
|
3020
|
+
return i.ocv($this$dispatchAsync, store, $completion);
|
|
3021
3021
|
};
|
|
3022
3022
|
l.$arity = 2;
|
|
3023
3023
|
return l;
|
|
3024
3024
|
}
|
|
3025
3025
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
3026
|
-
this.
|
|
3027
|
-
this.
|
|
3026
|
+
this.jfm_1 = this$0;
|
|
3027
|
+
this.kfm_1 = $newRid;
|
|
3028
3028
|
CoroutineImpl.call(this, resultContinuation);
|
|
3029
3029
|
}
|
|
3030
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
3031
|
-
var tmp = this.
|
|
3030
|
+
protoOf(GameServer$roomOnDelete$slambda).ocv = function ($this$dispatchAsync, store, $completion) {
|
|
3031
|
+
var tmp = this.pcv($this$dispatchAsync, store, $completion);
|
|
3032
3032
|
tmp.k9_1 = Unit_instance;
|
|
3033
3033
|
tmp.l9_1 = null;
|
|
3034
3034
|
return tmp.q9();
|
|
3035
3035
|
};
|
|
3036
3036
|
protoOf(GameServer$roomOnDelete$slambda).da = function (p1, p2, $completion) {
|
|
3037
3037
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
3038
|
-
return this.
|
|
3038
|
+
return this.ocv(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
3039
3039
|
};
|
|
3040
3040
|
protoOf(GameServer$roomOnDelete$slambda).q9 = function () {
|
|
3041
3041
|
var suspendResult = this.k9_1;
|
|
@@ -3044,27 +3044,27 @@
|
|
|
3044
3044
|
var tmp = this.i9_1;
|
|
3045
3045
|
if (tmp === 0) {
|
|
3046
3046
|
this.j9_1 = 1;
|
|
3047
|
-
var it = this.
|
|
3047
|
+
var it = this.jfm_1.c78().s7u_1;
|
|
3048
3048
|
var tmp_0;
|
|
3049
3049
|
if (it == null) {
|
|
3050
|
-
this.
|
|
3050
|
+
this.jfm_1.t5r().w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
3051
3051
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
3052
3052
|
} else {
|
|
3053
3053
|
tmp_0 = it;
|
|
3054
3054
|
}
|
|
3055
3055
|
var terminationState = tmp_0;
|
|
3056
|
-
var gameTransition = terminationState.
|
|
3056
|
+
var gameTransition = terminationState.f9j_1;
|
|
3057
3057
|
var tmp_1;
|
|
3058
3058
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
3059
|
-
var tmp0_elvis_lhs = this.
|
|
3059
|
+
var tmp0_elvis_lhs = this.kfm_1;
|
|
3060
3060
|
tmp_1 = gameTransition.copy(tmp0_elvis_lhs == null ? gameTransition.roomId : tmp0_elvis_lhs);
|
|
3061
3061
|
} else {
|
|
3062
3062
|
tmp_1 = gameTransition;
|
|
3063
3063
|
}
|
|
3064
3064
|
var transition = tmp_1;
|
|
3065
|
-
var tmp_2 = this.
|
|
3066
|
-
var tmp0_reason = terminationState.
|
|
3067
|
-
var tmp1_isGameFinished = this.
|
|
3065
|
+
var tmp_2 = this.mfm_1.dispatch;
|
|
3066
|
+
var tmp0_reason = terminationState.e9j_1;
|
|
3067
|
+
var tmp1_isGameFinished = this.jfm_1.c78().s7v().isGameFinished;
|
|
3068
3068
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
3069
3069
|
return Unit_instance;
|
|
3070
3070
|
} else if (tmp === 1) {
|
|
@@ -3076,33 +3076,33 @@
|
|
|
3076
3076
|
}
|
|
3077
3077
|
while (true);
|
|
3078
3078
|
};
|
|
3079
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
3080
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
3081
|
-
i.
|
|
3082
|
-
i.
|
|
3079
|
+
protoOf(GameServer$roomOnDelete$slambda).pcv = function ($this$dispatchAsync, store, completion) {
|
|
3080
|
+
var i = new GameServer$roomOnDelete$slambda(this.jfm_1, this.kfm_1, completion);
|
|
3081
|
+
i.lfm_1 = $this$dispatchAsync;
|
|
3082
|
+
i.mfm_1 = store;
|
|
3083
3083
|
return i;
|
|
3084
3084
|
};
|
|
3085
3085
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
3086
3086
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
3087
3087
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3088
|
-
return i.
|
|
3088
|
+
return i.ocv($this$dispatchAsync, store, $completion);
|
|
3089
3089
|
};
|
|
3090
3090
|
l.$arity = 2;
|
|
3091
3091
|
return l;
|
|
3092
3092
|
}
|
|
3093
3093
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
3094
|
-
this.
|
|
3094
|
+
this.vfm_1 = $enabled;
|
|
3095
3095
|
CoroutineImpl.call(this, resultContinuation);
|
|
3096
3096
|
}
|
|
3097
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
3098
|
-
var tmp = this.
|
|
3097
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).ocv = function ($this$dispatchAsync, store, $completion) {
|
|
3098
|
+
var tmp = this.pcv($this$dispatchAsync, store, $completion);
|
|
3099
3099
|
tmp.k9_1 = Unit_instance;
|
|
3100
3100
|
tmp.l9_1 = null;
|
|
3101
3101
|
return tmp.q9();
|
|
3102
3102
|
};
|
|
3103
3103
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).da = function (p1, p2, $completion) {
|
|
3104
3104
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
3105
|
-
return this.
|
|
3105
|
+
return this.ocv(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
3106
3106
|
};
|
|
3107
3107
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).q9 = function () {
|
|
3108
3108
|
var suspendResult = this.k9_1;
|
|
@@ -3111,7 +3111,7 @@
|
|
|
3111
3111
|
var tmp = this.i9_1;
|
|
3112
3112
|
if (tmp === 0) {
|
|
3113
3113
|
this.j9_1 = 1;
|
|
3114
|
-
this.
|
|
3114
|
+
this.xfm_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload(this.xfm_1.state).config.copy(VOID, !this.vfm_1)));
|
|
3115
3115
|
return Unit_instance;
|
|
3116
3116
|
} else if (tmp === 1) {
|
|
3117
3117
|
throw this.l9_1;
|
|
@@ -3122,35 +3122,35 @@
|
|
|
3122
3122
|
}
|
|
3123
3123
|
while (true);
|
|
3124
3124
|
};
|
|
3125
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
3126
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
3127
|
-
i.
|
|
3128
|
-
i.
|
|
3125
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).pcv = function ($this$dispatchAsync, store, completion) {
|
|
3126
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.vfm_1, completion);
|
|
3127
|
+
i.wfm_1 = $this$dispatchAsync;
|
|
3128
|
+
i.xfm_1 = store;
|
|
3129
3129
|
return i;
|
|
3130
3130
|
};
|
|
3131
3131
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
3132
3132
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
3133
3133
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3134
|
-
return i.
|
|
3134
|
+
return i.ocv($this$dispatchAsync, store, $completion);
|
|
3135
3135
|
};
|
|
3136
3136
|
l.$arity = 2;
|
|
3137
3137
|
return l;
|
|
3138
3138
|
}
|
|
3139
3139
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
3140
|
-
this.
|
|
3141
|
-
this.
|
|
3142
|
-
this.
|
|
3140
|
+
this.gfn_1 = $reason;
|
|
3141
|
+
this.hfn_1 = this$0;
|
|
3142
|
+
this.ifn_1 = $roomId;
|
|
3143
3143
|
CoroutineImpl.call(this, resultContinuation);
|
|
3144
3144
|
}
|
|
3145
|
-
protoOf(GameServer$shutdown$slambda).
|
|
3146
|
-
var tmp = this.
|
|
3145
|
+
protoOf(GameServer$shutdown$slambda).ocv = function ($this$dispatchAsync, store, $completion) {
|
|
3146
|
+
var tmp = this.pcv($this$dispatchAsync, store, $completion);
|
|
3147
3147
|
tmp.k9_1 = Unit_instance;
|
|
3148
3148
|
tmp.l9_1 = null;
|
|
3149
3149
|
return tmp.q9();
|
|
3150
3150
|
};
|
|
3151
3151
|
protoOf(GameServer$shutdown$slambda).da = function (p1, p2, $completion) {
|
|
3152
3152
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
3153
|
-
return this.
|
|
3153
|
+
return this.ocv(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
3154
3154
|
};
|
|
3155
3155
|
protoOf(GameServer$shutdown$slambda).q9 = function () {
|
|
3156
3156
|
var suspendResult = this.k9_1;
|
|
@@ -3159,11 +3159,11 @@
|
|
|
3159
3159
|
var tmp = this.i9_1;
|
|
3160
3160
|
if (tmp === 0) {
|
|
3161
3161
|
this.j9_1 = 1;
|
|
3162
|
-
var state = this.
|
|
3162
|
+
var state = this.kfn_1.store.state;
|
|
3163
3163
|
if (state.u7v()) {
|
|
3164
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
3164
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.gfn_1, get_serverShutdownReasonMapping());
|
|
3165
3165
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
3166
|
-
var tmp_0 = this.
|
|
3166
|
+
var tmp_0 = this.kfn_1.dispatch;
|
|
3167
3167
|
var tmp_1 = Companion_instance;
|
|
3168
3168
|
var tmp_2;
|
|
3169
3169
|
switch (shutdownReason.a1_1) {
|
|
@@ -3177,12 +3177,12 @@
|
|
|
3177
3177
|
noWhenBranchMatchedException();
|
|
3178
3178
|
break;
|
|
3179
3179
|
}
|
|
3180
|
-
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.
|
|
3180
|
+
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.hfn_1.table.isGameFinished, this.hfn_1.table));
|
|
3181
3181
|
} else {
|
|
3182
|
-
this.
|
|
3183
|
-
var tmp_3 = this.
|
|
3182
|
+
this.hfn_1.t5r().w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.ifn_1);
|
|
3183
|
+
var tmp_3 = this.kfn_1.dispatch;
|
|
3184
3184
|
var tmp2_safe_receiver = state.s7u_1;
|
|
3185
|
-
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
3185
|
+
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.f9j_1));
|
|
3186
3186
|
}
|
|
3187
3187
|
return Unit_instance;
|
|
3188
3188
|
} else if (tmp === 1) {
|
|
@@ -3194,37 +3194,37 @@
|
|
|
3194
3194
|
}
|
|
3195
3195
|
while (true);
|
|
3196
3196
|
};
|
|
3197
|
-
protoOf(GameServer$shutdown$slambda).
|
|
3198
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
3199
|
-
i.
|
|
3200
|
-
i.
|
|
3197
|
+
protoOf(GameServer$shutdown$slambda).pcv = function ($this$dispatchAsync, store, completion) {
|
|
3198
|
+
var i = new GameServer$shutdown$slambda(this.gfn_1, this.hfn_1, this.ifn_1, completion);
|
|
3199
|
+
i.jfn_1 = $this$dispatchAsync;
|
|
3200
|
+
i.kfn_1 = store;
|
|
3201
3201
|
return i;
|
|
3202
3202
|
};
|
|
3203
3203
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
3204
3204
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
3205
3205
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3206
|
-
return i.
|
|
3206
|
+
return i.ocv($this$dispatchAsync, store, $completion);
|
|
3207
3207
|
};
|
|
3208
3208
|
l.$arity = 2;
|
|
3209
3209
|
return l;
|
|
3210
3210
|
}
|
|
3211
3211
|
function GameServer$handlePlayerMessage$slambda($botChatInteractor, $message, $fromPlayerId, $onMessageGenerated, this$0, resultContinuation) {
|
|
3212
|
-
this.
|
|
3213
|
-
this.
|
|
3214
|
-
this.
|
|
3215
|
-
this.
|
|
3216
|
-
this.
|
|
3212
|
+
this.tfn_1 = $botChatInteractor;
|
|
3213
|
+
this.ufn_1 = $message;
|
|
3214
|
+
this.vfn_1 = $fromPlayerId;
|
|
3215
|
+
this.wfn_1 = $onMessageGenerated;
|
|
3216
|
+
this.xfn_1 = this$0;
|
|
3217
3217
|
CoroutineImpl.call(this, resultContinuation);
|
|
3218
3218
|
}
|
|
3219
|
-
protoOf(GameServer$handlePlayerMessage$slambda).
|
|
3220
|
-
var tmp = this.
|
|
3219
|
+
protoOf(GameServer$handlePlayerMessage$slambda).ocv = function ($this$dispatchAsync, store, $completion) {
|
|
3220
|
+
var tmp = this.pcv($this$dispatchAsync, store, $completion);
|
|
3221
3221
|
tmp.k9_1 = Unit_instance;
|
|
3222
3222
|
tmp.l9_1 = null;
|
|
3223
3223
|
return tmp.q9();
|
|
3224
3224
|
};
|
|
3225
3225
|
protoOf(GameServer$handlePlayerMessage$slambda).da = function (p1, p2, $completion) {
|
|
3226
3226
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
3227
|
-
return this.
|
|
3227
|
+
return this.ocv(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
3228
3228
|
};
|
|
3229
3229
|
protoOf(GameServer$handlePlayerMessage$slambda).q9 = function () {
|
|
3230
3230
|
var suspendResult = this.k9_1;
|
|
@@ -3234,20 +3234,20 @@
|
|
|
3234
3234
|
switch (tmp) {
|
|
3235
3235
|
case 0:
|
|
3236
3236
|
this.j9_1 = 3;
|
|
3237
|
-
var state = this.
|
|
3237
|
+
var state = this.zfn_1.store.state;
|
|
3238
3238
|
if (state.u7v()) {
|
|
3239
3239
|
var tmp0_table = state.s7v();
|
|
3240
3240
|
this.i9_1 = 1;
|
|
3241
|
-
suspendResult = this.
|
|
3241
|
+
suspendResult = this.tfn_1.ha9(tmp0_table, this.ufn_1, this.vfn_1, VOID, this);
|
|
3242
3242
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3243
3243
|
return suspendResult;
|
|
3244
3244
|
}
|
|
3245
3245
|
continue $sm;
|
|
3246
3246
|
} else {
|
|
3247
|
-
this.
|
|
3248
|
-
var tmp_0 = this.
|
|
3247
|
+
this.xfn_1.t5r().w('GameEngine_API', "GameServer: can't generate message without table, " + this.vfn_1);
|
|
3248
|
+
var tmp_0 = this.zfn_1.dispatch;
|
|
3249
3249
|
var tmp1_safe_receiver = state.s7u_1;
|
|
3250
|
-
tmp_0(new ClearAction(tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
3250
|
+
tmp_0(new ClearAction(tmp1_safe_receiver == null ? null : tmp1_safe_receiver.f9j_1));
|
|
3251
3251
|
this.i9_1 = 2;
|
|
3252
3252
|
continue $sm;
|
|
3253
3253
|
}
|
|
@@ -3255,7 +3255,7 @@
|
|
|
3255
3255
|
case 1:
|
|
3256
3256
|
var message = suspendResult;
|
|
3257
3257
|
if (!(message == null)) {
|
|
3258
|
-
this.
|
|
3258
|
+
this.wfn_1(message);
|
|
3259
3259
|
}
|
|
3260
3260
|
|
|
3261
3261
|
this.i9_1 = 2;
|
|
@@ -3276,16 +3276,16 @@
|
|
|
3276
3276
|
}
|
|
3277
3277
|
while (true);
|
|
3278
3278
|
};
|
|
3279
|
-
protoOf(GameServer$handlePlayerMessage$slambda).
|
|
3280
|
-
var i = new GameServer$handlePlayerMessage$slambda(this.
|
|
3281
|
-
i.
|
|
3282
|
-
i.
|
|
3279
|
+
protoOf(GameServer$handlePlayerMessage$slambda).pcv = function ($this$dispatchAsync, store, completion) {
|
|
3280
|
+
var i = new GameServer$handlePlayerMessage$slambda(this.tfn_1, this.ufn_1, this.vfn_1, this.wfn_1, this.xfn_1, completion);
|
|
3281
|
+
i.yfn_1 = $this$dispatchAsync;
|
|
3282
|
+
i.zfn_1 = store;
|
|
3283
3283
|
return i;
|
|
3284
3284
|
};
|
|
3285
3285
|
function GameServer$handlePlayerMessage$slambda_0($botChatInteractor, $message, $fromPlayerId, $onMessageGenerated, this$0, resultContinuation) {
|
|
3286
3286
|
var i = new GameServer$handlePlayerMessage$slambda($botChatInteractor, $message, $fromPlayerId, $onMessageGenerated, this$0, resultContinuation);
|
|
3287
3287
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3288
|
-
return i.
|
|
3288
|
+
return i.ocv($this$dispatchAsync, store, $completion);
|
|
3289
3289
|
};
|
|
3290
3290
|
l.$arity = 2;
|
|
3291
3291
|
return l;
|
|
@@ -3316,7 +3316,7 @@
|
|
|
3316
3316
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
3317
3317
|
var tmp_3 = Instance(di, tmp$ret$2, null);
|
|
3318
3318
|
var tmp_4 = KProperty1;
|
|
3319
|
-
tmp_1.
|
|
3319
|
+
tmp_1.zfc_1 = tmp_3.c1j(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_4, GameServer$_get_toClientEventsObserver_$ref_utir8s(), null));
|
|
3320
3320
|
var tmp_5 = this;
|
|
3321
3321
|
// Inline function 'org.kodein.di.instance' call
|
|
3322
3322
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3324,7 +3324,7 @@
|
|
|
3324
3324
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
3325
3325
|
var tmp_7 = Instance(di, tmp$ret$4, null);
|
|
3326
3326
|
var tmp_8 = KProperty1;
|
|
3327
|
-
tmp_5.
|
|
3327
|
+
tmp_5.afd_1 = tmp_7.c1j(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_8, GameServer$_get_fromClientEventsObserver_$ref_nf1g79(), null));
|
|
3328
3328
|
var tmp_9 = this;
|
|
3329
3329
|
// Inline function 'org.kodein.di.instance' call
|
|
3330
3330
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3332,7 +3332,7 @@
|
|
|
3332
3332
|
var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
3333
3333
|
var tmp_11 = Instance(di, tmp$ret$6, null);
|
|
3334
3334
|
var tmp_12 = KProperty1;
|
|
3335
|
-
tmp_9.
|
|
3335
|
+
tmp_9.bfd_1 = tmp_11.c1j(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_12, GameServer$_get_playerConnectionInteractor_$ref_of8tan(), null));
|
|
3336
3336
|
var tmp_13 = this;
|
|
3337
3337
|
// Inline function 'org.kodein.di.instance' call
|
|
3338
3338
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3340,7 +3340,7 @@
|
|
|
3340
3340
|
var tmp$ret$8 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
3341
3341
|
var tmp_15 = Instance(di, tmp$ret$8, null);
|
|
3342
3342
|
var tmp_16 = KProperty1;
|
|
3343
|
-
tmp_13.
|
|
3343
|
+
tmp_13.cfd_1 = tmp_15.c1j(this, getPropertyCallableRef('teamsLogicProvider', 1, tmp_16, GameServer$_get_teamsLogicProvider_$ref_b7y54g(), null));
|
|
3344
3344
|
var tmp_17 = this;
|
|
3345
3345
|
// Inline function 'org.kodein.di.instance' call
|
|
3346
3346
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3348,9 +3348,9 @@
|
|
|
3348
3348
|
var tmp$ret$10 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
3349
3349
|
var tmp_19 = Instance(di, tmp$ret$10, null);
|
|
3350
3350
|
var tmp_20 = KProperty1;
|
|
3351
|
-
tmp_17.
|
|
3351
|
+
tmp_17.dfd_1 = tmp_19.c1j(this, getPropertyCallableRef('userRatingInteractor', 1, tmp_20, GameServer$_get_userRatingInteractor_$ref_8uo6aw(), null));
|
|
3352
3352
|
var tmp_21 = this;
|
|
3353
|
-
tmp_21.
|
|
3353
|
+
tmp_21.efd_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
3354
3354
|
var tmp_22 = this;
|
|
3355
3355
|
// Inline function 'org.kodein.di.instance' call
|
|
3356
3356
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3358,7 +3358,7 @@
|
|
|
3358
3358
|
var tmp$ret$12 = isInterface(tmp_23, TypeToken) ? tmp_23 : THROW_CCE();
|
|
3359
3359
|
var tmp_24 = Instance(di, tmp$ret$12, null);
|
|
3360
3360
|
var tmp_25 = KProperty1;
|
|
3361
|
-
tmp_22.
|
|
3361
|
+
tmp_22.ffd_1 = tmp_24.c1j(this, getPropertyCallableRef('idsProvider', 1, tmp_25, GameServer$_get_idsProvider_$ref_89s908(), null));
|
|
3362
3362
|
var tmp_26 = this;
|
|
3363
3363
|
// Inline function 'org.kodein.di.instance' call
|
|
3364
3364
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3366,7 +3366,7 @@
|
|
|
3366
3366
|
var tmp$ret$14 = isInterface(tmp_27, TypeToken) ? tmp_27 : THROW_CCE();
|
|
3367
3367
|
var tmp_28 = Instance(di, tmp$ret$14, null);
|
|
3368
3368
|
var tmp_29 = KProperty1;
|
|
3369
|
-
tmp_26.
|
|
3369
|
+
tmp_26.gfd_1 = tmp_28.c1j(this, getPropertyCallableRef('serverReduxConfig', 1, tmp_29, GameServer$_get_serverReduxConfig_$ref_7h6jq6(), null));
|
|
3370
3370
|
var tmp_30 = this;
|
|
3371
3371
|
// Inline function 'org.kodein.di.instance' call
|
|
3372
3372
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3374,7 +3374,7 @@
|
|
|
3374
3374
|
var tmp$ret$16 = isInterface(tmp_31, TypeToken) ? tmp_31 : THROW_CCE();
|
|
3375
3375
|
var tmp_32 = Instance(di, tmp$ret$16, null);
|
|
3376
3376
|
var tmp_33 = KProperty1;
|
|
3377
|
-
tmp_30.
|
|
3377
|
+
tmp_30.hfd_1 = tmp_32.c1j(this, getPropertyCallableRef('encoderDecoderProvider', 1, tmp_33, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8(), null));
|
|
3378
3378
|
var tmp_34 = this;
|
|
3379
3379
|
// Inline function 'org.kodein.di.instance' call
|
|
3380
3380
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3382,7 +3382,7 @@
|
|
|
3382
3382
|
var tmp$ret$18 = isInterface(tmp_35, TypeToken) ? tmp_35 : THROW_CCE();
|
|
3383
3383
|
var tmp_36 = Instance(di, tmp$ret$18, null);
|
|
3384
3384
|
var tmp_37 = KProperty1;
|
|
3385
|
-
tmp_34.
|
|
3385
|
+
tmp_34.ifd_1 = tmp_36.c1j(this, getPropertyCallableRef('engineLogicConfig', 1, tmp_37, GameServer$_get_engineLogicConfig_$ref_nlkv2l(), null));
|
|
3386
3386
|
var tmp_38 = this;
|
|
3387
3387
|
// Inline function 'org.kodein.di.instance' call
|
|
3388
3388
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3390,7 +3390,7 @@
|
|
|
3390
3390
|
var tmp$ret$20 = isInterface(tmp_39, TypeToken) ? tmp_39 : THROW_CCE();
|
|
3391
3391
|
var tmp_40 = Instance(di, tmp$ret$20, null);
|
|
3392
3392
|
var tmp_41 = KProperty1;
|
|
3393
|
-
tmp_38.
|
|
3393
|
+
tmp_38.jfd_1 = tmp_40.c1j(this, getPropertyCallableRef('leaguesConfig', 1, tmp_41, GameServer$_get_leaguesConfig_$ref_fi951n(), null));
|
|
3394
3394
|
var tmp_42 = this;
|
|
3395
3395
|
// Inline function 'org.kodein.di.instanceOrNull' call
|
|
3396
3396
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3398,16 +3398,16 @@
|
|
|
3398
3398
|
var tmp$ret$22 = isInterface(tmp_43, TypeToken) ? tmp_43 : THROW_CCE();
|
|
3399
3399
|
var tmp_44 = InstanceOrNull(di, tmp$ret$22, null);
|
|
3400
3400
|
var tmp_45 = KProperty1;
|
|
3401
|
-
tmp_42.
|
|
3401
|
+
tmp_42.kfd_1 = tmp_44.c1j(this, getPropertyCallableRef('botChatInteractor', 1, tmp_45, GameServer$_get_botChatInteractor_$ref_zf10ih(), null));
|
|
3402
3402
|
var tmp_46 = this;
|
|
3403
|
-
var tmp0_externalMiddlewares = plus(storeContract.
|
|
3404
|
-
var tmp1_externalReducers = plus(storeContract.
|
|
3405
|
-
tmp_46.
|
|
3403
|
+
var tmp0_externalMiddlewares = plus(storeContract.ran(), externalMiddlewares);
|
|
3404
|
+
var tmp1_externalReducers = plus(storeContract.qan(), externalReducers);
|
|
3405
|
+
tmp_46.lfd_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
3406
3406
|
}
|
|
3407
3407
|
protoOf(GameServer).i7u = function () {
|
|
3408
|
-
return this.
|
|
3408
|
+
return this.lfd_1;
|
|
3409
3409
|
};
|
|
3410
|
-
protoOf(GameServer).
|
|
3410
|
+
protoOf(GameServer).ma3 = function () {
|
|
3411
3411
|
return get_serverStatePayload(this.c78()).metadata;
|
|
3412
3412
|
};
|
|
3413
3413
|
protoOf(GameServer).canReconnectPlayer = function (playerId) {
|
|
@@ -3457,17 +3457,17 @@
|
|
|
3457
3457
|
};
|
|
3458
3458
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
3459
3459
|
this.t5r().d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
3460
|
-
this.
|
|
3460
|
+
this.lfd_1.q7v(GameServer$fromClientEvent$slambda_0(action, null));
|
|
3461
3461
|
};
|
|
3462
3462
|
protoOf(GameServer).playerLostConnection = function (playerId, roomId) {
|
|
3463
3463
|
this.t5r().d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
3464
|
-
this.
|
|
3464
|
+
this.lfd_1.q7v(GameServer$playerLostConnection$slambda_0(playerId, roomId, null));
|
|
3465
3465
|
};
|
|
3466
3466
|
protoOf(GameServer).playerLive = function (playerId, roomId) {
|
|
3467
3467
|
this.t5r().d('GameEngine_API', 'playerLive: ' + playerId);
|
|
3468
|
-
this.
|
|
3468
|
+
this.lfd_1.q7v(GameServer$playerLive$slambda_0(this, playerId, roomId, null));
|
|
3469
3469
|
};
|
|
3470
|
-
protoOf(GameServer).
|
|
3470
|
+
protoOf(GameServer).afo = function (playerId, roomId, permanently) {
|
|
3471
3471
|
this.t5r().d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
3472
3472
|
var tmp;
|
|
3473
3473
|
if (this.c78().u7v() && !this.c78().s7v().isGameFinished) {
|
|
@@ -3476,33 +3476,33 @@
|
|
|
3476
3476
|
tmp = null;
|
|
3477
3477
|
}
|
|
3478
3478
|
var result = tmp;
|
|
3479
|
-
this.
|
|
3479
|
+
this.lfd_1.q7v(GameServer$playerLeft$slambda_0(this, playerId, permanently, roomId, null));
|
|
3480
3480
|
this.t5r().d('GameEngine_API', 'playerLeft result: ' + toString_0(result));
|
|
3481
3481
|
return result;
|
|
3482
3482
|
};
|
|
3483
|
-
protoOf(GameServer).
|
|
3483
|
+
protoOf(GameServer).bfo = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
3484
3484
|
this.t5r().d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
3485
|
-
this.
|
|
3485
|
+
this.lfd_1.q7v(GameServer$roomOnCreate$slambda_0(usersArray, this, config, roomId, transition, gameCreatorId, spectators, null));
|
|
3486
3486
|
};
|
|
3487
3487
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
3488
3488
|
this.t5r().d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
3489
|
-
var isCreated = this.
|
|
3490
|
-
this.
|
|
3489
|
+
var isCreated = this.lfd_1.r7v(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
3490
|
+
this.lfd_1.q7v(GameServer$roomOnContinueFromState$slambda_2(isCreated, state, null));
|
|
3491
3491
|
};
|
|
3492
3492
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
3493
3493
|
this.t5r().d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
3494
|
-
this.
|
|
3495
|
-
this.
|
|
3494
|
+
this.lfd_1.q7v(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
3495
|
+
this.lfd_1.q7v(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
3496
3496
|
};
|
|
3497
3497
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
3498
|
-
this.
|
|
3498
|
+
this.lfd_1.q7v(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
3499
3499
|
};
|
|
3500
3500
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
3501
|
-
this.
|
|
3501
|
+
this.lfd_1.q7v(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
3502
3502
|
};
|
|
3503
3503
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
3504
3504
|
this.t5r().d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
3505
|
-
this.
|
|
3505
|
+
this.lfd_1.q7v(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
3506
3506
|
};
|
|
3507
3507
|
protoOf(GameServer).getToClientFinishActionBeforeDisconnect = function (playerId, previousState, originState) {
|
|
3508
3508
|
if (!this.isTableExists) {
|
|
@@ -3512,24 +3512,24 @@
|
|
|
3512
3512
|
var table = this.table;
|
|
3513
3513
|
var player = getPlayer(table.players, playerId);
|
|
3514
3514
|
this.t5r().d('GameEngine_API', 'getToClientFinishActionBeforeDisconnect: ' + playerId + ', ' + ('state = ' + player.j7z_1.g7a().q78_1.toString() + ', ') + ('isBot = ' + player.i7z_1.isBot));
|
|
3515
|
-
var actions = _get_playerConnectionInteractor__si6cxf(this).
|
|
3515
|
+
var actions = _get_playerConnectionInteractor__si6cxf(this).cfo(playerId, previousState.isLive, table.id, mapToFinishReason(originState, player, table.playersConnections), table.isGameFinished);
|
|
3516
3516
|
this.t5r().d('GameEngine_API', 'getToClientFinishActionBeforeDisconnect: ' + toString(actions));
|
|
3517
3517
|
if (actions.r()) {
|
|
3518
3518
|
return null;
|
|
3519
3519
|
}
|
|
3520
3520
|
return new CombinedToClientAction(actions, Companion_instance_1.user(_get_idsProvider__fnfajc(this).e7g(), table.id, playerId));
|
|
3521
3521
|
};
|
|
3522
|
-
protoOf(GameServer).
|
|
3522
|
+
protoOf(GameServer).dfo = function (newRid) {
|
|
3523
3523
|
this.t5r().d('GameEngine_API', 'roomOnDelete: newRid = ' + newRid);
|
|
3524
|
-
this.
|
|
3524
|
+
this.lfd_1.q7v(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
3525
3525
|
};
|
|
3526
3526
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
3527
3527
|
this.t5r().d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
3528
|
-
this.
|
|
3528
|
+
this.lfd_1.q7v(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
3529
3529
|
};
|
|
3530
|
-
protoOf(GameServer).
|
|
3530
|
+
protoOf(GameServer).efo = function (reason, roomId) {
|
|
3531
3531
|
this.t5r().d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
3532
|
-
this.
|
|
3532
|
+
this.lfd_1.q7v(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
3533
3533
|
};
|
|
3534
3534
|
protoOf(GameServer).handlePlayerMessage = function (message, fromPlayerId, onMessageGenerated) {
|
|
3535
3535
|
var tmp0_elvis_lhs = _get_botChatInteractor__17f3on(this);
|
|
@@ -3541,7 +3541,7 @@
|
|
|
3541
3541
|
}
|
|
3542
3542
|
var botChatInteractor = tmp;
|
|
3543
3543
|
this.t5r().d('GameEngine_API', 'handlePlayerMessage: ' + fromPlayerId);
|
|
3544
|
-
this.
|
|
3544
|
+
this.lfd_1.q7v(GameServer$handlePlayerMessage$slambda_0(botChatInteractor, message, fromPlayerId, onMessageGenerated, this, null));
|
|
3545
3545
|
};
|
|
3546
3546
|
protoOf(GameServer).clear = function () {
|
|
3547
3547
|
return this.b3();
|
|
@@ -3595,13 +3595,13 @@
|
|
|
3595
3595
|
this.shouldFinishGameWhenDeploy = shouldFinishGameWhenDeploy;
|
|
3596
3596
|
this.shouldFinishGameWithBots = shouldFinishGameWithBots;
|
|
3597
3597
|
}
|
|
3598
|
-
protoOf(ServerConfig).
|
|
3598
|
+
protoOf(ServerConfig).ffo = function () {
|
|
3599
3599
|
return this.fromRound;
|
|
3600
3600
|
};
|
|
3601
|
-
protoOf(ServerConfig).
|
|
3601
|
+
protoOf(ServerConfig).gfo = function () {
|
|
3602
3602
|
return this.shouldFinishGameWhenDeploy;
|
|
3603
3603
|
};
|
|
3604
|
-
protoOf(ServerConfig).
|
|
3604
|
+
protoOf(ServerConfig).hfo = function () {
|
|
3605
3605
|
return this.shouldFinishGameWithBots;
|
|
3606
3606
|
};
|
|
3607
3607
|
protoOf(ServerConfig).of = function () {
|
|
@@ -3613,14 +3613,14 @@
|
|
|
3613
3613
|
protoOf(ServerConfig).wn = function () {
|
|
3614
3614
|
return this.shouldFinishGameWithBots;
|
|
3615
3615
|
};
|
|
3616
|
-
protoOf(ServerConfig).
|
|
3616
|
+
protoOf(ServerConfig).ifo = function (fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots) {
|
|
3617
3617
|
return new ServerConfig(fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots);
|
|
3618
3618
|
};
|
|
3619
3619
|
protoOf(ServerConfig).copy = function (fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots, $super) {
|
|
3620
3620
|
fromRound = fromRound === VOID ? this.fromRound : fromRound;
|
|
3621
3621
|
shouldFinishGameWhenDeploy = shouldFinishGameWhenDeploy === VOID ? this.shouldFinishGameWhenDeploy : shouldFinishGameWhenDeploy;
|
|
3622
3622
|
shouldFinishGameWithBots = shouldFinishGameWithBots === VOID ? this.shouldFinishGameWithBots : shouldFinishGameWithBots;
|
|
3623
|
-
return $super === VOID ? this.
|
|
3623
|
+
return $super === VOID ? this.ifo(fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots) : $super.ifo.call(this, fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots);
|
|
3624
3624
|
};
|
|
3625
3625
|
protoOf(ServerConfig).toString = function () {
|
|
3626
3626
|
return 'ServerConfig(fromRound=' + this.fromRound + ', shouldFinishGameWhenDeploy=' + this.shouldFinishGameWhenDeploy + ', shouldFinishGameWithBots=' + this.shouldFinishGameWithBots + ')';
|
|
@@ -3682,20 +3682,20 @@
|
|
|
3682
3682
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.TableStateUpdateDto', this, 2);
|
|
3683
3683
|
tmp0_serialDesc.b11('roomId', false);
|
|
3684
3684
|
tmp0_serialDesc.b11('table', false);
|
|
3685
|
-
this.
|
|
3685
|
+
this.jfo_1 = tmp0_serialDesc;
|
|
3686
3686
|
}
|
|
3687
|
-
protoOf($serializer).
|
|
3688
|
-
var tmp0_desc = this.
|
|
3687
|
+
protoOf($serializer).kfo = function (encoder, value) {
|
|
3688
|
+
var tmp0_desc = this.jfo_1;
|
|
3689
3689
|
var tmp1_output = encoder.jt(tmp0_desc);
|
|
3690
|
-
tmp1_output.yu(tmp0_desc, 0, value.
|
|
3690
|
+
tmp1_output.yu(tmp0_desc, 0, value.lfo_1);
|
|
3691
3691
|
tmp1_output.yu(tmp0_desc, 1, value.table);
|
|
3692
3692
|
tmp1_output.kt(tmp0_desc);
|
|
3693
3693
|
};
|
|
3694
3694
|
protoOf($serializer).xp = function (encoder, value) {
|
|
3695
|
-
return this.
|
|
3695
|
+
return this.kfo(encoder, value instanceof TableStateUpdateDto ? value : THROW_CCE());
|
|
3696
3696
|
};
|
|
3697
3697
|
protoOf($serializer).yp = function (decoder) {
|
|
3698
|
-
var tmp0_desc = this.
|
|
3698
|
+
var tmp0_desc = this.jfo_1;
|
|
3699
3699
|
var tmp1_flag = true;
|
|
3700
3700
|
var tmp2_index = 0;
|
|
3701
3701
|
var tmp3_bitMask0 = 0;
|
|
@@ -3730,7 +3730,7 @@
|
|
|
3730
3730
|
return TableStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3731
3731
|
};
|
|
3732
3732
|
protoOf($serializer).wp = function () {
|
|
3733
|
-
return this.
|
|
3733
|
+
return this.jfo_1;
|
|
3734
3734
|
};
|
|
3735
3735
|
protoOf($serializer).q11 = function () {
|
|
3736
3736
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3746,9 +3746,9 @@
|
|
|
3746
3746
|
}
|
|
3747
3747
|
function TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, $this) {
|
|
3748
3748
|
if (!(3 === (3 & seen0))) {
|
|
3749
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance().
|
|
3749
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance().jfo_1);
|
|
3750
3750
|
}
|
|
3751
|
-
$this.
|
|
3751
|
+
$this.lfo_1 = roomId;
|
|
3752
3752
|
$this.table = table;
|
|
3753
3753
|
return $this;
|
|
3754
3754
|
}
|
|
@@ -3756,17 +3756,17 @@
|
|
|
3756
3756
|
return TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, objectCreate(protoOf(TableStateUpdateDto)));
|
|
3757
3757
|
}
|
|
3758
3758
|
function TableStateUpdateDto(roomId, table) {
|
|
3759
|
-
this.
|
|
3759
|
+
this.lfo_1 = roomId;
|
|
3760
3760
|
this.table = table;
|
|
3761
3761
|
}
|
|
3762
|
-
protoOf(TableStateUpdateDto).
|
|
3763
|
-
return this.
|
|
3762
|
+
protoOf(TableStateUpdateDto).z9z = function () {
|
|
3763
|
+
return this.lfo_1;
|
|
3764
3764
|
};
|
|
3765
3765
|
protoOf(TableStateUpdateDto).s7v = function () {
|
|
3766
3766
|
return this.table;
|
|
3767
3767
|
};
|
|
3768
3768
|
protoOf(TableStateUpdateDto).of = function () {
|
|
3769
|
-
return this.
|
|
3769
|
+
return this.lfo_1;
|
|
3770
3770
|
};
|
|
3771
3771
|
protoOf(TableStateUpdateDto).pf = function () {
|
|
3772
3772
|
return this.table;
|
|
@@ -3775,15 +3775,15 @@
|
|
|
3775
3775
|
return new TableStateUpdateDto(roomId, table);
|
|
3776
3776
|
};
|
|
3777
3777
|
protoOf(TableStateUpdateDto).copy = function (roomId, table, $super) {
|
|
3778
|
-
roomId = roomId === VOID ? this.
|
|
3778
|
+
roomId = roomId === VOID ? this.lfo_1 : roomId;
|
|
3779
3779
|
table = table === VOID ? this.table : table;
|
|
3780
3780
|
return $super === VOID ? this.h6c(roomId, table) : $super.h6c.call(this, roomId, table);
|
|
3781
3781
|
};
|
|
3782
3782
|
protoOf(TableStateUpdateDto).toString = function () {
|
|
3783
|
-
return 'TableStateUpdateDto(roomId=' + this.
|
|
3783
|
+
return 'TableStateUpdateDto(roomId=' + this.lfo_1 + ', table=' + this.table + ')';
|
|
3784
3784
|
};
|
|
3785
3785
|
protoOf(TableStateUpdateDto).hashCode = function () {
|
|
3786
|
-
var result = getStringHashCode(this.
|
|
3786
|
+
var result = getStringHashCode(this.lfo_1);
|
|
3787
3787
|
result = imul(result, 31) + getStringHashCode(this.table) | 0;
|
|
3788
3788
|
return result;
|
|
3789
3789
|
};
|
|
@@ -3792,7 +3792,7 @@
|
|
|
3792
3792
|
return true;
|
|
3793
3793
|
if (!(other instanceof TableStateUpdateDto))
|
|
3794
3794
|
return false;
|
|
3795
|
-
if (!(this.
|
|
3795
|
+
if (!(this.lfo_1 === other.lfo_1))
|
|
3796
3796
|
return false;
|
|
3797
3797
|
if (!(this.table === other.table))
|
|
3798
3798
|
return false;
|
|
@@ -3808,7 +3808,7 @@
|
|
|
3808
3808
|
// Inline function 'kotlin.arrayOf' call
|
|
3809
3809
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3810
3810
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3811
|
-
tmp.
|
|
3811
|
+
tmp.mfo_1 = [null, lazy_0(tmp_0, ActionsStateUpdateDto$Companion$$childSerializers$_anonymous__oomzzs)];
|
|
3812
3812
|
}
|
|
3813
3813
|
var Companion_instance_14;
|
|
3814
3814
|
function Companion_getInstance_4() {
|
|
@@ -3821,28 +3821,28 @@
|
|
|
3821
3821
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.ActionsStateUpdateDto', this, 2);
|
|
3822
3822
|
tmp0_serialDesc.b11('roomId', false);
|
|
3823
3823
|
tmp0_serialDesc.b11('actions', false);
|
|
3824
|
-
this.
|
|
3824
|
+
this.nfo_1 = tmp0_serialDesc;
|
|
3825
3825
|
}
|
|
3826
|
-
protoOf($serializer_0).
|
|
3827
|
-
var tmp0_desc = this.
|
|
3826
|
+
protoOf($serializer_0).ofo = function (encoder, value) {
|
|
3827
|
+
var tmp0_desc = this.nfo_1;
|
|
3828
3828
|
var tmp1_output = encoder.jt(tmp0_desc);
|
|
3829
|
-
var tmp2_cached = Companion_getInstance_4().
|
|
3830
|
-
tmp1_output.yu(tmp0_desc, 0, value.
|
|
3829
|
+
var tmp2_cached = Companion_getInstance_4().mfo_1;
|
|
3830
|
+
tmp1_output.yu(tmp0_desc, 0, value.pfo_1);
|
|
3831
3831
|
tmp1_output.av(tmp0_desc, 1, tmp2_cached[1].o1(), value.actions);
|
|
3832
3832
|
tmp1_output.kt(tmp0_desc);
|
|
3833
3833
|
};
|
|
3834
3834
|
protoOf($serializer_0).xp = function (encoder, value) {
|
|
3835
|
-
return this.
|
|
3835
|
+
return this.ofo(encoder, value instanceof ActionsStateUpdateDto ? value : THROW_CCE());
|
|
3836
3836
|
};
|
|
3837
3837
|
protoOf($serializer_0).yp = function (decoder) {
|
|
3838
|
-
var tmp0_desc = this.
|
|
3838
|
+
var tmp0_desc = this.nfo_1;
|
|
3839
3839
|
var tmp1_flag = true;
|
|
3840
3840
|
var tmp2_index = 0;
|
|
3841
3841
|
var tmp3_bitMask0 = 0;
|
|
3842
3842
|
var tmp4_local0 = null;
|
|
3843
3843
|
var tmp5_local1 = null;
|
|
3844
3844
|
var tmp6_input = decoder.jt(tmp0_desc);
|
|
3845
|
-
var tmp7_cached = Companion_getInstance_4().
|
|
3845
|
+
var tmp7_cached = Companion_getInstance_4().mfo_1;
|
|
3846
3846
|
if (tmp6_input.zt()) {
|
|
3847
3847
|
tmp4_local0 = tmp6_input.tt(tmp0_desc, 0);
|
|
3848
3848
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -3871,10 +3871,10 @@
|
|
|
3871
3871
|
return ActionsStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3872
3872
|
};
|
|
3873
3873
|
protoOf($serializer_0).wp = function () {
|
|
3874
|
-
return this.
|
|
3874
|
+
return this.nfo_1;
|
|
3875
3875
|
};
|
|
3876
3876
|
protoOf($serializer_0).q11 = function () {
|
|
3877
|
-
var tmp0_cached = Companion_getInstance_4().
|
|
3877
|
+
var tmp0_cached = Companion_getInstance_4().mfo_1;
|
|
3878
3878
|
// Inline function 'kotlin.arrayOf' call
|
|
3879
3879
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3880
3880
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -3888,9 +3888,9 @@
|
|
|
3888
3888
|
}
|
|
3889
3889
|
function ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, $this) {
|
|
3890
3890
|
if (!(3 === (3 & seen0))) {
|
|
3891
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().
|
|
3891
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().nfo_1);
|
|
3892
3892
|
}
|
|
3893
|
-
$this.
|
|
3893
|
+
$this.pfo_1 = roomId;
|
|
3894
3894
|
$this.actions = actions;
|
|
3895
3895
|
return $this;
|
|
3896
3896
|
}
|
|
@@ -3899,13 +3899,13 @@
|
|
|
3899
3899
|
}
|
|
3900
3900
|
function ActionsStateUpdateDto(roomId, actions) {
|
|
3901
3901
|
Companion_getInstance_4();
|
|
3902
|
-
this.
|
|
3902
|
+
this.pfo_1 = roomId;
|
|
3903
3903
|
this.actions = actions;
|
|
3904
3904
|
}
|
|
3905
|
-
protoOf(ActionsStateUpdateDto).
|
|
3906
|
-
return this.
|
|
3905
|
+
protoOf(ActionsStateUpdateDto).z9z = function () {
|
|
3906
|
+
return this.pfo_1;
|
|
3907
3907
|
};
|
|
3908
|
-
protoOf(ActionsStateUpdateDto).
|
|
3908
|
+
protoOf(ActionsStateUpdateDto).ma0 = function () {
|
|
3909
3909
|
return this.actions;
|
|
3910
3910
|
};
|
|
3911
3911
|
protoOf(ActionsStateUpdateDto).equals = function (other) {
|
|
@@ -3915,33 +3915,33 @@
|
|
|
3915
3915
|
return false;
|
|
3916
3916
|
if (!(other instanceof ActionsStateUpdateDto))
|
|
3917
3917
|
THROW_CCE();
|
|
3918
|
-
if (!(this.
|
|
3918
|
+
if (!(this.pfo_1 === other.pfo_1))
|
|
3919
3919
|
return false;
|
|
3920
3920
|
if (!contentEquals(this.actions, other.actions))
|
|
3921
3921
|
return false;
|
|
3922
3922
|
return true;
|
|
3923
3923
|
};
|
|
3924
3924
|
protoOf(ActionsStateUpdateDto).hashCode = function () {
|
|
3925
|
-
var result = getStringHashCode(this.
|
|
3925
|
+
var result = getStringHashCode(this.pfo_1);
|
|
3926
3926
|
result = imul(31, result) + contentHashCode(this.actions) | 0;
|
|
3927
3927
|
return result;
|
|
3928
3928
|
};
|
|
3929
3929
|
protoOf(ActionsStateUpdateDto).of = function () {
|
|
3930
|
-
return this.
|
|
3930
|
+
return this.pfo_1;
|
|
3931
3931
|
};
|
|
3932
3932
|
protoOf(ActionsStateUpdateDto).pf = function () {
|
|
3933
3933
|
return this.actions;
|
|
3934
3934
|
};
|
|
3935
|
-
protoOf(ActionsStateUpdateDto).
|
|
3935
|
+
protoOf(ActionsStateUpdateDto).qfo = function (roomId, actions) {
|
|
3936
3936
|
return new ActionsStateUpdateDto(roomId, actions);
|
|
3937
3937
|
};
|
|
3938
3938
|
protoOf(ActionsStateUpdateDto).copy = function (roomId, actions, $super) {
|
|
3939
|
-
roomId = roomId === VOID ? this.
|
|
3939
|
+
roomId = roomId === VOID ? this.pfo_1 : roomId;
|
|
3940
3940
|
actions = actions === VOID ? this.actions : actions;
|
|
3941
|
-
return $super === VOID ? this.
|
|
3941
|
+
return $super === VOID ? this.qfo(roomId, actions) : $super.qfo.call(this, roomId, actions);
|
|
3942
3942
|
};
|
|
3943
3943
|
protoOf(ActionsStateUpdateDto).toString = function () {
|
|
3944
|
-
return 'ActionsStateUpdateDto(roomId=' + this.
|
|
3944
|
+
return 'ActionsStateUpdateDto(roomId=' + this.pfo_1 + ', actions=' + toString(this.actions) + ')';
|
|
3945
3945
|
};
|
|
3946
3946
|
function mapToDto_1(_this__u8e3s4, encoderDecoderProvider) {
|
|
3947
3947
|
var tmp;
|
|
@@ -3957,7 +3957,7 @@
|
|
|
3957
3957
|
return tmp;
|
|
3958
3958
|
}
|
|
3959
3959
|
function mapToDto_2(_this__u8e3s4, encoderDecoderProvider) {
|
|
3960
|
-
return new TableStateUpdateDto(_this__u8e3s4.
|
|
3960
|
+
return new TableStateUpdateDto(_this__u8e3s4.rfo_1, encoderDecoderProvider.qa7(mapToDto(_this__u8e3s4.table)));
|
|
3961
3961
|
}
|
|
3962
3962
|
function mapToDto_3(_this__u8e3s4, encoderDecoderProvider) {
|
|
3963
3963
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -3969,44 +3969,44 @@
|
|
|
3969
3969
|
while (inductionVariable < last) {
|
|
3970
3970
|
var item = this_0[inductionVariable];
|
|
3971
3971
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3972
|
-
var tmp$ret$0 = encoderDecoderProvider.
|
|
3972
|
+
var tmp$ret$0 = encoderDecoderProvider.ra7(mapToDto_0(item));
|
|
3973
3973
|
destination.e1(tmp$ret$0);
|
|
3974
3974
|
}
|
|
3975
3975
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3976
3976
|
var tmp$ret$3 = copyToArray(destination);
|
|
3977
|
-
return new ActionsStateUpdateDto(_this__u8e3s4.
|
|
3977
|
+
return new ActionsStateUpdateDto(_this__u8e3s4.sfo_1, tmp$ret$3);
|
|
3978
3978
|
}
|
|
3979
3979
|
function ServerStateUpdate() {
|
|
3980
3980
|
}
|
|
3981
3981
|
function TableStateUpdate(roomId, table) {
|
|
3982
|
-
this.
|
|
3982
|
+
this.rfo_1 = roomId;
|
|
3983
3983
|
this.table = table;
|
|
3984
3984
|
}
|
|
3985
|
-
protoOf(TableStateUpdate).
|
|
3986
|
-
return this.
|
|
3985
|
+
protoOf(TableStateUpdate).z9z = function () {
|
|
3986
|
+
return this.rfo_1;
|
|
3987
3987
|
};
|
|
3988
3988
|
protoOf(TableStateUpdate).s7v = function () {
|
|
3989
3989
|
return this.table;
|
|
3990
3990
|
};
|
|
3991
3991
|
protoOf(TableStateUpdate).of = function () {
|
|
3992
|
-
return this.
|
|
3992
|
+
return this.rfo_1;
|
|
3993
3993
|
};
|
|
3994
3994
|
protoOf(TableStateUpdate).pf = function () {
|
|
3995
3995
|
return this.table;
|
|
3996
3996
|
};
|
|
3997
|
-
protoOf(TableStateUpdate).
|
|
3997
|
+
protoOf(TableStateUpdate).tfo = function (roomId, table) {
|
|
3998
3998
|
return new TableStateUpdate(roomId, table);
|
|
3999
3999
|
};
|
|
4000
4000
|
protoOf(TableStateUpdate).copy = function (roomId, table, $super) {
|
|
4001
|
-
roomId = roomId === VOID ? this.
|
|
4001
|
+
roomId = roomId === VOID ? this.rfo_1 : roomId;
|
|
4002
4002
|
table = table === VOID ? this.table : table;
|
|
4003
|
-
return $super === VOID ? this.
|
|
4003
|
+
return $super === VOID ? this.tfo(roomId, table) : $super.tfo.call(this, roomId, table);
|
|
4004
4004
|
};
|
|
4005
4005
|
protoOf(TableStateUpdate).toString = function () {
|
|
4006
|
-
return 'TableStateUpdate(roomId=' + this.
|
|
4006
|
+
return 'TableStateUpdate(roomId=' + this.rfo_1 + ', table=' + this.table.toString() + ')';
|
|
4007
4007
|
};
|
|
4008
4008
|
protoOf(TableStateUpdate).hashCode = function () {
|
|
4009
|
-
var result = getStringHashCode(this.
|
|
4009
|
+
var result = getStringHashCode(this.rfo_1);
|
|
4010
4010
|
result = imul(result, 31) + this.table.hashCode() | 0;
|
|
4011
4011
|
return result;
|
|
4012
4012
|
};
|
|
@@ -4015,20 +4015,20 @@
|
|
|
4015
4015
|
return true;
|
|
4016
4016
|
if (!(other instanceof TableStateUpdate))
|
|
4017
4017
|
return false;
|
|
4018
|
-
if (!(this.
|
|
4018
|
+
if (!(this.rfo_1 === other.rfo_1))
|
|
4019
4019
|
return false;
|
|
4020
4020
|
if (!this.table.equals(other.table))
|
|
4021
4021
|
return false;
|
|
4022
4022
|
return true;
|
|
4023
4023
|
};
|
|
4024
4024
|
function ActionsStateUpdate(roomId, actions) {
|
|
4025
|
-
this.
|
|
4025
|
+
this.sfo_1 = roomId;
|
|
4026
4026
|
this.actions = actions;
|
|
4027
4027
|
}
|
|
4028
|
-
protoOf(ActionsStateUpdate).
|
|
4029
|
-
return this.
|
|
4028
|
+
protoOf(ActionsStateUpdate).z9z = function () {
|
|
4029
|
+
return this.sfo_1;
|
|
4030
4030
|
};
|
|
4031
|
-
protoOf(ActionsStateUpdate).
|
|
4031
|
+
protoOf(ActionsStateUpdate).ma0 = function () {
|
|
4032
4032
|
return this.actions;
|
|
4033
4033
|
};
|
|
4034
4034
|
protoOf(ActionsStateUpdate).equals = function (other) {
|
|
@@ -4038,33 +4038,33 @@
|
|
|
4038
4038
|
return false;
|
|
4039
4039
|
if (!(other instanceof ActionsStateUpdate))
|
|
4040
4040
|
THROW_CCE();
|
|
4041
|
-
if (!(this.
|
|
4041
|
+
if (!(this.sfo_1 === other.sfo_1))
|
|
4042
4042
|
return false;
|
|
4043
4043
|
if (!contentEquals(this.actions, other.actions))
|
|
4044
4044
|
return false;
|
|
4045
4045
|
return true;
|
|
4046
4046
|
};
|
|
4047
4047
|
protoOf(ActionsStateUpdate).hashCode = function () {
|
|
4048
|
-
var result = getStringHashCode(this.
|
|
4048
|
+
var result = getStringHashCode(this.sfo_1);
|
|
4049
4049
|
result = imul(31, result) + contentHashCode(this.actions) | 0;
|
|
4050
4050
|
return result;
|
|
4051
4051
|
};
|
|
4052
4052
|
protoOf(ActionsStateUpdate).of = function () {
|
|
4053
|
-
return this.
|
|
4053
|
+
return this.sfo_1;
|
|
4054
4054
|
};
|
|
4055
4055
|
protoOf(ActionsStateUpdate).pf = function () {
|
|
4056
4056
|
return this.actions;
|
|
4057
4057
|
};
|
|
4058
|
-
protoOf(ActionsStateUpdate).
|
|
4058
|
+
protoOf(ActionsStateUpdate).ufo = function (roomId, actions) {
|
|
4059
4059
|
return new ActionsStateUpdate(roomId, actions);
|
|
4060
4060
|
};
|
|
4061
4061
|
protoOf(ActionsStateUpdate).copy = function (roomId, actions, $super) {
|
|
4062
|
-
roomId = roomId === VOID ? this.
|
|
4062
|
+
roomId = roomId === VOID ? this.sfo_1 : roomId;
|
|
4063
4063
|
actions = actions === VOID ? this.actions : actions;
|
|
4064
|
-
return $super === VOID ? this.
|
|
4064
|
+
return $super === VOID ? this.ufo(roomId, actions) : $super.ufo.call(this, roomId, actions);
|
|
4065
4065
|
};
|
|
4066
4066
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
4067
|
-
return 'ActionsStateUpdate(roomId=' + this.
|
|
4067
|
+
return 'ActionsStateUpdate(roomId=' + this.sfo_1 + ', actions=' + toString(this.actions) + ')';
|
|
4068
4068
|
};
|
|
4069
4069
|
function createGameServerDI(serverConfig, logicConfig, engineBotConfig, dealerConfig, ratingConfig, leaguesConfig, externalReducers, externalMiddlewares, botModelProvider) {
|
|
4070
4070
|
externalReducers = externalReducers === VOID ? emptyList() : externalReducers;
|
|
@@ -4393,18 +4393,18 @@
|
|
|
4393
4393
|
function ToClientEventsObserver() {
|
|
4394
4394
|
}
|
|
4395
4395
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
4396
|
-
this.
|
|
4397
|
-
this.
|
|
4396
|
+
this.efp_1 = this$0;
|
|
4397
|
+
this.ffp_1 = $actions;
|
|
4398
4398
|
CoroutineImpl.call(this, resultContinuation);
|
|
4399
4399
|
}
|
|
4400
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
4401
|
-
var tmp = this.
|
|
4400
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).ifp = function ($this$flow, $completion) {
|
|
4401
|
+
var tmp = this.jfp($this$flow, $completion);
|
|
4402
4402
|
tmp.k9_1 = Unit_instance;
|
|
4403
4403
|
tmp.l9_1 = null;
|
|
4404
4404
|
return tmp.q9();
|
|
4405
4405
|
};
|
|
4406
4406
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).ca = function (p1, $completion) {
|
|
4407
|
-
return this.
|
|
4407
|
+
return this.ifp((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
4408
4408
|
};
|
|
4409
4409
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).q9 = function () {
|
|
4410
4410
|
var suspendResult = this.k9_1;
|
|
@@ -4414,19 +4414,19 @@
|
|
|
4414
4414
|
switch (tmp) {
|
|
4415
4415
|
case 0:
|
|
4416
4416
|
this.j9_1 = 4;
|
|
4417
|
-
this.
|
|
4418
|
-
this.
|
|
4417
|
+
this.efp_1.ofp_1;
|
|
4418
|
+
this.hfp_1 = transformToEmits(this.efp_1, this.ffp_1).t();
|
|
4419
4419
|
this.i9_1 = 1;
|
|
4420
4420
|
continue $sm;
|
|
4421
4421
|
case 1:
|
|
4422
|
-
if (!this.
|
|
4422
|
+
if (!this.hfp_1.u()) {
|
|
4423
4423
|
this.i9_1 = 3;
|
|
4424
4424
|
continue $sm;
|
|
4425
4425
|
}
|
|
4426
4426
|
|
|
4427
|
-
var element = this.
|
|
4427
|
+
var element = this.hfp_1.v();
|
|
4428
4428
|
this.i9_1 = 2;
|
|
4429
|
-
suspendResult = this.
|
|
4429
|
+
suspendResult = this.gfp_1.w27(element, this);
|
|
4430
4430
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4431
4431
|
return suspendResult;
|
|
4432
4432
|
}
|
|
@@ -4436,11 +4436,11 @@
|
|
|
4436
4436
|
this.i9_1 = 1;
|
|
4437
4437
|
continue $sm;
|
|
4438
4438
|
case 3:
|
|
4439
|
-
var tmp0 = this.
|
|
4439
|
+
var tmp0 = this.efp_1.nfp_1;
|
|
4440
4440
|
l$ret$1: do {
|
|
4441
4441
|
while (true) {
|
|
4442
4442
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
4443
|
-
var upd = cur - this.
|
|
4443
|
+
var upd = cur - this.ffp_1.g1() | 0;
|
|
4444
4444
|
if (tmp0.atomicfu$compareAndSet(cur, upd)) {
|
|
4445
4445
|
break l$ret$1;
|
|
4446
4446
|
}
|
|
@@ -4462,15 +4462,15 @@
|
|
|
4462
4462
|
}
|
|
4463
4463
|
while (true);
|
|
4464
4464
|
};
|
|
4465
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
4466
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
4467
|
-
i.
|
|
4465
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).jfp = function ($this$flow, completion) {
|
|
4466
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.efp_1, this.ffp_1, completion);
|
|
4467
|
+
i.gfp_1 = $this$flow;
|
|
4468
4468
|
return i;
|
|
4469
4469
|
};
|
|
4470
4470
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
4471
4471
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
4472
4472
|
var l = function ($this$flow, $completion) {
|
|
4473
|
-
return i.
|
|
4473
|
+
return i.ifp($this$flow, $completion);
|
|
4474
4474
|
};
|
|
4475
4475
|
l.$arity = 1;
|
|
4476
4476
|
return l;
|
|
@@ -4540,29 +4540,29 @@
|
|
|
4540
4540
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
4541
4541
|
}
|
|
4542
4542
|
function mapFromGroupKey($this, _this__u8e3s4) {
|
|
4543
|
-
var tmp = $this.
|
|
4543
|
+
var tmp = $this.mfp_1.e7g();
|
|
4544
4544
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
4545
|
-
var this_0 = _this__u8e3s4.
|
|
4545
|
+
var this_0 = _this__u8e3s4.rfp_1;
|
|
4546
4546
|
var tmp_0 = copyToArray(this_0);
|
|
4547
4547
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
4548
|
-
var this_1 = _this__u8e3s4.
|
|
4548
|
+
var this_1 = _this__u8e3s4.sfp_1;
|
|
4549
4549
|
var tmp$ret$1 = copyToArray(this_1);
|
|
4550
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
4550
|
+
return new ActionDeliveryPayload(_this__u8e3s4.qfp_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.tfp_1);
|
|
4551
4551
|
}
|
|
4552
4552
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
4553
|
-
this.
|
|
4554
|
-
this.
|
|
4555
|
-
this.
|
|
4556
|
-
this.
|
|
4553
|
+
this.qfp_1 = tableId;
|
|
4554
|
+
this.rfp_1 = includePlayers;
|
|
4555
|
+
this.sfp_1 = excludePlayers;
|
|
4556
|
+
this.tfp_1 = deliveryType;
|
|
4557
4557
|
}
|
|
4558
4558
|
protoOf(GroupKey).toString = function () {
|
|
4559
|
-
return 'GroupKey(tableId=' + this.
|
|
4559
|
+
return 'GroupKey(tableId=' + this.qfp_1 + ', includePlayers=' + toString(this.rfp_1) + ', excludePlayers=' + toString(this.sfp_1) + ', deliveryType=' + this.tfp_1.toString() + ')';
|
|
4560
4560
|
};
|
|
4561
4561
|
protoOf(GroupKey).hashCode = function () {
|
|
4562
|
-
var result = getStringHashCode(this.
|
|
4563
|
-
result = imul(result, 31) + hashCode(this.
|
|
4564
|
-
result = imul(result, 31) + hashCode(this.
|
|
4565
|
-
result = imul(result, 31) + this.
|
|
4562
|
+
var result = getStringHashCode(this.qfp_1);
|
|
4563
|
+
result = imul(result, 31) + hashCode(this.rfp_1) | 0;
|
|
4564
|
+
result = imul(result, 31) + hashCode(this.sfp_1) | 0;
|
|
4565
|
+
result = imul(result, 31) + this.tfp_1.hashCode() | 0;
|
|
4566
4566
|
return result;
|
|
4567
4567
|
};
|
|
4568
4568
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -4570,35 +4570,35 @@
|
|
|
4570
4570
|
return true;
|
|
4571
4571
|
if (!(other instanceof GroupKey))
|
|
4572
4572
|
return false;
|
|
4573
|
-
if (!(this.
|
|
4573
|
+
if (!(this.qfp_1 === other.qfp_1))
|
|
4574
4574
|
return false;
|
|
4575
|
-
if (!equals(this.
|
|
4575
|
+
if (!equals(this.rfp_1, other.rfp_1))
|
|
4576
4576
|
return false;
|
|
4577
|
-
if (!equals(this.
|
|
4577
|
+
if (!equals(this.sfp_1, other.sfp_1))
|
|
4578
4578
|
return false;
|
|
4579
|
-
if (!this.
|
|
4579
|
+
if (!this.tfp_1.equals(other.tfp_1))
|
|
4580
4580
|
return false;
|
|
4581
4581
|
return true;
|
|
4582
4582
|
};
|
|
4583
4583
|
function Companion_4() {
|
|
4584
|
-
this.
|
|
4584
|
+
this.ufp_1 = 6;
|
|
4585
4585
|
}
|
|
4586
4586
|
var Companion_instance_15;
|
|
4587
4587
|
function Companion_getInstance_5() {
|
|
4588
4588
|
return Companion_instance_15;
|
|
4589
4589
|
}
|
|
4590
4590
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
4591
|
-
this.
|
|
4591
|
+
this.dfq_1 = this$0;
|
|
4592
4592
|
CoroutineImpl.call(this, resultContinuation);
|
|
4593
4593
|
}
|
|
4594
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
4595
|
-
var tmp = this.
|
|
4594
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).ffq = function (actions, $completion) {
|
|
4595
|
+
var tmp = this.gfq(actions, $completion);
|
|
4596
4596
|
tmp.k9_1 = Unit_instance;
|
|
4597
4597
|
tmp.l9_1 = null;
|
|
4598
4598
|
return tmp.q9();
|
|
4599
4599
|
};
|
|
4600
4600
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).ca = function (p1, $completion) {
|
|
4601
|
-
return this.
|
|
4601
|
+
return this.ffq((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
4602
4602
|
};
|
|
4603
4603
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).q9 = function () {
|
|
4604
4604
|
var suspendResult = this.k9_1;
|
|
@@ -4607,7 +4607,7 @@
|
|
|
4607
4607
|
var tmp = this.i9_1;
|
|
4608
4608
|
if (tmp === 0) {
|
|
4609
4609
|
this.j9_1 = 1;
|
|
4610
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
4610
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.dfq_1, this.efq_1, null));
|
|
4611
4611
|
} else if (tmp === 1) {
|
|
4612
4612
|
throw this.l9_1;
|
|
4613
4613
|
}
|
|
@@ -4617,23 +4617,23 @@
|
|
|
4617
4617
|
}
|
|
4618
4618
|
while (true);
|
|
4619
4619
|
};
|
|
4620
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
4621
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
4622
|
-
i.
|
|
4620
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).gfq = function (actions, completion) {
|
|
4621
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.dfq_1, completion);
|
|
4622
|
+
i.efq_1 = actions;
|
|
4623
4623
|
return i;
|
|
4624
4624
|
};
|
|
4625
4625
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
4626
4626
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
4627
4627
|
var l = function (actions, $completion) {
|
|
4628
|
-
return i.
|
|
4628
|
+
return i.ffq(actions, $completion);
|
|
4629
4629
|
};
|
|
4630
4630
|
l.$arity = 1;
|
|
4631
4631
|
return l;
|
|
4632
4632
|
}
|
|
4633
4633
|
function $sentEventCOROUTINE$(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
4634
4634
|
CoroutineImpl.call(this, resultContinuation);
|
|
4635
|
-
this.
|
|
4636
|
-
this.
|
|
4635
|
+
this.pfq_1 = _this__u8e3s4;
|
|
4636
|
+
this.qfq_1 = fromEvent;
|
|
4637
4637
|
}
|
|
4638
4638
|
protoOf($sentEventCOROUTINE$).q9 = function () {
|
|
4639
4639
|
var suspendResult = this.k9_1;
|
|
@@ -4643,8 +4643,8 @@
|
|
|
4643
4643
|
switch (tmp) {
|
|
4644
4644
|
case 0:
|
|
4645
4645
|
this.j9_1 = 2;
|
|
4646
|
-
this.
|
|
4647
|
-
var tmp0 = this.
|
|
4646
|
+
this.pfq_1.ofp_1;
|
|
4647
|
+
var tmp0 = this.pfq_1.nfp_1;
|
|
4648
4648
|
l$ret$1: do {
|
|
4649
4649
|
while (true) {
|
|
4650
4650
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
@@ -4656,7 +4656,7 @@
|
|
|
4656
4656
|
}
|
|
4657
4657
|
while (false);
|
|
4658
4658
|
this.i9_1 = 1;
|
|
4659
|
-
suspendResult = this.
|
|
4659
|
+
suspendResult = this.pfq_1.pfp_1.w27(this.qfq_1, this);
|
|
4660
4660
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4661
4661
|
return suspendResult;
|
|
4662
4662
|
}
|
|
@@ -4680,7 +4680,7 @@
|
|
|
4680
4680
|
};
|
|
4681
4681
|
function $waitForCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
4682
4682
|
CoroutineImpl.call(this, resultContinuation);
|
|
4683
|
-
this.
|
|
4683
|
+
this.zfq_1 = _this__u8e3s4;
|
|
4684
4684
|
}
|
|
4685
4685
|
protoOf($waitForCOROUTINE$).q9 = function () {
|
|
4686
4686
|
var suspendResult = this.k9_1;
|
|
@@ -4690,12 +4690,12 @@
|
|
|
4690
4690
|
switch (tmp) {
|
|
4691
4691
|
case 0:
|
|
4692
4692
|
this.j9_1 = 5;
|
|
4693
|
-
this.
|
|
4694
|
-
this.
|
|
4693
|
+
this.zfq_1.ofp_1;
|
|
4694
|
+
this.afr_1 = 0;
|
|
4695
4695
|
this.i9_1 = 1;
|
|
4696
4696
|
continue $sm;
|
|
4697
4697
|
case 1:
|
|
4698
|
-
if (!!(this.
|
|
4698
|
+
if (!!(this.zfq_1.nfp_1.kotlinx$atomicfu$value === 0)) {
|
|
4699
4699
|
this.i9_1 = 4;
|
|
4700
4700
|
continue $sm;
|
|
4701
4701
|
}
|
|
@@ -4708,9 +4708,9 @@
|
|
|
4708
4708
|
|
|
4709
4709
|
continue $sm;
|
|
4710
4710
|
case 2:
|
|
4711
|
-
this.
|
|
4712
|
-
if (this.
|
|
4713
|
-
this.
|
|
4711
|
+
this.afr_1 = this.afr_1 + 1 | 0;
|
|
4712
|
+
if (this.afr_1 > 6) {
|
|
4713
|
+
this.zfq_1.lfp_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, " + ('not delivered events count = ' + this.zfq_1.nfp_1.kotlinx$atomicfu$value));
|
|
4714
4714
|
this.i9_1 = 4;
|
|
4715
4715
|
continue $sm;
|
|
4716
4716
|
} else {
|
|
@@ -4738,54 +4738,54 @@
|
|
|
4738
4738
|
while (true);
|
|
4739
4739
|
};
|
|
4740
4740
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
4741
|
-
this.
|
|
4742
|
-
this.
|
|
4743
|
-
this.
|
|
4744
|
-
this.
|
|
4741
|
+
this.kfp_1 = serverReduxConfig;
|
|
4742
|
+
this.lfp_1 = logger;
|
|
4743
|
+
this.mfp_1 = idsProvider;
|
|
4744
|
+
this.nfp_1 = atomic$ref$1(0);
|
|
4745
4745
|
var tmp = this;
|
|
4746
4746
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
4747
|
-
tmp.
|
|
4748
|
-
this.
|
|
4747
|
+
tmp.ofp_1 = get_atomicfu$reentrantLock();
|
|
4748
|
+
this.pfp_1 = MutableSharedFlow();
|
|
4749
4749
|
}
|
|
4750
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4750
|
+
protoOf(ToClientEventsObserverImpl).vfo = function (fromEvent, $completion) {
|
|
4751
4751
|
var tmp = new $sentEventCOROUTINE$(this, fromEvent, $completion);
|
|
4752
4752
|
tmp.k9_1 = Unit_instance;
|
|
4753
4753
|
tmp.l9_1 = null;
|
|
4754
4754
|
return tmp.q9();
|
|
4755
4755
|
};
|
|
4756
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4756
|
+
protoOf(ToClientEventsObserverImpl).raw = function ($completion) {
|
|
4757
4757
|
var tmp = new $waitForCOROUTINE$(this, $completion);
|
|
4758
4758
|
tmp.k9_1 = Unit_instance;
|
|
4759
4759
|
tmp.l9_1 = null;
|
|
4760
4760
|
return tmp.q9();
|
|
4761
4761
|
};
|
|
4762
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4763
|
-
if (!this.
|
|
4764
|
-
return this.
|
|
4762
|
+
protoOf(ToClientEventsObserverImpl).mcd = function () {
|
|
4763
|
+
if (!this.kfp_1.enabledCombinedEvents) {
|
|
4764
|
+
return this.pfp_1;
|
|
4765
4765
|
}
|
|
4766
|
-
var tmp = windowedByInterval(this.
|
|
4766
|
+
var tmp = windowedByInterval(this.pfp_1, fromInt(this.kfp_1.combinedEventsIntervalMillis));
|
|
4767
4767
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
4768
4768
|
};
|
|
4769
4769
|
function PlayerConnectionInteractor() {
|
|
4770
4770
|
}
|
|
4771
4771
|
function waitPlayerOrDisconnect($this, newConnectionState, previousConnectionState, table, player, waitForPlayer) {
|
|
4772
|
-
if (waitForPlayer && $this.
|
|
4772
|
+
if (waitForPlayer && $this.ffr_1.waitForPlayerToReconnect) {
|
|
4773
4773
|
Companion_getInstance();
|
|
4774
4774
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
4775
|
-
var this_0 = $this.
|
|
4775
|
+
var this_0 = $this.ffr_1.reconnectionCheckDurationMillis;
|
|
4776
4776
|
var reconnectionCheckDurationMillis = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
4777
4777
|
var noRecentReconnects = Duration__compareTo_impl_pchp0f(table.gameDuration, reconnectionCheckDurationMillis) < 0 || player.j7z_1.g7a().a79(reconnectionCheckDurationMillis);
|
|
4778
4778
|
if (noRecentReconnects) {
|
|
4779
|
-
return $this.
|
|
4779
|
+
return $this.cfr(player.playerId, newConnectionState, previousConnectionState);
|
|
4780
4780
|
}
|
|
4781
4781
|
}
|
|
4782
|
-
var canRemoveGameWhenNoPlayers = Companion_instance_2.h7z($this.
|
|
4782
|
+
var canRemoveGameWhenNoPlayers = Companion_instance_2.h7z($this.ffr_1.finishGameWhenNotLiveStrategy, player.playerId, table.players);
|
|
4783
4783
|
if (canRemoveGameWhenNoPlayers) {
|
|
4784
|
-
return listOf($this.
|
|
4784
|
+
return listOf($this.jfr_1.daf(mapToFinishReason(newConnectionState, player, table.playersConnections), table, 'Disconnect: No Players to continue game'));
|
|
4785
4785
|
}
|
|
4786
|
-
if (table.sceneInfo.
|
|
4787
|
-
if (!$this.
|
|
4788
|
-
return listOf($this.
|
|
4786
|
+
if (table.sceneInfo.a8n()) {
|
|
4787
|
+
if (!$this.gfr_1.openRoomIfFinished) {
|
|
4788
|
+
return listOf($this.jfr_1.daf(mapToFinishReason(newConnectionState, player, table.playersConnections), table, 'Disconnect: Game is finished'));
|
|
4789
4789
|
}
|
|
4790
4790
|
// Inline function 'kotlin.collections.filter' call
|
|
4791
4791
|
var tmp0 = table.players;
|
|
@@ -4860,27 +4860,27 @@
|
|
|
4860
4860
|
}
|
|
4861
4861
|
var readyLivePlayers = destination_3;
|
|
4862
4862
|
var usersToJoinRoomSize = table.players.g1() - notAlivePlayers.g1() | 0;
|
|
4863
|
-
if ($this.
|
|
4864
|
-
return listOf($this.
|
|
4863
|
+
if ($this.gfr_1.minPlayersToOpenRoom >= usersToJoinRoomSize) {
|
|
4864
|
+
return listOf($this.jfr_1.daf(mapToFinishReason(newConnectionState, player, table.playersConnections), table, 'Disconnect: Not enough users to create room'));
|
|
4865
4865
|
}
|
|
4866
4866
|
var allPlayersMadeDecision = (readyLivePlayers.g1() + notAlivePlayers.g1() | 0) === table.players.g1();
|
|
4867
4867
|
if (allPlayersMadeDecision) {
|
|
4868
|
-
var tmp0_$this = $this.
|
|
4868
|
+
var tmp0_$this = $this.jfr_1;
|
|
4869
4869
|
var tmp1_reason = mapToFinishReason(newConnectionState, player, table.playersConnections);
|
|
4870
|
-
return listOf(tmp0_$this.
|
|
4870
|
+
return listOf(tmp0_$this.caf(tmp1_reason, table, 'Disconnect: Game is finished, transition to room', readyLivePlayers));
|
|
4871
4871
|
}
|
|
4872
4872
|
}
|
|
4873
|
-
if (!$this.
|
|
4874
|
-
return listOf($this.
|
|
4873
|
+
if (!$this.ffr_1.botReplacesPlayerAfterTimeout) {
|
|
4874
|
+
return listOf($this.jfr_1.daf(mapToFinishReason(newConnectionState, player, table.playersConnections), table, "Disconnect: Can't continue game without bots"));
|
|
4875
4875
|
}
|
|
4876
4876
|
return getPlayerDisconnectedActions($this, newConnectionState, previousConnectionState, player);
|
|
4877
4877
|
}
|
|
4878
4878
|
function getPlayerConnectedActions($this, player, table, previousConnectionState) {
|
|
4879
4879
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
4880
4880
|
var actionsList = ArrayList_init_$Create$_0();
|
|
4881
|
-
actionsList.i1(listOf_0([new PlayerConnectionChangedMechanicAction(player.playerId, PlayerConnectionState_LIVE_getInstance(), previousConnectionState), $this.
|
|
4881
|
+
actionsList.i1(listOf_0([new PlayerConnectionChangedMechanicAction(player.playerId, PlayerConnectionState_LIVE_getInstance(), previousConnectionState), $this.dfr(player, table, previousConnectionState)]));
|
|
4882
4882
|
if (player.j7z_1.p78()) {
|
|
4883
|
-
actionsList.i1(listOf_0([new StopTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.j7z_1.w79())), new StartTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.j7z_1.w79(), true), _Duration___get_inWholeMilliseconds__impl__msfiry($this.
|
|
4883
|
+
actionsList.i1(listOf_0([new StopTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.j7z_1.w79())), new StartTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.j7z_1.w79(), true), _Duration___get_inWholeMilliseconds__impl__msfiry($this.hfr_1.ub2(table.config)), VOID, TimerType_DELAY_getInstance())]));
|
|
4884
4884
|
}
|
|
4885
4885
|
return actionsList;
|
|
4886
4886
|
}
|
|
@@ -4894,20 +4894,20 @@
|
|
|
4894
4894
|
return actionsList;
|
|
4895
4895
|
}
|
|
4896
4896
|
function PlayerConnectionInteractorImpl(serverConfig, engineLogicConfig, playerTurnMechanicReducer, idsProvider, gameLifecycleInteractor) {
|
|
4897
|
-
this.
|
|
4898
|
-
this.
|
|
4899
|
-
this.
|
|
4900
|
-
this.
|
|
4901
|
-
this.
|
|
4897
|
+
this.ffr_1 = serverConfig;
|
|
4898
|
+
this.gfr_1 = engineLogicConfig;
|
|
4899
|
+
this.hfr_1 = playerTurnMechanicReducer;
|
|
4900
|
+
this.ifr_1 = idsProvider;
|
|
4901
|
+
this.jfr_1 = gameLifecycleInteractor;
|
|
4902
4902
|
}
|
|
4903
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4903
|
+
protoOf(PlayerConnectionInteractorImpl).bfr = function (newConnectionState, previousConnectionState, player, table, afterReconnection) {
|
|
4904
4904
|
var tmp;
|
|
4905
4905
|
switch (newConnectionState.a1_1) {
|
|
4906
4906
|
case 1:
|
|
4907
4907
|
tmp = getPlayerConnectedActions(this, player, table, previousConnectionState);
|
|
4908
4908
|
break;
|
|
4909
4909
|
case 4:
|
|
4910
|
-
var tmp1_waitForPlayer = !afterReconnection && !table.sceneInfo.
|
|
4910
|
+
var tmp1_waitForPlayer = !afterReconnection && !table.sceneInfo.a8n() && table.config.isPrivate;
|
|
4911
4911
|
tmp = waitPlayerOrDisconnect(this, newConnectionState, previousConnectionState, table, player, tmp1_waitForPlayer);
|
|
4912
4912
|
break;
|
|
4913
4913
|
case 5:
|
|
@@ -4933,18 +4933,18 @@
|
|
|
4933
4933
|
}
|
|
4934
4934
|
return tmp;
|
|
4935
4935
|
};
|
|
4936
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4936
|
+
protoOf(PlayerConnectionInteractorImpl).cfo = function (sendToPlayerId, isLive, tableId, reason, isGameFinished) {
|
|
4937
4937
|
if (!isLive) {
|
|
4938
4938
|
return emptyList();
|
|
4939
4939
|
}
|
|
4940
|
-
var tmp0_deliveryPayload = Companion_instance_1.user(this.
|
|
4940
|
+
var tmp0_deliveryPayload = Companion_instance_1.user(this.ifr_1.e7g(), tableId, sendToPlayerId);
|
|
4941
4941
|
var tmp = new FinishingGameToClientAction(reason, isGameFinished, null, tmp0_deliveryPayload);
|
|
4942
|
-
var tmp1_deliveryPayload = Companion_instance_1.user(this.
|
|
4942
|
+
var tmp1_deliveryPayload = Companion_instance_1.user(this.ifr_1.e7g(), tableId, sendToPlayerId);
|
|
4943
4943
|
return listOf_0([tmp, new FinishGameToClientAction(reason, isGameFinished, null, tmp1_deliveryPayload)]);
|
|
4944
4944
|
};
|
|
4945
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4946
|
-
var updatedTable = this.
|
|
4947
|
-
var aid = this.
|
|
4945
|
+
protoOf(PlayerConnectionInteractorImpl).dfr = function (sendToPlayer, table, previousConnectionState) {
|
|
4946
|
+
var updatedTable = this.hfr_1.vb0(table, sendToPlayer.playerId, PlayerConnectionState_LIVE_getInstance(), null);
|
|
4947
|
+
var aid = this.ifr_1.e7g();
|
|
4948
4948
|
var tmp;
|
|
4949
4949
|
if (equals(previousConnectionState, PlayerConnectionState_WAITING_getInstance())) {
|
|
4950
4950
|
tmp = GameStartReason_getInstance();
|
|
@@ -4969,24 +4969,24 @@
|
|
|
4969
4969
|
var tmp5_table = mapToClient(updatedTable, UserActionPayload_init_$Create$(aid, tmp2_tableId, tmp1_gameCreatorPlayerId, tmp0_playerId, destination));
|
|
4970
4970
|
return new ContinueGameToClientAction(tmp5_table, reason, null, tmp4_deliveryPayload);
|
|
4971
4971
|
};
|
|
4972
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4972
|
+
protoOf(PlayerConnectionInteractorImpl).cfr = function (playerId, newConnectionState, previousConnectionState) {
|
|
4973
4973
|
var tmp = System_instance.ql();
|
|
4974
4974
|
Companion_getInstance();
|
|
4975
4975
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
4976
|
-
var this_0 = this.
|
|
4976
|
+
var this_0 = this.ffr_1.waitForPlayerToReconnectTimeOutMillis;
|
|
4977
4977
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
4978
4978
|
var reconnectUntilTime = tmp.om(tmp$ret$0);
|
|
4979
4979
|
var tmp0_state = PlayerConnectionState_DISCONNECTING_getInstance();
|
|
4980
4980
|
var tmp1_reconnectUntilTime = reconnectUntilTime.toString();
|
|
4981
|
-
return listOf_0([new PlayerConnectionChangedMechanicAction(playerId, tmp0_state, previousConnectionState, newConnectionState, false, tmp1_reconnectUntilTime), new StartTimerAction(new PlayerReconnectionWaitingTimerTag(playerId, newConnectionState, previousConnectionState), fromInt(this.
|
|
4981
|
+
return listOf_0([new PlayerConnectionChangedMechanicAction(playerId, tmp0_state, previousConnectionState, newConnectionState, false, tmp1_reconnectUntilTime), new StartTimerAction(new PlayerReconnectionWaitingTimerTag(playerId, newConnectionState, previousConnectionState), fromInt(this.ffr_1.waitForPlayerToReconnectTimeOutMillis), VOID, TimerType_DELAY_getInstance())]);
|
|
4982
4982
|
};
|
|
4983
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4983
|
+
protoOf(PlayerConnectionInteractorImpl).efr = function (isBot, playerId, connectedPlayers) {
|
|
4984
4984
|
var tmp;
|
|
4985
4985
|
if (isBot) {
|
|
4986
4986
|
tmp = Companion_instance_3.v78(PlayerConnectionState_LEFT_PERMANENTLY_getInstance());
|
|
4987
4987
|
} else {
|
|
4988
4988
|
var tmp_0;
|
|
4989
|
-
if (this.
|
|
4989
|
+
if (this.ffr_1.waitForPlayerToConnectOnStart) {
|
|
4990
4990
|
var tmp_1;
|
|
4991
4991
|
if (connectedPlayers.m2(playerId)) {
|
|
4992
4992
|
tmp_1 = Companion_instance_3.v78(PlayerConnectionState_LIVE_getInstance());
|
|
@@ -5002,154 +5002,154 @@
|
|
|
5002
5002
|
return tmp;
|
|
5003
5003
|
};
|
|
5004
5004
|
function UpdateServerConfigAction(serverConfig) {
|
|
5005
|
-
this.
|
|
5005
|
+
this.kfr_1 = serverConfig;
|
|
5006
5006
|
}
|
|
5007
5007
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
5008
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
5008
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.kfr_1.toString() + ')';
|
|
5009
5009
|
};
|
|
5010
5010
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
5011
|
-
return this.
|
|
5011
|
+
return this.kfr_1.hashCode();
|
|
5012
5012
|
};
|
|
5013
5013
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
5014
5014
|
if (this === other)
|
|
5015
5015
|
return true;
|
|
5016
5016
|
if (!(other instanceof UpdateServerConfigAction))
|
|
5017
5017
|
return false;
|
|
5018
|
-
if (!this.
|
|
5018
|
+
if (!this.kfr_1.equals(other.kfr_1))
|
|
5019
5019
|
return false;
|
|
5020
5020
|
return true;
|
|
5021
5021
|
};
|
|
5022
5022
|
function AddSpectatorsAction(spectators) {
|
|
5023
|
-
this.
|
|
5023
|
+
this.lfr_1 = spectators;
|
|
5024
5024
|
}
|
|
5025
5025
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
5026
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
5026
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.lfr_1) + ')';
|
|
5027
5027
|
};
|
|
5028
5028
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
5029
|
-
return hashCode(this.
|
|
5029
|
+
return hashCode(this.lfr_1);
|
|
5030
5030
|
};
|
|
5031
5031
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
5032
5032
|
if (this === other)
|
|
5033
5033
|
return true;
|
|
5034
5034
|
if (!(other instanceof AddSpectatorsAction))
|
|
5035
5035
|
return false;
|
|
5036
|
-
if (!equals(this.
|
|
5036
|
+
if (!equals(this.lfr_1, other.lfr_1))
|
|
5037
5037
|
return false;
|
|
5038
5038
|
return true;
|
|
5039
5039
|
};
|
|
5040
5040
|
function RemoveSpectatorsAction(spectators) {
|
|
5041
|
-
this.
|
|
5041
|
+
this.mfr_1 = spectators;
|
|
5042
5042
|
}
|
|
5043
5043
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
5044
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
5044
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.mfr_1) + ')';
|
|
5045
5045
|
};
|
|
5046
5046
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
5047
|
-
return hashCode(this.
|
|
5047
|
+
return hashCode(this.mfr_1);
|
|
5048
5048
|
};
|
|
5049
5049
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
5050
5050
|
if (this === other)
|
|
5051
5051
|
return true;
|
|
5052
5052
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
5053
5053
|
return false;
|
|
5054
|
-
if (!equals(this.
|
|
5054
|
+
if (!equals(this.mfr_1, other.mfr_1))
|
|
5055
5055
|
return false;
|
|
5056
5056
|
return true;
|
|
5057
5057
|
};
|
|
5058
5058
|
function SpectatorsAction() {
|
|
5059
5059
|
}
|
|
5060
5060
|
function _get_asyncProvider__jbpyhw($this) {
|
|
5061
|
-
var tmp0 = $this.
|
|
5061
|
+
var tmp0 = $this.sfr_1;
|
|
5062
5062
|
var tmp = KProperty1;
|
|
5063
5063
|
// Inline function 'kotlin.getValue' call
|
|
5064
5064
|
getPropertyCallableRef('asyncProvider', 1, tmp, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3_0(), null);
|
|
5065
5065
|
return tmp0.o1();
|
|
5066
5066
|
}
|
|
5067
5067
|
function _get_logger__rkp4sl($this) {
|
|
5068
|
-
var tmp0 = $this.
|
|
5068
|
+
var tmp0 = $this.tfr_1;
|
|
5069
5069
|
var tmp = KProperty1;
|
|
5070
5070
|
// Inline function 'kotlin.getValue' call
|
|
5071
5071
|
getPropertyCallableRef('logger', 1, tmp, ServerGameStoreContract$_get_logger_$ref_zbgw28_0(), null);
|
|
5072
5072
|
return tmp0.o1();
|
|
5073
5073
|
}
|
|
5074
5074
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
5075
|
-
var tmp0 = $this.
|
|
5075
|
+
var tmp0 = $this.ufr_1;
|
|
5076
5076
|
var tmp = KProperty1;
|
|
5077
5077
|
// Inline function 'kotlin.getValue' call
|
|
5078
5078
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8_0(), null);
|
|
5079
5079
|
return tmp0.o1();
|
|
5080
5080
|
}
|
|
5081
5081
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
5082
|
-
var tmp0 = $this.
|
|
5082
|
+
var tmp0 = $this.vfr_1;
|
|
5083
5083
|
var tmp = KProperty1;
|
|
5084
5084
|
// Inline function 'kotlin.getValue' call
|
|
5085
5085
|
getPropertyCallableRef('lastCardInteractor', 1, tmp, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh_0(), null);
|
|
5086
5086
|
return tmp0.o1();
|
|
5087
5087
|
}
|
|
5088
5088
|
function _get_serverConfig__rk2g06($this) {
|
|
5089
|
-
var tmp0 = $this.
|
|
5089
|
+
var tmp0 = $this.wfr_1;
|
|
5090
5090
|
var tmp = KProperty1;
|
|
5091
5091
|
// Inline function 'kotlin.getValue' call
|
|
5092
5092
|
getPropertyCallableRef('serverConfig', 1, tmp, ServerGameStoreContract$_get_serverConfig_$ref_bz2891_0(), null);
|
|
5093
5093
|
return tmp0.o1();
|
|
5094
5094
|
}
|
|
5095
5095
|
function _get_logicConfig__52ww9d($this) {
|
|
5096
|
-
var tmp0 = $this.
|
|
5096
|
+
var tmp0 = $this.xfr_1;
|
|
5097
5097
|
var tmp = KProperty1;
|
|
5098
5098
|
// Inline function 'kotlin.getValue' call
|
|
5099
5099
|
getPropertyCallableRef('logicConfig', 1, tmp, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi_0(), null);
|
|
5100
5100
|
return tmp0.o1();
|
|
5101
5101
|
}
|
|
5102
5102
|
function _get_idsProvider__fnfajc_0($this) {
|
|
5103
|
-
var tmp0 = $this.
|
|
5103
|
+
var tmp0 = $this.yfr_1;
|
|
5104
5104
|
var tmp = KProperty1;
|
|
5105
5105
|
// Inline function 'kotlin.getValue' call
|
|
5106
5106
|
getPropertyCallableRef('idsProvider', 1, tmp, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1_0(), null);
|
|
5107
5107
|
return tmp0.o1();
|
|
5108
5108
|
}
|
|
5109
5109
|
function _get_botConfig__cpaxzc($this) {
|
|
5110
|
-
var tmp0 = $this.
|
|
5110
|
+
var tmp0 = $this.zfr_1;
|
|
5111
5111
|
var tmp = KProperty1;
|
|
5112
5112
|
// Inline function 'kotlin.getValue' call
|
|
5113
5113
|
getPropertyCallableRef('botConfig', 1, tmp, ServerGameStoreContract$_get_botConfig_$ref_nebw1d_0(), null);
|
|
5114
5114
|
return tmp0.o1();
|
|
5115
5115
|
}
|
|
5116
5116
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
5117
|
-
var tmp0 = $this.
|
|
5117
|
+
var tmp0 = $this.afs_1;
|
|
5118
5118
|
var tmp = KProperty1;
|
|
5119
5119
|
// Inline function 'kotlin.getValue' call
|
|
5120
5120
|
getPropertyCallableRef('scenePositionProvider', 1, tmp, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4_0(), null);
|
|
5121
5121
|
return tmp0.o1();
|
|
5122
5122
|
}
|
|
5123
5123
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
5124
|
-
var tmp0 = $this.
|
|
5124
|
+
var tmp0 = $this.bfs_1;
|
|
5125
5125
|
var tmp = KProperty1;
|
|
5126
5126
|
// Inline function 'kotlin.getValue' call
|
|
5127
5127
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p_0(), null);
|
|
5128
5128
|
return tmp0.o1();
|
|
5129
5129
|
}
|
|
5130
5130
|
function _get_fromClientEventsObserver__a7vzd3_0($this) {
|
|
5131
|
-
var tmp0 = $this.
|
|
5131
|
+
var tmp0 = $this.cfs_1;
|
|
5132
5132
|
var tmp = KProperty1;
|
|
5133
5133
|
// Inline function 'kotlin.getValue' call
|
|
5134
5134
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg_0(), null);
|
|
5135
5135
|
return tmp0.o1();
|
|
5136
5136
|
}
|
|
5137
5137
|
function _get_dealerConfig__183ci8($this) {
|
|
5138
|
-
var tmp0 = $this.
|
|
5138
|
+
var tmp0 = $this.dfs_1;
|
|
5139
5139
|
var tmp = KProperty1;
|
|
5140
5140
|
// Inline function 'kotlin.getValue' call
|
|
5141
5141
|
getPropertyCallableRef('dealerConfig', 1, tmp, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp_0(), null);
|
|
5142
5142
|
return tmp0.o1();
|
|
5143
5143
|
}
|
|
5144
5144
|
function _get_poolProvider__tqti6a($this) {
|
|
5145
|
-
var tmp0 = $this.
|
|
5145
|
+
var tmp0 = $this.efs_1;
|
|
5146
5146
|
var tmp = KProperty1;
|
|
5147
5147
|
// Inline function 'kotlin.getValue' call
|
|
5148
5148
|
getPropertyCallableRef('poolProvider', 1, tmp, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3_0(), null);
|
|
5149
5149
|
return tmp0.o1();
|
|
5150
5150
|
}
|
|
5151
5151
|
function _get_cardsDealerProvider__bekjpg($this) {
|
|
5152
|
-
var tmp0 = $this.
|
|
5152
|
+
var tmp0 = $this.ffs_1;
|
|
5153
5153
|
var tmp = KProperty1;
|
|
5154
5154
|
// Inline function 'kotlin.getValue' call
|
|
5155
5155
|
getPropertyCallableRef('cardsDealerProvider', 1, tmp, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj_0(), null);
|
|
@@ -5313,11 +5313,11 @@
|
|
|
5313
5313
|
tmp = fileLoggerStoreContract;
|
|
5314
5314
|
}
|
|
5315
5315
|
fileLoggerStoreContract = tmp;
|
|
5316
|
-
this.
|
|
5317
|
-
this.
|
|
5318
|
-
this.
|
|
5319
|
-
this.
|
|
5320
|
-
this.
|
|
5316
|
+
this.nfr_1 = validationStoreContract;
|
|
5317
|
+
this.ofr_1 = timersStoreContract;
|
|
5318
|
+
this.pfr_1 = botGameStoreContract;
|
|
5319
|
+
this.qfr_1 = gameMechanicStoreContract;
|
|
5320
|
+
this.rfr_1 = fileLoggerStoreContract;
|
|
5321
5321
|
var tmp_0 = this;
|
|
5322
5322
|
// Inline function 'org.kodein.di.instance' call
|
|
5323
5323
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5325,7 +5325,7 @@
|
|
|
5325
5325
|
var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
|
|
5326
5326
|
var tmp_2 = Instance(di, tmp$ret$0, null);
|
|
5327
5327
|
var tmp_3 = KProperty1;
|
|
5328
|
-
tmp_0.
|
|
5328
|
+
tmp_0.sfr_1 = tmp_2.c1j(this, getPropertyCallableRef('asyncProvider', 1, tmp_3, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3(), null));
|
|
5329
5329
|
var tmp_4 = this;
|
|
5330
5330
|
// Inline function 'org.kodein.di.instance' call
|
|
5331
5331
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5333,7 +5333,7 @@
|
|
|
5333
5333
|
var tmp$ret$2 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
5334
5334
|
var tmp_6 = Instance(di, tmp$ret$2, null);
|
|
5335
5335
|
var tmp_7 = KProperty1;
|
|
5336
|
-
tmp_4.
|
|
5336
|
+
tmp_4.tfr_1 = tmp_6.c1j(this, getPropertyCallableRef('logger', 1, tmp_7, ServerGameStoreContract$_get_logger_$ref_zbgw28(), null));
|
|
5337
5337
|
var tmp_8 = this;
|
|
5338
5338
|
// Inline function 'org.kodein.di.instance' call
|
|
5339
5339
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5341,7 +5341,7 @@
|
|
|
5341
5341
|
var tmp$ret$4 = isInterface(tmp_9, TypeToken) ? tmp_9 : THROW_CCE();
|
|
5342
5342
|
var tmp_10 = Instance(di, tmp$ret$4, null);
|
|
5343
5343
|
var tmp_11 = KProperty1;
|
|
5344
|
-
tmp_8.
|
|
5344
|
+
tmp_8.ufr_1 = tmp_10.c1j(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_11, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8(), null));
|
|
5345
5345
|
var tmp_12 = this;
|
|
5346
5346
|
// Inline function 'org.kodein.di.instance' call
|
|
5347
5347
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5349,7 +5349,7 @@
|
|
|
5349
5349
|
var tmp$ret$6 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
5350
5350
|
var tmp_14 = Instance(di, tmp$ret$6, null);
|
|
5351
5351
|
var tmp_15 = KProperty1;
|
|
5352
|
-
tmp_12.
|
|
5352
|
+
tmp_12.vfr_1 = tmp_14.c1j(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_15, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh(), null));
|
|
5353
5353
|
var tmp_16 = this;
|
|
5354
5354
|
// Inline function 'org.kodein.di.instance' call
|
|
5355
5355
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5357,7 +5357,7 @@
|
|
|
5357
5357
|
var tmp$ret$8 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
5358
5358
|
var tmp_18 = Instance(di, tmp$ret$8, null);
|
|
5359
5359
|
var tmp_19 = KProperty1;
|
|
5360
|
-
tmp_16.
|
|
5360
|
+
tmp_16.wfr_1 = tmp_18.c1j(this, getPropertyCallableRef('serverConfig', 1, tmp_19, ServerGameStoreContract$_get_serverConfig_$ref_bz2891(), null));
|
|
5361
5361
|
var tmp_20 = this;
|
|
5362
5362
|
// Inline function 'org.kodein.di.instance' call
|
|
5363
5363
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5365,7 +5365,7 @@
|
|
|
5365
5365
|
var tmp$ret$10 = isInterface(tmp_21, TypeToken) ? tmp_21 : THROW_CCE();
|
|
5366
5366
|
var tmp_22 = Instance(di, tmp$ret$10, null);
|
|
5367
5367
|
var tmp_23 = KProperty1;
|
|
5368
|
-
tmp_20.
|
|
5368
|
+
tmp_20.xfr_1 = tmp_22.c1j(this, getPropertyCallableRef('logicConfig', 1, tmp_23, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi(), null));
|
|
5369
5369
|
var tmp_24 = 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$12 = isInterface(tmp_25, TypeToken) ? tmp_25 : THROW_CCE();
|
|
5374
5374
|
var tmp_26 = Instance(di, tmp$ret$12, null);
|
|
5375
5375
|
var tmp_27 = KProperty1;
|
|
5376
|
-
tmp_24.
|
|
5376
|
+
tmp_24.yfr_1 = tmp_26.c1j(this, getPropertyCallableRef('idsProvider', 1, tmp_27, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1(), null));
|
|
5377
5377
|
var tmp_28 = 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$14 = isInterface(tmp_29, TypeToken) ? tmp_29 : THROW_CCE();
|
|
5382
5382
|
var tmp_30 = Instance(di, tmp$ret$14, null);
|
|
5383
5383
|
var tmp_31 = KProperty1;
|
|
5384
|
-
tmp_28.
|
|
5384
|
+
tmp_28.zfr_1 = tmp_30.c1j(this, getPropertyCallableRef('botConfig', 1, tmp_31, ServerGameStoreContract$_get_botConfig_$ref_nebw1d(), null));
|
|
5385
5385
|
var tmp_32 = 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$16 = isInterface(tmp_33, TypeToken) ? tmp_33 : THROW_CCE();
|
|
5390
5390
|
var tmp_34 = Instance(di, tmp$ret$16, null);
|
|
5391
5391
|
var tmp_35 = KProperty1;
|
|
5392
|
-
tmp_32.
|
|
5392
|
+
tmp_32.afs_1 = tmp_34.c1j(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_35, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4(), null));
|
|
5393
5393
|
var tmp_36 = 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$18 = isInterface(tmp_37, TypeToken) ? tmp_37 : THROW_CCE();
|
|
5398
5398
|
var tmp_38 = Instance(di, tmp$ret$18, null);
|
|
5399
5399
|
var tmp_39 = KProperty1;
|
|
5400
|
-
tmp_36.
|
|
5400
|
+
tmp_36.bfs_1 = tmp_38.c1j(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_39, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p(), null));
|
|
5401
5401
|
var tmp_40 = 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$20 = isInterface(tmp_41, TypeToken) ? tmp_41 : THROW_CCE();
|
|
5406
5406
|
var tmp_42 = Instance(di, tmp$ret$20, null);
|
|
5407
5407
|
var tmp_43 = KProperty1;
|
|
5408
|
-
tmp_40.
|
|
5408
|
+
tmp_40.cfs_1 = tmp_42.c1j(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_43, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg(), null));
|
|
5409
5409
|
var tmp_44 = 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$22 = isInterface(tmp_45, TypeToken) ? tmp_45 : THROW_CCE();
|
|
5414
5414
|
var tmp_46 = Instance(di, tmp$ret$22, null);
|
|
5415
5415
|
var tmp_47 = KProperty1;
|
|
5416
|
-
tmp_44.
|
|
5416
|
+
tmp_44.dfs_1 = tmp_46.c1j(this, getPropertyCallableRef('dealerConfig', 1, tmp_47, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp(), null));
|
|
5417
5417
|
var tmp_48 = 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$24 = isInterface(tmp_49, TypeToken) ? tmp_49 : THROW_CCE();
|
|
5422
5422
|
var tmp_50 = Instance(di, tmp$ret$24, null);
|
|
5423
5423
|
var tmp_51 = KProperty1;
|
|
5424
|
-
tmp_48.
|
|
5424
|
+
tmp_48.efs_1 = tmp_50.c1j(this, getPropertyCallableRef('poolProvider', 1, tmp_51, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3(), null));
|
|
5425
5425
|
var tmp_52 = this;
|
|
5426
5426
|
// Inline function 'org.kodein.di.instance' call
|
|
5427
5427
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5429,20 +5429,20 @@
|
|
|
5429
5429
|
var tmp$ret$26 = isInterface(tmp_53, TypeToken) ? tmp_53 : THROW_CCE();
|
|
5430
5430
|
var tmp_54 = Instance(di, tmp$ret$26, null);
|
|
5431
5431
|
var tmp_55 = KProperty1;
|
|
5432
|
-
tmp_52.
|
|
5432
|
+
tmp_52.ffs_1 = tmp_54.c1j(this, getPropertyCallableRef('cardsDealerProvider', 1, tmp_55, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj(), null));
|
|
5433
5433
|
}
|
|
5434
|
-
protoOf(ServerGameStoreContract).
|
|
5435
|
-
return plus(plus(plus(plus(plus(this.
|
|
5434
|
+
protoOf(ServerGameStoreContract).qan = function () {
|
|
5435
|
+
return plus(plus(plus(plus(plus(this.nfr_1.qan(), this.qfr_1.qan()), this.ofr_1.qan()), this.pfr_1.qan()), this.rfr_1.qan()), listOf_0([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl(this)), playerConnectionUpdateReducer()]));
|
|
5436
5436
|
};
|
|
5437
|
-
protoOf(ServerGameStoreContract).
|
|
5438
|
-
var tmp = this.
|
|
5437
|
+
protoOf(ServerGameStoreContract).ran = function () {
|
|
5438
|
+
var tmp = this.nfr_1.ran();
|
|
5439
5439
|
var tmp_0;
|
|
5440
5440
|
if (_get_serverConfig__rk2g06(this).finishGameWhenNotLiveStrategy.equals(FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance())) {
|
|
5441
5441
|
tmp_0 = checkBotsMiddleware(_get_logger__rkp4sl(this));
|
|
5442
5442
|
} else {
|
|
5443
5443
|
tmp_0 = null;
|
|
5444
5444
|
}
|
|
5445
|
-
var tmp_1 = plus(plus(plus(plus(plus(tmp, listOfNotNull(tmp_0)), this.
|
|
5445
|
+
var tmp_1 = plus(plus(plus(plus(plus(tmp, listOfNotNull(tmp_0)), this.qfr_1.ran()), this.ofr_1.ran()), this.pfr_1.ran()), this.rfr_1.ran());
|
|
5446
5446
|
var tmp_2 = playerConnectionUpdateMiddleware(_get_logger__rkp4sl(this), _get_playerConnectionInteractor__si6cxf_0(this));
|
|
5447
5447
|
var tmp_3 = playerReconnectionTimeoutMiddleware(_get_playerConnectionInteractor__si6cxf_0(this));
|
|
5448
5448
|
var tmp_4;
|
|
@@ -5451,13 +5451,13 @@
|
|
|
5451
5451
|
} else {
|
|
5452
5452
|
tmp_4 = null;
|
|
5453
5453
|
}
|
|
5454
|
-
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))).
|
|
5454
|
+
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))).zap(), finishingGameWhenCantStartNewMiddleware()]));
|
|
5455
5455
|
var tmp_6 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this), _get_logger__rkp4sl(this));
|
|
5456
5456
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
5457
5457
|
var tmp1_logger = _get_logger__rkp4sl(this);
|
|
5458
5458
|
var tmp2_asyncProvider = _get_asyncProvider__jbpyhw(this);
|
|
5459
5459
|
var tmp_7 = playerTurnTimeoutWhenHasConnectionMiddleware(tmp0_serverConfig, tmp2_asyncProvider, tmp1_logger);
|
|
5460
|
-
var tmp_8 = clearOnFinishMiddleware(_get_asyncProvider__jbpyhw(this), listOfNotNull_0([_get_toClientEventsObserver__6rp51y_0(this), this.
|
|
5460
|
+
var tmp_8 = clearOnFinishMiddleware(_get_asyncProvider__jbpyhw(this), listOfNotNull_0([_get_toClientEventsObserver__6rp51y_0(this), this.rfr_1.aao()]));
|
|
5461
5461
|
var tmp3_asyncProvider = _get_asyncProvider__jbpyhw(this);
|
|
5462
5462
|
var tmp4_dealerConfig = _get_dealerConfig__183ci8(this);
|
|
5463
5463
|
var tmp5_poolProvider = _get_poolProvider__tqti6a(this);
|
|
@@ -5502,7 +5502,7 @@
|
|
|
5502
5502
|
return this.i7k(store, next, action);
|
|
5503
5503
|
};
|
|
5504
5504
|
function ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
|
|
5505
|
-
this.
|
|
5505
|
+
this.jfs_1 = this$0;
|
|
5506
5506
|
}
|
|
5507
5507
|
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).t7i = function (action) {
|
|
5508
5508
|
return action instanceof MechanicAction;
|
|
@@ -5513,17 +5513,17 @@
|
|
|
5513
5513
|
// Inline function 'kotlin.with' call
|
|
5514
5514
|
var tmp;
|
|
5515
5515
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
5516
|
-
var tmp0 = this.
|
|
5517
|
-
var tmp2 = action_0.
|
|
5518
|
-
var tmp4 = action_0.
|
|
5516
|
+
var tmp0 = this.jfs_1;
|
|
5517
|
+
var tmp2 = action_0.l9d_1;
|
|
5518
|
+
var tmp4 = action_0.n9d_1;
|
|
5519
5519
|
// Inline function 'kotlin.collections.map' call
|
|
5520
|
-
var this_0 = action_0.
|
|
5520
|
+
var this_0 = action_0.o9d_1;
|
|
5521
5521
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5522
5522
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
5523
5523
|
var _iterator__ex2g4s = this_0.t();
|
|
5524
5524
|
while (_iterator__ex2g4s.u()) {
|
|
5525
5525
|
var item = _iterator__ex2g4s.v();
|
|
5526
|
-
var tmp$ret$0 = to(item.r77_1, this.
|
|
5526
|
+
var tmp$ret$0 = to(item.r77_1, this.jfs_1.ifs_1.efr(item.isBot, item.r77_1, get_serverStatePayload(state).connectedPlayers).q78_1);
|
|
5527
5527
|
destination.e1(tmp$ret$0);
|
|
5528
5528
|
}
|
|
5529
5529
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
@@ -5553,7 +5553,7 @@
|
|
|
5553
5553
|
var _iterator__ex2g4s_2 = destination_1.t();
|
|
5554
5554
|
while (_iterator__ex2g4s_2.u()) {
|
|
5555
5555
|
var element_0 = _iterator__ex2g4s_2.v();
|
|
5556
|
-
var tmp0_aid = tmp0.
|
|
5556
|
+
var tmp0_aid = tmp0.hfs_1.e7g();
|
|
5557
5557
|
// Inline function 'kotlin.collections.map' call
|
|
5558
5558
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5559
5559
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -5575,15 +5575,15 @@
|
|
|
5575
5575
|
tmp = destination_2;
|
|
5576
5576
|
} else {
|
|
5577
5577
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
5578
|
-
var tmp0_0 = this.
|
|
5578
|
+
var tmp0_0 = this.jfs_1;
|
|
5579
5579
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5580
5580
|
var tableId = state.s7v().id;
|
|
5581
|
-
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.
|
|
5581
|
+
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.hfs_1.e7g(), tableId, null);
|
|
5582
5582
|
var tmp$ret$21 = mapToClient_18(action_0, sendToPlayer_0);
|
|
5583
5583
|
tmp = listOfNotNull(tmp$ret$21);
|
|
5584
5584
|
} else {
|
|
5585
5585
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
5586
|
-
var tmp0_1 = this.
|
|
5586
|
+
var tmp0_1 = this.jfs_1;
|
|
5587
5587
|
var tmp2_0 = action_0.table.id;
|
|
5588
5588
|
var tmp4_0 = action_0.gameCreatorPlayerId;
|
|
5589
5589
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -5623,7 +5623,7 @@
|
|
|
5623
5623
|
var _iterator__ex2g4s_7 = destination_6.t();
|
|
5624
5624
|
while (_iterator__ex2g4s_7.u()) {
|
|
5625
5625
|
var element_2 = _iterator__ex2g4s_7.v();
|
|
5626
|
-
var tmp0_aid_0 = tmp0_1.
|
|
5626
|
+
var tmp0_aid_0 = tmp0_1.hfs_1.e7g();
|
|
5627
5627
|
// Inline function 'kotlin.collections.map' call
|
|
5628
5628
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5629
5629
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -5645,39 +5645,39 @@
|
|
|
5645
5645
|
tmp = destination_7;
|
|
5646
5646
|
} else {
|
|
5647
5647
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
5648
|
-
var tmp0_2 = this.
|
|
5648
|
+
var tmp0_2 = this.jfs_1;
|
|
5649
5649
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5650
5650
|
var tableId_0 = state.s7v().id;
|
|
5651
|
-
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.
|
|
5651
|
+
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.hfs_1.e7g(), tableId_0, null);
|
|
5652
5652
|
var tmp$ret$44 = mapToClient_16(action_0, sendToPlayer_2);
|
|
5653
5653
|
tmp = listOfNotNull(tmp$ret$44);
|
|
5654
5654
|
} else {
|
|
5655
5655
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
5656
|
-
var tmp0_3 = this.
|
|
5656
|
+
var tmp0_3 = this.jfs_1;
|
|
5657
5657
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5658
5658
|
var tableId_1 = state.s7v().id;
|
|
5659
|
-
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.
|
|
5659
|
+
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.hfs_1.e7g(), tableId_1, null);
|
|
5660
5660
|
var tmp$ret$46 = mapToClient_15(action_0, sendToPlayer_3);
|
|
5661
5661
|
tmp = listOfNotNull(tmp$ret$46);
|
|
5662
5662
|
} else {
|
|
5663
5663
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
5664
|
-
var tmp0_4 = this.
|
|
5664
|
+
var tmp0_4 = this.jfs_1;
|
|
5665
5665
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5666
5666
|
var tableId_2 = state.s7v().id;
|
|
5667
|
-
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.
|
|
5667
|
+
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.hfs_1.e7g(), tableId_2, null);
|
|
5668
5668
|
var tmp$ret$48 = mapToClient_14(action_0, sendToPlayer_4);
|
|
5669
5669
|
tmp = listOfNotNull(tmp$ret$48);
|
|
5670
5670
|
} else {
|
|
5671
5671
|
if (action_0 instanceof ErrorAction) {
|
|
5672
|
-
var tmp0_5 = this.
|
|
5672
|
+
var tmp0_5 = this.jfs_1;
|
|
5673
5673
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5674
5674
|
var tableId_3 = state.s7v().id;
|
|
5675
|
-
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.
|
|
5675
|
+
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.hfs_1.e7g(), tableId_3, null);
|
|
5676
5676
|
var tmp$ret$50 = mapToClient_13(action_0, sendToPlayer_5);
|
|
5677
5677
|
tmp = listOfNotNull(tmp$ret$50);
|
|
5678
5678
|
} else {
|
|
5679
5679
|
if (action_0 instanceof SceneMechanicAction) {
|
|
5680
|
-
var tmp0_6 = this.
|
|
5680
|
+
var tmp0_6 = this.jfs_1;
|
|
5681
5681
|
var tmp2_1 = state.s7v().id;
|
|
5682
5682
|
var tmp4_1 = state.s7v().playersConnections;
|
|
5683
5683
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
@@ -5709,7 +5709,7 @@
|
|
|
5709
5709
|
var _iterator__ex2g4s_11 = destination_10.t();
|
|
5710
5710
|
while (_iterator__ex2g4s_11.u()) {
|
|
5711
5711
|
var element_4 = _iterator__ex2g4s_11.v();
|
|
5712
|
-
var tmp0_aid_1 = tmp0_6.
|
|
5712
|
+
var tmp0_aid_1 = tmp0_6.hfs_1.e7g();
|
|
5713
5713
|
// Inline function 'kotlin.collections.map' call
|
|
5714
5714
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5715
5715
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(tmp4_1, 10));
|
|
@@ -5731,7 +5731,7 @@
|
|
|
5731
5731
|
tmp = destination_11;
|
|
5732
5732
|
} else {
|
|
5733
5733
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
5734
|
-
var tmp0_7 = this.
|
|
5734
|
+
var tmp0_7 = this.jfs_1;
|
|
5735
5735
|
var tmp2_2 = state.s7v().id;
|
|
5736
5736
|
var tmp4_2 = state.s7v().playersConnections;
|
|
5737
5737
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
@@ -5763,7 +5763,7 @@
|
|
|
5763
5763
|
var _iterator__ex2g4s_15 = destination_14.t();
|
|
5764
5764
|
while (_iterator__ex2g4s_15.u()) {
|
|
5765
5765
|
var element_6 = _iterator__ex2g4s_15.v();
|
|
5766
|
-
var tmp0_aid_2 = tmp0_7.
|
|
5766
|
+
var tmp0_aid_2 = tmp0_7.hfs_1.e7g();
|
|
5767
5767
|
// Inline function 'kotlin.collections.map' call
|
|
5768
5768
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5769
5769
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(tmp4_2, 10));
|
|
@@ -5785,7 +5785,7 @@
|
|
|
5785
5785
|
tmp = destination_15;
|
|
5786
5786
|
} else {
|
|
5787
5787
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
5788
|
-
var tmp0_8 = this.
|
|
5788
|
+
var tmp0_8 = this.jfs_1;
|
|
5789
5789
|
var tmp2_3 = state.s7v().id;
|
|
5790
5790
|
var tmp4_3 = state.s7v().playersConnections;
|
|
5791
5791
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
@@ -5817,7 +5817,7 @@
|
|
|
5817
5817
|
var _iterator__ex2g4s_19 = destination_18.t();
|
|
5818
5818
|
while (_iterator__ex2g4s_19.u()) {
|
|
5819
5819
|
var element_8 = _iterator__ex2g4s_19.v();
|
|
5820
|
-
var tmp0_aid_3 = tmp0_8.
|
|
5820
|
+
var tmp0_aid_3 = tmp0_8.hfs_1.e7g();
|
|
5821
5821
|
// Inline function 'kotlin.collections.map' call
|
|
5822
5822
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5823
5823
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(tmp4_3, 10));
|
|
@@ -5829,7 +5829,7 @@
|
|
|
5829
5829
|
}
|
|
5830
5830
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tmp2_3, gameCreatorPlayerId_1, element_8, destination_20);
|
|
5831
5831
|
var tmp_0;
|
|
5832
|
-
if (this.
|
|
5832
|
+
if (this.jfs_1.gfs_1.supportBackwardActions && getPlayer(state.s7v().players, sendToPlayer_8.r8n_1).l7z_1.r84_1) {
|
|
5833
5833
|
tmp_0 = null;
|
|
5834
5834
|
} else {
|
|
5835
5835
|
tmp_0 = mapToClient_10(action_0, sendToPlayer_8);
|
|
@@ -5845,81 +5845,81 @@
|
|
|
5845
5845
|
tmp = destination_19;
|
|
5846
5846
|
} else {
|
|
5847
5847
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
5848
|
-
var tmp0_9 = this.
|
|
5848
|
+
var tmp0_9 = this.jfs_1;
|
|
5849
5849
|
var tmp2_4 = state.s7v().id;
|
|
5850
5850
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5851
|
-
var exceptPlayerId = this.
|
|
5852
|
-
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.
|
|
5851
|
+
var exceptPlayerId = this.jfs_1.gfs_1.supportBackwardActions ? action_0.n9e_1 : null;
|
|
5852
|
+
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.hfs_1.e7g(), tmp2_4, exceptPlayerId);
|
|
5853
5853
|
var tmp$ret$109 = mapToClient_9(action_0, sendToPlayer_9);
|
|
5854
5854
|
tmp = listOfNotNull(tmp$ret$109);
|
|
5855
5855
|
} else {
|
|
5856
5856
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
5857
|
-
var tmp0_10 = this.
|
|
5857
|
+
var tmp0_10 = this.jfs_1;
|
|
5858
5858
|
var tmp2_5 = state.s7v().id;
|
|
5859
5859
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5860
|
-
var exceptPlayerId_0 = this.
|
|
5861
|
-
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.
|
|
5860
|
+
var exceptPlayerId_0 = this.jfs_1.gfs_1.supportBackwardActions ? action_0.r9e_1 : null;
|
|
5861
|
+
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.hfs_1.e7g(), tmp2_5, exceptPlayerId_0);
|
|
5862
5862
|
var tmp$ret$111 = mapToClient_8(action_0, sendToPlayer_10);
|
|
5863
5863
|
tmp = listOfNotNull(tmp$ret$111);
|
|
5864
5864
|
} else {
|
|
5865
5865
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
5866
|
-
var tmp0_11 = this.
|
|
5866
|
+
var tmp0_11 = this.jfs_1;
|
|
5867
5867
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5868
5868
|
var tableId_4 = state.s7v().id;
|
|
5869
|
-
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.
|
|
5869
|
+
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.hfs_1.e7g(), tableId_4, null);
|
|
5870
5870
|
var tmp$ret$113 = mapToClient_7(action_0, sendToPlayer_11);
|
|
5871
5871
|
tmp = listOfNotNull(tmp$ret$113);
|
|
5872
5872
|
} else {
|
|
5873
5873
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
5874
|
-
var tmp0_12 = this.
|
|
5874
|
+
var tmp0_12 = this.jfs_1;
|
|
5875
5875
|
var tmp2_6 = state.s7v().id;
|
|
5876
5876
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5877
|
-
var exceptPlayerId_1 = this.
|
|
5878
|
-
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.
|
|
5877
|
+
var exceptPlayerId_1 = this.jfs_1.gfs_1.supportBackwardActions ? action_0.y9e_1 : null;
|
|
5878
|
+
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.hfs_1.e7g(), tmp2_6, exceptPlayerId_1);
|
|
5879
5879
|
var tmp$ret$115 = mapToClient_6(action_0, sendToPlayer_12);
|
|
5880
5880
|
tmp = listOfNotNull(tmp$ret$115);
|
|
5881
5881
|
} else {
|
|
5882
5882
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
5883
|
-
var tmp0_13 = this.
|
|
5883
|
+
var tmp0_13 = this.jfs_1;
|
|
5884
5884
|
var tmp2_7 = state.s7v().id;
|
|
5885
5885
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5886
|
-
var exceptPlayerId_2 = this.
|
|
5887
|
-
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.
|
|
5886
|
+
var exceptPlayerId_2 = this.jfs_1.gfs_1.supportBackwardActions ? action_0.d9f_1 : null;
|
|
5887
|
+
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.hfs_1.e7g(), tmp2_7, exceptPlayerId_2);
|
|
5888
5888
|
var tmp$ret$117 = mapToClient_5(action_0, sendToPlayer_13);
|
|
5889
5889
|
tmp = listOfNotNull(tmp$ret$117);
|
|
5890
5890
|
} else {
|
|
5891
5891
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
5892
|
-
var tmp0_14 = this.
|
|
5892
|
+
var tmp0_14 = this.jfs_1;
|
|
5893
5893
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5894
5894
|
var tableId_5 = state.s7v().id;
|
|
5895
|
-
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.
|
|
5895
|
+
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.hfs_1.e7g(), tableId_5, null);
|
|
5896
5896
|
var tmp$ret$119 = mapToClient_4(action_0, sendToPlayer_14);
|
|
5897
5897
|
tmp = listOfNotNull(tmp$ret$119);
|
|
5898
5898
|
} else {
|
|
5899
5899
|
if (action_0 instanceof TakeAllRemainingCardsMechanicAction) {
|
|
5900
|
-
var tmp0_15 = this.
|
|
5900
|
+
var tmp0_15 = this.jfs_1;
|
|
5901
5901
|
var tmp2_8 = state.s7v().id;
|
|
5902
5902
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5903
|
-
var exceptPlayerId_3 = this.
|
|
5904
|
-
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.
|
|
5903
|
+
var exceptPlayerId_3 = this.jfs_1.gfs_1.supportBackwardActions ? action_0.k9f_1 : null;
|
|
5904
|
+
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.hfs_1.e7g(), tmp2_8, exceptPlayerId_3);
|
|
5905
5905
|
var tmp$ret$121 = mapToClient_3(action_0, sendToPlayer_15);
|
|
5906
5906
|
tmp = listOfNotNull(tmp$ret$121);
|
|
5907
5907
|
} else {
|
|
5908
5908
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
5909
|
-
var tmp0_16 = this.
|
|
5909
|
+
var tmp0_16 = this.jfs_1;
|
|
5910
5910
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5911
5911
|
var tableId_6 = state.s7v().id;
|
|
5912
|
-
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.
|
|
5912
|
+
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.hfs_1.e7g(), tableId_6, null);
|
|
5913
5913
|
var tmp$ret$123 = mapToClient_2(action_0, sendToPlayer_16);
|
|
5914
5914
|
tmp = listOfNotNull(tmp$ret$123);
|
|
5915
5915
|
} else {
|
|
5916
5916
|
if (action_0 instanceof MessageMechanicAction) {
|
|
5917
5917
|
var message = action_0.message;
|
|
5918
|
-
var tmp0_17 = this.
|
|
5918
|
+
var tmp0_17 = this.jfs_1;
|
|
5919
5919
|
var tmp2_9 = state.s7v().id;
|
|
5920
5920
|
var tmp_1;
|
|
5921
5921
|
var tmp_2;
|
|
5922
|
-
if (this.
|
|
5922
|
+
if (this.jfs_1.gfs_1.supportBackwardActions) {
|
|
5923
5923
|
tmp_2 = isInterface(message, UserMessage);
|
|
5924
5924
|
} else {
|
|
5925
5925
|
tmp_2 = false;
|
|
@@ -5931,16 +5931,16 @@
|
|
|
5931
5931
|
}
|
|
5932
5932
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5933
5933
|
var exceptPlayerId_4 = tmp_1;
|
|
5934
|
-
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.
|
|
5934
|
+
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.hfs_1.e7g(), tmp2_9, exceptPlayerId_4);
|
|
5935
5935
|
var tmp$ret$125 = mapToClient_1(action_0, sendToPlayer_17);
|
|
5936
5936
|
tmp = listOfNotNull(tmp$ret$125);
|
|
5937
5937
|
} else {
|
|
5938
5938
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
5939
|
-
var tmp0_18 = this.
|
|
5939
|
+
var tmp0_18 = this.jfs_1;
|
|
5940
5940
|
var tmp2_10 = state.s7v().id;
|
|
5941
5941
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5942
5942
|
var exceptPlayerId_5 = action_0.playerId;
|
|
5943
|
-
var sendToPlayer_18 = new RoomActionPayload(tmp0_18.
|
|
5943
|
+
var sendToPlayer_18 = new RoomActionPayload(tmp0_18.hfs_1.e7g(), tmp2_10, exceptPlayerId_5);
|
|
5944
5944
|
var tmp$ret$127 = mapToClient_0(action_0, sendToPlayer_18);
|
|
5945
5945
|
tmp = listOfNotNull(tmp$ret$127);
|
|
5946
5946
|
} else {
|
|
@@ -5978,11 +5978,11 @@
|
|
|
5978
5978
|
return this.i7k(store, next, action);
|
|
5979
5979
|
};
|
|
5980
5980
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider, playerConnectionInteractor) {
|
|
5981
|
-
this.
|
|
5982
|
-
this.
|
|
5983
|
-
this.
|
|
5981
|
+
this.gfs_1 = logicConfig;
|
|
5982
|
+
this.hfs_1 = idsProvider;
|
|
5983
|
+
this.ifs_1 = playerConnectionInteractor;
|
|
5984
5984
|
}
|
|
5985
|
-
protoOf(ServerMapMechanicToClientActionMiddleware).
|
|
5985
|
+
protoOf(ServerMapMechanicToClientActionMiddleware).zap = function () {
|
|
5986
5986
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
5987
5987
|
return new ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this);
|
|
5988
5988
|
};
|
|
@@ -5991,8 +5991,8 @@
|
|
|
5991
5991
|
return new playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1(logger, playerConnectionInteractor);
|
|
5992
5992
|
}
|
|
5993
5993
|
function playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1($logger, $playerConnectionInteractor) {
|
|
5994
|
-
this.
|
|
5995
|
-
this.
|
|
5994
|
+
this.kfs_1 = $logger;
|
|
5995
|
+
this.lfs_1 = $playerConnectionInteractor;
|
|
5996
5996
|
}
|
|
5997
5997
|
protoOf(playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1).t7i = function (action) {
|
|
5998
5998
|
return action instanceof PlayerConnectionUpdateAction;
|
|
@@ -6005,15 +6005,15 @@
|
|
|
6005
6005
|
if (!get_isCreated(state)) {
|
|
6006
6006
|
break $l$block_1;
|
|
6007
6007
|
}
|
|
6008
|
-
var player = getPlayer(state.s7v().players, tmp4.
|
|
6009
|
-
if (tmp4.
|
|
6008
|
+
var player = getPlayer(state.s7v().players, tmp4.oak_1);
|
|
6009
|
+
if (tmp4.nak_1.isVisibleDisconnectedReason) {
|
|
6010
6010
|
if (player.j7z_1.g7a().q78_1.isDisconnecting) {
|
|
6011
|
-
if (tmp4.
|
|
6011
|
+
if (tmp4.nak_1.canReconnect) {
|
|
6012
6012
|
break $l$block_1;
|
|
6013
6013
|
}
|
|
6014
6014
|
}
|
|
6015
6015
|
if (player.j7z_1.g7a().q78_1.isLeftPermanently) {
|
|
6016
|
-
this.
|
|
6016
|
+
this.kfs_1.w('playerConnectionUpdateMiddleware', "player connection state can't be changed after [playerLeft] is invoked, " + tmp4.toString());
|
|
6017
6017
|
break $l$block_1;
|
|
6018
6018
|
}
|
|
6019
6019
|
}
|
|
@@ -6036,7 +6036,7 @@
|
|
|
6036
6036
|
var _iterator__ex2g4s_0 = destination.t();
|
|
6037
6037
|
while (_iterator__ex2g4s_0.u()) {
|
|
6038
6038
|
var element_0 = _iterator__ex2g4s_0.v();
|
|
6039
|
-
if (element_0.
|
|
6039
|
+
if (element_0.mfs_1 === tmp4.oak_1) {
|
|
6040
6040
|
if (found) {
|
|
6041
6041
|
tmp$ret$4 = null;
|
|
6042
6042
|
break $l$block_3;
|
|
@@ -6055,7 +6055,7 @@
|
|
|
6055
6055
|
if (!(reconnectionTimerTag == null)) {
|
|
6056
6056
|
store.dispatch(new StopTimerAction(reconnectionTimerTag));
|
|
6057
6057
|
}
|
|
6058
|
-
var actions = this.
|
|
6058
|
+
var actions = this.lfs_1.bfr(tmp4.nak_1, player.j7z_1.g7a().q78_1, player, store.state.s7v(), tmp4.qak_1);
|
|
6059
6059
|
// Inline function 'kotlin.collections.forEach' call
|
|
6060
6060
|
var _iterator__ex2g4s_1 = actions.t();
|
|
6061
6061
|
while (_iterator__ex2g4s_1.u()) {
|
|
@@ -6068,17 +6068,17 @@
|
|
|
6068
6068
|
return this.i7k(store, next, action);
|
|
6069
6069
|
};
|
|
6070
6070
|
function PlayerReconnectionWaitingTimerTag(playerId, state, previousState) {
|
|
6071
|
-
this.
|
|
6072
|
-
this.
|
|
6073
|
-
this.
|
|
6071
|
+
this.mfs_1 = playerId;
|
|
6072
|
+
this.nfs_1 = state;
|
|
6073
|
+
this.ofs_1 = previousState;
|
|
6074
6074
|
}
|
|
6075
6075
|
protoOf(PlayerReconnectionWaitingTimerTag).toString = function () {
|
|
6076
|
-
return 'PlayerReconnectionWaitingTimerTag(playerId=' + this.
|
|
6076
|
+
return 'PlayerReconnectionWaitingTimerTag(playerId=' + this.mfs_1 + ', state=' + this.nfs_1.toString() + ', previousState=' + this.ofs_1.toString() + ')';
|
|
6077
6077
|
};
|
|
6078
6078
|
protoOf(PlayerReconnectionWaitingTimerTag).hashCode = function () {
|
|
6079
|
-
var result = getStringHashCode(this.
|
|
6080
|
-
result = imul(result, 31) + this.
|
|
6081
|
-
result = imul(result, 31) + this.
|
|
6079
|
+
var result = getStringHashCode(this.mfs_1);
|
|
6080
|
+
result = imul(result, 31) + this.nfs_1.hashCode() | 0;
|
|
6081
|
+
result = imul(result, 31) + this.ofs_1.hashCode() | 0;
|
|
6082
6082
|
return result;
|
|
6083
6083
|
};
|
|
6084
6084
|
protoOf(PlayerReconnectionWaitingTimerTag).equals = function (other) {
|
|
@@ -6086,11 +6086,11 @@
|
|
|
6086
6086
|
return true;
|
|
6087
6087
|
if (!(other instanceof PlayerReconnectionWaitingTimerTag))
|
|
6088
6088
|
return false;
|
|
6089
|
-
if (!(this.
|
|
6089
|
+
if (!(this.mfs_1 === other.mfs_1))
|
|
6090
6090
|
return false;
|
|
6091
|
-
if (!this.
|
|
6091
|
+
if (!this.nfs_1.equals(other.nfs_1))
|
|
6092
6092
|
return false;
|
|
6093
|
-
if (!this.
|
|
6093
|
+
if (!this.ofs_1.equals(other.ofs_1))
|
|
6094
6094
|
return false;
|
|
6095
6095
|
return true;
|
|
6096
6096
|
};
|
|
@@ -6099,7 +6099,7 @@
|
|
|
6099
6099
|
return new playerReconnectionTimeoutMiddleware$$inlined$middlewareForActionType$1(playerConnectionInteractor);
|
|
6100
6100
|
}
|
|
6101
6101
|
function playerReconnectionTimeoutMiddleware$$inlined$middlewareForActionType$1($playerConnectionInteractor) {
|
|
6102
|
-
this.
|
|
6102
|
+
this.pfs_1 = $playerConnectionInteractor;
|
|
6103
6103
|
}
|
|
6104
6104
|
protoOf(playerReconnectionTimeoutMiddleware$$inlined$middlewareForActionType$1).t7i = function (action) {
|
|
6105
6105
|
return action instanceof TimerTickAction;
|
|
@@ -6113,8 +6113,8 @@
|
|
|
6113
6113
|
var timerTag = tmp4.p7i_1;
|
|
6114
6114
|
if (timerTag instanceof PlayerReconnectionWaitingTimerTag) {
|
|
6115
6115
|
var state = store.state;
|
|
6116
|
-
var player = getPlayer(state.s7v().players, timerTag.
|
|
6117
|
-
var actions = this.
|
|
6116
|
+
var player = getPlayer(state.s7v().players, timerTag.mfs_1);
|
|
6117
|
+
var actions = this.pfs_1.bfr(timerTag.nfs_1, timerTag.ofs_1, player, state.s7v(), true);
|
|
6118
6118
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
6119
6119
|
if (!actions.r()) {
|
|
6120
6120
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -6136,7 +6136,7 @@
|
|
|
6136
6136
|
return new playerReconnectionTimerStartWhenStartGameMiddleware$$inlined$middlewareForActionType$1(playerConnectionInteractor);
|
|
6137
6137
|
}
|
|
6138
6138
|
function playerReconnectionTimerStartWhenStartGameMiddleware$$inlined$middlewareForActionType$1($playerConnectionInteractor) {
|
|
6139
|
-
this.
|
|
6139
|
+
this.qfs_1 = $playerConnectionInteractor;
|
|
6140
6140
|
}
|
|
6141
6141
|
protoOf(playerReconnectionTimerStartWhenStartGameMiddleware$$inlined$middlewareForActionType$1).t7i = function (action) {
|
|
6142
6142
|
return isInterface(action, FirstMechanicAction);
|
|
@@ -6164,7 +6164,7 @@
|
|
|
6164
6164
|
var tmp1_previousConnectionState = element_0.j7z_1.g7a().q78_1;
|
|
6165
6165
|
var tmp2_playerId = element_0.playerId;
|
|
6166
6166
|
// Inline function 'kotlin.collections.forEach' call
|
|
6167
|
-
var _iterator__ex2g4s_1 = this.
|
|
6167
|
+
var _iterator__ex2g4s_1 = this.qfs_1.cfr(tmp2_playerId, tmp0_newConnectionState, tmp1_previousConnectionState).t();
|
|
6168
6168
|
while (_iterator__ex2g4s_1.u()) {
|
|
6169
6169
|
var element_1 = _iterator__ex2g4s_1.v();
|
|
6170
6170
|
store.dispatch(element_1);
|
|
@@ -6179,8 +6179,8 @@
|
|
|
6179
6179
|
return new sendToClientActionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, provider);
|
|
6180
6180
|
}
|
|
6181
6181
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
6182
|
-
this.
|
|
6183
|
-
this.
|
|
6182
|
+
this.zfs_1 = $provider;
|
|
6183
|
+
this.aft_1 = $action;
|
|
6184
6184
|
CoroutineImpl.call(this, resultContinuation);
|
|
6185
6185
|
}
|
|
6186
6186
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).x2c = function ($this$launchDefault, $completion) {
|
|
@@ -6201,7 +6201,7 @@
|
|
|
6201
6201
|
case 0:
|
|
6202
6202
|
this.j9_1 = 2;
|
|
6203
6203
|
this.i9_1 = 1;
|
|
6204
|
-
suspendResult = this.
|
|
6204
|
+
suspendResult = this.zfs_1.vfo(this.aft_1, this);
|
|
6205
6205
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
6206
6206
|
return suspendResult;
|
|
6207
6207
|
}
|
|
@@ -6224,8 +6224,8 @@
|
|
|
6224
6224
|
while (true);
|
|
6225
6225
|
};
|
|
6226
6226
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).y2c = function ($this$launchDefault, completion) {
|
|
6227
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
6228
|
-
i.
|
|
6227
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.zfs_1, this.aft_1, completion);
|
|
6228
|
+
i.bft_1 = $this$launchDefault;
|
|
6229
6229
|
return i;
|
|
6230
6230
|
};
|
|
6231
6231
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -6237,15 +6237,15 @@
|
|
|
6237
6237
|
return l;
|
|
6238
6238
|
}
|
|
6239
6239
|
function sendToClientActionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $provider) {
|
|
6240
|
-
this.
|
|
6241
|
-
this.
|
|
6240
|
+
this.cft_1 = $asyncProvider;
|
|
6241
|
+
this.dft_1 = $provider;
|
|
6242
6242
|
}
|
|
6243
6243
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).t7i = function (action) {
|
|
6244
6244
|
return action instanceof ToClientAction;
|
|
6245
6245
|
};
|
|
6246
6246
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).i7k = function (store, next, action) {
|
|
6247
6247
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
6248
|
-
this.
|
|
6248
|
+
this.cft_1.j7e(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.dft_1, action_0, null));
|
|
6249
6249
|
next(action_0);
|
|
6250
6250
|
};
|
|
6251
6251
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).s7i = function (store, next, action) {
|
|
@@ -6256,11 +6256,11 @@
|
|
|
6256
6256
|
return new playerTurnTimeoutWhenHasConnectionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, serverConfig, logger);
|
|
6257
6257
|
}
|
|
6258
6258
|
function playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda($store, $timerTag, $serverConfig, $logger, $action, resultContinuation) {
|
|
6259
|
-
this.
|
|
6260
|
-
this.
|
|
6261
|
-
this.
|
|
6262
|
-
this.
|
|
6263
|
-
this.
|
|
6259
|
+
this.mft_1 = $store;
|
|
6260
|
+
this.nft_1 = $timerTag;
|
|
6261
|
+
this.oft_1 = $serverConfig;
|
|
6262
|
+
this.pft_1 = $logger;
|
|
6263
|
+
this.qft_1 = $action;
|
|
6264
6264
|
CoroutineImpl.call(this, resultContinuation);
|
|
6265
6265
|
}
|
|
6266
6266
|
protoOf(playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda).x2c = function ($this$launchDefaultWithLock, $completion) {
|
|
@@ -6279,13 +6279,13 @@
|
|
|
6279
6279
|
var tmp = this.i9_1;
|
|
6280
6280
|
if (tmp === 0) {
|
|
6281
6281
|
this.j9_1 = 1;
|
|
6282
|
-
var table = this.
|
|
6283
|
-
var player = getPlayer(table.players, this.
|
|
6282
|
+
var table = this.mft_1.state.s7v();
|
|
6283
|
+
var player = getPlayer(table.players, this.nft_1.d77());
|
|
6284
6284
|
var connectionState = player.j7z_1.g7a().q78_1;
|
|
6285
6285
|
var tmp_0;
|
|
6286
6286
|
switch (connectionState.a1_1) {
|
|
6287
6287
|
case 1:
|
|
6288
|
-
tmp_0 = listOf(new PlayerConnectionUpdateAction(PlayerConnectionState_TIMEOUT_getInstance(), player.playerId, VOID, this.
|
|
6288
|
+
tmp_0 = listOf(new PlayerConnectionUpdateAction(PlayerConnectionState_TIMEOUT_getInstance(), player.playerId, VOID, this.nft_1.zax_1));
|
|
6289
6289
|
break;
|
|
6290
6290
|
case 6:
|
|
6291
6291
|
tmp_0 = emptyList();
|
|
@@ -6296,8 +6296,8 @@
|
|
|
6296
6296
|
case 2:
|
|
6297
6297
|
case 0:
|
|
6298
6298
|
var tmp_1;
|
|
6299
|
-
if (table.sceneInfo.
|
|
6300
|
-
tmp_1 = new PlayerConnectionUpdateAction(PlayerConnectionState_DELETED_getInstance(), player.playerId, VOID, this.
|
|
6299
|
+
if (table.sceneInfo.a8n() && this.oft_1.closeIfBotsAtFinish) {
|
|
6300
|
+
tmp_1 = new PlayerConnectionUpdateAction(PlayerConnectionState_DELETED_getInstance(), player.playerId, VOID, this.nft_1.zax_1);
|
|
6301
6301
|
} else {
|
|
6302
6302
|
tmp_1 = AskBotAction_init_$Create$(player.playerId, 'PlayerTurn when connection state = ' + connectionState.toString());
|
|
6303
6303
|
}
|
|
@@ -6305,7 +6305,7 @@
|
|
|
6305
6305
|
tmp_0 = listOf(tmp_1);
|
|
6306
6306
|
break;
|
|
6307
6307
|
case 7:
|
|
6308
|
-
this.
|
|
6308
|
+
this.pft_1.w('playerTurnTimeoutWhenHasConnectionMiddleware', "Can't support this state " + connectionState.toString() + ', ' + ('action:' + this.qft_1.toString()));
|
|
6309
6309
|
tmp_0 = emptyList();
|
|
6310
6310
|
break;
|
|
6311
6311
|
default:
|
|
@@ -6317,7 +6317,7 @@
|
|
|
6317
6317
|
var _iterator__ex2g4s = actions.t();
|
|
6318
6318
|
while (_iterator__ex2g4s.u()) {
|
|
6319
6319
|
var element = _iterator__ex2g4s.v();
|
|
6320
|
-
this.
|
|
6320
|
+
this.mft_1.dispatch(element);
|
|
6321
6321
|
}
|
|
6322
6322
|
}
|
|
6323
6323
|
return Unit_instance;
|
|
@@ -6331,8 +6331,8 @@
|
|
|
6331
6331
|
while (true);
|
|
6332
6332
|
};
|
|
6333
6333
|
protoOf(playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda).y2c = function ($this$launchDefaultWithLock, completion) {
|
|
6334
|
-
var i = new playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda(this.
|
|
6335
|
-
i.
|
|
6334
|
+
var i = new playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda(this.mft_1, this.nft_1, this.oft_1, this.pft_1, this.qft_1, completion);
|
|
6335
|
+
i.rft_1 = $this$launchDefaultWithLock;
|
|
6336
6336
|
return i;
|
|
6337
6337
|
};
|
|
6338
6338
|
function playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda_0($store, $timerTag, $serverConfig, $logger, $action, resultContinuation) {
|
|
@@ -6344,9 +6344,9 @@
|
|
|
6344
6344
|
return l;
|
|
6345
6345
|
}
|
|
6346
6346
|
function playerTurnTimeoutWhenHasConnectionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $serverConfig, $logger) {
|
|
6347
|
-
this.
|
|
6348
|
-
this.
|
|
6349
|
-
this.
|
|
6347
|
+
this.sft_1 = $asyncProvider;
|
|
6348
|
+
this.tft_1 = $serverConfig;
|
|
6349
|
+
this.uft_1 = $logger;
|
|
6350
6350
|
}
|
|
6351
6351
|
protoOf(playerTurnTimeoutWhenHasConnectionMiddleware$$inlined$middlewareForActionType$1).t7i = function (action) {
|
|
6352
6352
|
return action instanceof TimerTickAction;
|
|
@@ -6355,7 +6355,7 @@
|
|
|
6355
6355
|
var action_0 = action instanceof TimerTickAction ? action : THROW_CCE();
|
|
6356
6356
|
var timerTag = action_0.p7i_1;
|
|
6357
6357
|
if (timerTag instanceof PlayerTurnTimerTag) {
|
|
6358
|
-
this.
|
|
6358
|
+
this.sft_1.l7e(VOID, playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda_0(store, timerTag, this.tft_1, this.uft_1, action_0, null));
|
|
6359
6359
|
}
|
|
6360
6360
|
next(action_0);
|
|
6361
6361
|
};
|
|
@@ -6371,19 +6371,19 @@
|
|
|
6371
6371
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).t7i = function (action) {
|
|
6372
6372
|
return action instanceof UpdateServerConfigAction;
|
|
6373
6373
|
};
|
|
6374
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
6374
|
+
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).ib0 = function (state, action) {
|
|
6375
6375
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
6376
|
-
return state.
|
|
6376
|
+
return state.iak(VOID, get_serverStatePayload(state).copy(action_0.kfr_1));
|
|
6377
6377
|
};
|
|
6378
6378
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).j7k = function (state, action) {
|
|
6379
|
-
return this.
|
|
6379
|
+
return this.ib0((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
6380
6380
|
};
|
|
6381
6381
|
function addRoomMetadata($this, _this__u8e3s4, gameId) {
|
|
6382
6382
|
_this__u8e3s4.metadata.addGame(gameId, new GameMetadata(gameId));
|
|
6383
6383
|
return _this__u8e3s4.metadata;
|
|
6384
6384
|
}
|
|
6385
6385
|
function Companion_5() {
|
|
6386
|
-
this.
|
|
6386
|
+
this.vft_1 = 'ServerMechanicLifecycleReducer';
|
|
6387
6387
|
}
|
|
6388
6388
|
var Companion_instance_16;
|
|
6389
6389
|
function Companion_getInstance_6() {
|
|
@@ -6391,31 +6391,31 @@
|
|
|
6391
6391
|
}
|
|
6392
6392
|
function ServerMechanicLifecycleReducer$onStart$lambda(this$0, $updatedServerPayload) {
|
|
6393
6393
|
return function (it) {
|
|
6394
|
-
return Companion_instance_4.c7a(this$0.
|
|
6394
|
+
return Companion_instance_4.c7a(this$0.zft_1.efr(it.isBot, it.r77_1, $updatedServerPayload.connectedPlayers));
|
|
6395
6395
|
};
|
|
6396
6396
|
}
|
|
6397
6397
|
function ServerMechanicLifecycleReducer(logger, connectionInteractor, tableLifecycleReducer, randomPoolProvider) {
|
|
6398
6398
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
6399
|
-
this.
|
|
6400
|
-
this.
|
|
6399
|
+
this.yft_1 = logger;
|
|
6400
|
+
this.zft_1 = connectionInteractor;
|
|
6401
6401
|
}
|
|
6402
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
6402
|
+
protoOf(ServerMechanicLifecycleReducer).zb1 = function (state, action) {
|
|
6403
6403
|
var serverState = get_serverStatePayload(state);
|
|
6404
|
-
this.
|
|
6405
|
-
var tableId = action.
|
|
6404
|
+
this.yft_1.d('ServerMechanicLifecycleReducer', 'onStart ' + get_versionOrDefault(GameEngineConfig_instance) + ', connectedPlayers: ' + toString(serverState.connectedPlayers), action);
|
|
6405
|
+
var tableId = action.l9d_1;
|
|
6406
6406
|
var updatedServerPayload = serverState.copy(VOID, addRoomMetadata(this, serverState, tableId));
|
|
6407
6407
|
var tmp6_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
6408
|
-
var tmp0_$this = this.
|
|
6409
|
-
var tmp1_version = action.
|
|
6410
|
-
var tmp2_config = action.
|
|
6411
|
-
var tmp3_users = action.
|
|
6408
|
+
var tmp0_$this = this.ab2_1;
|
|
6409
|
+
var tmp1_version = action.m9d_1;
|
|
6410
|
+
var tmp2_config = action.k9d_1;
|
|
6411
|
+
var tmp3_users = action.o9d_1;
|
|
6412
6412
|
var tmp4_spectators = action.spectators;
|
|
6413
|
-
var tmp5_gameCreatorPlayerId = action.
|
|
6414
|
-
var tmp7_tableOrNull = tmp0_$this.
|
|
6415
|
-
return state.
|
|
6413
|
+
var tmp5_gameCreatorPlayerId = action.n9d_1;
|
|
6414
|
+
var tmp7_tableOrNull = tmp0_$this.ib3(tableId, tableId, tmp2_config, tmp1_version, tmp3_users, tmp4_spectators, tmp5_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(this, updatedServerPayload));
|
|
6415
|
+
return state.iak(tmp7_tableOrNull, updatedServerPayload, tmp6_gameLifecycleState);
|
|
6416
6416
|
};
|
|
6417
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
6418
|
-
this.
|
|
6417
|
+
protoOf(ServerMechanicLifecycleReducer).xb1 = function (state, action) {
|
|
6418
|
+
this.yft_1.d('ServerMechanicLifecycleReducer', 'onContinue ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
6419
6419
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
6420
6420
|
var tmp2_tableOrNull = action.table;
|
|
6421
6421
|
var tmp = Companion_instance_17;
|
|
@@ -6423,32 +6423,32 @@
|
|
|
6423
6423
|
var tmp_1 = action.reason;
|
|
6424
6424
|
var tmp0_safe_receiver = tmp_1 instanceof RestartRoundReason ? tmp_1 : null;
|
|
6425
6425
|
var tmp3_payload = tmp.initial(tmp_0.copy(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.a76_1), addRoomMetadata(this, get_serverStatePayload(state), action.table.gameId));
|
|
6426
|
-
return state.
|
|
6426
|
+
return state.iak(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
|
|
6427
6427
|
};
|
|
6428
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
6429
|
-
this.
|
|
6428
|
+
protoOf(ServerMechanicLifecycleReducer).yb1 = function (state, action) {
|
|
6429
|
+
this.bb2_1.q6g(action.previousGameId);
|
|
6430
6430
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
6431
|
-
var tmp1_tableOrNull = this.
|
|
6431
|
+
var tmp1_tableOrNull = this.ab2_1.jb3(state.s7v(), action.gameId);
|
|
6432
6432
|
var tmp2_payload = get_serverStatePayload(state).copy(VOID, addRoomMetadata(this, get_serverStatePayload(state), action.gameId));
|
|
6433
|
-
return state.
|
|
6433
|
+
return state.iak(tmp1_tableOrNull, tmp2_payload, tmp0_gameLifecycleState);
|
|
6434
6434
|
};
|
|
6435
6435
|
function spectatorsReducer(logger) {
|
|
6436
6436
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
6437
6437
|
return new spectatorsReducer$$inlined$reducerForActionType$1(logger);
|
|
6438
6438
|
}
|
|
6439
6439
|
function spectatorsReducer$$inlined$reducerForActionType$1($logger) {
|
|
6440
|
-
this.
|
|
6440
|
+
this.afu_1 = $logger;
|
|
6441
6441
|
}
|
|
6442
6442
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).t7i = function (action) {
|
|
6443
6443
|
return isInterface(action, SpectatorsAction);
|
|
6444
6444
|
};
|
|
6445
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
6445
|
+
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).ib0 = function (state, action) {
|
|
6446
6446
|
var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
|
|
6447
6447
|
var table = state.s7v();
|
|
6448
6448
|
var tmp;
|
|
6449
6449
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
6450
6450
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
6451
|
-
var tmp0 = action_0.
|
|
6451
|
+
var tmp0 = action_0.lfr_1;
|
|
6452
6452
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
6453
6453
|
var destination = ArrayList_init_$Create$_0();
|
|
6454
6454
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -6467,9 +6467,9 @@
|
|
|
6467
6467
|
var tmp_0;
|
|
6468
6468
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
6469
6469
|
if (!sameSpectators.r()) {
|
|
6470
|
-
this.
|
|
6470
|
+
this.afu_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
6471
6471
|
// Inline function 'kotlin.collections.filterNot' call
|
|
6472
|
-
var tmp0_0 = action_0.
|
|
6472
|
+
var tmp0_0 = action_0.lfr_1;
|
|
6473
6473
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
6474
6474
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
6475
6475
|
var _iterator__ex2g4s_0 = tmp0_0.t();
|
|
@@ -6504,7 +6504,7 @@
|
|
|
6504
6504
|
}
|
|
6505
6505
|
tmp_0 = destination_0;
|
|
6506
6506
|
} else {
|
|
6507
|
-
tmp_0 = action_0.
|
|
6507
|
+
tmp_0 = action_0.lfr_1;
|
|
6508
6508
|
}
|
|
6509
6509
|
// Inline function 'kotlin.collections.map' call
|
|
6510
6510
|
var this_0 = tmp_0;
|
|
@@ -6517,11 +6517,11 @@
|
|
|
6517
6517
|
destination_1.e1(tmp$ret$13);
|
|
6518
6518
|
}
|
|
6519
6519
|
var spectatorsToAdd = toSet(destination_1);
|
|
6520
|
-
tmp = state.
|
|
6520
|
+
tmp = state.iak(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
|
|
6521
6521
|
} else {
|
|
6522
6522
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
6523
6523
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
6524
|
-
var tmp0_1 = action_0.
|
|
6524
|
+
var tmp0_1 = action_0.mfr_1;
|
|
6525
6525
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
6526
6526
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
6527
6527
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -6540,9 +6540,9 @@
|
|
|
6540
6540
|
var tmp_2;
|
|
6541
6541
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
6542
6542
|
if (!sameSpectators_0.r()) {
|
|
6543
|
-
this.
|
|
6543
|
+
this.afu_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
6544
6544
|
// Inline function 'kotlin.collections.filterNot' call
|
|
6545
|
-
var tmp0_2 = action_0.
|
|
6545
|
+
var tmp0_2 = action_0.mfr_1;
|
|
6546
6546
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
6547
6547
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
6548
6548
|
var _iterator__ex2g4s_4 = tmp0_2.t();
|
|
@@ -6577,7 +6577,7 @@
|
|
|
6577
6577
|
}
|
|
6578
6578
|
tmp_2 = destination_3;
|
|
6579
6579
|
} else {
|
|
6580
|
-
tmp_2 = action_0.
|
|
6580
|
+
tmp_2 = action_0.mfr_1;
|
|
6581
6581
|
}
|
|
6582
6582
|
var spectatorsToRemove = toSet(tmp_2);
|
|
6583
6583
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -6614,7 +6614,7 @@
|
|
|
6614
6614
|
destination_4.e1(element_5);
|
|
6615
6615
|
}
|
|
6616
6616
|
}
|
|
6617
|
-
tmp = state.
|
|
6617
|
+
tmp = state.iak(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
|
|
6618
6618
|
} else {
|
|
6619
6619
|
noWhenBranchMatchedException();
|
|
6620
6620
|
}
|
|
@@ -6622,7 +6622,7 @@
|
|
|
6622
6622
|
return tmp;
|
|
6623
6623
|
};
|
|
6624
6624
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).j7k = function (state, action) {
|
|
6625
|
-
return this.
|
|
6625
|
+
return this.ib0((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
6626
6626
|
};
|
|
6627
6627
|
function playerConnectionUpdateReducer() {
|
|
6628
6628
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
@@ -6633,29 +6633,29 @@
|
|
|
6633
6633
|
protoOf(playerConnectionUpdateReducer$$inlined$reducerForActionType$1).t7i = function (action) {
|
|
6634
6634
|
return action instanceof PlayerConnectionUpdateAction;
|
|
6635
6635
|
};
|
|
6636
|
-
protoOf(playerConnectionUpdateReducer$$inlined$reducerForActionType$1).
|
|
6636
|
+
protoOf(playerConnectionUpdateReducer$$inlined$reducerForActionType$1).ib0 = function (state, action) {
|
|
6637
6637
|
var action_0 = action instanceof PlayerConnectionUpdateAction ? action : THROW_CCE();
|
|
6638
6638
|
var statePayload = get_serverStatePayload(state);
|
|
6639
6639
|
var tmp;
|
|
6640
|
-
if (action_0.
|
|
6641
|
-
tmp = state.
|
|
6640
|
+
if (action_0.nak_1.isLive) {
|
|
6641
|
+
tmp = state.iak(VOID, statePayload.copy(VOID, VOID, plus_0(statePayload.connectedPlayers, action_0.oak_1)));
|
|
6642
6642
|
} else {
|
|
6643
6643
|
tmp = state;
|
|
6644
6644
|
}
|
|
6645
6645
|
return tmp;
|
|
6646
6646
|
};
|
|
6647
6647
|
protoOf(playerConnectionUpdateReducer$$inlined$reducerForActionType$1).j7k = function (state, action) {
|
|
6648
|
-
return this.
|
|
6648
|
+
return this.ib0((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
6649
6649
|
};
|
|
6650
6650
|
function Companion_6() {
|
|
6651
6651
|
}
|
|
6652
|
-
protoOf(Companion_6).
|
|
6652
|
+
protoOf(Companion_6).bfu = function (config, metadata) {
|
|
6653
6653
|
return new ServerStatePayload(config, metadata, emptyList());
|
|
6654
6654
|
};
|
|
6655
6655
|
protoOf(Companion_6).initial = function (config, metadata, $super) {
|
|
6656
6656
|
config = config === VOID ? Companion_instance_11.initial(null) : config;
|
|
6657
6657
|
metadata = metadata === VOID ? new RoomMetadata() : metadata;
|
|
6658
|
-
return $super === VOID ? this.
|
|
6658
|
+
return $super === VOID ? this.bfu(config, metadata) : $super.bfu.call(this, config, metadata);
|
|
6659
6659
|
};
|
|
6660
6660
|
var Companion_instance_17;
|
|
6661
6661
|
function Companion_getInstance_7() {
|
|
@@ -6669,10 +6669,10 @@
|
|
|
6669
6669
|
protoOf(ServerStatePayload).s45 = function () {
|
|
6670
6670
|
return this.config;
|
|
6671
6671
|
};
|
|
6672
|
-
protoOf(ServerStatePayload).
|
|
6672
|
+
protoOf(ServerStatePayload).ma3 = function () {
|
|
6673
6673
|
return this.metadata;
|
|
6674
6674
|
};
|
|
6675
|
-
protoOf(ServerStatePayload).
|
|
6675
|
+
protoOf(ServerStatePayload).cfu = function () {
|
|
6676
6676
|
return this.connectedPlayers;
|
|
6677
6677
|
};
|
|
6678
6678
|
protoOf(ServerStatePayload).of = function () {
|
|
@@ -6684,14 +6684,14 @@
|
|
|
6684
6684
|
protoOf(ServerStatePayload).wn = function () {
|
|
6685
6685
|
return this.connectedPlayers;
|
|
6686
6686
|
};
|
|
6687
|
-
protoOf(ServerStatePayload).
|
|
6687
|
+
protoOf(ServerStatePayload).dfu = function (config, metadata, connectedPlayers) {
|
|
6688
6688
|
return new ServerStatePayload(config, metadata, connectedPlayers);
|
|
6689
6689
|
};
|
|
6690
6690
|
protoOf(ServerStatePayload).copy = function (config, metadata, connectedPlayers, $super) {
|
|
6691
6691
|
config = config === VOID ? this.config : config;
|
|
6692
6692
|
metadata = metadata === VOID ? this.metadata : metadata;
|
|
6693
6693
|
connectedPlayers = connectedPlayers === VOID ? this.connectedPlayers : connectedPlayers;
|
|
6694
|
-
return $super === VOID ? this.
|
|
6694
|
+
return $super === VOID ? this.dfu(config, metadata, connectedPlayers) : $super.dfu.call(this, config, metadata, connectedPlayers);
|
|
6695
6695
|
};
|
|
6696
6696
|
protoOf(ServerStatePayload).toString = function () {
|
|
6697
6697
|
return 'ServerStatePayload(config=' + this.config.toString() + ', metadata=' + toString(this.metadata) + ', connectedPlayers=' + toString(this.connectedPlayers) + ')';
|
|
@@ -6716,7 +6716,7 @@
|
|
|
6716
6716
|
return true;
|
|
6717
6717
|
};
|
|
6718
6718
|
function serverLoggerKeyFromPayload(_this__u8e3s4, payload) {
|
|
6719
|
-
var gameId = Companion_instance_5.
|
|
6719
|
+
var gameId = Companion_instance_5.kb5(payload);
|
|
6720
6720
|
var tmp;
|
|
6721
6721
|
if (!(gameId == null)) {
|
|
6722
6722
|
tmp = new ServerLoggerKey(gameId);
|
|
@@ -6756,14 +6756,14 @@
|
|
|
6756
6756
|
return new GameServerEngineControllerImpl(loggerCallback, randomOrgConfig);
|
|
6757
6757
|
}
|
|
6758
6758
|
function _get_logger__rkp4sl_0($this) {
|
|
6759
|
-
var tmp0 = $this.
|
|
6759
|
+
var tmp0 = $this.nfu_1;
|
|
6760
6760
|
var tmp = KProperty1;
|
|
6761
6761
|
// Inline function 'kotlin.getValue' call
|
|
6762
6762
|
getPropertyCallableRef('logger', 1, tmp, GameServerEngineControllerImpl$_get_logger_$ref_b9j0th(), null);
|
|
6763
6763
|
return tmp0.o1();
|
|
6764
6764
|
}
|
|
6765
6765
|
function _get_di__ndbzja($this) {
|
|
6766
|
-
var tmp0 = $this.
|
|
6766
|
+
var tmp0 = $this.ofu_1;
|
|
6767
6767
|
var tmp = KProperty1;
|
|
6768
6768
|
// Inline function 'kotlin.getValue' call
|
|
6769
6769
|
getPropertyCallableRef('di', 1, tmp, GameServerEngineControllerImpl$_get_di_$ref_cvlqo6(), null);
|
|
@@ -6780,8 +6780,8 @@
|
|
|
6780
6780
|
}
|
|
6781
6781
|
function createCallbackOutput($this, gameServer) {
|
|
6782
6782
|
var tmp;
|
|
6783
|
-
if (!($this.
|
|
6784
|
-
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.
|
|
6783
|
+
if (!($this.kfu_1 == null)) {
|
|
6784
|
+
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.kfu_1);
|
|
6785
6785
|
tmp = new CallbackWrapperLoggerOutput(tmp_0, GameServerEngineControllerImpl$createCallbackOutput$lambda(gameServer));
|
|
6786
6786
|
} else {
|
|
6787
6787
|
tmp = null;
|
|
@@ -6795,11 +6795,11 @@
|
|
|
6795
6795
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
6796
6796
|
return function () {
|
|
6797
6797
|
var tmp;
|
|
6798
|
-
if (this$0.
|
|
6798
|
+
if (this$0.kfu_1 == null) {
|
|
6799
6799
|
tmp = null;
|
|
6800
6800
|
} else {
|
|
6801
6801
|
// Inline function 'kotlin.let' call
|
|
6802
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
6802
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.kfu_1)]));
|
|
6803
6803
|
}
|
|
6804
6804
|
var tmp1_elvis_lhs = tmp;
|
|
6805
6805
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -6832,7 +6832,7 @@
|
|
|
6832
6832
|
tmp_0.f1h(tmp$ret$3);
|
|
6833
6833
|
$this$DI.e1d(jsonModule());
|
|
6834
6834
|
$this$DI.e1d(serverHelpersModule());
|
|
6835
|
-
$this$DI.e1d(randomOrgModule(this$0.
|
|
6835
|
+
$this$DI.e1d(randomOrgModule(this$0.lfu_1));
|
|
6836
6836
|
return Unit_instance;
|
|
6837
6837
|
};
|
|
6838
6838
|
}
|
|
@@ -6908,16 +6908,16 @@
|
|
|
6908
6908
|
};
|
|
6909
6909
|
}
|
|
6910
6910
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1($reducer) {
|
|
6911
|
-
this.
|
|
6911
|
+
this.vfu_1 = $reducer;
|
|
6912
6912
|
}
|
|
6913
6913
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).t7i = function (action) {
|
|
6914
6914
|
return isInterface(action, Action);
|
|
6915
6915
|
};
|
|
6916
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
6917
|
-
return this.
|
|
6916
|
+
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).ib0 = function (state, action) {
|
|
6917
|
+
return this.vfu_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
6918
6918
|
};
|
|
6919
6919
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).j7k = function (state, action) {
|
|
6920
|
-
return this.
|
|
6920
|
+
return this.ib0((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
6921
6921
|
};
|
|
6922
6922
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($gameServer) {
|
|
6923
6923
|
return function () {
|
|
@@ -6997,7 +6997,7 @@
|
|
|
6997
6997
|
}
|
|
6998
6998
|
function GameServerEngineControllerImpl$createCallbackOutput$lambda($gameServer) {
|
|
6999
6999
|
return function (it) {
|
|
7000
|
-
var payload = Companion_instance_8.
|
|
7000
|
+
var payload = Companion_instance_8.wb3(it);
|
|
7001
7001
|
var tmp;
|
|
7002
7002
|
if (!(payload == null)) {
|
|
7003
7003
|
return payload;
|
|
@@ -7018,18 +7018,18 @@
|
|
|
7018
7018
|
// Inline function 'kotlin.let' call
|
|
7019
7019
|
$this$DI.e1d(tmp0_safe_receiver);
|
|
7020
7020
|
}
|
|
7021
|
-
$this$DI.e1d(dealerModule(this$0.randomPoolProvider, this$0.
|
|
7021
|
+
$this$DI.e1d(dealerModule(this$0.randomPoolProvider, this$0.lfu_1));
|
|
7022
7022
|
$this$DI.e1d(coreModule($coreConfig));
|
|
7023
|
-
$this$DI.e1d(createGameServerDI($serverConfig, $logicConfig, $engineBotConfig, $dealerConfig, $ratingConfig, $leaguesConfig, $externalReducers, $externalMiddlewares, this$0.
|
|
7023
|
+
$this$DI.e1d(createGameServerDI($serverConfig, $logicConfig, $engineBotConfig, $dealerConfig, $ratingConfig, $leaguesConfig, $externalReducers, $externalMiddlewares, this$0.mfu_1.jb9() ? this$0.mfu_1 : null));
|
|
7024
7024
|
return Unit_instance;
|
|
7025
7025
|
};
|
|
7026
7026
|
}
|
|
7027
7027
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
7028
7028
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
7029
7029
|
production = production === VOID ? true : production;
|
|
7030
|
-
this.
|
|
7031
|
-
this.
|
|
7032
|
-
this.
|
|
7030
|
+
this.kfu_1 = loggerCallback;
|
|
7031
|
+
this.lfu_1 = randomOrgConfig;
|
|
7032
|
+
this.mfu_1 = new BotModelRegistry();
|
|
7033
7033
|
var tmp = AppEnvironment_getInstance();
|
|
7034
7034
|
var tmp_0;
|
|
7035
7035
|
if (production) {
|
|
@@ -7039,9 +7039,9 @@
|
|
|
7039
7039
|
}
|
|
7040
7040
|
tmp.w7p(tmp_0);
|
|
7041
7041
|
var tmp_1 = this;
|
|
7042
|
-
tmp_1.
|
|
7042
|
+
tmp_1.nfu_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
7043
7043
|
var tmp_2 = this;
|
|
7044
|
-
tmp_2.
|
|
7044
|
+
tmp_2.ofu_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
7045
7045
|
var tmp_3 = this;
|
|
7046
7046
|
// Inline function 'org.kodein.di.instance' call
|
|
7047
7047
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -7050,7 +7050,7 @@
|
|
|
7050
7050
|
var tmp$ret$0 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
7051
7051
|
var tmp_5 = Instance(this_0, tmp$ret$0, null);
|
|
7052
7052
|
var tmp_6 = KProperty1;
|
|
7053
|
-
tmp_3.
|
|
7053
|
+
tmp_3.pfu_1 = tmp_5.c1j(this, getPropertyCallableRef('parser', 1, tmp_6, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w(), null));
|
|
7054
7054
|
var tmp_7 = this;
|
|
7055
7055
|
// Inline function 'org.kodein.di.instance' call
|
|
7056
7056
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -7059,7 +7059,7 @@
|
|
|
7059
7059
|
var tmp$ret$2 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
7060
7060
|
var tmp_9 = Instance(this_1, tmp$ret$2, null);
|
|
7061
7061
|
var tmp_10 = KProperty1;
|
|
7062
|
-
tmp_7.
|
|
7062
|
+
tmp_7.qfu_1 = tmp_9.c1j(this, getPropertyCallableRef('helper', 1, tmp_10, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f(), null));
|
|
7063
7063
|
var tmp_11 = this;
|
|
7064
7064
|
// Inline function 'org.kodein.di.instance' call
|
|
7065
7065
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -7068,7 +7068,7 @@
|
|
|
7068
7068
|
var tmp$ret$4 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
7069
7069
|
var tmp_13 = Instance(this_2, tmp$ret$4, null);
|
|
7070
7070
|
var tmp_14 = KProperty1;
|
|
7071
|
-
tmp_11.
|
|
7071
|
+
tmp_11.rfu_1 = tmp_13.c1j(this, getPropertyCallableRef('serverHelper', 1, tmp_14, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre(), null));
|
|
7072
7072
|
var tmp_15 = this;
|
|
7073
7073
|
// Inline function 'org.kodein.di.instance' call
|
|
7074
7074
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -7077,7 +7077,7 @@
|
|
|
7077
7077
|
var tmp$ret$6 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
7078
7078
|
var tmp_17 = Instance(this_3, tmp$ret$6, null);
|
|
7079
7079
|
var tmp_18 = KProperty1;
|
|
7080
|
-
tmp_15.
|
|
7080
|
+
tmp_15.sfu_1 = tmp_17.c1j(this, getPropertyCallableRef('resources', 1, tmp_18, GameServerEngineControllerImpl$_get_resources_$ref_dt6416(), null));
|
|
7081
7081
|
var tmp_19 = this;
|
|
7082
7082
|
// Inline function 'org.kodein.di.instance' call
|
|
7083
7083
|
var this_4 = _get_di__ndbzja(this);
|
|
@@ -7086,7 +7086,7 @@
|
|
|
7086
7086
|
var tmp$ret$8 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
7087
7087
|
var tmp_21 = Instance(this_4, tmp$ret$8, null);
|
|
7088
7088
|
var tmp_22 = KProperty1;
|
|
7089
|
-
tmp_19.
|
|
7089
|
+
tmp_19.tfu_1 = tmp_21.c1j(this, getPropertyCallableRef('test', 1, tmp_22, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5(), null));
|
|
7090
7090
|
var tmp_23 = this;
|
|
7091
7091
|
// Inline function 'org.kodein.di.instance' call
|
|
7092
7092
|
var this_5 = _get_di__ndbzja(this);
|
|
@@ -7095,52 +7095,52 @@
|
|
|
7095
7095
|
var tmp$ret$10 = isInterface(tmp_24, TypeToken) ? tmp_24 : THROW_CCE();
|
|
7096
7096
|
var tmp_25 = Instance(this_5, tmp$ret$10, null);
|
|
7097
7097
|
var tmp_26 = KProperty1;
|
|
7098
|
-
tmp_23.
|
|
7098
|
+
tmp_23.ufu_1 = tmp_25.c1j(this, getPropertyCallableRef('randomPoolProvider', 1, tmp_26, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl(), null));
|
|
7099
7099
|
}
|
|
7100
|
-
protoOf(GameServerEngineControllerImpl).
|
|
7101
|
-
var tmp0 = this.
|
|
7100
|
+
protoOf(GameServerEngineControllerImpl).vf4 = function () {
|
|
7101
|
+
var tmp0 = this.pfu_1;
|
|
7102
7102
|
var tmp = KProperty1;
|
|
7103
7103
|
// Inline function 'kotlin.getValue' call
|
|
7104
7104
|
getPropertyCallableRef('parser', 1, tmp, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w_0(), null);
|
|
7105
7105
|
return tmp0.o1();
|
|
7106
7106
|
};
|
|
7107
|
-
protoOf(GameServerEngineControllerImpl).
|
|
7108
|
-
var tmp0 = this.
|
|
7107
|
+
protoOf(GameServerEngineControllerImpl).ffu = function () {
|
|
7108
|
+
var tmp0 = this.qfu_1;
|
|
7109
7109
|
var tmp = KProperty1;
|
|
7110
7110
|
// Inline function 'kotlin.getValue' call
|
|
7111
7111
|
getPropertyCallableRef('helper', 1, tmp, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f_0(), null);
|
|
7112
7112
|
return tmp0.o1();
|
|
7113
7113
|
};
|
|
7114
|
-
protoOf(GameServerEngineControllerImpl).
|
|
7115
|
-
var tmp0 = this.
|
|
7114
|
+
protoOf(GameServerEngineControllerImpl).gfu = function () {
|
|
7115
|
+
var tmp0 = this.rfu_1;
|
|
7116
7116
|
var tmp = KProperty1;
|
|
7117
7117
|
// Inline function 'kotlin.getValue' call
|
|
7118
7118
|
getPropertyCallableRef('serverHelper', 1, tmp, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre_0(), null);
|
|
7119
7119
|
return tmp0.o1();
|
|
7120
7120
|
};
|
|
7121
|
-
protoOf(GameServerEngineControllerImpl).
|
|
7122
|
-
var tmp0 = this.
|
|
7121
|
+
protoOf(GameServerEngineControllerImpl).hfu = function () {
|
|
7122
|
+
var tmp0 = this.sfu_1;
|
|
7123
7123
|
var tmp = KProperty1;
|
|
7124
7124
|
// Inline function 'kotlin.getValue' call
|
|
7125
7125
|
getPropertyCallableRef('resources', 1, tmp, GameServerEngineControllerImpl$_get_resources_$ref_dt6416_0(), null);
|
|
7126
7126
|
return tmp0.o1();
|
|
7127
7127
|
};
|
|
7128
|
-
protoOf(GameServerEngineControllerImpl).
|
|
7129
|
-
var tmp0 = this.
|
|
7128
|
+
protoOf(GameServerEngineControllerImpl).efu = function () {
|
|
7129
|
+
var tmp0 = this.tfu_1;
|
|
7130
7130
|
var tmp = KProperty1;
|
|
7131
7131
|
// Inline function 'kotlin.getValue' call
|
|
7132
7132
|
getPropertyCallableRef('test', 1, tmp, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5_0(), null);
|
|
7133
7133
|
return tmp0.o1();
|
|
7134
7134
|
};
|
|
7135
|
-
protoOf(GameServerEngineControllerImpl).
|
|
7136
|
-
var tmp0 = this.
|
|
7135
|
+
protoOf(GameServerEngineControllerImpl).ifu = function () {
|
|
7136
|
+
var tmp0 = this.ufu_1;
|
|
7137
7137
|
var tmp = KProperty1;
|
|
7138
7138
|
// Inline function 'kotlin.getValue' call
|
|
7139
7139
|
getPropertyCallableRef('randomPoolProvider', 1, tmp, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl_0(), null);
|
|
7140
7140
|
return tmp0.o1();
|
|
7141
7141
|
};
|
|
7142
7142
|
protoOf(GameServerEngineControllerImpl).loadModel = function (rulesSetType, playersMode, modelBytes) {
|
|
7143
|
-
this.
|
|
7143
|
+
this.mfu_1.hb9(new BotModelConfig(valueOf(playersMode), valueOf_0(rulesSetType), modelBytes));
|
|
7144
7144
|
};
|
|
7145
7145
|
protoOf(GameServerEngineControllerImpl).setEnableLogger = function (enabled) {
|
|
7146
7146
|
Logger_getInstance().n5o_1 = enabled;
|
|
@@ -7148,7 +7148,7 @@
|
|
|
7148
7148
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
7149
7149
|
return this.createGameEngineWithLogic();
|
|
7150
7150
|
};
|
|
7151
|
-
protoOf(GameServerEngineControllerImpl).
|
|
7151
|
+
protoOf(GameServerEngineControllerImpl).jfu = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, leaguesConfig, coreConfig, botConfig) {
|
|
7152
7152
|
var combinedLogger = Companion_instance_9.hz();
|
|
7153
7153
|
var gameServer = {_v: null};
|
|
7154
7154
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -7196,7 +7196,7 @@
|
|
|
7196
7196
|
function TestHelper() {
|
|
7197
7197
|
}
|
|
7198
7198
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
7199
|
-
var tmp0 = $this.
|
|
7199
|
+
var tmp0 = $this.yfu_1;
|
|
7200
7200
|
var tmp = KProperty1;
|
|
7201
7201
|
// Inline function 'kotlin.getValue' call
|
|
7202
7202
|
getPropertyCallableRef('playerAnswerInteractor', 1, tmp, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy_0(), null);
|
|
@@ -7204,7 +7204,7 @@
|
|
|
7204
7204
|
}
|
|
7205
7205
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
7206
7206
|
return function ($this$singleton) {
|
|
7207
|
-
return this$0.
|
|
7207
|
+
return this$0.wfu_1;
|
|
7208
7208
|
};
|
|
7209
7209
|
}
|
|
7210
7210
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -7244,27 +7244,27 @@
|
|
|
7244
7244
|
return emptyMap();
|
|
7245
7245
|
}
|
|
7246
7246
|
function TestHelperImpl(logger) {
|
|
7247
|
-
this.
|
|
7247
|
+
this.wfu_1 = logger;
|
|
7248
7248
|
var tmp = this;
|
|
7249
7249
|
var tmp_0 = Companion_instance_7;
|
|
7250
|
-
tmp.
|
|
7250
|
+
tmp.xfu_1 = tmp_0.m1d(VOID, TestHelperImpl$di$lambda(this));
|
|
7251
7251
|
var tmp_1 = this;
|
|
7252
7252
|
// Inline function 'org.kodein.di.instance' call
|
|
7253
|
-
var this_0 = this.
|
|
7253
|
+
var this_0 = this.xfu_1;
|
|
7254
7254
|
// Inline function 'org.kodein.type.generic' call
|
|
7255
7255
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
7256
7256
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
7257
7257
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
7258
7258
|
var tmp_4 = KProperty1;
|
|
7259
|
-
tmp_1.
|
|
7259
|
+
tmp_1.yfu_1 = tmp_3.c1j(this, getPropertyCallableRef('playerAnswerInteractor', 1, tmp_4, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy(), null));
|
|
7260
7260
|
}
|
|
7261
7261
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
7262
|
-
return _get_playerAnswerInteractor__msggz1(this).
|
|
7262
|
+
return _get_playerAnswerInteractor__msggz1(this).yaa(playerId, table, botConfig);
|
|
7263
7263
|
};
|
|
7264
7264
|
protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
|
|
7265
7265
|
var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
|
|
7266
7266
|
if (isInterface(mechanicAction, NextPlayerTurnAction)) {
|
|
7267
|
-
var tmp0 = mechanicAction.
|
|
7267
|
+
var tmp0 = mechanicAction.mam();
|
|
7268
7268
|
var tmp$ret$0;
|
|
7269
7269
|
$l$block_0: {
|
|
7270
7270
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -7296,7 +7296,7 @@
|
|
|
7296
7296
|
};
|
|
7297
7297
|
protoOf(TestHelperImpl).getPlayerAnswerFromMechanicAction = function (table, currentPlayerId, action, botConfig) {
|
|
7298
7298
|
if (isInterface(action, NextPlayerTurnAction)) {
|
|
7299
|
-
var tmp0 = action.
|
|
7299
|
+
var tmp0 = action.mam();
|
|
7300
7300
|
var tmp$ret$0;
|
|
7301
7301
|
$l$block_0: {
|
|
7302
7302
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -7329,14 +7329,14 @@
|
|
|
7329
7329
|
function RoomMetadata() {
|
|
7330
7330
|
var tmp = this;
|
|
7331
7331
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
7332
|
-
tmp.
|
|
7332
|
+
tmp.zfu_1 = LinkedHashMap_init_$Create$();
|
|
7333
7333
|
this.extras = {};
|
|
7334
|
-
this.extras = this.
|
|
7334
|
+
this.extras = this.zfu_1;
|
|
7335
7335
|
}
|
|
7336
|
-
protoOf(RoomMetadata).
|
|
7336
|
+
protoOf(RoomMetadata).afv = function () {
|
|
7337
7337
|
return this.extras;
|
|
7338
7338
|
};
|
|
7339
|
-
protoOf(RoomMetadata).
|
|
7339
|
+
protoOf(RoomMetadata).afv = function () {
|
|
7340
7340
|
return this.extras;
|
|
7341
7341
|
};
|
|
7342
7342
|
protoOf(RoomMetadata).getGame = function (gameId) {
|
|
@@ -7354,7 +7354,7 @@
|
|
|
7354
7354
|
};
|
|
7355
7355
|
protoOf(RoomMetadata).addGame = function (gameId, game) {
|
|
7356
7356
|
// Inline function 'kotlin.collections.set' call
|
|
7357
|
-
this.
|
|
7357
|
+
this.zfu_1.g3(gameId, game);
|
|
7358
7358
|
};
|
|
7359
7359
|
function GameMetadata(gameId) {
|
|
7360
7360
|
this.gameId = gameId;
|
|
@@ -7363,7 +7363,7 @@
|
|
|
7363
7363
|
protoOf(GameMetadata).f6c = function () {
|
|
7364
7364
|
return this.gameId;
|
|
7365
7365
|
};
|
|
7366
|
-
protoOf(GameMetadata).
|
|
7366
|
+
protoOf(GameMetadata).afv = function () {
|
|
7367
7367
|
return this.extras;
|
|
7368
7368
|
};
|
|
7369
7369
|
function serverHelpersModule() {
|
|
@@ -7425,7 +7425,7 @@
|
|
|
7425
7425
|
protoOf(GameServer).roomOnDelete = roomOnDelete;
|
|
7426
7426
|
protoOf(GameServer).shutdown = shutdown;
|
|
7427
7427
|
defineProp(protoOf(GameServer), 'metadata', function () {
|
|
7428
|
-
return this.
|
|
7428
|
+
return this.ma3();
|
|
7429
7429
|
});
|
|
7430
7430
|
defineProp(protoOf(GameServer), 'id', function () {
|
|
7431
7431
|
return this.b6c();
|
|
@@ -7444,19 +7444,19 @@
|
|
|
7444
7444
|
});
|
|
7445
7445
|
protoOf($serializer).r11 = typeParametersSerializers;
|
|
7446
7446
|
defineProp(protoOf(TableStateUpdateDto), 'roomId', function () {
|
|
7447
|
-
return this.
|
|
7447
|
+
return this.z9z();
|
|
7448
7448
|
});
|
|
7449
7449
|
protoOf($serializer_0).r11 = typeParametersSerializers;
|
|
7450
7450
|
defineProp(protoOf(ActionsStateUpdateDto), 'roomId', function () {
|
|
7451
|
-
return this.
|
|
7451
|
+
return this.z9z();
|
|
7452
7452
|
});
|
|
7453
7453
|
defineProp(protoOf(TableStateUpdate), 'roomId', function () {
|
|
7454
|
-
return this.
|
|
7454
|
+
return this.z9z();
|
|
7455
7455
|
});
|
|
7456
7456
|
defineProp(protoOf(ActionsStateUpdate), 'roomId', function () {
|
|
7457
|
-
return this.
|
|
7457
|
+
return this.z9z();
|
|
7458
7458
|
});
|
|
7459
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
7459
|
+
protoOf(PlayerConnectionInteractorImpl).afm = getToClientContinueAction$default;
|
|
7460
7460
|
protoOf(UpdateServerConfigAction).f7i = get_actionTag;
|
|
7461
7461
|
defineProp(protoOf(UpdateServerConfigAction), 'actionTag', function () {
|
|
7462
7462
|
return this.f7i();
|
|
@@ -7470,25 +7470,25 @@
|
|
|
7470
7470
|
return this.f7i();
|
|
7471
7471
|
});
|
|
7472
7472
|
protoOf(PlayerReconnectionWaitingTimerTag).ignoreValidation = ignoreValidation;
|
|
7473
|
-
protoOf(PlayerReconnectionWaitingTimerTag).
|
|
7473
|
+
protoOf(PlayerReconnectionWaitingTimerTag).saj = ignoreTimerResetValidation;
|
|
7474
7474
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
7475
7475
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
7476
|
-
return this.
|
|
7476
|
+
return this.vf4();
|
|
7477
7477
|
});
|
|
7478
7478
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
7479
|
-
return this.
|
|
7479
|
+
return this.ffu();
|
|
7480
7480
|
});
|
|
7481
7481
|
defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
|
|
7482
|
-
return this.
|
|
7482
|
+
return this.gfu();
|
|
7483
7483
|
});
|
|
7484
7484
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
7485
|
-
return this.
|
|
7485
|
+
return this.hfu();
|
|
7486
7486
|
});
|
|
7487
7487
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
7488
|
-
return this.
|
|
7488
|
+
return this.efu();
|
|
7489
7489
|
});
|
|
7490
7490
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
7491
|
-
return this.
|
|
7491
|
+
return this.ifu();
|
|
7492
7492
|
});
|
|
7493
7493
|
//endregion
|
|
7494
7494
|
//region block: init
|