raspberry_games_server_game_logic 1.8.441 → 1.8.442
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-core.js +1 -1
- package/Logic_Debertz-engine.js +8795 -8764
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.js +902 -902
- package/kotlin-kotlin-stdlib.js +4 -4
- package/kotlinx-coroutines-core.js +8 -8
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -402,10 +402,10 @@
|
|
|
402
402
|
spectators = tmp;
|
|
403
403
|
var tmp_0;
|
|
404
404
|
if ($super === VOID) {
|
|
405
|
-
this.
|
|
405
|
+
this.ba9(roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
406
406
|
tmp_0 = Unit_instance;
|
|
407
407
|
} else {
|
|
408
|
-
tmp_0 = $super.
|
|
408
|
+
tmp_0 = $super.ba9.call(this, roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
409
409
|
}
|
|
410
410
|
return tmp_0;
|
|
411
411
|
}
|
|
@@ -413,10 +413,10 @@
|
|
|
413
413
|
newRid = newRid === VOID ? null : newRid;
|
|
414
414
|
var tmp;
|
|
415
415
|
if ($super === VOID) {
|
|
416
|
-
this.
|
|
416
|
+
this.da9(newRid);
|
|
417
417
|
tmp = Unit_instance;
|
|
418
418
|
} else {
|
|
419
|
-
tmp = $super.
|
|
419
|
+
tmp = $super.da9.call(this, newRid);
|
|
420
420
|
}
|
|
421
421
|
return tmp;
|
|
422
422
|
}
|
|
@@ -424,16 +424,16 @@
|
|
|
424
424
|
roomId = roomId === VOID ? null : roomId;
|
|
425
425
|
var tmp;
|
|
426
426
|
if ($super === VOID) {
|
|
427
|
-
this.
|
|
427
|
+
this.ea9(reason, roomId);
|
|
428
428
|
tmp = Unit_instance;
|
|
429
429
|
} else {
|
|
430
|
-
tmp = $super.
|
|
430
|
+
tmp = $super.ea9.call(this, reason, roomId);
|
|
431
431
|
}
|
|
432
432
|
return tmp;
|
|
433
433
|
}
|
|
434
434
|
function playerLeft(playerId, roomId, permanently, $super) {
|
|
435
435
|
permanently = permanently === VOID ? true : permanently;
|
|
436
|
-
return $super === VOID ? this.
|
|
436
|
+
return $super === VOID ? this.aa9(playerId, roomId, permanently) : $super.aa9.call(this, playerId, roomId, permanently);
|
|
437
437
|
}
|
|
438
438
|
initMetadataForInterface(ServerGameEngineContract, 'ServerGameEngineContract', VOID, VOID, [GameStoreContract]);
|
|
439
439
|
initMetadataForClass(GameServer, 'GameServer', VOID, BaseGame, [BaseGame, ServerGameEngineContract]);
|
|
@@ -507,7 +507,7 @@
|
|
|
507
507
|
ratingConfig = ratingConfig === VOID ? new RatingConfig() : ratingConfig;
|
|
508
508
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
509
509
|
botConfig = botConfig === VOID ? new EngineBotConfig(VOID, VOID, VOID, false) : botConfig;
|
|
510
|
-
return $super === VOID ? this.
|
|
510
|
+
return $super === VOID ? this.haf(reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig, botConfig) : $super.haf.call(this, reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig, botConfig);
|
|
511
511
|
}
|
|
512
512
|
initMetadataForInterface(GameEngineController, 'GameEngineController');
|
|
513
513
|
initMetadataForClass(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1, VOID, VOID, VOID, [Reducer]);
|
|
@@ -520,17 +520,17 @@
|
|
|
520
520
|
initMetadataForClass(GameMetadata, 'GameMetadata');
|
|
521
521
|
//endregion
|
|
522
522
|
function GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation) {
|
|
523
|
-
this.
|
|
523
|
+
this.r9q_1 = $subscriber;
|
|
524
524
|
CoroutineImpl.call(this, resultContinuation);
|
|
525
525
|
}
|
|
526
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
527
|
-
var tmp = this.
|
|
526
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).t9q = function (it, $completion) {
|
|
527
|
+
var tmp = this.u9q(it, $completion);
|
|
528
528
|
tmp.u8_1 = Unit_instance;
|
|
529
529
|
tmp.v8_1 = null;
|
|
530
530
|
return tmp.a9();
|
|
531
531
|
};
|
|
532
532
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).i9 = function (p1, $completion) {
|
|
533
|
-
return this.
|
|
533
|
+
return this.t9q(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
|
|
534
534
|
};
|
|
535
535
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).a9 = function () {
|
|
536
536
|
var suspendResult = this.u8_1;
|
|
@@ -539,7 +539,7 @@
|
|
|
539
539
|
var tmp = this.s8_1;
|
|
540
540
|
if (tmp === 0) {
|
|
541
541
|
this.t8_1 = 1;
|
|
542
|
-
this.
|
|
542
|
+
this.r9q_1(this.s9q_1);
|
|
543
543
|
return Unit_instance;
|
|
544
544
|
} else if (tmp === 1) {
|
|
545
545
|
throw this.v8_1;
|
|
@@ -550,31 +550,31 @@
|
|
|
550
550
|
}
|
|
551
551
|
while (true);
|
|
552
552
|
};
|
|
553
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
554
|
-
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.
|
|
555
|
-
i.
|
|
553
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).u9q = function (it, completion) {
|
|
554
|
+
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.r9q_1, completion);
|
|
555
|
+
i.s9q_1 = it;
|
|
556
556
|
return i;
|
|
557
557
|
};
|
|
558
558
|
function GameServer$subscribeToClientAction$slambda$slambda_0($subscriber, resultContinuation) {
|
|
559
559
|
var i = new GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation);
|
|
560
560
|
var l = function (it, $completion) {
|
|
561
|
-
return i.
|
|
561
|
+
return i.t9q(it, $completion);
|
|
562
562
|
};
|
|
563
563
|
l.$arity = 1;
|
|
564
564
|
return l;
|
|
565
565
|
}
|
|
566
566
|
function GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation) {
|
|
567
|
-
this.
|
|
567
|
+
this.d9r_1 = $subscriber;
|
|
568
568
|
CoroutineImpl.call(this, resultContinuation);
|
|
569
569
|
}
|
|
570
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
571
|
-
var tmp = this.
|
|
570
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).f9r = function (it, $completion) {
|
|
571
|
+
var tmp = this.g9r(it, $completion);
|
|
572
572
|
tmp.u8_1 = Unit_instance;
|
|
573
573
|
tmp.v8_1 = null;
|
|
574
574
|
return tmp.a9();
|
|
575
575
|
};
|
|
576
576
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).i9 = function (p1, $completion) {
|
|
577
|
-
return this.
|
|
577
|
+
return this.f9r((!(p1 == null) ? isInterface(p1, ServerStateUpdate) : false) ? p1 : THROW_CCE(), $completion);
|
|
578
578
|
};
|
|
579
579
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).a9 = function () {
|
|
580
580
|
var suspendResult = this.u8_1;
|
|
@@ -583,7 +583,7 @@
|
|
|
583
583
|
var tmp = this.s8_1;
|
|
584
584
|
if (tmp === 0) {
|
|
585
585
|
this.t8_1 = 1;
|
|
586
|
-
this.
|
|
586
|
+
this.d9r_1(this.e9r_1);
|
|
587
587
|
return Unit_instance;
|
|
588
588
|
} else if (tmp === 1) {
|
|
589
589
|
throw this.v8_1;
|
|
@@ -594,22 +594,22 @@
|
|
|
594
594
|
}
|
|
595
595
|
while (true);
|
|
596
596
|
};
|
|
597
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
598
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.
|
|
599
|
-
i.
|
|
597
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).g9r = function (it, completion) {
|
|
598
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.d9r_1, completion);
|
|
599
|
+
i.e9r_1 = it;
|
|
600
600
|
return i;
|
|
601
601
|
};
|
|
602
602
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_0($subscriber, resultContinuation) {
|
|
603
603
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation);
|
|
604
604
|
var l = function (it, $completion) {
|
|
605
|
-
return i.
|
|
605
|
+
return i.f9r(it, $completion);
|
|
606
606
|
};
|
|
607
607
|
l.$arity = 1;
|
|
608
608
|
return l;
|
|
609
609
|
}
|
|
610
610
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
|
|
611
|
-
this.
|
|
612
|
-
this.
|
|
611
|
+
this.p9r_1 = $$this$unsafeFlow;
|
|
612
|
+
this.q9r_1 = this$0;
|
|
613
613
|
CoroutineImpl.call(this, resultContinuation);
|
|
614
614
|
}
|
|
615
615
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).x2h = function (value, $completion) {
|
|
@@ -629,10 +629,10 @@
|
|
|
629
629
|
switch (tmp) {
|
|
630
630
|
case 0:
|
|
631
631
|
this.t8_1 = 2;
|
|
632
|
-
var tmp0 = this.
|
|
633
|
-
var value = this.
|
|
632
|
+
var tmp0 = this.p9r_1;
|
|
633
|
+
var value = this.r9r_1;
|
|
634
634
|
this.s8_1 = 1;
|
|
635
|
-
suspendResult = tmp0.o28(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.
|
|
635
|
+
suspendResult = tmp0.o28(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.q9r_1)), this);
|
|
636
636
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
637
637
|
return suspendResult;
|
|
638
638
|
}
|
|
@@ -655,8 +655,8 @@
|
|
|
655
655
|
while (true);
|
|
656
656
|
};
|
|
657
657
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).y2h = function (value, completion) {
|
|
658
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.
|
|
659
|
-
i.
|
|
658
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.p9r_1, this.q9r_1, completion);
|
|
659
|
+
i.r9r_1 = value;
|
|
660
660
|
return i;
|
|
661
661
|
};
|
|
662
662
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
@@ -669,8 +669,8 @@
|
|
|
669
669
|
}
|
|
670
670
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
671
671
|
CoroutineImpl.call(this, resultContinuation);
|
|
672
|
-
this.
|
|
673
|
-
this.
|
|
672
|
+
this.a9s_1 = _this__u8e3s4;
|
|
673
|
+
this.b9s_1 = collector;
|
|
674
674
|
}
|
|
675
675
|
protoOf($collectCOROUTINE$).a9 = function () {
|
|
676
676
|
var suspendResult = this.u8_1;
|
|
@@ -680,10 +680,10 @@
|
|
|
680
680
|
switch (tmp) {
|
|
681
681
|
case 0:
|
|
682
682
|
this.t8_1 = 2;
|
|
683
|
-
var $this$unsafeFlow = this.
|
|
683
|
+
var $this$unsafeFlow = this.b9s_1;
|
|
684
684
|
this.s8_1 = 1;
|
|
685
|
-
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
686
|
-
suspendResult = this.
|
|
685
|
+
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.a9s_1.d9s_1, null);
|
|
686
|
+
suspendResult = this.a9s_1.c9s_1.o27(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_0), this);
|
|
687
687
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
688
688
|
return suspendResult;
|
|
689
689
|
}
|
|
@@ -706,8 +706,8 @@
|
|
|
706
706
|
while (true);
|
|
707
707
|
};
|
|
708
708
|
function GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1($this, this$0) {
|
|
709
|
-
this.
|
|
710
|
-
this.
|
|
709
|
+
this.c9s_1 = $this;
|
|
710
|
+
this.d9s_1 = this$0;
|
|
711
711
|
}
|
|
712
712
|
protoOf(GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1).p28 = function (collector, $completion) {
|
|
713
713
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
@@ -719,17 +719,17 @@
|
|
|
719
719
|
return this.p28(collector, $completion);
|
|
720
720
|
};
|
|
721
721
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation) {
|
|
722
|
-
this.
|
|
722
|
+
this.m9s_1 = $subscriber;
|
|
723
723
|
CoroutineImpl.call(this, resultContinuation);
|
|
724
724
|
}
|
|
725
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
726
|
-
var tmp = this.
|
|
725
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).o9s = function (it, $completion) {
|
|
726
|
+
var tmp = this.p9s(it, $completion);
|
|
727
727
|
tmp.u8_1 = Unit_instance;
|
|
728
728
|
tmp.v8_1 = null;
|
|
729
729
|
return tmp.a9();
|
|
730
730
|
};
|
|
731
731
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).i9 = function (p1, $completion) {
|
|
732
|
-
return this.
|
|
732
|
+
return this.o9s((!(p1 == null) ? isInterface(p1, ServerStateUpdateDto) : false) ? p1 : THROW_CCE(), $completion);
|
|
733
733
|
};
|
|
734
734
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).a9 = function () {
|
|
735
735
|
var suspendResult = this.u8_1;
|
|
@@ -738,7 +738,7 @@
|
|
|
738
738
|
var tmp = this.s8_1;
|
|
739
739
|
if (tmp === 0) {
|
|
740
740
|
this.t8_1 = 1;
|
|
741
|
-
this.
|
|
741
|
+
this.m9s_1(this.n9s_1);
|
|
742
742
|
return Unit_instance;
|
|
743
743
|
} else if (tmp === 1) {
|
|
744
744
|
throw this.v8_1;
|
|
@@ -749,22 +749,22 @@
|
|
|
749
749
|
}
|
|
750
750
|
while (true);
|
|
751
751
|
};
|
|
752
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
753
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.
|
|
754
|
-
i.
|
|
752
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).p9s = function (it, completion) {
|
|
753
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.m9s_1, completion);
|
|
754
|
+
i.n9s_1 = it;
|
|
755
755
|
return i;
|
|
756
756
|
};
|
|
757
757
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda_0($subscriber, resultContinuation) {
|
|
758
758
|
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation);
|
|
759
759
|
var l = function (it, $completion) {
|
|
760
|
-
return i.
|
|
760
|
+
return i.o9s(it, $completion);
|
|
761
761
|
};
|
|
762
762
|
l.$arity = 1;
|
|
763
763
|
return l;
|
|
764
764
|
}
|
|
765
765
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, $table, resultContinuation) {
|
|
766
|
-
this.
|
|
767
|
-
this.
|
|
766
|
+
this.y9s_1 = $$this$unsafeFlow;
|
|
767
|
+
this.z9s_1 = $table;
|
|
768
768
|
CoroutineImpl.call(this, resultContinuation);
|
|
769
769
|
}
|
|
770
770
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).x2h = function (value, $completion) {
|
|
@@ -784,10 +784,10 @@
|
|
|
784
784
|
switch (tmp) {
|
|
785
785
|
case 0:
|
|
786
786
|
this.t8_1 = 2;
|
|
787
|
-
var tmp0 = this.
|
|
788
|
-
var value = this.
|
|
787
|
+
var tmp0 = this.y9s_1;
|
|
788
|
+
var value = this.a9t_1;
|
|
789
789
|
this.s8_1 = 1;
|
|
790
|
-
suspendResult = tmp0.o28(new ActionsStateUpdate(this.
|
|
790
|
+
suspendResult = tmp0.o28(new ActionsStateUpdate(this.z9s_1.id, value), this);
|
|
791
791
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
792
792
|
return suspendResult;
|
|
793
793
|
}
|
|
@@ -810,8 +810,8 @@
|
|
|
810
810
|
while (true);
|
|
811
811
|
};
|
|
812
812
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).y2h = function (value, completion) {
|
|
813
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.
|
|
814
|
-
i.
|
|
813
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.y9s_1, this.z9s_1, completion);
|
|
814
|
+
i.a9t_1 = value;
|
|
815
815
|
return i;
|
|
816
816
|
};
|
|
817
817
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, $table, resultContinuation) {
|
|
@@ -824,8 +824,8 @@
|
|
|
824
824
|
}
|
|
825
825
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
826
826
|
CoroutineImpl.call(this, resultContinuation);
|
|
827
|
-
this.
|
|
828
|
-
this.
|
|
827
|
+
this.j9t_1 = _this__u8e3s4;
|
|
828
|
+
this.k9t_1 = collector;
|
|
829
829
|
}
|
|
830
830
|
protoOf($collectCOROUTINE$_0).a9 = function () {
|
|
831
831
|
var suspendResult = this.u8_1;
|
|
@@ -835,10 +835,10 @@
|
|
|
835
835
|
switch (tmp) {
|
|
836
836
|
case 0:
|
|
837
837
|
this.t8_1 = 2;
|
|
838
|
-
var $this$unsafeFlow = this.
|
|
838
|
+
var $this$unsafeFlow = this.k9t_1;
|
|
839
839
|
this.s8_1 = 1;
|
|
840
|
-
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
841
|
-
suspendResult = this.
|
|
840
|
+
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.j9t_1.m9t_1, null);
|
|
841
|
+
suspendResult = this.j9t_1.l9t_1.o27(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
|
|
842
842
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
843
843
|
return suspendResult;
|
|
844
844
|
}
|
|
@@ -861,8 +861,8 @@
|
|
|
861
861
|
while (true);
|
|
862
862
|
};
|
|
863
863
|
function _no_name_provided__qut3iv($this, $table) {
|
|
864
|
-
this.
|
|
865
|
-
this.
|
|
864
|
+
this.l9t_1 = $this;
|
|
865
|
+
this.m9t_1 = $table;
|
|
866
866
|
}
|
|
867
867
|
protoOf(_no_name_provided__qut3iv).p28 = function (collector, $completion) {
|
|
868
868
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
@@ -874,18 +874,18 @@
|
|
|
874
874
|
return this.p28(collector, $completion);
|
|
875
875
|
};
|
|
876
876
|
function GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation) {
|
|
877
|
-
this.
|
|
878
|
-
this.
|
|
877
|
+
this.v9t_1 = $table;
|
|
878
|
+
this.w9t_1 = this$0;
|
|
879
879
|
CoroutineImpl.call(this, resultContinuation);
|
|
880
880
|
}
|
|
881
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
882
|
-
var tmp = this.
|
|
881
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).y9t = function ($this$flow, $completion) {
|
|
882
|
+
var tmp = this.z9t($this$flow, $completion);
|
|
883
883
|
tmp.u8_1 = Unit_instance;
|
|
884
884
|
tmp.v8_1 = null;
|
|
885
885
|
return tmp.a9();
|
|
886
886
|
};
|
|
887
887
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).i9 = function (p1, $completion) {
|
|
888
|
-
return this.
|
|
888
|
+
return this.y9t((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
889
889
|
};
|
|
890
890
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).a9 = function () {
|
|
891
891
|
var suspendResult = this.u8_1;
|
|
@@ -896,7 +896,7 @@
|
|
|
896
896
|
case 0:
|
|
897
897
|
this.t8_1 = 3;
|
|
898
898
|
this.s8_1 = 1;
|
|
899
|
-
suspendResult = this.
|
|
899
|
+
suspendResult = this.x9t_1.o28(new TableStateUpdate(this.v9t_1.id, this.v9t_1), this);
|
|
900
900
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
901
901
|
return suspendResult;
|
|
902
902
|
}
|
|
@@ -904,8 +904,8 @@
|
|
|
904
904
|
continue $sm;
|
|
905
905
|
case 1:
|
|
906
906
|
this.s8_1 = 2;
|
|
907
|
-
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.
|
|
908
|
-
suspendResult = emitAll(this.
|
|
907
|
+
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.w9t_1).f8s(), fromInt(_get_serverReduxConfig__rprcrm(this.w9t_1).serverStateUpdateIntervalMillis));
|
|
908
|
+
suspendResult = emitAll(this.x9t_1, new _no_name_provided__qut3iv(this_0, this.v9t_1), this);
|
|
909
909
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
910
910
|
return suspendResult;
|
|
911
911
|
}
|
|
@@ -927,22 +927,22 @@
|
|
|
927
927
|
}
|
|
928
928
|
while (true);
|
|
929
929
|
};
|
|
930
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
931
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.
|
|
932
|
-
i.
|
|
930
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).z9t = function ($this$flow, completion) {
|
|
931
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.v9t_1, this.w9t_1, completion);
|
|
932
|
+
i.x9t_1 = $this$flow;
|
|
933
933
|
return i;
|
|
934
934
|
};
|
|
935
935
|
function GameServer$observeTableStateUpdates$slambda$slambda_0($table, this$0, resultContinuation) {
|
|
936
936
|
var i = new GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation);
|
|
937
937
|
var l = function ($this$flow, $completion) {
|
|
938
|
-
return i.
|
|
938
|
+
return i.y9t($this$flow, $completion);
|
|
939
939
|
};
|
|
940
940
|
l.$arity = 1;
|
|
941
941
|
return l;
|
|
942
942
|
}
|
|
943
943
|
function GameServer$observeTableStateUpdates$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
|
|
944
|
-
this.
|
|
945
|
-
this.
|
|
944
|
+
this.i9u_1 = $$this$unsafeFlow;
|
|
945
|
+
this.j9u_1 = this$0;
|
|
946
946
|
CoroutineImpl.call(this, resultContinuation);
|
|
947
947
|
}
|
|
948
948
|
protoOf(GameServer$observeTableStateUpdates$o$collect$slambda).x2h = function (value, $completion) {
|
|
@@ -963,16 +963,16 @@
|
|
|
963
963
|
case 0:
|
|
964
964
|
this.t8_1 = 5;
|
|
965
965
|
var tmp_0 = this;
|
|
966
|
-
tmp_0.
|
|
966
|
+
tmp_0.o9u_1 = this.i9u_1;
|
|
967
967
|
var tmp_1 = this;
|
|
968
|
-
tmp_1.
|
|
968
|
+
tmp_1.n9u_1 = this.k9u_1;
|
|
969
969
|
this.s8_1 = 1;
|
|
970
970
|
continue $sm;
|
|
971
971
|
case 1:
|
|
972
|
-
this.
|
|
973
|
-
var it = this.
|
|
972
|
+
this.l9u_1 = this.o9u_1;
|
|
973
|
+
var it = this.n9u_1;
|
|
974
974
|
var tmp_2;
|
|
975
|
-
if (get_isCreated(this.
|
|
975
|
+
if (get_isCreated(this.j9u_1.x66())) {
|
|
976
976
|
tmp_2 = it;
|
|
977
977
|
} else {
|
|
978
978
|
tmp_2 = null;
|
|
@@ -984,15 +984,15 @@
|
|
|
984
984
|
var tmp_3 = this;
|
|
985
985
|
continue $sm;
|
|
986
986
|
} else {
|
|
987
|
-
this.
|
|
987
|
+
this.m9u_1 = tmp0_elvis_lhs;
|
|
988
988
|
this.s8_1 = 2;
|
|
989
989
|
continue $sm;
|
|
990
990
|
}
|
|
991
991
|
|
|
992
992
|
case 2:
|
|
993
|
-
var transformed = this.
|
|
993
|
+
var transformed = this.m9u_1;
|
|
994
994
|
this.s8_1 = 3;
|
|
995
|
-
suspendResult = this.
|
|
995
|
+
suspendResult = this.l9u_1.o28(transformed, this);
|
|
996
996
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
997
997
|
return suspendResult;
|
|
998
998
|
}
|
|
@@ -1023,8 +1023,8 @@
|
|
|
1023
1023
|
while (true);
|
|
1024
1024
|
};
|
|
1025
1025
|
protoOf(GameServer$observeTableStateUpdates$o$collect$slambda).y2h = function (value, completion) {
|
|
1026
|
-
var i = new GameServer$observeTableStateUpdates$o$collect$slambda(this.
|
|
1027
|
-
i.
|
|
1026
|
+
var i = new GameServer$observeTableStateUpdates$o$collect$slambda(this.i9u_1, this.j9u_1, completion);
|
|
1027
|
+
i.k9u_1 = value;
|
|
1028
1028
|
return i;
|
|
1029
1029
|
};
|
|
1030
1030
|
function GameServer$observeTableStateUpdates$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
@@ -1037,8 +1037,8 @@
|
|
|
1037
1037
|
}
|
|
1038
1038
|
function $collectCOROUTINE$_1(_this__u8e3s4, collector, resultContinuation) {
|
|
1039
1039
|
CoroutineImpl.call(this, resultContinuation);
|
|
1040
|
-
this.
|
|
1041
|
-
this.
|
|
1040
|
+
this.x9u_1 = _this__u8e3s4;
|
|
1041
|
+
this.y9u_1 = collector;
|
|
1042
1042
|
}
|
|
1043
1043
|
protoOf($collectCOROUTINE$_1).a9 = function () {
|
|
1044
1044
|
var suspendResult = this.u8_1;
|
|
@@ -1048,10 +1048,10 @@
|
|
|
1048
1048
|
switch (tmp) {
|
|
1049
1049
|
case 0:
|
|
1050
1050
|
this.t8_1 = 2;
|
|
1051
|
-
var $this$unsafeFlow = this.
|
|
1051
|
+
var $this$unsafeFlow = this.y9u_1;
|
|
1052
1052
|
this.s8_1 = 1;
|
|
1053
|
-
var tmp_0 = GameServer$observeTableStateUpdates$o$collect$slambda_0($this$unsafeFlow, this.
|
|
1054
|
-
suspendResult = this.
|
|
1053
|
+
var tmp_0 = GameServer$observeTableStateUpdates$o$collect$slambda_0($this$unsafeFlow, this.x9u_1.a9v_1, null);
|
|
1054
|
+
suspendResult = this.x9u_1.z9u_1.o27(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
|
|
1055
1055
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1056
1056
|
return suspendResult;
|
|
1057
1057
|
}
|
|
@@ -1074,7 +1074,7 @@
|
|
|
1074
1074
|
while (true);
|
|
1075
1075
|
};
|
|
1076
1076
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
1077
|
-
this.
|
|
1077
|
+
this.j9v_1 = $$this$unsafeFlow;
|
|
1078
1078
|
CoroutineImpl.call(this, resultContinuation);
|
|
1079
1079
|
}
|
|
1080
1080
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).x2h = function (value, $completion) {
|
|
@@ -1095,28 +1095,28 @@
|
|
|
1095
1095
|
case 0:
|
|
1096
1096
|
this.t8_1 = 5;
|
|
1097
1097
|
var tmp_0 = this;
|
|
1098
|
-
tmp_0.
|
|
1098
|
+
tmp_0.o9v_1 = this.j9v_1;
|
|
1099
1099
|
var tmp_1 = this;
|
|
1100
|
-
tmp_1.
|
|
1100
|
+
tmp_1.n9v_1 = this.k9v_1;
|
|
1101
1101
|
this.s8_1 = 1;
|
|
1102
1102
|
continue $sm;
|
|
1103
1103
|
case 1:
|
|
1104
|
-
this.
|
|
1105
|
-
var tmp0_elvis_lhs = this.
|
|
1104
|
+
this.l9v_1 = this.o9v_1;
|
|
1105
|
+
var tmp0_elvis_lhs = this.n9v_1.tableOrNull;
|
|
1106
1106
|
if (tmp0_elvis_lhs == null) {
|
|
1107
1107
|
this.s8_1 = 4;
|
|
1108
1108
|
var tmp_2 = this;
|
|
1109
1109
|
continue $sm;
|
|
1110
1110
|
} else {
|
|
1111
|
-
this.
|
|
1111
|
+
this.m9v_1 = tmp0_elvis_lhs;
|
|
1112
1112
|
this.s8_1 = 2;
|
|
1113
1113
|
continue $sm;
|
|
1114
1114
|
}
|
|
1115
1115
|
|
|
1116
1116
|
case 2:
|
|
1117
|
-
var transformed = this.
|
|
1117
|
+
var transformed = this.m9v_1;
|
|
1118
1118
|
this.s8_1 = 3;
|
|
1119
|
-
suspendResult = this.
|
|
1119
|
+
suspendResult = this.l9v_1.o28(transformed, this);
|
|
1120
1120
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1121
1121
|
return suspendResult;
|
|
1122
1122
|
}
|
|
@@ -1147,8 +1147,8 @@
|
|
|
1147
1147
|
while (true);
|
|
1148
1148
|
};
|
|
1149
1149
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).y2h = function (value, completion) {
|
|
1150
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.
|
|
1151
|
-
i.
|
|
1150
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.j9v_1, completion);
|
|
1151
|
+
i.k9v_1 = value;
|
|
1152
1152
|
return i;
|
|
1153
1153
|
};
|
|
1154
1154
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1161,8 +1161,8 @@
|
|
|
1161
1161
|
}
|
|
1162
1162
|
function $collectCOROUTINE$_2(_this__u8e3s4, collector, resultContinuation) {
|
|
1163
1163
|
CoroutineImpl.call(this, resultContinuation);
|
|
1164
|
-
this.
|
|
1165
|
-
this.
|
|
1164
|
+
this.x9v_1 = _this__u8e3s4;
|
|
1165
|
+
this.y9v_1 = collector;
|
|
1166
1166
|
}
|
|
1167
1167
|
protoOf($collectCOROUTINE$_2).a9 = function () {
|
|
1168
1168
|
var suspendResult = this.u8_1;
|
|
@@ -1172,10 +1172,10 @@
|
|
|
1172
1172
|
switch (tmp) {
|
|
1173
1173
|
case 0:
|
|
1174
1174
|
this.t8_1 = 2;
|
|
1175
|
-
var $this$unsafeFlow = this.
|
|
1175
|
+
var $this$unsafeFlow = this.y9v_1;
|
|
1176
1176
|
this.s8_1 = 1;
|
|
1177
1177
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($this$unsafeFlow, null);
|
|
1178
|
-
suspendResult = this.
|
|
1178
|
+
suspendResult = this.x9v_1.z9v_1.o27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1179
1179
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1180
1180
|
return suspendResult;
|
|
1181
1181
|
}
|
|
@@ -1198,7 +1198,7 @@
|
|
|
1198
1198
|
while (true);
|
|
1199
1199
|
};
|
|
1200
1200
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_1($$this$unsafeFlow, resultContinuation) {
|
|
1201
|
-
this.
|
|
1201
|
+
this.i9w_1 = $$this$unsafeFlow;
|
|
1202
1202
|
CoroutineImpl.call(this, resultContinuation);
|
|
1203
1203
|
}
|
|
1204
1204
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).x2h = function (value, $completion) {
|
|
@@ -1218,8 +1218,8 @@
|
|
|
1218
1218
|
switch (tmp) {
|
|
1219
1219
|
case 0:
|
|
1220
1220
|
this.t8_1 = 2;
|
|
1221
|
-
var tmp0 = this.
|
|
1222
|
-
var value = this.
|
|
1221
|
+
var tmp0 = this.i9w_1;
|
|
1222
|
+
var value = this.j9w_1;
|
|
1223
1223
|
this.s8_1 = 1;
|
|
1224
1224
|
suspendResult = tmp0.o28(to(value.gameInfo.roundNumberTotal, value), this);
|
|
1225
1225
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1244,8 +1244,8 @@
|
|
|
1244
1244
|
while (true);
|
|
1245
1245
|
};
|
|
1246
1246
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).y2h = function (value, completion) {
|
|
1247
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.
|
|
1248
|
-
i.
|
|
1247
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.i9w_1, completion);
|
|
1248
|
+
i.j9w_1 = value;
|
|
1249
1249
|
return i;
|
|
1250
1250
|
};
|
|
1251
1251
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1258,8 +1258,8 @@
|
|
|
1258
1258
|
}
|
|
1259
1259
|
function $collectCOROUTINE$_3(_this__u8e3s4, collector, resultContinuation) {
|
|
1260
1260
|
CoroutineImpl.call(this, resultContinuation);
|
|
1261
|
-
this.
|
|
1262
|
-
this.
|
|
1261
|
+
this.s9w_1 = _this__u8e3s4;
|
|
1262
|
+
this.t9w_1 = collector;
|
|
1263
1263
|
}
|
|
1264
1264
|
protoOf($collectCOROUTINE$_3).a9 = function () {
|
|
1265
1265
|
var suspendResult = this.u8_1;
|
|
@@ -1269,10 +1269,10 @@
|
|
|
1269
1269
|
switch (tmp) {
|
|
1270
1270
|
case 0:
|
|
1271
1271
|
this.t8_1 = 2;
|
|
1272
|
-
var $this$unsafeFlow = this.
|
|
1272
|
+
var $this$unsafeFlow = this.t9w_1;
|
|
1273
1273
|
this.s8_1 = 1;
|
|
1274
1274
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($this$unsafeFlow, null);
|
|
1275
|
-
suspendResult = this.
|
|
1275
|
+
suspendResult = this.s9w_1.u9w_1.o27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1276
1276
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1277
1277
|
return suspendResult;
|
|
1278
1278
|
}
|
|
@@ -1295,7 +1295,7 @@
|
|
|
1295
1295
|
while (true);
|
|
1296
1296
|
};
|
|
1297
1297
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_3($$this$unsafeFlow, resultContinuation) {
|
|
1298
|
-
this.
|
|
1298
|
+
this.d9x_1 = $$this$unsafeFlow;
|
|
1299
1299
|
CoroutineImpl.call(this, resultContinuation);
|
|
1300
1300
|
}
|
|
1301
1301
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).x2h = function (value, $completion) {
|
|
@@ -1315,8 +1315,8 @@
|
|
|
1315
1315
|
switch (tmp) {
|
|
1316
1316
|
case 0:
|
|
1317
1317
|
this.t8_1 = 2;
|
|
1318
|
-
var tmp0 = this.
|
|
1319
|
-
var value = this.
|
|
1318
|
+
var tmp0 = this.d9x_1;
|
|
1319
|
+
var value = this.e9x_1;
|
|
1320
1320
|
this.s8_1 = 1;
|
|
1321
1321
|
suspendResult = tmp0.o28(value.ne_1, this);
|
|
1322
1322
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1341,8 +1341,8 @@
|
|
|
1341
1341
|
while (true);
|
|
1342
1342
|
};
|
|
1343
1343
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).y2h = function (value, completion) {
|
|
1344
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.
|
|
1345
|
-
i.
|
|
1344
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.d9x_1, completion);
|
|
1345
|
+
i.e9x_1 = value;
|
|
1346
1346
|
return i;
|
|
1347
1347
|
};
|
|
1348
1348
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1355,8 +1355,8 @@
|
|
|
1355
1355
|
}
|
|
1356
1356
|
function $collectCOROUTINE$_4(_this__u8e3s4, collector, resultContinuation) {
|
|
1357
1357
|
CoroutineImpl.call(this, resultContinuation);
|
|
1358
|
-
this.
|
|
1359
|
-
this.
|
|
1358
|
+
this.n9x_1 = _this__u8e3s4;
|
|
1359
|
+
this.o9x_1 = collector;
|
|
1360
1360
|
}
|
|
1361
1361
|
protoOf($collectCOROUTINE$_4).a9 = function () {
|
|
1362
1362
|
var suspendResult = this.u8_1;
|
|
@@ -1366,10 +1366,10 @@
|
|
|
1366
1366
|
switch (tmp) {
|
|
1367
1367
|
case 0:
|
|
1368
1368
|
this.t8_1 = 2;
|
|
1369
|
-
var $this$unsafeFlow = this.
|
|
1369
|
+
var $this$unsafeFlow = this.o9x_1;
|
|
1370
1370
|
this.s8_1 = 1;
|
|
1371
1371
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($this$unsafeFlow, null);
|
|
1372
|
-
suspendResult = this.
|
|
1372
|
+
suspendResult = this.n9x_1.p9x_1.o27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1373
1373
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1374
1374
|
return suspendResult;
|
|
1375
1375
|
}
|
|
@@ -1392,17 +1392,17 @@
|
|
|
1392
1392
|
while (true);
|
|
1393
1393
|
};
|
|
1394
1394
|
function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
|
|
1395
|
-
this.
|
|
1395
|
+
this.y9x_1 = $subscriber;
|
|
1396
1396
|
CoroutineImpl.call(this, resultContinuation);
|
|
1397
1397
|
}
|
|
1398
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1399
|
-
var tmp = this.
|
|
1398
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).a9y = function (it, $completion) {
|
|
1399
|
+
var tmp = this.b9y(it, $completion);
|
|
1400
1400
|
tmp.u8_1 = Unit_instance;
|
|
1401
1401
|
tmp.v8_1 = null;
|
|
1402
1402
|
return tmp.a9();
|
|
1403
1403
|
};
|
|
1404
1404
|
protoOf(GameServer$subscribeWith$slambda$slambda).i9 = function (p1, $completion) {
|
|
1405
|
-
return this.
|
|
1405
|
+
return this.a9y(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
|
|
1406
1406
|
};
|
|
1407
1407
|
protoOf(GameServer$subscribeWith$slambda$slambda).a9 = function () {
|
|
1408
1408
|
var suspendResult = this.u8_1;
|
|
@@ -1411,7 +1411,7 @@
|
|
|
1411
1411
|
var tmp = this.s8_1;
|
|
1412
1412
|
if (tmp === 0) {
|
|
1413
1413
|
this.t8_1 = 1;
|
|
1414
|
-
this.
|
|
1414
|
+
this.y9x_1(this.z9x_1);
|
|
1415
1415
|
return Unit_instance;
|
|
1416
1416
|
} else if (tmp === 1) {
|
|
1417
1417
|
throw this.v8_1;
|
|
@@ -1422,91 +1422,91 @@
|
|
|
1422
1422
|
}
|
|
1423
1423
|
while (true);
|
|
1424
1424
|
};
|
|
1425
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1426
|
-
var i = new GameServer$subscribeWith$slambda$slambda(this.
|
|
1427
|
-
i.
|
|
1425
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).b9y = function (it, completion) {
|
|
1426
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.y9x_1, completion);
|
|
1427
|
+
i.z9x_1 = it;
|
|
1428
1428
|
return i;
|
|
1429
1429
|
};
|
|
1430
1430
|
function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
|
|
1431
1431
|
var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
|
|
1432
1432
|
var l = function (it, $completion) {
|
|
1433
|
-
return i.
|
|
1433
|
+
return i.a9y(it, $completion);
|
|
1434
1434
|
};
|
|
1435
1435
|
l.$arity = 1;
|
|
1436
1436
|
return l;
|
|
1437
1437
|
}
|
|
1438
1438
|
function _get_toClientEventsObserver__6rp51y($this) {
|
|
1439
|
-
var tmp0 = $this.
|
|
1439
|
+
var tmp0 = $this.g9y_1;
|
|
1440
1440
|
var tmp = KProperty1;
|
|
1441
1441
|
// Inline function 'kotlin.getValue' call
|
|
1442
1442
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, GameServer$_get_toClientEventsObserver_$ref_utir8s_0(), null);
|
|
1443
1443
|
return tmp0.x();
|
|
1444
1444
|
}
|
|
1445
1445
|
function _get_fromClientEventsObserver__a7vzd3($this) {
|
|
1446
|
-
var tmp0 = $this.
|
|
1446
|
+
var tmp0 = $this.h9y_1;
|
|
1447
1447
|
var tmp = KProperty1;
|
|
1448
1448
|
// Inline function 'kotlin.getValue' call
|
|
1449
1449
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, GameServer$_get_fromClientEventsObserver_$ref_nf1g79_0(), null);
|
|
1450
1450
|
return tmp0.x();
|
|
1451
1451
|
}
|
|
1452
1452
|
function _get_playerConnectionInteractor__si6cxf($this) {
|
|
1453
|
-
var tmp0 = $this.
|
|
1453
|
+
var tmp0 = $this.i9y_1;
|
|
1454
1454
|
var tmp = KProperty1;
|
|
1455
1455
|
// Inline function 'kotlin.getValue' call
|
|
1456
1456
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, GameServer$_get_playerConnectionInteractor_$ref_of8tan_0(), null);
|
|
1457
1457
|
return tmp0.x();
|
|
1458
1458
|
}
|
|
1459
1459
|
function _get_teamsLogicProvider__u10pm6($this) {
|
|
1460
|
-
var tmp0 = $this.
|
|
1460
|
+
var tmp0 = $this.j9y_1;
|
|
1461
1461
|
var tmp = KProperty1;
|
|
1462
1462
|
// Inline function 'kotlin.getValue' call
|
|
1463
1463
|
getPropertyCallableRef('teamsLogicProvider', 1, tmp, GameServer$_get_teamsLogicProvider_$ref_b7y54g_0(), null);
|
|
1464
1464
|
return tmp0.x();
|
|
1465
1465
|
}
|
|
1466
1466
|
function _get_userRatingInteractor__a09mdy($this) {
|
|
1467
|
-
var tmp0 = $this.
|
|
1467
|
+
var tmp0 = $this.k9y_1;
|
|
1468
1468
|
var tmp = KProperty1;
|
|
1469
1469
|
// Inline function 'kotlin.getValue' call
|
|
1470
1470
|
getPropertyCallableRef('userRatingInteractor', 1, tmp, GameServer$_get_userRatingInteractor_$ref_8uo6aw_0(), null);
|
|
1471
1471
|
return tmp0.x();
|
|
1472
1472
|
}
|
|
1473
1473
|
function _get_random__h29cgo($this) {
|
|
1474
|
-
var tmp0 = $this.
|
|
1474
|
+
var tmp0 = $this.l9y_1;
|
|
1475
1475
|
var tmp = KProperty1;
|
|
1476
1476
|
// Inline function 'kotlin.getValue' call
|
|
1477
1477
|
getPropertyCallableRef('random', 1, tmp, GameServer$_get_random_$ref_fottnq(), null);
|
|
1478
1478
|
return tmp0.x();
|
|
1479
1479
|
}
|
|
1480
1480
|
function _get_idsProvider__fnfajc($this) {
|
|
1481
|
-
var tmp0 = $this.
|
|
1481
|
+
var tmp0 = $this.m9y_1;
|
|
1482
1482
|
var tmp = KProperty1;
|
|
1483
1483
|
// Inline function 'kotlin.getValue' call
|
|
1484
1484
|
getPropertyCallableRef('idsProvider', 1, tmp, GameServer$_get_idsProvider_$ref_89s908_0(), null);
|
|
1485
1485
|
return tmp0.x();
|
|
1486
1486
|
}
|
|
1487
1487
|
function _get_serverReduxConfig__rprcrm($this) {
|
|
1488
|
-
var tmp0 = $this.
|
|
1488
|
+
var tmp0 = $this.n9y_1;
|
|
1489
1489
|
var tmp = KProperty1;
|
|
1490
1490
|
// Inline function 'kotlin.getValue' call
|
|
1491
1491
|
getPropertyCallableRef('serverReduxConfig', 1, tmp, GameServer$_get_serverReduxConfig_$ref_7h6jq6_0(), null);
|
|
1492
1492
|
return tmp0.x();
|
|
1493
1493
|
}
|
|
1494
1494
|
function _get_encoderDecoderProvider__qqgrji($this) {
|
|
1495
|
-
var tmp0 = $this.
|
|
1495
|
+
var tmp0 = $this.o9y_1;
|
|
1496
1496
|
var tmp = KProperty1;
|
|
1497
1497
|
// Inline function 'kotlin.getValue' call
|
|
1498
1498
|
getPropertyCallableRef('encoderDecoderProvider', 1, tmp, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8_0(), null);
|
|
1499
1499
|
return tmp0.x();
|
|
1500
1500
|
}
|
|
1501
1501
|
function _get_engineLogicConfig__l11qpf($this) {
|
|
1502
|
-
var tmp0 = $this.
|
|
1502
|
+
var tmp0 = $this.p9y_1;
|
|
1503
1503
|
var tmp = KProperty1;
|
|
1504
1504
|
// Inline function 'kotlin.getValue' call
|
|
1505
1505
|
getPropertyCallableRef('engineLogicConfig', 1, tmp, GameServer$_get_engineLogicConfig_$ref_nlkv2l_0(), null);
|
|
1506
1506
|
return tmp0.x();
|
|
1507
1507
|
}
|
|
1508
1508
|
function _get_botChatInteractor__17f3on($this) {
|
|
1509
|
-
var tmp0 = $this.
|
|
1509
|
+
var tmp0 = $this.q9y_1;
|
|
1510
1510
|
var tmp = KProperty1;
|
|
1511
1511
|
// Inline function 'kotlin.getValue' call
|
|
1512
1512
|
getPropertyCallableRef('botChatInteractor', 1, tmp, GameServer$_get_botChatInteractor_$ref_zf10ih_0(), null);
|
|
@@ -1542,7 +1542,7 @@
|
|
|
1542
1542
|
var player = getPlayer(table.players, playerId);
|
|
1543
1543
|
var tmp;
|
|
1544
1544
|
if (_get_engineLogicConfig__l11qpf($this).updateRating) {
|
|
1545
|
-
var tmp0_safe_receiver = _get_userRatingInteractor__a09mdy($this).
|
|
1545
|
+
var tmp0_safe_receiver = _get_userRatingInteractor__a09mdy($this).s8z(player, table.players, table.config, table.gameDuration, table.isGameFinished);
|
|
1546
1546
|
var tmp_0;
|
|
1547
1547
|
if (tmp0_safe_receiver == null) {
|
|
1548
1548
|
tmp_0 = null;
|
|
@@ -1605,7 +1605,7 @@
|
|
|
1605
1605
|
var tmp$ret$3 = new GameServer$preserveTeams$previousTeams$1(item);
|
|
1606
1606
|
destination.j(tmp$ret$3);
|
|
1607
1607
|
}
|
|
1608
|
-
var previousTeams = tmp.
|
|
1608
|
+
var previousTeams = tmp.z8r(destination);
|
|
1609
1609
|
// Inline function 'kotlin.collections.filterNot' call
|
|
1610
1610
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
1611
1611
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
@@ -1636,23 +1636,23 @@
|
|
|
1636
1636
|
destination_1.j(destination_2);
|
|
1637
1637
|
}
|
|
1638
1638
|
var updatedTeams = destination_1;
|
|
1639
|
-
return _get_teamsLogicProvider__u10pm6($this).
|
|
1639
|
+
return _get_teamsLogicProvider__u10pm6($this).a8s(updatedTeams);
|
|
1640
1640
|
}
|
|
1641
1641
|
function Companion() {
|
|
1642
|
-
this.
|
|
1642
|
+
this.s9y_1 = 'GameEngine_API';
|
|
1643
1643
|
}
|
|
1644
1644
|
var Companion_instance_9;
|
|
1645
1645
|
function Companion_getInstance_0() {
|
|
1646
1646
|
return Companion_instance_9;
|
|
1647
1647
|
}
|
|
1648
1648
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
1649
|
-
this.
|
|
1649
|
+
this.t9y_1 = function_0;
|
|
1650
1650
|
}
|
|
1651
1651
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).o28 = function (value, $completion) {
|
|
1652
|
-
return this.
|
|
1652
|
+
return this.t9y_1(value, $completion);
|
|
1653
1653
|
};
|
|
1654
1654
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).b3 = function () {
|
|
1655
|
-
return this.
|
|
1655
|
+
return this.t9y_1;
|
|
1656
1656
|
};
|
|
1657
1657
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
1658
1658
|
var tmp;
|
|
@@ -1673,13 +1673,13 @@
|
|
|
1673
1673
|
return hashCode(this.b3());
|
|
1674
1674
|
};
|
|
1675
1675
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
1676
|
-
this.
|
|
1676
|
+
this.u9y_1 = function_0;
|
|
1677
1677
|
}
|
|
1678
1678
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).o28 = function (value, $completion) {
|
|
1679
|
-
return this.
|
|
1679
|
+
return this.u9y_1(value, $completion);
|
|
1680
1680
|
};
|
|
1681
1681
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).b3 = function () {
|
|
1682
|
-
return this.
|
|
1682
|
+
return this.u9y_1;
|
|
1683
1683
|
};
|
|
1684
1684
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
1685
1685
|
var tmp;
|
|
@@ -1700,13 +1700,13 @@
|
|
|
1700
1700
|
return hashCode(this.b3());
|
|
1701
1701
|
};
|
|
1702
1702
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
|
|
1703
|
-
this.
|
|
1703
|
+
this.v9y_1 = function_0;
|
|
1704
1704
|
}
|
|
1705
1705
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).o28 = function (value, $completion) {
|
|
1706
|
-
return this.
|
|
1706
|
+
return this.v9y_1(value, $completion);
|
|
1707
1707
|
};
|
|
1708
1708
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).b3 = function () {
|
|
1709
|
-
return this.
|
|
1709
|
+
return this.v9y_1;
|
|
1710
1710
|
};
|
|
1711
1711
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
|
|
1712
1712
|
var tmp;
|
|
@@ -1727,13 +1727,13 @@
|
|
|
1727
1727
|
return hashCode(this.b3());
|
|
1728
1728
|
};
|
|
1729
1729
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
|
|
1730
|
-
this.
|
|
1730
|
+
this.w9y_1 = function_0;
|
|
1731
1731
|
}
|
|
1732
1732
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).o28 = function (value, $completion) {
|
|
1733
|
-
return this.
|
|
1733
|
+
return this.w9y_1(value, $completion);
|
|
1734
1734
|
};
|
|
1735
1735
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).b3 = function () {
|
|
1736
|
-
return this.
|
|
1736
|
+
return this.w9y_1;
|
|
1737
1737
|
};
|
|
1738
1738
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
|
|
1739
1739
|
var tmp;
|
|
@@ -1754,13 +1754,13 @@
|
|
|
1754
1754
|
return hashCode(this.b3());
|
|
1755
1755
|
};
|
|
1756
1756
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_3(function_0) {
|
|
1757
|
-
this.
|
|
1757
|
+
this.x9y_1 = function_0;
|
|
1758
1758
|
}
|
|
1759
1759
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).o28 = function (value, $completion) {
|
|
1760
|
-
return this.
|
|
1760
|
+
return this.x9y_1(value, $completion);
|
|
1761
1761
|
};
|
|
1762
1762
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).b3 = function () {
|
|
1763
|
-
return this.
|
|
1763
|
+
return this.x9y_1;
|
|
1764
1764
|
};
|
|
1765
1765
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).equals = function (other) {
|
|
1766
1766
|
var tmp;
|
|
@@ -1781,13 +1781,13 @@
|
|
|
1781
1781
|
return hashCode(this.b3());
|
|
1782
1782
|
};
|
|
1783
1783
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_4(function_0) {
|
|
1784
|
-
this.
|
|
1784
|
+
this.y9y_1 = function_0;
|
|
1785
1785
|
}
|
|
1786
1786
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).o28 = function (value, $completion) {
|
|
1787
|
-
return this.
|
|
1787
|
+
return this.y9y_1(value, $completion);
|
|
1788
1788
|
};
|
|
1789
1789
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).b3 = function () {
|
|
1790
|
-
return this.
|
|
1790
|
+
return this.y9y_1;
|
|
1791
1791
|
};
|
|
1792
1792
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).equals = function (other) {
|
|
1793
1793
|
var tmp;
|
|
@@ -1918,8 +1918,8 @@
|
|
|
1918
1918
|
};
|
|
1919
1919
|
}
|
|
1920
1920
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
1921
|
-
this.
|
|
1922
|
-
this.
|
|
1921
|
+
this.h9z_1 = this$0;
|
|
1922
|
+
this.i9z_1 = $subscriber;
|
|
1923
1923
|
CoroutineImpl.call(this, resultContinuation);
|
|
1924
1924
|
}
|
|
1925
1925
|
protoOf(GameServer$subscribeToClientAction$slambda).c2d = function ($this$launchDefault, $completion) {
|
|
@@ -1940,8 +1940,8 @@
|
|
|
1940
1940
|
case 0:
|
|
1941
1941
|
this.t8_1 = 2;
|
|
1942
1942
|
this.s8_1 = 1;
|
|
1943
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
1944
|
-
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.
|
|
1943
|
+
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.h9z_1).k9z();
|
|
1944
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.i9z_1, null);
|
|
1945
1945
|
suspendResult = tmp_0.o27(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
1946
1946
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1947
1947
|
return suspendResult;
|
|
@@ -1965,8 +1965,8 @@
|
|
|
1965
1965
|
while (true);
|
|
1966
1966
|
};
|
|
1967
1967
|
protoOf(GameServer$subscribeToClientAction$slambda).d2d = function ($this$launchDefault, completion) {
|
|
1968
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
1969
|
-
i.
|
|
1968
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.h9z_1, this.i9z_1, completion);
|
|
1969
|
+
i.j9z_1 = $this$launchDefault;
|
|
1970
1970
|
return i;
|
|
1971
1971
|
};
|
|
1972
1972
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1978,8 +1978,8 @@
|
|
|
1978
1978
|
return l;
|
|
1979
1979
|
}
|
|
1980
1980
|
function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
|
|
1981
|
-
this.
|
|
1982
|
-
this.
|
|
1981
|
+
this.t9z_1 = this$0;
|
|
1982
|
+
this.u9z_1 = $subscriber;
|
|
1983
1983
|
CoroutineImpl.call(this, resultContinuation);
|
|
1984
1984
|
}
|
|
1985
1985
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).c2d = function ($this$launchDefault, $completion) {
|
|
@@ -2000,8 +2000,8 @@
|
|
|
2000
2000
|
case 0:
|
|
2001
2001
|
this.t8_1 = 2;
|
|
2002
2002
|
this.s8_1 = 1;
|
|
2003
|
-
var tmp_0 = observeTableStateUpdates(this.
|
|
2004
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.
|
|
2003
|
+
var tmp_0 = observeTableStateUpdates(this.t9z_1);
|
|
2004
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.u9z_1, null);
|
|
2005
2005
|
suspendResult = tmp_0.o27(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
2006
2006
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2007
2007
|
return suspendResult;
|
|
@@ -2025,8 +2025,8 @@
|
|
|
2025
2025
|
while (true);
|
|
2026
2026
|
};
|
|
2027
2027
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).d2d = function ($this$launchDefault, completion) {
|
|
2028
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda(this.
|
|
2029
|
-
i.
|
|
2028
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda(this.t9z_1, this.u9z_1, completion);
|
|
2029
|
+
i.v9z_1 = $this$launchDefault;
|
|
2030
2030
|
return i;
|
|
2031
2031
|
};
|
|
2032
2032
|
function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -2038,8 +2038,8 @@
|
|
|
2038
2038
|
return l;
|
|
2039
2039
|
}
|
|
2040
2040
|
function GameServer$subscribeServerStateUpdateJson$slambda(this$0, $subscriber, resultContinuation) {
|
|
2041
|
-
this.
|
|
2042
|
-
this.
|
|
2041
|
+
this.ea0_1 = this$0;
|
|
2042
|
+
this.fa0_1 = $subscriber;
|
|
2043
2043
|
CoroutineImpl.call(this, resultContinuation);
|
|
2044
2044
|
}
|
|
2045
2045
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).c2d = function ($this$launchDefault, $completion) {
|
|
@@ -2060,9 +2060,9 @@
|
|
|
2060
2060
|
case 0:
|
|
2061
2061
|
this.t8_1 = 2;
|
|
2062
2062
|
this.s8_1 = 1;
|
|
2063
|
-
var this_0 = observeTableStateUpdates(this.
|
|
2064
|
-
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.
|
|
2065
|
-
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.
|
|
2063
|
+
var this_0 = observeTableStateUpdates(this.ea0_1);
|
|
2064
|
+
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.ea0_1);
|
|
2065
|
+
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.fa0_1, null);
|
|
2066
2066
|
suspendResult = tmp_0.o27(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
2067
2067
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2068
2068
|
return suspendResult;
|
|
@@ -2086,8 +2086,8 @@
|
|
|
2086
2086
|
while (true);
|
|
2087
2087
|
};
|
|
2088
2088
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).d2d = function ($this$launchDefault, completion) {
|
|
2089
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.
|
|
2090
|
-
i.
|
|
2089
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.ea0_1, this.fa0_1, completion);
|
|
2090
|
+
i.ga0_1 = $this$launchDefault;
|
|
2091
2091
|
return i;
|
|
2092
2092
|
};
|
|
2093
2093
|
function GameServer$subscribeServerStateUpdateJson$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -2099,18 +2099,18 @@
|
|
|
2099
2099
|
return l;
|
|
2100
2100
|
}
|
|
2101
2101
|
function GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation) {
|
|
2102
|
-
this.
|
|
2102
|
+
this.pa0_1 = this$0;
|
|
2103
2103
|
CoroutineImpl.call(this, resultContinuation);
|
|
2104
2104
|
}
|
|
2105
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
2106
|
-
var tmp = this.
|
|
2105
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).sa0 = function ($this$transformLatest, it, $completion) {
|
|
2106
|
+
var tmp = this.ta0($this$transformLatest, it, $completion);
|
|
2107
2107
|
tmp.u8_1 = Unit_instance;
|
|
2108
2108
|
tmp.v8_1 = null;
|
|
2109
2109
|
return tmp.a9();
|
|
2110
2110
|
};
|
|
2111
2111
|
protoOf(GameServer$observeTableStateUpdates$slambda).j9 = function (p1, p2, $completion) {
|
|
2112
2112
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
2113
|
-
return this.
|
|
2113
|
+
return this.sa0(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
2114
2114
|
};
|
|
2115
2115
|
protoOf(GameServer$observeTableStateUpdates$slambda).a9 = function () {
|
|
2116
2116
|
var suspendResult = this.u8_1;
|
|
@@ -2121,8 +2121,8 @@
|
|
|
2121
2121
|
case 0:
|
|
2122
2122
|
this.t8_1 = 2;
|
|
2123
2123
|
this.s8_1 = 1;
|
|
2124
|
-
var table = this.
|
|
2125
|
-
suspendResult = emitAll(this.
|
|
2124
|
+
var table = this.ra0_1;
|
|
2125
|
+
suspendResult = emitAll(this.qa0_1, flow(GameServer$observeTableStateUpdates$slambda$slambda_0(table, this.pa0_1, null)), this);
|
|
2126
2126
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2127
2127
|
return suspendResult;
|
|
2128
2128
|
}
|
|
@@ -2144,23 +2144,23 @@
|
|
|
2144
2144
|
}
|
|
2145
2145
|
while (true);
|
|
2146
2146
|
};
|
|
2147
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
2148
|
-
var i = new GameServer$observeTableStateUpdates$slambda(this.
|
|
2149
|
-
i.
|
|
2150
|
-
i.
|
|
2147
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).ta0 = function ($this$transformLatest, it, completion) {
|
|
2148
|
+
var i = new GameServer$observeTableStateUpdates$slambda(this.pa0_1, completion);
|
|
2149
|
+
i.qa0_1 = $this$transformLatest;
|
|
2150
|
+
i.ra0_1 = it;
|
|
2151
2151
|
return i;
|
|
2152
2152
|
};
|
|
2153
2153
|
function GameServer$observeTableStateUpdates$slambda_0(this$0, resultContinuation) {
|
|
2154
2154
|
var i = new GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation);
|
|
2155
2155
|
var l = function ($this$transformLatest, it, $completion) {
|
|
2156
|
-
return i.
|
|
2156
|
+
return i.sa0($this$transformLatest, it, $completion);
|
|
2157
2157
|
};
|
|
2158
2158
|
l.$arity = 2;
|
|
2159
2159
|
return l;
|
|
2160
2160
|
}
|
|
2161
2161
|
function GameServer$observeTableStateUpdates$$inlined$mapNotNull$1($this, this$0) {
|
|
2162
|
-
this.
|
|
2163
|
-
this.
|
|
2162
|
+
this.z9u_1 = $this;
|
|
2163
|
+
this.a9v_1 = this$0;
|
|
2164
2164
|
}
|
|
2165
2165
|
protoOf(GameServer$observeTableStateUpdates$$inlined$mapNotNull$1).p28 = function (collector, $completion) {
|
|
2166
2166
|
var tmp = new $collectCOROUTINE$_1(this, collector, $completion);
|
|
@@ -2172,7 +2172,7 @@
|
|
|
2172
2172
|
return this.p28(collector, $completion);
|
|
2173
2173
|
};
|
|
2174
2174
|
function GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1($this) {
|
|
2175
|
-
this.
|
|
2175
|
+
this.z9v_1 = $this;
|
|
2176
2176
|
}
|
|
2177
2177
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1).p28 = function (collector, $completion) {
|
|
2178
2178
|
var tmp = new $collectCOROUTINE$_2(this, collector, $completion);
|
|
@@ -2184,7 +2184,7 @@
|
|
|
2184
2184
|
return this.p28(collector, $completion);
|
|
2185
2185
|
};
|
|
2186
2186
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$1($this) {
|
|
2187
|
-
this.
|
|
2187
|
+
this.u9w_1 = $this;
|
|
2188
2188
|
}
|
|
2189
2189
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$1).p28 = function (collector, $completion) {
|
|
2190
2190
|
var tmp = new $collectCOROUTINE$_3(this, collector, $completion);
|
|
@@ -2199,7 +2199,7 @@
|
|
|
2199
2199
|
return old.me_1 === new_0.me_1;
|
|
2200
2200
|
}
|
|
2201
2201
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$2($this) {
|
|
2202
|
-
this.
|
|
2202
|
+
this.p9x_1 = $this;
|
|
2203
2203
|
}
|
|
2204
2204
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$2).p28 = function (collector, $completion) {
|
|
2205
2205
|
var tmp = new $collectCOROUTINE$_4(this, collector, $completion);
|
|
@@ -2211,8 +2211,8 @@
|
|
|
2211
2211
|
return this.p28(collector, $completion);
|
|
2212
2212
|
};
|
|
2213
2213
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
2214
|
-
this.
|
|
2215
|
-
this.
|
|
2214
|
+
this.ca1_1 = this$0;
|
|
2215
|
+
this.da1_1 = $subscriber;
|
|
2216
2216
|
CoroutineImpl.call(this, resultContinuation);
|
|
2217
2217
|
}
|
|
2218
2218
|
protoOf(GameServer$subscribeWith$slambda).c2d = function ($this$launchDefault, $completion) {
|
|
@@ -2233,8 +2233,8 @@
|
|
|
2233
2233
|
case 0:
|
|
2234
2234
|
this.t8_1 = 2;
|
|
2235
2235
|
this.s8_1 = 1;
|
|
2236
|
-
var tmp_0 = distinctUntilChanged(this.
|
|
2237
|
-
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.
|
|
2236
|
+
var tmp_0 = distinctUntilChanged(this.ca1_1.b6r());
|
|
2237
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.da1_1, null);
|
|
2238
2238
|
suspendResult = tmp_0.o27(new sam$kotlinx_coroutines_flow_FlowCollector$0_4(tmp_1), this);
|
|
2239
2239
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2240
2240
|
return suspendResult;
|
|
@@ -2258,8 +2258,8 @@
|
|
|
2258
2258
|
while (true);
|
|
2259
2259
|
};
|
|
2260
2260
|
protoOf(GameServer$subscribeWith$slambda).d2d = function ($this$launchDefault, completion) {
|
|
2261
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
2262
|
-
i.
|
|
2261
|
+
var i = new GameServer$subscribeWith$slambda(this.ca1_1, this.da1_1, completion);
|
|
2262
|
+
i.ea1_1 = $this$launchDefault;
|
|
2263
2263
|
return i;
|
|
2264
2264
|
};
|
|
2265
2265
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -2271,18 +2271,18 @@
|
|
|
2271
2271
|
return l;
|
|
2272
2272
|
}
|
|
2273
2273
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
2274
|
-
this.
|
|
2274
|
+
this.na1_1 = $action;
|
|
2275
2275
|
CoroutineImpl.call(this, resultContinuation);
|
|
2276
2276
|
}
|
|
2277
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
2278
|
-
var tmp = this.
|
|
2277
|
+
protoOf(GameServer$fromClientEvent$slambda).qa1 = function ($this$dispatchAsync, store, $completion) {
|
|
2278
|
+
var tmp = this.ra1($this$dispatchAsync, store, $completion);
|
|
2279
2279
|
tmp.u8_1 = Unit_instance;
|
|
2280
2280
|
tmp.v8_1 = null;
|
|
2281
2281
|
return tmp.a9();
|
|
2282
2282
|
};
|
|
2283
2283
|
protoOf(GameServer$fromClientEvent$slambda).j9 = function (p1, p2, $completion) {
|
|
2284
2284
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2285
|
-
return this.
|
|
2285
|
+
return this.qa1(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2286
2286
|
};
|
|
2287
2287
|
protoOf(GameServer$fromClientEvent$slambda).a9 = function () {
|
|
2288
2288
|
var suspendResult = this.u8_1;
|
|
@@ -2291,11 +2291,11 @@
|
|
|
2291
2291
|
var tmp = this.s8_1;
|
|
2292
2292
|
if (tmp === 0) {
|
|
2293
2293
|
this.t8_1 = 1;
|
|
2294
|
-
if (this.
|
|
2295
|
-
if (!get_isCreated(this.
|
|
2294
|
+
if (this.na1_1 instanceof PlayerReadyFromClientAction)
|
|
2295
|
+
if (!get_isCreated(this.pa1_1.state)) {
|
|
2296
2296
|
return Unit_instance;
|
|
2297
2297
|
}
|
|
2298
|
-
this.
|
|
2298
|
+
this.pa1_1.dispatch(this.na1_1);
|
|
2299
2299
|
return Unit_instance;
|
|
2300
2300
|
} else if (tmp === 1) {
|
|
2301
2301
|
throw this.v8_1;
|
|
@@ -2306,34 +2306,34 @@
|
|
|
2306
2306
|
}
|
|
2307
2307
|
while (true);
|
|
2308
2308
|
};
|
|
2309
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
2310
|
-
var i = new GameServer$fromClientEvent$slambda(this.
|
|
2311
|
-
i.
|
|
2312
|
-
i.
|
|
2309
|
+
protoOf(GameServer$fromClientEvent$slambda).ra1 = function ($this$dispatchAsync, store, completion) {
|
|
2310
|
+
var i = new GameServer$fromClientEvent$slambda(this.na1_1, completion);
|
|
2311
|
+
i.oa1_1 = $this$dispatchAsync;
|
|
2312
|
+
i.pa1_1 = store;
|
|
2313
2313
|
return i;
|
|
2314
2314
|
};
|
|
2315
2315
|
function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
|
|
2316
2316
|
var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
|
|
2317
2317
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2318
|
-
return i.
|
|
2318
|
+
return i.qa1($this$dispatchAsync, store, $completion);
|
|
2319
2319
|
};
|
|
2320
2320
|
l.$arity = 2;
|
|
2321
2321
|
return l;
|
|
2322
2322
|
}
|
|
2323
2323
|
function GameServer$playerLostConnection$slambda($playerId, $roomId, resultContinuation) {
|
|
2324
|
-
this.
|
|
2325
|
-
this.
|
|
2324
|
+
this.aa2_1 = $playerId;
|
|
2325
|
+
this.ba2_1 = $roomId;
|
|
2326
2326
|
CoroutineImpl.call(this, resultContinuation);
|
|
2327
2327
|
}
|
|
2328
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2329
|
-
var tmp = this.
|
|
2328
|
+
protoOf(GameServer$playerLostConnection$slambda).qa1 = function ($this$dispatchAsync, store, $completion) {
|
|
2329
|
+
var tmp = this.ra1($this$dispatchAsync, store, $completion);
|
|
2330
2330
|
tmp.u8_1 = Unit_instance;
|
|
2331
2331
|
tmp.v8_1 = null;
|
|
2332
2332
|
return tmp.a9();
|
|
2333
2333
|
};
|
|
2334
2334
|
protoOf(GameServer$playerLostConnection$slambda).j9 = function (p1, p2, $completion) {
|
|
2335
2335
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2336
|
-
return this.
|
|
2336
|
+
return this.qa1(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2337
2337
|
};
|
|
2338
2338
|
protoOf(GameServer$playerLostConnection$slambda).a9 = function () {
|
|
2339
2339
|
var suspendResult = this.u8_1;
|
|
@@ -2342,12 +2342,12 @@
|
|
|
2342
2342
|
var tmp = this.s8_1;
|
|
2343
2343
|
if (tmp === 0) {
|
|
2344
2344
|
this.t8_1 = 1;
|
|
2345
|
-
if (!get_isCreated(this.
|
|
2345
|
+
if (!get_isCreated(this.da2_1.state)) {
|
|
2346
2346
|
return Unit_instance;
|
|
2347
2347
|
}
|
|
2348
|
-
var tmp_0 = this.
|
|
2348
|
+
var tmp_0 = this.da2_1.dispatch;
|
|
2349
2349
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
2350
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2350
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.aa2_1, this.ba2_1));
|
|
2351
2351
|
return Unit_instance;
|
|
2352
2352
|
} else if (tmp === 1) {
|
|
2353
2353
|
throw this.v8_1;
|
|
@@ -2358,35 +2358,35 @@
|
|
|
2358
2358
|
}
|
|
2359
2359
|
while (true);
|
|
2360
2360
|
};
|
|
2361
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2362
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
2363
|
-
i.
|
|
2364
|
-
i.
|
|
2361
|
+
protoOf(GameServer$playerLostConnection$slambda).ra1 = function ($this$dispatchAsync, store, completion) {
|
|
2362
|
+
var i = new GameServer$playerLostConnection$slambda(this.aa2_1, this.ba2_1, completion);
|
|
2363
|
+
i.ca2_1 = $this$dispatchAsync;
|
|
2364
|
+
i.da2_1 = store;
|
|
2365
2365
|
return i;
|
|
2366
2366
|
};
|
|
2367
2367
|
function GameServer$playerLostConnection$slambda_0($playerId, $roomId, resultContinuation) {
|
|
2368
2368
|
var i = new GameServer$playerLostConnection$slambda($playerId, $roomId, resultContinuation);
|
|
2369
2369
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2370
|
-
return i.
|
|
2370
|
+
return i.qa1($this$dispatchAsync, store, $completion);
|
|
2371
2371
|
};
|
|
2372
2372
|
l.$arity = 2;
|
|
2373
2373
|
return l;
|
|
2374
2374
|
}
|
|
2375
2375
|
function GameServer$playerLive$slambda(this$0, $playerId, $roomId, resultContinuation) {
|
|
2376
|
-
this.
|
|
2377
|
-
this.
|
|
2378
|
-
this.
|
|
2376
|
+
this.ma2_1 = this$0;
|
|
2377
|
+
this.na2_1 = $playerId;
|
|
2378
|
+
this.oa2_1 = $roomId;
|
|
2379
2379
|
CoroutineImpl.call(this, resultContinuation);
|
|
2380
2380
|
}
|
|
2381
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2382
|
-
var tmp = this.
|
|
2381
|
+
protoOf(GameServer$playerLive$slambda).qa1 = function ($this$dispatchAsync, store, $completion) {
|
|
2382
|
+
var tmp = this.ra1($this$dispatchAsync, store, $completion);
|
|
2383
2383
|
tmp.u8_1 = Unit_instance;
|
|
2384
2384
|
tmp.v8_1 = null;
|
|
2385
2385
|
return tmp.a9();
|
|
2386
2386
|
};
|
|
2387
2387
|
protoOf(GameServer$playerLive$slambda).j9 = function (p1, p2, $completion) {
|
|
2388
2388
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2389
|
-
return this.
|
|
2389
|
+
return this.qa1(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2390
2390
|
};
|
|
2391
2391
|
protoOf(GameServer$playerLive$slambda).a9 = function () {
|
|
2392
2392
|
var suspendResult = this.u8_1;
|
|
@@ -2395,16 +2395,16 @@
|
|
|
2395
2395
|
var tmp = this.s8_1;
|
|
2396
2396
|
if (tmp === 0) {
|
|
2397
2397
|
this.t8_1 = 1;
|
|
2398
|
-
if (get_isFinished(this.
|
|
2398
|
+
if (get_isFinished(this.qa2_1.state) || get_isFinishing(this.qa2_1.state)) {
|
|
2399
2399
|
return Unit_instance;
|
|
2400
2400
|
}
|
|
2401
|
-
if (!_get_serverReduxConfig__rprcrm(this.
|
|
2402
|
-
this.
|
|
2401
|
+
if (!_get_serverReduxConfig__rprcrm(this.ma2_1).waitForPlayerToConnectOnStart && (!get_isCreated(this.qa2_1.state) || !this.ma2_1.x66().e6s())) {
|
|
2402
|
+
this.ma2_1.i4q().v('GameEngine_API', 'playerLive: ' + this.na2_1 + ' before game is created');
|
|
2403
2403
|
return Unit_instance;
|
|
2404
2404
|
}
|
|
2405
|
-
var tmp_0 = this.
|
|
2405
|
+
var tmp_0 = this.qa2_1.dispatch;
|
|
2406
2406
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2407
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2407
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.na2_1, this.oa2_1));
|
|
2408
2408
|
return Unit_instance;
|
|
2409
2409
|
} else if (tmp === 1) {
|
|
2410
2410
|
throw this.v8_1;
|
|
@@ -2415,36 +2415,36 @@
|
|
|
2415
2415
|
}
|
|
2416
2416
|
while (true);
|
|
2417
2417
|
};
|
|
2418
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2419
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
2420
|
-
i.
|
|
2421
|
-
i.
|
|
2418
|
+
protoOf(GameServer$playerLive$slambda).ra1 = function ($this$dispatchAsync, store, completion) {
|
|
2419
|
+
var i = new GameServer$playerLive$slambda(this.ma2_1, this.na2_1, this.oa2_1, completion);
|
|
2420
|
+
i.pa2_1 = $this$dispatchAsync;
|
|
2421
|
+
i.qa2_1 = store;
|
|
2422
2422
|
return i;
|
|
2423
2423
|
};
|
|
2424
2424
|
function GameServer$playerLive$slambda_0(this$0, $playerId, $roomId, resultContinuation) {
|
|
2425
2425
|
var i = new GameServer$playerLive$slambda(this$0, $playerId, $roomId, resultContinuation);
|
|
2426
2426
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2427
|
-
return i.
|
|
2427
|
+
return i.qa1($this$dispatchAsync, store, $completion);
|
|
2428
2428
|
};
|
|
2429
2429
|
l.$arity = 2;
|
|
2430
2430
|
return l;
|
|
2431
2431
|
}
|
|
2432
2432
|
function GameServer$playerLeft$slambda(this$0, $playerId, $permanently, $roomId, resultContinuation) {
|
|
2433
|
-
this.
|
|
2434
|
-
this.
|
|
2435
|
-
this.
|
|
2436
|
-
this.
|
|
2433
|
+
this.za2_1 = this$0;
|
|
2434
|
+
this.aa3_1 = $playerId;
|
|
2435
|
+
this.ba3_1 = $permanently;
|
|
2436
|
+
this.ca3_1 = $roomId;
|
|
2437
2437
|
CoroutineImpl.call(this, resultContinuation);
|
|
2438
2438
|
}
|
|
2439
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2440
|
-
var tmp = this.
|
|
2439
|
+
protoOf(GameServer$playerLeft$slambda).qa1 = function ($this$dispatchAsync, store, $completion) {
|
|
2440
|
+
var tmp = this.ra1($this$dispatchAsync, store, $completion);
|
|
2441
2441
|
tmp.u8_1 = Unit_instance;
|
|
2442
2442
|
tmp.v8_1 = null;
|
|
2443
2443
|
return tmp.a9();
|
|
2444
2444
|
};
|
|
2445
2445
|
protoOf(GameServer$playerLeft$slambda).j9 = function (p1, p2, $completion) {
|
|
2446
2446
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2447
|
-
return this.
|
|
2447
|
+
return this.qa1(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2448
2448
|
};
|
|
2449
2449
|
protoOf(GameServer$playerLeft$slambda).a9 = function () {
|
|
2450
2450
|
var suspendResult = this.u8_1;
|
|
@@ -2453,22 +2453,22 @@
|
|
|
2453
2453
|
var tmp = this.s8_1;
|
|
2454
2454
|
if (tmp === 0) {
|
|
2455
2455
|
this.t8_1 = 1;
|
|
2456
|
-
if (get_isFinished(this.
|
|
2456
|
+
if (get_isFinished(this.ea3_1.state) || get_isFinishing(this.ea3_1.state)) {
|
|
2457
2457
|
return Unit_instance;
|
|
2458
2458
|
}
|
|
2459
|
-
if (!get_isCreated(this.
|
|
2460
|
-
this.
|
|
2459
|
+
if (!get_isCreated(this.ea3_1.state) || !this.za2_1.x66().e6s()) {
|
|
2460
|
+
this.za2_1.i4q().w('GameEngine_API', 'playerLeft: ' + this.aa3_1 + ' before game is created');
|
|
2461
2461
|
return Unit_instance;
|
|
2462
2462
|
}
|
|
2463
|
-
var tmp_0 = this.
|
|
2463
|
+
var tmp_0 = this.ea3_1.dispatch;
|
|
2464
2464
|
var tmp_1;
|
|
2465
|
-
if (this.
|
|
2465
|
+
if (this.ba3_1) {
|
|
2466
2466
|
tmp_1 = PlayerConnectionState_LEFT_PERMANENTLY_getInstance();
|
|
2467
2467
|
} else {
|
|
2468
2468
|
tmp_1 = PlayerConnectionState_LEFT_getInstance();
|
|
2469
2469
|
}
|
|
2470
2470
|
var tmp0_connectionState = tmp_1;
|
|
2471
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2471
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.aa3_1, this.ca3_1));
|
|
2472
2472
|
return Unit_instance;
|
|
2473
2473
|
} else if (tmp === 1) {
|
|
2474
2474
|
throw this.v8_1;
|
|
@@ -2479,39 +2479,39 @@
|
|
|
2479
2479
|
}
|
|
2480
2480
|
while (true);
|
|
2481
2481
|
};
|
|
2482
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2483
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
2484
|
-
i.
|
|
2485
|
-
i.
|
|
2482
|
+
protoOf(GameServer$playerLeft$slambda).ra1 = function ($this$dispatchAsync, store, completion) {
|
|
2483
|
+
var i = new GameServer$playerLeft$slambda(this.za2_1, this.aa3_1, this.ba3_1, this.ca3_1, completion);
|
|
2484
|
+
i.da3_1 = $this$dispatchAsync;
|
|
2485
|
+
i.ea3_1 = store;
|
|
2486
2486
|
return i;
|
|
2487
2487
|
};
|
|
2488
2488
|
function GameServer$playerLeft$slambda_0(this$0, $playerId, $permanently, $roomId, resultContinuation) {
|
|
2489
2489
|
var i = new GameServer$playerLeft$slambda(this$0, $playerId, $permanently, $roomId, resultContinuation);
|
|
2490
2490
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2491
|
-
return i.
|
|
2491
|
+
return i.qa1($this$dispatchAsync, store, $completion);
|
|
2492
2492
|
};
|
|
2493
2493
|
l.$arity = 2;
|
|
2494
2494
|
return l;
|
|
2495
2495
|
}
|
|
2496
2496
|
function GameServer$roomOnCreate$slambda($usersArray, this$0, $config, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2497
|
-
this.
|
|
2498
|
-
this.
|
|
2499
|
-
this.
|
|
2500
|
-
this.
|
|
2501
|
-
this.
|
|
2502
|
-
this.
|
|
2503
|
-
this.
|
|
2497
|
+
this.na3_1 = $usersArray;
|
|
2498
|
+
this.oa3_1 = this$0;
|
|
2499
|
+
this.pa3_1 = $config;
|
|
2500
|
+
this.qa3_1 = $roomId;
|
|
2501
|
+
this.ra3_1 = $transition;
|
|
2502
|
+
this.sa3_1 = $gameCreatorId;
|
|
2503
|
+
this.ta3_1 = $spectators;
|
|
2504
2504
|
CoroutineImpl.call(this, resultContinuation);
|
|
2505
2505
|
}
|
|
2506
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2507
|
-
var tmp = this.
|
|
2506
|
+
protoOf(GameServer$roomOnCreate$slambda).qa1 = function ($this$dispatchAsync, store, $completion) {
|
|
2507
|
+
var tmp = this.ra1($this$dispatchAsync, store, $completion);
|
|
2508
2508
|
tmp.u8_1 = Unit_instance;
|
|
2509
2509
|
tmp.v8_1 = null;
|
|
2510
2510
|
return tmp.a9();
|
|
2511
2511
|
};
|
|
2512
2512
|
protoOf(GameServer$roomOnCreate$slambda).j9 = function (p1, p2, $completion) {
|
|
2513
2513
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2514
|
-
return this.
|
|
2514
|
+
return this.qa1(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2515
2515
|
};
|
|
2516
2516
|
protoOf(GameServer$roomOnCreate$slambda).a9 = function () {
|
|
2517
2517
|
var suspendResult = this.u8_1;
|
|
@@ -2520,18 +2520,18 @@
|
|
|
2520
2520
|
var tmp = this.s8_1;
|
|
2521
2521
|
if (tmp === 0) {
|
|
2522
2522
|
this.t8_1 = 1;
|
|
2523
|
-
var users = toList(this.
|
|
2524
|
-
if (!validatePlayerCount(this.
|
|
2525
|
-
this.
|
|
2523
|
+
var users = toList(this.na3_1);
|
|
2524
|
+
if (!validatePlayerCount(this.oa3_1, this.pa3_1, users, this.qa3_1)) {
|
|
2525
|
+
this.va3_1.dispatch(Companion_instance.fromTableWithAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.oa3_1.table.isGameFinished, this.oa3_1.table));
|
|
2526
2526
|
return Unit_instance;
|
|
2527
2527
|
}
|
|
2528
|
-
var orderedUsers = orderUsers(this.
|
|
2529
|
-
var gameCreatorUser = getPlayer(users, this.
|
|
2530
|
-
var tmp_0 = this.
|
|
2528
|
+
var orderedUsers = orderUsers(this.oa3_1, users, this.pa3_1, this.ra3_1);
|
|
2529
|
+
var gameCreatorUser = getPlayer(users, this.sa3_1);
|
|
2530
|
+
var tmp_0 = this.va3_1.dispatch;
|
|
2531
2531
|
var tmp0_version = get_versionOrDefault(GameEngineConfig_instance);
|
|
2532
2532
|
var tmp1_users = sortWithItem(orderedUsers, gameCreatorUser);
|
|
2533
|
-
var tmp2_spectators = toList(this.
|
|
2534
|
-
tmp_0(new StartGameMechanicAction(this.
|
|
2533
|
+
var tmp2_spectators = toList(this.ta3_1);
|
|
2534
|
+
tmp_0(new StartGameMechanicAction(this.pa3_1, this.qa3_1, tmp0_version, this.sa3_1, tmp1_users, VOID, tmp2_spectators));
|
|
2535
2535
|
return Unit_instance;
|
|
2536
2536
|
} else if (tmp === 1) {
|
|
2537
2537
|
throw this.v8_1;
|
|
@@ -2542,39 +2542,39 @@
|
|
|
2542
2542
|
}
|
|
2543
2543
|
while (true);
|
|
2544
2544
|
};
|
|
2545
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2546
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
2547
|
-
i.
|
|
2548
|
-
i.
|
|
2545
|
+
protoOf(GameServer$roomOnCreate$slambda).ra1 = function ($this$dispatchAsync, store, completion) {
|
|
2546
|
+
var i = new GameServer$roomOnCreate$slambda(this.na3_1, this.oa3_1, this.pa3_1, this.qa3_1, this.ra3_1, this.sa3_1, this.ta3_1, completion);
|
|
2547
|
+
i.ua3_1 = $this$dispatchAsync;
|
|
2548
|
+
i.va3_1 = store;
|
|
2549
2549
|
return i;
|
|
2550
2550
|
};
|
|
2551
2551
|
function GameServer$roomOnCreate$slambda_0($usersArray, this$0, $config, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2552
2552
|
var i = new GameServer$roomOnCreate$slambda($usersArray, this$0, $config, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation);
|
|
2553
2553
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2554
|
-
return i.
|
|
2554
|
+
return i.qa1($this$dispatchAsync, store, $completion);
|
|
2555
2555
|
};
|
|
2556
2556
|
l.$arity = 2;
|
|
2557
2557
|
return l;
|
|
2558
2558
|
}
|
|
2559
2559
|
function GameServer$preserveTeams$previousTeams$1($playerId) {
|
|
2560
|
-
this.
|
|
2560
|
+
this.wa3_1 = $playerId;
|
|
2561
2561
|
}
|
|
2562
2562
|
protoOf(GameServer$preserveTeams$previousTeams$1).z65 = function () {
|
|
2563
|
-
return this.
|
|
2563
|
+
return this.wa3_1;
|
|
2564
2564
|
};
|
|
2565
2565
|
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
2566
|
-
this.
|
|
2566
|
+
this.fa4_1 = $state;
|
|
2567
2567
|
CoroutineImpl.call(this, resultContinuation);
|
|
2568
2568
|
}
|
|
2569
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2570
|
-
var tmp = this.
|
|
2569
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).ia4 = function ($this$dispatchAwait, store, $completion) {
|
|
2570
|
+
var tmp = this.ra1($this$dispatchAwait, store, $completion);
|
|
2571
2571
|
tmp.u8_1 = Unit_instance;
|
|
2572
2572
|
tmp.v8_1 = null;
|
|
2573
2573
|
return tmp.a9();
|
|
2574
2574
|
};
|
|
2575
2575
|
protoOf(GameServer$roomOnContinueFromState$slambda).j9 = function (p1, p2, $completion) {
|
|
2576
2576
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2577
|
-
return this.
|
|
2577
|
+
return this.ia4(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2578
2578
|
};
|
|
2579
2579
|
protoOf(GameServer$roomOnContinueFromState$slambda).a9 = function () {
|
|
2580
2580
|
var suspendResult = this.u8_1;
|
|
@@ -2583,10 +2583,10 @@
|
|
|
2583
2583
|
var tmp = this.s8_1;
|
|
2584
2584
|
if (tmp === 0) {
|
|
2585
2585
|
this.t8_1 = 1;
|
|
2586
|
-
if (get_isCreating(this.
|
|
2587
|
-
var tmp_0 = this.
|
|
2586
|
+
if (get_isCreating(this.ha4_1.state)) {
|
|
2587
|
+
var tmp_0 = this.ha4_1.dispatch;
|
|
2588
2588
|
var tmp0_reason = new RestartRoundReason(null);
|
|
2589
|
-
var tmp1_table = this.
|
|
2589
|
+
var tmp1_table = this.fa4_1.table;
|
|
2590
2590
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2591
2591
|
return true;
|
|
2592
2592
|
}
|
|
@@ -2600,34 +2600,34 @@
|
|
|
2600
2600
|
}
|
|
2601
2601
|
while (true);
|
|
2602
2602
|
};
|
|
2603
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2604
|
-
var i = new GameServer$roomOnContinueFromState$slambda(this.
|
|
2605
|
-
i.
|
|
2606
|
-
i.
|
|
2603
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).ra1 = function ($this$dispatchAwait, store, completion) {
|
|
2604
|
+
var i = new GameServer$roomOnContinueFromState$slambda(this.fa4_1, completion);
|
|
2605
|
+
i.ga4_1 = $this$dispatchAwait;
|
|
2606
|
+
i.ha4_1 = store;
|
|
2607
2607
|
return i;
|
|
2608
2608
|
};
|
|
2609
2609
|
function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
|
|
2610
2610
|
var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
|
|
2611
2611
|
var l = function ($this$dispatchAwait, store, $completion) {
|
|
2612
|
-
return i.
|
|
2612
|
+
return i.ia4($this$dispatchAwait, store, $completion);
|
|
2613
2613
|
};
|
|
2614
2614
|
l.$arity = 2;
|
|
2615
2615
|
return l;
|
|
2616
2616
|
}
|
|
2617
2617
|
function GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation) {
|
|
2618
|
-
this.
|
|
2619
|
-
this.
|
|
2618
|
+
this.ra4_1 = $isCreated;
|
|
2619
|
+
this.sa4_1 = $state;
|
|
2620
2620
|
CoroutineImpl.call(this, resultContinuation);
|
|
2621
2621
|
}
|
|
2622
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2623
|
-
var tmp = this.
|
|
2622
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).qa1 = function ($this$dispatchAsync, store, $completion) {
|
|
2623
|
+
var tmp = this.ra1($this$dispatchAsync, store, $completion);
|
|
2624
2624
|
tmp.u8_1 = Unit_instance;
|
|
2625
2625
|
tmp.v8_1 = null;
|
|
2626
2626
|
return tmp.a9();
|
|
2627
2627
|
};
|
|
2628
2628
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).j9 = function (p1, p2, $completion) {
|
|
2629
2629
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2630
|
-
return this.
|
|
2630
|
+
return this.qa1(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2631
2631
|
};
|
|
2632
2632
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).a9 = function () {
|
|
2633
2633
|
var suspendResult = this.u8_1;
|
|
@@ -2638,7 +2638,7 @@
|
|
|
2638
2638
|
case 0:
|
|
2639
2639
|
this.t8_1 = 3;
|
|
2640
2640
|
this.s8_1 = 1;
|
|
2641
|
-
suspendResult = this.
|
|
2641
|
+
suspendResult = this.ra4_1.a1u(this);
|
|
2642
2642
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2643
2643
|
return suspendResult;
|
|
2644
2644
|
}
|
|
@@ -2646,10 +2646,10 @@
|
|
|
2646
2646
|
continue $sm;
|
|
2647
2647
|
case 1:
|
|
2648
2648
|
if (suspendResult) {
|
|
2649
|
-
var _iterator__ex2g4s = this.
|
|
2649
|
+
var _iterator__ex2g4s = this.sa4_1.actions.l();
|
|
2650
2650
|
while (_iterator__ex2g4s.m()) {
|
|
2651
2651
|
var element = _iterator__ex2g4s.n();
|
|
2652
|
-
this.
|
|
2652
|
+
this.ua4_1.dispatch(element);
|
|
2653
2653
|
}
|
|
2654
2654
|
this.s8_1 = 2;
|
|
2655
2655
|
continue $sm;
|
|
@@ -2674,35 +2674,35 @@
|
|
|
2674
2674
|
}
|
|
2675
2675
|
while (true);
|
|
2676
2676
|
};
|
|
2677
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2678
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1(this.
|
|
2679
|
-
i.
|
|
2680
|
-
i.
|
|
2677
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).ra1 = function ($this$dispatchAsync, store, completion) {
|
|
2678
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1(this.ra4_1, this.sa4_1, completion);
|
|
2679
|
+
i.ta4_1 = $this$dispatchAsync;
|
|
2680
|
+
i.ua4_1 = store;
|
|
2681
2681
|
return i;
|
|
2682
2682
|
};
|
|
2683
2683
|
function GameServer$roomOnContinueFromState$slambda_2($isCreated, $state, resultContinuation) {
|
|
2684
2684
|
var i = new GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation);
|
|
2685
2685
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2686
|
-
return i.
|
|
2686
|
+
return i.qa1($this$dispatchAsync, store, $completion);
|
|
2687
2687
|
};
|
|
2688
2688
|
l.$arity = 2;
|
|
2689
2689
|
return l;
|
|
2690
2690
|
}
|
|
2691
2691
|
function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation) {
|
|
2692
|
-
this.
|
|
2693
|
-
this.
|
|
2694
|
-
this.
|
|
2692
|
+
this.da5_1 = $tableLite;
|
|
2693
|
+
this.ea5_1 = $roomId;
|
|
2694
|
+
this.fa5_1 = this$0;
|
|
2695
2695
|
CoroutineImpl.call(this, resultContinuation);
|
|
2696
2696
|
}
|
|
2697
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2698
|
-
var tmp = this.
|
|
2697
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).qa1 = function ($this$dispatchAsync, store, $completion) {
|
|
2698
|
+
var tmp = this.ra1($this$dispatchAsync, store, $completion);
|
|
2699
2699
|
tmp.u8_1 = Unit_instance;
|
|
2700
2700
|
tmp.v8_1 = null;
|
|
2701
2701
|
return tmp.a9();
|
|
2702
2702
|
};
|
|
2703
2703
|
protoOf(GameServer$roomOnContinueFromRound$slambda).j9 = function (p1, p2, $completion) {
|
|
2704
2704
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2705
|
-
return this.
|
|
2705
|
+
return this.qa1(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2706
2706
|
};
|
|
2707
2707
|
protoOf(GameServer$roomOnContinueFromRound$slambda).a9 = function () {
|
|
2708
2708
|
var suspendResult = this.u8_1;
|
|
@@ -2711,9 +2711,9 @@
|
|
|
2711
2711
|
var tmp = this.s8_1;
|
|
2712
2712
|
if (tmp === 0) {
|
|
2713
2713
|
this.t8_1 = 1;
|
|
2714
|
-
var tmp_0 = this.
|
|
2715
|
-
var tmp0_reason = new RestartRoundReason(this.
|
|
2716
|
-
var tmp1_table = Companion_instance_0.restartRound(this.
|
|
2714
|
+
var tmp_0 = this.ha5_1.dispatch;
|
|
2715
|
+
var tmp0_reason = new RestartRoundReason(this.da5_1.gameInfo.round.roundNumber);
|
|
2716
|
+
var tmp1_table = Companion_instance_0.restartRound(this.ea5_1, _get_idsProvider__fnfajc(this.fa5_1).h6e(), get_versionOrDefault(GameEngineConfig_instance), this.da5_1);
|
|
2717
2717
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2718
2718
|
return Unit_instance;
|
|
2719
2719
|
} else if (tmp === 1) {
|
|
@@ -2725,16 +2725,16 @@
|
|
|
2725
2725
|
}
|
|
2726
2726
|
while (true);
|
|
2727
2727
|
};
|
|
2728
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2729
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
2730
|
-
i.
|
|
2731
|
-
i.
|
|
2728
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).ra1 = function ($this$dispatchAsync, store, completion) {
|
|
2729
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.da5_1, this.ea5_1, this.fa5_1, completion);
|
|
2730
|
+
i.ga5_1 = $this$dispatchAsync;
|
|
2731
|
+
i.ha5_1 = store;
|
|
2732
2732
|
return i;
|
|
2733
2733
|
};
|
|
2734
2734
|
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, resultContinuation) {
|
|
2735
2735
|
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation);
|
|
2736
2736
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2737
|
-
return i.
|
|
2737
|
+
return i.qa1($this$dispatchAsync, store, $completion);
|
|
2738
2738
|
};
|
|
2739
2739
|
l.$arity = 2;
|
|
2740
2740
|
return l;
|
|
@@ -2742,15 +2742,15 @@
|
|
|
2742
2742
|
function GameServer$roomOnContinueFromRound$slambda_1(resultContinuation) {
|
|
2743
2743
|
CoroutineImpl.call(this, resultContinuation);
|
|
2744
2744
|
}
|
|
2745
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2746
|
-
var tmp = this.
|
|
2745
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).qa1 = function ($this$dispatchAsync, store, $completion) {
|
|
2746
|
+
var tmp = this.ra1($this$dispatchAsync, store, $completion);
|
|
2747
2747
|
tmp.u8_1 = Unit_instance;
|
|
2748
2748
|
tmp.v8_1 = null;
|
|
2749
2749
|
return tmp.a9();
|
|
2750
2750
|
};
|
|
2751
2751
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).j9 = function (p1, p2, $completion) {
|
|
2752
2752
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2753
|
-
return this.
|
|
2753
|
+
return this.qa1(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2754
2754
|
};
|
|
2755
2755
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).a9 = function () {
|
|
2756
2756
|
var suspendResult = this.u8_1;
|
|
@@ -2759,7 +2759,7 @@
|
|
|
2759
2759
|
var tmp = this.s8_1;
|
|
2760
2760
|
if (tmp === 0) {
|
|
2761
2761
|
this.t8_1 = 1;
|
|
2762
|
-
this.
|
|
2762
|
+
this.ra5_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
2763
2763
|
return Unit_instance;
|
|
2764
2764
|
} else if (tmp === 1) {
|
|
2765
2765
|
throw this.v8_1;
|
|
@@ -2770,33 +2770,33 @@
|
|
|
2770
2770
|
}
|
|
2771
2771
|
while (true);
|
|
2772
2772
|
};
|
|
2773
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2773
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).ra1 = function ($this$dispatchAsync, store, completion) {
|
|
2774
2774
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
2775
|
-
i.
|
|
2776
|
-
i.
|
|
2775
|
+
i.qa5_1 = $this$dispatchAsync;
|
|
2776
|
+
i.ra5_1 = store;
|
|
2777
2777
|
return i;
|
|
2778
2778
|
};
|
|
2779
2779
|
function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
|
|
2780
2780
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(resultContinuation);
|
|
2781
2781
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2782
|
-
return i.
|
|
2782
|
+
return i.qa1($this$dispatchAsync, store, $completion);
|
|
2783
2783
|
};
|
|
2784
2784
|
l.$arity = 2;
|
|
2785
2785
|
return l;
|
|
2786
2786
|
}
|
|
2787
2787
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
2788
|
-
this.
|
|
2788
|
+
this.aa6_1 = $spectators;
|
|
2789
2789
|
CoroutineImpl.call(this, resultContinuation);
|
|
2790
2790
|
}
|
|
2791
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2792
|
-
var tmp = this.
|
|
2791
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).qa1 = function ($this$dispatchAsync, store, $completion) {
|
|
2792
|
+
var tmp = this.ra1($this$dispatchAsync, store, $completion);
|
|
2793
2793
|
tmp.u8_1 = Unit_instance;
|
|
2794
2794
|
tmp.v8_1 = null;
|
|
2795
2795
|
return tmp.a9();
|
|
2796
2796
|
};
|
|
2797
2797
|
protoOf(GameServer$addSpectatorsToRoom$slambda).j9 = function (p1, p2, $completion) {
|
|
2798
2798
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2799
|
-
return this.
|
|
2799
|
+
return this.qa1(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2800
2800
|
};
|
|
2801
2801
|
protoOf(GameServer$addSpectatorsToRoom$slambda).a9 = function () {
|
|
2802
2802
|
var suspendResult = this.u8_1;
|
|
@@ -2805,7 +2805,7 @@
|
|
|
2805
2805
|
var tmp = this.s8_1;
|
|
2806
2806
|
if (tmp === 0) {
|
|
2807
2807
|
this.t8_1 = 1;
|
|
2808
|
-
this.
|
|
2808
|
+
this.ca6_1.dispatch(new AddSpectatorsAction(toList(this.aa6_1)));
|
|
2809
2809
|
return Unit_instance;
|
|
2810
2810
|
} else if (tmp === 1) {
|
|
2811
2811
|
throw this.v8_1;
|
|
@@ -2816,33 +2816,33 @@
|
|
|
2816
2816
|
}
|
|
2817
2817
|
while (true);
|
|
2818
2818
|
};
|
|
2819
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2820
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
2821
|
-
i.
|
|
2822
|
-
i.
|
|
2819
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).ra1 = function ($this$dispatchAsync, store, completion) {
|
|
2820
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.aa6_1, completion);
|
|
2821
|
+
i.ba6_1 = $this$dispatchAsync;
|
|
2822
|
+
i.ca6_1 = store;
|
|
2823
2823
|
return i;
|
|
2824
2824
|
};
|
|
2825
2825
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
2826
2826
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
2827
2827
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2828
|
-
return i.
|
|
2828
|
+
return i.qa1($this$dispatchAsync, store, $completion);
|
|
2829
2829
|
};
|
|
2830
2830
|
l.$arity = 2;
|
|
2831
2831
|
return l;
|
|
2832
2832
|
}
|
|
2833
2833
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
2834
|
-
this.
|
|
2834
|
+
this.la6_1 = $spectators;
|
|
2835
2835
|
CoroutineImpl.call(this, resultContinuation);
|
|
2836
2836
|
}
|
|
2837
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2838
|
-
var tmp = this.
|
|
2837
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).qa1 = function ($this$dispatchAsync, store, $completion) {
|
|
2838
|
+
var tmp = this.ra1($this$dispatchAsync, store, $completion);
|
|
2839
2839
|
tmp.u8_1 = Unit_instance;
|
|
2840
2840
|
tmp.v8_1 = null;
|
|
2841
2841
|
return tmp.a9();
|
|
2842
2842
|
};
|
|
2843
2843
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).j9 = function (p1, p2, $completion) {
|
|
2844
2844
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2845
|
-
return this.
|
|
2845
|
+
return this.qa1(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2846
2846
|
};
|
|
2847
2847
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).a9 = function () {
|
|
2848
2848
|
var suspendResult = this.u8_1;
|
|
@@ -2851,7 +2851,7 @@
|
|
|
2851
2851
|
var tmp = this.s8_1;
|
|
2852
2852
|
if (tmp === 0) {
|
|
2853
2853
|
this.t8_1 = 1;
|
|
2854
|
-
this.
|
|
2854
|
+
this.na6_1.dispatch(new RemoveSpectatorsAction(toList(this.la6_1)));
|
|
2855
2855
|
return Unit_instance;
|
|
2856
2856
|
} else if (tmp === 1) {
|
|
2857
2857
|
throw this.v8_1;
|
|
@@ -2862,34 +2862,34 @@
|
|
|
2862
2862
|
}
|
|
2863
2863
|
while (true);
|
|
2864
2864
|
};
|
|
2865
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2866
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
2867
|
-
i.
|
|
2868
|
-
i.
|
|
2865
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).ra1 = function ($this$dispatchAsync, store, completion) {
|
|
2866
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.la6_1, completion);
|
|
2867
|
+
i.ma6_1 = $this$dispatchAsync;
|
|
2868
|
+
i.na6_1 = store;
|
|
2869
2869
|
return i;
|
|
2870
2870
|
};
|
|
2871
2871
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
2872
2872
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
2873
2873
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2874
|
-
return i.
|
|
2874
|
+
return i.qa1($this$dispatchAsync, store, $completion);
|
|
2875
2875
|
};
|
|
2876
2876
|
l.$arity = 2;
|
|
2877
2877
|
return l;
|
|
2878
2878
|
}
|
|
2879
2879
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
2880
|
-
this.
|
|
2881
|
-
this.
|
|
2880
|
+
this.wa6_1 = $playerId;
|
|
2881
|
+
this.xa6_1 = this$0;
|
|
2882
2882
|
CoroutineImpl.call(this, resultContinuation);
|
|
2883
2883
|
}
|
|
2884
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2885
|
-
var tmp = this.
|
|
2884
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).qa1 = function ($this$dispatchAsync, store, $completion) {
|
|
2885
|
+
var tmp = this.ra1($this$dispatchAsync, store, $completion);
|
|
2886
2886
|
tmp.u8_1 = Unit_instance;
|
|
2887
2887
|
tmp.v8_1 = null;
|
|
2888
2888
|
return tmp.a9();
|
|
2889
2889
|
};
|
|
2890
2890
|
protoOf(GameServer$roomRefreshPlayerState$slambda).j9 = function (p1, p2, $completion) {
|
|
2891
2891
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2892
|
-
return this.
|
|
2892
|
+
return this.qa1(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2893
2893
|
};
|
|
2894
2894
|
protoOf(GameServer$roomRefreshPlayerState$slambda).a9 = function () {
|
|
2895
2895
|
var suspendResult = this.u8_1;
|
|
@@ -2898,14 +2898,14 @@
|
|
|
2898
2898
|
var tmp = this.s8_1;
|
|
2899
2899
|
if (tmp === 0) {
|
|
2900
2900
|
this.t8_1 = 1;
|
|
2901
|
-
var table = this.
|
|
2902
|
-
var player = getPlayer(table.players, this.
|
|
2901
|
+
var table = this.za6_1.state.c6s();
|
|
2902
|
+
var player = getPlayer(table.players, this.wa6_1);
|
|
2903
2903
|
if (player.o6v_1.d69().n67_1.isLive) {
|
|
2904
|
-
this.
|
|
2904
|
+
this.za6_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.xa6_1).aa7(player, table));
|
|
2905
2905
|
} else {
|
|
2906
|
-
var tmp_0 = this.
|
|
2906
|
+
var tmp_0 = this.za6_1.dispatch;
|
|
2907
2907
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2908
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2908
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.wa6_1));
|
|
2909
2909
|
}
|
|
2910
2910
|
return Unit_instance;
|
|
2911
2911
|
} else if (tmp === 1) {
|
|
@@ -2917,34 +2917,34 @@
|
|
|
2917
2917
|
}
|
|
2918
2918
|
while (true);
|
|
2919
2919
|
};
|
|
2920
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2921
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
2922
|
-
i.
|
|
2923
|
-
i.
|
|
2920
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).ra1 = function ($this$dispatchAsync, store, completion) {
|
|
2921
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.wa6_1, this.xa6_1, completion);
|
|
2922
|
+
i.ya6_1 = $this$dispatchAsync;
|
|
2923
|
+
i.za6_1 = store;
|
|
2924
2924
|
return i;
|
|
2925
2925
|
};
|
|
2926
2926
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
2927
2927
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
2928
2928
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2929
|
-
return i.
|
|
2929
|
+
return i.qa1($this$dispatchAsync, store, $completion);
|
|
2930
2930
|
};
|
|
2931
2931
|
l.$arity = 2;
|
|
2932
2932
|
return l;
|
|
2933
2933
|
}
|
|
2934
2934
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
2935
|
-
this.
|
|
2936
|
-
this.
|
|
2935
|
+
this.ja7_1 = this$0;
|
|
2936
|
+
this.ka7_1 = $newRid;
|
|
2937
2937
|
CoroutineImpl.call(this, resultContinuation);
|
|
2938
2938
|
}
|
|
2939
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2940
|
-
var tmp = this.
|
|
2939
|
+
protoOf(GameServer$roomOnDelete$slambda).qa1 = function ($this$dispatchAsync, store, $completion) {
|
|
2940
|
+
var tmp = this.ra1($this$dispatchAsync, store, $completion);
|
|
2941
2941
|
tmp.u8_1 = Unit_instance;
|
|
2942
2942
|
tmp.v8_1 = null;
|
|
2943
2943
|
return tmp.a9();
|
|
2944
2944
|
};
|
|
2945
2945
|
protoOf(GameServer$roomOnDelete$slambda).j9 = function (p1, p2, $completion) {
|
|
2946
2946
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2947
|
-
return this.
|
|
2947
|
+
return this.qa1(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2948
2948
|
};
|
|
2949
2949
|
protoOf(GameServer$roomOnDelete$slambda).a9 = function () {
|
|
2950
2950
|
var suspendResult = this.u8_1;
|
|
@@ -2953,27 +2953,27 @@
|
|
|
2953
2953
|
var tmp = this.s8_1;
|
|
2954
2954
|
if (tmp === 0) {
|
|
2955
2955
|
this.t8_1 = 1;
|
|
2956
|
-
var it = this.
|
|
2956
|
+
var it = this.ja7_1.x66().c6r_1;
|
|
2957
2957
|
var tmp_0;
|
|
2958
2958
|
if (it == null) {
|
|
2959
|
-
this.
|
|
2959
|
+
this.ja7_1.i4q().w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
2960
2960
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
2961
2961
|
} else {
|
|
2962
2962
|
tmp_0 = it;
|
|
2963
2963
|
}
|
|
2964
2964
|
var terminationState = tmp_0;
|
|
2965
|
-
var gameTransition = terminationState.
|
|
2965
|
+
var gameTransition = terminationState.s93_1;
|
|
2966
2966
|
var tmp_1;
|
|
2967
2967
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
2968
|
-
var tmp0_elvis_lhs = this.
|
|
2968
|
+
var tmp0_elvis_lhs = this.ka7_1;
|
|
2969
2969
|
tmp_1 = gameTransition.copy(tmp0_elvis_lhs == null ? gameTransition.roomId : tmp0_elvis_lhs);
|
|
2970
2970
|
} else {
|
|
2971
2971
|
tmp_1 = gameTransition;
|
|
2972
2972
|
}
|
|
2973
2973
|
var transition = tmp_1;
|
|
2974
|
-
var tmp_2 = this.
|
|
2975
|
-
var tmp0_reason = terminationState.
|
|
2976
|
-
var tmp1_isGameFinished = this.
|
|
2974
|
+
var tmp_2 = this.ma7_1.dispatch;
|
|
2975
|
+
var tmp0_reason = terminationState.r93_1;
|
|
2976
|
+
var tmp1_isGameFinished = this.ja7_1.x66().c6s().isGameFinished;
|
|
2977
2977
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
2978
2978
|
return Unit_instance;
|
|
2979
2979
|
} else if (tmp === 1) {
|
|
@@ -2985,33 +2985,33 @@
|
|
|
2985
2985
|
}
|
|
2986
2986
|
while (true);
|
|
2987
2987
|
};
|
|
2988
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2989
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
2990
|
-
i.
|
|
2991
|
-
i.
|
|
2988
|
+
protoOf(GameServer$roomOnDelete$slambda).ra1 = function ($this$dispatchAsync, store, completion) {
|
|
2989
|
+
var i = new GameServer$roomOnDelete$slambda(this.ja7_1, this.ka7_1, completion);
|
|
2990
|
+
i.la7_1 = $this$dispatchAsync;
|
|
2991
|
+
i.ma7_1 = store;
|
|
2992
2992
|
return i;
|
|
2993
2993
|
};
|
|
2994
2994
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
2995
2995
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
2996
2996
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2997
|
-
return i.
|
|
2997
|
+
return i.qa1($this$dispatchAsync, store, $completion);
|
|
2998
2998
|
};
|
|
2999
2999
|
l.$arity = 2;
|
|
3000
3000
|
return l;
|
|
3001
3001
|
}
|
|
3002
3002
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
3003
|
-
this.
|
|
3003
|
+
this.va7_1 = $enabled;
|
|
3004
3004
|
CoroutineImpl.call(this, resultContinuation);
|
|
3005
3005
|
}
|
|
3006
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
3007
|
-
var tmp = this.
|
|
3006
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).qa1 = function ($this$dispatchAsync, store, $completion) {
|
|
3007
|
+
var tmp = this.ra1($this$dispatchAsync, store, $completion);
|
|
3008
3008
|
tmp.u8_1 = Unit_instance;
|
|
3009
3009
|
tmp.v8_1 = null;
|
|
3010
3010
|
return tmp.a9();
|
|
3011
3011
|
};
|
|
3012
3012
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).j9 = function (p1, p2, $completion) {
|
|
3013
3013
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
3014
|
-
return this.
|
|
3014
|
+
return this.qa1(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
3015
3015
|
};
|
|
3016
3016
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).a9 = function () {
|
|
3017
3017
|
var suspendResult = this.u8_1;
|
|
@@ -3020,7 +3020,7 @@
|
|
|
3020
3020
|
var tmp = this.s8_1;
|
|
3021
3021
|
if (tmp === 0) {
|
|
3022
3022
|
this.t8_1 = 1;
|
|
3023
|
-
this.
|
|
3023
|
+
this.xa7_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload_0(this.xa7_1.state).config.copy(VOID, !this.va7_1)));
|
|
3024
3024
|
return Unit_instance;
|
|
3025
3025
|
} else if (tmp === 1) {
|
|
3026
3026
|
throw this.v8_1;
|
|
@@ -3031,35 +3031,35 @@
|
|
|
3031
3031
|
}
|
|
3032
3032
|
while (true);
|
|
3033
3033
|
};
|
|
3034
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
3035
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
3036
|
-
i.
|
|
3037
|
-
i.
|
|
3034
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).ra1 = function ($this$dispatchAsync, store, completion) {
|
|
3035
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.va7_1, completion);
|
|
3036
|
+
i.wa7_1 = $this$dispatchAsync;
|
|
3037
|
+
i.xa7_1 = store;
|
|
3038
3038
|
return i;
|
|
3039
3039
|
};
|
|
3040
3040
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
3041
3041
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
3042
3042
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3043
|
-
return i.
|
|
3043
|
+
return i.qa1($this$dispatchAsync, store, $completion);
|
|
3044
3044
|
};
|
|
3045
3045
|
l.$arity = 2;
|
|
3046
3046
|
return l;
|
|
3047
3047
|
}
|
|
3048
3048
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
3049
|
-
this.
|
|
3050
|
-
this.
|
|
3051
|
-
this.
|
|
3049
|
+
this.ga8_1 = $reason;
|
|
3050
|
+
this.ha8_1 = this$0;
|
|
3051
|
+
this.ia8_1 = $roomId;
|
|
3052
3052
|
CoroutineImpl.call(this, resultContinuation);
|
|
3053
3053
|
}
|
|
3054
|
-
protoOf(GameServer$shutdown$slambda).
|
|
3055
|
-
var tmp = this.
|
|
3054
|
+
protoOf(GameServer$shutdown$slambda).qa1 = function ($this$dispatchAsync, store, $completion) {
|
|
3055
|
+
var tmp = this.ra1($this$dispatchAsync, store, $completion);
|
|
3056
3056
|
tmp.u8_1 = Unit_instance;
|
|
3057
3057
|
tmp.v8_1 = null;
|
|
3058
3058
|
return tmp.a9();
|
|
3059
3059
|
};
|
|
3060
3060
|
protoOf(GameServer$shutdown$slambda).j9 = function (p1, p2, $completion) {
|
|
3061
3061
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
3062
|
-
return this.
|
|
3062
|
+
return this.qa1(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
3063
3063
|
};
|
|
3064
3064
|
protoOf(GameServer$shutdown$slambda).a9 = function () {
|
|
3065
3065
|
var suspendResult = this.u8_1;
|
|
@@ -3068,11 +3068,11 @@
|
|
|
3068
3068
|
var tmp = this.s8_1;
|
|
3069
3069
|
if (tmp === 0) {
|
|
3070
3070
|
this.t8_1 = 1;
|
|
3071
|
-
var state = this.
|
|
3071
|
+
var state = this.ka8_1.store.state;
|
|
3072
3072
|
if (state.e6s()) {
|
|
3073
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
3073
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.ga8_1, get_serverShutdownReasonMapping());
|
|
3074
3074
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
3075
|
-
var tmp_0 = this.
|
|
3075
|
+
var tmp_0 = this.ka8_1.dispatch;
|
|
3076
3076
|
var tmp_1 = Companion_instance;
|
|
3077
3077
|
var tmp_2;
|
|
3078
3078
|
switch (shutdownReason.q2_1) {
|
|
@@ -3086,12 +3086,12 @@
|
|
|
3086
3086
|
noWhenBranchMatchedException();
|
|
3087
3087
|
break;
|
|
3088
3088
|
}
|
|
3089
|
-
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.
|
|
3089
|
+
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.ha8_1.table.isGameFinished, this.ha8_1.table));
|
|
3090
3090
|
} else {
|
|
3091
|
-
this.
|
|
3092
|
-
var tmp_3 = this.
|
|
3091
|
+
this.ha8_1.i4q().w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.ia8_1);
|
|
3092
|
+
var tmp_3 = this.ka8_1.dispatch;
|
|
3093
3093
|
var tmp2_safe_receiver = state.c6r_1;
|
|
3094
|
-
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
3094
|
+
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.s93_1));
|
|
3095
3095
|
}
|
|
3096
3096
|
return Unit_instance;
|
|
3097
3097
|
} else if (tmp === 1) {
|
|
@@ -3103,37 +3103,37 @@
|
|
|
3103
3103
|
}
|
|
3104
3104
|
while (true);
|
|
3105
3105
|
};
|
|
3106
|
-
protoOf(GameServer$shutdown$slambda).
|
|
3107
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
3108
|
-
i.
|
|
3109
|
-
i.
|
|
3106
|
+
protoOf(GameServer$shutdown$slambda).ra1 = function ($this$dispatchAsync, store, completion) {
|
|
3107
|
+
var i = new GameServer$shutdown$slambda(this.ga8_1, this.ha8_1, this.ia8_1, completion);
|
|
3108
|
+
i.ja8_1 = $this$dispatchAsync;
|
|
3109
|
+
i.ka8_1 = store;
|
|
3110
3110
|
return i;
|
|
3111
3111
|
};
|
|
3112
3112
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
3113
3113
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
3114
3114
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3115
|
-
return i.
|
|
3115
|
+
return i.qa1($this$dispatchAsync, store, $completion);
|
|
3116
3116
|
};
|
|
3117
3117
|
l.$arity = 2;
|
|
3118
3118
|
return l;
|
|
3119
3119
|
}
|
|
3120
3120
|
function GameServer$handlePlayerMessage$slambda($botChatInteractor, $message, $fromPlayerId, $onMessageGenerated, this$0, resultContinuation) {
|
|
3121
|
-
this.
|
|
3122
|
-
this.
|
|
3123
|
-
this.
|
|
3124
|
-
this.
|
|
3125
|
-
this.
|
|
3121
|
+
this.ta8_1 = $botChatInteractor;
|
|
3122
|
+
this.ua8_1 = $message;
|
|
3123
|
+
this.va8_1 = $fromPlayerId;
|
|
3124
|
+
this.wa8_1 = $onMessageGenerated;
|
|
3125
|
+
this.xa8_1 = this$0;
|
|
3126
3126
|
CoroutineImpl.call(this, resultContinuation);
|
|
3127
3127
|
}
|
|
3128
|
-
protoOf(GameServer$handlePlayerMessage$slambda).
|
|
3129
|
-
var tmp = this.
|
|
3128
|
+
protoOf(GameServer$handlePlayerMessage$slambda).qa1 = function ($this$dispatchAsync, store, $completion) {
|
|
3129
|
+
var tmp = this.ra1($this$dispatchAsync, store, $completion);
|
|
3130
3130
|
tmp.u8_1 = Unit_instance;
|
|
3131
3131
|
tmp.v8_1 = null;
|
|
3132
3132
|
return tmp.a9();
|
|
3133
3133
|
};
|
|
3134
3134
|
protoOf(GameServer$handlePlayerMessage$slambda).j9 = function (p1, p2, $completion) {
|
|
3135
3135
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
3136
|
-
return this.
|
|
3136
|
+
return this.qa1(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
3137
3137
|
};
|
|
3138
3138
|
protoOf(GameServer$handlePlayerMessage$slambda).a9 = function () {
|
|
3139
3139
|
var suspendResult = this.u8_1;
|
|
@@ -3143,20 +3143,20 @@
|
|
|
3143
3143
|
switch (tmp) {
|
|
3144
3144
|
case 0:
|
|
3145
3145
|
this.t8_1 = 3;
|
|
3146
|
-
var state = this.
|
|
3146
|
+
var state = this.za8_1.store.state;
|
|
3147
3147
|
if (state.e6s()) {
|
|
3148
3148
|
var tmp0_table = state.c6s();
|
|
3149
3149
|
this.s8_1 = 1;
|
|
3150
|
-
suspendResult = this.
|
|
3150
|
+
suspendResult = this.ta8_1.m8s(tmp0_table, this.ua8_1, this.va8_1, VOID, this);
|
|
3151
3151
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3152
3152
|
return suspendResult;
|
|
3153
3153
|
}
|
|
3154
3154
|
continue $sm;
|
|
3155
3155
|
} else {
|
|
3156
|
-
this.
|
|
3157
|
-
var tmp_0 = this.
|
|
3156
|
+
this.xa8_1.i4q().w('GameEngine_API', "GameServer: can't generate message without table, " + this.va8_1);
|
|
3157
|
+
var tmp_0 = this.za8_1.dispatch;
|
|
3158
3158
|
var tmp1_safe_receiver = state.c6r_1;
|
|
3159
|
-
tmp_0(new ClearAction(tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
3159
|
+
tmp_0(new ClearAction(tmp1_safe_receiver == null ? null : tmp1_safe_receiver.s93_1));
|
|
3160
3160
|
this.s8_1 = 2;
|
|
3161
3161
|
continue $sm;
|
|
3162
3162
|
}
|
|
@@ -3164,7 +3164,7 @@
|
|
|
3164
3164
|
case 1:
|
|
3165
3165
|
var message = suspendResult;
|
|
3166
3166
|
if (!(message == null)) {
|
|
3167
|
-
this.
|
|
3167
|
+
this.wa8_1(message);
|
|
3168
3168
|
}
|
|
3169
3169
|
|
|
3170
3170
|
this.s8_1 = 2;
|
|
@@ -3185,16 +3185,16 @@
|
|
|
3185
3185
|
}
|
|
3186
3186
|
while (true);
|
|
3187
3187
|
};
|
|
3188
|
-
protoOf(GameServer$handlePlayerMessage$slambda).
|
|
3189
|
-
var i = new GameServer$handlePlayerMessage$slambda(this.
|
|
3190
|
-
i.
|
|
3191
|
-
i.
|
|
3188
|
+
protoOf(GameServer$handlePlayerMessage$slambda).ra1 = function ($this$dispatchAsync, store, completion) {
|
|
3189
|
+
var i = new GameServer$handlePlayerMessage$slambda(this.ta8_1, this.ua8_1, this.va8_1, this.wa8_1, this.xa8_1, completion);
|
|
3190
|
+
i.ya8_1 = $this$dispatchAsync;
|
|
3191
|
+
i.za8_1 = store;
|
|
3192
3192
|
return i;
|
|
3193
3193
|
};
|
|
3194
3194
|
function GameServer$handlePlayerMessage$slambda_0($botChatInteractor, $message, $fromPlayerId, $onMessageGenerated, this$0, resultContinuation) {
|
|
3195
3195
|
var i = new GameServer$handlePlayerMessage$slambda($botChatInteractor, $message, $fromPlayerId, $onMessageGenerated, this$0, resultContinuation);
|
|
3196
3196
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3197
|
-
return i.
|
|
3197
|
+
return i.qa1($this$dispatchAsync, store, $completion);
|
|
3198
3198
|
};
|
|
3199
3199
|
l.$arity = 2;
|
|
3200
3200
|
return l;
|
|
@@ -3225,7 +3225,7 @@
|
|
|
3225
3225
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
3226
3226
|
var tmp_3 = Instance(di, tmp$ret$2, null);
|
|
3227
3227
|
var tmp_4 = KProperty1;
|
|
3228
|
-
tmp_1.
|
|
3228
|
+
tmp_1.g9y_1 = tmp_3.a65(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_4, GameServer$_get_toClientEventsObserver_$ref_utir8s(), null));
|
|
3229
3229
|
var tmp_5 = this;
|
|
3230
3230
|
// Inline function 'org.kodein.di.instance' call
|
|
3231
3231
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3233,7 +3233,7 @@
|
|
|
3233
3233
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
3234
3234
|
var tmp_7 = Instance(di, tmp$ret$4, null);
|
|
3235
3235
|
var tmp_8 = KProperty1;
|
|
3236
|
-
tmp_5.
|
|
3236
|
+
tmp_5.h9y_1 = tmp_7.a65(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_8, GameServer$_get_fromClientEventsObserver_$ref_nf1g79(), null));
|
|
3237
3237
|
var tmp_9 = this;
|
|
3238
3238
|
// Inline function 'org.kodein.di.instance' call
|
|
3239
3239
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3241,7 +3241,7 @@
|
|
|
3241
3241
|
var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
3242
3242
|
var tmp_11 = Instance(di, tmp$ret$6, null);
|
|
3243
3243
|
var tmp_12 = KProperty1;
|
|
3244
|
-
tmp_9.
|
|
3244
|
+
tmp_9.i9y_1 = tmp_11.a65(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_12, GameServer$_get_playerConnectionInteractor_$ref_of8tan(), null));
|
|
3245
3245
|
var tmp_13 = this;
|
|
3246
3246
|
// Inline function 'org.kodein.di.instance' call
|
|
3247
3247
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3249,7 +3249,7 @@
|
|
|
3249
3249
|
var tmp$ret$8 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
3250
3250
|
var tmp_15 = Instance(di, tmp$ret$8, null);
|
|
3251
3251
|
var tmp_16 = KProperty1;
|
|
3252
|
-
tmp_13.
|
|
3252
|
+
tmp_13.j9y_1 = tmp_15.a65(this, getPropertyCallableRef('teamsLogicProvider', 1, tmp_16, GameServer$_get_teamsLogicProvider_$ref_b7y54g(), null));
|
|
3253
3253
|
var tmp_17 = this;
|
|
3254
3254
|
// Inline function 'org.kodein.di.instance' call
|
|
3255
3255
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3257,9 +3257,9 @@
|
|
|
3257
3257
|
var tmp$ret$10 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
3258
3258
|
var tmp_19 = Instance(di, tmp$ret$10, null);
|
|
3259
3259
|
var tmp_20 = KProperty1;
|
|
3260
|
-
tmp_17.
|
|
3260
|
+
tmp_17.k9y_1 = tmp_19.a65(this, getPropertyCallableRef('userRatingInteractor', 1, tmp_20, GameServer$_get_userRatingInteractor_$ref_8uo6aw(), null));
|
|
3261
3261
|
var tmp_21 = this;
|
|
3262
|
-
tmp_21.
|
|
3262
|
+
tmp_21.l9y_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
3263
3263
|
var tmp_22 = this;
|
|
3264
3264
|
// Inline function 'org.kodein.di.instance' call
|
|
3265
3265
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3267,7 +3267,7 @@
|
|
|
3267
3267
|
var tmp$ret$12 = isInterface(tmp_23, TypeToken) ? tmp_23 : THROW_CCE();
|
|
3268
3268
|
var tmp_24 = Instance(di, tmp$ret$12, null);
|
|
3269
3269
|
var tmp_25 = KProperty1;
|
|
3270
|
-
tmp_22.
|
|
3270
|
+
tmp_22.m9y_1 = tmp_24.a65(this, getPropertyCallableRef('idsProvider', 1, tmp_25, GameServer$_get_idsProvider_$ref_89s908(), null));
|
|
3271
3271
|
var tmp_26 = this;
|
|
3272
3272
|
// Inline function 'org.kodein.di.instance' call
|
|
3273
3273
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3275,7 +3275,7 @@
|
|
|
3275
3275
|
var tmp$ret$14 = isInterface(tmp_27, TypeToken) ? tmp_27 : THROW_CCE();
|
|
3276
3276
|
var tmp_28 = Instance(di, tmp$ret$14, null);
|
|
3277
3277
|
var tmp_29 = KProperty1;
|
|
3278
|
-
tmp_26.
|
|
3278
|
+
tmp_26.n9y_1 = tmp_28.a65(this, getPropertyCallableRef('serverReduxConfig', 1, tmp_29, GameServer$_get_serverReduxConfig_$ref_7h6jq6(), null));
|
|
3279
3279
|
var tmp_30 = this;
|
|
3280
3280
|
// Inline function 'org.kodein.di.instance' call
|
|
3281
3281
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3283,7 +3283,7 @@
|
|
|
3283
3283
|
var tmp$ret$16 = isInterface(tmp_31, TypeToken) ? tmp_31 : THROW_CCE();
|
|
3284
3284
|
var tmp_32 = Instance(di, tmp$ret$16, null);
|
|
3285
3285
|
var tmp_33 = KProperty1;
|
|
3286
|
-
tmp_30.
|
|
3286
|
+
tmp_30.o9y_1 = tmp_32.a65(this, getPropertyCallableRef('encoderDecoderProvider', 1, tmp_33, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8(), null));
|
|
3287
3287
|
var tmp_34 = this;
|
|
3288
3288
|
// Inline function 'org.kodein.di.instance' call
|
|
3289
3289
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3291,7 +3291,7 @@
|
|
|
3291
3291
|
var tmp$ret$18 = isInterface(tmp_35, TypeToken) ? tmp_35 : THROW_CCE();
|
|
3292
3292
|
var tmp_36 = Instance(di, tmp$ret$18, null);
|
|
3293
3293
|
var tmp_37 = KProperty1;
|
|
3294
|
-
tmp_34.
|
|
3294
|
+
tmp_34.p9y_1 = tmp_36.a65(this, getPropertyCallableRef('engineLogicConfig', 1, tmp_37, GameServer$_get_engineLogicConfig_$ref_nlkv2l(), null));
|
|
3295
3295
|
var tmp_38 = this;
|
|
3296
3296
|
// Inline function 'org.kodein.di.instanceOrNull' call
|
|
3297
3297
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3299,16 +3299,16 @@
|
|
|
3299
3299
|
var tmp$ret$20 = isInterface(tmp_39, TypeToken) ? tmp_39 : THROW_CCE();
|
|
3300
3300
|
var tmp_40 = InstanceOrNull(di, tmp$ret$20, null);
|
|
3301
3301
|
var tmp_41 = KProperty1;
|
|
3302
|
-
tmp_38.
|
|
3302
|
+
tmp_38.q9y_1 = tmp_40.a65(this, getPropertyCallableRef('botChatInteractor', 1, tmp_41, GameServer$_get_botChatInteractor_$ref_zf10ih(), null));
|
|
3303
3303
|
var tmp_42 = this;
|
|
3304
|
-
var tmp0_externalMiddlewares = plus(storeContract.
|
|
3305
|
-
var tmp1_externalReducers = plus(storeContract.
|
|
3306
|
-
tmp_42.
|
|
3304
|
+
var tmp0_externalMiddlewares = plus(storeContract.k98(), externalMiddlewares);
|
|
3305
|
+
var tmp1_externalReducers = plus(storeContract.j98(), externalReducers);
|
|
3306
|
+
tmp_42.r9y_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
3307
3307
|
}
|
|
3308
3308
|
protoOf(GameServer).s6q = function () {
|
|
3309
|
-
return this.
|
|
3309
|
+
return this.r9y_1;
|
|
3310
3310
|
};
|
|
3311
|
-
protoOf(GameServer).
|
|
3311
|
+
protoOf(GameServer).w8m = function () {
|
|
3312
3312
|
return get_serverStatePayload_0(this.x66()).metadata;
|
|
3313
3313
|
};
|
|
3314
3314
|
protoOf(GameServer).canReconnectPlayer = function (playerId) {
|
|
@@ -3354,17 +3354,17 @@
|
|
|
3354
3354
|
};
|
|
3355
3355
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
3356
3356
|
this.i4q().d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
3357
|
-
this.
|
|
3357
|
+
this.r9y_1.a6s(GameServer$fromClientEvent$slambda_0(action, null));
|
|
3358
3358
|
};
|
|
3359
3359
|
protoOf(GameServer).playerLostConnection = function (playerId, roomId) {
|
|
3360
3360
|
this.i4q().d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
3361
|
-
this.
|
|
3361
|
+
this.r9y_1.a6s(GameServer$playerLostConnection$slambda_0(playerId, roomId, null));
|
|
3362
3362
|
};
|
|
3363
3363
|
protoOf(GameServer).playerLive = function (playerId, roomId) {
|
|
3364
3364
|
this.i4q().d('GameEngine_API', 'playerLive: ' + playerId);
|
|
3365
|
-
this.
|
|
3365
|
+
this.r9y_1.a6s(GameServer$playerLive$slambda_0(this, playerId, roomId, null));
|
|
3366
3366
|
};
|
|
3367
|
-
protoOf(GameServer).
|
|
3367
|
+
protoOf(GameServer).aa9 = function (playerId, roomId, permanently) {
|
|
3368
3368
|
this.i4q().d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
3369
3369
|
var tmp;
|
|
3370
3370
|
if (this.x66().e6s()) {
|
|
@@ -3373,33 +3373,33 @@
|
|
|
3373
3373
|
tmp = null;
|
|
3374
3374
|
}
|
|
3375
3375
|
var result = tmp;
|
|
3376
|
-
this.
|
|
3376
|
+
this.r9y_1.a6s(GameServer$playerLeft$slambda_0(this, playerId, permanently, roomId, null));
|
|
3377
3377
|
this.i4q().d('GameEngine_API', 'playerLeft result: ' + toString_0(result));
|
|
3378
3378
|
return result;
|
|
3379
3379
|
};
|
|
3380
|
-
protoOf(GameServer).
|
|
3380
|
+
protoOf(GameServer).ba9 = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
3381
3381
|
this.i4q().d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
3382
|
-
this.
|
|
3382
|
+
this.r9y_1.a6s(GameServer$roomOnCreate$slambda_0(usersArray, this, config, roomId, transition, gameCreatorId, spectators, null));
|
|
3383
3383
|
};
|
|
3384
3384
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
3385
3385
|
this.i4q().d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
3386
|
-
var isCreated = this.
|
|
3387
|
-
this.
|
|
3386
|
+
var isCreated = this.r9y_1.b6s(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
3387
|
+
this.r9y_1.a6s(GameServer$roomOnContinueFromState$slambda_2(isCreated, state, null));
|
|
3388
3388
|
};
|
|
3389
3389
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
3390
3390
|
this.i4q().d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
3391
|
-
this.
|
|
3392
|
-
this.
|
|
3391
|
+
this.r9y_1.a6s(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
3392
|
+
this.r9y_1.a6s(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
3393
3393
|
};
|
|
3394
3394
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
3395
|
-
this.
|
|
3395
|
+
this.r9y_1.a6s(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
3396
3396
|
};
|
|
3397
3397
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
3398
|
-
this.
|
|
3398
|
+
this.r9y_1.a6s(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
3399
3399
|
};
|
|
3400
3400
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
3401
3401
|
this.i4q().d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
3402
|
-
this.
|
|
3402
|
+
this.r9y_1.a6s(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
3403
3403
|
};
|
|
3404
3404
|
protoOf(GameServer).getToClientFinishActionBeforeDisconnect = function (playerId, previousState, originState) {
|
|
3405
3405
|
if (!this.isTableExists) {
|
|
@@ -3409,24 +3409,24 @@
|
|
|
3409
3409
|
var table = this.table;
|
|
3410
3410
|
var player = getPlayer(table.players, playerId);
|
|
3411
3411
|
this.i4q().d('GameEngine_API', 'getToClientFinishActionBeforeDisconnect: ' + playerId + ', ' + ('state = ' + player.o6v_1.d69().n67_1.toString() + ', ') + ('isBot = ' + player.n6v_1.isBot));
|
|
3412
|
-
var actions = _get_playerConnectionInteractor__si6cxf(this).
|
|
3412
|
+
var actions = _get_playerConnectionInteractor__si6cxf(this).ca9(playerId, previousState.isLive, table.id, mapToFinishReason(originState, player, table.playersConnections), table.isGameFinished);
|
|
3413
3413
|
this.i4q().d('GameEngine_API', 'getToClientFinishActionBeforeDisconnect: ' + toString(actions));
|
|
3414
3414
|
if (actions.r()) {
|
|
3415
3415
|
return null;
|
|
3416
3416
|
}
|
|
3417
3417
|
return new CombinedToClientAction(actions, Companion_instance_1.user(_get_idsProvider__fnfajc(this).h6e(), table.id, playerId));
|
|
3418
3418
|
};
|
|
3419
|
-
protoOf(GameServer).
|
|
3419
|
+
protoOf(GameServer).da9 = function (newRid) {
|
|
3420
3420
|
this.i4q().d('GameEngine_API', 'roomOnDelete: newRid = ' + newRid);
|
|
3421
|
-
this.
|
|
3421
|
+
this.r9y_1.a6s(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
3422
3422
|
};
|
|
3423
3423
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
3424
3424
|
this.i4q().d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
3425
|
-
this.
|
|
3425
|
+
this.r9y_1.a6s(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
3426
3426
|
};
|
|
3427
|
-
protoOf(GameServer).
|
|
3427
|
+
protoOf(GameServer).ea9 = function (reason, roomId) {
|
|
3428
3428
|
this.i4q().d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
3429
|
-
this.
|
|
3429
|
+
this.r9y_1.a6s(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
3430
3430
|
};
|
|
3431
3431
|
protoOf(GameServer).handlePlayerMessage = function (message, fromPlayerId, onMessageGenerated) {
|
|
3432
3432
|
var tmp0_elvis_lhs = _get_botChatInteractor__17f3on(this);
|
|
@@ -3438,7 +3438,7 @@
|
|
|
3438
3438
|
}
|
|
3439
3439
|
var botChatInteractor = tmp;
|
|
3440
3440
|
this.i4q().d('GameEngine_API', 'handlePlayerMessage: ' + fromPlayerId);
|
|
3441
|
-
this.
|
|
3441
|
+
this.r9y_1.a6s(GameServer$handlePlayerMessage$slambda_0(botChatInteractor, message, fromPlayerId, onMessageGenerated, this, null));
|
|
3442
3442
|
};
|
|
3443
3443
|
protoOf(GameServer).clear = function () {
|
|
3444
3444
|
return this.i2();
|
|
@@ -3492,13 +3492,13 @@
|
|
|
3492
3492
|
this.shouldFinishGameWhenDeploy = shouldFinishGameWhenDeploy;
|
|
3493
3493
|
this.shouldFinishGameWithBots = shouldFinishGameWithBots;
|
|
3494
3494
|
}
|
|
3495
|
-
protoOf(ServerConfig).
|
|
3495
|
+
protoOf(ServerConfig).fa9 = function () {
|
|
3496
3496
|
return this.fromRound;
|
|
3497
3497
|
};
|
|
3498
|
-
protoOf(ServerConfig).
|
|
3498
|
+
protoOf(ServerConfig).ga9 = function () {
|
|
3499
3499
|
return this.shouldFinishGameWhenDeploy;
|
|
3500
3500
|
};
|
|
3501
|
-
protoOf(ServerConfig).
|
|
3501
|
+
protoOf(ServerConfig).ha9 = function () {
|
|
3502
3502
|
return this.shouldFinishGameWithBots;
|
|
3503
3503
|
};
|
|
3504
3504
|
protoOf(ServerConfig).oe = function () {
|
|
@@ -3510,14 +3510,14 @@
|
|
|
3510
3510
|
protoOf(ServerConfig).yl = function () {
|
|
3511
3511
|
return this.shouldFinishGameWithBots;
|
|
3512
3512
|
};
|
|
3513
|
-
protoOf(ServerConfig).
|
|
3513
|
+
protoOf(ServerConfig).ia9 = function (fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots) {
|
|
3514
3514
|
return new ServerConfig(fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots);
|
|
3515
3515
|
};
|
|
3516
3516
|
protoOf(ServerConfig).copy = function (fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots, $super) {
|
|
3517
3517
|
fromRound = fromRound === VOID ? this.fromRound : fromRound;
|
|
3518
3518
|
shouldFinishGameWhenDeploy = shouldFinishGameWhenDeploy === VOID ? this.shouldFinishGameWhenDeploy : shouldFinishGameWhenDeploy;
|
|
3519
3519
|
shouldFinishGameWithBots = shouldFinishGameWithBots === VOID ? this.shouldFinishGameWithBots : shouldFinishGameWithBots;
|
|
3520
|
-
return $super === VOID ? this.
|
|
3520
|
+
return $super === VOID ? this.ia9(fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots) : $super.ia9.call(this, fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots);
|
|
3521
3521
|
};
|
|
3522
3522
|
protoOf(ServerConfig).toString = function () {
|
|
3523
3523
|
return 'ServerConfig(fromRound=' + this.fromRound + ', shouldFinishGameWhenDeploy=' + this.shouldFinishGameWhenDeploy + ', shouldFinishGameWithBots=' + this.shouldFinishGameWithBots + ')';
|
|
@@ -3582,20 +3582,20 @@
|
|
|
3582
3582
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.TableStateUpdateDto', this, 2);
|
|
3583
3583
|
tmp0_serialDesc.hz('roomId', false);
|
|
3584
3584
|
tmp0_serialDesc.hz('table', false);
|
|
3585
|
-
this.
|
|
3585
|
+
this.ja9_1 = tmp0_serialDesc;
|
|
3586
3586
|
}
|
|
3587
|
-
protoOf($serializer).
|
|
3588
|
-
var tmp0_desc = this.
|
|
3587
|
+
protoOf($serializer).ka9 = function (encoder, value) {
|
|
3588
|
+
var tmp0_desc = this.ja9_1;
|
|
3589
3589
|
var tmp1_output = encoder.pr(tmp0_desc);
|
|
3590
|
-
tmp1_output.et(tmp0_desc, 0, value.
|
|
3590
|
+
tmp1_output.et(tmp0_desc, 0, value.la9_1);
|
|
3591
3591
|
tmp1_output.et(tmp0_desc, 1, value.table);
|
|
3592
3592
|
tmp1_output.qr(tmp0_desc);
|
|
3593
3593
|
};
|
|
3594
3594
|
protoOf($serializer).do = function (encoder, value) {
|
|
3595
|
-
return this.
|
|
3595
|
+
return this.ka9(encoder, value instanceof TableStateUpdateDto ? value : THROW_CCE());
|
|
3596
3596
|
};
|
|
3597
3597
|
protoOf($serializer).eo = function (decoder) {
|
|
3598
|
-
var tmp0_desc = this.
|
|
3598
|
+
var tmp0_desc = this.ja9_1;
|
|
3599
3599
|
var tmp1_flag = true;
|
|
3600
3600
|
var tmp2_index = 0;
|
|
3601
3601
|
var tmp3_bitMask0 = 0;
|
|
@@ -3630,7 +3630,7 @@
|
|
|
3630
3630
|
return TableStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3631
3631
|
};
|
|
3632
3632
|
protoOf($serializer).co = function () {
|
|
3633
|
-
return this.
|
|
3633
|
+
return this.ja9_1;
|
|
3634
3634
|
};
|
|
3635
3635
|
protoOf($serializer).wz = function () {
|
|
3636
3636
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3646,9 +3646,9 @@
|
|
|
3646
3646
|
}
|
|
3647
3647
|
function TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, $this) {
|
|
3648
3648
|
if (!(3 === (3 & seen0))) {
|
|
3649
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance().
|
|
3649
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance().ja9_1);
|
|
3650
3650
|
}
|
|
3651
|
-
$this.
|
|
3651
|
+
$this.la9_1 = roomId;
|
|
3652
3652
|
$this.table = table;
|
|
3653
3653
|
return $this;
|
|
3654
3654
|
}
|
|
@@ -3656,17 +3656,17 @@
|
|
|
3656
3656
|
return TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, objectCreate(protoOf(TableStateUpdateDto)));
|
|
3657
3657
|
}
|
|
3658
3658
|
function TableStateUpdateDto(roomId, table) {
|
|
3659
|
-
this.
|
|
3659
|
+
this.la9_1 = roomId;
|
|
3660
3660
|
this.table = table;
|
|
3661
3661
|
}
|
|
3662
|
-
protoOf(TableStateUpdateDto).
|
|
3663
|
-
return this.
|
|
3662
|
+
protoOf(TableStateUpdateDto).q8j = function () {
|
|
3663
|
+
return this.la9_1;
|
|
3664
3664
|
};
|
|
3665
3665
|
protoOf(TableStateUpdateDto).c6s = function () {
|
|
3666
3666
|
return this.table;
|
|
3667
3667
|
};
|
|
3668
3668
|
protoOf(TableStateUpdateDto).oe = function () {
|
|
3669
|
-
return this.
|
|
3669
|
+
return this.la9_1;
|
|
3670
3670
|
};
|
|
3671
3671
|
protoOf(TableStateUpdateDto).pe = function () {
|
|
3672
3672
|
return this.table;
|
|
@@ -3675,15 +3675,15 @@
|
|
|
3675
3675
|
return new TableStateUpdateDto(roomId, table);
|
|
3676
3676
|
};
|
|
3677
3677
|
protoOf(TableStateUpdateDto).copy = function (roomId, table, $super) {
|
|
3678
|
-
roomId = roomId === VOID ? this.
|
|
3678
|
+
roomId = roomId === VOID ? this.la9_1 : roomId;
|
|
3679
3679
|
table = table === VOID ? this.table : table;
|
|
3680
3680
|
return $super === VOID ? this.f54(roomId, table) : $super.f54.call(this, roomId, table);
|
|
3681
3681
|
};
|
|
3682
3682
|
protoOf(TableStateUpdateDto).toString = function () {
|
|
3683
|
-
return 'TableStateUpdateDto(roomId=' + this.
|
|
3683
|
+
return 'TableStateUpdateDto(roomId=' + this.la9_1 + ', table=' + this.table + ')';
|
|
3684
3684
|
};
|
|
3685
3685
|
protoOf(TableStateUpdateDto).hashCode = function () {
|
|
3686
|
-
var result = getStringHashCode(this.
|
|
3686
|
+
var result = getStringHashCode(this.la9_1);
|
|
3687
3687
|
result = imul(result, 31) + getStringHashCode(this.table) | 0;
|
|
3688
3688
|
return result;
|
|
3689
3689
|
};
|
|
@@ -3692,7 +3692,7 @@
|
|
|
3692
3692
|
return true;
|
|
3693
3693
|
if (!(other instanceof TableStateUpdateDto))
|
|
3694
3694
|
return false;
|
|
3695
|
-
if (!(this.
|
|
3695
|
+
if (!(this.la9_1 === other.la9_1))
|
|
3696
3696
|
return false;
|
|
3697
3697
|
if (!(this.table === other.table))
|
|
3698
3698
|
return false;
|
|
@@ -3712,20 +3712,20 @@
|
|
|
3712
3712
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.ActionsStateUpdateDto', this, 2);
|
|
3713
3713
|
tmp0_serialDesc.hz('roomId', false);
|
|
3714
3714
|
tmp0_serialDesc.hz('actions', false);
|
|
3715
|
-
this.
|
|
3715
|
+
this.ma9_1 = tmp0_serialDesc;
|
|
3716
3716
|
}
|
|
3717
|
-
protoOf($serializer_0).
|
|
3718
|
-
var tmp0_desc = this.
|
|
3717
|
+
protoOf($serializer_0).na9 = function (encoder, value) {
|
|
3718
|
+
var tmp0_desc = this.ma9_1;
|
|
3719
3719
|
var tmp1_output = encoder.pr(tmp0_desc);
|
|
3720
|
-
tmp1_output.et(tmp0_desc, 0, value.
|
|
3720
|
+
tmp1_output.et(tmp0_desc, 0, value.oa9_1);
|
|
3721
3721
|
tmp1_output.et(tmp0_desc, 1, value.actions);
|
|
3722
3722
|
tmp1_output.qr(tmp0_desc);
|
|
3723
3723
|
};
|
|
3724
3724
|
protoOf($serializer_0).do = function (encoder, value) {
|
|
3725
|
-
return this.
|
|
3725
|
+
return this.na9(encoder, value instanceof ActionsStateUpdateDto ? value : THROW_CCE());
|
|
3726
3726
|
};
|
|
3727
3727
|
protoOf($serializer_0).eo = function (decoder) {
|
|
3728
|
-
var tmp0_desc = this.
|
|
3728
|
+
var tmp0_desc = this.ma9_1;
|
|
3729
3729
|
var tmp1_flag = true;
|
|
3730
3730
|
var tmp2_index = 0;
|
|
3731
3731
|
var tmp3_bitMask0 = 0;
|
|
@@ -3760,7 +3760,7 @@
|
|
|
3760
3760
|
return ActionsStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3761
3761
|
};
|
|
3762
3762
|
protoOf($serializer_0).co = function () {
|
|
3763
|
-
return this.
|
|
3763
|
+
return this.ma9_1;
|
|
3764
3764
|
};
|
|
3765
3765
|
protoOf($serializer_0).wz = function () {
|
|
3766
3766
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3776,9 +3776,9 @@
|
|
|
3776
3776
|
}
|
|
3777
3777
|
function ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, $this) {
|
|
3778
3778
|
if (!(3 === (3 & seen0))) {
|
|
3779
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().
|
|
3779
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().ma9_1);
|
|
3780
3780
|
}
|
|
3781
|
-
$this.
|
|
3781
|
+
$this.oa9_1 = roomId;
|
|
3782
3782
|
$this.actions = actions;
|
|
3783
3783
|
return $this;
|
|
3784
3784
|
}
|
|
@@ -3786,17 +3786,17 @@
|
|
|
3786
3786
|
return ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, objectCreate(protoOf(ActionsStateUpdateDto)));
|
|
3787
3787
|
}
|
|
3788
3788
|
function ActionsStateUpdateDto(roomId, actions) {
|
|
3789
|
-
this.
|
|
3789
|
+
this.oa9_1 = roomId;
|
|
3790
3790
|
this.actions = actions;
|
|
3791
3791
|
}
|
|
3792
|
-
protoOf(ActionsStateUpdateDto).
|
|
3793
|
-
return this.
|
|
3792
|
+
protoOf(ActionsStateUpdateDto).q8j = function () {
|
|
3793
|
+
return this.oa9_1;
|
|
3794
3794
|
};
|
|
3795
|
-
protoOf(ActionsStateUpdateDto).
|
|
3795
|
+
protoOf(ActionsStateUpdateDto).d8k = function () {
|
|
3796
3796
|
return this.actions;
|
|
3797
3797
|
};
|
|
3798
3798
|
protoOf(ActionsStateUpdateDto).oe = function () {
|
|
3799
|
-
return this.
|
|
3799
|
+
return this.oa9_1;
|
|
3800
3800
|
};
|
|
3801
3801
|
protoOf(ActionsStateUpdateDto).pe = function () {
|
|
3802
3802
|
return this.actions;
|
|
@@ -3805,15 +3805,15 @@
|
|
|
3805
3805
|
return new ActionsStateUpdateDto(roomId, actions);
|
|
3806
3806
|
};
|
|
3807
3807
|
protoOf(ActionsStateUpdateDto).copy = function (roomId, actions, $super) {
|
|
3808
|
-
roomId = roomId === VOID ? this.
|
|
3808
|
+
roomId = roomId === VOID ? this.oa9_1 : roomId;
|
|
3809
3809
|
actions = actions === VOID ? this.actions : actions;
|
|
3810
3810
|
return $super === VOID ? this.f54(roomId, actions) : $super.f54.call(this, roomId, actions);
|
|
3811
3811
|
};
|
|
3812
3812
|
protoOf(ActionsStateUpdateDto).toString = function () {
|
|
3813
|
-
return 'ActionsStateUpdateDto(roomId=' + this.
|
|
3813
|
+
return 'ActionsStateUpdateDto(roomId=' + this.oa9_1 + ', actions=' + this.actions + ')';
|
|
3814
3814
|
};
|
|
3815
3815
|
protoOf(ActionsStateUpdateDto).hashCode = function () {
|
|
3816
|
-
var result = getStringHashCode(this.
|
|
3816
|
+
var result = getStringHashCode(this.oa9_1);
|
|
3817
3817
|
result = imul(result, 31) + getStringHashCode(this.actions) | 0;
|
|
3818
3818
|
return result;
|
|
3819
3819
|
};
|
|
@@ -3822,7 +3822,7 @@
|
|
|
3822
3822
|
return true;
|
|
3823
3823
|
if (!(other instanceof ActionsStateUpdateDto))
|
|
3824
3824
|
return false;
|
|
3825
|
-
if (!(this.
|
|
3825
|
+
if (!(this.oa9_1 === other.oa9_1))
|
|
3826
3826
|
return false;
|
|
3827
3827
|
if (!(this.actions === other.actions))
|
|
3828
3828
|
return false;
|
|
@@ -3852,42 +3852,42 @@
|
|
|
3852
3852
|
var tmp$ret$0 = mapToDto(item);
|
|
3853
3853
|
destination.j(tmp$ret$0);
|
|
3854
3854
|
}
|
|
3855
|
-
return new ActionsStateUpdateDto(_this__u8e3s4.
|
|
3855
|
+
return new ActionsStateUpdateDto(_this__u8e3s4.pa9_1, encoderDecoderProvider.g8r(destination));
|
|
3856
3856
|
}
|
|
3857
3857
|
function mapToDto_3(_this__u8e3s4, encoderDecoderProvider) {
|
|
3858
|
-
return new TableStateUpdateDto(_this__u8e3s4.
|
|
3858
|
+
return new TableStateUpdateDto(_this__u8e3s4.qa9_1, encoderDecoderProvider.e8r(mapToDto_0(_this__u8e3s4.table)));
|
|
3859
3859
|
}
|
|
3860
3860
|
function ServerStateUpdate() {
|
|
3861
3861
|
}
|
|
3862
3862
|
function TableStateUpdate(roomId, table) {
|
|
3863
|
-
this.
|
|
3863
|
+
this.qa9_1 = roomId;
|
|
3864
3864
|
this.table = table;
|
|
3865
3865
|
}
|
|
3866
|
-
protoOf(TableStateUpdate).
|
|
3867
|
-
return this.
|
|
3866
|
+
protoOf(TableStateUpdate).q8j = function () {
|
|
3867
|
+
return this.qa9_1;
|
|
3868
3868
|
};
|
|
3869
3869
|
protoOf(TableStateUpdate).c6s = function () {
|
|
3870
3870
|
return this.table;
|
|
3871
3871
|
};
|
|
3872
3872
|
protoOf(TableStateUpdate).oe = function () {
|
|
3873
|
-
return this.
|
|
3873
|
+
return this.qa9_1;
|
|
3874
3874
|
};
|
|
3875
3875
|
protoOf(TableStateUpdate).pe = function () {
|
|
3876
3876
|
return this.table;
|
|
3877
3877
|
};
|
|
3878
|
-
protoOf(TableStateUpdate).
|
|
3878
|
+
protoOf(TableStateUpdate).ra9 = function (roomId, table) {
|
|
3879
3879
|
return new TableStateUpdate(roomId, table);
|
|
3880
3880
|
};
|
|
3881
3881
|
protoOf(TableStateUpdate).copy = function (roomId, table, $super) {
|
|
3882
|
-
roomId = roomId === VOID ? this.
|
|
3882
|
+
roomId = roomId === VOID ? this.qa9_1 : roomId;
|
|
3883
3883
|
table = table === VOID ? this.table : table;
|
|
3884
|
-
return $super === VOID ? this.
|
|
3884
|
+
return $super === VOID ? this.ra9(roomId, table) : $super.ra9.call(this, roomId, table);
|
|
3885
3885
|
};
|
|
3886
3886
|
protoOf(TableStateUpdate).toString = function () {
|
|
3887
|
-
return 'TableStateUpdate(roomId=' + this.
|
|
3887
|
+
return 'TableStateUpdate(roomId=' + this.qa9_1 + ', table=' + this.table.toString() + ')';
|
|
3888
3888
|
};
|
|
3889
3889
|
protoOf(TableStateUpdate).hashCode = function () {
|
|
3890
|
-
var result = getStringHashCode(this.
|
|
3890
|
+
var result = getStringHashCode(this.qa9_1);
|
|
3891
3891
|
result = imul(result, 31) + this.table.hashCode() | 0;
|
|
3892
3892
|
return result;
|
|
3893
3893
|
};
|
|
@@ -3896,41 +3896,41 @@
|
|
|
3896
3896
|
return true;
|
|
3897
3897
|
if (!(other instanceof TableStateUpdate))
|
|
3898
3898
|
return false;
|
|
3899
|
-
if (!(this.
|
|
3899
|
+
if (!(this.qa9_1 === other.qa9_1))
|
|
3900
3900
|
return false;
|
|
3901
3901
|
if (!this.table.equals(other.table))
|
|
3902
3902
|
return false;
|
|
3903
3903
|
return true;
|
|
3904
3904
|
};
|
|
3905
3905
|
function ActionsStateUpdate(roomId, actions) {
|
|
3906
|
-
this.
|
|
3906
|
+
this.pa9_1 = roomId;
|
|
3907
3907
|
this.actions = actions;
|
|
3908
3908
|
}
|
|
3909
|
-
protoOf(ActionsStateUpdate).
|
|
3910
|
-
return this.
|
|
3909
|
+
protoOf(ActionsStateUpdate).q8j = function () {
|
|
3910
|
+
return this.pa9_1;
|
|
3911
3911
|
};
|
|
3912
|
-
protoOf(ActionsStateUpdate).
|
|
3912
|
+
protoOf(ActionsStateUpdate).d8k = function () {
|
|
3913
3913
|
return this.actions;
|
|
3914
3914
|
};
|
|
3915
3915
|
protoOf(ActionsStateUpdate).oe = function () {
|
|
3916
|
-
return this.
|
|
3916
|
+
return this.pa9_1;
|
|
3917
3917
|
};
|
|
3918
3918
|
protoOf(ActionsStateUpdate).pe = function () {
|
|
3919
3919
|
return this.actions;
|
|
3920
3920
|
};
|
|
3921
|
-
protoOf(ActionsStateUpdate).
|
|
3921
|
+
protoOf(ActionsStateUpdate).sa9 = function (roomId, actions) {
|
|
3922
3922
|
return new ActionsStateUpdate(roomId, actions);
|
|
3923
3923
|
};
|
|
3924
3924
|
protoOf(ActionsStateUpdate).copy = function (roomId, actions, $super) {
|
|
3925
|
-
roomId = roomId === VOID ? this.
|
|
3925
|
+
roomId = roomId === VOID ? this.pa9_1 : roomId;
|
|
3926
3926
|
actions = actions === VOID ? this.actions : actions;
|
|
3927
|
-
return $super === VOID ? this.
|
|
3927
|
+
return $super === VOID ? this.sa9(roomId, actions) : $super.sa9.call(this, roomId, actions);
|
|
3928
3928
|
};
|
|
3929
3929
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
3930
|
-
return 'ActionsStateUpdate(roomId=' + this.
|
|
3930
|
+
return 'ActionsStateUpdate(roomId=' + this.pa9_1 + ', actions=' + toString(this.actions) + ')';
|
|
3931
3931
|
};
|
|
3932
3932
|
protoOf(ActionsStateUpdate).hashCode = function () {
|
|
3933
|
-
var result = getStringHashCode(this.
|
|
3933
|
+
var result = getStringHashCode(this.pa9_1);
|
|
3934
3934
|
result = imul(result, 31) + hashCode(this.actions) | 0;
|
|
3935
3935
|
return result;
|
|
3936
3936
|
};
|
|
@@ -3939,7 +3939,7 @@
|
|
|
3939
3939
|
return true;
|
|
3940
3940
|
if (!(other instanceof ActionsStateUpdate))
|
|
3941
3941
|
return false;
|
|
3942
|
-
if (!(this.
|
|
3942
|
+
if (!(this.pa9_1 === other.pa9_1))
|
|
3943
3943
|
return false;
|
|
3944
3944
|
if (!equals(this.actions, other.actions))
|
|
3945
3945
|
return false;
|
|
@@ -4179,18 +4179,18 @@
|
|
|
4179
4179
|
function ToClientEventsObserver() {
|
|
4180
4180
|
}
|
|
4181
4181
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
4182
|
-
this.
|
|
4183
|
-
this.
|
|
4182
|
+
this.caa_1 = this$0;
|
|
4183
|
+
this.daa_1 = $actions;
|
|
4184
4184
|
CoroutineImpl.call(this, resultContinuation);
|
|
4185
4185
|
}
|
|
4186
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
4187
|
-
var tmp = this.
|
|
4186
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).gaa = function ($this$flow, $completion) {
|
|
4187
|
+
var tmp = this.haa($this$flow, $completion);
|
|
4188
4188
|
tmp.u8_1 = Unit_instance;
|
|
4189
4189
|
tmp.v8_1 = null;
|
|
4190
4190
|
return tmp.a9();
|
|
4191
4191
|
};
|
|
4192
4192
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).i9 = function (p1, $completion) {
|
|
4193
|
-
return this.
|
|
4193
|
+
return this.gaa((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
4194
4194
|
};
|
|
4195
4195
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).a9 = function () {
|
|
4196
4196
|
var suspendResult = this.u8_1;
|
|
@@ -4200,19 +4200,19 @@
|
|
|
4200
4200
|
switch (tmp) {
|
|
4201
4201
|
case 0:
|
|
4202
4202
|
this.t8_1 = 4;
|
|
4203
|
-
this.
|
|
4204
|
-
this.
|
|
4203
|
+
this.caa_1.maa_1;
|
|
4204
|
+
this.faa_1 = transformToEmits(this.caa_1, this.daa_1).l();
|
|
4205
4205
|
this.s8_1 = 1;
|
|
4206
4206
|
continue $sm;
|
|
4207
4207
|
case 1:
|
|
4208
|
-
if (!this.
|
|
4208
|
+
if (!this.faa_1.m()) {
|
|
4209
4209
|
this.s8_1 = 3;
|
|
4210
4210
|
continue $sm;
|
|
4211
4211
|
}
|
|
4212
4212
|
|
|
4213
|
-
var element = this.
|
|
4213
|
+
var element = this.faa_1.n();
|
|
4214
4214
|
this.s8_1 = 2;
|
|
4215
|
-
suspendResult = this.
|
|
4215
|
+
suspendResult = this.eaa_1.o28(element, this);
|
|
4216
4216
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4217
4217
|
return suspendResult;
|
|
4218
4218
|
}
|
|
@@ -4222,11 +4222,11 @@
|
|
|
4222
4222
|
this.s8_1 = 1;
|
|
4223
4223
|
continue $sm;
|
|
4224
4224
|
case 3:
|
|
4225
|
-
var tmp0 = this.
|
|
4225
|
+
var tmp0 = this.caa_1.laa_1;
|
|
4226
4226
|
l$ret$1: do {
|
|
4227
4227
|
while (true) {
|
|
4228
4228
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
4229
|
-
var upd = cur - this.
|
|
4229
|
+
var upd = cur - this.daa_1.o() | 0;
|
|
4230
4230
|
if (tmp0.atomicfu$compareAndSet(cur, upd)) {
|
|
4231
4231
|
break l$ret$1;
|
|
4232
4232
|
}
|
|
@@ -4248,15 +4248,15 @@
|
|
|
4248
4248
|
}
|
|
4249
4249
|
while (true);
|
|
4250
4250
|
};
|
|
4251
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
4252
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
4253
|
-
i.
|
|
4251
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).haa = function ($this$flow, completion) {
|
|
4252
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.caa_1, this.daa_1, completion);
|
|
4253
|
+
i.eaa_1 = $this$flow;
|
|
4254
4254
|
return i;
|
|
4255
4255
|
};
|
|
4256
4256
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
4257
4257
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
4258
4258
|
var l = function ($this$flow, $completion) {
|
|
4259
|
-
return i.
|
|
4259
|
+
return i.gaa($this$flow, $completion);
|
|
4260
4260
|
};
|
|
4261
4261
|
l.$arity = 1;
|
|
4262
4262
|
return l;
|
|
@@ -4326,29 +4326,29 @@
|
|
|
4326
4326
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
4327
4327
|
}
|
|
4328
4328
|
function mapFromGroupKey($this, _this__u8e3s4) {
|
|
4329
|
-
var tmp = $this.
|
|
4329
|
+
var tmp = $this.kaa_1.h6e();
|
|
4330
4330
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
4331
|
-
var this_0 = _this__u8e3s4.
|
|
4331
|
+
var this_0 = _this__u8e3s4.paa_1;
|
|
4332
4332
|
var tmp_0 = copyToArray(this_0);
|
|
4333
4333
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
4334
|
-
var this_1 = _this__u8e3s4.
|
|
4334
|
+
var this_1 = _this__u8e3s4.qaa_1;
|
|
4335
4335
|
var tmp$ret$1 = copyToArray(this_1);
|
|
4336
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
4336
|
+
return new ActionDeliveryPayload(_this__u8e3s4.oaa_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.raa_1);
|
|
4337
4337
|
}
|
|
4338
4338
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
4339
|
-
this.
|
|
4340
|
-
this.
|
|
4341
|
-
this.
|
|
4342
|
-
this.
|
|
4339
|
+
this.oaa_1 = tableId;
|
|
4340
|
+
this.paa_1 = includePlayers;
|
|
4341
|
+
this.qaa_1 = excludePlayers;
|
|
4342
|
+
this.raa_1 = deliveryType;
|
|
4343
4343
|
}
|
|
4344
4344
|
protoOf(GroupKey).toString = function () {
|
|
4345
|
-
return 'GroupKey(tableId=' + this.
|
|
4345
|
+
return 'GroupKey(tableId=' + this.oaa_1 + ', includePlayers=' + toString(this.paa_1) + ', excludePlayers=' + toString(this.qaa_1) + ', deliveryType=' + this.raa_1.toString() + ')';
|
|
4346
4346
|
};
|
|
4347
4347
|
protoOf(GroupKey).hashCode = function () {
|
|
4348
|
-
var result = getStringHashCode(this.
|
|
4349
|
-
result = imul(result, 31) + hashCode(this.oaa_1) | 0;
|
|
4348
|
+
var result = getStringHashCode(this.oaa_1);
|
|
4350
4349
|
result = imul(result, 31) + hashCode(this.paa_1) | 0;
|
|
4351
|
-
result = imul(result, 31) + this.qaa_1
|
|
4350
|
+
result = imul(result, 31) + hashCode(this.qaa_1) | 0;
|
|
4351
|
+
result = imul(result, 31) + this.raa_1.hashCode() | 0;
|
|
4352
4352
|
return result;
|
|
4353
4353
|
};
|
|
4354
4354
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -4356,35 +4356,35 @@
|
|
|
4356
4356
|
return true;
|
|
4357
4357
|
if (!(other instanceof GroupKey))
|
|
4358
4358
|
return false;
|
|
4359
|
-
if (!(this.
|
|
4360
|
-
return false;
|
|
4361
|
-
if (!equals(this.oaa_1, other.oaa_1))
|
|
4359
|
+
if (!(this.oaa_1 === other.oaa_1))
|
|
4362
4360
|
return false;
|
|
4363
4361
|
if (!equals(this.paa_1, other.paa_1))
|
|
4364
4362
|
return false;
|
|
4365
|
-
if (!this.qaa_1
|
|
4363
|
+
if (!equals(this.qaa_1, other.qaa_1))
|
|
4364
|
+
return false;
|
|
4365
|
+
if (!this.raa_1.equals(other.raa_1))
|
|
4366
4366
|
return false;
|
|
4367
4367
|
return true;
|
|
4368
4368
|
};
|
|
4369
4369
|
function Companion_4() {
|
|
4370
|
-
this.
|
|
4370
|
+
this.saa_1 = 6;
|
|
4371
4371
|
}
|
|
4372
4372
|
var Companion_instance_14;
|
|
4373
4373
|
function Companion_getInstance_5() {
|
|
4374
4374
|
return Companion_instance_14;
|
|
4375
4375
|
}
|
|
4376
4376
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
4377
|
-
this.
|
|
4377
|
+
this.bab_1 = this$0;
|
|
4378
4378
|
CoroutineImpl.call(this, resultContinuation);
|
|
4379
4379
|
}
|
|
4380
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
4381
|
-
var tmp = this.
|
|
4380
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).dab = function (actions, $completion) {
|
|
4381
|
+
var tmp = this.eab(actions, $completion);
|
|
4382
4382
|
tmp.u8_1 = Unit_instance;
|
|
4383
4383
|
tmp.v8_1 = null;
|
|
4384
4384
|
return tmp.a9();
|
|
4385
4385
|
};
|
|
4386
4386
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).i9 = function (p1, $completion) {
|
|
4387
|
-
return this.
|
|
4387
|
+
return this.dab((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
4388
4388
|
};
|
|
4389
4389
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).a9 = function () {
|
|
4390
4390
|
var suspendResult = this.u8_1;
|
|
@@ -4393,7 +4393,7 @@
|
|
|
4393
4393
|
var tmp = this.s8_1;
|
|
4394
4394
|
if (tmp === 0) {
|
|
4395
4395
|
this.t8_1 = 1;
|
|
4396
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
4396
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.bab_1, this.cab_1, null));
|
|
4397
4397
|
} else if (tmp === 1) {
|
|
4398
4398
|
throw this.v8_1;
|
|
4399
4399
|
}
|
|
@@ -4403,23 +4403,23 @@
|
|
|
4403
4403
|
}
|
|
4404
4404
|
while (true);
|
|
4405
4405
|
};
|
|
4406
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
4407
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
4408
|
-
i.
|
|
4406
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).eab = function (actions, completion) {
|
|
4407
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.bab_1, completion);
|
|
4408
|
+
i.cab_1 = actions;
|
|
4409
4409
|
return i;
|
|
4410
4410
|
};
|
|
4411
4411
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
4412
4412
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
4413
4413
|
var l = function (actions, $completion) {
|
|
4414
|
-
return i.
|
|
4414
|
+
return i.dab(actions, $completion);
|
|
4415
4415
|
};
|
|
4416
4416
|
l.$arity = 1;
|
|
4417
4417
|
return l;
|
|
4418
4418
|
}
|
|
4419
4419
|
function $sentEventCOROUTINE$(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
4420
4420
|
CoroutineImpl.call(this, resultContinuation);
|
|
4421
|
-
this.
|
|
4422
|
-
this.
|
|
4421
|
+
this.nab_1 = _this__u8e3s4;
|
|
4422
|
+
this.oab_1 = fromEvent;
|
|
4423
4423
|
}
|
|
4424
4424
|
protoOf($sentEventCOROUTINE$).a9 = function () {
|
|
4425
4425
|
var suspendResult = this.u8_1;
|
|
@@ -4429,8 +4429,8 @@
|
|
|
4429
4429
|
switch (tmp) {
|
|
4430
4430
|
case 0:
|
|
4431
4431
|
this.t8_1 = 2;
|
|
4432
|
-
this.
|
|
4433
|
-
var tmp0 = this.
|
|
4432
|
+
this.nab_1.maa_1;
|
|
4433
|
+
var tmp0 = this.nab_1.laa_1;
|
|
4434
4434
|
l$ret$1: do {
|
|
4435
4435
|
while (true) {
|
|
4436
4436
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
@@ -4442,7 +4442,7 @@
|
|
|
4442
4442
|
}
|
|
4443
4443
|
while (false);
|
|
4444
4444
|
this.s8_1 = 1;
|
|
4445
|
-
suspendResult = this.
|
|
4445
|
+
suspendResult = this.nab_1.naa_1.o28(this.oab_1, this);
|
|
4446
4446
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4447
4447
|
return suspendResult;
|
|
4448
4448
|
}
|
|
@@ -4466,7 +4466,7 @@
|
|
|
4466
4466
|
};
|
|
4467
4467
|
function $waitForCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
4468
4468
|
CoroutineImpl.call(this, resultContinuation);
|
|
4469
|
-
this.
|
|
4469
|
+
this.xab_1 = _this__u8e3s4;
|
|
4470
4470
|
}
|
|
4471
4471
|
protoOf($waitForCOROUTINE$).a9 = function () {
|
|
4472
4472
|
var suspendResult = this.u8_1;
|
|
@@ -4476,12 +4476,12 @@
|
|
|
4476
4476
|
switch (tmp) {
|
|
4477
4477
|
case 0:
|
|
4478
4478
|
this.t8_1 = 5;
|
|
4479
|
-
this.
|
|
4480
|
-
this.
|
|
4479
|
+
this.xab_1.maa_1;
|
|
4480
|
+
this.yab_1 = 0;
|
|
4481
4481
|
this.s8_1 = 1;
|
|
4482
4482
|
continue $sm;
|
|
4483
4483
|
case 1:
|
|
4484
|
-
if (!!(this.
|
|
4484
|
+
if (!!(this.xab_1.laa_1.kotlinx$atomicfu$value === 0)) {
|
|
4485
4485
|
this.s8_1 = 4;
|
|
4486
4486
|
continue $sm;
|
|
4487
4487
|
}
|
|
@@ -4494,9 +4494,9 @@
|
|
|
4494
4494
|
|
|
4495
4495
|
continue $sm;
|
|
4496
4496
|
case 2:
|
|
4497
|
-
this.
|
|
4498
|
-
if (this.
|
|
4499
|
-
this.
|
|
4497
|
+
this.yab_1 = this.yab_1 + 1 | 0;
|
|
4498
|
+
if (this.yab_1 > 6) {
|
|
4499
|
+
this.xab_1.jaa_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.xab_1.laa_1.kotlinx$atomicfu$value);
|
|
4500
4500
|
this.s8_1 = 4;
|
|
4501
4501
|
continue $sm;
|
|
4502
4502
|
} else {
|
|
@@ -4524,54 +4524,54 @@
|
|
|
4524
4524
|
while (true);
|
|
4525
4525
|
};
|
|
4526
4526
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
4527
|
-
this.
|
|
4528
|
-
this.
|
|
4529
|
-
this.
|
|
4530
|
-
this.
|
|
4527
|
+
this.iaa_1 = serverReduxConfig;
|
|
4528
|
+
this.jaa_1 = logger;
|
|
4529
|
+
this.kaa_1 = idsProvider;
|
|
4530
|
+
this.laa_1 = atomic$ref$1(0);
|
|
4531
4531
|
var tmp = this;
|
|
4532
4532
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
4533
|
-
tmp.
|
|
4534
|
-
this.
|
|
4533
|
+
tmp.maa_1 = get_atomicfu$reentrantLock();
|
|
4534
|
+
this.naa_1 = MutableSharedFlow();
|
|
4535
4535
|
}
|
|
4536
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4536
|
+
protoOf(ToClientEventsObserverImpl).ta9 = function (fromEvent, $completion) {
|
|
4537
4537
|
var tmp = new $sentEventCOROUTINE$(this, fromEvent, $completion);
|
|
4538
4538
|
tmp.u8_1 = Unit_instance;
|
|
4539
4539
|
tmp.v8_1 = null;
|
|
4540
4540
|
return tmp.a9();
|
|
4541
4541
|
};
|
|
4542
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4542
|
+
protoOf(ToClientEventsObserverImpl).e9i = function ($completion) {
|
|
4543
4543
|
var tmp = new $waitForCOROUTINE$(this, $completion);
|
|
4544
4544
|
tmp.u8_1 = Unit_instance;
|
|
4545
4545
|
tmp.v8_1 = null;
|
|
4546
4546
|
return tmp.a9();
|
|
4547
4547
|
};
|
|
4548
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4549
|
-
if (!this.
|
|
4550
|
-
return this.
|
|
4548
|
+
protoOf(ToClientEventsObserverImpl).k9z = function () {
|
|
4549
|
+
if (!this.iaa_1.enabledCombinedEvents) {
|
|
4550
|
+
return this.naa_1;
|
|
4551
4551
|
}
|
|
4552
|
-
var tmp = windowedByInterval(this.
|
|
4552
|
+
var tmp = windowedByInterval(this.naa_1, fromInt(this.iaa_1.combinedEventsIntervalMillis));
|
|
4553
4553
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
4554
4554
|
};
|
|
4555
4555
|
function PlayerConnectionInteractor() {
|
|
4556
4556
|
}
|
|
4557
4557
|
function waitPlayerOrDisconnect($this, newConnectionState, previousConnectionState, table, player, waitForPlayer) {
|
|
4558
|
-
if (waitForPlayer && $this.
|
|
4558
|
+
if (waitForPlayer && $this.cac_1.waitForPlayerToReconnect) {
|
|
4559
4559
|
Companion_getInstance();
|
|
4560
4560
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
4561
|
-
var this_0 = $this.
|
|
4561
|
+
var this_0 = $this.cac_1.reconnectionCheckDurationMillis;
|
|
4562
4562
|
var reconnectionCheckDurationMillis = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
4563
4563
|
var noRecentReconnects = Duration__compareTo_impl_pchp0f(table.gameDuration, reconnectionCheckDurationMillis) < 0 || player.o6v_1.d69().x67(reconnectionCheckDurationMillis);
|
|
4564
4564
|
if (noRecentReconnects) {
|
|
4565
|
-
return $this.
|
|
4565
|
+
return $this.aac(player.playerId, newConnectionState, previousConnectionState);
|
|
4566
4566
|
}
|
|
4567
4567
|
}
|
|
4568
|
-
var canRemoveGameWhenNoPlayers = Companion_instance_2.m6v($this.
|
|
4568
|
+
var canRemoveGameWhenNoPlayers = Companion_instance_2.m6v($this.cac_1.finishGameWhenNotLiveStrategy, player.playerId, table.players);
|
|
4569
4569
|
if (canRemoveGameWhenNoPlayers) {
|
|
4570
|
-
return listOf($this.
|
|
4570
|
+
return listOf($this.gac_1.e8y(mapToFinishReason(newConnectionState, player, table.playersConnections), table, 'Disconnect: No Players to continue game'));
|
|
4571
4571
|
}
|
|
4572
|
-
if (table.sceneInfo.
|
|
4573
|
-
if (!$this.
|
|
4574
|
-
return listOf($this.
|
|
4572
|
+
if (table.sceneInfo.m7g()) {
|
|
4573
|
+
if (!$this.dac_1.openRoomIfFinished) {
|
|
4574
|
+
return listOf($this.gac_1.e8y(mapToFinishReason(newConnectionState, player, table.playersConnections), table, 'Disconnect: Game is finished'));
|
|
4575
4575
|
}
|
|
4576
4576
|
// Inline function 'kotlin.collections.filter' call
|
|
4577
4577
|
var tmp0 = table.players;
|
|
@@ -4646,27 +4646,27 @@
|
|
|
4646
4646
|
}
|
|
4647
4647
|
var readyLivePlayers = destination_3;
|
|
4648
4648
|
var usersToJoinRoomSize = table.players.o() - notAlivePlayers.o() | 0;
|
|
4649
|
-
if ($this.
|
|
4650
|
-
return listOf($this.
|
|
4649
|
+
if ($this.dac_1.minPlayersToOpenRoom >= usersToJoinRoomSize) {
|
|
4650
|
+
return listOf($this.gac_1.e8y(mapToFinishReason(newConnectionState, player, table.playersConnections), table, 'Disconnect: Not enough users to create room'));
|
|
4651
4651
|
}
|
|
4652
4652
|
var allPlayersMadeDecision = (readyLivePlayers.o() + notAlivePlayers.o() | 0) === table.players.o();
|
|
4653
4653
|
if (allPlayersMadeDecision) {
|
|
4654
|
-
var tmp0_$this = $this.
|
|
4654
|
+
var tmp0_$this = $this.gac_1;
|
|
4655
4655
|
var tmp1_reason = mapToFinishReason(newConnectionState, player, table.playersConnections);
|
|
4656
|
-
return listOf(tmp0_$this.
|
|
4656
|
+
return listOf(tmp0_$this.d8y(tmp1_reason, table, 'Disconnect: Game is finished, transition to room', readyLivePlayers));
|
|
4657
4657
|
}
|
|
4658
4658
|
}
|
|
4659
|
-
if (!$this.
|
|
4660
|
-
return listOf($this.
|
|
4659
|
+
if (!$this.cac_1.botReplacesPlayerAfterTimeout) {
|
|
4660
|
+
return listOf($this.gac_1.e8y(mapToFinishReason(newConnectionState, player, table.playersConnections), table, "Disconnect: Can't continue game without bots"));
|
|
4661
4661
|
}
|
|
4662
4662
|
return getPlayerDisconnectedActions($this, newConnectionState, previousConnectionState, player);
|
|
4663
4663
|
}
|
|
4664
4664
|
function getPlayerConnectedActions($this, player, table, previousConnectionState) {
|
|
4665
4665
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
4666
4666
|
var actionsList = ArrayList_init_$Create$_0();
|
|
4667
|
-
actionsList.q(listOf_0([new PlayerConnectionChangedMechanicAction(player.playerId, PlayerConnectionState_LIVE_getInstance(), previousConnectionState), $this.
|
|
4667
|
+
actionsList.q(listOf_0([new PlayerConnectionChangedMechanicAction(player.playerId, PlayerConnectionState_LIVE_getInstance(), previousConnectionState), $this.aa7(player, table)]));
|
|
4668
4668
|
if (player.o6v_1.m67()) {
|
|
4669
|
-
actionsList.q(listOf_0([new StopTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.o6v_1.t68())), new StartTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.o6v_1.t68(), true), _Duration___get_inWholeMilliseconds__impl__msfiry($this.
|
|
4669
|
+
actionsList.q(listOf_0([new StopTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.o6v_1.t68())), new StartTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.o6v_1.t68(), true), _Duration___get_inWholeMilliseconds__impl__msfiry($this.eac_1.h9m(table.config)), VOID, TimerType_DELAY_getInstance())]));
|
|
4670
4670
|
}
|
|
4671
4671
|
return actionsList;
|
|
4672
4672
|
}
|
|
@@ -4680,13 +4680,13 @@
|
|
|
4680
4680
|
return actionsList;
|
|
4681
4681
|
}
|
|
4682
4682
|
function PlayerConnectionInteractorImpl(serverConfig, engineLogicConfig, playerTurnMechanicReducer, idsProvider, gameLifecycleInteractor) {
|
|
4683
|
-
this.
|
|
4684
|
-
this.
|
|
4685
|
-
this.
|
|
4686
|
-
this.
|
|
4687
|
-
this.
|
|
4683
|
+
this.cac_1 = serverConfig;
|
|
4684
|
+
this.dac_1 = engineLogicConfig;
|
|
4685
|
+
this.eac_1 = playerTurnMechanicReducer;
|
|
4686
|
+
this.fac_1 = idsProvider;
|
|
4687
|
+
this.gac_1 = gameLifecycleInteractor;
|
|
4688
4688
|
}
|
|
4689
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4689
|
+
protoOf(PlayerConnectionInteractorImpl).zab = function (newConnectionState, previousConnectionState, player, table, afterReconnection) {
|
|
4690
4690
|
var tmp;
|
|
4691
4691
|
switch (newConnectionState.q2_1) {
|
|
4692
4692
|
case 1:
|
|
@@ -4694,7 +4694,7 @@
|
|
|
4694
4694
|
break;
|
|
4695
4695
|
case 4:
|
|
4696
4696
|
case 5:
|
|
4697
|
-
var tmp1_waitForPlayer = !afterReconnection && !table.sceneInfo.
|
|
4697
|
+
var tmp1_waitForPlayer = !afterReconnection && !table.sceneInfo.m7g() && table.config.isPrivate;
|
|
4698
4698
|
tmp = waitPlayerOrDisconnect(this, newConnectionState, previousConnectionState, table, player, tmp1_waitForPlayer);
|
|
4699
4699
|
break;
|
|
4700
4700
|
case 2:
|
|
@@ -4717,18 +4717,18 @@
|
|
|
4717
4717
|
}
|
|
4718
4718
|
return tmp;
|
|
4719
4719
|
};
|
|
4720
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4720
|
+
protoOf(PlayerConnectionInteractorImpl).ca9 = function (sendToPlayerId, isLive, tableId, reason, isGameFinished) {
|
|
4721
4721
|
if (!isLive) {
|
|
4722
4722
|
return emptyList();
|
|
4723
4723
|
}
|
|
4724
|
-
var tmp0_deliveryPayload = Companion_instance_1.user(this.
|
|
4724
|
+
var tmp0_deliveryPayload = Companion_instance_1.user(this.fac_1.h6e(), tableId, sendToPlayerId);
|
|
4725
4725
|
var tmp = new FinishingGameToClientAction(reason, isGameFinished, null, tmp0_deliveryPayload);
|
|
4726
|
-
var tmp1_deliveryPayload = Companion_instance_1.user(this.
|
|
4726
|
+
var tmp1_deliveryPayload = Companion_instance_1.user(this.fac_1.h6e(), tableId, sendToPlayerId);
|
|
4727
4727
|
return listOf_0([tmp, new FinishGameToClientAction(reason, isGameFinished, null, tmp1_deliveryPayload)]);
|
|
4728
4728
|
};
|
|
4729
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4730
|
-
var updatedTable = this.
|
|
4731
|
-
var aid = this.
|
|
4729
|
+
protoOf(PlayerConnectionInteractorImpl).aa7 = function (sendToPlayer, table) {
|
|
4730
|
+
var updatedTable = this.eac_1.i9k(table, sendToPlayer.playerId, PlayerConnectionState_LIVE_getInstance(), null);
|
|
4731
|
+
var aid = this.fac_1.h6e();
|
|
4732
4732
|
var tmp4_deliveryPayload = Companion_instance_1.userFromTable(aid, updatedTable, sendToPlayer.playerId);
|
|
4733
4733
|
var tmp0_playerId = sendToPlayer.playerId;
|
|
4734
4734
|
var tmp1_gameCreatorPlayerId = getGameCreator(updatedTable.players).playerId;
|
|
@@ -4747,24 +4747,24 @@
|
|
|
4747
4747
|
var tmp6_reason = new PlayerReturnsReason(sendToPlayer.playerId);
|
|
4748
4748
|
return new ContinueGameToClientAction(tmp5_table, tmp6_reason, null, tmp4_deliveryPayload);
|
|
4749
4749
|
};
|
|
4750
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4750
|
+
protoOf(PlayerConnectionInteractorImpl).aac = function (playerId, newConnectionState, previousConnectionState) {
|
|
4751
4751
|
var tmp = System_instance.dk();
|
|
4752
4752
|
Companion_getInstance();
|
|
4753
4753
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
4754
|
-
var this_0 = this.
|
|
4754
|
+
var this_0 = this.cac_1.waitForPlayerToReconnectTimeOutMillis;
|
|
4755
4755
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
4756
4756
|
var reconnectUntilTime = tmp.sk(tmp$ret$0);
|
|
4757
4757
|
var tmp0_state = PlayerConnectionState_DISCONNECTING_getInstance();
|
|
4758
4758
|
var tmp1_reconnectUntilTime = reconnectUntilTime.toString();
|
|
4759
|
-
return listOf_0([new PlayerConnectionChangedMechanicAction(playerId, tmp0_state, previousConnectionState, newConnectionState, false, tmp1_reconnectUntilTime), new StartTimerAction(new PlayerReconnectionWaitingTimerTag(playerId, newConnectionState, previousConnectionState), fromInt(this.
|
|
4759
|
+
return listOf_0([new PlayerConnectionChangedMechanicAction(playerId, tmp0_state, previousConnectionState, newConnectionState, false, tmp1_reconnectUntilTime), new StartTimerAction(new PlayerReconnectionWaitingTimerTag(playerId, newConnectionState, previousConnectionState), fromInt(this.cac_1.waitForPlayerToReconnectTimeOutMillis), VOID, TimerType_DELAY_getInstance())]);
|
|
4760
4760
|
};
|
|
4761
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4761
|
+
protoOf(PlayerConnectionInteractorImpl).bac = function (isBot, playerId, connectedPlayers) {
|
|
4762
4762
|
var tmp;
|
|
4763
4763
|
if (isBot) {
|
|
4764
4764
|
tmp = Companion_instance_3.s67(PlayerConnectionState_LEFT_PERMANENTLY_getInstance());
|
|
4765
4765
|
} else {
|
|
4766
4766
|
var tmp_0;
|
|
4767
|
-
if (this.
|
|
4767
|
+
if (this.cac_1.waitForPlayerToConnectOnStart) {
|
|
4768
4768
|
var tmp_1;
|
|
4769
4769
|
if (connectedPlayers.u1(playerId)) {
|
|
4770
4770
|
tmp_1 = Companion_instance_3.s67(PlayerConnectionState_LIVE_getInstance());
|
|
@@ -4780,154 +4780,154 @@
|
|
|
4780
4780
|
return tmp;
|
|
4781
4781
|
};
|
|
4782
4782
|
function UpdateServerConfigAction(serverConfig) {
|
|
4783
|
-
this.
|
|
4783
|
+
this.hac_1 = serverConfig;
|
|
4784
4784
|
}
|
|
4785
4785
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
4786
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
4786
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.hac_1.toString() + ')';
|
|
4787
4787
|
};
|
|
4788
4788
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
4789
|
-
return this.
|
|
4789
|
+
return this.hac_1.hashCode();
|
|
4790
4790
|
};
|
|
4791
4791
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
4792
4792
|
if (this === other)
|
|
4793
4793
|
return true;
|
|
4794
4794
|
if (!(other instanceof UpdateServerConfigAction))
|
|
4795
4795
|
return false;
|
|
4796
|
-
if (!this.
|
|
4796
|
+
if (!this.hac_1.equals(other.hac_1))
|
|
4797
4797
|
return false;
|
|
4798
4798
|
return true;
|
|
4799
4799
|
};
|
|
4800
4800
|
function SpectatorsAction() {
|
|
4801
4801
|
}
|
|
4802
4802
|
function AddSpectatorsAction(spectators) {
|
|
4803
|
-
this.
|
|
4803
|
+
this.iac_1 = spectators;
|
|
4804
4804
|
}
|
|
4805
4805
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
4806
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
4806
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.iac_1) + ')';
|
|
4807
4807
|
};
|
|
4808
4808
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
4809
|
-
return hashCode(this.
|
|
4809
|
+
return hashCode(this.iac_1);
|
|
4810
4810
|
};
|
|
4811
4811
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
4812
4812
|
if (this === other)
|
|
4813
4813
|
return true;
|
|
4814
4814
|
if (!(other instanceof AddSpectatorsAction))
|
|
4815
4815
|
return false;
|
|
4816
|
-
if (!equals(this.
|
|
4816
|
+
if (!equals(this.iac_1, other.iac_1))
|
|
4817
4817
|
return false;
|
|
4818
4818
|
return true;
|
|
4819
4819
|
};
|
|
4820
4820
|
function RemoveSpectatorsAction(spectators) {
|
|
4821
|
-
this.
|
|
4821
|
+
this.jac_1 = spectators;
|
|
4822
4822
|
}
|
|
4823
4823
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
4824
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
4824
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.jac_1) + ')';
|
|
4825
4825
|
};
|
|
4826
4826
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
4827
|
-
return hashCode(this.
|
|
4827
|
+
return hashCode(this.jac_1);
|
|
4828
4828
|
};
|
|
4829
4829
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
4830
4830
|
if (this === other)
|
|
4831
4831
|
return true;
|
|
4832
4832
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
4833
4833
|
return false;
|
|
4834
|
-
if (!equals(this.
|
|
4834
|
+
if (!equals(this.jac_1, other.jac_1))
|
|
4835
4835
|
return false;
|
|
4836
4836
|
return true;
|
|
4837
4837
|
};
|
|
4838
4838
|
function _get_asyncProvider__jbpyhw($this) {
|
|
4839
|
-
var tmp0 = $this.
|
|
4839
|
+
var tmp0 = $this.pac_1;
|
|
4840
4840
|
var tmp = KProperty1;
|
|
4841
4841
|
// Inline function 'kotlin.getValue' call
|
|
4842
4842
|
getPropertyCallableRef('asyncProvider', 1, tmp, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3_0(), null);
|
|
4843
4843
|
return tmp0.x();
|
|
4844
4844
|
}
|
|
4845
4845
|
function _get_logger__rkp4sl($this) {
|
|
4846
|
-
var tmp0 = $this.
|
|
4846
|
+
var tmp0 = $this.qac_1;
|
|
4847
4847
|
var tmp = KProperty1;
|
|
4848
4848
|
// Inline function 'kotlin.getValue' call
|
|
4849
4849
|
getPropertyCallableRef('logger', 1, tmp, ServerGameStoreContract$_get_logger_$ref_zbgw28_0(), null);
|
|
4850
4850
|
return tmp0.x();
|
|
4851
4851
|
}
|
|
4852
4852
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
4853
|
-
var tmp0 = $this.
|
|
4853
|
+
var tmp0 = $this.rac_1;
|
|
4854
4854
|
var tmp = KProperty1;
|
|
4855
4855
|
// Inline function 'kotlin.getValue' call
|
|
4856
4856
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8_0(), null);
|
|
4857
4857
|
return tmp0.x();
|
|
4858
4858
|
}
|
|
4859
4859
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
4860
|
-
var tmp0 = $this.
|
|
4860
|
+
var tmp0 = $this.sac_1;
|
|
4861
4861
|
var tmp = KProperty1;
|
|
4862
4862
|
// Inline function 'kotlin.getValue' call
|
|
4863
4863
|
getPropertyCallableRef('lastCardInteractor', 1, tmp, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh_0(), null);
|
|
4864
4864
|
return tmp0.x();
|
|
4865
4865
|
}
|
|
4866
4866
|
function _get_serverConfig__rk2g06($this) {
|
|
4867
|
-
var tmp0 = $this.
|
|
4867
|
+
var tmp0 = $this.tac_1;
|
|
4868
4868
|
var tmp = KProperty1;
|
|
4869
4869
|
// Inline function 'kotlin.getValue' call
|
|
4870
4870
|
getPropertyCallableRef('serverConfig', 1, tmp, ServerGameStoreContract$_get_serverConfig_$ref_bz2891_0(), null);
|
|
4871
4871
|
return tmp0.x();
|
|
4872
4872
|
}
|
|
4873
4873
|
function _get_logicConfig__52ww9d($this) {
|
|
4874
|
-
var tmp0 = $this.
|
|
4874
|
+
var tmp0 = $this.uac_1;
|
|
4875
4875
|
var tmp = KProperty1;
|
|
4876
4876
|
// Inline function 'kotlin.getValue' call
|
|
4877
4877
|
getPropertyCallableRef('logicConfig', 1, tmp, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi_0(), null);
|
|
4878
4878
|
return tmp0.x();
|
|
4879
4879
|
}
|
|
4880
4880
|
function _get_idsProvider__fnfajc_0($this) {
|
|
4881
|
-
var tmp0 = $this.
|
|
4881
|
+
var tmp0 = $this.vac_1;
|
|
4882
4882
|
var tmp = KProperty1;
|
|
4883
4883
|
// Inline function 'kotlin.getValue' call
|
|
4884
4884
|
getPropertyCallableRef('idsProvider', 1, tmp, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1_0(), null);
|
|
4885
4885
|
return tmp0.x();
|
|
4886
4886
|
}
|
|
4887
4887
|
function _get_botConfig__cpaxzc($this) {
|
|
4888
|
-
var tmp0 = $this.
|
|
4888
|
+
var tmp0 = $this.wac_1;
|
|
4889
4889
|
var tmp = KProperty1;
|
|
4890
4890
|
// Inline function 'kotlin.getValue' call
|
|
4891
4891
|
getPropertyCallableRef('botConfig', 1, tmp, ServerGameStoreContract$_get_botConfig_$ref_nebw1d_0(), null);
|
|
4892
4892
|
return tmp0.x();
|
|
4893
4893
|
}
|
|
4894
4894
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
4895
|
-
var tmp0 = $this.
|
|
4895
|
+
var tmp0 = $this.xac_1;
|
|
4896
4896
|
var tmp = KProperty1;
|
|
4897
4897
|
// Inline function 'kotlin.getValue' call
|
|
4898
4898
|
getPropertyCallableRef('scenePositionProvider', 1, tmp, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4_0(), null);
|
|
4899
4899
|
return tmp0.x();
|
|
4900
4900
|
}
|
|
4901
4901
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
4902
|
-
var tmp0 = $this.
|
|
4902
|
+
var tmp0 = $this.yac_1;
|
|
4903
4903
|
var tmp = KProperty1;
|
|
4904
4904
|
// Inline function 'kotlin.getValue' call
|
|
4905
4905
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p_0(), null);
|
|
4906
4906
|
return tmp0.x();
|
|
4907
4907
|
}
|
|
4908
4908
|
function _get_fromClientEventsObserver__a7vzd3_0($this) {
|
|
4909
|
-
var tmp0 = $this.
|
|
4909
|
+
var tmp0 = $this.zac_1;
|
|
4910
4910
|
var tmp = KProperty1;
|
|
4911
4911
|
// Inline function 'kotlin.getValue' call
|
|
4912
4912
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg_0(), null);
|
|
4913
4913
|
return tmp0.x();
|
|
4914
4914
|
}
|
|
4915
4915
|
function _get_dealerConfig__183ci8($this) {
|
|
4916
|
-
var tmp0 = $this.
|
|
4916
|
+
var tmp0 = $this.aad_1;
|
|
4917
4917
|
var tmp = KProperty1;
|
|
4918
4918
|
// Inline function 'kotlin.getValue' call
|
|
4919
4919
|
getPropertyCallableRef('dealerConfig', 1, tmp, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp_0(), null);
|
|
4920
4920
|
return tmp0.x();
|
|
4921
4921
|
}
|
|
4922
4922
|
function _get_poolProvider__tqti6a($this) {
|
|
4923
|
-
var tmp0 = $this.
|
|
4923
|
+
var tmp0 = $this.bad_1;
|
|
4924
4924
|
var tmp = KProperty1;
|
|
4925
4925
|
// Inline function 'kotlin.getValue' call
|
|
4926
4926
|
getPropertyCallableRef('poolProvider', 1, tmp, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3_0(), null);
|
|
4927
4927
|
return tmp0.x();
|
|
4928
4928
|
}
|
|
4929
4929
|
function _get_cardsDealerProvider__bekjpg($this) {
|
|
4930
|
-
var tmp0 = $this.
|
|
4930
|
+
var tmp0 = $this.cad_1;
|
|
4931
4931
|
var tmp = KProperty1;
|
|
4932
4932
|
// Inline function 'kotlin.getValue' call
|
|
4933
4933
|
getPropertyCallableRef('cardsDealerProvider', 1, tmp, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj_0(), null);
|
|
@@ -5091,11 +5091,11 @@
|
|
|
5091
5091
|
tmp = fileLoggerStoreContract;
|
|
5092
5092
|
}
|
|
5093
5093
|
fileLoggerStoreContract = tmp;
|
|
5094
|
-
this.
|
|
5095
|
-
this.
|
|
5096
|
-
this.
|
|
5097
|
-
this.
|
|
5098
|
-
this.
|
|
5094
|
+
this.kac_1 = validationStoreContract;
|
|
5095
|
+
this.lac_1 = timersStoreContract;
|
|
5096
|
+
this.mac_1 = botGameStoreContract;
|
|
5097
|
+
this.nac_1 = gameMechanicStoreContract;
|
|
5098
|
+
this.oac_1 = fileLoggerStoreContract;
|
|
5099
5099
|
var tmp_0 = this;
|
|
5100
5100
|
// Inline function 'org.kodein.di.instance' call
|
|
5101
5101
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5103,7 +5103,7 @@
|
|
|
5103
5103
|
var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
|
|
5104
5104
|
var tmp_2 = Instance(di, tmp$ret$0, null);
|
|
5105
5105
|
var tmp_3 = KProperty1;
|
|
5106
|
-
tmp_0.
|
|
5106
|
+
tmp_0.pac_1 = tmp_2.a65(this, getPropertyCallableRef('asyncProvider', 1, tmp_3, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3(), null));
|
|
5107
5107
|
var tmp_4 = this;
|
|
5108
5108
|
// Inline function 'org.kodein.di.instance' call
|
|
5109
5109
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5111,7 +5111,7 @@
|
|
|
5111
5111
|
var tmp$ret$2 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
5112
5112
|
var tmp_6 = Instance(di, tmp$ret$2, null);
|
|
5113
5113
|
var tmp_7 = KProperty1;
|
|
5114
|
-
tmp_4.
|
|
5114
|
+
tmp_4.qac_1 = tmp_6.a65(this, getPropertyCallableRef('logger', 1, tmp_7, ServerGameStoreContract$_get_logger_$ref_zbgw28(), null));
|
|
5115
5115
|
var tmp_8 = this;
|
|
5116
5116
|
// Inline function 'org.kodein.di.instance' call
|
|
5117
5117
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5119,7 +5119,7 @@
|
|
|
5119
5119
|
var tmp$ret$4 = isInterface(tmp_9, TypeToken) ? tmp_9 : THROW_CCE();
|
|
5120
5120
|
var tmp_10 = Instance(di, tmp$ret$4, null);
|
|
5121
5121
|
var tmp_11 = KProperty1;
|
|
5122
|
-
tmp_8.
|
|
5122
|
+
tmp_8.rac_1 = tmp_10.a65(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_11, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8(), null));
|
|
5123
5123
|
var tmp_12 = this;
|
|
5124
5124
|
// Inline function 'org.kodein.di.instance' call
|
|
5125
5125
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5127,7 +5127,7 @@
|
|
|
5127
5127
|
var tmp$ret$6 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
5128
5128
|
var tmp_14 = Instance(di, tmp$ret$6, null);
|
|
5129
5129
|
var tmp_15 = KProperty1;
|
|
5130
|
-
tmp_12.
|
|
5130
|
+
tmp_12.sac_1 = tmp_14.a65(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_15, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh(), null));
|
|
5131
5131
|
var tmp_16 = this;
|
|
5132
5132
|
// Inline function 'org.kodein.di.instance' call
|
|
5133
5133
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5135,7 +5135,7 @@
|
|
|
5135
5135
|
var tmp$ret$8 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
5136
5136
|
var tmp_18 = Instance(di, tmp$ret$8, null);
|
|
5137
5137
|
var tmp_19 = KProperty1;
|
|
5138
|
-
tmp_16.
|
|
5138
|
+
tmp_16.tac_1 = tmp_18.a65(this, getPropertyCallableRef('serverConfig', 1, tmp_19, ServerGameStoreContract$_get_serverConfig_$ref_bz2891(), null));
|
|
5139
5139
|
var tmp_20 = this;
|
|
5140
5140
|
// Inline function 'org.kodein.di.instance' call
|
|
5141
5141
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5143,7 +5143,7 @@
|
|
|
5143
5143
|
var tmp$ret$10 = isInterface(tmp_21, TypeToken) ? tmp_21 : THROW_CCE();
|
|
5144
5144
|
var tmp_22 = Instance(di, tmp$ret$10, null);
|
|
5145
5145
|
var tmp_23 = KProperty1;
|
|
5146
|
-
tmp_20.
|
|
5146
|
+
tmp_20.uac_1 = tmp_22.a65(this, getPropertyCallableRef('logicConfig', 1, tmp_23, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi(), null));
|
|
5147
5147
|
var tmp_24 = this;
|
|
5148
5148
|
// Inline function 'org.kodein.di.instance' call
|
|
5149
5149
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5151,7 +5151,7 @@
|
|
|
5151
5151
|
var tmp$ret$12 = isInterface(tmp_25, TypeToken) ? tmp_25 : THROW_CCE();
|
|
5152
5152
|
var tmp_26 = Instance(di, tmp$ret$12, null);
|
|
5153
5153
|
var tmp_27 = KProperty1;
|
|
5154
|
-
tmp_24.
|
|
5154
|
+
tmp_24.vac_1 = tmp_26.a65(this, getPropertyCallableRef('idsProvider', 1, tmp_27, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1(), null));
|
|
5155
5155
|
var tmp_28 = this;
|
|
5156
5156
|
// Inline function 'org.kodein.di.instance' call
|
|
5157
5157
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5159,7 +5159,7 @@
|
|
|
5159
5159
|
var tmp$ret$14 = isInterface(tmp_29, TypeToken) ? tmp_29 : THROW_CCE();
|
|
5160
5160
|
var tmp_30 = Instance(di, tmp$ret$14, null);
|
|
5161
5161
|
var tmp_31 = KProperty1;
|
|
5162
|
-
tmp_28.
|
|
5162
|
+
tmp_28.wac_1 = tmp_30.a65(this, getPropertyCallableRef('botConfig', 1, tmp_31, ServerGameStoreContract$_get_botConfig_$ref_nebw1d(), null));
|
|
5163
5163
|
var tmp_32 = this;
|
|
5164
5164
|
// Inline function 'org.kodein.di.instance' call
|
|
5165
5165
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5167,7 +5167,7 @@
|
|
|
5167
5167
|
var tmp$ret$16 = isInterface(tmp_33, TypeToken) ? tmp_33 : THROW_CCE();
|
|
5168
5168
|
var tmp_34 = Instance(di, tmp$ret$16, null);
|
|
5169
5169
|
var tmp_35 = KProperty1;
|
|
5170
|
-
tmp_32.
|
|
5170
|
+
tmp_32.xac_1 = tmp_34.a65(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_35, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4(), null));
|
|
5171
5171
|
var tmp_36 = this;
|
|
5172
5172
|
// Inline function 'org.kodein.di.instance' call
|
|
5173
5173
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5175,7 +5175,7 @@
|
|
|
5175
5175
|
var tmp$ret$18 = isInterface(tmp_37, TypeToken) ? tmp_37 : THROW_CCE();
|
|
5176
5176
|
var tmp_38 = Instance(di, tmp$ret$18, null);
|
|
5177
5177
|
var tmp_39 = KProperty1;
|
|
5178
|
-
tmp_36.
|
|
5178
|
+
tmp_36.yac_1 = tmp_38.a65(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_39, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p(), null));
|
|
5179
5179
|
var tmp_40 = this;
|
|
5180
5180
|
// Inline function 'org.kodein.di.instance' call
|
|
5181
5181
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5183,7 +5183,7 @@
|
|
|
5183
5183
|
var tmp$ret$20 = isInterface(tmp_41, TypeToken) ? tmp_41 : THROW_CCE();
|
|
5184
5184
|
var tmp_42 = Instance(di, tmp$ret$20, null);
|
|
5185
5185
|
var tmp_43 = KProperty1;
|
|
5186
|
-
tmp_40.
|
|
5186
|
+
tmp_40.zac_1 = tmp_42.a65(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_43, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg(), null));
|
|
5187
5187
|
var tmp_44 = this;
|
|
5188
5188
|
// Inline function 'org.kodein.di.instance' call
|
|
5189
5189
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5191,7 +5191,7 @@
|
|
|
5191
5191
|
var tmp$ret$22 = isInterface(tmp_45, TypeToken) ? tmp_45 : THROW_CCE();
|
|
5192
5192
|
var tmp_46 = Instance(di, tmp$ret$22, null);
|
|
5193
5193
|
var tmp_47 = KProperty1;
|
|
5194
|
-
tmp_44.
|
|
5194
|
+
tmp_44.aad_1 = tmp_46.a65(this, getPropertyCallableRef('dealerConfig', 1, tmp_47, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp(), null));
|
|
5195
5195
|
var tmp_48 = this;
|
|
5196
5196
|
// Inline function 'org.kodein.di.instance' call
|
|
5197
5197
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5199,7 +5199,7 @@
|
|
|
5199
5199
|
var tmp$ret$24 = isInterface(tmp_49, TypeToken) ? tmp_49 : THROW_CCE();
|
|
5200
5200
|
var tmp_50 = Instance(di, tmp$ret$24, null);
|
|
5201
5201
|
var tmp_51 = KProperty1;
|
|
5202
|
-
tmp_48.
|
|
5202
|
+
tmp_48.bad_1 = tmp_50.a65(this, getPropertyCallableRef('poolProvider', 1, tmp_51, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3(), null));
|
|
5203
5203
|
var tmp_52 = this;
|
|
5204
5204
|
// Inline function 'org.kodein.di.instance' call
|
|
5205
5205
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5207,20 +5207,20 @@
|
|
|
5207
5207
|
var tmp$ret$26 = isInterface(tmp_53, TypeToken) ? tmp_53 : THROW_CCE();
|
|
5208
5208
|
var tmp_54 = Instance(di, tmp$ret$26, null);
|
|
5209
5209
|
var tmp_55 = KProperty1;
|
|
5210
|
-
tmp_52.
|
|
5210
|
+
tmp_52.cad_1 = tmp_54.a65(this, getPropertyCallableRef('cardsDealerProvider', 1, tmp_55, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj(), null));
|
|
5211
5211
|
}
|
|
5212
|
-
protoOf(ServerGameStoreContract).i98 = function () {
|
|
5213
|
-
return plus(plus(plus(plus(plus(this.jac_1.i98(), this.mac_1.i98()), this.kac_1.i98()), this.lac_1.i98()), this.nac_1.i98()), listOf_0([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl(this)), playerConnectionUpdateReducer()]));
|
|
5214
|
-
};
|
|
5215
5212
|
protoOf(ServerGameStoreContract).j98 = function () {
|
|
5216
|
-
|
|
5213
|
+
return plus(plus(plus(plus(plus(this.kac_1.j98(), this.nac_1.j98()), this.lac_1.j98()), this.mac_1.j98()), this.oac_1.j98()), listOf_0([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl(this)), playerConnectionUpdateReducer()]));
|
|
5214
|
+
};
|
|
5215
|
+
protoOf(ServerGameStoreContract).k98 = function () {
|
|
5216
|
+
var tmp = this.kac_1.k98();
|
|
5217
5217
|
var tmp_0;
|
|
5218
5218
|
if (_get_serverConfig__rk2g06(this).finishGameWhenNotLiveStrategy.equals(FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance())) {
|
|
5219
5219
|
tmp_0 = checkBotsMiddleware(_get_logger__rkp4sl(this));
|
|
5220
5220
|
} else {
|
|
5221
5221
|
tmp_0 = null;
|
|
5222
5222
|
}
|
|
5223
|
-
var tmp_1 = plus(plus(plus(plus(plus(tmp, listOfNotNull(tmp_0)), this.
|
|
5223
|
+
var tmp_1 = plus(plus(plus(plus(plus(tmp, listOfNotNull(tmp_0)), this.nac_1.k98()), this.lac_1.k98()), this.mac_1.k98()), this.oac_1.k98());
|
|
5224
5224
|
var tmp_2 = playerConnectionUpdateMiddleware(_get_logger__rkp4sl(this), _get_playerConnectionInteractor__si6cxf_0(this));
|
|
5225
5225
|
var tmp_3 = playerReconnectionTimeoutMiddleware(_get_playerConnectionInteractor__si6cxf_0(this));
|
|
5226
5226
|
var tmp_4;
|
|
@@ -5229,7 +5229,7 @@
|
|
|
5229
5229
|
} else {
|
|
5230
5230
|
tmp_4 = null;
|
|
5231
5231
|
}
|
|
5232
|
-
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))).
|
|
5232
|
+
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))).q9a(), finishingGameWhenCantStartNewMiddleware()]));
|
|
5233
5233
|
var tmp_6 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this), _get_logger__rkp4sl(this));
|
|
5234
5234
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
5235
5235
|
var tmp1_logger = _get_logger__rkp4sl(this);
|
|
@@ -5280,7 +5280,7 @@
|
|
|
5280
5280
|
return this.y6h(store, next, action);
|
|
5281
5281
|
};
|
|
5282
5282
|
function ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
|
|
5283
|
-
this.
|
|
5283
|
+
this.gad_1 = this$0;
|
|
5284
5284
|
}
|
|
5285
5285
|
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).j6g = function (action) {
|
|
5286
5286
|
return action instanceof MechanicAction;
|
|
@@ -5291,17 +5291,17 @@
|
|
|
5291
5291
|
// Inline function 'kotlin.with' call
|
|
5292
5292
|
var tmp;
|
|
5293
5293
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
5294
|
-
var tmp0 = this.
|
|
5295
|
-
var tmp2 = action_0.
|
|
5296
|
-
var tmp4 = action_0.
|
|
5294
|
+
var tmp0 = this.gad_1;
|
|
5295
|
+
var tmp2 = action_0.q94_1;
|
|
5296
|
+
var tmp4 = action_0.s94_1;
|
|
5297
5297
|
// Inline function 'kotlin.collections.map' call
|
|
5298
|
-
var this_0 = action_0.
|
|
5298
|
+
var this_0 = action_0.t94_1;
|
|
5299
5299
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5300
5300
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
5301
5301
|
var _iterator__ex2g4s = this_0.l();
|
|
5302
5302
|
while (_iterator__ex2g4s.m()) {
|
|
5303
5303
|
var item = _iterator__ex2g4s.n();
|
|
5304
|
-
var tmp$ret$0 = to(item.n66_1, this.fad_1.
|
|
5304
|
+
var tmp$ret$0 = to(item.n66_1, this.gad_1.fad_1.bac(item.isBot, item.n66_1, get_serverStatePayload_0(state).connectedPlayers).n67_1);
|
|
5305
5305
|
destination.j(tmp$ret$0);
|
|
5306
5306
|
}
|
|
5307
5307
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
@@ -5331,7 +5331,7 @@
|
|
|
5331
5331
|
var _iterator__ex2g4s_2 = destination_1.l();
|
|
5332
5332
|
while (_iterator__ex2g4s_2.m()) {
|
|
5333
5333
|
var element_0 = _iterator__ex2g4s_2.n();
|
|
5334
|
-
var tmp0_aid = tmp0.
|
|
5334
|
+
var tmp0_aid = tmp0.ead_1.h6e();
|
|
5335
5335
|
// Inline function 'kotlin.collections.map' call
|
|
5336
5336
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5337
5337
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -5353,15 +5353,15 @@
|
|
|
5353
5353
|
tmp = destination_2;
|
|
5354
5354
|
} else {
|
|
5355
5355
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
5356
|
-
var tmp0_0 = this.
|
|
5356
|
+
var tmp0_0 = this.gad_1;
|
|
5357
5357
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5358
5358
|
var tableId = state.c6s().id;
|
|
5359
|
-
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.
|
|
5359
|
+
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.ead_1.h6e(), tableId, null);
|
|
5360
5360
|
var tmp$ret$21 = mapToClient_18(action_0, sendToPlayer_0);
|
|
5361
5361
|
tmp = listOfNotNull(tmp$ret$21);
|
|
5362
5362
|
} else {
|
|
5363
5363
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
5364
|
-
var tmp0_1 = this.
|
|
5364
|
+
var tmp0_1 = this.gad_1;
|
|
5365
5365
|
var tmp2_0 = action_0.table.id;
|
|
5366
5366
|
var tmp4_0 = action_0.gameCreatorPlayerId;
|
|
5367
5367
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -5401,7 +5401,7 @@
|
|
|
5401
5401
|
var _iterator__ex2g4s_7 = destination_6.l();
|
|
5402
5402
|
while (_iterator__ex2g4s_7.m()) {
|
|
5403
5403
|
var element_2 = _iterator__ex2g4s_7.n();
|
|
5404
|
-
var tmp0_aid_0 = tmp0_1.
|
|
5404
|
+
var tmp0_aid_0 = tmp0_1.ead_1.h6e();
|
|
5405
5405
|
// Inline function 'kotlin.collections.map' call
|
|
5406
5406
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5407
5407
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -5423,39 +5423,39 @@
|
|
|
5423
5423
|
tmp = destination_7;
|
|
5424
5424
|
} else {
|
|
5425
5425
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
5426
|
-
var tmp0_2 = this.
|
|
5426
|
+
var tmp0_2 = this.gad_1;
|
|
5427
5427
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5428
5428
|
var tableId_0 = state.c6s().id;
|
|
5429
|
-
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.
|
|
5429
|
+
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.ead_1.h6e(), tableId_0, null);
|
|
5430
5430
|
var tmp$ret$44 = mapToClient_16(action_0, sendToPlayer_2);
|
|
5431
5431
|
tmp = listOfNotNull(tmp$ret$44);
|
|
5432
5432
|
} else {
|
|
5433
5433
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
5434
|
-
var tmp0_3 = this.
|
|
5434
|
+
var tmp0_3 = this.gad_1;
|
|
5435
5435
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5436
5436
|
var tableId_1 = state.c6s().id;
|
|
5437
|
-
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.
|
|
5437
|
+
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.ead_1.h6e(), tableId_1, null);
|
|
5438
5438
|
var tmp$ret$46 = mapToClient_15(action_0, sendToPlayer_3);
|
|
5439
5439
|
tmp = listOfNotNull(tmp$ret$46);
|
|
5440
5440
|
} else {
|
|
5441
5441
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
5442
|
-
var tmp0_4 = this.
|
|
5442
|
+
var tmp0_4 = this.gad_1;
|
|
5443
5443
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5444
5444
|
var tableId_2 = state.c6s().id;
|
|
5445
|
-
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.
|
|
5445
|
+
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.ead_1.h6e(), tableId_2, null);
|
|
5446
5446
|
var tmp$ret$48 = mapToClient_14(action_0, sendToPlayer_4);
|
|
5447
5447
|
tmp = listOfNotNull(tmp$ret$48);
|
|
5448
5448
|
} else {
|
|
5449
5449
|
if (action_0 instanceof ErrorAction) {
|
|
5450
|
-
var tmp0_5 = this.
|
|
5450
|
+
var tmp0_5 = this.gad_1;
|
|
5451
5451
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5452
5452
|
var tableId_3 = state.c6s().id;
|
|
5453
|
-
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.
|
|
5453
|
+
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.ead_1.h6e(), tableId_3, null);
|
|
5454
5454
|
var tmp$ret$50 = mapToClient_13(action_0, sendToPlayer_5);
|
|
5455
5455
|
tmp = listOfNotNull(tmp$ret$50);
|
|
5456
5456
|
} else {
|
|
5457
5457
|
if (action_0 instanceof SceneMechanicAction) {
|
|
5458
|
-
var tmp0_6 = this.
|
|
5458
|
+
var tmp0_6 = this.gad_1;
|
|
5459
5459
|
var tmp2_1 = state.c6s().id;
|
|
5460
5460
|
var tmp4_1 = state.c6s().playersConnections;
|
|
5461
5461
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
@@ -5487,7 +5487,7 @@
|
|
|
5487
5487
|
var _iterator__ex2g4s_11 = destination_10.l();
|
|
5488
5488
|
while (_iterator__ex2g4s_11.m()) {
|
|
5489
5489
|
var element_4 = _iterator__ex2g4s_11.n();
|
|
5490
|
-
var tmp0_aid_1 = tmp0_6.
|
|
5490
|
+
var tmp0_aid_1 = tmp0_6.ead_1.h6e();
|
|
5491
5491
|
// Inline function 'kotlin.collections.map' call
|
|
5492
5492
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5493
5493
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(tmp4_1, 10));
|
|
@@ -5509,7 +5509,7 @@
|
|
|
5509
5509
|
tmp = destination_11;
|
|
5510
5510
|
} else {
|
|
5511
5511
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
5512
|
-
var tmp0_7 = this.
|
|
5512
|
+
var tmp0_7 = this.gad_1;
|
|
5513
5513
|
var tmp2_2 = state.c6s().id;
|
|
5514
5514
|
var tmp4_2 = state.c6s().playersConnections;
|
|
5515
5515
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
@@ -5541,7 +5541,7 @@
|
|
|
5541
5541
|
var _iterator__ex2g4s_15 = destination_14.l();
|
|
5542
5542
|
while (_iterator__ex2g4s_15.m()) {
|
|
5543
5543
|
var element_6 = _iterator__ex2g4s_15.n();
|
|
5544
|
-
var tmp0_aid_2 = tmp0_7.
|
|
5544
|
+
var tmp0_aid_2 = tmp0_7.ead_1.h6e();
|
|
5545
5545
|
// Inline function 'kotlin.collections.map' call
|
|
5546
5546
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5547
5547
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(tmp4_2, 10));
|
|
@@ -5563,7 +5563,7 @@
|
|
|
5563
5563
|
tmp = destination_15;
|
|
5564
5564
|
} else {
|
|
5565
5565
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
5566
|
-
var tmp0_8 = this.
|
|
5566
|
+
var tmp0_8 = this.gad_1;
|
|
5567
5567
|
var tmp2_3 = state.c6s().id;
|
|
5568
5568
|
var tmp4_3 = state.c6s().playersConnections;
|
|
5569
5569
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
@@ -5595,7 +5595,7 @@
|
|
|
5595
5595
|
var _iterator__ex2g4s_19 = destination_18.l();
|
|
5596
5596
|
while (_iterator__ex2g4s_19.m()) {
|
|
5597
5597
|
var element_8 = _iterator__ex2g4s_19.n();
|
|
5598
|
-
var tmp0_aid_3 = tmp0_8.
|
|
5598
|
+
var tmp0_aid_3 = tmp0_8.ead_1.h6e();
|
|
5599
5599
|
// Inline function 'kotlin.collections.map' call
|
|
5600
5600
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5601
5601
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(tmp4_3, 10));
|
|
@@ -5607,7 +5607,7 @@
|
|
|
5607
5607
|
}
|
|
5608
5608
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tmp2_3, gameCreatorPlayerId_1, element_8, destination_20);
|
|
5609
5609
|
var tmp_0;
|
|
5610
|
-
if (this.
|
|
5610
|
+
if (this.gad_1.dad_1.supportBackwardActions && getPlayer(state.c6s().players, sendToPlayer_8.f7h_1).q6v_1.b70_1) {
|
|
5611
5611
|
tmp_0 = null;
|
|
5612
5612
|
} else {
|
|
5613
5613
|
tmp_0 = mapToClient_10(action_0, sendToPlayer_8);
|
|
@@ -5623,81 +5623,81 @@
|
|
|
5623
5623
|
tmp = destination_19;
|
|
5624
5624
|
} else {
|
|
5625
5625
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
5626
|
-
var tmp0_9 = this.
|
|
5626
|
+
var tmp0_9 = this.gad_1;
|
|
5627
5627
|
var tmp2_4 = state.c6s().id;
|
|
5628
5628
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5629
|
-
var exceptPlayerId = this.
|
|
5630
|
-
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.
|
|
5629
|
+
var exceptPlayerId = this.gad_1.dad_1.supportBackwardActions ? action_0.j95_1 : null;
|
|
5630
|
+
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.ead_1.h6e(), tmp2_4, exceptPlayerId);
|
|
5631
5631
|
var tmp$ret$109 = mapToClient_9(action_0, sendToPlayer_9);
|
|
5632
5632
|
tmp = listOfNotNull(tmp$ret$109);
|
|
5633
5633
|
} else {
|
|
5634
5634
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
5635
|
-
var tmp0_10 = this.
|
|
5635
|
+
var tmp0_10 = this.gad_1;
|
|
5636
5636
|
var tmp2_5 = state.c6s().id;
|
|
5637
5637
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5638
|
-
var exceptPlayerId_0 = this.
|
|
5639
|
-
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.
|
|
5638
|
+
var exceptPlayerId_0 = this.gad_1.dad_1.supportBackwardActions ? action_0.q90_1 : null;
|
|
5639
|
+
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.ead_1.h6e(), tmp2_5, exceptPlayerId_0);
|
|
5640
5640
|
var tmp$ret$111 = mapToClient_8(action_0, sendToPlayer_10);
|
|
5641
5641
|
tmp = listOfNotNull(tmp$ret$111);
|
|
5642
5642
|
} else {
|
|
5643
5643
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
5644
|
-
var tmp0_11 = this.
|
|
5644
|
+
var tmp0_11 = this.gad_1;
|
|
5645
5645
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5646
5646
|
var tableId_4 = state.c6s().id;
|
|
5647
|
-
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.
|
|
5647
|
+
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.ead_1.h6e(), tableId_4, null);
|
|
5648
5648
|
var tmp$ret$113 = mapToClient_7(action_0, sendToPlayer_11);
|
|
5649
5649
|
tmp = listOfNotNull(tmp$ret$113);
|
|
5650
5650
|
} else {
|
|
5651
5651
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
5652
|
-
var tmp0_12 = this.
|
|
5652
|
+
var tmp0_12 = this.gad_1;
|
|
5653
5653
|
var tmp2_6 = state.c6s().id;
|
|
5654
5654
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5655
|
-
var exceptPlayerId_1 = this.
|
|
5656
|
-
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.
|
|
5655
|
+
var exceptPlayerId_1 = this.gad_1.dad_1.supportBackwardActions ? action_0.p95_1 : null;
|
|
5656
|
+
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.ead_1.h6e(), tmp2_6, exceptPlayerId_1);
|
|
5657
5657
|
var tmp$ret$115 = mapToClient_6(action_0, sendToPlayer_12);
|
|
5658
5658
|
tmp = listOfNotNull(tmp$ret$115);
|
|
5659
5659
|
} else {
|
|
5660
5660
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
5661
|
-
var tmp0_13 = this.
|
|
5661
|
+
var tmp0_13 = this.gad_1;
|
|
5662
5662
|
var tmp2_7 = state.c6s().id;
|
|
5663
5663
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5664
|
-
var exceptPlayerId_2 = this.
|
|
5665
|
-
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.
|
|
5664
|
+
var exceptPlayerId_2 = this.gad_1.dad_1.supportBackwardActions ? action_0.w90_1 : null;
|
|
5665
|
+
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.ead_1.h6e(), tmp2_7, exceptPlayerId_2);
|
|
5666
5666
|
var tmp$ret$117 = mapToClient_5(action_0, sendToPlayer_13);
|
|
5667
5667
|
tmp = listOfNotNull(tmp$ret$117);
|
|
5668
5668
|
} else {
|
|
5669
5669
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
5670
|
-
var tmp0_14 = this.
|
|
5670
|
+
var tmp0_14 = this.gad_1;
|
|
5671
5671
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5672
5672
|
var tableId_5 = state.c6s().id;
|
|
5673
|
-
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.
|
|
5673
|
+
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.ead_1.h6e(), tableId_5, null);
|
|
5674
5674
|
var tmp$ret$119 = mapToClient_4(action_0, sendToPlayer_14);
|
|
5675
5675
|
tmp = listOfNotNull(tmp$ret$119);
|
|
5676
5676
|
} else {
|
|
5677
5677
|
if (action_0 instanceof TakeAllRemainingCardsMechanicAction) {
|
|
5678
|
-
var tmp0_15 = this.
|
|
5678
|
+
var tmp0_15 = this.gad_1;
|
|
5679
5679
|
var tmp2_8 = state.c6s().id;
|
|
5680
5680
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5681
|
-
var exceptPlayerId_3 = this.
|
|
5682
|
-
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.
|
|
5681
|
+
var exceptPlayerId_3 = this.gad_1.dad_1.supportBackwardActions ? action_0.r95_1 : null;
|
|
5682
|
+
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.ead_1.h6e(), tmp2_8, exceptPlayerId_3);
|
|
5683
5683
|
var tmp$ret$121 = mapToClient_3(action_0, sendToPlayer_15);
|
|
5684
5684
|
tmp = listOfNotNull(tmp$ret$121);
|
|
5685
5685
|
} else {
|
|
5686
5686
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
5687
|
-
var tmp0_16 = this.
|
|
5687
|
+
var tmp0_16 = this.gad_1;
|
|
5688
5688
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5689
5689
|
var tableId_6 = state.c6s().id;
|
|
5690
|
-
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.
|
|
5690
|
+
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.ead_1.h6e(), tableId_6, null);
|
|
5691
5691
|
var tmp$ret$123 = mapToClient_2(action_0, sendToPlayer_16);
|
|
5692
5692
|
tmp = listOfNotNull(tmp$ret$123);
|
|
5693
5693
|
} else {
|
|
5694
5694
|
if (action_0 instanceof MessageMechanicAction) {
|
|
5695
5695
|
var message = action_0.message;
|
|
5696
|
-
var tmp0_17 = this.
|
|
5696
|
+
var tmp0_17 = this.gad_1;
|
|
5697
5697
|
var tmp2_9 = state.c6s().id;
|
|
5698
5698
|
var tmp_1;
|
|
5699
5699
|
var tmp_2;
|
|
5700
|
-
if (this.
|
|
5700
|
+
if (this.gad_1.dad_1.supportBackwardActions) {
|
|
5701
5701
|
tmp_2 = isInterface(message, UserMessage);
|
|
5702
5702
|
} else {
|
|
5703
5703
|
tmp_2 = false;
|
|
@@ -5709,16 +5709,16 @@
|
|
|
5709
5709
|
}
|
|
5710
5710
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5711
5711
|
var exceptPlayerId_4 = tmp_1;
|
|
5712
|
-
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.
|
|
5712
|
+
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.ead_1.h6e(), tmp2_9, exceptPlayerId_4);
|
|
5713
5713
|
var tmp$ret$125 = mapToClient_1(action_0, sendToPlayer_17);
|
|
5714
5714
|
tmp = listOfNotNull(tmp$ret$125);
|
|
5715
5715
|
} else {
|
|
5716
5716
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
5717
|
-
var tmp0_18 = this.
|
|
5717
|
+
var tmp0_18 = this.gad_1;
|
|
5718
5718
|
var tmp2_10 = state.c6s().id;
|
|
5719
5719
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5720
5720
|
var exceptPlayerId_5 = action_0.playerId;
|
|
5721
|
-
var sendToPlayer_18 = new RoomActionPayload(tmp0_18.
|
|
5721
|
+
var sendToPlayer_18 = new RoomActionPayload(tmp0_18.ead_1.h6e(), tmp2_10, exceptPlayerId_5);
|
|
5722
5722
|
var tmp$ret$127 = mapToClient_0(action_0, sendToPlayer_18);
|
|
5723
5723
|
tmp = listOfNotNull(tmp$ret$127);
|
|
5724
5724
|
} else {
|
|
@@ -5756,11 +5756,11 @@
|
|
|
5756
5756
|
return this.y6h(store, next, action);
|
|
5757
5757
|
};
|
|
5758
5758
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider, playerConnectionInteractor) {
|
|
5759
|
-
this.
|
|
5760
|
-
this.
|
|
5761
|
-
this.
|
|
5759
|
+
this.dad_1 = logicConfig;
|
|
5760
|
+
this.ead_1 = idsProvider;
|
|
5761
|
+
this.fad_1 = playerConnectionInteractor;
|
|
5762
5762
|
}
|
|
5763
|
-
protoOf(ServerMapMechanicToClientActionMiddleware).
|
|
5763
|
+
protoOf(ServerMapMechanicToClientActionMiddleware).q9a = function () {
|
|
5764
5764
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
5765
5765
|
return new ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this);
|
|
5766
5766
|
};
|
|
@@ -5769,8 +5769,8 @@
|
|
|
5769
5769
|
return new playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1(logger, playerConnectionInteractor);
|
|
5770
5770
|
}
|
|
5771
5771
|
function playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1($logger, $playerConnectionInteractor) {
|
|
5772
|
-
this.
|
|
5773
|
-
this.
|
|
5772
|
+
this.had_1 = $logger;
|
|
5773
|
+
this.iad_1 = $playerConnectionInteractor;
|
|
5774
5774
|
}
|
|
5775
5775
|
protoOf(playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1).j6g = function (action) {
|
|
5776
5776
|
return action instanceof PlayerConnectionUpdateAction;
|
|
@@ -5783,13 +5783,13 @@
|
|
|
5783
5783
|
if (!get_isCreated(state)) {
|
|
5784
5784
|
break $l$block_1;
|
|
5785
5785
|
}
|
|
5786
|
-
var player = getPlayer(state.c6s().players, tmp4.
|
|
5787
|
-
if (tmp4.
|
|
5786
|
+
var player = getPlayer(state.c6s().players, tmp4.y93_1);
|
|
5787
|
+
if (tmp4.x93_1.isVisibleDisconnectedReason) {
|
|
5788
5788
|
if (player.o6v_1.d69().n67_1.isDisconnecting) {
|
|
5789
5789
|
break $l$block_1;
|
|
5790
5790
|
}
|
|
5791
5791
|
if (player.o6v_1.d69().n67_1.isLeftPermanently) {
|
|
5792
|
-
this.
|
|
5792
|
+
this.had_1.w('playerConnectionUpdateMiddleware', "player connection state can't be changed after [playerLeft] is invoked, " + tmp4.toString());
|
|
5793
5793
|
break $l$block_1;
|
|
5794
5794
|
}
|
|
5795
5795
|
}
|
|
@@ -5812,7 +5812,7 @@
|
|
|
5812
5812
|
var _iterator__ex2g4s_0 = destination.l();
|
|
5813
5813
|
while (_iterator__ex2g4s_0.m()) {
|
|
5814
5814
|
var element_0 = _iterator__ex2g4s_0.n();
|
|
5815
|
-
if (element_0.
|
|
5815
|
+
if (element_0.jad_1 === tmp4.y93_1) {
|
|
5816
5816
|
if (found) {
|
|
5817
5817
|
tmp$ret$4 = null;
|
|
5818
5818
|
break $l$block_3;
|
|
@@ -5831,7 +5831,7 @@
|
|
|
5831
5831
|
if (!(reconnectionTimerTag == null)) {
|
|
5832
5832
|
store.dispatch(new StopTimerAction(reconnectionTimerTag));
|
|
5833
5833
|
}
|
|
5834
|
-
var actions = this.
|
|
5834
|
+
var actions = this.iad_1.zab(tmp4.x93_1, player.o6v_1.d69().n67_1, player, store.state.c6s(), tmp4.a94_1);
|
|
5835
5835
|
// Inline function 'kotlin.collections.forEach' call
|
|
5836
5836
|
var _iterator__ex2g4s_1 = actions.l();
|
|
5837
5837
|
while (_iterator__ex2g4s_1.m()) {
|
|
@@ -5848,17 +5848,17 @@
|
|
|
5848
5848
|
return new playerReconnectionTimeoutMiddleware$$inlined$middlewareForActionType$1(playerConnectionInteractor);
|
|
5849
5849
|
}
|
|
5850
5850
|
function PlayerReconnectionWaitingTimerTag(playerId, state, previousState) {
|
|
5851
|
-
this.
|
|
5852
|
-
this.
|
|
5853
|
-
this.
|
|
5851
|
+
this.jad_1 = playerId;
|
|
5852
|
+
this.kad_1 = state;
|
|
5853
|
+
this.lad_1 = previousState;
|
|
5854
5854
|
}
|
|
5855
5855
|
protoOf(PlayerReconnectionWaitingTimerTag).toString = function () {
|
|
5856
|
-
return 'PlayerReconnectionWaitingTimerTag(playerId=' + this.
|
|
5856
|
+
return 'PlayerReconnectionWaitingTimerTag(playerId=' + this.jad_1 + ', state=' + this.kad_1.toString() + ', previousState=' + this.lad_1.toString() + ')';
|
|
5857
5857
|
};
|
|
5858
5858
|
protoOf(PlayerReconnectionWaitingTimerTag).hashCode = function () {
|
|
5859
|
-
var result = getStringHashCode(this.
|
|
5860
|
-
result = imul(result, 31) + this.jad_1.hashCode() | 0;
|
|
5859
|
+
var result = getStringHashCode(this.jad_1);
|
|
5861
5860
|
result = imul(result, 31) + this.kad_1.hashCode() | 0;
|
|
5861
|
+
result = imul(result, 31) + this.lad_1.hashCode() | 0;
|
|
5862
5862
|
return result;
|
|
5863
5863
|
};
|
|
5864
5864
|
protoOf(PlayerReconnectionWaitingTimerTag).equals = function (other) {
|
|
@@ -5866,16 +5866,16 @@
|
|
|
5866
5866
|
return true;
|
|
5867
5867
|
if (!(other instanceof PlayerReconnectionWaitingTimerTag))
|
|
5868
5868
|
return false;
|
|
5869
|
-
if (!(this.
|
|
5870
|
-
return false;
|
|
5871
|
-
if (!this.jad_1.equals(other.jad_1))
|
|
5869
|
+
if (!(this.jad_1 === other.jad_1))
|
|
5872
5870
|
return false;
|
|
5873
5871
|
if (!this.kad_1.equals(other.kad_1))
|
|
5874
5872
|
return false;
|
|
5873
|
+
if (!this.lad_1.equals(other.lad_1))
|
|
5874
|
+
return false;
|
|
5875
5875
|
return true;
|
|
5876
5876
|
};
|
|
5877
5877
|
function playerReconnectionTimeoutMiddleware$$inlined$middlewareForActionType$1($playerConnectionInteractor) {
|
|
5878
|
-
this.
|
|
5878
|
+
this.mad_1 = $playerConnectionInteractor;
|
|
5879
5879
|
}
|
|
5880
5880
|
protoOf(playerReconnectionTimeoutMiddleware$$inlined$middlewareForActionType$1).j6g = function (action) {
|
|
5881
5881
|
return action instanceof TimerTickAction;
|
|
@@ -5889,8 +5889,8 @@
|
|
|
5889
5889
|
var timerTag = tmp4.f6g_1;
|
|
5890
5890
|
if (timerTag instanceof PlayerReconnectionWaitingTimerTag) {
|
|
5891
5891
|
var state = store.state;
|
|
5892
|
-
var player = getPlayer(state.c6s().players, timerTag.
|
|
5893
|
-
var actions = this.
|
|
5892
|
+
var player = getPlayer(state.c6s().players, timerTag.jad_1);
|
|
5893
|
+
var actions = this.mad_1.zab(timerTag.kad_1, timerTag.lad_1, player, state.c6s(), true);
|
|
5894
5894
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5895
5895
|
if (!actions.r()) {
|
|
5896
5896
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5912,7 +5912,7 @@
|
|
|
5912
5912
|
return new playerReconnectionTimerStartWhenStartGameMiddleware$$inlined$middlewareForActionType$1(playerConnectionInteractor);
|
|
5913
5913
|
}
|
|
5914
5914
|
function playerReconnectionTimerStartWhenStartGameMiddleware$$inlined$middlewareForActionType$1($playerConnectionInteractor) {
|
|
5915
|
-
this.
|
|
5915
|
+
this.nad_1 = $playerConnectionInteractor;
|
|
5916
5916
|
}
|
|
5917
5917
|
protoOf(playerReconnectionTimerStartWhenStartGameMiddleware$$inlined$middlewareForActionType$1).j6g = function (action) {
|
|
5918
5918
|
return isInterface(action, FirstMechanicAction);
|
|
@@ -5940,7 +5940,7 @@
|
|
|
5940
5940
|
var tmp1_previousConnectionState = element_0.o6v_1.d69().n67_1;
|
|
5941
5941
|
var tmp2_playerId = element_0.playerId;
|
|
5942
5942
|
// Inline function 'kotlin.collections.forEach' call
|
|
5943
|
-
var _iterator__ex2g4s_1 = this.
|
|
5943
|
+
var _iterator__ex2g4s_1 = this.nad_1.aac(tmp2_playerId, tmp0_newConnectionState, tmp1_previousConnectionState).l();
|
|
5944
5944
|
while (_iterator__ex2g4s_1.m()) {
|
|
5945
5945
|
var element_1 = _iterator__ex2g4s_1.n();
|
|
5946
5946
|
store.dispatch(element_1);
|
|
@@ -5955,8 +5955,8 @@
|
|
|
5955
5955
|
return new sendToClientActionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, provider);
|
|
5956
5956
|
}
|
|
5957
5957
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
5958
|
-
this.
|
|
5959
|
-
this.
|
|
5958
|
+
this.wad_1 = $provider;
|
|
5959
|
+
this.xad_1 = $action;
|
|
5960
5960
|
CoroutineImpl.call(this, resultContinuation);
|
|
5961
5961
|
}
|
|
5962
5962
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).c2d = function ($this$launchDefault, $completion) {
|
|
@@ -5977,7 +5977,7 @@
|
|
|
5977
5977
|
case 0:
|
|
5978
5978
|
this.t8_1 = 2;
|
|
5979
5979
|
this.s8_1 = 1;
|
|
5980
|
-
suspendResult = this.
|
|
5980
|
+
suspendResult = this.wad_1.ta9(this.xad_1, this);
|
|
5981
5981
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5982
5982
|
return suspendResult;
|
|
5983
5983
|
}
|
|
@@ -6000,8 +6000,8 @@
|
|
|
6000
6000
|
while (true);
|
|
6001
6001
|
};
|
|
6002
6002
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).d2d = function ($this$launchDefault, completion) {
|
|
6003
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
6004
|
-
i.
|
|
6003
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.wad_1, this.xad_1, completion);
|
|
6004
|
+
i.yad_1 = $this$launchDefault;
|
|
6005
6005
|
return i;
|
|
6006
6006
|
};
|
|
6007
6007
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -6013,15 +6013,15 @@
|
|
|
6013
6013
|
return l;
|
|
6014
6014
|
}
|
|
6015
6015
|
function sendToClientActionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $provider) {
|
|
6016
|
-
this.
|
|
6017
|
-
this.
|
|
6016
|
+
this.zad_1 = $asyncProvider;
|
|
6017
|
+
this.aae_1 = $provider;
|
|
6018
6018
|
}
|
|
6019
6019
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).j6g = function (action) {
|
|
6020
6020
|
return action instanceof ToClientAction;
|
|
6021
6021
|
};
|
|
6022
6022
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).y6h = function (store, next, action) {
|
|
6023
6023
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
6024
|
-
this.
|
|
6024
|
+
this.zad_1.m6c(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.aae_1, action_0, null));
|
|
6025
6025
|
next(action_0);
|
|
6026
6026
|
};
|
|
6027
6027
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).i6g = function (store, next, action) {
|
|
@@ -6032,11 +6032,11 @@
|
|
|
6032
6032
|
return new playerTurnTimeoutWhenHasConnectionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, serverConfig, logger);
|
|
6033
6033
|
}
|
|
6034
6034
|
function playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda($store, $timerTag, $serverConfig, $logger, $action, resultContinuation) {
|
|
6035
|
-
this.
|
|
6036
|
-
this.
|
|
6037
|
-
this.
|
|
6038
|
-
this.
|
|
6039
|
-
this.
|
|
6035
|
+
this.jae_1 = $store;
|
|
6036
|
+
this.kae_1 = $timerTag;
|
|
6037
|
+
this.lae_1 = $serverConfig;
|
|
6038
|
+
this.mae_1 = $logger;
|
|
6039
|
+
this.nae_1 = $action;
|
|
6040
6040
|
CoroutineImpl.call(this, resultContinuation);
|
|
6041
6041
|
}
|
|
6042
6042
|
protoOf(playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda).c2d = function ($this$launchDefaultWithLock, $completion) {
|
|
@@ -6055,13 +6055,13 @@
|
|
|
6055
6055
|
var tmp = this.s8_1;
|
|
6056
6056
|
if (tmp === 0) {
|
|
6057
6057
|
this.t8_1 = 1;
|
|
6058
|
-
var table = this.
|
|
6059
|
-
var player = getPlayer(table.players, this.
|
|
6058
|
+
var table = this.jae_1.state.c6s();
|
|
6059
|
+
var player = getPlayer(table.players, this.kae_1.z65());
|
|
6060
6060
|
var connectionState = player.o6v_1.d69().n67_1;
|
|
6061
6061
|
var tmp_0;
|
|
6062
6062
|
switch (connectionState.q2_1) {
|
|
6063
6063
|
case 1:
|
|
6064
|
-
tmp_0 = listOf(new PlayerConnectionUpdateAction(PlayerConnectionState_TIMEOUT_getInstance(), player.playerId, VOID, this.
|
|
6064
|
+
tmp_0 = listOf(new PlayerConnectionUpdateAction(PlayerConnectionState_TIMEOUT_getInstance(), player.playerId, VOID, this.kae_1.m9h_1));
|
|
6065
6065
|
break;
|
|
6066
6066
|
case 6:
|
|
6067
6067
|
tmp_0 = emptyList();
|
|
@@ -6071,8 +6071,8 @@
|
|
|
6071
6071
|
case 3:
|
|
6072
6072
|
case 2:
|
|
6073
6073
|
var tmp_1;
|
|
6074
|
-
if (table.sceneInfo.
|
|
6075
|
-
tmp_1 = new PlayerConnectionUpdateAction(PlayerConnectionState_DELETED_getInstance(), player.playerId, VOID, this.
|
|
6074
|
+
if (table.sceneInfo.m7g() && this.lae_1.closeIfBotsAtFinish) {
|
|
6075
|
+
tmp_1 = new PlayerConnectionUpdateAction(PlayerConnectionState_DELETED_getInstance(), player.playerId, VOID, this.kae_1.m9h_1);
|
|
6076
6076
|
} else {
|
|
6077
6077
|
tmp_1 = AskBotAction_init_$Create$(player.playerId, 'PlayerTurn when connection state = ' + connectionState.toString());
|
|
6078
6078
|
}
|
|
@@ -6081,7 +6081,7 @@
|
|
|
6081
6081
|
break;
|
|
6082
6082
|
case 0:
|
|
6083
6083
|
case 7:
|
|
6084
|
-
this.
|
|
6084
|
+
this.mae_1.w('playerTurnTimeoutWhenHasConnectionMiddleware', "Can't support this state " + connectionState.toString() + ', ' + ('action:' + this.nae_1.toString()));
|
|
6085
6085
|
tmp_0 = emptyList();
|
|
6086
6086
|
break;
|
|
6087
6087
|
default:
|
|
@@ -6093,7 +6093,7 @@
|
|
|
6093
6093
|
var _iterator__ex2g4s = actions.l();
|
|
6094
6094
|
while (_iterator__ex2g4s.m()) {
|
|
6095
6095
|
var element = _iterator__ex2g4s.n();
|
|
6096
|
-
this.
|
|
6096
|
+
this.jae_1.dispatch(element);
|
|
6097
6097
|
}
|
|
6098
6098
|
}
|
|
6099
6099
|
return Unit_instance;
|
|
@@ -6107,8 +6107,8 @@
|
|
|
6107
6107
|
while (true);
|
|
6108
6108
|
};
|
|
6109
6109
|
protoOf(playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda).d2d = function ($this$launchDefaultWithLock, completion) {
|
|
6110
|
-
var i = new playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda(this.
|
|
6111
|
-
i.
|
|
6110
|
+
var i = new playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda(this.jae_1, this.kae_1, this.lae_1, this.mae_1, this.nae_1, completion);
|
|
6111
|
+
i.oae_1 = $this$launchDefaultWithLock;
|
|
6112
6112
|
return i;
|
|
6113
6113
|
};
|
|
6114
6114
|
function playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda_0($store, $timerTag, $serverConfig, $logger, $action, resultContinuation) {
|
|
@@ -6120,9 +6120,9 @@
|
|
|
6120
6120
|
return l;
|
|
6121
6121
|
}
|
|
6122
6122
|
function playerTurnTimeoutWhenHasConnectionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $serverConfig, $logger) {
|
|
6123
|
-
this.
|
|
6124
|
-
this.
|
|
6125
|
-
this.
|
|
6123
|
+
this.pae_1 = $asyncProvider;
|
|
6124
|
+
this.qae_1 = $serverConfig;
|
|
6125
|
+
this.rae_1 = $logger;
|
|
6126
6126
|
}
|
|
6127
6127
|
protoOf(playerTurnTimeoutWhenHasConnectionMiddleware$$inlined$middlewareForActionType$1).j6g = function (action) {
|
|
6128
6128
|
return action instanceof TimerTickAction;
|
|
@@ -6131,7 +6131,7 @@
|
|
|
6131
6131
|
var action_0 = action instanceof TimerTickAction ? action : THROW_CCE();
|
|
6132
6132
|
var timerTag = action_0.f6g_1;
|
|
6133
6133
|
if (timerTag instanceof PlayerTurnTimerTag) {
|
|
6134
|
-
this.
|
|
6134
|
+
this.pae_1.o6c(VOID, playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda_0(store, timerTag, this.qae_1, this.rae_1, action_0, null));
|
|
6135
6135
|
}
|
|
6136
6136
|
next(action_0);
|
|
6137
6137
|
};
|
|
@@ -6147,19 +6147,19 @@
|
|
|
6147
6147
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).j6g = function (action) {
|
|
6148
6148
|
return action instanceof UpdateServerConfigAction;
|
|
6149
6149
|
};
|
|
6150
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
6150
|
+
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).v9j = function (state, action) {
|
|
6151
6151
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
6152
|
-
return state.
|
|
6152
|
+
return state.q93(VOID, get_serverStatePayload_0(state).copy(action_0.hac_1));
|
|
6153
6153
|
};
|
|
6154
6154
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).z6h = function (state, action) {
|
|
6155
|
-
return this.
|
|
6155
|
+
return this.v9j((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
6156
6156
|
};
|
|
6157
6157
|
function addRoomMetadata($this, _this__u8e3s4, gameId) {
|
|
6158
6158
|
_this__u8e3s4.metadata.addGame(gameId, new GameMetadata(gameId));
|
|
6159
6159
|
return _this__u8e3s4.metadata;
|
|
6160
6160
|
}
|
|
6161
6161
|
function Companion_5() {
|
|
6162
|
-
this.
|
|
6162
|
+
this.sae_1 = 'ServerMechanicLifecycleReducer';
|
|
6163
6163
|
}
|
|
6164
6164
|
var Companion_instance_15;
|
|
6165
6165
|
function Companion_getInstance_6() {
|
|
@@ -6167,31 +6167,31 @@
|
|
|
6167
6167
|
}
|
|
6168
6168
|
function ServerMechanicLifecycleReducer$onStart$lambda(this$0, $updatedServerPayload) {
|
|
6169
6169
|
return function (it) {
|
|
6170
|
-
return Companion_instance_4.z68(this$0.
|
|
6170
|
+
return Companion_instance_4.z68(this$0.wae_1.bac(it.isBot, it.n66_1, $updatedServerPayload.connectedPlayers));
|
|
6171
6171
|
};
|
|
6172
6172
|
}
|
|
6173
6173
|
function ServerMechanicLifecycleReducer(logger, connectionInteractor, tableLifecycleReducer, randomPoolProvider) {
|
|
6174
6174
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
6175
|
-
this.
|
|
6176
|
-
this.
|
|
6175
|
+
this.vae_1 = logger;
|
|
6176
|
+
this.wae_1 = connectionInteractor;
|
|
6177
6177
|
}
|
|
6178
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
6178
|
+
protoOf(ServerMechanicLifecycleReducer).m9l = function (state, action) {
|
|
6179
6179
|
var serverState = get_serverStatePayload_0(state);
|
|
6180
|
-
this.
|
|
6181
|
-
var tableId = action.
|
|
6180
|
+
this.vae_1.d('ServerMechanicLifecycleReducer', 'onStart ' + get_versionOrDefault(GameEngineConfig_instance) + ', connectedPlayers: ' + toString(serverState.connectedPlayers), action);
|
|
6181
|
+
var tableId = action.q94_1;
|
|
6182
6182
|
var updatedServerPayload = serverState.copy(VOID, addRoomMetadata(this, serverState, tableId));
|
|
6183
6183
|
var tmp6_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
6184
|
-
var tmp0_$this = this.
|
|
6185
|
-
var tmp1_version = action.
|
|
6186
|
-
var tmp2_config = action.
|
|
6187
|
-
var tmp3_users = action.
|
|
6184
|
+
var tmp0_$this = this.n9l_1;
|
|
6185
|
+
var tmp1_version = action.r94_1;
|
|
6186
|
+
var tmp2_config = action.p94_1;
|
|
6187
|
+
var tmp3_users = action.t94_1;
|
|
6188
6188
|
var tmp4_spectators = action.spectators;
|
|
6189
|
-
var tmp5_gameCreatorPlayerId = action.
|
|
6190
|
-
var tmp7_tableOrNull = tmp0_$this.
|
|
6191
|
-
return state.
|
|
6189
|
+
var tmp5_gameCreatorPlayerId = action.s94_1;
|
|
6190
|
+
var tmp7_tableOrNull = tmp0_$this.v9m(tableId, tableId, tmp2_config, tmp1_version, tmp3_users, tmp4_spectators, tmp5_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(this, updatedServerPayload));
|
|
6191
|
+
return state.q93(tmp7_tableOrNull, updatedServerPayload, tmp6_gameLifecycleState);
|
|
6192
6192
|
};
|
|
6193
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
6194
|
-
this.
|
|
6193
|
+
protoOf(ServerMechanicLifecycleReducer).k9l = function (state, action) {
|
|
6194
|
+
this.vae_1.d('ServerMechanicLifecycleReducer', 'onContinue ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
6195
6195
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
6196
6196
|
var tmp2_tableOrNull = action.table;
|
|
6197
6197
|
var tmp = Companion_instance_16;
|
|
@@ -6199,32 +6199,32 @@
|
|
|
6199
6199
|
var tmp_1 = action.reason;
|
|
6200
6200
|
var tmp0_safe_receiver = tmp_1 instanceof RestartRoundReason ? tmp_1 : null;
|
|
6201
6201
|
var tmp3_payload = tmp.initial(tmp_0.copy(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.j65_1), addRoomMetadata(this, get_serverStatePayload_0(state), action.table.gameId));
|
|
6202
|
-
return state.
|
|
6202
|
+
return state.q93(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
|
|
6203
6203
|
};
|
|
6204
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
6205
|
-
this.
|
|
6204
|
+
protoOf(ServerMechanicLifecycleReducer).l9l = function (state, action) {
|
|
6205
|
+
this.o9l_1.o58(action.previousGameId);
|
|
6206
6206
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
6207
|
-
var tmp1_tableOrNull = this.
|
|
6207
|
+
var tmp1_tableOrNull = this.n9l_1.w9m(state.c6s(), action.gameId);
|
|
6208
6208
|
var tmp2_payload = get_serverStatePayload_0(state).copy(VOID, addRoomMetadata(this, get_serverStatePayload_0(state), action.gameId));
|
|
6209
|
-
return state.
|
|
6209
|
+
return state.q93(tmp1_tableOrNull, tmp2_payload, tmp0_gameLifecycleState);
|
|
6210
6210
|
};
|
|
6211
6211
|
function spectatorsReducer(logger) {
|
|
6212
6212
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
6213
6213
|
return new spectatorsReducer$$inlined$reducerForActionType$1(logger);
|
|
6214
6214
|
}
|
|
6215
6215
|
function spectatorsReducer$$inlined$reducerForActionType$1($logger) {
|
|
6216
|
-
this.
|
|
6216
|
+
this.xae_1 = $logger;
|
|
6217
6217
|
}
|
|
6218
6218
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).j6g = function (action) {
|
|
6219
6219
|
return isInterface(action, SpectatorsAction);
|
|
6220
6220
|
};
|
|
6221
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
6221
|
+
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).v9j = function (state, action) {
|
|
6222
6222
|
var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
|
|
6223
6223
|
var table = state.c6s();
|
|
6224
6224
|
var tmp;
|
|
6225
6225
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
6226
6226
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
6227
|
-
var tmp0 = action_0.
|
|
6227
|
+
var tmp0 = action_0.iac_1;
|
|
6228
6228
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
6229
6229
|
var destination = ArrayList_init_$Create$_0();
|
|
6230
6230
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -6243,9 +6243,9 @@
|
|
|
6243
6243
|
var tmp_0;
|
|
6244
6244
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
6245
6245
|
if (!sameSpectators.r()) {
|
|
6246
|
-
this.
|
|
6246
|
+
this.xae_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
6247
6247
|
// Inline function 'kotlin.collections.filterNot' call
|
|
6248
|
-
var tmp0_0 = action_0.
|
|
6248
|
+
var tmp0_0 = action_0.iac_1;
|
|
6249
6249
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
6250
6250
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
6251
6251
|
var _iterator__ex2g4s_0 = tmp0_0.l();
|
|
@@ -6280,7 +6280,7 @@
|
|
|
6280
6280
|
}
|
|
6281
6281
|
tmp_0 = destination_0;
|
|
6282
6282
|
} else {
|
|
6283
|
-
tmp_0 = action_0.
|
|
6283
|
+
tmp_0 = action_0.iac_1;
|
|
6284
6284
|
}
|
|
6285
6285
|
// Inline function 'kotlin.collections.map' call
|
|
6286
6286
|
var this_0 = tmp_0;
|
|
@@ -6293,11 +6293,11 @@
|
|
|
6293
6293
|
destination_1.j(tmp$ret$13);
|
|
6294
6294
|
}
|
|
6295
6295
|
var spectatorsToAdd = toSet(destination_1);
|
|
6296
|
-
tmp = state.
|
|
6296
|
+
tmp = state.q93(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
|
|
6297
6297
|
} else {
|
|
6298
6298
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
6299
6299
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
6300
|
-
var tmp0_1 = action_0.
|
|
6300
|
+
var tmp0_1 = action_0.jac_1;
|
|
6301
6301
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
6302
6302
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
6303
6303
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -6316,9 +6316,9 @@
|
|
|
6316
6316
|
var tmp_2;
|
|
6317
6317
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
6318
6318
|
if (!sameSpectators_0.r()) {
|
|
6319
|
-
this.
|
|
6319
|
+
this.xae_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
6320
6320
|
// Inline function 'kotlin.collections.filterNot' call
|
|
6321
|
-
var tmp0_2 = action_0.
|
|
6321
|
+
var tmp0_2 = action_0.jac_1;
|
|
6322
6322
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
6323
6323
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
6324
6324
|
var _iterator__ex2g4s_4 = tmp0_2.l();
|
|
@@ -6353,7 +6353,7 @@
|
|
|
6353
6353
|
}
|
|
6354
6354
|
tmp_2 = destination_3;
|
|
6355
6355
|
} else {
|
|
6356
|
-
tmp_2 = action_0.
|
|
6356
|
+
tmp_2 = action_0.jac_1;
|
|
6357
6357
|
}
|
|
6358
6358
|
var spectatorsToRemove = toSet(tmp_2);
|
|
6359
6359
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -6390,7 +6390,7 @@
|
|
|
6390
6390
|
destination_4.j(element_5);
|
|
6391
6391
|
}
|
|
6392
6392
|
}
|
|
6393
|
-
tmp = state.
|
|
6393
|
+
tmp = state.q93(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
|
|
6394
6394
|
} else {
|
|
6395
6395
|
noWhenBranchMatchedException();
|
|
6396
6396
|
}
|
|
@@ -6398,7 +6398,7 @@
|
|
|
6398
6398
|
return tmp;
|
|
6399
6399
|
};
|
|
6400
6400
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).z6h = function (state, action) {
|
|
6401
|
-
return this.
|
|
6401
|
+
return this.v9j((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
6402
6402
|
};
|
|
6403
6403
|
function playerConnectionUpdateReducer() {
|
|
6404
6404
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
@@ -6409,29 +6409,29 @@
|
|
|
6409
6409
|
protoOf(playerConnectionUpdateReducer$$inlined$reducerForActionType$1).j6g = function (action) {
|
|
6410
6410
|
return action instanceof PlayerConnectionUpdateAction;
|
|
6411
6411
|
};
|
|
6412
|
-
protoOf(playerConnectionUpdateReducer$$inlined$reducerForActionType$1).
|
|
6412
|
+
protoOf(playerConnectionUpdateReducer$$inlined$reducerForActionType$1).v9j = function (state, action) {
|
|
6413
6413
|
var action_0 = action instanceof PlayerConnectionUpdateAction ? action : THROW_CCE();
|
|
6414
6414
|
var statePayload = get_serverStatePayload_0(state);
|
|
6415
6415
|
var tmp;
|
|
6416
|
-
if (action_0.
|
|
6417
|
-
tmp = state.
|
|
6416
|
+
if (action_0.x93_1.isLive) {
|
|
6417
|
+
tmp = state.q93(VOID, statePayload.copy(VOID, VOID, plus_0(statePayload.connectedPlayers, action_0.y93_1)));
|
|
6418
6418
|
} else {
|
|
6419
6419
|
tmp = state;
|
|
6420
6420
|
}
|
|
6421
6421
|
return tmp;
|
|
6422
6422
|
};
|
|
6423
6423
|
protoOf(playerConnectionUpdateReducer$$inlined$reducerForActionType$1).z6h = function (state, action) {
|
|
6424
|
-
return this.
|
|
6424
|
+
return this.v9j((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
6425
6425
|
};
|
|
6426
6426
|
function Companion_6() {
|
|
6427
6427
|
}
|
|
6428
|
-
protoOf(Companion_6).
|
|
6428
|
+
protoOf(Companion_6).yae = function (config, metadata) {
|
|
6429
6429
|
return new ServerStatePayload(config, metadata, emptyList());
|
|
6430
6430
|
};
|
|
6431
6431
|
protoOf(Companion_6).initial = function (config, metadata, $super) {
|
|
6432
6432
|
config = config === VOID ? Companion_instance_10.initial(null) : config;
|
|
6433
6433
|
metadata = metadata === VOID ? new RoomMetadata() : metadata;
|
|
6434
|
-
return $super === VOID ? this.
|
|
6434
|
+
return $super === VOID ? this.yae(config, metadata) : $super.yae.call(this, config, metadata);
|
|
6435
6435
|
};
|
|
6436
6436
|
var Companion_instance_16;
|
|
6437
6437
|
function Companion_getInstance_7() {
|
|
@@ -6445,10 +6445,10 @@
|
|
|
6445
6445
|
protoOf(ServerStatePayload).a3t = function () {
|
|
6446
6446
|
return this.config;
|
|
6447
6447
|
};
|
|
6448
|
-
protoOf(ServerStatePayload).
|
|
6448
|
+
protoOf(ServerStatePayload).w8m = function () {
|
|
6449
6449
|
return this.metadata;
|
|
6450
6450
|
};
|
|
6451
|
-
protoOf(ServerStatePayload).
|
|
6451
|
+
protoOf(ServerStatePayload).zae = function () {
|
|
6452
6452
|
return this.connectedPlayers;
|
|
6453
6453
|
};
|
|
6454
6454
|
protoOf(ServerStatePayload).oe = function () {
|
|
@@ -6460,14 +6460,14 @@
|
|
|
6460
6460
|
protoOf(ServerStatePayload).yl = function () {
|
|
6461
6461
|
return this.connectedPlayers;
|
|
6462
6462
|
};
|
|
6463
|
-
protoOf(ServerStatePayload).
|
|
6463
|
+
protoOf(ServerStatePayload).aaf = function (config, metadata, connectedPlayers) {
|
|
6464
6464
|
return new ServerStatePayload(config, metadata, connectedPlayers);
|
|
6465
6465
|
};
|
|
6466
6466
|
protoOf(ServerStatePayload).copy = function (config, metadata, connectedPlayers, $super) {
|
|
6467
6467
|
config = config === VOID ? this.config : config;
|
|
6468
6468
|
metadata = metadata === VOID ? this.metadata : metadata;
|
|
6469
6469
|
connectedPlayers = connectedPlayers === VOID ? this.connectedPlayers : connectedPlayers;
|
|
6470
|
-
return $super === VOID ? this.
|
|
6470
|
+
return $super === VOID ? this.aaf(config, metadata, connectedPlayers) : $super.aaf.call(this, config, metadata, connectedPlayers);
|
|
6471
6471
|
};
|
|
6472
6472
|
protoOf(ServerStatePayload).toString = function () {
|
|
6473
6473
|
return 'ServerStatePayload(config=' + this.config.toString() + ', metadata=' + toString(this.metadata) + ', connectedPlayers=' + toString(this.connectedPlayers) + ')';
|
|
@@ -6515,7 +6515,7 @@
|
|
|
6515
6515
|
return new ServerLoggerKey(_this__u8e3s4.gameId);
|
|
6516
6516
|
}
|
|
6517
6517
|
function serverLoggerKeyFromPayload(_this__u8e3s4, payload) {
|
|
6518
|
-
var gameId = Companion_instance_5.
|
|
6518
|
+
var gameId = Companion_instance_5.x9o(payload);
|
|
6519
6519
|
var tmp;
|
|
6520
6520
|
if (!(gameId == null)) {
|
|
6521
6521
|
tmp = new ServerLoggerKey(gameId);
|
|
@@ -6532,14 +6532,14 @@
|
|
|
6532
6532
|
return new GameServerEngineControllerImpl(loggerCallback, randomOrgConfig);
|
|
6533
6533
|
}
|
|
6534
6534
|
function _get_logger__rkp4sl_0($this) {
|
|
6535
|
-
var tmp0 = $this.
|
|
6535
|
+
var tmp0 = $this.kaf_1;
|
|
6536
6536
|
var tmp = KProperty1;
|
|
6537
6537
|
// Inline function 'kotlin.getValue' call
|
|
6538
6538
|
getPropertyCallableRef('logger', 1, tmp, GameServerEngineControllerImpl$_get_logger_$ref_b9j0th(), null);
|
|
6539
6539
|
return tmp0.x();
|
|
6540
6540
|
}
|
|
6541
6541
|
function _get_di__ndbzja($this) {
|
|
6542
|
-
var tmp0 = $this.
|
|
6542
|
+
var tmp0 = $this.laf_1;
|
|
6543
6543
|
var tmp = KProperty1;
|
|
6544
6544
|
// Inline function 'kotlin.getValue' call
|
|
6545
6545
|
getPropertyCallableRef('di', 1, tmp, GameServerEngineControllerImpl$_get_di_$ref_cvlqo6(), null);
|
|
@@ -6556,8 +6556,8 @@
|
|
|
6556
6556
|
}
|
|
6557
6557
|
function createCallbackOutput($this, gameServer) {
|
|
6558
6558
|
var tmp;
|
|
6559
|
-
if (!($this.
|
|
6560
|
-
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.
|
|
6559
|
+
if (!($this.iaf_1 == null)) {
|
|
6560
|
+
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.iaf_1);
|
|
6561
6561
|
tmp = new CallbackWrapperLoggerOutput(tmp_0, GameServerEngineControllerImpl$createCallbackOutput$lambda(gameServer));
|
|
6562
6562
|
} else {
|
|
6563
6563
|
tmp = null;
|
|
@@ -6571,11 +6571,11 @@
|
|
|
6571
6571
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
6572
6572
|
return function () {
|
|
6573
6573
|
var tmp;
|
|
6574
|
-
if (this$0.
|
|
6574
|
+
if (this$0.iaf_1 == null) {
|
|
6575
6575
|
tmp = null;
|
|
6576
6576
|
} else {
|
|
6577
6577
|
// Inline function 'kotlin.let' call
|
|
6578
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
6578
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.iaf_1)]));
|
|
6579
6579
|
}
|
|
6580
6580
|
var tmp1_elvis_lhs = tmp;
|
|
6581
6581
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -6608,7 +6608,7 @@
|
|
|
6608
6608
|
tmp_0.d63(tmp$ret$3);
|
|
6609
6609
|
$this$DI.h5z(jsonModule());
|
|
6610
6610
|
$this$DI.h5z(serverHelpersModule());
|
|
6611
|
-
$this$DI.h5z(randomOrgModule(this$0.
|
|
6611
|
+
$this$DI.h5z(randomOrgModule(this$0.jaf_1));
|
|
6612
6612
|
return Unit_instance;
|
|
6613
6613
|
};
|
|
6614
6614
|
}
|
|
@@ -6684,16 +6684,16 @@
|
|
|
6684
6684
|
};
|
|
6685
6685
|
}
|
|
6686
6686
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1($reducer) {
|
|
6687
|
-
this.
|
|
6687
|
+
this.saf_1 = $reducer;
|
|
6688
6688
|
}
|
|
6689
6689
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).j6g = function (action) {
|
|
6690
6690
|
return isInterface(action, Action);
|
|
6691
6691
|
};
|
|
6692
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
6693
|
-
return this.
|
|
6692
|
+
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).v9j = function (state, action) {
|
|
6693
|
+
return this.saf_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
6694
6694
|
};
|
|
6695
6695
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).z6h = function (state, action) {
|
|
6696
|
-
return this.
|
|
6696
|
+
return this.v9j((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
6697
6697
|
};
|
|
6698
6698
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($gameServer) {
|
|
6699
6699
|
return function () {
|
|
@@ -6773,7 +6773,7 @@
|
|
|
6773
6773
|
}
|
|
6774
6774
|
function GameServerEngineControllerImpl$createCallbackOutput$lambda($gameServer) {
|
|
6775
6775
|
return function (it) {
|
|
6776
|
-
var payload = Companion_instance_7.
|
|
6776
|
+
var payload = Companion_instance_7.j9n(it);
|
|
6777
6777
|
var tmp;
|
|
6778
6778
|
if (!(payload == null)) {
|
|
6779
6779
|
return payload;
|
|
@@ -6794,7 +6794,7 @@
|
|
|
6794
6794
|
// Inline function 'kotlin.let' call
|
|
6795
6795
|
$this$DI.h5z(tmp0_safe_receiver);
|
|
6796
6796
|
}
|
|
6797
|
-
$this$DI.h5z(dealerModule(this$0.randomPoolProvider, this$0.
|
|
6797
|
+
$this$DI.h5z(dealerModule(this$0.randomPoolProvider, this$0.jaf_1));
|
|
6798
6798
|
$this$DI.h5z(coreModule($coreConfig));
|
|
6799
6799
|
$this$DI.h5z(createGameServerDI($serverConfig, $logicConfig, $engineBotConfig, $dealerConfig, $ratingConfig, $externalReducers, $externalMiddlewares));
|
|
6800
6800
|
return Unit_instance;
|
|
@@ -6803,8 +6803,8 @@
|
|
|
6803
6803
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
6804
6804
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
6805
6805
|
production = production === VOID ? true : production;
|
|
6806
|
-
this.
|
|
6807
|
-
this.
|
|
6806
|
+
this.iaf_1 = loggerCallback;
|
|
6807
|
+
this.jaf_1 = randomOrgConfig;
|
|
6808
6808
|
var tmp = AppEnvironment_getInstance();
|
|
6809
6809
|
var tmp_0;
|
|
6810
6810
|
if (production) {
|
|
@@ -6814,9 +6814,9 @@
|
|
|
6814
6814
|
}
|
|
6815
6815
|
tmp.g6m(tmp_0);
|
|
6816
6816
|
var tmp_1 = this;
|
|
6817
|
-
tmp_1.
|
|
6817
|
+
tmp_1.kaf_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
6818
6818
|
var tmp_2 = this;
|
|
6819
|
-
tmp_2.
|
|
6819
|
+
tmp_2.laf_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
6820
6820
|
var tmp_3 = this;
|
|
6821
6821
|
// Inline function 'org.kodein.di.instance' call
|
|
6822
6822
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -6825,7 +6825,7 @@
|
|
|
6825
6825
|
var tmp$ret$0 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
6826
6826
|
var tmp_5 = Instance(this_0, tmp$ret$0, null);
|
|
6827
6827
|
var tmp_6 = KProperty1;
|
|
6828
|
-
tmp_3.
|
|
6828
|
+
tmp_3.maf_1 = tmp_5.a65(this, getPropertyCallableRef('parser', 1, tmp_6, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w(), null));
|
|
6829
6829
|
var tmp_7 = this;
|
|
6830
6830
|
// Inline function 'org.kodein.di.instance' call
|
|
6831
6831
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -6834,7 +6834,7 @@
|
|
|
6834
6834
|
var tmp$ret$2 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
6835
6835
|
var tmp_9 = Instance(this_1, tmp$ret$2, null);
|
|
6836
6836
|
var tmp_10 = KProperty1;
|
|
6837
|
-
tmp_7.
|
|
6837
|
+
tmp_7.naf_1 = tmp_9.a65(this, getPropertyCallableRef('helper', 1, tmp_10, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f(), null));
|
|
6838
6838
|
var tmp_11 = this;
|
|
6839
6839
|
// Inline function 'org.kodein.di.instance' call
|
|
6840
6840
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -6843,7 +6843,7 @@
|
|
|
6843
6843
|
var tmp$ret$4 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
6844
6844
|
var tmp_13 = Instance(this_2, tmp$ret$4, null);
|
|
6845
6845
|
var tmp_14 = KProperty1;
|
|
6846
|
-
tmp_11.
|
|
6846
|
+
tmp_11.oaf_1 = tmp_13.a65(this, getPropertyCallableRef('serverHelper', 1, tmp_14, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre(), null));
|
|
6847
6847
|
var tmp_15 = this;
|
|
6848
6848
|
// Inline function 'org.kodein.di.instance' call
|
|
6849
6849
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -6852,7 +6852,7 @@
|
|
|
6852
6852
|
var tmp$ret$6 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
6853
6853
|
var tmp_17 = Instance(this_3, tmp$ret$6, null);
|
|
6854
6854
|
var tmp_18 = KProperty1;
|
|
6855
|
-
tmp_15.
|
|
6855
|
+
tmp_15.paf_1 = tmp_17.a65(this, getPropertyCallableRef('resources', 1, tmp_18, GameServerEngineControllerImpl$_get_resources_$ref_dt6416(), null));
|
|
6856
6856
|
var tmp_19 = this;
|
|
6857
6857
|
// Inline function 'org.kodein.di.instance' call
|
|
6858
6858
|
var this_4 = _get_di__ndbzja(this);
|
|
@@ -6861,7 +6861,7 @@
|
|
|
6861
6861
|
var tmp$ret$8 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
6862
6862
|
var tmp_21 = Instance(this_4, tmp$ret$8, null);
|
|
6863
6863
|
var tmp_22 = KProperty1;
|
|
6864
|
-
tmp_19.
|
|
6864
|
+
tmp_19.qaf_1 = tmp_21.a65(this, getPropertyCallableRef('test', 1, tmp_22, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5(), null));
|
|
6865
6865
|
var tmp_23 = this;
|
|
6866
6866
|
// Inline function 'org.kodein.di.instance' call
|
|
6867
6867
|
var this_5 = _get_di__ndbzja(this);
|
|
@@ -6870,45 +6870,45 @@
|
|
|
6870
6870
|
var tmp$ret$10 = isInterface(tmp_24, TypeToken) ? tmp_24 : THROW_CCE();
|
|
6871
6871
|
var tmp_25 = Instance(this_5, tmp$ret$10, null);
|
|
6872
6872
|
var tmp_26 = KProperty1;
|
|
6873
|
-
tmp_23.
|
|
6873
|
+
tmp_23.raf_1 = tmp_25.a65(this, getPropertyCallableRef('randomPoolProvider', 1, tmp_26, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl(), null));
|
|
6874
6874
|
}
|
|
6875
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6876
|
-
var tmp0 = this.
|
|
6875
|
+
protoOf(GameServerEngineControllerImpl).baf = function () {
|
|
6876
|
+
var tmp0 = this.maf_1;
|
|
6877
6877
|
var tmp = KProperty1;
|
|
6878
6878
|
// Inline function 'kotlin.getValue' call
|
|
6879
6879
|
getPropertyCallableRef('parser', 1, tmp, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w_0(), null);
|
|
6880
6880
|
return tmp0.x();
|
|
6881
6881
|
};
|
|
6882
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6883
|
-
var tmp0 = this.
|
|
6882
|
+
protoOf(GameServerEngineControllerImpl).daf = function () {
|
|
6883
|
+
var tmp0 = this.naf_1;
|
|
6884
6884
|
var tmp = KProperty1;
|
|
6885
6885
|
// Inline function 'kotlin.getValue' call
|
|
6886
6886
|
getPropertyCallableRef('helper', 1, tmp, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f_0(), null);
|
|
6887
6887
|
return tmp0.x();
|
|
6888
6888
|
};
|
|
6889
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6890
|
-
var tmp0 = this.
|
|
6889
|
+
protoOf(GameServerEngineControllerImpl).eaf = function () {
|
|
6890
|
+
var tmp0 = this.oaf_1;
|
|
6891
6891
|
var tmp = KProperty1;
|
|
6892
6892
|
// Inline function 'kotlin.getValue' call
|
|
6893
6893
|
getPropertyCallableRef('serverHelper', 1, tmp, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre_0(), null);
|
|
6894
6894
|
return tmp0.x();
|
|
6895
6895
|
};
|
|
6896
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6897
|
-
var tmp0 = this.
|
|
6896
|
+
protoOf(GameServerEngineControllerImpl).faf = function () {
|
|
6897
|
+
var tmp0 = this.paf_1;
|
|
6898
6898
|
var tmp = KProperty1;
|
|
6899
6899
|
// Inline function 'kotlin.getValue' call
|
|
6900
6900
|
getPropertyCallableRef('resources', 1, tmp, GameServerEngineControllerImpl$_get_resources_$ref_dt6416_0(), null);
|
|
6901
6901
|
return tmp0.x();
|
|
6902
6902
|
};
|
|
6903
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6904
|
-
var tmp0 = this.
|
|
6903
|
+
protoOf(GameServerEngineControllerImpl).caf = function () {
|
|
6904
|
+
var tmp0 = this.qaf_1;
|
|
6905
6905
|
var tmp = KProperty1;
|
|
6906
6906
|
// Inline function 'kotlin.getValue' call
|
|
6907
6907
|
getPropertyCallableRef('test', 1, tmp, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5_0(), null);
|
|
6908
6908
|
return tmp0.x();
|
|
6909
6909
|
};
|
|
6910
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6911
|
-
var tmp0 = this.
|
|
6910
|
+
protoOf(GameServerEngineControllerImpl).gaf = function () {
|
|
6911
|
+
var tmp0 = this.raf_1;
|
|
6912
6912
|
var tmp = KProperty1;
|
|
6913
6913
|
// Inline function 'kotlin.getValue' call
|
|
6914
6914
|
getPropertyCallableRef('randomPoolProvider', 1, tmp, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl_0(), null);
|
|
@@ -6920,7 +6920,7 @@
|
|
|
6920
6920
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
6921
6921
|
return this.createGameEngineWithLogic();
|
|
6922
6922
|
};
|
|
6923
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6923
|
+
protoOf(GameServerEngineControllerImpl).haf = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig, botConfig) {
|
|
6924
6924
|
var combinedLogger = Companion_instance_8.nx();
|
|
6925
6925
|
var gameServer = {_v: null};
|
|
6926
6926
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -6968,7 +6968,7 @@
|
|
|
6968
6968
|
function TestHelper() {
|
|
6969
6969
|
}
|
|
6970
6970
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
6971
|
-
var tmp0 = $this.
|
|
6971
|
+
var tmp0 = $this.vaf_1;
|
|
6972
6972
|
var tmp = KProperty1;
|
|
6973
6973
|
// Inline function 'kotlin.getValue' call
|
|
6974
6974
|
getPropertyCallableRef('playerAnswerInteractor', 1, tmp, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy_0(), null);
|
|
@@ -6976,7 +6976,7 @@
|
|
|
6976
6976
|
}
|
|
6977
6977
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
6978
6978
|
return function ($this$singleton) {
|
|
6979
|
-
return this$0.
|
|
6979
|
+
return this$0.taf_1;
|
|
6980
6980
|
};
|
|
6981
6981
|
}
|
|
6982
6982
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -7016,27 +7016,27 @@
|
|
|
7016
7016
|
return emptyMap();
|
|
7017
7017
|
}
|
|
7018
7018
|
function TestHelperImpl(logger) {
|
|
7019
|
-
this.
|
|
7019
|
+
this.taf_1 = logger;
|
|
7020
7020
|
var tmp = this;
|
|
7021
7021
|
var tmp_0 = Companion_instance_6;
|
|
7022
|
-
tmp.
|
|
7022
|
+
tmp.uaf_1 = tmp_0.o5z(VOID, TestHelperImpl$di$lambda(this));
|
|
7023
7023
|
var tmp_1 = this;
|
|
7024
7024
|
// Inline function 'org.kodein.di.instance' call
|
|
7025
|
-
var this_0 = this.
|
|
7025
|
+
var this_0 = this.uaf_1;
|
|
7026
7026
|
// Inline function 'org.kodein.type.generic' call
|
|
7027
7027
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
7028
7028
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
7029
7029
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
7030
7030
|
var tmp_4 = KProperty1;
|
|
7031
|
-
tmp_1.
|
|
7031
|
+
tmp_1.vaf_1 = tmp_3.a65(this, getPropertyCallableRef('playerAnswerInteractor', 1, tmp_4, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy(), null));
|
|
7032
7032
|
}
|
|
7033
7033
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
7034
|
-
return _get_playerAnswerInteractor__msggz1(this).
|
|
7034
|
+
return _get_playerAnswerInteractor__msggz1(this).d8u(playerId, table, botConfig);
|
|
7035
7035
|
};
|
|
7036
7036
|
protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
|
|
7037
7037
|
var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
|
|
7038
7038
|
if (isInterface(mechanicAction, NextPlayerTurnAction)) {
|
|
7039
|
-
var tmp0 = mechanicAction.
|
|
7039
|
+
var tmp0 = mechanicAction.f97();
|
|
7040
7040
|
var tmp$ret$0;
|
|
7041
7041
|
$l$block_0: {
|
|
7042
7042
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -7068,7 +7068,7 @@
|
|
|
7068
7068
|
};
|
|
7069
7069
|
protoOf(TestHelperImpl).getPlayerAnswerFromMechanicAction = function (table, currentPlayerId, action, botConfig) {
|
|
7070
7070
|
if (isInterface(action, NextPlayerTurnAction)) {
|
|
7071
|
-
var tmp0 = action.
|
|
7071
|
+
var tmp0 = action.f97();
|
|
7072
7072
|
var tmp$ret$0;
|
|
7073
7073
|
$l$block_0: {
|
|
7074
7074
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -7101,14 +7101,14 @@
|
|
|
7101
7101
|
function RoomMetadata() {
|
|
7102
7102
|
var tmp = this;
|
|
7103
7103
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
7104
|
-
tmp.
|
|
7104
|
+
tmp.waf_1 = LinkedHashMap_init_$Create$();
|
|
7105
7105
|
this.extras = {};
|
|
7106
|
-
this.extras = this.
|
|
7106
|
+
this.extras = this.waf_1;
|
|
7107
7107
|
}
|
|
7108
|
-
protoOf(RoomMetadata).
|
|
7108
|
+
protoOf(RoomMetadata).xaf = function () {
|
|
7109
7109
|
return this.extras;
|
|
7110
7110
|
};
|
|
7111
|
-
protoOf(RoomMetadata).
|
|
7111
|
+
protoOf(RoomMetadata).xaf = function () {
|
|
7112
7112
|
return this.extras;
|
|
7113
7113
|
};
|
|
7114
7114
|
protoOf(RoomMetadata).getGame = function (gameId) {
|
|
@@ -7126,7 +7126,7 @@
|
|
|
7126
7126
|
};
|
|
7127
7127
|
protoOf(RoomMetadata).addGame = function (gameId, game) {
|
|
7128
7128
|
// Inline function 'kotlin.collections.set' call
|
|
7129
|
-
this.
|
|
7129
|
+
this.waf_1.f2(gameId, game);
|
|
7130
7130
|
};
|
|
7131
7131
|
function GameMetadata(gameId) {
|
|
7132
7132
|
this.gameId = gameId;
|
|
@@ -7135,7 +7135,7 @@
|
|
|
7135
7135
|
protoOf(GameMetadata).d54 = function () {
|
|
7136
7136
|
return this.gameId;
|
|
7137
7137
|
};
|
|
7138
|
-
protoOf(GameMetadata).
|
|
7138
|
+
protoOf(GameMetadata).xaf = function () {
|
|
7139
7139
|
return this.extras;
|
|
7140
7140
|
};
|
|
7141
7141
|
function serverHelpersModule() {
|
|
@@ -7197,7 +7197,7 @@
|
|
|
7197
7197
|
protoOf(GameServer).roomOnDelete = roomOnDelete;
|
|
7198
7198
|
protoOf(GameServer).shutdown = shutdown;
|
|
7199
7199
|
defineProp(protoOf(GameServer), 'metadata', function () {
|
|
7200
|
-
return this.
|
|
7200
|
+
return this.w8m();
|
|
7201
7201
|
});
|
|
7202
7202
|
defineProp(protoOf(GameServer), 'id', function () {
|
|
7203
7203
|
return this.z53();
|
|
@@ -7216,17 +7216,17 @@
|
|
|
7216
7216
|
});
|
|
7217
7217
|
protoOf($serializer).xz = typeParametersSerializers;
|
|
7218
7218
|
defineProp(protoOf(TableStateUpdateDto), 'roomId', function () {
|
|
7219
|
-
return this.
|
|
7219
|
+
return this.q8j();
|
|
7220
7220
|
});
|
|
7221
7221
|
protoOf($serializer_0).xz = typeParametersSerializers;
|
|
7222
7222
|
defineProp(protoOf(ActionsStateUpdateDto), 'roomId', function () {
|
|
7223
|
-
return this.
|
|
7223
|
+
return this.q8j();
|
|
7224
7224
|
});
|
|
7225
7225
|
defineProp(protoOf(TableStateUpdate), 'roomId', function () {
|
|
7226
|
-
return this.
|
|
7226
|
+
return this.q8j();
|
|
7227
7227
|
});
|
|
7228
7228
|
defineProp(protoOf(ActionsStateUpdate), 'roomId', function () {
|
|
7229
|
-
return this.
|
|
7229
|
+
return this.q8j();
|
|
7230
7230
|
});
|
|
7231
7231
|
protoOf(UpdateServerConfigAction).v6f = get_actionTag;
|
|
7232
7232
|
defineProp(protoOf(UpdateServerConfigAction), 'actionTag', function () {
|
|
@@ -7241,25 +7241,25 @@
|
|
|
7241
7241
|
return this.v6f();
|
|
7242
7242
|
});
|
|
7243
7243
|
protoOf(PlayerReconnectionWaitingTimerTag).ignoreValidation = ignoreValidation;
|
|
7244
|
-
protoOf(PlayerReconnectionWaitingTimerTag).
|
|
7244
|
+
protoOf(PlayerReconnectionWaitingTimerTag).a93 = ignoreTimerResetValidation;
|
|
7245
7245
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
7246
7246
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
7247
|
-
return this.
|
|
7247
|
+
return this.baf();
|
|
7248
7248
|
});
|
|
7249
7249
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
7250
|
-
return this.
|
|
7250
|
+
return this.daf();
|
|
7251
7251
|
});
|
|
7252
7252
|
defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
|
|
7253
|
-
return this.
|
|
7253
|
+
return this.eaf();
|
|
7254
7254
|
});
|
|
7255
7255
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
7256
|
-
return this.
|
|
7256
|
+
return this.faf();
|
|
7257
7257
|
});
|
|
7258
7258
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
7259
|
-
return this.
|
|
7259
|
+
return this.caf();
|
|
7260
7260
|
});
|
|
7261
7261
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
7262
|
-
return this.
|
|
7262
|
+
return this.gaf();
|
|
7263
7263
|
});
|
|
7264
7264
|
//endregion
|
|
7265
7265
|
//region block: init
|