raspberry_games_server_game_logic 1.8.437 → 1.8.438
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 +1867 -1792
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.js +876 -876
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +4 -4
- package/kotlinx-coroutines-core.js +1 -1
- package/package.json +1 -1
|
@@ -402,10 +402,10 @@
|
|
|
402
402
|
spectators = tmp;
|
|
403
403
|
var tmp_0;
|
|
404
404
|
if ($super === VOID) {
|
|
405
|
-
this.
|
|
405
|
+
this.ua8(roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
406
406
|
tmp_0 = Unit_instance;
|
|
407
407
|
} else {
|
|
408
|
-
tmp_0 = $super.
|
|
408
|
+
tmp_0 = $super.ua8.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.wa8(newRid);
|
|
417
417
|
tmp = Unit_instance;
|
|
418
418
|
} else {
|
|
419
|
-
tmp = $super.
|
|
419
|
+
tmp = $super.wa8.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.xa8(reason, roomId);
|
|
428
428
|
tmp = Unit_instance;
|
|
429
429
|
} else {
|
|
430
|
-
tmp = $super.
|
|
430
|
+
tmp = $super.xa8.call(this, reason, roomId);
|
|
431
431
|
}
|
|
432
432
|
return tmp;
|
|
433
433
|
}
|
|
434
434
|
function playerLeft(playerId, permanently, $super) {
|
|
435
435
|
permanently = permanently === VOID ? true : permanently;
|
|
436
|
-
return $super === VOID ? this.
|
|
436
|
+
return $super === VOID ? this.ta8(playerId, permanently) : $super.ta8.call(this, playerId, 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.yae(reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig, botConfig) : $super.yae.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.n9q_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).p9q = function (it, $completion) {
|
|
527
|
+
var tmp = this.q9q(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.p9q(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.n9q_1(this.o9q_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).q9q = function (it, completion) {
|
|
554
|
+
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.n9q_1, completion);
|
|
555
|
+
i.o9q_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.p9q(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.z9q_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).b9r = function (it, $completion) {
|
|
571
|
+
var tmp = this.c9r(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.b9r((!(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.z9q_1(this.a9r_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).c9r = function (it, completion) {
|
|
598
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.z9q_1, completion);
|
|
599
|
+
i.a9r_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.b9r(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.l9r_1 = $$this$unsafeFlow;
|
|
612
|
+
this.m9r_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.l9r_1;
|
|
633
|
+
var value = this.n9r_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.m9r_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.l9r_1, this.m9r_1, completion);
|
|
659
|
+
i.n9r_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.w9r_1 = _this__u8e3s4;
|
|
673
|
+
this.x9r_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.x9r_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.w9r_1.z9r_1, null);
|
|
686
|
+
suspendResult = this.w9r_1.y9r_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.y9r_1 = $this;
|
|
710
|
+
this.z9r_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.i9s_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).k9s = function (it, $completion) {
|
|
726
|
+
var tmp = this.l9s(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.k9s((!(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.i9s_1(this.j9s_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).l9s = function (it, completion) {
|
|
753
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.i9s_1, completion);
|
|
754
|
+
i.j9s_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.k9s(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.u9s_1 = $$this$unsafeFlow;
|
|
767
|
+
this.v9s_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.u9s_1;
|
|
788
|
+
var value = this.w9s_1;
|
|
789
789
|
this.s8_1 = 1;
|
|
790
|
-
suspendResult = tmp0.o28(new ActionsStateUpdate(this.
|
|
790
|
+
suspendResult = tmp0.o28(new ActionsStateUpdate(this.v9s_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.u9s_1, this.v9s_1, completion);
|
|
814
|
+
i.w9s_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.f9t_1 = _this__u8e3s4;
|
|
828
|
+
this.g9t_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.g9t_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.f9t_1.i9t_1, null);
|
|
841
|
+
suspendResult = this.f9t_1.h9t_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.h9t_1 = $this;
|
|
865
|
+
this.i9t_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.r9t_1 = $table;
|
|
878
|
+
this.s9t_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).u9t = function ($this$flow, $completion) {
|
|
882
|
+
var tmp = this.v9t($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.u9t((!(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.t9t_1.o28(new TableStateUpdate(this.r9t_1.id, this.r9t_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.s9t_1).c8s(), fromInt(_get_serverReduxConfig__rprcrm(this.s9t_1).serverStateUpdateIntervalMillis));
|
|
908
|
+
suspendResult = emitAll(this.t9t_1, new _no_name_provided__qut3iv(this_0, this.r9t_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).v9t = function ($this$flow, completion) {
|
|
931
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.r9t_1, this.s9t_1, completion);
|
|
932
|
+
i.t9t_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.u9t($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.e9u_1 = $$this$unsafeFlow;
|
|
945
|
+
this.f9u_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.k9u_1 = this.e9u_1;
|
|
967
967
|
var tmp_1 = this;
|
|
968
|
-
tmp_1.
|
|
968
|
+
tmp_1.j9u_1 = this.g9u_1;
|
|
969
969
|
this.s8_1 = 1;
|
|
970
970
|
continue $sm;
|
|
971
971
|
case 1:
|
|
972
|
-
this.
|
|
973
|
-
var it = this.
|
|
972
|
+
this.h9u_1 = this.k9u_1;
|
|
973
|
+
var it = this.j9u_1;
|
|
974
974
|
var tmp_2;
|
|
975
|
-
if (get_isCreated(this.
|
|
975
|
+
if (get_isCreated(this.f9u_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.i9u_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.i9u_1;
|
|
994
994
|
this.s8_1 = 3;
|
|
995
|
-
suspendResult = this.
|
|
995
|
+
suspendResult = this.h9u_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.e9u_1, this.f9u_1, completion);
|
|
1027
|
+
i.g9u_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.t9u_1 = _this__u8e3s4;
|
|
1041
|
+
this.u9u_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.u9u_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.t9u_1.w9u_1, null);
|
|
1054
|
+
suspendResult = this.t9u_1.v9u_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.f9v_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.k9v_1 = this.f9v_1;
|
|
1099
1099
|
var tmp_1 = this;
|
|
1100
|
-
tmp_1.
|
|
1100
|
+
tmp_1.j9v_1 = this.g9v_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.h9v_1 = this.k9v_1;
|
|
1105
|
+
var tmp0_elvis_lhs = this.j9v_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.i9v_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.i9v_1;
|
|
1118
1118
|
this.s8_1 = 3;
|
|
1119
|
-
suspendResult = this.
|
|
1119
|
+
suspendResult = this.h9v_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.f9v_1, completion);
|
|
1151
|
+
i.g9v_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.t9v_1 = _this__u8e3s4;
|
|
1165
|
+
this.u9v_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.u9v_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.t9v_1.v9v_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.e9w_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.e9w_1;
|
|
1222
|
+
var value = this.f9w_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.e9w_1, completion);
|
|
1248
|
+
i.f9w_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.o9w_1 = _this__u8e3s4;
|
|
1262
|
+
this.p9w_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.p9w_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.o9w_1.q9w_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.z9w_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.z9w_1;
|
|
1319
|
+
var value = this.a9x_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.z9w_1, completion);
|
|
1345
|
+
i.a9x_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.j9x_1 = _this__u8e3s4;
|
|
1359
|
+
this.k9x_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.k9x_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.j9x_1.l9x_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.u9x_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).w9x = function (it, $completion) {
|
|
1399
|
+
var tmp = this.x9x(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.w9x(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.u9x_1(this.v9x_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).x9x = function (it, completion) {
|
|
1426
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.u9x_1, completion);
|
|
1427
|
+
i.v9x_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.w9x(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.c9y_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.d9y_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.e9y_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.f9y_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.g9y_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.h9y_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.i9y_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.j9y_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.k9y_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.l9y_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.m9y_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).p8z(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;
|
|
@@ -1639,20 +1639,20 @@
|
|
|
1639
1639
|
return _get_teamsLogicProvider__u10pm6($this).x8r(updatedTeams);
|
|
1640
1640
|
}
|
|
1641
1641
|
function Companion() {
|
|
1642
|
-
this.
|
|
1642
|
+
this.o9y_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.p9y_1 = function_0;
|
|
1650
1650
|
}
|
|
1651
1651
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).o28 = function (value, $completion) {
|
|
1652
|
-
return this.
|
|
1652
|
+
return this.p9y_1(value, $completion);
|
|
1653
1653
|
};
|
|
1654
1654
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).b3 = function () {
|
|
1655
|
-
return this.
|
|
1655
|
+
return this.p9y_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.q9y_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.q9y_1(value, $completion);
|
|
1680
1680
|
};
|
|
1681
1681
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).b3 = function () {
|
|
1682
|
-
return this.
|
|
1682
|
+
return this.q9y_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.r9y_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.r9y_1(value, $completion);
|
|
1707
1707
|
};
|
|
1708
1708
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).b3 = function () {
|
|
1709
|
-
return this.
|
|
1709
|
+
return this.r9y_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.s9y_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.s9y_1(value, $completion);
|
|
1734
1734
|
};
|
|
1735
1735
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).b3 = function () {
|
|
1736
|
-
return this.
|
|
1736
|
+
return this.s9y_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.t9y_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.t9y_1(value, $completion);
|
|
1761
1761
|
};
|
|
1762
1762
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).b3 = function () {
|
|
1763
|
-
return this.
|
|
1763
|
+
return this.t9y_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.u9y_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.u9y_1(value, $completion);
|
|
1788
1788
|
};
|
|
1789
1789
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).b3 = function () {
|
|
1790
|
-
return this.
|
|
1790
|
+
return this.u9y_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.d9z_1 = this$0;
|
|
1922
|
+
this.e9z_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.d9z_1).g9z();
|
|
1944
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.e9z_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.d9z_1, this.e9z_1, completion);
|
|
1969
|
+
i.f9z_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.p9z_1 = this$0;
|
|
1982
|
+
this.q9z_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.p9z_1);
|
|
2004
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.q9z_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.p9z_1, this.q9z_1, completion);
|
|
2029
|
+
i.r9z_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.aa0_1 = this$0;
|
|
2042
|
+
this.ba0_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.aa0_1);
|
|
2064
|
+
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.aa0_1);
|
|
2065
|
+
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.ba0_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.aa0_1, this.ba0_1, completion);
|
|
2090
|
+
i.ca0_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.la0_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).oa0 = function ($this$transformLatest, it, $completion) {
|
|
2106
|
+
var tmp = this.pa0($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.oa0(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.na0_1;
|
|
2125
|
+
suspendResult = emitAll(this.ma0_1, flow(GameServer$observeTableStateUpdates$slambda$slambda_0(table, this.la0_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).pa0 = function ($this$transformLatest, it, completion) {
|
|
2148
|
+
var i = new GameServer$observeTableStateUpdates$slambda(this.la0_1, completion);
|
|
2149
|
+
i.ma0_1 = $this$transformLatest;
|
|
2150
|
+
i.na0_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.oa0($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.v9u_1 = $this;
|
|
2163
|
+
this.w9u_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.v9v_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.q9w_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.l9x_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.ya0_1 = this$0;
|
|
2215
|
+
this.za0_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.ya0_1.b6r());
|
|
2237
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.za0_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.ya0_1, this.za0_1, completion);
|
|
2262
|
+
i.aa1_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.ja1_1 = $action;
|
|
2275
2275
|
CoroutineImpl.call(this, resultContinuation);
|
|
2276
2276
|
}
|
|
2277
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
2278
|
-
var tmp = this.
|
|
2277
|
+
protoOf(GameServer$fromClientEvent$slambda).ma1 = function ($this$dispatchAsync, store, $completion) {
|
|
2278
|
+
var tmp = this.na1($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.ma1(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.ja1_1 instanceof PlayerReadyFromClientAction)
|
|
2295
|
+
if (!get_isCreated(this.la1_1.state)) {
|
|
2296
2296
|
return Unit_instance;
|
|
2297
2297
|
}
|
|
2298
|
-
this.
|
|
2298
|
+
this.la1_1.dispatch(this.ja1_1);
|
|
2299
2299
|
return Unit_instance;
|
|
2300
2300
|
} else if (tmp === 1) {
|
|
2301
2301
|
throw this.v8_1;
|
|
@@ -2306,33 +2306,33 @@
|
|
|
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).na1 = function ($this$dispatchAsync, store, completion) {
|
|
2310
|
+
var i = new GameServer$fromClientEvent$slambda(this.ja1_1, completion);
|
|
2311
|
+
i.ka1_1 = $this$dispatchAsync;
|
|
2312
|
+
i.la1_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.ma1($this$dispatchAsync, store, $completion);
|
|
2319
2319
|
};
|
|
2320
2320
|
l.$arity = 2;
|
|
2321
2321
|
return l;
|
|
2322
2322
|
}
|
|
2323
2323
|
function GameServer$playerLostConnection$slambda($playerId, resultContinuation) {
|
|
2324
|
-
this.
|
|
2324
|
+
this.wa1_1 = $playerId;
|
|
2325
2325
|
CoroutineImpl.call(this, resultContinuation);
|
|
2326
2326
|
}
|
|
2327
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2328
|
-
var tmp = this.
|
|
2327
|
+
protoOf(GameServer$playerLostConnection$slambda).ma1 = function ($this$dispatchAsync, store, $completion) {
|
|
2328
|
+
var tmp = this.na1($this$dispatchAsync, store, $completion);
|
|
2329
2329
|
tmp.u8_1 = Unit_instance;
|
|
2330
2330
|
tmp.v8_1 = null;
|
|
2331
2331
|
return tmp.a9();
|
|
2332
2332
|
};
|
|
2333
2333
|
protoOf(GameServer$playerLostConnection$slambda).j9 = function (p1, p2, $completion) {
|
|
2334
2334
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2335
|
-
return this.
|
|
2335
|
+
return this.ma1(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2336
2336
|
};
|
|
2337
2337
|
protoOf(GameServer$playerLostConnection$slambda).a9 = function () {
|
|
2338
2338
|
var suspendResult = this.u8_1;
|
|
@@ -2341,12 +2341,12 @@
|
|
|
2341
2341
|
var tmp = this.s8_1;
|
|
2342
2342
|
if (tmp === 0) {
|
|
2343
2343
|
this.t8_1 = 1;
|
|
2344
|
-
if (!get_isCreated(this.
|
|
2344
|
+
if (!get_isCreated(this.ya1_1.state)) {
|
|
2345
2345
|
return Unit_instance;
|
|
2346
2346
|
}
|
|
2347
|
-
var tmp_0 = this.
|
|
2347
|
+
var tmp_0 = this.ya1_1.dispatch;
|
|
2348
2348
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
2349
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2349
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.wa1_1));
|
|
2350
2350
|
return Unit_instance;
|
|
2351
2351
|
} else if (tmp === 1) {
|
|
2352
2352
|
throw this.v8_1;
|
|
@@ -2357,34 +2357,34 @@
|
|
|
2357
2357
|
}
|
|
2358
2358
|
while (true);
|
|
2359
2359
|
};
|
|
2360
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2361
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
2362
|
-
i.
|
|
2363
|
-
i.
|
|
2360
|
+
protoOf(GameServer$playerLostConnection$slambda).na1 = function ($this$dispatchAsync, store, completion) {
|
|
2361
|
+
var i = new GameServer$playerLostConnection$slambda(this.wa1_1, completion);
|
|
2362
|
+
i.xa1_1 = $this$dispatchAsync;
|
|
2363
|
+
i.ya1_1 = store;
|
|
2364
2364
|
return i;
|
|
2365
2365
|
};
|
|
2366
2366
|
function GameServer$playerLostConnection$slambda_0($playerId, resultContinuation) {
|
|
2367
2367
|
var i = new GameServer$playerLostConnection$slambda($playerId, resultContinuation);
|
|
2368
2368
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2369
|
-
return i.
|
|
2369
|
+
return i.ma1($this$dispatchAsync, store, $completion);
|
|
2370
2370
|
};
|
|
2371
2371
|
l.$arity = 2;
|
|
2372
2372
|
return l;
|
|
2373
2373
|
}
|
|
2374
2374
|
function GameServer$playerLive$slambda(this$0, $playerId, resultContinuation) {
|
|
2375
|
-
this.
|
|
2376
|
-
this.
|
|
2375
|
+
this.ha2_1 = this$0;
|
|
2376
|
+
this.ia2_1 = $playerId;
|
|
2377
2377
|
CoroutineImpl.call(this, resultContinuation);
|
|
2378
2378
|
}
|
|
2379
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2380
|
-
var tmp = this.
|
|
2379
|
+
protoOf(GameServer$playerLive$slambda).ma1 = function ($this$dispatchAsync, store, $completion) {
|
|
2380
|
+
var tmp = this.na1($this$dispatchAsync, store, $completion);
|
|
2381
2381
|
tmp.u8_1 = Unit_instance;
|
|
2382
2382
|
tmp.v8_1 = null;
|
|
2383
2383
|
return tmp.a9();
|
|
2384
2384
|
};
|
|
2385
2385
|
protoOf(GameServer$playerLive$slambda).j9 = function (p1, p2, $completion) {
|
|
2386
2386
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2387
|
-
return this.
|
|
2387
|
+
return this.ma1(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2388
2388
|
};
|
|
2389
2389
|
protoOf(GameServer$playerLive$slambda).a9 = function () {
|
|
2390
2390
|
var suspendResult = this.u8_1;
|
|
@@ -2393,16 +2393,16 @@
|
|
|
2393
2393
|
var tmp = this.s8_1;
|
|
2394
2394
|
if (tmp === 0) {
|
|
2395
2395
|
this.t8_1 = 1;
|
|
2396
|
-
if (get_isFinished(this.
|
|
2396
|
+
if (get_isFinished(this.ka2_1.state) || get_isFinishing(this.ka2_1.state)) {
|
|
2397
2397
|
return Unit_instance;
|
|
2398
2398
|
}
|
|
2399
|
-
if (!_get_serverReduxConfig__rprcrm(this.
|
|
2400
|
-
this.
|
|
2399
|
+
if (!_get_serverReduxConfig__rprcrm(this.ha2_1).waitForPlayerToConnectOnStart && (!get_isCreated(this.ka2_1.state) || !this.ha2_1.x66().e6s())) {
|
|
2400
|
+
this.ha2_1.i4q().v('GameEngine_API', 'playerLive: ' + this.ia2_1 + ' before game is created');
|
|
2401
2401
|
return Unit_instance;
|
|
2402
2402
|
}
|
|
2403
|
-
var tmp_0 = this.
|
|
2403
|
+
var tmp_0 = this.ka2_1.dispatch;
|
|
2404
2404
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2405
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2405
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.ia2_1));
|
|
2406
2406
|
return Unit_instance;
|
|
2407
2407
|
} else if (tmp === 1) {
|
|
2408
2408
|
throw this.v8_1;
|
|
@@ -2413,35 +2413,35 @@
|
|
|
2413
2413
|
}
|
|
2414
2414
|
while (true);
|
|
2415
2415
|
};
|
|
2416
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2417
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
2418
|
-
i.
|
|
2419
|
-
i.
|
|
2416
|
+
protoOf(GameServer$playerLive$slambda).na1 = function ($this$dispatchAsync, store, completion) {
|
|
2417
|
+
var i = new GameServer$playerLive$slambda(this.ha2_1, this.ia2_1, completion);
|
|
2418
|
+
i.ja2_1 = $this$dispatchAsync;
|
|
2419
|
+
i.ka2_1 = store;
|
|
2420
2420
|
return i;
|
|
2421
2421
|
};
|
|
2422
2422
|
function GameServer$playerLive$slambda_0(this$0, $playerId, resultContinuation) {
|
|
2423
2423
|
var i = new GameServer$playerLive$slambda(this$0, $playerId, resultContinuation);
|
|
2424
2424
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2425
|
-
return i.
|
|
2425
|
+
return i.ma1($this$dispatchAsync, store, $completion);
|
|
2426
2426
|
};
|
|
2427
2427
|
l.$arity = 2;
|
|
2428
2428
|
return l;
|
|
2429
2429
|
}
|
|
2430
2430
|
function GameServer$playerLeft$slambda(this$0, $playerId, $permanently, resultContinuation) {
|
|
2431
|
-
this.
|
|
2432
|
-
this.
|
|
2433
|
-
this.
|
|
2431
|
+
this.ta2_1 = this$0;
|
|
2432
|
+
this.ua2_1 = $playerId;
|
|
2433
|
+
this.va2_1 = $permanently;
|
|
2434
2434
|
CoroutineImpl.call(this, resultContinuation);
|
|
2435
2435
|
}
|
|
2436
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2437
|
-
var tmp = this.
|
|
2436
|
+
protoOf(GameServer$playerLeft$slambda).ma1 = function ($this$dispatchAsync, store, $completion) {
|
|
2437
|
+
var tmp = this.na1($this$dispatchAsync, store, $completion);
|
|
2438
2438
|
tmp.u8_1 = Unit_instance;
|
|
2439
2439
|
tmp.v8_1 = null;
|
|
2440
2440
|
return tmp.a9();
|
|
2441
2441
|
};
|
|
2442
2442
|
protoOf(GameServer$playerLeft$slambda).j9 = function (p1, p2, $completion) {
|
|
2443
2443
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2444
|
-
return this.
|
|
2444
|
+
return this.ma1(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2445
2445
|
};
|
|
2446
2446
|
protoOf(GameServer$playerLeft$slambda).a9 = function () {
|
|
2447
2447
|
var suspendResult = this.u8_1;
|
|
@@ -2450,22 +2450,22 @@
|
|
|
2450
2450
|
var tmp = this.s8_1;
|
|
2451
2451
|
if (tmp === 0) {
|
|
2452
2452
|
this.t8_1 = 1;
|
|
2453
|
-
if (get_isFinished(this.
|
|
2453
|
+
if (get_isFinished(this.xa2_1.state) || get_isFinishing(this.xa2_1.state)) {
|
|
2454
2454
|
return Unit_instance;
|
|
2455
2455
|
}
|
|
2456
|
-
if (!get_isCreated(this.
|
|
2457
|
-
this.
|
|
2456
|
+
if (!get_isCreated(this.xa2_1.state) || !this.ta2_1.x66().e6s()) {
|
|
2457
|
+
this.ta2_1.i4q().w('GameEngine_API', 'playerLeft: ' + this.ua2_1 + ' before game is created');
|
|
2458
2458
|
return Unit_instance;
|
|
2459
2459
|
}
|
|
2460
|
-
var tmp_0 = this.
|
|
2460
|
+
var tmp_0 = this.xa2_1.dispatch;
|
|
2461
2461
|
var tmp_1;
|
|
2462
|
-
if (this.
|
|
2462
|
+
if (this.va2_1) {
|
|
2463
2463
|
tmp_1 = PlayerConnectionState_LEFT_PERMANENTLY_getInstance();
|
|
2464
2464
|
} else {
|
|
2465
2465
|
tmp_1 = PlayerConnectionState_LEFT_getInstance();
|
|
2466
2466
|
}
|
|
2467
2467
|
var tmp0_connectionState = tmp_1;
|
|
2468
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2468
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.ua2_1));
|
|
2469
2469
|
return Unit_instance;
|
|
2470
2470
|
} else if (tmp === 1) {
|
|
2471
2471
|
throw this.v8_1;
|
|
@@ -2476,39 +2476,39 @@
|
|
|
2476
2476
|
}
|
|
2477
2477
|
while (true);
|
|
2478
2478
|
};
|
|
2479
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2480
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
2481
|
-
i.
|
|
2482
|
-
i.
|
|
2479
|
+
protoOf(GameServer$playerLeft$slambda).na1 = function ($this$dispatchAsync, store, completion) {
|
|
2480
|
+
var i = new GameServer$playerLeft$slambda(this.ta2_1, this.ua2_1, this.va2_1, completion);
|
|
2481
|
+
i.wa2_1 = $this$dispatchAsync;
|
|
2482
|
+
i.xa2_1 = store;
|
|
2483
2483
|
return i;
|
|
2484
2484
|
};
|
|
2485
2485
|
function GameServer$playerLeft$slambda_0(this$0, $playerId, $permanently, resultContinuation) {
|
|
2486
2486
|
var i = new GameServer$playerLeft$slambda(this$0, $playerId, $permanently, resultContinuation);
|
|
2487
2487
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2488
|
-
return i.
|
|
2488
|
+
return i.ma1($this$dispatchAsync, store, $completion);
|
|
2489
2489
|
};
|
|
2490
2490
|
l.$arity = 2;
|
|
2491
2491
|
return l;
|
|
2492
2492
|
}
|
|
2493
2493
|
function GameServer$roomOnCreate$slambda($usersArray, this$0, $config, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2494
|
-
this.
|
|
2495
|
-
this.
|
|
2496
|
-
this.
|
|
2497
|
-
this.
|
|
2498
|
-
this.
|
|
2499
|
-
this.
|
|
2500
|
-
this.
|
|
2494
|
+
this.ga3_1 = $usersArray;
|
|
2495
|
+
this.ha3_1 = this$0;
|
|
2496
|
+
this.ia3_1 = $config;
|
|
2497
|
+
this.ja3_1 = $roomId;
|
|
2498
|
+
this.ka3_1 = $transition;
|
|
2499
|
+
this.la3_1 = $gameCreatorId;
|
|
2500
|
+
this.ma3_1 = $spectators;
|
|
2501
2501
|
CoroutineImpl.call(this, resultContinuation);
|
|
2502
2502
|
}
|
|
2503
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2504
|
-
var tmp = this.
|
|
2503
|
+
protoOf(GameServer$roomOnCreate$slambda).ma1 = function ($this$dispatchAsync, store, $completion) {
|
|
2504
|
+
var tmp = this.na1($this$dispatchAsync, store, $completion);
|
|
2505
2505
|
tmp.u8_1 = Unit_instance;
|
|
2506
2506
|
tmp.v8_1 = null;
|
|
2507
2507
|
return tmp.a9();
|
|
2508
2508
|
};
|
|
2509
2509
|
protoOf(GameServer$roomOnCreate$slambda).j9 = function (p1, p2, $completion) {
|
|
2510
2510
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2511
|
-
return this.
|
|
2511
|
+
return this.ma1(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2512
2512
|
};
|
|
2513
2513
|
protoOf(GameServer$roomOnCreate$slambda).a9 = function () {
|
|
2514
2514
|
var suspendResult = this.u8_1;
|
|
@@ -2517,18 +2517,18 @@
|
|
|
2517
2517
|
var tmp = this.s8_1;
|
|
2518
2518
|
if (tmp === 0) {
|
|
2519
2519
|
this.t8_1 = 1;
|
|
2520
|
-
var users = toList(this.
|
|
2521
|
-
if (!validatePlayerCount(this.
|
|
2522
|
-
this.
|
|
2520
|
+
var users = toList(this.ga3_1);
|
|
2521
|
+
if (!validatePlayerCount(this.ha3_1, this.ia3_1, users, this.ja3_1)) {
|
|
2522
|
+
this.oa3_1.dispatch(Companion_instance.fromTableWithAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.ha3_1.table.isGameFinished, this.ha3_1.table));
|
|
2523
2523
|
return Unit_instance;
|
|
2524
2524
|
}
|
|
2525
|
-
var orderedUsers = orderUsers(this.
|
|
2526
|
-
var gameCreatorUser = getPlayer(users, this.
|
|
2527
|
-
var tmp_0 = this.
|
|
2525
|
+
var orderedUsers = orderUsers(this.ha3_1, users, this.ia3_1, this.ka3_1);
|
|
2526
|
+
var gameCreatorUser = getPlayer(users, this.la3_1);
|
|
2527
|
+
var tmp_0 = this.oa3_1.dispatch;
|
|
2528
2528
|
var tmp0_version = get_versionOrDefault(GameEngineConfig_instance);
|
|
2529
2529
|
var tmp1_users = sortWithItem(orderedUsers, gameCreatorUser);
|
|
2530
|
-
var tmp2_spectators = toList(this.
|
|
2531
|
-
tmp_0(new StartGameMechanicAction(this.
|
|
2530
|
+
var tmp2_spectators = toList(this.ma3_1);
|
|
2531
|
+
tmp_0(new StartGameMechanicAction(this.ia3_1, this.ja3_1, tmp0_version, this.la3_1, tmp1_users, VOID, tmp2_spectators));
|
|
2532
2532
|
return Unit_instance;
|
|
2533
2533
|
} else if (tmp === 1) {
|
|
2534
2534
|
throw this.v8_1;
|
|
@@ -2539,39 +2539,39 @@
|
|
|
2539
2539
|
}
|
|
2540
2540
|
while (true);
|
|
2541
2541
|
};
|
|
2542
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2543
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
2544
|
-
i.
|
|
2545
|
-
i.
|
|
2542
|
+
protoOf(GameServer$roomOnCreate$slambda).na1 = function ($this$dispatchAsync, store, completion) {
|
|
2543
|
+
var i = new GameServer$roomOnCreate$slambda(this.ga3_1, this.ha3_1, this.ia3_1, this.ja3_1, this.ka3_1, this.la3_1, this.ma3_1, completion);
|
|
2544
|
+
i.na3_1 = $this$dispatchAsync;
|
|
2545
|
+
i.oa3_1 = store;
|
|
2546
2546
|
return i;
|
|
2547
2547
|
};
|
|
2548
2548
|
function GameServer$roomOnCreate$slambda_0($usersArray, this$0, $config, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2549
2549
|
var i = new GameServer$roomOnCreate$slambda($usersArray, this$0, $config, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation);
|
|
2550
2550
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2551
|
-
return i.
|
|
2551
|
+
return i.ma1($this$dispatchAsync, store, $completion);
|
|
2552
2552
|
};
|
|
2553
2553
|
l.$arity = 2;
|
|
2554
2554
|
return l;
|
|
2555
2555
|
}
|
|
2556
2556
|
function GameServer$preserveTeams$previousTeams$1($playerId) {
|
|
2557
|
-
this.
|
|
2557
|
+
this.pa3_1 = $playerId;
|
|
2558
2558
|
}
|
|
2559
2559
|
protoOf(GameServer$preserveTeams$previousTeams$1).z65 = function () {
|
|
2560
|
-
return this.
|
|
2560
|
+
return this.pa3_1;
|
|
2561
2561
|
};
|
|
2562
2562
|
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
2563
|
-
this.
|
|
2563
|
+
this.ya3_1 = $state;
|
|
2564
2564
|
CoroutineImpl.call(this, resultContinuation);
|
|
2565
2565
|
}
|
|
2566
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2567
|
-
var tmp = this.
|
|
2566
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).ba4 = function ($this$dispatchAwait, store, $completion) {
|
|
2567
|
+
var tmp = this.na1($this$dispatchAwait, store, $completion);
|
|
2568
2568
|
tmp.u8_1 = Unit_instance;
|
|
2569
2569
|
tmp.v8_1 = null;
|
|
2570
2570
|
return tmp.a9();
|
|
2571
2571
|
};
|
|
2572
2572
|
protoOf(GameServer$roomOnContinueFromState$slambda).j9 = function (p1, p2, $completion) {
|
|
2573
2573
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2574
|
-
return this.
|
|
2574
|
+
return this.ba4(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2575
2575
|
};
|
|
2576
2576
|
protoOf(GameServer$roomOnContinueFromState$slambda).a9 = function () {
|
|
2577
2577
|
var suspendResult = this.u8_1;
|
|
@@ -2580,10 +2580,10 @@
|
|
|
2580
2580
|
var tmp = this.s8_1;
|
|
2581
2581
|
if (tmp === 0) {
|
|
2582
2582
|
this.t8_1 = 1;
|
|
2583
|
-
if (get_isCreating(this.
|
|
2584
|
-
var tmp_0 = this.
|
|
2583
|
+
if (get_isCreating(this.aa4_1.state)) {
|
|
2584
|
+
var tmp_0 = this.aa4_1.dispatch;
|
|
2585
2585
|
var tmp0_reason = new RestartRoundReason(null);
|
|
2586
|
-
var tmp1_table = this.
|
|
2586
|
+
var tmp1_table = this.ya3_1.table;
|
|
2587
2587
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2588
2588
|
return true;
|
|
2589
2589
|
}
|
|
@@ -2597,34 +2597,34 @@
|
|
|
2597
2597
|
}
|
|
2598
2598
|
while (true);
|
|
2599
2599
|
};
|
|
2600
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2601
|
-
var i = new GameServer$roomOnContinueFromState$slambda(this.
|
|
2602
|
-
i.
|
|
2603
|
-
i.
|
|
2600
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).na1 = function ($this$dispatchAwait, store, completion) {
|
|
2601
|
+
var i = new GameServer$roomOnContinueFromState$slambda(this.ya3_1, completion);
|
|
2602
|
+
i.za3_1 = $this$dispatchAwait;
|
|
2603
|
+
i.aa4_1 = store;
|
|
2604
2604
|
return i;
|
|
2605
2605
|
};
|
|
2606
2606
|
function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
|
|
2607
2607
|
var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
|
|
2608
2608
|
var l = function ($this$dispatchAwait, store, $completion) {
|
|
2609
|
-
return i.
|
|
2609
|
+
return i.ba4($this$dispatchAwait, store, $completion);
|
|
2610
2610
|
};
|
|
2611
2611
|
l.$arity = 2;
|
|
2612
2612
|
return l;
|
|
2613
2613
|
}
|
|
2614
2614
|
function GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation) {
|
|
2615
|
-
this.
|
|
2616
|
-
this.
|
|
2615
|
+
this.ka4_1 = $isCreated;
|
|
2616
|
+
this.la4_1 = $state;
|
|
2617
2617
|
CoroutineImpl.call(this, resultContinuation);
|
|
2618
2618
|
}
|
|
2619
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2620
|
-
var tmp = this.
|
|
2619
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).ma1 = function ($this$dispatchAsync, store, $completion) {
|
|
2620
|
+
var tmp = this.na1($this$dispatchAsync, store, $completion);
|
|
2621
2621
|
tmp.u8_1 = Unit_instance;
|
|
2622
2622
|
tmp.v8_1 = null;
|
|
2623
2623
|
return tmp.a9();
|
|
2624
2624
|
};
|
|
2625
2625
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).j9 = function (p1, p2, $completion) {
|
|
2626
2626
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2627
|
-
return this.
|
|
2627
|
+
return this.ma1(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2628
2628
|
};
|
|
2629
2629
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).a9 = function () {
|
|
2630
2630
|
var suspendResult = this.u8_1;
|
|
@@ -2635,7 +2635,7 @@
|
|
|
2635
2635
|
case 0:
|
|
2636
2636
|
this.t8_1 = 3;
|
|
2637
2637
|
this.s8_1 = 1;
|
|
2638
|
-
suspendResult = this.
|
|
2638
|
+
suspendResult = this.ka4_1.a1u(this);
|
|
2639
2639
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2640
2640
|
return suspendResult;
|
|
2641
2641
|
}
|
|
@@ -2643,10 +2643,10 @@
|
|
|
2643
2643
|
continue $sm;
|
|
2644
2644
|
case 1:
|
|
2645
2645
|
if (suspendResult) {
|
|
2646
|
-
var _iterator__ex2g4s = this.
|
|
2646
|
+
var _iterator__ex2g4s = this.la4_1.actions.l();
|
|
2647
2647
|
while (_iterator__ex2g4s.m()) {
|
|
2648
2648
|
var element = _iterator__ex2g4s.n();
|
|
2649
|
-
this.
|
|
2649
|
+
this.na4_1.dispatch(element);
|
|
2650
2650
|
}
|
|
2651
2651
|
this.s8_1 = 2;
|
|
2652
2652
|
continue $sm;
|
|
@@ -2671,35 +2671,35 @@
|
|
|
2671
2671
|
}
|
|
2672
2672
|
while (true);
|
|
2673
2673
|
};
|
|
2674
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2675
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1(this.
|
|
2676
|
-
i.
|
|
2677
|
-
i.
|
|
2674
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).na1 = function ($this$dispatchAsync, store, completion) {
|
|
2675
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1(this.ka4_1, this.la4_1, completion);
|
|
2676
|
+
i.ma4_1 = $this$dispatchAsync;
|
|
2677
|
+
i.na4_1 = store;
|
|
2678
2678
|
return i;
|
|
2679
2679
|
};
|
|
2680
2680
|
function GameServer$roomOnContinueFromState$slambda_2($isCreated, $state, resultContinuation) {
|
|
2681
2681
|
var i = new GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation);
|
|
2682
2682
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2683
|
-
return i.
|
|
2683
|
+
return i.ma1($this$dispatchAsync, store, $completion);
|
|
2684
2684
|
};
|
|
2685
2685
|
l.$arity = 2;
|
|
2686
2686
|
return l;
|
|
2687
2687
|
}
|
|
2688
2688
|
function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation) {
|
|
2689
|
-
this.
|
|
2690
|
-
this.
|
|
2691
|
-
this.
|
|
2689
|
+
this.wa4_1 = $tableLite;
|
|
2690
|
+
this.xa4_1 = $roomId;
|
|
2691
|
+
this.ya4_1 = this$0;
|
|
2692
2692
|
CoroutineImpl.call(this, resultContinuation);
|
|
2693
2693
|
}
|
|
2694
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2695
|
-
var tmp = this.
|
|
2694
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).ma1 = function ($this$dispatchAsync, store, $completion) {
|
|
2695
|
+
var tmp = this.na1($this$dispatchAsync, store, $completion);
|
|
2696
2696
|
tmp.u8_1 = Unit_instance;
|
|
2697
2697
|
tmp.v8_1 = null;
|
|
2698
2698
|
return tmp.a9();
|
|
2699
2699
|
};
|
|
2700
2700
|
protoOf(GameServer$roomOnContinueFromRound$slambda).j9 = function (p1, p2, $completion) {
|
|
2701
2701
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2702
|
-
return this.
|
|
2702
|
+
return this.ma1(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2703
2703
|
};
|
|
2704
2704
|
protoOf(GameServer$roomOnContinueFromRound$slambda).a9 = function () {
|
|
2705
2705
|
var suspendResult = this.u8_1;
|
|
@@ -2708,9 +2708,9 @@
|
|
|
2708
2708
|
var tmp = this.s8_1;
|
|
2709
2709
|
if (tmp === 0) {
|
|
2710
2710
|
this.t8_1 = 1;
|
|
2711
|
-
var tmp_0 = this.
|
|
2712
|
-
var tmp0_reason = new RestartRoundReason(this.
|
|
2713
|
-
var tmp1_table = Companion_instance_0.restartRound(this.
|
|
2711
|
+
var tmp_0 = this.aa5_1.dispatch;
|
|
2712
|
+
var tmp0_reason = new RestartRoundReason(this.wa4_1.gameInfo.round.roundNumber);
|
|
2713
|
+
var tmp1_table = Companion_instance_0.restartRound(this.xa4_1, _get_idsProvider__fnfajc(this.ya4_1).h6e(), get_versionOrDefault(GameEngineConfig_instance), this.wa4_1);
|
|
2714
2714
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2715
2715
|
return Unit_instance;
|
|
2716
2716
|
} else if (tmp === 1) {
|
|
@@ -2722,16 +2722,16 @@
|
|
|
2722
2722
|
}
|
|
2723
2723
|
while (true);
|
|
2724
2724
|
};
|
|
2725
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2726
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
2727
|
-
i.
|
|
2728
|
-
i.
|
|
2725
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).na1 = function ($this$dispatchAsync, store, completion) {
|
|
2726
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.wa4_1, this.xa4_1, this.ya4_1, completion);
|
|
2727
|
+
i.za4_1 = $this$dispatchAsync;
|
|
2728
|
+
i.aa5_1 = store;
|
|
2729
2729
|
return i;
|
|
2730
2730
|
};
|
|
2731
2731
|
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, resultContinuation) {
|
|
2732
2732
|
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation);
|
|
2733
2733
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2734
|
-
return i.
|
|
2734
|
+
return i.ma1($this$dispatchAsync, store, $completion);
|
|
2735
2735
|
};
|
|
2736
2736
|
l.$arity = 2;
|
|
2737
2737
|
return l;
|
|
@@ -2739,15 +2739,15 @@
|
|
|
2739
2739
|
function GameServer$roomOnContinueFromRound$slambda_1(resultContinuation) {
|
|
2740
2740
|
CoroutineImpl.call(this, resultContinuation);
|
|
2741
2741
|
}
|
|
2742
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2743
|
-
var tmp = this.
|
|
2742
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).ma1 = function ($this$dispatchAsync, store, $completion) {
|
|
2743
|
+
var tmp = this.na1($this$dispatchAsync, store, $completion);
|
|
2744
2744
|
tmp.u8_1 = Unit_instance;
|
|
2745
2745
|
tmp.v8_1 = null;
|
|
2746
2746
|
return tmp.a9();
|
|
2747
2747
|
};
|
|
2748
2748
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).j9 = function (p1, p2, $completion) {
|
|
2749
2749
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2750
|
-
return this.
|
|
2750
|
+
return this.ma1(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2751
2751
|
};
|
|
2752
2752
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).a9 = function () {
|
|
2753
2753
|
var suspendResult = this.u8_1;
|
|
@@ -2756,7 +2756,7 @@
|
|
|
2756
2756
|
var tmp = this.s8_1;
|
|
2757
2757
|
if (tmp === 0) {
|
|
2758
2758
|
this.t8_1 = 1;
|
|
2759
|
-
this.
|
|
2759
|
+
this.ka5_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
2760
2760
|
return Unit_instance;
|
|
2761
2761
|
} else if (tmp === 1) {
|
|
2762
2762
|
throw this.v8_1;
|
|
@@ -2767,33 +2767,33 @@
|
|
|
2767
2767
|
}
|
|
2768
2768
|
while (true);
|
|
2769
2769
|
};
|
|
2770
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2770
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).na1 = function ($this$dispatchAsync, store, completion) {
|
|
2771
2771
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
2772
|
-
i.
|
|
2773
|
-
i.
|
|
2772
|
+
i.ja5_1 = $this$dispatchAsync;
|
|
2773
|
+
i.ka5_1 = store;
|
|
2774
2774
|
return i;
|
|
2775
2775
|
};
|
|
2776
2776
|
function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
|
|
2777
2777
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(resultContinuation);
|
|
2778
2778
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2779
|
-
return i.
|
|
2779
|
+
return i.ma1($this$dispatchAsync, store, $completion);
|
|
2780
2780
|
};
|
|
2781
2781
|
l.$arity = 2;
|
|
2782
2782
|
return l;
|
|
2783
2783
|
}
|
|
2784
2784
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
2785
|
-
this.
|
|
2785
|
+
this.ta5_1 = $spectators;
|
|
2786
2786
|
CoroutineImpl.call(this, resultContinuation);
|
|
2787
2787
|
}
|
|
2788
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2789
|
-
var tmp = this.
|
|
2788
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).ma1 = function ($this$dispatchAsync, store, $completion) {
|
|
2789
|
+
var tmp = this.na1($this$dispatchAsync, store, $completion);
|
|
2790
2790
|
tmp.u8_1 = Unit_instance;
|
|
2791
2791
|
tmp.v8_1 = null;
|
|
2792
2792
|
return tmp.a9();
|
|
2793
2793
|
};
|
|
2794
2794
|
protoOf(GameServer$addSpectatorsToRoom$slambda).j9 = function (p1, p2, $completion) {
|
|
2795
2795
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2796
|
-
return this.
|
|
2796
|
+
return this.ma1(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2797
2797
|
};
|
|
2798
2798
|
protoOf(GameServer$addSpectatorsToRoom$slambda).a9 = function () {
|
|
2799
2799
|
var suspendResult = this.u8_1;
|
|
@@ -2802,7 +2802,7 @@
|
|
|
2802
2802
|
var tmp = this.s8_1;
|
|
2803
2803
|
if (tmp === 0) {
|
|
2804
2804
|
this.t8_1 = 1;
|
|
2805
|
-
this.
|
|
2805
|
+
this.va5_1.dispatch(new AddSpectatorsAction(toList(this.ta5_1)));
|
|
2806
2806
|
return Unit_instance;
|
|
2807
2807
|
} else if (tmp === 1) {
|
|
2808
2808
|
throw this.v8_1;
|
|
@@ -2813,33 +2813,33 @@
|
|
|
2813
2813
|
}
|
|
2814
2814
|
while (true);
|
|
2815
2815
|
};
|
|
2816
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2817
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
2818
|
-
i.
|
|
2819
|
-
i.
|
|
2816
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).na1 = function ($this$dispatchAsync, store, completion) {
|
|
2817
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.ta5_1, completion);
|
|
2818
|
+
i.ua5_1 = $this$dispatchAsync;
|
|
2819
|
+
i.va5_1 = store;
|
|
2820
2820
|
return i;
|
|
2821
2821
|
};
|
|
2822
2822
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
2823
2823
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
2824
2824
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2825
|
-
return i.
|
|
2825
|
+
return i.ma1($this$dispatchAsync, store, $completion);
|
|
2826
2826
|
};
|
|
2827
2827
|
l.$arity = 2;
|
|
2828
2828
|
return l;
|
|
2829
2829
|
}
|
|
2830
2830
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
2831
|
-
this.
|
|
2831
|
+
this.ea6_1 = $spectators;
|
|
2832
2832
|
CoroutineImpl.call(this, resultContinuation);
|
|
2833
2833
|
}
|
|
2834
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2835
|
-
var tmp = this.
|
|
2834
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).ma1 = function ($this$dispatchAsync, store, $completion) {
|
|
2835
|
+
var tmp = this.na1($this$dispatchAsync, store, $completion);
|
|
2836
2836
|
tmp.u8_1 = Unit_instance;
|
|
2837
2837
|
tmp.v8_1 = null;
|
|
2838
2838
|
return tmp.a9();
|
|
2839
2839
|
};
|
|
2840
2840
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).j9 = function (p1, p2, $completion) {
|
|
2841
2841
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2842
|
-
return this.
|
|
2842
|
+
return this.ma1(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2843
2843
|
};
|
|
2844
2844
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).a9 = function () {
|
|
2845
2845
|
var suspendResult = this.u8_1;
|
|
@@ -2848,7 +2848,7 @@
|
|
|
2848
2848
|
var tmp = this.s8_1;
|
|
2849
2849
|
if (tmp === 0) {
|
|
2850
2850
|
this.t8_1 = 1;
|
|
2851
|
-
this.
|
|
2851
|
+
this.ga6_1.dispatch(new RemoveSpectatorsAction(toList(this.ea6_1)));
|
|
2852
2852
|
return Unit_instance;
|
|
2853
2853
|
} else if (tmp === 1) {
|
|
2854
2854
|
throw this.v8_1;
|
|
@@ -2859,34 +2859,34 @@
|
|
|
2859
2859
|
}
|
|
2860
2860
|
while (true);
|
|
2861
2861
|
};
|
|
2862
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2863
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
2864
|
-
i.
|
|
2865
|
-
i.
|
|
2862
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).na1 = function ($this$dispatchAsync, store, completion) {
|
|
2863
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.ea6_1, completion);
|
|
2864
|
+
i.fa6_1 = $this$dispatchAsync;
|
|
2865
|
+
i.ga6_1 = store;
|
|
2866
2866
|
return i;
|
|
2867
2867
|
};
|
|
2868
2868
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
2869
2869
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
2870
2870
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2871
|
-
return i.
|
|
2871
|
+
return i.ma1($this$dispatchAsync, store, $completion);
|
|
2872
2872
|
};
|
|
2873
2873
|
l.$arity = 2;
|
|
2874
2874
|
return l;
|
|
2875
2875
|
}
|
|
2876
2876
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
2877
|
-
this.
|
|
2878
|
-
this.
|
|
2877
|
+
this.pa6_1 = $playerId;
|
|
2878
|
+
this.qa6_1 = this$0;
|
|
2879
2879
|
CoroutineImpl.call(this, resultContinuation);
|
|
2880
2880
|
}
|
|
2881
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2882
|
-
var tmp = this.
|
|
2881
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).ma1 = function ($this$dispatchAsync, store, $completion) {
|
|
2882
|
+
var tmp = this.na1($this$dispatchAsync, store, $completion);
|
|
2883
2883
|
tmp.u8_1 = Unit_instance;
|
|
2884
2884
|
tmp.v8_1 = null;
|
|
2885
2885
|
return tmp.a9();
|
|
2886
2886
|
};
|
|
2887
2887
|
protoOf(GameServer$roomRefreshPlayerState$slambda).j9 = function (p1, p2, $completion) {
|
|
2888
2888
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2889
|
-
return this.
|
|
2889
|
+
return this.ma1(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2890
2890
|
};
|
|
2891
2891
|
protoOf(GameServer$roomRefreshPlayerState$slambda).a9 = function () {
|
|
2892
2892
|
var suspendResult = this.u8_1;
|
|
@@ -2895,14 +2895,14 @@
|
|
|
2895
2895
|
var tmp = this.s8_1;
|
|
2896
2896
|
if (tmp === 0) {
|
|
2897
2897
|
this.t8_1 = 1;
|
|
2898
|
-
var table = this.
|
|
2899
|
-
var player = getPlayer(table.players, this.
|
|
2898
|
+
var table = this.sa6_1.state.c6s();
|
|
2899
|
+
var player = getPlayer(table.players, this.pa6_1);
|
|
2900
2900
|
if (player.n6v_1.d69().n67_1.isLive) {
|
|
2901
|
-
this.
|
|
2901
|
+
this.sa6_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.qa6_1).ta6(player, table));
|
|
2902
2902
|
} else {
|
|
2903
|
-
var tmp_0 = this.
|
|
2903
|
+
var tmp_0 = this.sa6_1.dispatch;
|
|
2904
2904
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2905
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2905
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.pa6_1));
|
|
2906
2906
|
}
|
|
2907
2907
|
return Unit_instance;
|
|
2908
2908
|
} else if (tmp === 1) {
|
|
@@ -2914,34 +2914,34 @@
|
|
|
2914
2914
|
}
|
|
2915
2915
|
while (true);
|
|
2916
2916
|
};
|
|
2917
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2918
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
2919
|
-
i.
|
|
2920
|
-
i.
|
|
2917
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).na1 = function ($this$dispatchAsync, store, completion) {
|
|
2918
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.pa6_1, this.qa6_1, completion);
|
|
2919
|
+
i.ra6_1 = $this$dispatchAsync;
|
|
2920
|
+
i.sa6_1 = store;
|
|
2921
2921
|
return i;
|
|
2922
2922
|
};
|
|
2923
2923
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
2924
2924
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
2925
2925
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2926
|
-
return i.
|
|
2926
|
+
return i.ma1($this$dispatchAsync, store, $completion);
|
|
2927
2927
|
};
|
|
2928
2928
|
l.$arity = 2;
|
|
2929
2929
|
return l;
|
|
2930
2930
|
}
|
|
2931
2931
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
2932
|
-
this.
|
|
2933
|
-
this.
|
|
2932
|
+
this.ca7_1 = this$0;
|
|
2933
|
+
this.da7_1 = $newRid;
|
|
2934
2934
|
CoroutineImpl.call(this, resultContinuation);
|
|
2935
2935
|
}
|
|
2936
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2937
|
-
var tmp = this.
|
|
2936
|
+
protoOf(GameServer$roomOnDelete$slambda).ma1 = function ($this$dispatchAsync, store, $completion) {
|
|
2937
|
+
var tmp = this.na1($this$dispatchAsync, store, $completion);
|
|
2938
2938
|
tmp.u8_1 = Unit_instance;
|
|
2939
2939
|
tmp.v8_1 = null;
|
|
2940
2940
|
return tmp.a9();
|
|
2941
2941
|
};
|
|
2942
2942
|
protoOf(GameServer$roomOnDelete$slambda).j9 = function (p1, p2, $completion) {
|
|
2943
2943
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2944
|
-
return this.
|
|
2944
|
+
return this.ma1(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2945
2945
|
};
|
|
2946
2946
|
protoOf(GameServer$roomOnDelete$slambda).a9 = function () {
|
|
2947
2947
|
var suspendResult = this.u8_1;
|
|
@@ -2950,27 +2950,27 @@
|
|
|
2950
2950
|
var tmp = this.s8_1;
|
|
2951
2951
|
if (tmp === 0) {
|
|
2952
2952
|
this.t8_1 = 1;
|
|
2953
|
-
var it = this.
|
|
2953
|
+
var it = this.ca7_1.x66().c6r_1;
|
|
2954
2954
|
var tmp_0;
|
|
2955
2955
|
if (it == null) {
|
|
2956
|
-
this.
|
|
2956
|
+
this.ca7_1.i4q().w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
2957
2957
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
2958
2958
|
} else {
|
|
2959
2959
|
tmp_0 = it;
|
|
2960
2960
|
}
|
|
2961
2961
|
var terminationState = tmp_0;
|
|
2962
|
-
var gameTransition = terminationState.
|
|
2962
|
+
var gameTransition = terminationState.p93_1;
|
|
2963
2963
|
var tmp_1;
|
|
2964
2964
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
2965
|
-
var tmp0_elvis_lhs = this.
|
|
2965
|
+
var tmp0_elvis_lhs = this.da7_1;
|
|
2966
2966
|
tmp_1 = gameTransition.copy(tmp0_elvis_lhs == null ? gameTransition.roomId : tmp0_elvis_lhs);
|
|
2967
2967
|
} else {
|
|
2968
2968
|
tmp_1 = gameTransition;
|
|
2969
2969
|
}
|
|
2970
2970
|
var transition = tmp_1;
|
|
2971
|
-
var tmp_2 = this.
|
|
2972
|
-
var tmp0_reason = terminationState.
|
|
2973
|
-
var tmp1_isGameFinished = this.
|
|
2971
|
+
var tmp_2 = this.fa7_1.dispatch;
|
|
2972
|
+
var tmp0_reason = terminationState.o93_1;
|
|
2973
|
+
var tmp1_isGameFinished = this.ca7_1.x66().c6s().isGameFinished;
|
|
2974
2974
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
2975
2975
|
return Unit_instance;
|
|
2976
2976
|
} else if (tmp === 1) {
|
|
@@ -2982,33 +2982,33 @@
|
|
|
2982
2982
|
}
|
|
2983
2983
|
while (true);
|
|
2984
2984
|
};
|
|
2985
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2986
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
2987
|
-
i.
|
|
2988
|
-
i.
|
|
2985
|
+
protoOf(GameServer$roomOnDelete$slambda).na1 = function ($this$dispatchAsync, store, completion) {
|
|
2986
|
+
var i = new GameServer$roomOnDelete$slambda(this.ca7_1, this.da7_1, completion);
|
|
2987
|
+
i.ea7_1 = $this$dispatchAsync;
|
|
2988
|
+
i.fa7_1 = store;
|
|
2989
2989
|
return i;
|
|
2990
2990
|
};
|
|
2991
2991
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
2992
2992
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
2993
2993
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2994
|
-
return i.
|
|
2994
|
+
return i.ma1($this$dispatchAsync, store, $completion);
|
|
2995
2995
|
};
|
|
2996
2996
|
l.$arity = 2;
|
|
2997
2997
|
return l;
|
|
2998
2998
|
}
|
|
2999
2999
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
3000
|
-
this.
|
|
3000
|
+
this.oa7_1 = $enabled;
|
|
3001
3001
|
CoroutineImpl.call(this, resultContinuation);
|
|
3002
3002
|
}
|
|
3003
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
3004
|
-
var tmp = this.
|
|
3003
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).ma1 = function ($this$dispatchAsync, store, $completion) {
|
|
3004
|
+
var tmp = this.na1($this$dispatchAsync, store, $completion);
|
|
3005
3005
|
tmp.u8_1 = Unit_instance;
|
|
3006
3006
|
tmp.v8_1 = null;
|
|
3007
3007
|
return tmp.a9();
|
|
3008
3008
|
};
|
|
3009
3009
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).j9 = function (p1, p2, $completion) {
|
|
3010
3010
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
3011
|
-
return this.
|
|
3011
|
+
return this.ma1(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
3012
3012
|
};
|
|
3013
3013
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).a9 = function () {
|
|
3014
3014
|
var suspendResult = this.u8_1;
|
|
@@ -3017,7 +3017,7 @@
|
|
|
3017
3017
|
var tmp = this.s8_1;
|
|
3018
3018
|
if (tmp === 0) {
|
|
3019
3019
|
this.t8_1 = 1;
|
|
3020
|
-
this.
|
|
3020
|
+
this.qa7_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload_0(this.qa7_1.state).config.copy(VOID, !this.oa7_1)));
|
|
3021
3021
|
return Unit_instance;
|
|
3022
3022
|
} else if (tmp === 1) {
|
|
3023
3023
|
throw this.v8_1;
|
|
@@ -3028,35 +3028,35 @@
|
|
|
3028
3028
|
}
|
|
3029
3029
|
while (true);
|
|
3030
3030
|
};
|
|
3031
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
3032
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
3033
|
-
i.
|
|
3034
|
-
i.
|
|
3031
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).na1 = function ($this$dispatchAsync, store, completion) {
|
|
3032
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.oa7_1, completion);
|
|
3033
|
+
i.pa7_1 = $this$dispatchAsync;
|
|
3034
|
+
i.qa7_1 = store;
|
|
3035
3035
|
return i;
|
|
3036
3036
|
};
|
|
3037
3037
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
3038
3038
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
3039
3039
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3040
|
-
return i.
|
|
3040
|
+
return i.ma1($this$dispatchAsync, store, $completion);
|
|
3041
3041
|
};
|
|
3042
3042
|
l.$arity = 2;
|
|
3043
3043
|
return l;
|
|
3044
3044
|
}
|
|
3045
3045
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
3046
|
-
this.
|
|
3047
|
-
this.
|
|
3048
|
-
this.
|
|
3046
|
+
this.za7_1 = $reason;
|
|
3047
|
+
this.aa8_1 = this$0;
|
|
3048
|
+
this.ba8_1 = $roomId;
|
|
3049
3049
|
CoroutineImpl.call(this, resultContinuation);
|
|
3050
3050
|
}
|
|
3051
|
-
protoOf(GameServer$shutdown$slambda).
|
|
3052
|
-
var tmp = this.
|
|
3051
|
+
protoOf(GameServer$shutdown$slambda).ma1 = function ($this$dispatchAsync, store, $completion) {
|
|
3052
|
+
var tmp = this.na1($this$dispatchAsync, store, $completion);
|
|
3053
3053
|
tmp.u8_1 = Unit_instance;
|
|
3054
3054
|
tmp.v8_1 = null;
|
|
3055
3055
|
return tmp.a9();
|
|
3056
3056
|
};
|
|
3057
3057
|
protoOf(GameServer$shutdown$slambda).j9 = function (p1, p2, $completion) {
|
|
3058
3058
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
3059
|
-
return this.
|
|
3059
|
+
return this.ma1(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
3060
3060
|
};
|
|
3061
3061
|
protoOf(GameServer$shutdown$slambda).a9 = function () {
|
|
3062
3062
|
var suspendResult = this.u8_1;
|
|
@@ -3065,11 +3065,11 @@
|
|
|
3065
3065
|
var tmp = this.s8_1;
|
|
3066
3066
|
if (tmp === 0) {
|
|
3067
3067
|
this.t8_1 = 1;
|
|
3068
|
-
var state = this.
|
|
3068
|
+
var state = this.da8_1.store.state;
|
|
3069
3069
|
if (state.e6s()) {
|
|
3070
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
3070
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.za7_1, get_serverShutdownReasonMapping());
|
|
3071
3071
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
3072
|
-
var tmp_0 = this.
|
|
3072
|
+
var tmp_0 = this.da8_1.dispatch;
|
|
3073
3073
|
var tmp_1 = Companion_instance;
|
|
3074
3074
|
var tmp_2;
|
|
3075
3075
|
switch (shutdownReason.q2_1) {
|
|
@@ -3083,12 +3083,12 @@
|
|
|
3083
3083
|
noWhenBranchMatchedException();
|
|
3084
3084
|
break;
|
|
3085
3085
|
}
|
|
3086
|
-
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.
|
|
3086
|
+
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.aa8_1.table.isGameFinished, this.aa8_1.table));
|
|
3087
3087
|
} else {
|
|
3088
|
-
this.
|
|
3089
|
-
var tmp_3 = this.
|
|
3088
|
+
this.aa8_1.i4q().w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.ba8_1);
|
|
3089
|
+
var tmp_3 = this.da8_1.dispatch;
|
|
3090
3090
|
var tmp2_safe_receiver = state.c6r_1;
|
|
3091
|
-
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
3091
|
+
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.p93_1));
|
|
3092
3092
|
}
|
|
3093
3093
|
return Unit_instance;
|
|
3094
3094
|
} else if (tmp === 1) {
|
|
@@ -3100,37 +3100,37 @@
|
|
|
3100
3100
|
}
|
|
3101
3101
|
while (true);
|
|
3102
3102
|
};
|
|
3103
|
-
protoOf(GameServer$shutdown$slambda).
|
|
3104
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
3105
|
-
i.
|
|
3106
|
-
i.
|
|
3103
|
+
protoOf(GameServer$shutdown$slambda).na1 = function ($this$dispatchAsync, store, completion) {
|
|
3104
|
+
var i = new GameServer$shutdown$slambda(this.za7_1, this.aa8_1, this.ba8_1, completion);
|
|
3105
|
+
i.ca8_1 = $this$dispatchAsync;
|
|
3106
|
+
i.da8_1 = store;
|
|
3107
3107
|
return i;
|
|
3108
3108
|
};
|
|
3109
3109
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
3110
3110
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
3111
3111
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3112
|
-
return i.
|
|
3112
|
+
return i.ma1($this$dispatchAsync, store, $completion);
|
|
3113
3113
|
};
|
|
3114
3114
|
l.$arity = 2;
|
|
3115
3115
|
return l;
|
|
3116
3116
|
}
|
|
3117
3117
|
function GameServer$handlePlayerMessage$slambda($botChatInteractor, $message, $fromPlayerId, $onMessageGenerated, this$0, resultContinuation) {
|
|
3118
|
-
this.
|
|
3119
|
-
this.
|
|
3120
|
-
this.
|
|
3121
|
-
this.
|
|
3122
|
-
this.
|
|
3118
|
+
this.ma8_1 = $botChatInteractor;
|
|
3119
|
+
this.na8_1 = $message;
|
|
3120
|
+
this.oa8_1 = $fromPlayerId;
|
|
3121
|
+
this.pa8_1 = $onMessageGenerated;
|
|
3122
|
+
this.qa8_1 = this$0;
|
|
3123
3123
|
CoroutineImpl.call(this, resultContinuation);
|
|
3124
3124
|
}
|
|
3125
|
-
protoOf(GameServer$handlePlayerMessage$slambda).
|
|
3126
|
-
var tmp = this.
|
|
3125
|
+
protoOf(GameServer$handlePlayerMessage$slambda).ma1 = function ($this$dispatchAsync, store, $completion) {
|
|
3126
|
+
var tmp = this.na1($this$dispatchAsync, store, $completion);
|
|
3127
3127
|
tmp.u8_1 = Unit_instance;
|
|
3128
3128
|
tmp.v8_1 = null;
|
|
3129
3129
|
return tmp.a9();
|
|
3130
3130
|
};
|
|
3131
3131
|
protoOf(GameServer$handlePlayerMessage$slambda).j9 = function (p1, p2, $completion) {
|
|
3132
3132
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
3133
|
-
return this.
|
|
3133
|
+
return this.ma1(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
3134
3134
|
};
|
|
3135
3135
|
protoOf(GameServer$handlePlayerMessage$slambda).a9 = function () {
|
|
3136
3136
|
var suspendResult = this.u8_1;
|
|
@@ -3140,20 +3140,20 @@
|
|
|
3140
3140
|
switch (tmp) {
|
|
3141
3141
|
case 0:
|
|
3142
3142
|
this.t8_1 = 3;
|
|
3143
|
-
var state = this.
|
|
3143
|
+
var state = this.sa8_1.store.state;
|
|
3144
3144
|
if (state.e6s()) {
|
|
3145
3145
|
var tmp0_table = state.c6s();
|
|
3146
3146
|
this.s8_1 = 1;
|
|
3147
|
-
suspendResult = this.
|
|
3147
|
+
suspendResult = this.ma8_1.j8s(tmp0_table, this.na8_1, this.oa8_1, VOID, this);
|
|
3148
3148
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3149
3149
|
return suspendResult;
|
|
3150
3150
|
}
|
|
3151
3151
|
continue $sm;
|
|
3152
3152
|
} else {
|
|
3153
|
-
this.
|
|
3154
|
-
var tmp_0 = this.
|
|
3153
|
+
this.qa8_1.i4q().w('GameEngine_API', "GameServer: can't generate message without table, " + this.oa8_1);
|
|
3154
|
+
var tmp_0 = this.sa8_1.dispatch;
|
|
3155
3155
|
var tmp1_safe_receiver = state.c6r_1;
|
|
3156
|
-
tmp_0(new ClearAction(tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
3156
|
+
tmp_0(new ClearAction(tmp1_safe_receiver == null ? null : tmp1_safe_receiver.p93_1));
|
|
3157
3157
|
this.s8_1 = 2;
|
|
3158
3158
|
continue $sm;
|
|
3159
3159
|
}
|
|
@@ -3161,7 +3161,7 @@
|
|
|
3161
3161
|
case 1:
|
|
3162
3162
|
var message = suspendResult;
|
|
3163
3163
|
if (!(message == null)) {
|
|
3164
|
-
this.
|
|
3164
|
+
this.pa8_1(message);
|
|
3165
3165
|
}
|
|
3166
3166
|
|
|
3167
3167
|
this.s8_1 = 2;
|
|
@@ -3182,16 +3182,16 @@
|
|
|
3182
3182
|
}
|
|
3183
3183
|
while (true);
|
|
3184
3184
|
};
|
|
3185
|
-
protoOf(GameServer$handlePlayerMessage$slambda).
|
|
3186
|
-
var i = new GameServer$handlePlayerMessage$slambda(this.
|
|
3187
|
-
i.
|
|
3188
|
-
i.
|
|
3185
|
+
protoOf(GameServer$handlePlayerMessage$slambda).na1 = function ($this$dispatchAsync, store, completion) {
|
|
3186
|
+
var i = new GameServer$handlePlayerMessage$slambda(this.ma8_1, this.na8_1, this.oa8_1, this.pa8_1, this.qa8_1, completion);
|
|
3187
|
+
i.ra8_1 = $this$dispatchAsync;
|
|
3188
|
+
i.sa8_1 = store;
|
|
3189
3189
|
return i;
|
|
3190
3190
|
};
|
|
3191
3191
|
function GameServer$handlePlayerMessage$slambda_0($botChatInteractor, $message, $fromPlayerId, $onMessageGenerated, this$0, resultContinuation) {
|
|
3192
3192
|
var i = new GameServer$handlePlayerMessage$slambda($botChatInteractor, $message, $fromPlayerId, $onMessageGenerated, this$0, resultContinuation);
|
|
3193
3193
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3194
|
-
return i.
|
|
3194
|
+
return i.ma1($this$dispatchAsync, store, $completion);
|
|
3195
3195
|
};
|
|
3196
3196
|
l.$arity = 2;
|
|
3197
3197
|
return l;
|
|
@@ -3222,7 +3222,7 @@
|
|
|
3222
3222
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
3223
3223
|
var tmp_3 = Instance(di, tmp$ret$2, null);
|
|
3224
3224
|
var tmp_4 = KProperty1;
|
|
3225
|
-
tmp_1.
|
|
3225
|
+
tmp_1.c9y_1 = tmp_3.a65(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_4, GameServer$_get_toClientEventsObserver_$ref_utir8s(), null));
|
|
3226
3226
|
var tmp_5 = this;
|
|
3227
3227
|
// Inline function 'org.kodein.di.instance' call
|
|
3228
3228
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3230,7 +3230,7 @@
|
|
|
3230
3230
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
3231
3231
|
var tmp_7 = Instance(di, tmp$ret$4, null);
|
|
3232
3232
|
var tmp_8 = KProperty1;
|
|
3233
|
-
tmp_5.
|
|
3233
|
+
tmp_5.d9y_1 = tmp_7.a65(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_8, GameServer$_get_fromClientEventsObserver_$ref_nf1g79(), null));
|
|
3234
3234
|
var tmp_9 = this;
|
|
3235
3235
|
// Inline function 'org.kodein.di.instance' call
|
|
3236
3236
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3238,7 +3238,7 @@
|
|
|
3238
3238
|
var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
3239
3239
|
var tmp_11 = Instance(di, tmp$ret$6, null);
|
|
3240
3240
|
var tmp_12 = KProperty1;
|
|
3241
|
-
tmp_9.
|
|
3241
|
+
tmp_9.e9y_1 = tmp_11.a65(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_12, GameServer$_get_playerConnectionInteractor_$ref_of8tan(), null));
|
|
3242
3242
|
var tmp_13 = this;
|
|
3243
3243
|
// Inline function 'org.kodein.di.instance' call
|
|
3244
3244
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3246,7 +3246,7 @@
|
|
|
3246
3246
|
var tmp$ret$8 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
3247
3247
|
var tmp_15 = Instance(di, tmp$ret$8, null);
|
|
3248
3248
|
var tmp_16 = KProperty1;
|
|
3249
|
-
tmp_13.
|
|
3249
|
+
tmp_13.f9y_1 = tmp_15.a65(this, getPropertyCallableRef('teamsLogicProvider', 1, tmp_16, GameServer$_get_teamsLogicProvider_$ref_b7y54g(), null));
|
|
3250
3250
|
var tmp_17 = this;
|
|
3251
3251
|
// Inline function 'org.kodein.di.instance' call
|
|
3252
3252
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3254,9 +3254,9 @@
|
|
|
3254
3254
|
var tmp$ret$10 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
3255
3255
|
var tmp_19 = Instance(di, tmp$ret$10, null);
|
|
3256
3256
|
var tmp_20 = KProperty1;
|
|
3257
|
-
tmp_17.
|
|
3257
|
+
tmp_17.g9y_1 = tmp_19.a65(this, getPropertyCallableRef('userRatingInteractor', 1, tmp_20, GameServer$_get_userRatingInteractor_$ref_8uo6aw(), null));
|
|
3258
3258
|
var tmp_21 = this;
|
|
3259
|
-
tmp_21.
|
|
3259
|
+
tmp_21.h9y_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
3260
3260
|
var tmp_22 = this;
|
|
3261
3261
|
// Inline function 'org.kodein.di.instance' call
|
|
3262
3262
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3264,7 +3264,7 @@
|
|
|
3264
3264
|
var tmp$ret$12 = isInterface(tmp_23, TypeToken) ? tmp_23 : THROW_CCE();
|
|
3265
3265
|
var tmp_24 = Instance(di, tmp$ret$12, null);
|
|
3266
3266
|
var tmp_25 = KProperty1;
|
|
3267
|
-
tmp_22.
|
|
3267
|
+
tmp_22.i9y_1 = tmp_24.a65(this, getPropertyCallableRef('idsProvider', 1, tmp_25, GameServer$_get_idsProvider_$ref_89s908(), null));
|
|
3268
3268
|
var tmp_26 = this;
|
|
3269
3269
|
// Inline function 'org.kodein.di.instance' call
|
|
3270
3270
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3272,7 +3272,7 @@
|
|
|
3272
3272
|
var tmp$ret$14 = isInterface(tmp_27, TypeToken) ? tmp_27 : THROW_CCE();
|
|
3273
3273
|
var tmp_28 = Instance(di, tmp$ret$14, null);
|
|
3274
3274
|
var tmp_29 = KProperty1;
|
|
3275
|
-
tmp_26.
|
|
3275
|
+
tmp_26.j9y_1 = tmp_28.a65(this, getPropertyCallableRef('serverReduxConfig', 1, tmp_29, GameServer$_get_serverReduxConfig_$ref_7h6jq6(), null));
|
|
3276
3276
|
var tmp_30 = this;
|
|
3277
3277
|
// Inline function 'org.kodein.di.instance' call
|
|
3278
3278
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3280,7 +3280,7 @@
|
|
|
3280
3280
|
var tmp$ret$16 = isInterface(tmp_31, TypeToken) ? tmp_31 : THROW_CCE();
|
|
3281
3281
|
var tmp_32 = Instance(di, tmp$ret$16, null);
|
|
3282
3282
|
var tmp_33 = KProperty1;
|
|
3283
|
-
tmp_30.
|
|
3283
|
+
tmp_30.k9y_1 = tmp_32.a65(this, getPropertyCallableRef('encoderDecoderProvider', 1, tmp_33, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8(), null));
|
|
3284
3284
|
var tmp_34 = this;
|
|
3285
3285
|
// Inline function 'org.kodein.di.instance' call
|
|
3286
3286
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3288,7 +3288,7 @@
|
|
|
3288
3288
|
var tmp$ret$18 = isInterface(tmp_35, TypeToken) ? tmp_35 : THROW_CCE();
|
|
3289
3289
|
var tmp_36 = Instance(di, tmp$ret$18, null);
|
|
3290
3290
|
var tmp_37 = KProperty1;
|
|
3291
|
-
tmp_34.
|
|
3291
|
+
tmp_34.l9y_1 = tmp_36.a65(this, getPropertyCallableRef('engineLogicConfig', 1, tmp_37, GameServer$_get_engineLogicConfig_$ref_nlkv2l(), null));
|
|
3292
3292
|
var tmp_38 = this;
|
|
3293
3293
|
// Inline function 'org.kodein.di.instanceOrNull' call
|
|
3294
3294
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3296,14 +3296,14 @@
|
|
|
3296
3296
|
var tmp$ret$20 = isInterface(tmp_39, TypeToken) ? tmp_39 : THROW_CCE();
|
|
3297
3297
|
var tmp_40 = InstanceOrNull(di, tmp$ret$20, null);
|
|
3298
3298
|
var tmp_41 = KProperty1;
|
|
3299
|
-
tmp_38.
|
|
3299
|
+
tmp_38.m9y_1 = tmp_40.a65(this, getPropertyCallableRef('botChatInteractor', 1, tmp_41, GameServer$_get_botChatInteractor_$ref_zf10ih(), null));
|
|
3300
3300
|
var tmp_42 = this;
|
|
3301
|
-
var tmp0_externalMiddlewares = plus(storeContract.
|
|
3302
|
-
var tmp1_externalReducers = plus(storeContract.
|
|
3303
|
-
tmp_42.
|
|
3301
|
+
var tmp0_externalMiddlewares = plus(storeContract.g98(), externalMiddlewares);
|
|
3302
|
+
var tmp1_externalReducers = plus(storeContract.f98(), externalReducers);
|
|
3303
|
+
tmp_42.n9y_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
3304
3304
|
}
|
|
3305
3305
|
protoOf(GameServer).s6q = function () {
|
|
3306
|
-
return this.
|
|
3306
|
+
return this.n9y_1;
|
|
3307
3307
|
};
|
|
3308
3308
|
protoOf(GameServer).t8m = function () {
|
|
3309
3309
|
return get_serverStatePayload_0(this.x66()).metadata;
|
|
@@ -3351,17 +3351,17 @@
|
|
|
3351
3351
|
};
|
|
3352
3352
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
3353
3353
|
this.i4q().d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
3354
|
-
this.
|
|
3354
|
+
this.n9y_1.a6s(GameServer$fromClientEvent$slambda_0(action, null));
|
|
3355
3355
|
};
|
|
3356
3356
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
3357
3357
|
this.i4q().d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
3358
|
-
this.
|
|
3358
|
+
this.n9y_1.a6s(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
3359
3359
|
};
|
|
3360
3360
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
3361
3361
|
this.i4q().d('GameEngine_API', 'playerLive: ' + playerId);
|
|
3362
|
-
this.
|
|
3362
|
+
this.n9y_1.a6s(GameServer$playerLive$slambda_0(this, playerId, null));
|
|
3363
3363
|
};
|
|
3364
|
-
protoOf(GameServer).
|
|
3364
|
+
protoOf(GameServer).ta8 = function (playerId, permanently) {
|
|
3365
3365
|
this.i4q().d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
3366
3366
|
var tmp;
|
|
3367
3367
|
if (this.x66().e6s()) {
|
|
@@ -3370,33 +3370,33 @@
|
|
|
3370
3370
|
tmp = null;
|
|
3371
3371
|
}
|
|
3372
3372
|
var result = tmp;
|
|
3373
|
-
this.
|
|
3373
|
+
this.n9y_1.a6s(GameServer$playerLeft$slambda_0(this, playerId, permanently, null));
|
|
3374
3374
|
this.i4q().d('GameEngine_API', 'playerLeft result: ' + toString_0(result));
|
|
3375
3375
|
return result;
|
|
3376
3376
|
};
|
|
3377
|
-
protoOf(GameServer).
|
|
3377
|
+
protoOf(GameServer).ua8 = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
3378
3378
|
this.i4q().d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
3379
|
-
this.
|
|
3379
|
+
this.n9y_1.a6s(GameServer$roomOnCreate$slambda_0(usersArray, this, config, roomId, transition, gameCreatorId, spectators, null));
|
|
3380
3380
|
};
|
|
3381
3381
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
3382
3382
|
this.i4q().d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
3383
|
-
var isCreated = this.
|
|
3384
|
-
this.
|
|
3383
|
+
var isCreated = this.n9y_1.b6s(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
3384
|
+
this.n9y_1.a6s(GameServer$roomOnContinueFromState$slambda_2(isCreated, state, null));
|
|
3385
3385
|
};
|
|
3386
3386
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
3387
3387
|
this.i4q().d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
3388
|
-
this.
|
|
3389
|
-
this.
|
|
3388
|
+
this.n9y_1.a6s(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
3389
|
+
this.n9y_1.a6s(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
3390
3390
|
};
|
|
3391
3391
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
3392
|
-
this.
|
|
3392
|
+
this.n9y_1.a6s(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
3393
3393
|
};
|
|
3394
3394
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
3395
|
-
this.
|
|
3395
|
+
this.n9y_1.a6s(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
3396
3396
|
};
|
|
3397
3397
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
3398
3398
|
this.i4q().d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
3399
|
-
this.
|
|
3399
|
+
this.n9y_1.a6s(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
3400
3400
|
};
|
|
3401
3401
|
protoOf(GameServer).getToClientFinishActionBeforeDisconnect = function (playerId, previousState, originState) {
|
|
3402
3402
|
if (!this.isTableExists) {
|
|
@@ -3406,24 +3406,24 @@
|
|
|
3406
3406
|
var table = this.table;
|
|
3407
3407
|
var player = getPlayer(table.players, playerId);
|
|
3408
3408
|
this.i4q().d('GameEngine_API', 'getToClientFinishActionBeforeDisconnect: ' + playerId + ', ' + ('state = ' + player.n6v_1.d69().n67_1.toString() + ', ') + ('isBot = ' + player.m6v_1.isBot));
|
|
3409
|
-
var actions = _get_playerConnectionInteractor__si6cxf(this).
|
|
3409
|
+
var actions = _get_playerConnectionInteractor__si6cxf(this).va8(playerId, previousState.isLive, table.id, mapToFinishReason(originState, player, table.playersConnections), table.isGameFinished);
|
|
3410
3410
|
this.i4q().d('GameEngine_API', 'getToClientFinishActionBeforeDisconnect: ' + toString(actions));
|
|
3411
3411
|
if (actions.r()) {
|
|
3412
3412
|
return null;
|
|
3413
3413
|
}
|
|
3414
3414
|
return new CombinedToClientAction(actions, Companion_instance_1.user(_get_idsProvider__fnfajc(this).h6e(), table.id, playerId));
|
|
3415
3415
|
};
|
|
3416
|
-
protoOf(GameServer).
|
|
3416
|
+
protoOf(GameServer).wa8 = function (newRid) {
|
|
3417
3417
|
this.i4q().d('GameEngine_API', 'roomOnDelete: newRid = ' + newRid);
|
|
3418
|
-
this.
|
|
3418
|
+
this.n9y_1.a6s(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
3419
3419
|
};
|
|
3420
3420
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
3421
3421
|
this.i4q().d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
3422
|
-
this.
|
|
3422
|
+
this.n9y_1.a6s(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
3423
3423
|
};
|
|
3424
|
-
protoOf(GameServer).
|
|
3424
|
+
protoOf(GameServer).xa8 = function (reason, roomId) {
|
|
3425
3425
|
this.i4q().d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
3426
|
-
this.
|
|
3426
|
+
this.n9y_1.a6s(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
3427
3427
|
};
|
|
3428
3428
|
protoOf(GameServer).handlePlayerMessage = function (message, fromPlayerId, onMessageGenerated) {
|
|
3429
3429
|
var tmp0_elvis_lhs = _get_botChatInteractor__17f3on(this);
|
|
@@ -3435,7 +3435,7 @@
|
|
|
3435
3435
|
}
|
|
3436
3436
|
var botChatInteractor = tmp;
|
|
3437
3437
|
this.i4q().d('GameEngine_API', 'handlePlayerMessage: ' + fromPlayerId);
|
|
3438
|
-
this.
|
|
3438
|
+
this.n9y_1.a6s(GameServer$handlePlayerMessage$slambda_0(botChatInteractor, message, fromPlayerId, onMessageGenerated, this, null));
|
|
3439
3439
|
};
|
|
3440
3440
|
protoOf(GameServer).clear = function () {
|
|
3441
3441
|
return this.i2();
|
|
@@ -3489,13 +3489,13 @@
|
|
|
3489
3489
|
this.shouldFinishGameWhenDeploy = shouldFinishGameWhenDeploy;
|
|
3490
3490
|
this.shouldFinishGameWithBots = shouldFinishGameWithBots;
|
|
3491
3491
|
}
|
|
3492
|
-
protoOf(ServerConfig).
|
|
3492
|
+
protoOf(ServerConfig).ya8 = function () {
|
|
3493
3493
|
return this.fromRound;
|
|
3494
3494
|
};
|
|
3495
|
-
protoOf(ServerConfig).
|
|
3495
|
+
protoOf(ServerConfig).za8 = function () {
|
|
3496
3496
|
return this.shouldFinishGameWhenDeploy;
|
|
3497
3497
|
};
|
|
3498
|
-
protoOf(ServerConfig).
|
|
3498
|
+
protoOf(ServerConfig).aa9 = function () {
|
|
3499
3499
|
return this.shouldFinishGameWithBots;
|
|
3500
3500
|
};
|
|
3501
3501
|
protoOf(ServerConfig).oe = function () {
|
|
@@ -3507,14 +3507,14 @@
|
|
|
3507
3507
|
protoOf(ServerConfig).yl = function () {
|
|
3508
3508
|
return this.shouldFinishGameWithBots;
|
|
3509
3509
|
};
|
|
3510
|
-
protoOf(ServerConfig).
|
|
3510
|
+
protoOf(ServerConfig).ba9 = function (fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots) {
|
|
3511
3511
|
return new ServerConfig(fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots);
|
|
3512
3512
|
};
|
|
3513
3513
|
protoOf(ServerConfig).copy = function (fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots, $super) {
|
|
3514
3514
|
fromRound = fromRound === VOID ? this.fromRound : fromRound;
|
|
3515
3515
|
shouldFinishGameWhenDeploy = shouldFinishGameWhenDeploy === VOID ? this.shouldFinishGameWhenDeploy : shouldFinishGameWhenDeploy;
|
|
3516
3516
|
shouldFinishGameWithBots = shouldFinishGameWithBots === VOID ? this.shouldFinishGameWithBots : shouldFinishGameWithBots;
|
|
3517
|
-
return $super === VOID ? this.
|
|
3517
|
+
return $super === VOID ? this.ba9(fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots) : $super.ba9.call(this, fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots);
|
|
3518
3518
|
};
|
|
3519
3519
|
protoOf(ServerConfig).toString = function () {
|
|
3520
3520
|
return 'ServerConfig(fromRound=' + this.fromRound + ', shouldFinishGameWhenDeploy=' + this.shouldFinishGameWhenDeploy + ', shouldFinishGameWithBots=' + this.shouldFinishGameWithBots + ')';
|
|
@@ -3579,20 +3579,20 @@
|
|
|
3579
3579
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.TableStateUpdateDto', this, 2);
|
|
3580
3580
|
tmp0_serialDesc.hz('roomId', false);
|
|
3581
3581
|
tmp0_serialDesc.hz('table', false);
|
|
3582
|
-
this.
|
|
3582
|
+
this.ca9_1 = tmp0_serialDesc;
|
|
3583
3583
|
}
|
|
3584
|
-
protoOf($serializer).
|
|
3585
|
-
var tmp0_desc = this.
|
|
3584
|
+
protoOf($serializer).da9 = function (encoder, value) {
|
|
3585
|
+
var tmp0_desc = this.ca9_1;
|
|
3586
3586
|
var tmp1_output = encoder.pr(tmp0_desc);
|
|
3587
|
-
tmp1_output.et(tmp0_desc, 0, value.
|
|
3587
|
+
tmp1_output.et(tmp0_desc, 0, value.ea9_1);
|
|
3588
3588
|
tmp1_output.et(tmp0_desc, 1, value.table);
|
|
3589
3589
|
tmp1_output.qr(tmp0_desc);
|
|
3590
3590
|
};
|
|
3591
3591
|
protoOf($serializer).do = function (encoder, value) {
|
|
3592
|
-
return this.
|
|
3592
|
+
return this.da9(encoder, value instanceof TableStateUpdateDto ? value : THROW_CCE());
|
|
3593
3593
|
};
|
|
3594
3594
|
protoOf($serializer).eo = function (decoder) {
|
|
3595
|
-
var tmp0_desc = this.
|
|
3595
|
+
var tmp0_desc = this.ca9_1;
|
|
3596
3596
|
var tmp1_flag = true;
|
|
3597
3597
|
var tmp2_index = 0;
|
|
3598
3598
|
var tmp3_bitMask0 = 0;
|
|
@@ -3627,7 +3627,7 @@
|
|
|
3627
3627
|
return TableStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3628
3628
|
};
|
|
3629
3629
|
protoOf($serializer).co = function () {
|
|
3630
|
-
return this.
|
|
3630
|
+
return this.ca9_1;
|
|
3631
3631
|
};
|
|
3632
3632
|
protoOf($serializer).wz = function () {
|
|
3633
3633
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3643,9 +3643,9 @@
|
|
|
3643
3643
|
}
|
|
3644
3644
|
function TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, $this) {
|
|
3645
3645
|
if (!(3 === (3 & seen0))) {
|
|
3646
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance().
|
|
3646
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance().ca9_1);
|
|
3647
3647
|
}
|
|
3648
|
-
$this.
|
|
3648
|
+
$this.ea9_1 = roomId;
|
|
3649
3649
|
$this.table = table;
|
|
3650
3650
|
return $this;
|
|
3651
3651
|
}
|
|
@@ -3653,17 +3653,17 @@
|
|
|
3653
3653
|
return TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, objectCreate(protoOf(TableStateUpdateDto)));
|
|
3654
3654
|
}
|
|
3655
3655
|
function TableStateUpdateDto(roomId, table) {
|
|
3656
|
-
this.
|
|
3656
|
+
this.ea9_1 = roomId;
|
|
3657
3657
|
this.table = table;
|
|
3658
3658
|
}
|
|
3659
3659
|
protoOf(TableStateUpdateDto).n8j = function () {
|
|
3660
|
-
return this.
|
|
3660
|
+
return this.ea9_1;
|
|
3661
3661
|
};
|
|
3662
3662
|
protoOf(TableStateUpdateDto).c6s = function () {
|
|
3663
3663
|
return this.table;
|
|
3664
3664
|
};
|
|
3665
3665
|
protoOf(TableStateUpdateDto).oe = function () {
|
|
3666
|
-
return this.
|
|
3666
|
+
return this.ea9_1;
|
|
3667
3667
|
};
|
|
3668
3668
|
protoOf(TableStateUpdateDto).pe = function () {
|
|
3669
3669
|
return this.table;
|
|
@@ -3672,15 +3672,15 @@
|
|
|
3672
3672
|
return new TableStateUpdateDto(roomId, table);
|
|
3673
3673
|
};
|
|
3674
3674
|
protoOf(TableStateUpdateDto).copy = function (roomId, table, $super) {
|
|
3675
|
-
roomId = roomId === VOID ? this.
|
|
3675
|
+
roomId = roomId === VOID ? this.ea9_1 : roomId;
|
|
3676
3676
|
table = table === VOID ? this.table : table;
|
|
3677
3677
|
return $super === VOID ? this.f54(roomId, table) : $super.f54.call(this, roomId, table);
|
|
3678
3678
|
};
|
|
3679
3679
|
protoOf(TableStateUpdateDto).toString = function () {
|
|
3680
|
-
return 'TableStateUpdateDto(roomId=' + this.
|
|
3680
|
+
return 'TableStateUpdateDto(roomId=' + this.ea9_1 + ', table=' + this.table + ')';
|
|
3681
3681
|
};
|
|
3682
3682
|
protoOf(TableStateUpdateDto).hashCode = function () {
|
|
3683
|
-
var result = getStringHashCode(this.
|
|
3683
|
+
var result = getStringHashCode(this.ea9_1);
|
|
3684
3684
|
result = imul(result, 31) + getStringHashCode(this.table) | 0;
|
|
3685
3685
|
return result;
|
|
3686
3686
|
};
|
|
@@ -3689,7 +3689,7 @@
|
|
|
3689
3689
|
return true;
|
|
3690
3690
|
if (!(other instanceof TableStateUpdateDto))
|
|
3691
3691
|
return false;
|
|
3692
|
-
if (!(this.
|
|
3692
|
+
if (!(this.ea9_1 === other.ea9_1))
|
|
3693
3693
|
return false;
|
|
3694
3694
|
if (!(this.table === other.table))
|
|
3695
3695
|
return false;
|
|
@@ -3709,20 +3709,20 @@
|
|
|
3709
3709
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.ActionsStateUpdateDto', this, 2);
|
|
3710
3710
|
tmp0_serialDesc.hz('roomId', false);
|
|
3711
3711
|
tmp0_serialDesc.hz('actions', false);
|
|
3712
|
-
this.
|
|
3712
|
+
this.fa9_1 = tmp0_serialDesc;
|
|
3713
3713
|
}
|
|
3714
|
-
protoOf($serializer_0).
|
|
3715
|
-
var tmp0_desc = this.
|
|
3714
|
+
protoOf($serializer_0).ga9 = function (encoder, value) {
|
|
3715
|
+
var tmp0_desc = this.fa9_1;
|
|
3716
3716
|
var tmp1_output = encoder.pr(tmp0_desc);
|
|
3717
|
-
tmp1_output.et(tmp0_desc, 0, value.
|
|
3717
|
+
tmp1_output.et(tmp0_desc, 0, value.ha9_1);
|
|
3718
3718
|
tmp1_output.et(tmp0_desc, 1, value.actions);
|
|
3719
3719
|
tmp1_output.qr(tmp0_desc);
|
|
3720
3720
|
};
|
|
3721
3721
|
protoOf($serializer_0).do = function (encoder, value) {
|
|
3722
|
-
return this.
|
|
3722
|
+
return this.ga9(encoder, value instanceof ActionsStateUpdateDto ? value : THROW_CCE());
|
|
3723
3723
|
};
|
|
3724
3724
|
protoOf($serializer_0).eo = function (decoder) {
|
|
3725
|
-
var tmp0_desc = this.
|
|
3725
|
+
var tmp0_desc = this.fa9_1;
|
|
3726
3726
|
var tmp1_flag = true;
|
|
3727
3727
|
var tmp2_index = 0;
|
|
3728
3728
|
var tmp3_bitMask0 = 0;
|
|
@@ -3757,7 +3757,7 @@
|
|
|
3757
3757
|
return ActionsStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3758
3758
|
};
|
|
3759
3759
|
protoOf($serializer_0).co = function () {
|
|
3760
|
-
return this.
|
|
3760
|
+
return this.fa9_1;
|
|
3761
3761
|
};
|
|
3762
3762
|
protoOf($serializer_0).wz = function () {
|
|
3763
3763
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3773,9 +3773,9 @@
|
|
|
3773
3773
|
}
|
|
3774
3774
|
function ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, $this) {
|
|
3775
3775
|
if (!(3 === (3 & seen0))) {
|
|
3776
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().
|
|
3776
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().fa9_1);
|
|
3777
3777
|
}
|
|
3778
|
-
$this.
|
|
3778
|
+
$this.ha9_1 = roomId;
|
|
3779
3779
|
$this.actions = actions;
|
|
3780
3780
|
return $this;
|
|
3781
3781
|
}
|
|
@@ -3783,17 +3783,17 @@
|
|
|
3783
3783
|
return ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, objectCreate(protoOf(ActionsStateUpdateDto)));
|
|
3784
3784
|
}
|
|
3785
3785
|
function ActionsStateUpdateDto(roomId, actions) {
|
|
3786
|
-
this.
|
|
3786
|
+
this.ha9_1 = roomId;
|
|
3787
3787
|
this.actions = actions;
|
|
3788
3788
|
}
|
|
3789
3789
|
protoOf(ActionsStateUpdateDto).n8j = function () {
|
|
3790
|
-
return this.
|
|
3790
|
+
return this.ha9_1;
|
|
3791
3791
|
};
|
|
3792
3792
|
protoOf(ActionsStateUpdateDto).a8k = function () {
|
|
3793
3793
|
return this.actions;
|
|
3794
3794
|
};
|
|
3795
3795
|
protoOf(ActionsStateUpdateDto).oe = function () {
|
|
3796
|
-
return this.
|
|
3796
|
+
return this.ha9_1;
|
|
3797
3797
|
};
|
|
3798
3798
|
protoOf(ActionsStateUpdateDto).pe = function () {
|
|
3799
3799
|
return this.actions;
|
|
@@ -3802,15 +3802,15 @@
|
|
|
3802
3802
|
return new ActionsStateUpdateDto(roomId, actions);
|
|
3803
3803
|
};
|
|
3804
3804
|
protoOf(ActionsStateUpdateDto).copy = function (roomId, actions, $super) {
|
|
3805
|
-
roomId = roomId === VOID ? this.
|
|
3805
|
+
roomId = roomId === VOID ? this.ha9_1 : roomId;
|
|
3806
3806
|
actions = actions === VOID ? this.actions : actions;
|
|
3807
3807
|
return $super === VOID ? this.f54(roomId, actions) : $super.f54.call(this, roomId, actions);
|
|
3808
3808
|
};
|
|
3809
3809
|
protoOf(ActionsStateUpdateDto).toString = function () {
|
|
3810
|
-
return 'ActionsStateUpdateDto(roomId=' + this.
|
|
3810
|
+
return 'ActionsStateUpdateDto(roomId=' + this.ha9_1 + ', actions=' + this.actions + ')';
|
|
3811
3811
|
};
|
|
3812
3812
|
protoOf(ActionsStateUpdateDto).hashCode = function () {
|
|
3813
|
-
var result = getStringHashCode(this.
|
|
3813
|
+
var result = getStringHashCode(this.ha9_1);
|
|
3814
3814
|
result = imul(result, 31) + getStringHashCode(this.actions) | 0;
|
|
3815
3815
|
return result;
|
|
3816
3816
|
};
|
|
@@ -3819,7 +3819,7 @@
|
|
|
3819
3819
|
return true;
|
|
3820
3820
|
if (!(other instanceof ActionsStateUpdateDto))
|
|
3821
3821
|
return false;
|
|
3822
|
-
if (!(this.
|
|
3822
|
+
if (!(this.ha9_1 === other.ha9_1))
|
|
3823
3823
|
return false;
|
|
3824
3824
|
if (!(this.actions === other.actions))
|
|
3825
3825
|
return false;
|
|
@@ -3849,42 +3849,42 @@
|
|
|
3849
3849
|
var tmp$ret$0 = mapToDto(item);
|
|
3850
3850
|
destination.j(tmp$ret$0);
|
|
3851
3851
|
}
|
|
3852
|
-
return new ActionsStateUpdateDto(_this__u8e3s4.
|
|
3852
|
+
return new ActionsStateUpdateDto(_this__u8e3s4.ia9_1, encoderDecoderProvider.d8r(destination));
|
|
3853
3853
|
}
|
|
3854
3854
|
function mapToDto_3(_this__u8e3s4, encoderDecoderProvider) {
|
|
3855
|
-
return new TableStateUpdateDto(_this__u8e3s4.
|
|
3855
|
+
return new TableStateUpdateDto(_this__u8e3s4.ja9_1, encoderDecoderProvider.b8r(mapToDto_0(_this__u8e3s4.table)));
|
|
3856
3856
|
}
|
|
3857
3857
|
function ServerStateUpdate() {
|
|
3858
3858
|
}
|
|
3859
3859
|
function TableStateUpdate(roomId, table) {
|
|
3860
|
-
this.
|
|
3860
|
+
this.ja9_1 = roomId;
|
|
3861
3861
|
this.table = table;
|
|
3862
3862
|
}
|
|
3863
3863
|
protoOf(TableStateUpdate).n8j = function () {
|
|
3864
|
-
return this.
|
|
3864
|
+
return this.ja9_1;
|
|
3865
3865
|
};
|
|
3866
3866
|
protoOf(TableStateUpdate).c6s = function () {
|
|
3867
3867
|
return this.table;
|
|
3868
3868
|
};
|
|
3869
3869
|
protoOf(TableStateUpdate).oe = function () {
|
|
3870
|
-
return this.
|
|
3870
|
+
return this.ja9_1;
|
|
3871
3871
|
};
|
|
3872
3872
|
protoOf(TableStateUpdate).pe = function () {
|
|
3873
3873
|
return this.table;
|
|
3874
3874
|
};
|
|
3875
|
-
protoOf(TableStateUpdate).
|
|
3875
|
+
protoOf(TableStateUpdate).ka9 = function (roomId, table) {
|
|
3876
3876
|
return new TableStateUpdate(roomId, table);
|
|
3877
3877
|
};
|
|
3878
3878
|
protoOf(TableStateUpdate).copy = function (roomId, table, $super) {
|
|
3879
|
-
roomId = roomId === VOID ? this.
|
|
3879
|
+
roomId = roomId === VOID ? this.ja9_1 : roomId;
|
|
3880
3880
|
table = table === VOID ? this.table : table;
|
|
3881
|
-
return $super === VOID ? this.
|
|
3881
|
+
return $super === VOID ? this.ka9(roomId, table) : $super.ka9.call(this, roomId, table);
|
|
3882
3882
|
};
|
|
3883
3883
|
protoOf(TableStateUpdate).toString = function () {
|
|
3884
|
-
return 'TableStateUpdate(roomId=' + this.
|
|
3884
|
+
return 'TableStateUpdate(roomId=' + this.ja9_1 + ', table=' + this.table.toString() + ')';
|
|
3885
3885
|
};
|
|
3886
3886
|
protoOf(TableStateUpdate).hashCode = function () {
|
|
3887
|
-
var result = getStringHashCode(this.
|
|
3887
|
+
var result = getStringHashCode(this.ja9_1);
|
|
3888
3888
|
result = imul(result, 31) + this.table.hashCode() | 0;
|
|
3889
3889
|
return result;
|
|
3890
3890
|
};
|
|
@@ -3893,41 +3893,41 @@
|
|
|
3893
3893
|
return true;
|
|
3894
3894
|
if (!(other instanceof TableStateUpdate))
|
|
3895
3895
|
return false;
|
|
3896
|
-
if (!(this.
|
|
3896
|
+
if (!(this.ja9_1 === other.ja9_1))
|
|
3897
3897
|
return false;
|
|
3898
3898
|
if (!this.table.equals(other.table))
|
|
3899
3899
|
return false;
|
|
3900
3900
|
return true;
|
|
3901
3901
|
};
|
|
3902
3902
|
function ActionsStateUpdate(roomId, actions) {
|
|
3903
|
-
this.
|
|
3903
|
+
this.ia9_1 = roomId;
|
|
3904
3904
|
this.actions = actions;
|
|
3905
3905
|
}
|
|
3906
3906
|
protoOf(ActionsStateUpdate).n8j = function () {
|
|
3907
|
-
return this.
|
|
3907
|
+
return this.ia9_1;
|
|
3908
3908
|
};
|
|
3909
3909
|
protoOf(ActionsStateUpdate).a8k = function () {
|
|
3910
3910
|
return this.actions;
|
|
3911
3911
|
};
|
|
3912
3912
|
protoOf(ActionsStateUpdate).oe = function () {
|
|
3913
|
-
return this.
|
|
3913
|
+
return this.ia9_1;
|
|
3914
3914
|
};
|
|
3915
3915
|
protoOf(ActionsStateUpdate).pe = function () {
|
|
3916
3916
|
return this.actions;
|
|
3917
3917
|
};
|
|
3918
|
-
protoOf(ActionsStateUpdate).
|
|
3918
|
+
protoOf(ActionsStateUpdate).la9 = function (roomId, actions) {
|
|
3919
3919
|
return new ActionsStateUpdate(roomId, actions);
|
|
3920
3920
|
};
|
|
3921
3921
|
protoOf(ActionsStateUpdate).copy = function (roomId, actions, $super) {
|
|
3922
|
-
roomId = roomId === VOID ? this.
|
|
3922
|
+
roomId = roomId === VOID ? this.ia9_1 : roomId;
|
|
3923
3923
|
actions = actions === VOID ? this.actions : actions;
|
|
3924
|
-
return $super === VOID ? this.
|
|
3924
|
+
return $super === VOID ? this.la9(roomId, actions) : $super.la9.call(this, roomId, actions);
|
|
3925
3925
|
};
|
|
3926
3926
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
3927
|
-
return 'ActionsStateUpdate(roomId=' + this.
|
|
3927
|
+
return 'ActionsStateUpdate(roomId=' + this.ia9_1 + ', actions=' + toString(this.actions) + ')';
|
|
3928
3928
|
};
|
|
3929
3929
|
protoOf(ActionsStateUpdate).hashCode = function () {
|
|
3930
|
-
var result = getStringHashCode(this.
|
|
3930
|
+
var result = getStringHashCode(this.ia9_1);
|
|
3931
3931
|
result = imul(result, 31) + hashCode(this.actions) | 0;
|
|
3932
3932
|
return result;
|
|
3933
3933
|
};
|
|
@@ -3936,7 +3936,7 @@
|
|
|
3936
3936
|
return true;
|
|
3937
3937
|
if (!(other instanceof ActionsStateUpdate))
|
|
3938
3938
|
return false;
|
|
3939
|
-
if (!(this.
|
|
3939
|
+
if (!(this.ia9_1 === other.ia9_1))
|
|
3940
3940
|
return false;
|
|
3941
3941
|
if (!equals(this.actions, other.actions))
|
|
3942
3942
|
return false;
|
|
@@ -4176,18 +4176,18 @@
|
|
|
4176
4176
|
function ToClientEventsObserver() {
|
|
4177
4177
|
}
|
|
4178
4178
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
4179
|
-
this.
|
|
4180
|
-
this.
|
|
4179
|
+
this.va9_1 = this$0;
|
|
4180
|
+
this.wa9_1 = $actions;
|
|
4181
4181
|
CoroutineImpl.call(this, resultContinuation);
|
|
4182
4182
|
}
|
|
4183
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
4184
|
-
var tmp = this.
|
|
4183
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).za9 = function ($this$flow, $completion) {
|
|
4184
|
+
var tmp = this.aaa($this$flow, $completion);
|
|
4185
4185
|
tmp.u8_1 = Unit_instance;
|
|
4186
4186
|
tmp.v8_1 = null;
|
|
4187
4187
|
return tmp.a9();
|
|
4188
4188
|
};
|
|
4189
4189
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).i9 = function (p1, $completion) {
|
|
4190
|
-
return this.
|
|
4190
|
+
return this.za9((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
4191
4191
|
};
|
|
4192
4192
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).a9 = function () {
|
|
4193
4193
|
var suspendResult = this.u8_1;
|
|
@@ -4197,19 +4197,19 @@
|
|
|
4197
4197
|
switch (tmp) {
|
|
4198
4198
|
case 0:
|
|
4199
4199
|
this.t8_1 = 4;
|
|
4200
|
-
this.
|
|
4201
|
-
this.
|
|
4200
|
+
this.va9_1.faa_1;
|
|
4201
|
+
this.ya9_1 = transformToEmits(this.va9_1, this.wa9_1).l();
|
|
4202
4202
|
this.s8_1 = 1;
|
|
4203
4203
|
continue $sm;
|
|
4204
4204
|
case 1:
|
|
4205
|
-
if (!this.
|
|
4205
|
+
if (!this.ya9_1.m()) {
|
|
4206
4206
|
this.s8_1 = 3;
|
|
4207
4207
|
continue $sm;
|
|
4208
4208
|
}
|
|
4209
4209
|
|
|
4210
|
-
var element = this.
|
|
4210
|
+
var element = this.ya9_1.n();
|
|
4211
4211
|
this.s8_1 = 2;
|
|
4212
|
-
suspendResult = this.
|
|
4212
|
+
suspendResult = this.xa9_1.o28(element, this);
|
|
4213
4213
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4214
4214
|
return suspendResult;
|
|
4215
4215
|
}
|
|
@@ -4219,11 +4219,11 @@
|
|
|
4219
4219
|
this.s8_1 = 1;
|
|
4220
4220
|
continue $sm;
|
|
4221
4221
|
case 3:
|
|
4222
|
-
var tmp0 = this.
|
|
4222
|
+
var tmp0 = this.va9_1.eaa_1;
|
|
4223
4223
|
l$ret$1: do {
|
|
4224
4224
|
while (true) {
|
|
4225
4225
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
4226
|
-
var upd = cur - this.
|
|
4226
|
+
var upd = cur - this.wa9_1.o() | 0;
|
|
4227
4227
|
if (tmp0.atomicfu$compareAndSet(cur, upd)) {
|
|
4228
4228
|
break l$ret$1;
|
|
4229
4229
|
}
|
|
@@ -4245,15 +4245,15 @@
|
|
|
4245
4245
|
}
|
|
4246
4246
|
while (true);
|
|
4247
4247
|
};
|
|
4248
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
4249
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
4250
|
-
i.
|
|
4248
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).aaa = function ($this$flow, completion) {
|
|
4249
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.va9_1, this.wa9_1, completion);
|
|
4250
|
+
i.xa9_1 = $this$flow;
|
|
4251
4251
|
return i;
|
|
4252
4252
|
};
|
|
4253
4253
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
4254
4254
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
4255
4255
|
var l = function ($this$flow, $completion) {
|
|
4256
|
-
return i.
|
|
4256
|
+
return i.za9($this$flow, $completion);
|
|
4257
4257
|
};
|
|
4258
4258
|
l.$arity = 1;
|
|
4259
4259
|
return l;
|
|
@@ -4323,29 +4323,29 @@
|
|
|
4323
4323
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
4324
4324
|
}
|
|
4325
4325
|
function mapFromGroupKey($this, _this__u8e3s4) {
|
|
4326
|
-
var tmp = $this.
|
|
4326
|
+
var tmp = $this.daa_1.h6e();
|
|
4327
4327
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
4328
|
-
var this_0 = _this__u8e3s4.
|
|
4328
|
+
var this_0 = _this__u8e3s4.iaa_1;
|
|
4329
4329
|
var tmp_0 = copyToArray(this_0);
|
|
4330
4330
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
4331
|
-
var this_1 = _this__u8e3s4.
|
|
4331
|
+
var this_1 = _this__u8e3s4.jaa_1;
|
|
4332
4332
|
var tmp$ret$1 = copyToArray(this_1);
|
|
4333
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
4333
|
+
return new ActionDeliveryPayload(_this__u8e3s4.haa_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.kaa_1);
|
|
4334
4334
|
}
|
|
4335
4335
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
4336
|
-
this.
|
|
4337
|
-
this.
|
|
4338
|
-
this.
|
|
4339
|
-
this.
|
|
4336
|
+
this.haa_1 = tableId;
|
|
4337
|
+
this.iaa_1 = includePlayers;
|
|
4338
|
+
this.jaa_1 = excludePlayers;
|
|
4339
|
+
this.kaa_1 = deliveryType;
|
|
4340
4340
|
}
|
|
4341
4341
|
protoOf(GroupKey).toString = function () {
|
|
4342
|
-
return 'GroupKey(tableId=' + this.
|
|
4342
|
+
return 'GroupKey(tableId=' + this.haa_1 + ', includePlayers=' + toString(this.iaa_1) + ', excludePlayers=' + toString(this.jaa_1) + ', deliveryType=' + this.kaa_1.toString() + ')';
|
|
4343
4343
|
};
|
|
4344
4344
|
protoOf(GroupKey).hashCode = function () {
|
|
4345
|
-
var result = getStringHashCode(this.
|
|
4346
|
-
result = imul(result, 31) + hashCode(this.haa_1) | 0;
|
|
4345
|
+
var result = getStringHashCode(this.haa_1);
|
|
4347
4346
|
result = imul(result, 31) + hashCode(this.iaa_1) | 0;
|
|
4348
|
-
result = imul(result, 31) + this.jaa_1
|
|
4347
|
+
result = imul(result, 31) + hashCode(this.jaa_1) | 0;
|
|
4348
|
+
result = imul(result, 31) + this.kaa_1.hashCode() | 0;
|
|
4349
4349
|
return result;
|
|
4350
4350
|
};
|
|
4351
4351
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -4353,35 +4353,35 @@
|
|
|
4353
4353
|
return true;
|
|
4354
4354
|
if (!(other instanceof GroupKey))
|
|
4355
4355
|
return false;
|
|
4356
|
-
if (!(this.
|
|
4357
|
-
return false;
|
|
4358
|
-
if (!equals(this.haa_1, other.haa_1))
|
|
4356
|
+
if (!(this.haa_1 === other.haa_1))
|
|
4359
4357
|
return false;
|
|
4360
4358
|
if (!equals(this.iaa_1, other.iaa_1))
|
|
4361
4359
|
return false;
|
|
4362
|
-
if (!this.jaa_1
|
|
4360
|
+
if (!equals(this.jaa_1, other.jaa_1))
|
|
4361
|
+
return false;
|
|
4362
|
+
if (!this.kaa_1.equals(other.kaa_1))
|
|
4363
4363
|
return false;
|
|
4364
4364
|
return true;
|
|
4365
4365
|
};
|
|
4366
4366
|
function Companion_4() {
|
|
4367
|
-
this.
|
|
4367
|
+
this.laa_1 = 6;
|
|
4368
4368
|
}
|
|
4369
4369
|
var Companion_instance_14;
|
|
4370
4370
|
function Companion_getInstance_5() {
|
|
4371
4371
|
return Companion_instance_14;
|
|
4372
4372
|
}
|
|
4373
4373
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
4374
|
-
this.
|
|
4374
|
+
this.uaa_1 = this$0;
|
|
4375
4375
|
CoroutineImpl.call(this, resultContinuation);
|
|
4376
4376
|
}
|
|
4377
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
4378
|
-
var tmp = this.
|
|
4377
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).waa = function (actions, $completion) {
|
|
4378
|
+
var tmp = this.xaa(actions, $completion);
|
|
4379
4379
|
tmp.u8_1 = Unit_instance;
|
|
4380
4380
|
tmp.v8_1 = null;
|
|
4381
4381
|
return tmp.a9();
|
|
4382
4382
|
};
|
|
4383
4383
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).i9 = function (p1, $completion) {
|
|
4384
|
-
return this.
|
|
4384
|
+
return this.waa((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
4385
4385
|
};
|
|
4386
4386
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).a9 = function () {
|
|
4387
4387
|
var suspendResult = this.u8_1;
|
|
@@ -4390,7 +4390,7 @@
|
|
|
4390
4390
|
var tmp = this.s8_1;
|
|
4391
4391
|
if (tmp === 0) {
|
|
4392
4392
|
this.t8_1 = 1;
|
|
4393
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
4393
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.uaa_1, this.vaa_1, null));
|
|
4394
4394
|
} else if (tmp === 1) {
|
|
4395
4395
|
throw this.v8_1;
|
|
4396
4396
|
}
|
|
@@ -4400,23 +4400,23 @@
|
|
|
4400
4400
|
}
|
|
4401
4401
|
while (true);
|
|
4402
4402
|
};
|
|
4403
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
4404
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
4405
|
-
i.
|
|
4403
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).xaa = function (actions, completion) {
|
|
4404
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.uaa_1, completion);
|
|
4405
|
+
i.vaa_1 = actions;
|
|
4406
4406
|
return i;
|
|
4407
4407
|
};
|
|
4408
4408
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
4409
4409
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
4410
4410
|
var l = function (actions, $completion) {
|
|
4411
|
-
return i.
|
|
4411
|
+
return i.waa(actions, $completion);
|
|
4412
4412
|
};
|
|
4413
4413
|
l.$arity = 1;
|
|
4414
4414
|
return l;
|
|
4415
4415
|
}
|
|
4416
4416
|
function $sentEventCOROUTINE$(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
4417
4417
|
CoroutineImpl.call(this, resultContinuation);
|
|
4418
|
-
this.
|
|
4419
|
-
this.
|
|
4418
|
+
this.gab_1 = _this__u8e3s4;
|
|
4419
|
+
this.hab_1 = fromEvent;
|
|
4420
4420
|
}
|
|
4421
4421
|
protoOf($sentEventCOROUTINE$).a9 = function () {
|
|
4422
4422
|
var suspendResult = this.u8_1;
|
|
@@ -4426,8 +4426,8 @@
|
|
|
4426
4426
|
switch (tmp) {
|
|
4427
4427
|
case 0:
|
|
4428
4428
|
this.t8_1 = 2;
|
|
4429
|
-
this.
|
|
4430
|
-
var tmp0 = this.
|
|
4429
|
+
this.gab_1.faa_1;
|
|
4430
|
+
var tmp0 = this.gab_1.eaa_1;
|
|
4431
4431
|
l$ret$1: do {
|
|
4432
4432
|
while (true) {
|
|
4433
4433
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
@@ -4439,7 +4439,7 @@
|
|
|
4439
4439
|
}
|
|
4440
4440
|
while (false);
|
|
4441
4441
|
this.s8_1 = 1;
|
|
4442
|
-
suspendResult = this.
|
|
4442
|
+
suspendResult = this.gab_1.gaa_1.o28(this.hab_1, this);
|
|
4443
4443
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4444
4444
|
return suspendResult;
|
|
4445
4445
|
}
|
|
@@ -4463,7 +4463,7 @@
|
|
|
4463
4463
|
};
|
|
4464
4464
|
function $waitForCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
4465
4465
|
CoroutineImpl.call(this, resultContinuation);
|
|
4466
|
-
this.
|
|
4466
|
+
this.qab_1 = _this__u8e3s4;
|
|
4467
4467
|
}
|
|
4468
4468
|
protoOf($waitForCOROUTINE$).a9 = function () {
|
|
4469
4469
|
var suspendResult = this.u8_1;
|
|
@@ -4473,12 +4473,12 @@
|
|
|
4473
4473
|
switch (tmp) {
|
|
4474
4474
|
case 0:
|
|
4475
4475
|
this.t8_1 = 5;
|
|
4476
|
-
this.
|
|
4477
|
-
this.
|
|
4476
|
+
this.qab_1.faa_1;
|
|
4477
|
+
this.rab_1 = 0;
|
|
4478
4478
|
this.s8_1 = 1;
|
|
4479
4479
|
continue $sm;
|
|
4480
4480
|
case 1:
|
|
4481
|
-
if (!!(this.
|
|
4481
|
+
if (!!(this.qab_1.eaa_1.kotlinx$atomicfu$value === 0)) {
|
|
4482
4482
|
this.s8_1 = 4;
|
|
4483
4483
|
continue $sm;
|
|
4484
4484
|
}
|
|
@@ -4491,9 +4491,9 @@
|
|
|
4491
4491
|
|
|
4492
4492
|
continue $sm;
|
|
4493
4493
|
case 2:
|
|
4494
|
-
this.
|
|
4495
|
-
if (this.
|
|
4496
|
-
this.
|
|
4494
|
+
this.rab_1 = this.rab_1 + 1 | 0;
|
|
4495
|
+
if (this.rab_1 > 6) {
|
|
4496
|
+
this.qab_1.caa_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.qab_1.eaa_1.kotlinx$atomicfu$value);
|
|
4497
4497
|
this.s8_1 = 4;
|
|
4498
4498
|
continue $sm;
|
|
4499
4499
|
} else {
|
|
@@ -4521,54 +4521,54 @@
|
|
|
4521
4521
|
while (true);
|
|
4522
4522
|
};
|
|
4523
4523
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
4524
|
-
this.
|
|
4525
|
-
this.
|
|
4526
|
-
this.
|
|
4527
|
-
this.
|
|
4524
|
+
this.baa_1 = serverReduxConfig;
|
|
4525
|
+
this.caa_1 = logger;
|
|
4526
|
+
this.daa_1 = idsProvider;
|
|
4527
|
+
this.eaa_1 = atomic$ref$1(0);
|
|
4528
4528
|
var tmp = this;
|
|
4529
4529
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
4530
|
-
tmp.
|
|
4531
|
-
this.
|
|
4530
|
+
tmp.faa_1 = get_atomicfu$reentrantLock();
|
|
4531
|
+
this.gaa_1 = MutableSharedFlow();
|
|
4532
4532
|
}
|
|
4533
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4533
|
+
protoOf(ToClientEventsObserverImpl).ma9 = function (fromEvent, $completion) {
|
|
4534
4534
|
var tmp = new $sentEventCOROUTINE$(this, fromEvent, $completion);
|
|
4535
4535
|
tmp.u8_1 = Unit_instance;
|
|
4536
4536
|
tmp.v8_1 = null;
|
|
4537
4537
|
return tmp.a9();
|
|
4538
4538
|
};
|
|
4539
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4539
|
+
protoOf(ToClientEventsObserverImpl).a9i = function ($completion) {
|
|
4540
4540
|
var tmp = new $waitForCOROUTINE$(this, $completion);
|
|
4541
4541
|
tmp.u8_1 = Unit_instance;
|
|
4542
4542
|
tmp.v8_1 = null;
|
|
4543
4543
|
return tmp.a9();
|
|
4544
4544
|
};
|
|
4545
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4546
|
-
if (!this.
|
|
4547
|
-
return this.
|
|
4545
|
+
protoOf(ToClientEventsObserverImpl).g9z = function () {
|
|
4546
|
+
if (!this.baa_1.enabledCombinedEvents) {
|
|
4547
|
+
return this.gaa_1;
|
|
4548
4548
|
}
|
|
4549
|
-
var tmp = windowedByInterval(this.
|
|
4549
|
+
var tmp = windowedByInterval(this.gaa_1, fromInt(this.baa_1.combinedEventsIntervalMillis));
|
|
4550
4550
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
4551
4551
|
};
|
|
4552
4552
|
function PlayerConnectionInteractor() {
|
|
4553
4553
|
}
|
|
4554
4554
|
function waitPlayerOrDisconnect($this, newConnectionState, previousConnectionState, table, player, waitForPlayer) {
|
|
4555
|
-
if (waitForPlayer && $this.
|
|
4555
|
+
if (waitForPlayer && $this.uab_1.waitForPlayerToReconnect) {
|
|
4556
4556
|
Companion_getInstance();
|
|
4557
4557
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
4558
|
-
var this_0 = $this.
|
|
4558
|
+
var this_0 = $this.uab_1.reconnectionCheckDurationMillis;
|
|
4559
4559
|
var reconnectionCheckDurationMillis = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
4560
4560
|
var noRecentReconnects = Duration__compareTo_impl_pchp0f(table.gameDuration, reconnectionCheckDurationMillis) < 0 || player.n6v_1.d69().x67(reconnectionCheckDurationMillis);
|
|
4561
4561
|
if (noRecentReconnects) {
|
|
4562
|
-
return $this.
|
|
4562
|
+
return $this.tab(player.playerId, newConnectionState, previousConnectionState);
|
|
4563
4563
|
}
|
|
4564
4564
|
}
|
|
4565
|
-
var canRemoveGameWhenNoPlayers = Companion_instance_2.l6v($this.
|
|
4565
|
+
var canRemoveGameWhenNoPlayers = Companion_instance_2.l6v($this.uab_1.finishGameWhenNotLiveStrategy, player.playerId, table.players);
|
|
4566
4566
|
if (canRemoveGameWhenNoPlayers) {
|
|
4567
|
-
return listOf($this.
|
|
4567
|
+
return listOf($this.yab_1.b8y(mapToFinishReason(newConnectionState, player, table.playersConnections), table, 'Disconnect: No Players to continue game'));
|
|
4568
4568
|
}
|
|
4569
4569
|
if (table.sceneInfo.k7g()) {
|
|
4570
|
-
if (!$this.
|
|
4571
|
-
return listOf($this.
|
|
4570
|
+
if (!$this.vab_1.openRoomIfFinished) {
|
|
4571
|
+
return listOf($this.yab_1.b8y(mapToFinishReason(newConnectionState, player, table.playersConnections), table, 'Disconnect: Game is finished'));
|
|
4572
4572
|
}
|
|
4573
4573
|
// Inline function 'kotlin.collections.filter' call
|
|
4574
4574
|
var tmp0 = table.players;
|
|
@@ -4643,27 +4643,27 @@
|
|
|
4643
4643
|
}
|
|
4644
4644
|
var readyLivePlayers = destination_3;
|
|
4645
4645
|
var usersToJoinRoomSize = table.players.o() - notAlivePlayers.o() | 0;
|
|
4646
|
-
if ($this.
|
|
4647
|
-
return listOf($this.
|
|
4646
|
+
if ($this.vab_1.minPlayersToOpenRoom >= usersToJoinRoomSize) {
|
|
4647
|
+
return listOf($this.yab_1.b8y(mapToFinishReason(newConnectionState, player, table.playersConnections), table, 'Disconnect: Not enough users to create room'));
|
|
4648
4648
|
}
|
|
4649
4649
|
var allPlayersMadeDecision = (readyLivePlayers.o() + notAlivePlayers.o() | 0) === table.players.o();
|
|
4650
4650
|
if (allPlayersMadeDecision) {
|
|
4651
|
-
var tmp0_$this = $this.
|
|
4651
|
+
var tmp0_$this = $this.yab_1;
|
|
4652
4652
|
var tmp1_reason = mapToFinishReason(newConnectionState, player, table.playersConnections);
|
|
4653
4653
|
return listOf(tmp0_$this.a8y(tmp1_reason, table, 'Disconnect: Game is finished, transition to room', readyLivePlayers));
|
|
4654
4654
|
}
|
|
4655
4655
|
}
|
|
4656
|
-
if (!$this.
|
|
4657
|
-
return listOf($this.
|
|
4656
|
+
if (!$this.uab_1.botReplacesPlayerAfterTimeout) {
|
|
4657
|
+
return listOf($this.yab_1.b8y(mapToFinishReason(newConnectionState, player, table.playersConnections), table, "Disconnect: Can't continue game without bots"));
|
|
4658
4658
|
}
|
|
4659
4659
|
return getPlayerDisconnectedActions($this, newConnectionState, previousConnectionState, player);
|
|
4660
4660
|
}
|
|
4661
4661
|
function getPlayerConnectedActions($this, player, table, previousConnectionState) {
|
|
4662
4662
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
4663
4663
|
var actionsList = ArrayList_init_$Create$_0();
|
|
4664
|
-
actionsList.q(listOf_0([new PlayerConnectionChangedMechanicAction(player.playerId, PlayerConnectionState_LIVE_getInstance(), previousConnectionState), $this.
|
|
4664
|
+
actionsList.q(listOf_0([new PlayerConnectionChangedMechanicAction(player.playerId, PlayerConnectionState_LIVE_getInstance(), previousConnectionState), $this.ta6(player, table)]));
|
|
4665
4665
|
if (player.n6v_1.m67()) {
|
|
4666
|
-
actionsList.q(listOf_0([new StopTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.n6v_1.t68())), new StartTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.n6v_1.t68(), true), _Duration___get_inWholeMilliseconds__impl__msfiry($this.
|
|
4666
|
+
actionsList.q(listOf_0([new StopTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.n6v_1.t68())), new StartTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.n6v_1.t68(), true), _Duration___get_inWholeMilliseconds__impl__msfiry($this.wab_1.d9m(table.config)), VOID, TimerType_DELAY_getInstance())]));
|
|
4667
4667
|
}
|
|
4668
4668
|
return actionsList;
|
|
4669
4669
|
}
|
|
@@ -4677,13 +4677,13 @@
|
|
|
4677
4677
|
return actionsList;
|
|
4678
4678
|
}
|
|
4679
4679
|
function PlayerConnectionInteractorImpl(serverConfig, engineLogicConfig, playerTurnMechanicReducer, idsProvider, gameLifecycleInteractor) {
|
|
4680
|
-
this.
|
|
4681
|
-
this.
|
|
4682
|
-
this.
|
|
4683
|
-
this.
|
|
4684
|
-
this.
|
|
4680
|
+
this.uab_1 = serverConfig;
|
|
4681
|
+
this.vab_1 = engineLogicConfig;
|
|
4682
|
+
this.wab_1 = playerTurnMechanicReducer;
|
|
4683
|
+
this.xab_1 = idsProvider;
|
|
4684
|
+
this.yab_1 = gameLifecycleInteractor;
|
|
4685
4685
|
}
|
|
4686
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4686
|
+
protoOf(PlayerConnectionInteractorImpl).sab = function (newConnectionState, previousConnectionState, player, table, afterReconnection) {
|
|
4687
4687
|
var tmp;
|
|
4688
4688
|
switch (newConnectionState.q2_1) {
|
|
4689
4689
|
case 1:
|
|
@@ -4714,18 +4714,18 @@
|
|
|
4714
4714
|
}
|
|
4715
4715
|
return tmp;
|
|
4716
4716
|
};
|
|
4717
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4717
|
+
protoOf(PlayerConnectionInteractorImpl).va8 = function (sendToPlayerId, isLive, tableId, reason, isGameFinished) {
|
|
4718
4718
|
if (!isLive) {
|
|
4719
4719
|
return emptyList();
|
|
4720
4720
|
}
|
|
4721
|
-
var tmp0_deliveryPayload = Companion_instance_1.user(this.
|
|
4721
|
+
var tmp0_deliveryPayload = Companion_instance_1.user(this.xab_1.h6e(), tableId, sendToPlayerId);
|
|
4722
4722
|
var tmp = new FinishingGameToClientAction(reason, isGameFinished, null, tmp0_deliveryPayload);
|
|
4723
|
-
var tmp1_deliveryPayload = Companion_instance_1.user(this.
|
|
4723
|
+
var tmp1_deliveryPayload = Companion_instance_1.user(this.xab_1.h6e(), tableId, sendToPlayerId);
|
|
4724
4724
|
return listOf_0([tmp, new FinishGameToClientAction(reason, isGameFinished, null, tmp1_deliveryPayload)]);
|
|
4725
4725
|
};
|
|
4726
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4727
|
-
var updatedTable = this.
|
|
4728
|
-
var aid = this.
|
|
4726
|
+
protoOf(PlayerConnectionInteractorImpl).ta6 = function (sendToPlayer, table) {
|
|
4727
|
+
var updatedTable = this.wab_1.e9k(table, sendToPlayer.playerId, PlayerConnectionState_LIVE_getInstance(), null);
|
|
4728
|
+
var aid = this.xab_1.h6e();
|
|
4729
4729
|
var tmp4_deliveryPayload = Companion_instance_1.userFromTable(aid, updatedTable, sendToPlayer.playerId);
|
|
4730
4730
|
var tmp0_playerId = sendToPlayer.playerId;
|
|
4731
4731
|
var tmp1_gameCreatorPlayerId = getGameCreator(updatedTable.players).playerId;
|
|
@@ -4744,166 +4744,166 @@
|
|
|
4744
4744
|
var tmp6_reason = new PlayerReturnsReason(sendToPlayer.playerId);
|
|
4745
4745
|
return new ContinueGameToClientAction(tmp5_table, tmp6_reason, null, tmp4_deliveryPayload);
|
|
4746
4746
|
};
|
|
4747
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4747
|
+
protoOf(PlayerConnectionInteractorImpl).tab = function (playerId, newConnectionState, previousConnectionState) {
|
|
4748
4748
|
var tmp = System_instance.dk();
|
|
4749
4749
|
Companion_getInstance();
|
|
4750
4750
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
4751
|
-
var this_0 = this.
|
|
4751
|
+
var this_0 = this.uab_1.waitForPlayerToReconnectTimeOutMillis;
|
|
4752
4752
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
4753
4753
|
var reconnectUntilTime = tmp.sk(tmp$ret$0);
|
|
4754
4754
|
var tmp0_state = PlayerConnectionState_DISCONNECTING_getInstance();
|
|
4755
4755
|
var tmp1_reconnectUntilTime = reconnectUntilTime.toString();
|
|
4756
|
-
return listOf_0([new PlayerConnectionChangedMechanicAction(playerId, tmp0_state, previousConnectionState, newConnectionState, false, tmp1_reconnectUntilTime), new StartTimerAction(new PlayerReconnectionWaitingTimerTag(playerId, newConnectionState, previousConnectionState), fromInt(this.
|
|
4756
|
+
return listOf_0([new PlayerConnectionChangedMechanicAction(playerId, tmp0_state, previousConnectionState, newConnectionState, false, tmp1_reconnectUntilTime), new StartTimerAction(new PlayerReconnectionWaitingTimerTag(playerId, newConnectionState, previousConnectionState), fromInt(this.uab_1.waitForPlayerToReconnectTimeOutMillis), VOID, TimerType_DELAY_getInstance())]);
|
|
4757
4757
|
};
|
|
4758
4758
|
function UpdateServerConfigAction(serverConfig) {
|
|
4759
|
-
this.
|
|
4759
|
+
this.zab_1 = serverConfig;
|
|
4760
4760
|
}
|
|
4761
4761
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
4762
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
4762
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.zab_1.toString() + ')';
|
|
4763
4763
|
};
|
|
4764
4764
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
4765
|
-
return this.
|
|
4765
|
+
return this.zab_1.hashCode();
|
|
4766
4766
|
};
|
|
4767
4767
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
4768
4768
|
if (this === other)
|
|
4769
4769
|
return true;
|
|
4770
4770
|
if (!(other instanceof UpdateServerConfigAction))
|
|
4771
4771
|
return false;
|
|
4772
|
-
if (!this.
|
|
4772
|
+
if (!this.zab_1.equals(other.zab_1))
|
|
4773
4773
|
return false;
|
|
4774
4774
|
return true;
|
|
4775
4775
|
};
|
|
4776
4776
|
function SpectatorsAction() {
|
|
4777
4777
|
}
|
|
4778
4778
|
function AddSpectatorsAction(spectators) {
|
|
4779
|
-
this.
|
|
4779
|
+
this.aac_1 = spectators;
|
|
4780
4780
|
}
|
|
4781
4781
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
4782
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
4782
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.aac_1) + ')';
|
|
4783
4783
|
};
|
|
4784
4784
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
4785
|
-
return hashCode(this.
|
|
4785
|
+
return hashCode(this.aac_1);
|
|
4786
4786
|
};
|
|
4787
4787
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
4788
4788
|
if (this === other)
|
|
4789
4789
|
return true;
|
|
4790
4790
|
if (!(other instanceof AddSpectatorsAction))
|
|
4791
4791
|
return false;
|
|
4792
|
-
if (!equals(this.
|
|
4792
|
+
if (!equals(this.aac_1, other.aac_1))
|
|
4793
4793
|
return false;
|
|
4794
4794
|
return true;
|
|
4795
4795
|
};
|
|
4796
4796
|
function RemoveSpectatorsAction(spectators) {
|
|
4797
|
-
this.
|
|
4797
|
+
this.bac_1 = spectators;
|
|
4798
4798
|
}
|
|
4799
4799
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
4800
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
4800
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.bac_1) + ')';
|
|
4801
4801
|
};
|
|
4802
4802
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
4803
|
-
return hashCode(this.
|
|
4803
|
+
return hashCode(this.bac_1);
|
|
4804
4804
|
};
|
|
4805
4805
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
4806
4806
|
if (this === other)
|
|
4807
4807
|
return true;
|
|
4808
4808
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
4809
4809
|
return false;
|
|
4810
|
-
if (!equals(this.
|
|
4810
|
+
if (!equals(this.bac_1, other.bac_1))
|
|
4811
4811
|
return false;
|
|
4812
4812
|
return true;
|
|
4813
4813
|
};
|
|
4814
4814
|
function _get_asyncProvider__jbpyhw($this) {
|
|
4815
|
-
var tmp0 = $this.
|
|
4815
|
+
var tmp0 = $this.hac_1;
|
|
4816
4816
|
var tmp = KProperty1;
|
|
4817
4817
|
// Inline function 'kotlin.getValue' call
|
|
4818
4818
|
getPropertyCallableRef('asyncProvider', 1, tmp, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3_0(), null);
|
|
4819
4819
|
return tmp0.x();
|
|
4820
4820
|
}
|
|
4821
4821
|
function _get_logger__rkp4sl($this) {
|
|
4822
|
-
var tmp0 = $this.
|
|
4822
|
+
var tmp0 = $this.iac_1;
|
|
4823
4823
|
var tmp = KProperty1;
|
|
4824
4824
|
// Inline function 'kotlin.getValue' call
|
|
4825
4825
|
getPropertyCallableRef('logger', 1, tmp, ServerGameStoreContract$_get_logger_$ref_zbgw28_0(), null);
|
|
4826
4826
|
return tmp0.x();
|
|
4827
4827
|
}
|
|
4828
4828
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
4829
|
-
var tmp0 = $this.
|
|
4829
|
+
var tmp0 = $this.jac_1;
|
|
4830
4830
|
var tmp = KProperty1;
|
|
4831
4831
|
// Inline function 'kotlin.getValue' call
|
|
4832
4832
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8_0(), null);
|
|
4833
4833
|
return tmp0.x();
|
|
4834
4834
|
}
|
|
4835
4835
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
4836
|
-
var tmp0 = $this.
|
|
4836
|
+
var tmp0 = $this.kac_1;
|
|
4837
4837
|
var tmp = KProperty1;
|
|
4838
4838
|
// Inline function 'kotlin.getValue' call
|
|
4839
4839
|
getPropertyCallableRef('lastCardInteractor', 1, tmp, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh_0(), null);
|
|
4840
4840
|
return tmp0.x();
|
|
4841
4841
|
}
|
|
4842
4842
|
function _get_serverConfig__rk2g06($this) {
|
|
4843
|
-
var tmp0 = $this.
|
|
4843
|
+
var tmp0 = $this.lac_1;
|
|
4844
4844
|
var tmp = KProperty1;
|
|
4845
4845
|
// Inline function 'kotlin.getValue' call
|
|
4846
4846
|
getPropertyCallableRef('serverConfig', 1, tmp, ServerGameStoreContract$_get_serverConfig_$ref_bz2891_0(), null);
|
|
4847
4847
|
return tmp0.x();
|
|
4848
4848
|
}
|
|
4849
4849
|
function _get_logicConfig__52ww9d($this) {
|
|
4850
|
-
var tmp0 = $this.
|
|
4850
|
+
var tmp0 = $this.mac_1;
|
|
4851
4851
|
var tmp = KProperty1;
|
|
4852
4852
|
// Inline function 'kotlin.getValue' call
|
|
4853
4853
|
getPropertyCallableRef('logicConfig', 1, tmp, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi_0(), null);
|
|
4854
4854
|
return tmp0.x();
|
|
4855
4855
|
}
|
|
4856
4856
|
function _get_idsProvider__fnfajc_0($this) {
|
|
4857
|
-
var tmp0 = $this.
|
|
4857
|
+
var tmp0 = $this.nac_1;
|
|
4858
4858
|
var tmp = KProperty1;
|
|
4859
4859
|
// Inline function 'kotlin.getValue' call
|
|
4860
4860
|
getPropertyCallableRef('idsProvider', 1, tmp, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1_0(), null);
|
|
4861
4861
|
return tmp0.x();
|
|
4862
4862
|
}
|
|
4863
4863
|
function _get_botConfig__cpaxzc($this) {
|
|
4864
|
-
var tmp0 = $this.
|
|
4864
|
+
var tmp0 = $this.oac_1;
|
|
4865
4865
|
var tmp = KProperty1;
|
|
4866
4866
|
// Inline function 'kotlin.getValue' call
|
|
4867
4867
|
getPropertyCallableRef('botConfig', 1, tmp, ServerGameStoreContract$_get_botConfig_$ref_nebw1d_0(), null);
|
|
4868
4868
|
return tmp0.x();
|
|
4869
4869
|
}
|
|
4870
4870
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
4871
|
-
var tmp0 = $this.
|
|
4871
|
+
var tmp0 = $this.pac_1;
|
|
4872
4872
|
var tmp = KProperty1;
|
|
4873
4873
|
// Inline function 'kotlin.getValue' call
|
|
4874
4874
|
getPropertyCallableRef('scenePositionProvider', 1, tmp, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4_0(), null);
|
|
4875
4875
|
return tmp0.x();
|
|
4876
4876
|
}
|
|
4877
4877
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
4878
|
-
var tmp0 = $this.
|
|
4878
|
+
var tmp0 = $this.qac_1;
|
|
4879
4879
|
var tmp = KProperty1;
|
|
4880
4880
|
// Inline function 'kotlin.getValue' call
|
|
4881
4881
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p_0(), null);
|
|
4882
4882
|
return tmp0.x();
|
|
4883
4883
|
}
|
|
4884
4884
|
function _get_fromClientEventsObserver__a7vzd3_0($this) {
|
|
4885
|
-
var tmp0 = $this.
|
|
4885
|
+
var tmp0 = $this.rac_1;
|
|
4886
4886
|
var tmp = KProperty1;
|
|
4887
4887
|
// Inline function 'kotlin.getValue' call
|
|
4888
4888
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg_0(), null);
|
|
4889
4889
|
return tmp0.x();
|
|
4890
4890
|
}
|
|
4891
4891
|
function _get_dealerConfig__183ci8($this) {
|
|
4892
|
-
var tmp0 = $this.
|
|
4892
|
+
var tmp0 = $this.sac_1;
|
|
4893
4893
|
var tmp = KProperty1;
|
|
4894
4894
|
// Inline function 'kotlin.getValue' call
|
|
4895
4895
|
getPropertyCallableRef('dealerConfig', 1, tmp, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp_0(), null);
|
|
4896
4896
|
return tmp0.x();
|
|
4897
4897
|
}
|
|
4898
4898
|
function _get_poolProvider__tqti6a($this) {
|
|
4899
|
-
var tmp0 = $this.
|
|
4899
|
+
var tmp0 = $this.tac_1;
|
|
4900
4900
|
var tmp = KProperty1;
|
|
4901
4901
|
// Inline function 'kotlin.getValue' call
|
|
4902
4902
|
getPropertyCallableRef('poolProvider', 1, tmp, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3_0(), null);
|
|
4903
4903
|
return tmp0.x();
|
|
4904
4904
|
}
|
|
4905
4905
|
function _get_cardsDealerProvider__bekjpg($this) {
|
|
4906
|
-
var tmp0 = $this.
|
|
4906
|
+
var tmp0 = $this.uac_1;
|
|
4907
4907
|
var tmp = KProperty1;
|
|
4908
4908
|
// Inline function 'kotlin.getValue' call
|
|
4909
4909
|
getPropertyCallableRef('cardsDealerProvider', 1, tmp, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj_0(), null);
|
|
@@ -5067,11 +5067,11 @@
|
|
|
5067
5067
|
tmp = fileLoggerStoreContract;
|
|
5068
5068
|
}
|
|
5069
5069
|
fileLoggerStoreContract = tmp;
|
|
5070
|
-
this.
|
|
5071
|
-
this.
|
|
5072
|
-
this.
|
|
5073
|
-
this.
|
|
5074
|
-
this.
|
|
5070
|
+
this.cac_1 = validationStoreContract;
|
|
5071
|
+
this.dac_1 = timersStoreContract;
|
|
5072
|
+
this.eac_1 = botGameStoreContract;
|
|
5073
|
+
this.fac_1 = gameMechanicStoreContract;
|
|
5074
|
+
this.gac_1 = fileLoggerStoreContract;
|
|
5075
5075
|
var tmp_0 = this;
|
|
5076
5076
|
// Inline function 'org.kodein.di.instance' call
|
|
5077
5077
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5079,7 +5079,7 @@
|
|
|
5079
5079
|
var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
|
|
5080
5080
|
var tmp_2 = Instance(di, tmp$ret$0, null);
|
|
5081
5081
|
var tmp_3 = KProperty1;
|
|
5082
|
-
tmp_0.
|
|
5082
|
+
tmp_0.hac_1 = tmp_2.a65(this, getPropertyCallableRef('asyncProvider', 1, tmp_3, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3(), null));
|
|
5083
5083
|
var tmp_4 = this;
|
|
5084
5084
|
// Inline function 'org.kodein.di.instance' call
|
|
5085
5085
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5087,7 +5087,7 @@
|
|
|
5087
5087
|
var tmp$ret$2 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
5088
5088
|
var tmp_6 = Instance(di, tmp$ret$2, null);
|
|
5089
5089
|
var tmp_7 = KProperty1;
|
|
5090
|
-
tmp_4.
|
|
5090
|
+
tmp_4.iac_1 = tmp_6.a65(this, getPropertyCallableRef('logger', 1, tmp_7, ServerGameStoreContract$_get_logger_$ref_zbgw28(), null));
|
|
5091
5091
|
var tmp_8 = this;
|
|
5092
5092
|
// Inline function 'org.kodein.di.instance' call
|
|
5093
5093
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5095,7 +5095,7 @@
|
|
|
5095
5095
|
var tmp$ret$4 = isInterface(tmp_9, TypeToken) ? tmp_9 : THROW_CCE();
|
|
5096
5096
|
var tmp_10 = Instance(di, tmp$ret$4, null);
|
|
5097
5097
|
var tmp_11 = KProperty1;
|
|
5098
|
-
tmp_8.
|
|
5098
|
+
tmp_8.jac_1 = tmp_10.a65(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_11, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8(), null));
|
|
5099
5099
|
var tmp_12 = 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$6 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
5104
5104
|
var tmp_14 = Instance(di, tmp$ret$6, null);
|
|
5105
5105
|
var tmp_15 = KProperty1;
|
|
5106
|
-
tmp_12.
|
|
5106
|
+
tmp_12.kac_1 = tmp_14.a65(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_15, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh(), null));
|
|
5107
5107
|
var tmp_16 = 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$8 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
5112
5112
|
var tmp_18 = Instance(di, tmp$ret$8, null);
|
|
5113
5113
|
var tmp_19 = KProperty1;
|
|
5114
|
-
tmp_16.
|
|
5114
|
+
tmp_16.lac_1 = tmp_18.a65(this, getPropertyCallableRef('serverConfig', 1, tmp_19, ServerGameStoreContract$_get_serverConfig_$ref_bz2891(), null));
|
|
5115
5115
|
var tmp_20 = 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$10 = isInterface(tmp_21, TypeToken) ? tmp_21 : THROW_CCE();
|
|
5120
5120
|
var tmp_22 = Instance(di, tmp$ret$10, null);
|
|
5121
5121
|
var tmp_23 = KProperty1;
|
|
5122
|
-
tmp_20.
|
|
5122
|
+
tmp_20.mac_1 = tmp_22.a65(this, getPropertyCallableRef('logicConfig', 1, tmp_23, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi(), null));
|
|
5123
5123
|
var tmp_24 = 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$12 = isInterface(tmp_25, TypeToken) ? tmp_25 : THROW_CCE();
|
|
5128
5128
|
var tmp_26 = Instance(di, tmp$ret$12, null);
|
|
5129
5129
|
var tmp_27 = KProperty1;
|
|
5130
|
-
tmp_24.
|
|
5130
|
+
tmp_24.nac_1 = tmp_26.a65(this, getPropertyCallableRef('idsProvider', 1, tmp_27, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1(), null));
|
|
5131
5131
|
var tmp_28 = 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$14 = isInterface(tmp_29, TypeToken) ? tmp_29 : THROW_CCE();
|
|
5136
5136
|
var tmp_30 = Instance(di, tmp$ret$14, null);
|
|
5137
5137
|
var tmp_31 = KProperty1;
|
|
5138
|
-
tmp_28.
|
|
5138
|
+
tmp_28.oac_1 = tmp_30.a65(this, getPropertyCallableRef('botConfig', 1, tmp_31, ServerGameStoreContract$_get_botConfig_$ref_nebw1d(), null));
|
|
5139
5139
|
var tmp_32 = 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$16 = isInterface(tmp_33, TypeToken) ? tmp_33 : THROW_CCE();
|
|
5144
5144
|
var tmp_34 = Instance(di, tmp$ret$16, null);
|
|
5145
5145
|
var tmp_35 = KProperty1;
|
|
5146
|
-
tmp_32.
|
|
5146
|
+
tmp_32.pac_1 = tmp_34.a65(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_35, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4(), null));
|
|
5147
5147
|
var tmp_36 = 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$18 = isInterface(tmp_37, TypeToken) ? tmp_37 : THROW_CCE();
|
|
5152
5152
|
var tmp_38 = Instance(di, tmp$ret$18, null);
|
|
5153
5153
|
var tmp_39 = KProperty1;
|
|
5154
|
-
tmp_36.
|
|
5154
|
+
tmp_36.qac_1 = tmp_38.a65(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_39, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p(), null));
|
|
5155
5155
|
var tmp_40 = 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$20 = isInterface(tmp_41, TypeToken) ? tmp_41 : THROW_CCE();
|
|
5160
5160
|
var tmp_42 = Instance(di, tmp$ret$20, null);
|
|
5161
5161
|
var tmp_43 = KProperty1;
|
|
5162
|
-
tmp_40.
|
|
5162
|
+
tmp_40.rac_1 = tmp_42.a65(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_43, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg(), null));
|
|
5163
5163
|
var tmp_44 = 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$22 = isInterface(tmp_45, TypeToken) ? tmp_45 : THROW_CCE();
|
|
5168
5168
|
var tmp_46 = Instance(di, tmp$ret$22, null);
|
|
5169
5169
|
var tmp_47 = KProperty1;
|
|
5170
|
-
tmp_44.
|
|
5170
|
+
tmp_44.sac_1 = tmp_46.a65(this, getPropertyCallableRef('dealerConfig', 1, tmp_47, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp(), null));
|
|
5171
5171
|
var tmp_48 = 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$24 = isInterface(tmp_49, TypeToken) ? tmp_49 : THROW_CCE();
|
|
5176
5176
|
var tmp_50 = Instance(di, tmp$ret$24, null);
|
|
5177
5177
|
var tmp_51 = KProperty1;
|
|
5178
|
-
tmp_48.
|
|
5178
|
+
tmp_48.tac_1 = tmp_50.a65(this, getPropertyCallableRef('poolProvider', 1, tmp_51, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3(), null));
|
|
5179
5179
|
var tmp_52 = this;
|
|
5180
5180
|
// Inline function 'org.kodein.di.instance' call
|
|
5181
5181
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5183,20 +5183,20 @@
|
|
|
5183
5183
|
var tmp$ret$26 = isInterface(tmp_53, TypeToken) ? tmp_53 : THROW_CCE();
|
|
5184
5184
|
var tmp_54 = Instance(di, tmp$ret$26, null);
|
|
5185
5185
|
var tmp_55 = KProperty1;
|
|
5186
|
-
tmp_52.
|
|
5186
|
+
tmp_52.uac_1 = tmp_54.a65(this, getPropertyCallableRef('cardsDealerProvider', 1, tmp_55, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj(), null));
|
|
5187
5187
|
}
|
|
5188
|
-
protoOf(ServerGameStoreContract).e98 = function () {
|
|
5189
|
-
return plus(plus(plus(plus(plus(this.bac_1.e98(), this.eac_1.e98()), this.cac_1.e98()), this.dac_1.e98()), this.fac_1.e98()), listOf_0([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl(this)), playerConnectionUpdateReducer()]));
|
|
5190
|
-
};
|
|
5191
5188
|
protoOf(ServerGameStoreContract).f98 = function () {
|
|
5192
|
-
|
|
5189
|
+
return plus(plus(plus(plus(plus(this.cac_1.f98(), this.fac_1.f98()), this.dac_1.f98()), this.eac_1.f98()), this.gac_1.f98()), listOf_0([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl(this)), playerConnectionUpdateReducer()]));
|
|
5190
|
+
};
|
|
5191
|
+
protoOf(ServerGameStoreContract).g98 = function () {
|
|
5192
|
+
var tmp = this.cac_1.g98();
|
|
5193
5193
|
var tmp_0;
|
|
5194
5194
|
if (_get_serverConfig__rk2g06(this).finishGameWhenNotLiveStrategy.equals(FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance())) {
|
|
5195
5195
|
tmp_0 = checkBotsMiddleware(_get_logger__rkp4sl(this));
|
|
5196
5196
|
} else {
|
|
5197
5197
|
tmp_0 = null;
|
|
5198
5198
|
}
|
|
5199
|
-
var tmp_1 = plus(plus(plus(plus(plus(tmp, listOfNotNull(tmp_0)), this.
|
|
5199
|
+
var tmp_1 = plus(plus(plus(plus(plus(tmp, listOfNotNull(tmp_0)), this.fac_1.g98()), this.dac_1.g98()), this.eac_1.g98()), this.gac_1.g98());
|
|
5200
5200
|
var tmp_2 = playerConnectionUpdateMiddleware(_get_logger__rkp4sl(this), _get_playerConnectionInteractor__si6cxf_0(this));
|
|
5201
5201
|
var tmp_3 = playerReconnectionTimeoutMiddleware(_get_playerConnectionInteractor__si6cxf_0(this));
|
|
5202
5202
|
var tmp_4;
|
|
@@ -5205,7 +5205,7 @@
|
|
|
5205
5205
|
} else {
|
|
5206
5206
|
tmp_4 = null;
|
|
5207
5207
|
}
|
|
5208
|
-
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))).
|
|
5208
|
+
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))).m9a(), finishingGameWhenCantStartNewMiddleware()]));
|
|
5209
5209
|
var tmp_6 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this), _get_logger__rkp4sl(this));
|
|
5210
5210
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
5211
5211
|
var tmp1_logger = _get_logger__rkp4sl(this);
|
|
@@ -5256,7 +5256,7 @@
|
|
|
5256
5256
|
return this.y6h(store, next, action);
|
|
5257
5257
|
};
|
|
5258
5258
|
function ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
|
|
5259
|
-
this.
|
|
5259
|
+
this.xac_1 = this$0;
|
|
5260
5260
|
}
|
|
5261
5261
|
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).j6g = function (action) {
|
|
5262
5262
|
return action instanceof MechanicAction;
|
|
@@ -5267,11 +5267,11 @@
|
|
|
5267
5267
|
// Inline function 'kotlin.with' call
|
|
5268
5268
|
var tmp;
|
|
5269
5269
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
5270
|
-
var tmp0 = this.
|
|
5271
|
-
var tmp2 = action_0.
|
|
5272
|
-
var tmp4 = action_0.
|
|
5270
|
+
var tmp0 = this.xac_1;
|
|
5271
|
+
var tmp2 = action_0.m94_1;
|
|
5272
|
+
var tmp4 = action_0.o94_1;
|
|
5273
5273
|
// Inline function 'kotlin.collections.map' call
|
|
5274
|
-
var this_0 = action_0.
|
|
5274
|
+
var this_0 = action_0.p94_1;
|
|
5275
5275
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5276
5276
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
5277
5277
|
var _iterator__ex2g4s = this_0.l();
|
|
@@ -5307,7 +5307,7 @@
|
|
|
5307
5307
|
var _iterator__ex2g4s_2 = destination_1.l();
|
|
5308
5308
|
while (_iterator__ex2g4s_2.m()) {
|
|
5309
5309
|
var element_0 = _iterator__ex2g4s_2.n();
|
|
5310
|
-
var tmp0_aid = tmp0.
|
|
5310
|
+
var tmp0_aid = tmp0.wac_1.h6e();
|
|
5311
5311
|
// Inline function 'kotlin.collections.map' call
|
|
5312
5312
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5313
5313
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -5329,15 +5329,15 @@
|
|
|
5329
5329
|
tmp = destination_2;
|
|
5330
5330
|
} else {
|
|
5331
5331
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
5332
|
-
var tmp0_0 = this.
|
|
5332
|
+
var tmp0_0 = this.xac_1;
|
|
5333
5333
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5334
5334
|
var table = state.c6s();
|
|
5335
|
-
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.
|
|
5335
|
+
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.wac_1.h6e(), table.id, null);
|
|
5336
5336
|
var tmp$ret$21 = mapToClient_18(action_0, sendToPlayer_0);
|
|
5337
5337
|
tmp = listOfNotNull(tmp$ret$21);
|
|
5338
5338
|
} else {
|
|
5339
5339
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
5340
|
-
var tmp0_1 = this.
|
|
5340
|
+
var tmp0_1 = this.xac_1;
|
|
5341
5341
|
var tmp2_0 = action_0.table.id;
|
|
5342
5342
|
var tmp4_0 = action_0.gameCreatorPlayerId;
|
|
5343
5343
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -5377,7 +5377,7 @@
|
|
|
5377
5377
|
var _iterator__ex2g4s_7 = destination_6.l();
|
|
5378
5378
|
while (_iterator__ex2g4s_7.m()) {
|
|
5379
5379
|
var element_2 = _iterator__ex2g4s_7.n();
|
|
5380
|
-
var tmp0_aid_0 = tmp0_1.
|
|
5380
|
+
var tmp0_aid_0 = tmp0_1.wac_1.h6e();
|
|
5381
5381
|
// Inline function 'kotlin.collections.map' call
|
|
5382
5382
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5383
5383
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -5399,39 +5399,39 @@
|
|
|
5399
5399
|
tmp = destination_7;
|
|
5400
5400
|
} else {
|
|
5401
5401
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
5402
|
-
var tmp0_2 = this.
|
|
5402
|
+
var tmp0_2 = this.xac_1;
|
|
5403
5403
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5404
5404
|
var table_0 = state.c6s();
|
|
5405
|
-
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.
|
|
5405
|
+
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.wac_1.h6e(), table_0.id, null);
|
|
5406
5406
|
var tmp$ret$44 = mapToClient_16(action_0, sendToPlayer_2);
|
|
5407
5407
|
tmp = listOfNotNull(tmp$ret$44);
|
|
5408
5408
|
} else {
|
|
5409
5409
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
5410
|
-
var tmp0_3 = this.
|
|
5410
|
+
var tmp0_3 = this.xac_1;
|
|
5411
5411
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5412
5412
|
var table_1 = state.c6s();
|
|
5413
|
-
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.
|
|
5413
|
+
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.wac_1.h6e(), table_1.id, null);
|
|
5414
5414
|
var tmp$ret$46 = mapToClient_15(action_0, sendToPlayer_3);
|
|
5415
5415
|
tmp = listOfNotNull(tmp$ret$46);
|
|
5416
5416
|
} else {
|
|
5417
5417
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
5418
|
-
var tmp0_4 = this.
|
|
5418
|
+
var tmp0_4 = this.xac_1;
|
|
5419
5419
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5420
5420
|
var table_2 = state.c6s();
|
|
5421
|
-
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.
|
|
5421
|
+
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.wac_1.h6e(), table_2.id, null);
|
|
5422
5422
|
var tmp$ret$48 = mapToClient_14(action_0, sendToPlayer_4);
|
|
5423
5423
|
tmp = listOfNotNull(tmp$ret$48);
|
|
5424
5424
|
} else {
|
|
5425
5425
|
if (action_0 instanceof ErrorAction) {
|
|
5426
|
-
var tmp0_5 = this.
|
|
5426
|
+
var tmp0_5 = this.xac_1;
|
|
5427
5427
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5428
5428
|
var table_3 = state.c6s();
|
|
5429
|
-
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.
|
|
5429
|
+
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.wac_1.h6e(), table_3.id, null);
|
|
5430
5430
|
var tmp$ret$50 = mapToClient_13(action_0, sendToPlayer_5);
|
|
5431
5431
|
tmp = listOfNotNull(tmp$ret$50);
|
|
5432
5432
|
} else {
|
|
5433
5433
|
if (action_0 instanceof SceneMechanicAction) {
|
|
5434
|
-
var tmp0_6 = this.
|
|
5434
|
+
var tmp0_6 = this.xac_1;
|
|
5435
5435
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
5436
5436
|
var table_4 = state.c6s();
|
|
5437
5437
|
var tmp2_1 = table_4.id;
|
|
@@ -5464,7 +5464,7 @@
|
|
|
5464
5464
|
var _iterator__ex2g4s_11 = destination_10.l();
|
|
5465
5465
|
while (_iterator__ex2g4s_11.m()) {
|
|
5466
5466
|
var element_4 = _iterator__ex2g4s_11.n();
|
|
5467
|
-
var tmp0_aid_1 = tmp0_6.
|
|
5467
|
+
var tmp0_aid_1 = tmp0_6.wac_1.h6e();
|
|
5468
5468
|
// Inline function 'kotlin.collections.map' call
|
|
5469
5469
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5470
5470
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
|
|
@@ -5486,7 +5486,7 @@
|
|
|
5486
5486
|
tmp = destination_11;
|
|
5487
5487
|
} else {
|
|
5488
5488
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
5489
|
-
var tmp0_7 = this.
|
|
5489
|
+
var tmp0_7 = this.xac_1;
|
|
5490
5490
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
5491
5491
|
var table_5 = state.c6s();
|
|
5492
5492
|
var tmp2_2 = table_5.id;
|
|
@@ -5519,7 +5519,7 @@
|
|
|
5519
5519
|
var _iterator__ex2g4s_15 = destination_14.l();
|
|
5520
5520
|
while (_iterator__ex2g4s_15.m()) {
|
|
5521
5521
|
var element_6 = _iterator__ex2g4s_15.n();
|
|
5522
|
-
var tmp0_aid_2 = tmp0_7.
|
|
5522
|
+
var tmp0_aid_2 = tmp0_7.wac_1.h6e();
|
|
5523
5523
|
// Inline function 'kotlin.collections.map' call
|
|
5524
5524
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5525
5525
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
|
|
@@ -5541,7 +5541,7 @@
|
|
|
5541
5541
|
tmp = destination_15;
|
|
5542
5542
|
} else {
|
|
5543
5543
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
5544
|
-
var tmp0_8 = this.
|
|
5544
|
+
var tmp0_8 = this.xac_1;
|
|
5545
5545
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
5546
5546
|
var table_6 = state.c6s();
|
|
5547
5547
|
var tmp2_3 = table_6.id;
|
|
@@ -5574,7 +5574,7 @@
|
|
|
5574
5574
|
var _iterator__ex2g4s_19 = destination_18.l();
|
|
5575
5575
|
while (_iterator__ex2g4s_19.m()) {
|
|
5576
5576
|
var element_8 = _iterator__ex2g4s_19.n();
|
|
5577
|
-
var tmp0_aid_3 = tmp0_8.
|
|
5577
|
+
var tmp0_aid_3 = tmp0_8.wac_1.h6e();
|
|
5578
5578
|
// Inline function 'kotlin.collections.map' call
|
|
5579
5579
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5580
5580
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
|
|
@@ -5586,7 +5586,7 @@
|
|
|
5586
5586
|
}
|
|
5587
5587
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tmp2_3, tmp4_3, element_8, destination_20);
|
|
5588
5588
|
var tmp_0;
|
|
5589
|
-
if (this.
|
|
5589
|
+
if (this.xac_1.vac_1.supportBackwardActions && getPlayer(state.c6s().players, sendToPlayer_8.d7h_1).p6v_1.a70_1) {
|
|
5590
5590
|
tmp_0 = null;
|
|
5591
5591
|
} else {
|
|
5592
5592
|
tmp_0 = mapToClient_10(action_0, sendToPlayer_8);
|
|
@@ -5602,81 +5602,81 @@
|
|
|
5602
5602
|
tmp = destination_19;
|
|
5603
5603
|
} else {
|
|
5604
5604
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
5605
|
-
var tmp0_9 = this.
|
|
5605
|
+
var tmp0_9 = this.xac_1;
|
|
5606
5606
|
var tmp2_4 = state.c6s();
|
|
5607
5607
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5608
|
-
var exceptPlayerId = this.
|
|
5609
|
-
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.
|
|
5608
|
+
var exceptPlayerId = this.xac_1.vac_1.supportBackwardActions ? action_0.f95_1 : null;
|
|
5609
|
+
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.wac_1.h6e(), tmp2_4.id, exceptPlayerId);
|
|
5610
5610
|
var tmp$ret$109 = mapToClient_9(action_0, sendToPlayer_9);
|
|
5611
5611
|
tmp = listOfNotNull(tmp$ret$109);
|
|
5612
5612
|
} else {
|
|
5613
5613
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
5614
|
-
var tmp0_10 = this.
|
|
5614
|
+
var tmp0_10 = this.xac_1;
|
|
5615
5615
|
var tmp2_5 = state.c6s();
|
|
5616
5616
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5617
|
-
var exceptPlayerId_0 = this.
|
|
5618
|
-
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.
|
|
5617
|
+
var exceptPlayerId_0 = this.xac_1.vac_1.supportBackwardActions ? action_0.n90_1 : null;
|
|
5618
|
+
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.wac_1.h6e(), tmp2_5.id, exceptPlayerId_0);
|
|
5619
5619
|
var tmp$ret$111 = mapToClient_8(action_0, sendToPlayer_10);
|
|
5620
5620
|
tmp = listOfNotNull(tmp$ret$111);
|
|
5621
5621
|
} else {
|
|
5622
5622
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
5623
|
-
var tmp0_11 = this.
|
|
5623
|
+
var tmp0_11 = this.xac_1;
|
|
5624
5624
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5625
5625
|
var table_7 = state.c6s();
|
|
5626
|
-
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.
|
|
5626
|
+
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.wac_1.h6e(), table_7.id, null);
|
|
5627
5627
|
var tmp$ret$113 = mapToClient_7(action_0, sendToPlayer_11);
|
|
5628
5628
|
tmp = listOfNotNull(tmp$ret$113);
|
|
5629
5629
|
} else {
|
|
5630
5630
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
5631
|
-
var tmp0_12 = this.
|
|
5631
|
+
var tmp0_12 = this.xac_1;
|
|
5632
5632
|
var tmp2_6 = state.c6s();
|
|
5633
5633
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5634
|
-
var exceptPlayerId_1 = this.
|
|
5635
|
-
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.
|
|
5634
|
+
var exceptPlayerId_1 = this.xac_1.vac_1.supportBackwardActions ? action_0.l95_1 : null;
|
|
5635
|
+
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.wac_1.h6e(), tmp2_6.id, exceptPlayerId_1);
|
|
5636
5636
|
var tmp$ret$115 = mapToClient_6(action_0, sendToPlayer_12);
|
|
5637
5637
|
tmp = listOfNotNull(tmp$ret$115);
|
|
5638
5638
|
} else {
|
|
5639
5639
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
5640
|
-
var tmp0_13 = this.
|
|
5640
|
+
var tmp0_13 = this.xac_1;
|
|
5641
5641
|
var tmp2_7 = state.c6s();
|
|
5642
5642
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5643
|
-
var exceptPlayerId_2 = this.
|
|
5644
|
-
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.
|
|
5643
|
+
var exceptPlayerId_2 = this.xac_1.vac_1.supportBackwardActions ? action_0.t90_1 : null;
|
|
5644
|
+
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.wac_1.h6e(), tmp2_7.id, exceptPlayerId_2);
|
|
5645
5645
|
var tmp$ret$117 = mapToClient_5(action_0, sendToPlayer_13);
|
|
5646
5646
|
tmp = listOfNotNull(tmp$ret$117);
|
|
5647
5647
|
} else {
|
|
5648
5648
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
5649
|
-
var tmp0_14 = this.
|
|
5649
|
+
var tmp0_14 = this.xac_1;
|
|
5650
5650
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5651
5651
|
var table_8 = state.c6s();
|
|
5652
|
-
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.
|
|
5652
|
+
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.wac_1.h6e(), table_8.id, null);
|
|
5653
5653
|
var tmp$ret$119 = mapToClient_4(action_0, sendToPlayer_14);
|
|
5654
5654
|
tmp = listOfNotNull(tmp$ret$119);
|
|
5655
5655
|
} else {
|
|
5656
5656
|
if (action_0 instanceof TakeAllRemainingCardsMechanicAction) {
|
|
5657
|
-
var tmp0_15 = this.
|
|
5657
|
+
var tmp0_15 = this.xac_1;
|
|
5658
5658
|
var tmp2_8 = state.c6s();
|
|
5659
5659
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5660
|
-
var exceptPlayerId_3 = this.
|
|
5661
|
-
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.
|
|
5660
|
+
var exceptPlayerId_3 = this.xac_1.vac_1.supportBackwardActions ? action_0.n95_1 : null;
|
|
5661
|
+
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.wac_1.h6e(), tmp2_8.id, exceptPlayerId_3);
|
|
5662
5662
|
var tmp$ret$121 = mapToClient_3(action_0, sendToPlayer_15);
|
|
5663
5663
|
tmp = listOfNotNull(tmp$ret$121);
|
|
5664
5664
|
} else {
|
|
5665
5665
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
5666
|
-
var tmp0_16 = this.
|
|
5666
|
+
var tmp0_16 = this.xac_1;
|
|
5667
5667
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5668
5668
|
var table_9 = state.c6s();
|
|
5669
|
-
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.
|
|
5669
|
+
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.wac_1.h6e(), table_9.id, null);
|
|
5670
5670
|
var tmp$ret$123 = mapToClient_2(action_0, sendToPlayer_16);
|
|
5671
5671
|
tmp = listOfNotNull(tmp$ret$123);
|
|
5672
5672
|
} else {
|
|
5673
5673
|
if (action_0 instanceof MessageMechanicAction) {
|
|
5674
5674
|
var message = action_0.message;
|
|
5675
|
-
var tmp0_17 = this.
|
|
5675
|
+
var tmp0_17 = this.xac_1;
|
|
5676
5676
|
var tmp2_9 = state.c6s();
|
|
5677
5677
|
var tmp_1;
|
|
5678
5678
|
var tmp_2;
|
|
5679
|
-
if (this.
|
|
5679
|
+
if (this.xac_1.vac_1.supportBackwardActions) {
|
|
5680
5680
|
tmp_2 = isInterface(message, UserMessage);
|
|
5681
5681
|
} else {
|
|
5682
5682
|
tmp_2 = false;
|
|
@@ -5688,16 +5688,16 @@
|
|
|
5688
5688
|
}
|
|
5689
5689
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5690
5690
|
var exceptPlayerId_4 = tmp_1;
|
|
5691
|
-
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.
|
|
5691
|
+
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.wac_1.h6e(), tmp2_9.id, exceptPlayerId_4);
|
|
5692
5692
|
var tmp$ret$125 = mapToClient_1(action_0, sendToPlayer_17);
|
|
5693
5693
|
tmp = listOfNotNull(tmp$ret$125);
|
|
5694
5694
|
} else {
|
|
5695
5695
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
5696
|
-
var tmp0_18 = this.
|
|
5696
|
+
var tmp0_18 = this.xac_1;
|
|
5697
5697
|
var tmp2_10 = state.c6s();
|
|
5698
5698
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5699
5699
|
var exceptPlayerId_5 = action_0.playerId;
|
|
5700
|
-
var sendToPlayer_18 = new RoomActionPayload(tmp0_18.
|
|
5700
|
+
var sendToPlayer_18 = new RoomActionPayload(tmp0_18.wac_1.h6e(), tmp2_10.id, exceptPlayerId_5);
|
|
5701
5701
|
var tmp$ret$127 = mapToClient_0(action_0, sendToPlayer_18);
|
|
5702
5702
|
tmp = listOfNotNull(tmp$ret$127);
|
|
5703
5703
|
} else {
|
|
@@ -5735,10 +5735,10 @@
|
|
|
5735
5735
|
return this.y6h(store, next, action);
|
|
5736
5736
|
};
|
|
5737
5737
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
5738
|
-
this.
|
|
5739
|
-
this.
|
|
5738
|
+
this.vac_1 = logicConfig;
|
|
5739
|
+
this.wac_1 = idsProvider;
|
|
5740
5740
|
}
|
|
5741
|
-
protoOf(ServerMapMechanicToClientActionMiddleware).
|
|
5741
|
+
protoOf(ServerMapMechanicToClientActionMiddleware).m9a = function () {
|
|
5742
5742
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
5743
5743
|
return new ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this);
|
|
5744
5744
|
};
|
|
@@ -5747,8 +5747,8 @@
|
|
|
5747
5747
|
return new playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1(logger, playerConnectionInteractor);
|
|
5748
5748
|
}
|
|
5749
5749
|
function playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1($logger, $playerConnectionInteractor) {
|
|
5750
|
-
this.
|
|
5751
|
-
this.
|
|
5750
|
+
this.yac_1 = $logger;
|
|
5751
|
+
this.zac_1 = $playerConnectionInteractor;
|
|
5752
5752
|
}
|
|
5753
5753
|
protoOf(playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1).j6g = function (action) {
|
|
5754
5754
|
return action instanceof PlayerConnectionUpdateAction;
|
|
@@ -5761,13 +5761,13 @@
|
|
|
5761
5761
|
if (!get_isCreated(state)) {
|
|
5762
5762
|
break $l$block_1;
|
|
5763
5763
|
}
|
|
5764
|
-
var player = getPlayer(state.c6s().players, tmp4.
|
|
5765
|
-
if (tmp4.
|
|
5764
|
+
var player = getPlayer(state.c6s().players, tmp4.v93_1);
|
|
5765
|
+
if (tmp4.u93_1.isVisibleDisconnectedReason) {
|
|
5766
5766
|
if (player.n6v_1.d69().n67_1.isDisconnecting) {
|
|
5767
5767
|
break $l$block_1;
|
|
5768
5768
|
}
|
|
5769
5769
|
if (player.n6v_1.d69().n67_1.isLeftPermanently) {
|
|
5770
|
-
this.
|
|
5770
|
+
this.yac_1.w('playerConnectionUpdateMiddleware', "player connection state can't be changed after [playerLeft] is invoked, " + tmp4.toString());
|
|
5771
5771
|
break $l$block_1;
|
|
5772
5772
|
}
|
|
5773
5773
|
}
|
|
@@ -5790,7 +5790,7 @@
|
|
|
5790
5790
|
var _iterator__ex2g4s_0 = destination.l();
|
|
5791
5791
|
while (_iterator__ex2g4s_0.m()) {
|
|
5792
5792
|
var element_0 = _iterator__ex2g4s_0.n();
|
|
5793
|
-
if (element_0.
|
|
5793
|
+
if (element_0.aad_1 === tmp4.v93_1) {
|
|
5794
5794
|
if (found) {
|
|
5795
5795
|
tmp$ret$4 = null;
|
|
5796
5796
|
break $l$block_3;
|
|
@@ -5809,7 +5809,7 @@
|
|
|
5809
5809
|
if (!(reconnectionTimerTag == null)) {
|
|
5810
5810
|
store.dispatch(new StopTimerAction(reconnectionTimerTag));
|
|
5811
5811
|
}
|
|
5812
|
-
var actions = this.
|
|
5812
|
+
var actions = this.zac_1.sab(tmp4.u93_1, player.n6v_1.d69().n67_1, player, store.state.c6s(), tmp4.w93_1);
|
|
5813
5813
|
// Inline function 'kotlin.collections.forEach' call
|
|
5814
5814
|
var _iterator__ex2g4s_1 = actions.l();
|
|
5815
5815
|
while (_iterator__ex2g4s_1.m()) {
|
|
@@ -5826,17 +5826,17 @@
|
|
|
5826
5826
|
return new playerReconnectionTimeoutMiddleware$$inlined$middlewareForActionType$1(playerConnectionInteractor);
|
|
5827
5827
|
}
|
|
5828
5828
|
function PlayerReconnectionWaitingTimerTag(playerId, state, previousState) {
|
|
5829
|
-
this.
|
|
5830
|
-
this.
|
|
5831
|
-
this.
|
|
5829
|
+
this.aad_1 = playerId;
|
|
5830
|
+
this.bad_1 = state;
|
|
5831
|
+
this.cad_1 = previousState;
|
|
5832
5832
|
}
|
|
5833
5833
|
protoOf(PlayerReconnectionWaitingTimerTag).toString = function () {
|
|
5834
|
-
return 'PlayerReconnectionWaitingTimerTag(playerId=' + this.
|
|
5834
|
+
return 'PlayerReconnectionWaitingTimerTag(playerId=' + this.aad_1 + ', state=' + this.bad_1.toString() + ', previousState=' + this.cad_1.toString() + ')';
|
|
5835
5835
|
};
|
|
5836
5836
|
protoOf(PlayerReconnectionWaitingTimerTag).hashCode = function () {
|
|
5837
|
-
var result = getStringHashCode(this.
|
|
5838
|
-
result = imul(result, 31) + this.aad_1.hashCode() | 0;
|
|
5837
|
+
var result = getStringHashCode(this.aad_1);
|
|
5839
5838
|
result = imul(result, 31) + this.bad_1.hashCode() | 0;
|
|
5839
|
+
result = imul(result, 31) + this.cad_1.hashCode() | 0;
|
|
5840
5840
|
return result;
|
|
5841
5841
|
};
|
|
5842
5842
|
protoOf(PlayerReconnectionWaitingTimerTag).equals = function (other) {
|
|
@@ -5844,16 +5844,16 @@
|
|
|
5844
5844
|
return true;
|
|
5845
5845
|
if (!(other instanceof PlayerReconnectionWaitingTimerTag))
|
|
5846
5846
|
return false;
|
|
5847
|
-
if (!(this.
|
|
5848
|
-
return false;
|
|
5849
|
-
if (!this.aad_1.equals(other.aad_1))
|
|
5847
|
+
if (!(this.aad_1 === other.aad_1))
|
|
5850
5848
|
return false;
|
|
5851
5849
|
if (!this.bad_1.equals(other.bad_1))
|
|
5852
5850
|
return false;
|
|
5851
|
+
if (!this.cad_1.equals(other.cad_1))
|
|
5852
|
+
return false;
|
|
5853
5853
|
return true;
|
|
5854
5854
|
};
|
|
5855
5855
|
function playerReconnectionTimeoutMiddleware$$inlined$middlewareForActionType$1($playerConnectionInteractor) {
|
|
5856
|
-
this.
|
|
5856
|
+
this.dad_1 = $playerConnectionInteractor;
|
|
5857
5857
|
}
|
|
5858
5858
|
protoOf(playerReconnectionTimeoutMiddleware$$inlined$middlewareForActionType$1).j6g = function (action) {
|
|
5859
5859
|
return action instanceof TimerTickAction;
|
|
@@ -5867,8 +5867,8 @@
|
|
|
5867
5867
|
var timerTag = tmp4.f6g_1;
|
|
5868
5868
|
if (timerTag instanceof PlayerReconnectionWaitingTimerTag) {
|
|
5869
5869
|
var state = store.state;
|
|
5870
|
-
var player = getPlayer(state.c6s().players, timerTag.
|
|
5871
|
-
var actions = this.
|
|
5870
|
+
var player = getPlayer(state.c6s().players, timerTag.aad_1);
|
|
5871
|
+
var actions = this.dad_1.sab(timerTag.bad_1, timerTag.cad_1, player, state.c6s(), true);
|
|
5872
5872
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5873
5873
|
if (!actions.r()) {
|
|
5874
5874
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5890,7 +5890,7 @@
|
|
|
5890
5890
|
return new playerReconnectionTimerStartWhenStartGameMiddleware$$inlined$middlewareForActionType$1(playerConnectionInteractor);
|
|
5891
5891
|
}
|
|
5892
5892
|
function playerReconnectionTimerStartWhenStartGameMiddleware$$inlined$middlewareForActionType$1($playerConnectionInteractor) {
|
|
5893
|
-
this.
|
|
5893
|
+
this.ead_1 = $playerConnectionInteractor;
|
|
5894
5894
|
}
|
|
5895
5895
|
protoOf(playerReconnectionTimerStartWhenStartGameMiddleware$$inlined$middlewareForActionType$1).j6g = function (action) {
|
|
5896
5896
|
return isInterface(action, FirstMechanicAction);
|
|
@@ -5918,7 +5918,7 @@
|
|
|
5918
5918
|
var tmp1_previousConnectionState = element_0.n6v_1.d69().n67_1;
|
|
5919
5919
|
var tmp2_playerId = element_0.playerId;
|
|
5920
5920
|
// Inline function 'kotlin.collections.forEach' call
|
|
5921
|
-
var _iterator__ex2g4s_1 = this.
|
|
5921
|
+
var _iterator__ex2g4s_1 = this.ead_1.tab(tmp2_playerId, tmp0_newConnectionState, tmp1_previousConnectionState).l();
|
|
5922
5922
|
while (_iterator__ex2g4s_1.m()) {
|
|
5923
5923
|
var element_1 = _iterator__ex2g4s_1.n();
|
|
5924
5924
|
store.dispatch(element_1);
|
|
@@ -5933,8 +5933,8 @@
|
|
|
5933
5933
|
return new sendToClientActionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, provider);
|
|
5934
5934
|
}
|
|
5935
5935
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
5936
|
-
this.
|
|
5937
|
-
this.
|
|
5936
|
+
this.nad_1 = $provider;
|
|
5937
|
+
this.oad_1 = $action;
|
|
5938
5938
|
CoroutineImpl.call(this, resultContinuation);
|
|
5939
5939
|
}
|
|
5940
5940
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).c2d = function ($this$launchDefault, $completion) {
|
|
@@ -5955,7 +5955,7 @@
|
|
|
5955
5955
|
case 0:
|
|
5956
5956
|
this.t8_1 = 2;
|
|
5957
5957
|
this.s8_1 = 1;
|
|
5958
|
-
suspendResult = this.
|
|
5958
|
+
suspendResult = this.nad_1.ma9(this.oad_1, this);
|
|
5959
5959
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5960
5960
|
return suspendResult;
|
|
5961
5961
|
}
|
|
@@ -5978,8 +5978,8 @@
|
|
|
5978
5978
|
while (true);
|
|
5979
5979
|
};
|
|
5980
5980
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).d2d = function ($this$launchDefault, completion) {
|
|
5981
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
5982
|
-
i.
|
|
5981
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.nad_1, this.oad_1, completion);
|
|
5982
|
+
i.pad_1 = $this$launchDefault;
|
|
5983
5983
|
return i;
|
|
5984
5984
|
};
|
|
5985
5985
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -5991,15 +5991,15 @@
|
|
|
5991
5991
|
return l;
|
|
5992
5992
|
}
|
|
5993
5993
|
function sendToClientActionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $provider) {
|
|
5994
|
-
this.
|
|
5995
|
-
this.
|
|
5994
|
+
this.qad_1 = $asyncProvider;
|
|
5995
|
+
this.rad_1 = $provider;
|
|
5996
5996
|
}
|
|
5997
5997
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).j6g = function (action) {
|
|
5998
5998
|
return action instanceof ToClientAction;
|
|
5999
5999
|
};
|
|
6000
6000
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).y6h = function (store, next, action) {
|
|
6001
6001
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
6002
|
-
this.
|
|
6002
|
+
this.qad_1.m6c(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.rad_1, action_0, null));
|
|
6003
6003
|
next(action_0);
|
|
6004
6004
|
};
|
|
6005
6005
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).i6g = function (store, next, action) {
|
|
@@ -6010,11 +6010,11 @@
|
|
|
6010
6010
|
return new playerTurnTimeoutWhenHasConnectionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, serverConfig, logger);
|
|
6011
6011
|
}
|
|
6012
6012
|
function playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda($store, $timerTag, $serverConfig, $logger, $action, resultContinuation) {
|
|
6013
|
-
this.
|
|
6014
|
-
this.
|
|
6015
|
-
this.
|
|
6016
|
-
this.
|
|
6017
|
-
this.
|
|
6013
|
+
this.aae_1 = $store;
|
|
6014
|
+
this.bae_1 = $timerTag;
|
|
6015
|
+
this.cae_1 = $serverConfig;
|
|
6016
|
+
this.dae_1 = $logger;
|
|
6017
|
+
this.eae_1 = $action;
|
|
6018
6018
|
CoroutineImpl.call(this, resultContinuation);
|
|
6019
6019
|
}
|
|
6020
6020
|
protoOf(playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda).c2d = function ($this$launchDefaultWithLock, $completion) {
|
|
@@ -6033,13 +6033,13 @@
|
|
|
6033
6033
|
var tmp = this.s8_1;
|
|
6034
6034
|
if (tmp === 0) {
|
|
6035
6035
|
this.t8_1 = 1;
|
|
6036
|
-
var table = this.
|
|
6037
|
-
var player = getPlayer(table.players, this.
|
|
6036
|
+
var table = this.aae_1.state.c6s();
|
|
6037
|
+
var player = getPlayer(table.players, this.bae_1.z65());
|
|
6038
6038
|
var connectionState = player.n6v_1.d69().n67_1;
|
|
6039
6039
|
var tmp_0;
|
|
6040
6040
|
switch (connectionState.q2_1) {
|
|
6041
6041
|
case 1:
|
|
6042
|
-
tmp_0 = listOf(new PlayerConnectionUpdateAction(PlayerConnectionState_TIMEOUT_getInstance(), player.playerId, this.
|
|
6042
|
+
tmp_0 = listOf(new PlayerConnectionUpdateAction(PlayerConnectionState_TIMEOUT_getInstance(), player.playerId, this.bae_1.i9h_1));
|
|
6043
6043
|
break;
|
|
6044
6044
|
case 6:
|
|
6045
6045
|
tmp_0 = emptyList();
|
|
@@ -6049,8 +6049,8 @@
|
|
|
6049
6049
|
case 3:
|
|
6050
6050
|
case 2:
|
|
6051
6051
|
var tmp_1;
|
|
6052
|
-
if (table.sceneInfo.k7g() && this.
|
|
6053
|
-
tmp_1 = new PlayerConnectionUpdateAction(PlayerConnectionState_DELETED_getInstance(), player.playerId, this.
|
|
6052
|
+
if (table.sceneInfo.k7g() && this.cae_1.closeIfBotsAtFinish) {
|
|
6053
|
+
tmp_1 = new PlayerConnectionUpdateAction(PlayerConnectionState_DELETED_getInstance(), player.playerId, this.bae_1.i9h_1);
|
|
6054
6054
|
} else {
|
|
6055
6055
|
tmp_1 = AskBotAction_init_$Create$(player.playerId, 'PlayerTurn when connection state = ' + connectionState.toString());
|
|
6056
6056
|
}
|
|
@@ -6059,7 +6059,7 @@
|
|
|
6059
6059
|
break;
|
|
6060
6060
|
case 0:
|
|
6061
6061
|
case 7:
|
|
6062
|
-
this.
|
|
6062
|
+
this.dae_1.w('playerTurnTimeoutWhenHasConnectionMiddleware', "Can't support this state " + connectionState.toString() + ', ' + ('action:' + this.eae_1.toString()));
|
|
6063
6063
|
tmp_0 = emptyList();
|
|
6064
6064
|
break;
|
|
6065
6065
|
default:
|
|
@@ -6071,7 +6071,7 @@
|
|
|
6071
6071
|
var _iterator__ex2g4s = actions.l();
|
|
6072
6072
|
while (_iterator__ex2g4s.m()) {
|
|
6073
6073
|
var element = _iterator__ex2g4s.n();
|
|
6074
|
-
this.
|
|
6074
|
+
this.aae_1.dispatch(element);
|
|
6075
6075
|
}
|
|
6076
6076
|
}
|
|
6077
6077
|
return Unit_instance;
|
|
@@ -6085,8 +6085,8 @@
|
|
|
6085
6085
|
while (true);
|
|
6086
6086
|
};
|
|
6087
6087
|
protoOf(playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda).d2d = function ($this$launchDefaultWithLock, completion) {
|
|
6088
|
-
var i = new playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda(this.
|
|
6089
|
-
i.
|
|
6088
|
+
var i = new playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda(this.aae_1, this.bae_1, this.cae_1, this.dae_1, this.eae_1, completion);
|
|
6089
|
+
i.fae_1 = $this$launchDefaultWithLock;
|
|
6090
6090
|
return i;
|
|
6091
6091
|
};
|
|
6092
6092
|
function playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda_0($store, $timerTag, $serverConfig, $logger, $action, resultContinuation) {
|
|
@@ -6098,9 +6098,9 @@
|
|
|
6098
6098
|
return l;
|
|
6099
6099
|
}
|
|
6100
6100
|
function playerTurnTimeoutWhenHasConnectionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $serverConfig, $logger) {
|
|
6101
|
-
this.
|
|
6102
|
-
this.
|
|
6103
|
-
this.
|
|
6101
|
+
this.gae_1 = $asyncProvider;
|
|
6102
|
+
this.hae_1 = $serverConfig;
|
|
6103
|
+
this.iae_1 = $logger;
|
|
6104
6104
|
}
|
|
6105
6105
|
protoOf(playerTurnTimeoutWhenHasConnectionMiddleware$$inlined$middlewareForActionType$1).j6g = function (action) {
|
|
6106
6106
|
return action instanceof TimerTickAction;
|
|
@@ -6109,7 +6109,7 @@
|
|
|
6109
6109
|
var action_0 = action instanceof TimerTickAction ? action : THROW_CCE();
|
|
6110
6110
|
var timerTag = action_0.f6g_1;
|
|
6111
6111
|
if (timerTag instanceof PlayerTurnTimerTag) {
|
|
6112
|
-
this.
|
|
6112
|
+
this.gae_1.o6c(VOID, playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda_0(store, timerTag, this.hae_1, this.iae_1, action_0, null));
|
|
6113
6113
|
}
|
|
6114
6114
|
next(action_0);
|
|
6115
6115
|
};
|
|
@@ -6125,19 +6125,19 @@
|
|
|
6125
6125
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).j6g = function (action) {
|
|
6126
6126
|
return action instanceof UpdateServerConfigAction;
|
|
6127
6127
|
};
|
|
6128
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
6128
|
+
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).r9j = function (state, action) {
|
|
6129
6129
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
6130
|
-
return state.
|
|
6130
|
+
return state.n93(VOID, get_serverStatePayload_0(state).copy(action_0.zab_1));
|
|
6131
6131
|
};
|
|
6132
6132
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).z6h = function (state, action) {
|
|
6133
|
-
return this.
|
|
6133
|
+
return this.r9j((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
6134
6134
|
};
|
|
6135
6135
|
function addRoomMetadata($this, _this__u8e3s4, gameId) {
|
|
6136
6136
|
_this__u8e3s4.metadata.addGame(gameId, new GameMetadata(gameId));
|
|
6137
6137
|
return _this__u8e3s4.metadata;
|
|
6138
6138
|
}
|
|
6139
6139
|
function Companion_5() {
|
|
6140
|
-
this.
|
|
6140
|
+
this.jae_1 = 'ServerMechanicLifecycleReducer';
|
|
6141
6141
|
}
|
|
6142
6142
|
var Companion_instance_15;
|
|
6143
6143
|
function Companion_getInstance_6() {
|
|
@@ -6151,7 +6151,7 @@
|
|
|
6151
6151
|
tmp_0 = Companion_instance_4.s67(PlayerConnectionState_LEFT_PERMANENTLY_getInstance());
|
|
6152
6152
|
} else {
|
|
6153
6153
|
var tmp_1;
|
|
6154
|
-
if (this$0.
|
|
6154
|
+
if (this$0.nae_1.waitForPlayerToConnectOnStart) {
|
|
6155
6155
|
var tmp_2;
|
|
6156
6156
|
if ($updatedServerPayload.connectedPlayers.u1(it.n66_1)) {
|
|
6157
6157
|
tmp_2 = Companion_instance_4.s67(PlayerConnectionState_LIVE_getInstance());
|
|
@@ -6169,26 +6169,26 @@
|
|
|
6169
6169
|
}
|
|
6170
6170
|
function ServerMechanicLifecycleReducer(logger, serverReduxConfig, tableLifecycleReducer, randomPoolProvider) {
|
|
6171
6171
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
6172
|
-
this.
|
|
6173
|
-
this.
|
|
6172
|
+
this.mae_1 = logger;
|
|
6173
|
+
this.nae_1 = serverReduxConfig;
|
|
6174
6174
|
}
|
|
6175
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
6176
|
-
this.
|
|
6177
|
-
var tableId = action.
|
|
6175
|
+
protoOf(ServerMechanicLifecycleReducer).i9l = function (state, action) {
|
|
6176
|
+
this.mae_1.d('ServerMechanicLifecycleReducer', 'onStart ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
6177
|
+
var tableId = action.m94_1;
|
|
6178
6178
|
var serverState = get_serverStatePayload_0(state);
|
|
6179
6179
|
var updatedServerPayload = serverState.copy(VOID, addRoomMetadata(this, serverState, tableId));
|
|
6180
6180
|
var tmp6_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
6181
|
-
var tmp0_$this = this.
|
|
6182
|
-
var tmp1_version = action.
|
|
6183
|
-
var tmp2_config = action.
|
|
6184
|
-
var tmp3_users = action.
|
|
6181
|
+
var tmp0_$this = this.j9l_1;
|
|
6182
|
+
var tmp1_version = action.n94_1;
|
|
6183
|
+
var tmp2_config = action.l94_1;
|
|
6184
|
+
var tmp3_users = action.p94_1;
|
|
6185
6185
|
var tmp4_spectators = action.spectators;
|
|
6186
|
-
var tmp5_gameCreatorPlayerId = action.
|
|
6187
|
-
var tmp7_tableOrNull = tmp0_$this.
|
|
6188
|
-
return state.
|
|
6186
|
+
var tmp5_gameCreatorPlayerId = action.o94_1;
|
|
6187
|
+
var tmp7_tableOrNull = tmp0_$this.r9m(tableId, tableId, tmp2_config, tmp1_version, tmp3_users, tmp4_spectators, tmp5_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(this, updatedServerPayload));
|
|
6188
|
+
return state.n93(tmp7_tableOrNull, updatedServerPayload, tmp6_gameLifecycleState);
|
|
6189
6189
|
};
|
|
6190
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
6191
|
-
this.
|
|
6190
|
+
protoOf(ServerMechanicLifecycleReducer).g9l = function (state, action) {
|
|
6191
|
+
this.mae_1.d('ServerMechanicLifecycleReducer', 'onContinue ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
6192
6192
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
6193
6193
|
var tmp2_tableOrNull = action.table;
|
|
6194
6194
|
var tmp = Companion_instance_16;
|
|
@@ -6196,32 +6196,32 @@
|
|
|
6196
6196
|
var tmp_1 = action.reason;
|
|
6197
6197
|
var tmp0_safe_receiver = tmp_1 instanceof RestartRoundReason ? tmp_1 : null;
|
|
6198
6198
|
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));
|
|
6199
|
-
return state.
|
|
6199
|
+
return state.n93(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
|
|
6200
6200
|
};
|
|
6201
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
6202
|
-
this.
|
|
6201
|
+
protoOf(ServerMechanicLifecycleReducer).h9l = function (state, action) {
|
|
6202
|
+
this.k9l_1.o58(action.previousGameId);
|
|
6203
6203
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
6204
|
-
var tmp1_tableOrNull = this.
|
|
6204
|
+
var tmp1_tableOrNull = this.j9l_1.s9m(state.c6s(), action.gameId);
|
|
6205
6205
|
var tmp2_payload = get_serverStatePayload_0(state).copy(VOID, addRoomMetadata(this, get_serverStatePayload_0(state), action.gameId));
|
|
6206
|
-
return state.
|
|
6206
|
+
return state.n93(tmp1_tableOrNull, tmp2_payload, tmp0_gameLifecycleState);
|
|
6207
6207
|
};
|
|
6208
6208
|
function spectatorsReducer(logger) {
|
|
6209
6209
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
6210
6210
|
return new spectatorsReducer$$inlined$reducerForActionType$1(logger);
|
|
6211
6211
|
}
|
|
6212
6212
|
function spectatorsReducer$$inlined$reducerForActionType$1($logger) {
|
|
6213
|
-
this.
|
|
6213
|
+
this.oae_1 = $logger;
|
|
6214
6214
|
}
|
|
6215
6215
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).j6g = function (action) {
|
|
6216
6216
|
return isInterface(action, SpectatorsAction);
|
|
6217
6217
|
};
|
|
6218
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
6218
|
+
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).r9j = function (state, action) {
|
|
6219
6219
|
var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
|
|
6220
6220
|
var table = state.c6s();
|
|
6221
6221
|
var tmp;
|
|
6222
6222
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
6223
6223
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
6224
|
-
var tmp0 = action_0.
|
|
6224
|
+
var tmp0 = action_0.aac_1;
|
|
6225
6225
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
6226
6226
|
var destination = ArrayList_init_$Create$_0();
|
|
6227
6227
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -6240,9 +6240,9 @@
|
|
|
6240
6240
|
var tmp_0;
|
|
6241
6241
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
6242
6242
|
if (!sameSpectators.r()) {
|
|
6243
|
-
this.
|
|
6243
|
+
this.oae_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
6244
6244
|
// Inline function 'kotlin.collections.filterNot' call
|
|
6245
|
-
var tmp0_0 = action_0.
|
|
6245
|
+
var tmp0_0 = action_0.aac_1;
|
|
6246
6246
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
6247
6247
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
6248
6248
|
var _iterator__ex2g4s_0 = tmp0_0.l();
|
|
@@ -6277,7 +6277,7 @@
|
|
|
6277
6277
|
}
|
|
6278
6278
|
tmp_0 = destination_0;
|
|
6279
6279
|
} else {
|
|
6280
|
-
tmp_0 = action_0.
|
|
6280
|
+
tmp_0 = action_0.aac_1;
|
|
6281
6281
|
}
|
|
6282
6282
|
// Inline function 'kotlin.collections.map' call
|
|
6283
6283
|
var this_0 = tmp_0;
|
|
@@ -6290,11 +6290,11 @@
|
|
|
6290
6290
|
destination_1.j(tmp$ret$13);
|
|
6291
6291
|
}
|
|
6292
6292
|
var spectatorsToAdd = toSet(destination_1);
|
|
6293
|
-
tmp = state.
|
|
6293
|
+
tmp = state.n93(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
|
|
6294
6294
|
} else {
|
|
6295
6295
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
6296
6296
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
6297
|
-
var tmp0_1 = action_0.
|
|
6297
|
+
var tmp0_1 = action_0.bac_1;
|
|
6298
6298
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
6299
6299
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
6300
6300
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -6313,9 +6313,9 @@
|
|
|
6313
6313
|
var tmp_2;
|
|
6314
6314
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
6315
6315
|
if (!sameSpectators_0.r()) {
|
|
6316
|
-
this.
|
|
6316
|
+
this.oae_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
6317
6317
|
// Inline function 'kotlin.collections.filterNot' call
|
|
6318
|
-
var tmp0_2 = action_0.
|
|
6318
|
+
var tmp0_2 = action_0.bac_1;
|
|
6319
6319
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
6320
6320
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
6321
6321
|
var _iterator__ex2g4s_4 = tmp0_2.l();
|
|
@@ -6350,7 +6350,7 @@
|
|
|
6350
6350
|
}
|
|
6351
6351
|
tmp_2 = destination_3;
|
|
6352
6352
|
} else {
|
|
6353
|
-
tmp_2 = action_0.
|
|
6353
|
+
tmp_2 = action_0.bac_1;
|
|
6354
6354
|
}
|
|
6355
6355
|
var spectatorsToRemove = toSet(tmp_2);
|
|
6356
6356
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -6387,7 +6387,7 @@
|
|
|
6387
6387
|
destination_4.j(element_5);
|
|
6388
6388
|
}
|
|
6389
6389
|
}
|
|
6390
|
-
tmp = state.
|
|
6390
|
+
tmp = state.n93(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
|
|
6391
6391
|
} else {
|
|
6392
6392
|
noWhenBranchMatchedException();
|
|
6393
6393
|
}
|
|
@@ -6395,7 +6395,7 @@
|
|
|
6395
6395
|
return tmp;
|
|
6396
6396
|
};
|
|
6397
6397
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).z6h = function (state, action) {
|
|
6398
|
-
return this.
|
|
6398
|
+
return this.r9j((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
6399
6399
|
};
|
|
6400
6400
|
function playerConnectionUpdateReducer() {
|
|
6401
6401
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
@@ -6406,29 +6406,29 @@
|
|
|
6406
6406
|
protoOf(playerConnectionUpdateReducer$$inlined$reducerForActionType$1).j6g = function (action) {
|
|
6407
6407
|
return action instanceof PlayerConnectionUpdateAction;
|
|
6408
6408
|
};
|
|
6409
|
-
protoOf(playerConnectionUpdateReducer$$inlined$reducerForActionType$1).
|
|
6409
|
+
protoOf(playerConnectionUpdateReducer$$inlined$reducerForActionType$1).r9j = function (state, action) {
|
|
6410
6410
|
var action_0 = action instanceof PlayerConnectionUpdateAction ? action : THROW_CCE();
|
|
6411
6411
|
var statePayload = get_serverStatePayload_0(state);
|
|
6412
6412
|
var tmp;
|
|
6413
|
-
if (action_0.
|
|
6414
|
-
tmp = state.
|
|
6413
|
+
if (action_0.u93_1.isLive) {
|
|
6414
|
+
tmp = state.n93(VOID, statePayload.copy(VOID, VOID, plus_0(statePayload.connectedPlayers, action_0.v93_1)));
|
|
6415
6415
|
} else {
|
|
6416
6416
|
tmp = state;
|
|
6417
6417
|
}
|
|
6418
6418
|
return tmp;
|
|
6419
6419
|
};
|
|
6420
6420
|
protoOf(playerConnectionUpdateReducer$$inlined$reducerForActionType$1).z6h = function (state, action) {
|
|
6421
|
-
return this.
|
|
6421
|
+
return this.r9j((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
6422
6422
|
};
|
|
6423
6423
|
function Companion_6() {
|
|
6424
6424
|
}
|
|
6425
|
-
protoOf(Companion_6).
|
|
6425
|
+
protoOf(Companion_6).pae = function (config, metadata) {
|
|
6426
6426
|
return new ServerStatePayload(config, metadata, emptyList());
|
|
6427
6427
|
};
|
|
6428
6428
|
protoOf(Companion_6).initial = function (config, metadata, $super) {
|
|
6429
6429
|
config = config === VOID ? Companion_instance_10.initial(null) : config;
|
|
6430
6430
|
metadata = metadata === VOID ? new RoomMetadata() : metadata;
|
|
6431
|
-
return $super === VOID ? this.
|
|
6431
|
+
return $super === VOID ? this.pae(config, metadata) : $super.pae.call(this, config, metadata);
|
|
6432
6432
|
};
|
|
6433
6433
|
var Companion_instance_16;
|
|
6434
6434
|
function Companion_getInstance_7() {
|
|
@@ -6445,7 +6445,7 @@
|
|
|
6445
6445
|
protoOf(ServerStatePayload).t8m = function () {
|
|
6446
6446
|
return this.metadata;
|
|
6447
6447
|
};
|
|
6448
|
-
protoOf(ServerStatePayload).
|
|
6448
|
+
protoOf(ServerStatePayload).qae = function () {
|
|
6449
6449
|
return this.connectedPlayers;
|
|
6450
6450
|
};
|
|
6451
6451
|
protoOf(ServerStatePayload).oe = function () {
|
|
@@ -6457,14 +6457,14 @@
|
|
|
6457
6457
|
protoOf(ServerStatePayload).yl = function () {
|
|
6458
6458
|
return this.connectedPlayers;
|
|
6459
6459
|
};
|
|
6460
|
-
protoOf(ServerStatePayload).
|
|
6460
|
+
protoOf(ServerStatePayload).rae = function (config, metadata, connectedPlayers) {
|
|
6461
6461
|
return new ServerStatePayload(config, metadata, connectedPlayers);
|
|
6462
6462
|
};
|
|
6463
6463
|
protoOf(ServerStatePayload).copy = function (config, metadata, connectedPlayers, $super) {
|
|
6464
6464
|
config = config === VOID ? this.config : config;
|
|
6465
6465
|
metadata = metadata === VOID ? this.metadata : metadata;
|
|
6466
6466
|
connectedPlayers = connectedPlayers === VOID ? this.connectedPlayers : connectedPlayers;
|
|
6467
|
-
return $super === VOID ? this.
|
|
6467
|
+
return $super === VOID ? this.rae(config, metadata, connectedPlayers) : $super.rae.call(this, config, metadata, connectedPlayers);
|
|
6468
6468
|
};
|
|
6469
6469
|
protoOf(ServerStatePayload).toString = function () {
|
|
6470
6470
|
return 'ServerStatePayload(config=' + this.config.toString() + ', metadata=' + toString(this.metadata) + ', connectedPlayers=' + toString(this.connectedPlayers) + ')';
|
|
@@ -6512,7 +6512,7 @@
|
|
|
6512
6512
|
return new ServerLoggerKey(_this__u8e3s4.gameId);
|
|
6513
6513
|
}
|
|
6514
6514
|
function serverLoggerKeyFromPayload(_this__u8e3s4, payload) {
|
|
6515
|
-
var gameId = Companion_instance_5.
|
|
6515
|
+
var gameId = Companion_instance_5.t9o(payload);
|
|
6516
6516
|
var tmp;
|
|
6517
6517
|
if (!(gameId == null)) {
|
|
6518
6518
|
tmp = new ServerLoggerKey(gameId);
|
|
@@ -6529,14 +6529,14 @@
|
|
|
6529
6529
|
return new GameServerEngineControllerImpl(loggerCallback, randomOrgConfig);
|
|
6530
6530
|
}
|
|
6531
6531
|
function _get_logger__rkp4sl_0($this) {
|
|
6532
|
-
var tmp0 = $this.
|
|
6532
|
+
var tmp0 = $this.baf_1;
|
|
6533
6533
|
var tmp = KProperty1;
|
|
6534
6534
|
// Inline function 'kotlin.getValue' call
|
|
6535
6535
|
getPropertyCallableRef('logger', 1, tmp, GameServerEngineControllerImpl$_get_logger_$ref_b9j0th(), null);
|
|
6536
6536
|
return tmp0.x();
|
|
6537
6537
|
}
|
|
6538
6538
|
function _get_di__ndbzja($this) {
|
|
6539
|
-
var tmp0 = $this.
|
|
6539
|
+
var tmp0 = $this.caf_1;
|
|
6540
6540
|
var tmp = KProperty1;
|
|
6541
6541
|
// Inline function 'kotlin.getValue' call
|
|
6542
6542
|
getPropertyCallableRef('di', 1, tmp, GameServerEngineControllerImpl$_get_di_$ref_cvlqo6(), null);
|
|
@@ -6553,8 +6553,8 @@
|
|
|
6553
6553
|
}
|
|
6554
6554
|
function createCallbackOutput($this, gameServer) {
|
|
6555
6555
|
var tmp;
|
|
6556
|
-
if (!($this.
|
|
6557
|
-
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.
|
|
6556
|
+
if (!($this.zae_1 == null)) {
|
|
6557
|
+
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.zae_1);
|
|
6558
6558
|
tmp = new CallbackWrapperLoggerOutput(tmp_0, GameServerEngineControllerImpl$createCallbackOutput$lambda(gameServer));
|
|
6559
6559
|
} else {
|
|
6560
6560
|
tmp = null;
|
|
@@ -6568,11 +6568,11 @@
|
|
|
6568
6568
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
6569
6569
|
return function () {
|
|
6570
6570
|
var tmp;
|
|
6571
|
-
if (this$0.
|
|
6571
|
+
if (this$0.zae_1 == null) {
|
|
6572
6572
|
tmp = null;
|
|
6573
6573
|
} else {
|
|
6574
6574
|
// Inline function 'kotlin.let' call
|
|
6575
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
6575
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.zae_1)]));
|
|
6576
6576
|
}
|
|
6577
6577
|
var tmp1_elvis_lhs = tmp;
|
|
6578
6578
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -6605,7 +6605,7 @@
|
|
|
6605
6605
|
tmp_0.d63(tmp$ret$3);
|
|
6606
6606
|
$this$DI.h5z(jsonModule());
|
|
6607
6607
|
$this$DI.h5z(serverHelpersModule());
|
|
6608
|
-
$this$DI.h5z(randomOrgModule(this$0.
|
|
6608
|
+
$this$DI.h5z(randomOrgModule(this$0.aaf_1));
|
|
6609
6609
|
return Unit_instance;
|
|
6610
6610
|
};
|
|
6611
6611
|
}
|
|
@@ -6681,16 +6681,16 @@
|
|
|
6681
6681
|
};
|
|
6682
6682
|
}
|
|
6683
6683
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1($reducer) {
|
|
6684
|
-
this.
|
|
6684
|
+
this.jaf_1 = $reducer;
|
|
6685
6685
|
}
|
|
6686
6686
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).j6g = function (action) {
|
|
6687
6687
|
return isInterface(action, Action);
|
|
6688
6688
|
};
|
|
6689
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
6690
|
-
return this.
|
|
6689
|
+
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).r9j = function (state, action) {
|
|
6690
|
+
return this.jaf_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
6691
6691
|
};
|
|
6692
6692
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).z6h = function (state, action) {
|
|
6693
|
-
return this.
|
|
6693
|
+
return this.r9j((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
6694
6694
|
};
|
|
6695
6695
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($gameServer) {
|
|
6696
6696
|
return function () {
|
|
@@ -6770,7 +6770,7 @@
|
|
|
6770
6770
|
}
|
|
6771
6771
|
function GameServerEngineControllerImpl$createCallbackOutput$lambda($gameServer) {
|
|
6772
6772
|
return function (it) {
|
|
6773
|
-
var payload = Companion_instance_7.
|
|
6773
|
+
var payload = Companion_instance_7.f9n(it);
|
|
6774
6774
|
var tmp;
|
|
6775
6775
|
if (!(payload == null)) {
|
|
6776
6776
|
return payload;
|
|
@@ -6791,7 +6791,7 @@
|
|
|
6791
6791
|
// Inline function 'kotlin.let' call
|
|
6792
6792
|
$this$DI.h5z(tmp0_safe_receiver);
|
|
6793
6793
|
}
|
|
6794
|
-
$this$DI.h5z(dealerModule(this$0.randomPoolProvider, this$0.
|
|
6794
|
+
$this$DI.h5z(dealerModule(this$0.randomPoolProvider, this$0.aaf_1));
|
|
6795
6795
|
$this$DI.h5z(coreModule($coreConfig));
|
|
6796
6796
|
$this$DI.h5z(createGameServerDI($serverConfig, $logicConfig, $engineBotConfig, $dealerConfig, $ratingConfig, $externalReducers, $externalMiddlewares));
|
|
6797
6797
|
return Unit_instance;
|
|
@@ -6800,8 +6800,8 @@
|
|
|
6800
6800
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
6801
6801
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
6802
6802
|
production = production === VOID ? true : production;
|
|
6803
|
-
this.
|
|
6804
|
-
this.
|
|
6803
|
+
this.zae_1 = loggerCallback;
|
|
6804
|
+
this.aaf_1 = randomOrgConfig;
|
|
6805
6805
|
var tmp = AppEnvironment_getInstance();
|
|
6806
6806
|
var tmp_0;
|
|
6807
6807
|
if (production) {
|
|
@@ -6811,9 +6811,9 @@
|
|
|
6811
6811
|
}
|
|
6812
6812
|
tmp.g6m(tmp_0);
|
|
6813
6813
|
var tmp_1 = this;
|
|
6814
|
-
tmp_1.
|
|
6814
|
+
tmp_1.baf_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
6815
6815
|
var tmp_2 = this;
|
|
6816
|
-
tmp_2.
|
|
6816
|
+
tmp_2.caf_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
6817
6817
|
var tmp_3 = this;
|
|
6818
6818
|
// Inline function 'org.kodein.di.instance' call
|
|
6819
6819
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -6822,7 +6822,7 @@
|
|
|
6822
6822
|
var tmp$ret$0 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
6823
6823
|
var tmp_5 = Instance(this_0, tmp$ret$0, null);
|
|
6824
6824
|
var tmp_6 = KProperty1;
|
|
6825
|
-
tmp_3.
|
|
6825
|
+
tmp_3.daf_1 = tmp_5.a65(this, getPropertyCallableRef('parser', 1, tmp_6, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w(), null));
|
|
6826
6826
|
var tmp_7 = this;
|
|
6827
6827
|
// Inline function 'org.kodein.di.instance' call
|
|
6828
6828
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -6831,7 +6831,7 @@
|
|
|
6831
6831
|
var tmp$ret$2 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
6832
6832
|
var tmp_9 = Instance(this_1, tmp$ret$2, null);
|
|
6833
6833
|
var tmp_10 = KProperty1;
|
|
6834
|
-
tmp_7.
|
|
6834
|
+
tmp_7.eaf_1 = tmp_9.a65(this, getPropertyCallableRef('helper', 1, tmp_10, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f(), null));
|
|
6835
6835
|
var tmp_11 = this;
|
|
6836
6836
|
// Inline function 'org.kodein.di.instance' call
|
|
6837
6837
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -6840,7 +6840,7 @@
|
|
|
6840
6840
|
var tmp$ret$4 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
6841
6841
|
var tmp_13 = Instance(this_2, tmp$ret$4, null);
|
|
6842
6842
|
var tmp_14 = KProperty1;
|
|
6843
|
-
tmp_11.
|
|
6843
|
+
tmp_11.faf_1 = tmp_13.a65(this, getPropertyCallableRef('serverHelper', 1, tmp_14, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre(), null));
|
|
6844
6844
|
var tmp_15 = this;
|
|
6845
6845
|
// Inline function 'org.kodein.di.instance' call
|
|
6846
6846
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -6849,7 +6849,7 @@
|
|
|
6849
6849
|
var tmp$ret$6 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
6850
6850
|
var tmp_17 = Instance(this_3, tmp$ret$6, null);
|
|
6851
6851
|
var tmp_18 = KProperty1;
|
|
6852
|
-
tmp_15.
|
|
6852
|
+
tmp_15.gaf_1 = tmp_17.a65(this, getPropertyCallableRef('resources', 1, tmp_18, GameServerEngineControllerImpl$_get_resources_$ref_dt6416(), null));
|
|
6853
6853
|
var tmp_19 = this;
|
|
6854
6854
|
// Inline function 'org.kodein.di.instance' call
|
|
6855
6855
|
var this_4 = _get_di__ndbzja(this);
|
|
@@ -6858,7 +6858,7 @@
|
|
|
6858
6858
|
var tmp$ret$8 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
6859
6859
|
var tmp_21 = Instance(this_4, tmp$ret$8, null);
|
|
6860
6860
|
var tmp_22 = KProperty1;
|
|
6861
|
-
tmp_19.
|
|
6861
|
+
tmp_19.haf_1 = tmp_21.a65(this, getPropertyCallableRef('test', 1, tmp_22, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5(), null));
|
|
6862
6862
|
var tmp_23 = this;
|
|
6863
6863
|
// Inline function 'org.kodein.di.instance' call
|
|
6864
6864
|
var this_5 = _get_di__ndbzja(this);
|
|
@@ -6867,45 +6867,45 @@
|
|
|
6867
6867
|
var tmp$ret$10 = isInterface(tmp_24, TypeToken) ? tmp_24 : THROW_CCE();
|
|
6868
6868
|
var tmp_25 = Instance(this_5, tmp$ret$10, null);
|
|
6869
6869
|
var tmp_26 = KProperty1;
|
|
6870
|
-
tmp_23.
|
|
6870
|
+
tmp_23.iaf_1 = tmp_25.a65(this, getPropertyCallableRef('randomPoolProvider', 1, tmp_26, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl(), null));
|
|
6871
6871
|
}
|
|
6872
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6873
|
-
var tmp0 = this.
|
|
6872
|
+
protoOf(GameServerEngineControllerImpl).sae = function () {
|
|
6873
|
+
var tmp0 = this.daf_1;
|
|
6874
6874
|
var tmp = KProperty1;
|
|
6875
6875
|
// Inline function 'kotlin.getValue' call
|
|
6876
6876
|
getPropertyCallableRef('parser', 1, tmp, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w_0(), null);
|
|
6877
6877
|
return tmp0.x();
|
|
6878
6878
|
};
|
|
6879
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6880
|
-
var tmp0 = this.
|
|
6879
|
+
protoOf(GameServerEngineControllerImpl).uae = function () {
|
|
6880
|
+
var tmp0 = this.eaf_1;
|
|
6881
6881
|
var tmp = KProperty1;
|
|
6882
6882
|
// Inline function 'kotlin.getValue' call
|
|
6883
6883
|
getPropertyCallableRef('helper', 1, tmp, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f_0(), null);
|
|
6884
6884
|
return tmp0.x();
|
|
6885
6885
|
};
|
|
6886
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6887
|
-
var tmp0 = this.
|
|
6886
|
+
protoOf(GameServerEngineControllerImpl).vae = function () {
|
|
6887
|
+
var tmp0 = this.faf_1;
|
|
6888
6888
|
var tmp = KProperty1;
|
|
6889
6889
|
// Inline function 'kotlin.getValue' call
|
|
6890
6890
|
getPropertyCallableRef('serverHelper', 1, tmp, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre_0(), null);
|
|
6891
6891
|
return tmp0.x();
|
|
6892
6892
|
};
|
|
6893
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6894
|
-
var tmp0 = this.
|
|
6893
|
+
protoOf(GameServerEngineControllerImpl).wae = function () {
|
|
6894
|
+
var tmp0 = this.gaf_1;
|
|
6895
6895
|
var tmp = KProperty1;
|
|
6896
6896
|
// Inline function 'kotlin.getValue' call
|
|
6897
6897
|
getPropertyCallableRef('resources', 1, tmp, GameServerEngineControllerImpl$_get_resources_$ref_dt6416_0(), null);
|
|
6898
6898
|
return tmp0.x();
|
|
6899
6899
|
};
|
|
6900
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6901
|
-
var tmp0 = this.
|
|
6900
|
+
protoOf(GameServerEngineControllerImpl).tae = function () {
|
|
6901
|
+
var tmp0 = this.haf_1;
|
|
6902
6902
|
var tmp = KProperty1;
|
|
6903
6903
|
// Inline function 'kotlin.getValue' call
|
|
6904
6904
|
getPropertyCallableRef('test', 1, tmp, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5_0(), null);
|
|
6905
6905
|
return tmp0.x();
|
|
6906
6906
|
};
|
|
6907
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6908
|
-
var tmp0 = this.
|
|
6907
|
+
protoOf(GameServerEngineControllerImpl).xae = function () {
|
|
6908
|
+
var tmp0 = this.iaf_1;
|
|
6909
6909
|
var tmp = KProperty1;
|
|
6910
6910
|
// Inline function 'kotlin.getValue' call
|
|
6911
6911
|
getPropertyCallableRef('randomPoolProvider', 1, tmp, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl_0(), null);
|
|
@@ -6917,7 +6917,7 @@
|
|
|
6917
6917
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
6918
6918
|
return this.createGameEngineWithLogic();
|
|
6919
6919
|
};
|
|
6920
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6920
|
+
protoOf(GameServerEngineControllerImpl).yae = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig, botConfig) {
|
|
6921
6921
|
var combinedLogger = Companion_instance_8.nx();
|
|
6922
6922
|
var gameServer = {_v: null};
|
|
6923
6923
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -6965,7 +6965,7 @@
|
|
|
6965
6965
|
function TestHelper() {
|
|
6966
6966
|
}
|
|
6967
6967
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
6968
|
-
var tmp0 = $this.
|
|
6968
|
+
var tmp0 = $this.maf_1;
|
|
6969
6969
|
var tmp = KProperty1;
|
|
6970
6970
|
// Inline function 'kotlin.getValue' call
|
|
6971
6971
|
getPropertyCallableRef('playerAnswerInteractor', 1, tmp, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy_0(), null);
|
|
@@ -6973,7 +6973,7 @@
|
|
|
6973
6973
|
}
|
|
6974
6974
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
6975
6975
|
return function ($this$singleton) {
|
|
6976
|
-
return this$0.
|
|
6976
|
+
return this$0.kaf_1;
|
|
6977
6977
|
};
|
|
6978
6978
|
}
|
|
6979
6979
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -7013,19 +7013,19 @@
|
|
|
7013
7013
|
return emptyMap();
|
|
7014
7014
|
}
|
|
7015
7015
|
function TestHelperImpl(logger) {
|
|
7016
|
-
this.
|
|
7016
|
+
this.kaf_1 = logger;
|
|
7017
7017
|
var tmp = this;
|
|
7018
7018
|
var tmp_0 = Companion_instance_6;
|
|
7019
|
-
tmp.
|
|
7019
|
+
tmp.laf_1 = tmp_0.o5z(VOID, TestHelperImpl$di$lambda(this));
|
|
7020
7020
|
var tmp_1 = this;
|
|
7021
7021
|
// Inline function 'org.kodein.di.instance' call
|
|
7022
|
-
var this_0 = this.
|
|
7022
|
+
var this_0 = this.laf_1;
|
|
7023
7023
|
// Inline function 'org.kodein.type.generic' call
|
|
7024
7024
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
7025
7025
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
7026
7026
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
7027
7027
|
var tmp_4 = KProperty1;
|
|
7028
|
-
tmp_1.
|
|
7028
|
+
tmp_1.maf_1 = tmp_3.a65(this, getPropertyCallableRef('playerAnswerInteractor', 1, tmp_4, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy(), null));
|
|
7029
7029
|
}
|
|
7030
7030
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
7031
7031
|
return _get_playerAnswerInteractor__msggz1(this).a8u(playerId, table, botConfig);
|
|
@@ -7033,7 +7033,7 @@
|
|
|
7033
7033
|
protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
|
|
7034
7034
|
var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
|
|
7035
7035
|
if (isInterface(mechanicAction, NextPlayerTurnAction)) {
|
|
7036
|
-
var tmp0 = mechanicAction.
|
|
7036
|
+
var tmp0 = mechanicAction.b97();
|
|
7037
7037
|
var tmp$ret$0;
|
|
7038
7038
|
$l$block_0: {
|
|
7039
7039
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -7065,7 +7065,7 @@
|
|
|
7065
7065
|
};
|
|
7066
7066
|
protoOf(TestHelperImpl).getPlayerAnswerFromMechanicAction = function (table, currentPlayerId, action, botConfig) {
|
|
7067
7067
|
if (isInterface(action, NextPlayerTurnAction)) {
|
|
7068
|
-
var tmp0 = action.
|
|
7068
|
+
var tmp0 = action.b97();
|
|
7069
7069
|
var tmp$ret$0;
|
|
7070
7070
|
$l$block_0: {
|
|
7071
7071
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -7098,14 +7098,14 @@
|
|
|
7098
7098
|
function RoomMetadata() {
|
|
7099
7099
|
var tmp = this;
|
|
7100
7100
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
7101
|
-
tmp.
|
|
7101
|
+
tmp.naf_1 = LinkedHashMap_init_$Create$();
|
|
7102
7102
|
this.extras = {};
|
|
7103
|
-
this.extras = this.
|
|
7103
|
+
this.extras = this.naf_1;
|
|
7104
7104
|
}
|
|
7105
|
-
protoOf(RoomMetadata).
|
|
7105
|
+
protoOf(RoomMetadata).oaf = function () {
|
|
7106
7106
|
return this.extras;
|
|
7107
7107
|
};
|
|
7108
|
-
protoOf(RoomMetadata).
|
|
7108
|
+
protoOf(RoomMetadata).oaf = function () {
|
|
7109
7109
|
return this.extras;
|
|
7110
7110
|
};
|
|
7111
7111
|
protoOf(RoomMetadata).getGame = function (gameId) {
|
|
@@ -7123,7 +7123,7 @@
|
|
|
7123
7123
|
};
|
|
7124
7124
|
protoOf(RoomMetadata).addGame = function (gameId, game) {
|
|
7125
7125
|
// Inline function 'kotlin.collections.set' call
|
|
7126
|
-
this.
|
|
7126
|
+
this.naf_1.f2(gameId, game);
|
|
7127
7127
|
};
|
|
7128
7128
|
function GameMetadata(gameId) {
|
|
7129
7129
|
this.gameId = gameId;
|
|
@@ -7132,7 +7132,7 @@
|
|
|
7132
7132
|
protoOf(GameMetadata).d54 = function () {
|
|
7133
7133
|
return this.gameId;
|
|
7134
7134
|
};
|
|
7135
|
-
protoOf(GameMetadata).
|
|
7135
|
+
protoOf(GameMetadata).oaf = function () {
|
|
7136
7136
|
return this.extras;
|
|
7137
7137
|
};
|
|
7138
7138
|
function serverHelpersModule() {
|
|
@@ -7238,25 +7238,25 @@
|
|
|
7238
7238
|
return this.v6f();
|
|
7239
7239
|
});
|
|
7240
7240
|
protoOf(PlayerReconnectionWaitingTimerTag).ignoreValidation = ignoreValidation;
|
|
7241
|
-
protoOf(PlayerReconnectionWaitingTimerTag).
|
|
7241
|
+
protoOf(PlayerReconnectionWaitingTimerTag).x92 = ignoreTimerResetValidation;
|
|
7242
7242
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
7243
7243
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
7244
|
-
return this.
|
|
7244
|
+
return this.sae();
|
|
7245
7245
|
});
|
|
7246
7246
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
7247
|
-
return this.
|
|
7247
|
+
return this.uae();
|
|
7248
7248
|
});
|
|
7249
7249
|
defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
|
|
7250
|
-
return this.
|
|
7250
|
+
return this.vae();
|
|
7251
7251
|
});
|
|
7252
7252
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
7253
|
-
return this.
|
|
7253
|
+
return this.wae();
|
|
7254
7254
|
});
|
|
7255
7255
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
7256
|
-
return this.
|
|
7256
|
+
return this.tae();
|
|
7257
7257
|
});
|
|
7258
7258
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
7259
|
-
return this.
|
|
7259
|
+
return this.xae();
|
|
7260
7260
|
});
|
|
7261
7261
|
//endregion
|
|
7262
7262
|
//region block: init
|