raspberry_games_server_game_logic 1.8.420 → 1.8.421
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 +7060 -7018
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.d.ts +4 -3
- package/Logic_Debertz-game_server.js +912 -905
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +6 -6
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +9 -9
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -401,10 +401,10 @@
|
|
|
401
401
|
spectators = tmp;
|
|
402
402
|
var tmp_0;
|
|
403
403
|
if ($super === VOID) {
|
|
404
|
-
this.
|
|
404
|
+
this.xa7(roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
405
405
|
tmp_0 = Unit_instance;
|
|
406
406
|
} else {
|
|
407
|
-
tmp_0 = $super.
|
|
407
|
+
tmp_0 = $super.xa7.call(this, roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
408
408
|
}
|
|
409
409
|
return tmp_0;
|
|
410
410
|
}
|
|
@@ -412,10 +412,10 @@
|
|
|
412
412
|
newRid = newRid === VOID ? null : newRid;
|
|
413
413
|
var tmp;
|
|
414
414
|
if ($super === VOID) {
|
|
415
|
-
this.
|
|
415
|
+
this.za7(newRid);
|
|
416
416
|
tmp = Unit_instance;
|
|
417
417
|
} else {
|
|
418
|
-
tmp = $super.
|
|
418
|
+
tmp = $super.za7.call(this, newRid);
|
|
419
419
|
}
|
|
420
420
|
return tmp;
|
|
421
421
|
}
|
|
@@ -423,16 +423,16 @@
|
|
|
423
423
|
roomId = roomId === VOID ? null : roomId;
|
|
424
424
|
var tmp;
|
|
425
425
|
if ($super === VOID) {
|
|
426
|
-
this.
|
|
426
|
+
this.aa8(reason, roomId);
|
|
427
427
|
tmp = Unit_instance;
|
|
428
428
|
} else {
|
|
429
|
-
tmp = $super.
|
|
429
|
+
tmp = $super.aa8.call(this, reason, roomId);
|
|
430
430
|
}
|
|
431
431
|
return tmp;
|
|
432
432
|
}
|
|
433
433
|
function playerLeft(playerId, permanently, $super) {
|
|
434
434
|
permanently = permanently === VOID ? true : permanently;
|
|
435
|
-
return $super === VOID ? this.
|
|
435
|
+
return $super === VOID ? this.wa7(playerId, permanently) : $super.wa7.call(this, playerId, permanently);
|
|
436
436
|
}
|
|
437
437
|
initMetadataForInterface(ServerGameEngineContract, 'ServerGameEngineContract', VOID, VOID, [GameStoreContract]);
|
|
438
438
|
initMetadataForClass(GameServer, 'GameServer', VOID, BaseGame, [BaseGame, ServerGameEngineContract]);
|
|
@@ -506,7 +506,7 @@
|
|
|
506
506
|
ratingConfig = ratingConfig === VOID ? new RatingConfig() : ratingConfig;
|
|
507
507
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
508
508
|
botConfig = botConfig === VOID ? new EngineBotConfig(VOID, VOID, VOID, false) : botConfig;
|
|
509
|
-
return $super === VOID ? this.
|
|
509
|
+
return $super === VOID ? this.aae(reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig, botConfig) : $super.aae.call(this, reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig, botConfig);
|
|
510
510
|
}
|
|
511
511
|
initMetadataForInterface(GameEngineController, 'GameEngineController');
|
|
512
512
|
initMetadataForClass(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1, VOID, VOID, VOID, [Reducer]);
|
|
@@ -519,17 +519,17 @@
|
|
|
519
519
|
initMetadataForClass(GameMetadata, 'GameMetadata');
|
|
520
520
|
//endregion
|
|
521
521
|
function GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation) {
|
|
522
|
-
this.
|
|
522
|
+
this.q9p_1 = $subscriber;
|
|
523
523
|
CoroutineImpl.call(this, resultContinuation);
|
|
524
524
|
}
|
|
525
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
526
|
-
var tmp = this.
|
|
525
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).s9p = function (it, $completion) {
|
|
526
|
+
var tmp = this.t9p(it, $completion);
|
|
527
527
|
tmp.u8_1 = Unit_instance;
|
|
528
528
|
tmp.v8_1 = null;
|
|
529
529
|
return tmp.a9();
|
|
530
530
|
};
|
|
531
531
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).i9 = function (p1, $completion) {
|
|
532
|
-
return this.
|
|
532
|
+
return this.s9p(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
|
|
533
533
|
};
|
|
534
534
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).a9 = function () {
|
|
535
535
|
var suspendResult = this.u8_1;
|
|
@@ -538,7 +538,7 @@
|
|
|
538
538
|
var tmp = this.s8_1;
|
|
539
539
|
if (tmp === 0) {
|
|
540
540
|
this.t8_1 = 1;
|
|
541
|
-
this.
|
|
541
|
+
this.q9p_1(this.r9p_1);
|
|
542
542
|
return Unit_instance;
|
|
543
543
|
} else if (tmp === 1) {
|
|
544
544
|
throw this.v8_1;
|
|
@@ -549,31 +549,31 @@
|
|
|
549
549
|
}
|
|
550
550
|
while (true);
|
|
551
551
|
};
|
|
552
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
553
|
-
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.
|
|
554
|
-
i.
|
|
552
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).t9p = function (it, completion) {
|
|
553
|
+
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.q9p_1, completion);
|
|
554
|
+
i.r9p_1 = it;
|
|
555
555
|
return i;
|
|
556
556
|
};
|
|
557
557
|
function GameServer$subscribeToClientAction$slambda$slambda_0($subscriber, resultContinuation) {
|
|
558
558
|
var i = new GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation);
|
|
559
559
|
var l = function (it, $completion) {
|
|
560
|
-
return i.
|
|
560
|
+
return i.s9p(it, $completion);
|
|
561
561
|
};
|
|
562
562
|
l.$arity = 1;
|
|
563
563
|
return l;
|
|
564
564
|
}
|
|
565
565
|
function GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation) {
|
|
566
|
-
this.
|
|
566
|
+
this.c9q_1 = $subscriber;
|
|
567
567
|
CoroutineImpl.call(this, resultContinuation);
|
|
568
568
|
}
|
|
569
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
570
|
-
var tmp = this.
|
|
569
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).e9q = function (it, $completion) {
|
|
570
|
+
var tmp = this.f9q(it, $completion);
|
|
571
571
|
tmp.u8_1 = Unit_instance;
|
|
572
572
|
tmp.v8_1 = null;
|
|
573
573
|
return tmp.a9();
|
|
574
574
|
};
|
|
575
575
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).i9 = function (p1, $completion) {
|
|
576
|
-
return this.
|
|
576
|
+
return this.e9q((!(p1 == null) ? isInterface(p1, ServerStateUpdate) : false) ? p1 : THROW_CCE(), $completion);
|
|
577
577
|
};
|
|
578
578
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).a9 = function () {
|
|
579
579
|
var suspendResult = this.u8_1;
|
|
@@ -582,7 +582,7 @@
|
|
|
582
582
|
var tmp = this.s8_1;
|
|
583
583
|
if (tmp === 0) {
|
|
584
584
|
this.t8_1 = 1;
|
|
585
|
-
this.
|
|
585
|
+
this.c9q_1(this.d9q_1);
|
|
586
586
|
return Unit_instance;
|
|
587
587
|
} else if (tmp === 1) {
|
|
588
588
|
throw this.v8_1;
|
|
@@ -593,22 +593,22 @@
|
|
|
593
593
|
}
|
|
594
594
|
while (true);
|
|
595
595
|
};
|
|
596
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
597
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.
|
|
598
|
-
i.
|
|
596
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).f9q = function (it, completion) {
|
|
597
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.c9q_1, completion);
|
|
598
|
+
i.d9q_1 = it;
|
|
599
599
|
return i;
|
|
600
600
|
};
|
|
601
601
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_0($subscriber, resultContinuation) {
|
|
602
602
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation);
|
|
603
603
|
var l = function (it, $completion) {
|
|
604
|
-
return i.
|
|
604
|
+
return i.e9q(it, $completion);
|
|
605
605
|
};
|
|
606
606
|
l.$arity = 1;
|
|
607
607
|
return l;
|
|
608
608
|
}
|
|
609
609
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
|
|
610
|
-
this.
|
|
611
|
-
this.
|
|
610
|
+
this.o9q_1 = $$this$unsafeFlow;
|
|
611
|
+
this.p9q_1 = this$0;
|
|
612
612
|
CoroutineImpl.call(this, resultContinuation);
|
|
613
613
|
}
|
|
614
614
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).w2h = function (value, $completion) {
|
|
@@ -628,10 +628,10 @@
|
|
|
628
628
|
switch (tmp) {
|
|
629
629
|
case 0:
|
|
630
630
|
this.t8_1 = 2;
|
|
631
|
-
var tmp0 = this.
|
|
632
|
-
var value = this.
|
|
631
|
+
var tmp0 = this.o9q_1;
|
|
632
|
+
var value = this.q9q_1;
|
|
633
633
|
this.s8_1 = 1;
|
|
634
|
-
suspendResult = tmp0.n28(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.
|
|
634
|
+
suspendResult = tmp0.n28(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.p9q_1)), this);
|
|
635
635
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
636
636
|
return suspendResult;
|
|
637
637
|
}
|
|
@@ -654,8 +654,8 @@
|
|
|
654
654
|
while (true);
|
|
655
655
|
};
|
|
656
656
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).x2h = function (value, completion) {
|
|
657
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.
|
|
658
|
-
i.
|
|
657
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.o9q_1, this.p9q_1, completion);
|
|
658
|
+
i.q9q_1 = value;
|
|
659
659
|
return i;
|
|
660
660
|
};
|
|
661
661
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
@@ -668,8 +668,8 @@
|
|
|
668
668
|
}
|
|
669
669
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
670
670
|
CoroutineImpl.call(this, resultContinuation);
|
|
671
|
-
this.
|
|
672
|
-
this.
|
|
671
|
+
this.z9q_1 = _this__u8e3s4;
|
|
672
|
+
this.a9r_1 = collector;
|
|
673
673
|
}
|
|
674
674
|
protoOf($collectCOROUTINE$).a9 = function () {
|
|
675
675
|
var suspendResult = this.u8_1;
|
|
@@ -679,10 +679,10 @@
|
|
|
679
679
|
switch (tmp) {
|
|
680
680
|
case 0:
|
|
681
681
|
this.t8_1 = 2;
|
|
682
|
-
var $this$unsafeFlow = this.
|
|
682
|
+
var $this$unsafeFlow = this.a9r_1;
|
|
683
683
|
this.s8_1 = 1;
|
|
684
|
-
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
685
|
-
suspendResult = this.
|
|
684
|
+
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.z9q_1.c9r_1, null);
|
|
685
|
+
suspendResult = this.z9q_1.b9r_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_0), this);
|
|
686
686
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
687
687
|
return suspendResult;
|
|
688
688
|
}
|
|
@@ -705,8 +705,8 @@
|
|
|
705
705
|
while (true);
|
|
706
706
|
};
|
|
707
707
|
function GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1($this, this$0) {
|
|
708
|
-
this.
|
|
709
|
-
this.
|
|
708
|
+
this.b9r_1 = $this;
|
|
709
|
+
this.c9r_1 = this$0;
|
|
710
710
|
}
|
|
711
711
|
protoOf(GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1).o28 = function (collector, $completion) {
|
|
712
712
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
@@ -718,17 +718,17 @@
|
|
|
718
718
|
return this.o28(collector, $completion);
|
|
719
719
|
};
|
|
720
720
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation) {
|
|
721
|
-
this.
|
|
721
|
+
this.l9r_1 = $subscriber;
|
|
722
722
|
CoroutineImpl.call(this, resultContinuation);
|
|
723
723
|
}
|
|
724
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
725
|
-
var tmp = this.
|
|
724
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).n9r = function (it, $completion) {
|
|
725
|
+
var tmp = this.o9r(it, $completion);
|
|
726
726
|
tmp.u8_1 = Unit_instance;
|
|
727
727
|
tmp.v8_1 = null;
|
|
728
728
|
return tmp.a9();
|
|
729
729
|
};
|
|
730
730
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).i9 = function (p1, $completion) {
|
|
731
|
-
return this.
|
|
731
|
+
return this.n9r((!(p1 == null) ? isInterface(p1, ServerStateUpdateDto) : false) ? p1 : THROW_CCE(), $completion);
|
|
732
732
|
};
|
|
733
733
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).a9 = function () {
|
|
734
734
|
var suspendResult = this.u8_1;
|
|
@@ -737,7 +737,7 @@
|
|
|
737
737
|
var tmp = this.s8_1;
|
|
738
738
|
if (tmp === 0) {
|
|
739
739
|
this.t8_1 = 1;
|
|
740
|
-
this.
|
|
740
|
+
this.l9r_1(this.m9r_1);
|
|
741
741
|
return Unit_instance;
|
|
742
742
|
} else if (tmp === 1) {
|
|
743
743
|
throw this.v8_1;
|
|
@@ -748,22 +748,22 @@
|
|
|
748
748
|
}
|
|
749
749
|
while (true);
|
|
750
750
|
};
|
|
751
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
752
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.
|
|
753
|
-
i.
|
|
751
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).o9r = function (it, completion) {
|
|
752
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.l9r_1, completion);
|
|
753
|
+
i.m9r_1 = it;
|
|
754
754
|
return i;
|
|
755
755
|
};
|
|
756
756
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda_0($subscriber, resultContinuation) {
|
|
757
757
|
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation);
|
|
758
758
|
var l = function (it, $completion) {
|
|
759
|
-
return i.
|
|
759
|
+
return i.n9r(it, $completion);
|
|
760
760
|
};
|
|
761
761
|
l.$arity = 1;
|
|
762
762
|
return l;
|
|
763
763
|
}
|
|
764
764
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, $table, resultContinuation) {
|
|
765
|
-
this.
|
|
766
|
-
this.
|
|
765
|
+
this.x9r_1 = $$this$unsafeFlow;
|
|
766
|
+
this.y9r_1 = $table;
|
|
767
767
|
CoroutineImpl.call(this, resultContinuation);
|
|
768
768
|
}
|
|
769
769
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).w2h = function (value, $completion) {
|
|
@@ -783,10 +783,10 @@
|
|
|
783
783
|
switch (tmp) {
|
|
784
784
|
case 0:
|
|
785
785
|
this.t8_1 = 2;
|
|
786
|
-
var tmp0 = this.
|
|
787
|
-
var value = this.
|
|
786
|
+
var tmp0 = this.x9r_1;
|
|
787
|
+
var value = this.z9r_1;
|
|
788
788
|
this.s8_1 = 1;
|
|
789
|
-
suspendResult = tmp0.n28(new ActionsStateUpdate(this.
|
|
789
|
+
suspendResult = tmp0.n28(new ActionsStateUpdate(this.y9r_1.id, value), this);
|
|
790
790
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
791
791
|
return suspendResult;
|
|
792
792
|
}
|
|
@@ -809,8 +809,8 @@
|
|
|
809
809
|
while (true);
|
|
810
810
|
};
|
|
811
811
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).x2h = function (value, completion) {
|
|
812
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.
|
|
813
|
-
i.
|
|
812
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.x9r_1, this.y9r_1, completion);
|
|
813
|
+
i.z9r_1 = value;
|
|
814
814
|
return i;
|
|
815
815
|
};
|
|
816
816
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, $table, resultContinuation) {
|
|
@@ -823,8 +823,8 @@
|
|
|
823
823
|
}
|
|
824
824
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
825
825
|
CoroutineImpl.call(this, resultContinuation);
|
|
826
|
-
this.
|
|
827
|
-
this.
|
|
826
|
+
this.i9s_1 = _this__u8e3s4;
|
|
827
|
+
this.j9s_1 = collector;
|
|
828
828
|
}
|
|
829
829
|
protoOf($collectCOROUTINE$_0).a9 = function () {
|
|
830
830
|
var suspendResult = this.u8_1;
|
|
@@ -834,10 +834,10 @@
|
|
|
834
834
|
switch (tmp) {
|
|
835
835
|
case 0:
|
|
836
836
|
this.t8_1 = 2;
|
|
837
|
-
var $this$unsafeFlow = this.
|
|
837
|
+
var $this$unsafeFlow = this.j9s_1;
|
|
838
838
|
this.s8_1 = 1;
|
|
839
|
-
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
840
|
-
suspendResult = this.
|
|
839
|
+
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.i9s_1.l9s_1, null);
|
|
840
|
+
suspendResult = this.i9s_1.k9s_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
|
|
841
841
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
842
842
|
return suspendResult;
|
|
843
843
|
}
|
|
@@ -860,8 +860,8 @@
|
|
|
860
860
|
while (true);
|
|
861
861
|
};
|
|
862
862
|
function _no_name_provided__qut3iv($this, $table) {
|
|
863
|
-
this.
|
|
864
|
-
this.
|
|
863
|
+
this.k9s_1 = $this;
|
|
864
|
+
this.l9s_1 = $table;
|
|
865
865
|
}
|
|
866
866
|
protoOf(_no_name_provided__qut3iv).o28 = function (collector, $completion) {
|
|
867
867
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
@@ -873,18 +873,18 @@
|
|
|
873
873
|
return this.o28(collector, $completion);
|
|
874
874
|
};
|
|
875
875
|
function GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation) {
|
|
876
|
-
this.
|
|
877
|
-
this.
|
|
876
|
+
this.u9s_1 = $table;
|
|
877
|
+
this.v9s_1 = this$0;
|
|
878
878
|
CoroutineImpl.call(this, resultContinuation);
|
|
879
879
|
}
|
|
880
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
881
|
-
var tmp = this.
|
|
880
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).x9s = function ($this$flow, $completion) {
|
|
881
|
+
var tmp = this.y9s($this$flow, $completion);
|
|
882
882
|
tmp.u8_1 = Unit_instance;
|
|
883
883
|
tmp.v8_1 = null;
|
|
884
884
|
return tmp.a9();
|
|
885
885
|
};
|
|
886
886
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).i9 = function (p1, $completion) {
|
|
887
|
-
return this.
|
|
887
|
+
return this.x9s((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
888
888
|
};
|
|
889
889
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).a9 = function () {
|
|
890
890
|
var suspendResult = this.u8_1;
|
|
@@ -895,7 +895,7 @@
|
|
|
895
895
|
case 0:
|
|
896
896
|
this.t8_1 = 3;
|
|
897
897
|
this.s8_1 = 1;
|
|
898
|
-
suspendResult = this.
|
|
898
|
+
suspendResult = this.w9s_1.n28(new TableStateUpdate(this.u9s_1.id, this.u9s_1), this);
|
|
899
899
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
900
900
|
return suspendResult;
|
|
901
901
|
}
|
|
@@ -903,8 +903,8 @@
|
|
|
903
903
|
continue $sm;
|
|
904
904
|
case 1:
|
|
905
905
|
this.s8_1 = 2;
|
|
906
|
-
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.
|
|
907
|
-
suspendResult = emitAll(this.
|
|
906
|
+
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.v9s_1).j8r(), fromInt(_get_serverReduxConfig__rprcrm(this.v9s_1).serverStateUpdateIntervalMillis));
|
|
907
|
+
suspendResult = emitAll(this.w9s_1, new _no_name_provided__qut3iv(this_0, this.u9s_1), this);
|
|
908
908
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
909
909
|
return suspendResult;
|
|
910
910
|
}
|
|
@@ -926,22 +926,22 @@
|
|
|
926
926
|
}
|
|
927
927
|
while (true);
|
|
928
928
|
};
|
|
929
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
930
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.
|
|
931
|
-
i.
|
|
929
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).y9s = function ($this$flow, completion) {
|
|
930
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.u9s_1, this.v9s_1, completion);
|
|
931
|
+
i.w9s_1 = $this$flow;
|
|
932
932
|
return i;
|
|
933
933
|
};
|
|
934
934
|
function GameServer$observeTableStateUpdates$slambda$slambda_0($table, this$0, resultContinuation) {
|
|
935
935
|
var i = new GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation);
|
|
936
936
|
var l = function ($this$flow, $completion) {
|
|
937
|
-
return i.
|
|
937
|
+
return i.x9s($this$flow, $completion);
|
|
938
938
|
};
|
|
939
939
|
l.$arity = 1;
|
|
940
940
|
return l;
|
|
941
941
|
}
|
|
942
942
|
function GameServer$observeTableStateUpdates$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
|
|
943
|
-
this.
|
|
944
|
-
this.
|
|
943
|
+
this.h9t_1 = $$this$unsafeFlow;
|
|
944
|
+
this.i9t_1 = this$0;
|
|
945
945
|
CoroutineImpl.call(this, resultContinuation);
|
|
946
946
|
}
|
|
947
947
|
protoOf(GameServer$observeTableStateUpdates$o$collect$slambda).w2h = function (value, $completion) {
|
|
@@ -962,16 +962,16 @@
|
|
|
962
962
|
case 0:
|
|
963
963
|
this.t8_1 = 5;
|
|
964
964
|
var tmp_0 = this;
|
|
965
|
-
tmp_0.
|
|
965
|
+
tmp_0.n9t_1 = this.h9t_1;
|
|
966
966
|
var tmp_1 = this;
|
|
967
|
-
tmp_1.
|
|
967
|
+
tmp_1.m9t_1 = this.j9t_1;
|
|
968
968
|
this.s8_1 = 1;
|
|
969
969
|
continue $sm;
|
|
970
970
|
case 1:
|
|
971
|
-
this.
|
|
972
|
-
var it = this.
|
|
971
|
+
this.k9t_1 = this.n9t_1;
|
|
972
|
+
var it = this.m9t_1;
|
|
973
973
|
var tmp_2;
|
|
974
|
-
if (get_isCreated(this.
|
|
974
|
+
if (get_isCreated(this.i9t_1.t66())) {
|
|
975
975
|
tmp_2 = it;
|
|
976
976
|
} else {
|
|
977
977
|
tmp_2 = null;
|
|
@@ -983,15 +983,15 @@
|
|
|
983
983
|
var tmp_3 = this;
|
|
984
984
|
continue $sm;
|
|
985
985
|
} else {
|
|
986
|
-
this.
|
|
986
|
+
this.l9t_1 = tmp0_elvis_lhs;
|
|
987
987
|
this.s8_1 = 2;
|
|
988
988
|
continue $sm;
|
|
989
989
|
}
|
|
990
990
|
|
|
991
991
|
case 2:
|
|
992
|
-
var transformed = this.
|
|
992
|
+
var transformed = this.l9t_1;
|
|
993
993
|
this.s8_1 = 3;
|
|
994
|
-
suspendResult = this.
|
|
994
|
+
suspendResult = this.k9t_1.n28(transformed, this);
|
|
995
995
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
996
996
|
return suspendResult;
|
|
997
997
|
}
|
|
@@ -1022,8 +1022,8 @@
|
|
|
1022
1022
|
while (true);
|
|
1023
1023
|
};
|
|
1024
1024
|
protoOf(GameServer$observeTableStateUpdates$o$collect$slambda).x2h = function (value, completion) {
|
|
1025
|
-
var i = new GameServer$observeTableStateUpdates$o$collect$slambda(this.
|
|
1026
|
-
i.
|
|
1025
|
+
var i = new GameServer$observeTableStateUpdates$o$collect$slambda(this.h9t_1, this.i9t_1, completion);
|
|
1026
|
+
i.j9t_1 = value;
|
|
1027
1027
|
return i;
|
|
1028
1028
|
};
|
|
1029
1029
|
function GameServer$observeTableStateUpdates$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
@@ -1036,8 +1036,8 @@
|
|
|
1036
1036
|
}
|
|
1037
1037
|
function $collectCOROUTINE$_1(_this__u8e3s4, collector, resultContinuation) {
|
|
1038
1038
|
CoroutineImpl.call(this, resultContinuation);
|
|
1039
|
-
this.
|
|
1040
|
-
this.
|
|
1039
|
+
this.w9t_1 = _this__u8e3s4;
|
|
1040
|
+
this.x9t_1 = collector;
|
|
1041
1041
|
}
|
|
1042
1042
|
protoOf($collectCOROUTINE$_1).a9 = function () {
|
|
1043
1043
|
var suspendResult = this.u8_1;
|
|
@@ -1047,10 +1047,10 @@
|
|
|
1047
1047
|
switch (tmp) {
|
|
1048
1048
|
case 0:
|
|
1049
1049
|
this.t8_1 = 2;
|
|
1050
|
-
var $this$unsafeFlow = this.
|
|
1050
|
+
var $this$unsafeFlow = this.x9t_1;
|
|
1051
1051
|
this.s8_1 = 1;
|
|
1052
|
-
var tmp_0 = GameServer$observeTableStateUpdates$o$collect$slambda_0($this$unsafeFlow, this.
|
|
1053
|
-
suspendResult = this.
|
|
1052
|
+
var tmp_0 = GameServer$observeTableStateUpdates$o$collect$slambda_0($this$unsafeFlow, this.w9t_1.z9t_1, null);
|
|
1053
|
+
suspendResult = this.w9t_1.y9t_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
|
|
1054
1054
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1055
1055
|
return suspendResult;
|
|
1056
1056
|
}
|
|
@@ -1073,7 +1073,7 @@
|
|
|
1073
1073
|
while (true);
|
|
1074
1074
|
};
|
|
1075
1075
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
1076
|
-
this.
|
|
1076
|
+
this.i9u_1 = $$this$unsafeFlow;
|
|
1077
1077
|
CoroutineImpl.call(this, resultContinuation);
|
|
1078
1078
|
}
|
|
1079
1079
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).w2h = function (value, $completion) {
|
|
@@ -1094,28 +1094,28 @@
|
|
|
1094
1094
|
case 0:
|
|
1095
1095
|
this.t8_1 = 5;
|
|
1096
1096
|
var tmp_0 = this;
|
|
1097
|
-
tmp_0.
|
|
1097
|
+
tmp_0.n9u_1 = this.i9u_1;
|
|
1098
1098
|
var tmp_1 = this;
|
|
1099
|
-
tmp_1.
|
|
1099
|
+
tmp_1.m9u_1 = this.j9u_1;
|
|
1100
1100
|
this.s8_1 = 1;
|
|
1101
1101
|
continue $sm;
|
|
1102
1102
|
case 1:
|
|
1103
|
-
this.
|
|
1104
|
-
var tmp0_elvis_lhs = this.
|
|
1103
|
+
this.k9u_1 = this.n9u_1;
|
|
1104
|
+
var tmp0_elvis_lhs = this.m9u_1.tableOrNull;
|
|
1105
1105
|
if (tmp0_elvis_lhs == null) {
|
|
1106
1106
|
this.s8_1 = 4;
|
|
1107
1107
|
var tmp_2 = this;
|
|
1108
1108
|
continue $sm;
|
|
1109
1109
|
} else {
|
|
1110
|
-
this.
|
|
1110
|
+
this.l9u_1 = tmp0_elvis_lhs;
|
|
1111
1111
|
this.s8_1 = 2;
|
|
1112
1112
|
continue $sm;
|
|
1113
1113
|
}
|
|
1114
1114
|
|
|
1115
1115
|
case 2:
|
|
1116
|
-
var transformed = this.
|
|
1116
|
+
var transformed = this.l9u_1;
|
|
1117
1117
|
this.s8_1 = 3;
|
|
1118
|
-
suspendResult = this.
|
|
1118
|
+
suspendResult = this.k9u_1.n28(transformed, this);
|
|
1119
1119
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1120
1120
|
return suspendResult;
|
|
1121
1121
|
}
|
|
@@ -1146,8 +1146,8 @@
|
|
|
1146
1146
|
while (true);
|
|
1147
1147
|
};
|
|
1148
1148
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).x2h = function (value, completion) {
|
|
1149
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.
|
|
1150
|
-
i.
|
|
1149
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.i9u_1, completion);
|
|
1150
|
+
i.j9u_1 = value;
|
|
1151
1151
|
return i;
|
|
1152
1152
|
};
|
|
1153
1153
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1160,8 +1160,8 @@
|
|
|
1160
1160
|
}
|
|
1161
1161
|
function $collectCOROUTINE$_2(_this__u8e3s4, collector, resultContinuation) {
|
|
1162
1162
|
CoroutineImpl.call(this, resultContinuation);
|
|
1163
|
-
this.
|
|
1164
|
-
this.
|
|
1163
|
+
this.w9u_1 = _this__u8e3s4;
|
|
1164
|
+
this.x9u_1 = collector;
|
|
1165
1165
|
}
|
|
1166
1166
|
protoOf($collectCOROUTINE$_2).a9 = function () {
|
|
1167
1167
|
var suspendResult = this.u8_1;
|
|
@@ -1171,10 +1171,10 @@
|
|
|
1171
1171
|
switch (tmp) {
|
|
1172
1172
|
case 0:
|
|
1173
1173
|
this.t8_1 = 2;
|
|
1174
|
-
var $this$unsafeFlow = this.
|
|
1174
|
+
var $this$unsafeFlow = this.x9u_1;
|
|
1175
1175
|
this.s8_1 = 1;
|
|
1176
1176
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($this$unsafeFlow, null);
|
|
1177
|
-
suspendResult = this.
|
|
1177
|
+
suspendResult = this.w9u_1.y9u_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1178
1178
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1179
1179
|
return suspendResult;
|
|
1180
1180
|
}
|
|
@@ -1197,7 +1197,7 @@
|
|
|
1197
1197
|
while (true);
|
|
1198
1198
|
};
|
|
1199
1199
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_1($$this$unsafeFlow, resultContinuation) {
|
|
1200
|
-
this.
|
|
1200
|
+
this.h9v_1 = $$this$unsafeFlow;
|
|
1201
1201
|
CoroutineImpl.call(this, resultContinuation);
|
|
1202
1202
|
}
|
|
1203
1203
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).w2h = function (value, $completion) {
|
|
@@ -1217,8 +1217,8 @@
|
|
|
1217
1217
|
switch (tmp) {
|
|
1218
1218
|
case 0:
|
|
1219
1219
|
this.t8_1 = 2;
|
|
1220
|
-
var tmp0 = this.
|
|
1221
|
-
var value = this.
|
|
1220
|
+
var tmp0 = this.h9v_1;
|
|
1221
|
+
var value = this.i9v_1;
|
|
1222
1222
|
this.s8_1 = 1;
|
|
1223
1223
|
suspendResult = tmp0.n28(to(value.gameInfo.roundNumberTotal, value), this);
|
|
1224
1224
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1243,8 +1243,8 @@
|
|
|
1243
1243
|
while (true);
|
|
1244
1244
|
};
|
|
1245
1245
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).x2h = function (value, completion) {
|
|
1246
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.
|
|
1247
|
-
i.
|
|
1246
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.h9v_1, completion);
|
|
1247
|
+
i.i9v_1 = value;
|
|
1248
1248
|
return i;
|
|
1249
1249
|
};
|
|
1250
1250
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1257,8 +1257,8 @@
|
|
|
1257
1257
|
}
|
|
1258
1258
|
function $collectCOROUTINE$_3(_this__u8e3s4, collector, resultContinuation) {
|
|
1259
1259
|
CoroutineImpl.call(this, resultContinuation);
|
|
1260
|
-
this.
|
|
1261
|
-
this.
|
|
1260
|
+
this.r9v_1 = _this__u8e3s4;
|
|
1261
|
+
this.s9v_1 = collector;
|
|
1262
1262
|
}
|
|
1263
1263
|
protoOf($collectCOROUTINE$_3).a9 = function () {
|
|
1264
1264
|
var suspendResult = this.u8_1;
|
|
@@ -1268,10 +1268,10 @@
|
|
|
1268
1268
|
switch (tmp) {
|
|
1269
1269
|
case 0:
|
|
1270
1270
|
this.t8_1 = 2;
|
|
1271
|
-
var $this$unsafeFlow = this.
|
|
1271
|
+
var $this$unsafeFlow = this.s9v_1;
|
|
1272
1272
|
this.s8_1 = 1;
|
|
1273
1273
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($this$unsafeFlow, null);
|
|
1274
|
-
suspendResult = this.
|
|
1274
|
+
suspendResult = this.r9v_1.t9v_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1275
1275
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1276
1276
|
return suspendResult;
|
|
1277
1277
|
}
|
|
@@ -1294,7 +1294,7 @@
|
|
|
1294
1294
|
while (true);
|
|
1295
1295
|
};
|
|
1296
1296
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_3($$this$unsafeFlow, resultContinuation) {
|
|
1297
|
-
this.
|
|
1297
|
+
this.c9w_1 = $$this$unsafeFlow;
|
|
1298
1298
|
CoroutineImpl.call(this, resultContinuation);
|
|
1299
1299
|
}
|
|
1300
1300
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).w2h = function (value, $completion) {
|
|
@@ -1314,8 +1314,8 @@
|
|
|
1314
1314
|
switch (tmp) {
|
|
1315
1315
|
case 0:
|
|
1316
1316
|
this.t8_1 = 2;
|
|
1317
|
-
var tmp0 = this.
|
|
1318
|
-
var value = this.
|
|
1317
|
+
var tmp0 = this.c9w_1;
|
|
1318
|
+
var value = this.d9w_1;
|
|
1319
1319
|
this.s8_1 = 1;
|
|
1320
1320
|
suspendResult = tmp0.n28(value.ne_1, this);
|
|
1321
1321
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1340,8 +1340,8 @@
|
|
|
1340
1340
|
while (true);
|
|
1341
1341
|
};
|
|
1342
1342
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).x2h = function (value, completion) {
|
|
1343
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.
|
|
1344
|
-
i.
|
|
1343
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.c9w_1, completion);
|
|
1344
|
+
i.d9w_1 = value;
|
|
1345
1345
|
return i;
|
|
1346
1346
|
};
|
|
1347
1347
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1354,8 +1354,8 @@
|
|
|
1354
1354
|
}
|
|
1355
1355
|
function $collectCOROUTINE$_4(_this__u8e3s4, collector, resultContinuation) {
|
|
1356
1356
|
CoroutineImpl.call(this, resultContinuation);
|
|
1357
|
-
this.
|
|
1358
|
-
this.
|
|
1357
|
+
this.m9w_1 = _this__u8e3s4;
|
|
1358
|
+
this.n9w_1 = collector;
|
|
1359
1359
|
}
|
|
1360
1360
|
protoOf($collectCOROUTINE$_4).a9 = function () {
|
|
1361
1361
|
var suspendResult = this.u8_1;
|
|
@@ -1365,10 +1365,10 @@
|
|
|
1365
1365
|
switch (tmp) {
|
|
1366
1366
|
case 0:
|
|
1367
1367
|
this.t8_1 = 2;
|
|
1368
|
-
var $this$unsafeFlow = this.
|
|
1368
|
+
var $this$unsafeFlow = this.n9w_1;
|
|
1369
1369
|
this.s8_1 = 1;
|
|
1370
1370
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($this$unsafeFlow, null);
|
|
1371
|
-
suspendResult = this.
|
|
1371
|
+
suspendResult = this.m9w_1.o9w_1.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1372
1372
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1373
1373
|
return suspendResult;
|
|
1374
1374
|
}
|
|
@@ -1391,17 +1391,17 @@
|
|
|
1391
1391
|
while (true);
|
|
1392
1392
|
};
|
|
1393
1393
|
function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
|
|
1394
|
-
this.
|
|
1394
|
+
this.x9w_1 = $subscriber;
|
|
1395
1395
|
CoroutineImpl.call(this, resultContinuation);
|
|
1396
1396
|
}
|
|
1397
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1398
|
-
var tmp = this.
|
|
1397
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).z9w = function (it, $completion) {
|
|
1398
|
+
var tmp = this.a9x(it, $completion);
|
|
1399
1399
|
tmp.u8_1 = Unit_instance;
|
|
1400
1400
|
tmp.v8_1 = null;
|
|
1401
1401
|
return tmp.a9();
|
|
1402
1402
|
};
|
|
1403
1403
|
protoOf(GameServer$subscribeWith$slambda$slambda).i9 = function (p1, $completion) {
|
|
1404
|
-
return this.
|
|
1404
|
+
return this.z9w(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
|
|
1405
1405
|
};
|
|
1406
1406
|
protoOf(GameServer$subscribeWith$slambda$slambda).a9 = function () {
|
|
1407
1407
|
var suspendResult = this.u8_1;
|
|
@@ -1410,7 +1410,7 @@
|
|
|
1410
1410
|
var tmp = this.s8_1;
|
|
1411
1411
|
if (tmp === 0) {
|
|
1412
1412
|
this.t8_1 = 1;
|
|
1413
|
-
this.
|
|
1413
|
+
this.x9w_1(this.y9w_1);
|
|
1414
1414
|
return Unit_instance;
|
|
1415
1415
|
} else if (tmp === 1) {
|
|
1416
1416
|
throw this.v8_1;
|
|
@@ -1421,91 +1421,91 @@
|
|
|
1421
1421
|
}
|
|
1422
1422
|
while (true);
|
|
1423
1423
|
};
|
|
1424
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1425
|
-
var i = new GameServer$subscribeWith$slambda$slambda(this.
|
|
1426
|
-
i.
|
|
1424
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).a9x = function (it, completion) {
|
|
1425
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.x9w_1, completion);
|
|
1426
|
+
i.y9w_1 = it;
|
|
1427
1427
|
return i;
|
|
1428
1428
|
};
|
|
1429
1429
|
function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
|
|
1430
1430
|
var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
|
|
1431
1431
|
var l = function (it, $completion) {
|
|
1432
|
-
return i.
|
|
1432
|
+
return i.z9w(it, $completion);
|
|
1433
1433
|
};
|
|
1434
1434
|
l.$arity = 1;
|
|
1435
1435
|
return l;
|
|
1436
1436
|
}
|
|
1437
1437
|
function _get_toClientEventsObserver__6rp51y($this) {
|
|
1438
|
-
var tmp0 = $this.
|
|
1438
|
+
var tmp0 = $this.f9x_1;
|
|
1439
1439
|
var tmp = KProperty1;
|
|
1440
1440
|
// Inline function 'kotlin.getValue' call
|
|
1441
1441
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, GameServer$_get_toClientEventsObserver_$ref_utir8s_0(), null);
|
|
1442
1442
|
return tmp0.x();
|
|
1443
1443
|
}
|
|
1444
1444
|
function _get_fromClientEventsObserver__a7vzd3($this) {
|
|
1445
|
-
var tmp0 = $this.
|
|
1445
|
+
var tmp0 = $this.g9x_1;
|
|
1446
1446
|
var tmp = KProperty1;
|
|
1447
1447
|
// Inline function 'kotlin.getValue' call
|
|
1448
1448
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, GameServer$_get_fromClientEventsObserver_$ref_nf1g79_0(), null);
|
|
1449
1449
|
return tmp0.x();
|
|
1450
1450
|
}
|
|
1451
1451
|
function _get_playerConnectionInteractor__si6cxf($this) {
|
|
1452
|
-
var tmp0 = $this.
|
|
1452
|
+
var tmp0 = $this.h9x_1;
|
|
1453
1453
|
var tmp = KProperty1;
|
|
1454
1454
|
// Inline function 'kotlin.getValue' call
|
|
1455
1455
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, GameServer$_get_playerConnectionInteractor_$ref_of8tan_0(), null);
|
|
1456
1456
|
return tmp0.x();
|
|
1457
1457
|
}
|
|
1458
1458
|
function _get_teamsLogicProvider__u10pm6($this) {
|
|
1459
|
-
var tmp0 = $this.
|
|
1459
|
+
var tmp0 = $this.i9x_1;
|
|
1460
1460
|
var tmp = KProperty1;
|
|
1461
1461
|
// Inline function 'kotlin.getValue' call
|
|
1462
1462
|
getPropertyCallableRef('teamsLogicProvider', 1, tmp, GameServer$_get_teamsLogicProvider_$ref_b7y54g_0(), null);
|
|
1463
1463
|
return tmp0.x();
|
|
1464
1464
|
}
|
|
1465
1465
|
function _get_userRatingInteractor__a09mdy($this) {
|
|
1466
|
-
var tmp0 = $this.
|
|
1466
|
+
var tmp0 = $this.j9x_1;
|
|
1467
1467
|
var tmp = KProperty1;
|
|
1468
1468
|
// Inline function 'kotlin.getValue' call
|
|
1469
1469
|
getPropertyCallableRef('userRatingInteractor', 1, tmp, GameServer$_get_userRatingInteractor_$ref_8uo6aw_0(), null);
|
|
1470
1470
|
return tmp0.x();
|
|
1471
1471
|
}
|
|
1472
1472
|
function _get_random__h29cgo($this) {
|
|
1473
|
-
var tmp0 = $this.
|
|
1473
|
+
var tmp0 = $this.k9x_1;
|
|
1474
1474
|
var tmp = KProperty1;
|
|
1475
1475
|
// Inline function 'kotlin.getValue' call
|
|
1476
1476
|
getPropertyCallableRef('random', 1, tmp, GameServer$_get_random_$ref_fottnq(), null);
|
|
1477
1477
|
return tmp0.x();
|
|
1478
1478
|
}
|
|
1479
1479
|
function _get_idsProvider__fnfajc($this) {
|
|
1480
|
-
var tmp0 = $this.
|
|
1480
|
+
var tmp0 = $this.l9x_1;
|
|
1481
1481
|
var tmp = KProperty1;
|
|
1482
1482
|
// Inline function 'kotlin.getValue' call
|
|
1483
1483
|
getPropertyCallableRef('idsProvider', 1, tmp, GameServer$_get_idsProvider_$ref_89s908_0(), null);
|
|
1484
1484
|
return tmp0.x();
|
|
1485
1485
|
}
|
|
1486
1486
|
function _get_serverReduxConfig__rprcrm($this) {
|
|
1487
|
-
var tmp0 = $this.
|
|
1487
|
+
var tmp0 = $this.m9x_1;
|
|
1488
1488
|
var tmp = KProperty1;
|
|
1489
1489
|
// Inline function 'kotlin.getValue' call
|
|
1490
1490
|
getPropertyCallableRef('serverReduxConfig', 1, tmp, GameServer$_get_serverReduxConfig_$ref_7h6jq6_0(), null);
|
|
1491
1491
|
return tmp0.x();
|
|
1492
1492
|
}
|
|
1493
1493
|
function _get_encoderDecoderProvider__qqgrji($this) {
|
|
1494
|
-
var tmp0 = $this.
|
|
1494
|
+
var tmp0 = $this.n9x_1;
|
|
1495
1495
|
var tmp = KProperty1;
|
|
1496
1496
|
// Inline function 'kotlin.getValue' call
|
|
1497
1497
|
getPropertyCallableRef('encoderDecoderProvider', 1, tmp, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8_0(), null);
|
|
1498
1498
|
return tmp0.x();
|
|
1499
1499
|
}
|
|
1500
1500
|
function _get_engineLogicConfig__l11qpf($this) {
|
|
1501
|
-
var tmp0 = $this.
|
|
1501
|
+
var tmp0 = $this.o9x_1;
|
|
1502
1502
|
var tmp = KProperty1;
|
|
1503
1503
|
// Inline function 'kotlin.getValue' call
|
|
1504
1504
|
getPropertyCallableRef('engineLogicConfig', 1, tmp, GameServer$_get_engineLogicConfig_$ref_nlkv2l_0(), null);
|
|
1505
1505
|
return tmp0.x();
|
|
1506
1506
|
}
|
|
1507
1507
|
function _get_botChatInteractor__17f3on($this) {
|
|
1508
|
-
var tmp0 = $this.
|
|
1508
|
+
var tmp0 = $this.p9x_1;
|
|
1509
1509
|
var tmp = KProperty1;
|
|
1510
1510
|
// Inline function 'kotlin.getValue' call
|
|
1511
1511
|
getPropertyCallableRef('botChatInteractor', 1, tmp, GameServer$_get_botChatInteractor_$ref_zf10ih_0(), null);
|
|
@@ -1541,7 +1541,7 @@
|
|
|
1541
1541
|
var player = getPlayer(table.players, playerId);
|
|
1542
1542
|
var tmp;
|
|
1543
1543
|
if (_get_engineLogicConfig__l11qpf($this).updateRating) {
|
|
1544
|
-
var tmp0_safe_receiver = _get_userRatingInteractor__a09mdy($this).
|
|
1544
|
+
var tmp0_safe_receiver = _get_userRatingInteractor__a09mdy($this).c8z(player, table.players, table.config.playersMode, table.config.pointsMode);
|
|
1545
1545
|
var tmp_0;
|
|
1546
1546
|
if (tmp0_safe_receiver == null) {
|
|
1547
1547
|
tmp_0 = null;
|
|
@@ -1604,7 +1604,7 @@
|
|
|
1604
1604
|
var tmp$ret$3 = new GameServer$preserveTeams$previousTeams$1(item);
|
|
1605
1605
|
destination.j(tmp$ret$3);
|
|
1606
1606
|
}
|
|
1607
|
-
var previousTeams = tmp.
|
|
1607
|
+
var previousTeams = tmp.d8r(destination);
|
|
1608
1608
|
// Inline function 'kotlin.collections.filterNot' call
|
|
1609
1609
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
1610
1610
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
@@ -1635,23 +1635,23 @@
|
|
|
1635
1635
|
destination_1.j(destination_2);
|
|
1636
1636
|
}
|
|
1637
1637
|
var updatedTeams = destination_1;
|
|
1638
|
-
return _get_teamsLogicProvider__u10pm6($this).
|
|
1638
|
+
return _get_teamsLogicProvider__u10pm6($this).e8r(updatedTeams);
|
|
1639
1639
|
}
|
|
1640
1640
|
function Companion() {
|
|
1641
|
-
this.
|
|
1641
|
+
this.r9x_1 = 'GameEngine_API';
|
|
1642
1642
|
}
|
|
1643
1643
|
var Companion_instance_9;
|
|
1644
1644
|
function Companion_getInstance_0() {
|
|
1645
1645
|
return Companion_instance_9;
|
|
1646
1646
|
}
|
|
1647
1647
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
1648
|
-
this.
|
|
1648
|
+
this.s9x_1 = function_0;
|
|
1649
1649
|
}
|
|
1650
1650
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).n28 = function (value, $completion) {
|
|
1651
|
-
return this.
|
|
1651
|
+
return this.s9x_1(value, $completion);
|
|
1652
1652
|
};
|
|
1653
1653
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).b3 = function () {
|
|
1654
|
-
return this.
|
|
1654
|
+
return this.s9x_1;
|
|
1655
1655
|
};
|
|
1656
1656
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
1657
1657
|
var tmp;
|
|
@@ -1672,13 +1672,13 @@
|
|
|
1672
1672
|
return hashCode(this.b3());
|
|
1673
1673
|
};
|
|
1674
1674
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
1675
|
-
this.
|
|
1675
|
+
this.t9x_1 = function_0;
|
|
1676
1676
|
}
|
|
1677
1677
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).n28 = function (value, $completion) {
|
|
1678
|
-
return this.
|
|
1678
|
+
return this.t9x_1(value, $completion);
|
|
1679
1679
|
};
|
|
1680
1680
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).b3 = function () {
|
|
1681
|
-
return this.
|
|
1681
|
+
return this.t9x_1;
|
|
1682
1682
|
};
|
|
1683
1683
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
1684
1684
|
var tmp;
|
|
@@ -1699,13 +1699,13 @@
|
|
|
1699
1699
|
return hashCode(this.b3());
|
|
1700
1700
|
};
|
|
1701
1701
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
|
|
1702
|
-
this.
|
|
1702
|
+
this.u9x_1 = function_0;
|
|
1703
1703
|
}
|
|
1704
1704
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).n28 = function (value, $completion) {
|
|
1705
|
-
return this.
|
|
1705
|
+
return this.u9x_1(value, $completion);
|
|
1706
1706
|
};
|
|
1707
1707
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).b3 = function () {
|
|
1708
|
-
return this.
|
|
1708
|
+
return this.u9x_1;
|
|
1709
1709
|
};
|
|
1710
1710
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
|
|
1711
1711
|
var tmp;
|
|
@@ -1726,13 +1726,13 @@
|
|
|
1726
1726
|
return hashCode(this.b3());
|
|
1727
1727
|
};
|
|
1728
1728
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
|
|
1729
|
-
this.
|
|
1729
|
+
this.v9x_1 = function_0;
|
|
1730
1730
|
}
|
|
1731
1731
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).n28 = function (value, $completion) {
|
|
1732
|
-
return this.
|
|
1732
|
+
return this.v9x_1(value, $completion);
|
|
1733
1733
|
};
|
|
1734
1734
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).b3 = function () {
|
|
1735
|
-
return this.
|
|
1735
|
+
return this.v9x_1;
|
|
1736
1736
|
};
|
|
1737
1737
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
|
|
1738
1738
|
var tmp;
|
|
@@ -1753,13 +1753,13 @@
|
|
|
1753
1753
|
return hashCode(this.b3());
|
|
1754
1754
|
};
|
|
1755
1755
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_3(function_0) {
|
|
1756
|
-
this.
|
|
1756
|
+
this.w9x_1 = function_0;
|
|
1757
1757
|
}
|
|
1758
1758
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).n28 = function (value, $completion) {
|
|
1759
|
-
return this.
|
|
1759
|
+
return this.w9x_1(value, $completion);
|
|
1760
1760
|
};
|
|
1761
1761
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).b3 = function () {
|
|
1762
|
-
return this.
|
|
1762
|
+
return this.w9x_1;
|
|
1763
1763
|
};
|
|
1764
1764
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).equals = function (other) {
|
|
1765
1765
|
var tmp;
|
|
@@ -1780,13 +1780,13 @@
|
|
|
1780
1780
|
return hashCode(this.b3());
|
|
1781
1781
|
};
|
|
1782
1782
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_4(function_0) {
|
|
1783
|
-
this.
|
|
1783
|
+
this.x9x_1 = function_0;
|
|
1784
1784
|
}
|
|
1785
1785
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).n28 = function (value, $completion) {
|
|
1786
|
-
return this.
|
|
1786
|
+
return this.x9x_1(value, $completion);
|
|
1787
1787
|
};
|
|
1788
1788
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).b3 = function () {
|
|
1789
|
-
return this.
|
|
1789
|
+
return this.x9x_1;
|
|
1790
1790
|
};
|
|
1791
1791
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).equals = function (other) {
|
|
1792
1792
|
var tmp;
|
|
@@ -1917,8 +1917,8 @@
|
|
|
1917
1917
|
};
|
|
1918
1918
|
}
|
|
1919
1919
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
1920
|
-
this.
|
|
1921
|
-
this.
|
|
1920
|
+
this.g9y_1 = this$0;
|
|
1921
|
+
this.h9y_1 = $subscriber;
|
|
1922
1922
|
CoroutineImpl.call(this, resultContinuation);
|
|
1923
1923
|
}
|
|
1924
1924
|
protoOf(GameServer$subscribeToClientAction$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -1939,8 +1939,8 @@
|
|
|
1939
1939
|
case 0:
|
|
1940
1940
|
this.t8_1 = 2;
|
|
1941
1941
|
this.s8_1 = 1;
|
|
1942
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
1943
|
-
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.
|
|
1942
|
+
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.g9y_1).j9y();
|
|
1943
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.h9y_1, null);
|
|
1944
1944
|
suspendResult = tmp_0.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
1945
1945
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1946
1946
|
return suspendResult;
|
|
@@ -1964,8 +1964,8 @@
|
|
|
1964
1964
|
while (true);
|
|
1965
1965
|
};
|
|
1966
1966
|
protoOf(GameServer$subscribeToClientAction$slambda).c2d = function ($this$launchDefault, completion) {
|
|
1967
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
1968
|
-
i.
|
|
1967
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.g9y_1, this.h9y_1, completion);
|
|
1968
|
+
i.i9y_1 = $this$launchDefault;
|
|
1969
1969
|
return i;
|
|
1970
1970
|
};
|
|
1971
1971
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1977,8 +1977,8 @@
|
|
|
1977
1977
|
return l;
|
|
1978
1978
|
}
|
|
1979
1979
|
function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
|
|
1980
|
-
this.
|
|
1981
|
-
this.
|
|
1980
|
+
this.s9y_1 = this$0;
|
|
1981
|
+
this.t9y_1 = $subscriber;
|
|
1982
1982
|
CoroutineImpl.call(this, resultContinuation);
|
|
1983
1983
|
}
|
|
1984
1984
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -1999,8 +1999,8 @@
|
|
|
1999
1999
|
case 0:
|
|
2000
2000
|
this.t8_1 = 2;
|
|
2001
2001
|
this.s8_1 = 1;
|
|
2002
|
-
var tmp_0 = observeTableStateUpdates(this.
|
|
2003
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.
|
|
2002
|
+
var tmp_0 = observeTableStateUpdates(this.s9y_1);
|
|
2003
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.t9y_1, null);
|
|
2004
2004
|
suspendResult = tmp_0.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
2005
2005
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2006
2006
|
return suspendResult;
|
|
@@ -2024,8 +2024,8 @@
|
|
|
2024
2024
|
while (true);
|
|
2025
2025
|
};
|
|
2026
2026
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).c2d = function ($this$launchDefault, completion) {
|
|
2027
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda(this.
|
|
2028
|
-
i.
|
|
2027
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda(this.s9y_1, this.t9y_1, completion);
|
|
2028
|
+
i.u9y_1 = $this$launchDefault;
|
|
2029
2029
|
return i;
|
|
2030
2030
|
};
|
|
2031
2031
|
function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -2037,8 +2037,8 @@
|
|
|
2037
2037
|
return l;
|
|
2038
2038
|
}
|
|
2039
2039
|
function GameServer$subscribeServerStateUpdateJson$slambda(this$0, $subscriber, resultContinuation) {
|
|
2040
|
-
this.
|
|
2041
|
-
this.
|
|
2040
|
+
this.d9z_1 = this$0;
|
|
2041
|
+
this.e9z_1 = $subscriber;
|
|
2042
2042
|
CoroutineImpl.call(this, resultContinuation);
|
|
2043
2043
|
}
|
|
2044
2044
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -2059,9 +2059,9 @@
|
|
|
2059
2059
|
case 0:
|
|
2060
2060
|
this.t8_1 = 2;
|
|
2061
2061
|
this.s8_1 = 1;
|
|
2062
|
-
var this_0 = observeTableStateUpdates(this.
|
|
2063
|
-
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.
|
|
2064
|
-
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.
|
|
2062
|
+
var this_0 = observeTableStateUpdates(this.d9z_1);
|
|
2063
|
+
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.d9z_1);
|
|
2064
|
+
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.e9z_1, null);
|
|
2065
2065
|
suspendResult = tmp_0.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
2066
2066
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2067
2067
|
return suspendResult;
|
|
@@ -2085,8 +2085,8 @@
|
|
|
2085
2085
|
while (true);
|
|
2086
2086
|
};
|
|
2087
2087
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).c2d = function ($this$launchDefault, completion) {
|
|
2088
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.
|
|
2089
|
-
i.
|
|
2088
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.d9z_1, this.e9z_1, completion);
|
|
2089
|
+
i.f9z_1 = $this$launchDefault;
|
|
2090
2090
|
return i;
|
|
2091
2091
|
};
|
|
2092
2092
|
function GameServer$subscribeServerStateUpdateJson$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -2098,18 +2098,18 @@
|
|
|
2098
2098
|
return l;
|
|
2099
2099
|
}
|
|
2100
2100
|
function GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation) {
|
|
2101
|
-
this.
|
|
2101
|
+
this.o9z_1 = this$0;
|
|
2102
2102
|
CoroutineImpl.call(this, resultContinuation);
|
|
2103
2103
|
}
|
|
2104
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
2105
|
-
var tmp = this.
|
|
2104
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).r9z = function ($this$transformLatest, it, $completion) {
|
|
2105
|
+
var tmp = this.s9z($this$transformLatest, it, $completion);
|
|
2106
2106
|
tmp.u8_1 = Unit_instance;
|
|
2107
2107
|
tmp.v8_1 = null;
|
|
2108
2108
|
return tmp.a9();
|
|
2109
2109
|
};
|
|
2110
2110
|
protoOf(GameServer$observeTableStateUpdates$slambda).j9 = function (p1, p2, $completion) {
|
|
2111
2111
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
2112
|
-
return this.
|
|
2112
|
+
return this.r9z(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
2113
2113
|
};
|
|
2114
2114
|
protoOf(GameServer$observeTableStateUpdates$slambda).a9 = function () {
|
|
2115
2115
|
var suspendResult = this.u8_1;
|
|
@@ -2120,8 +2120,8 @@
|
|
|
2120
2120
|
case 0:
|
|
2121
2121
|
this.t8_1 = 2;
|
|
2122
2122
|
this.s8_1 = 1;
|
|
2123
|
-
var table = this.
|
|
2124
|
-
suspendResult = emitAll(this.
|
|
2123
|
+
var table = this.q9z_1;
|
|
2124
|
+
suspendResult = emitAll(this.p9z_1, flow(GameServer$observeTableStateUpdates$slambda$slambda_0(table, this.o9z_1, null)), this);
|
|
2125
2125
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2126
2126
|
return suspendResult;
|
|
2127
2127
|
}
|
|
@@ -2143,23 +2143,23 @@
|
|
|
2143
2143
|
}
|
|
2144
2144
|
while (true);
|
|
2145
2145
|
};
|
|
2146
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
2147
|
-
var i = new GameServer$observeTableStateUpdates$slambda(this.
|
|
2148
|
-
i.
|
|
2149
|
-
i.
|
|
2146
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).s9z = function ($this$transformLatest, it, completion) {
|
|
2147
|
+
var i = new GameServer$observeTableStateUpdates$slambda(this.o9z_1, completion);
|
|
2148
|
+
i.p9z_1 = $this$transformLatest;
|
|
2149
|
+
i.q9z_1 = it;
|
|
2150
2150
|
return i;
|
|
2151
2151
|
};
|
|
2152
2152
|
function GameServer$observeTableStateUpdates$slambda_0(this$0, resultContinuation) {
|
|
2153
2153
|
var i = new GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation);
|
|
2154
2154
|
var l = function ($this$transformLatest, it, $completion) {
|
|
2155
|
-
return i.
|
|
2155
|
+
return i.r9z($this$transformLatest, it, $completion);
|
|
2156
2156
|
};
|
|
2157
2157
|
l.$arity = 2;
|
|
2158
2158
|
return l;
|
|
2159
2159
|
}
|
|
2160
2160
|
function GameServer$observeTableStateUpdates$$inlined$mapNotNull$1($this, this$0) {
|
|
2161
|
-
this.
|
|
2162
|
-
this.
|
|
2161
|
+
this.y9t_1 = $this;
|
|
2162
|
+
this.z9t_1 = this$0;
|
|
2163
2163
|
}
|
|
2164
2164
|
protoOf(GameServer$observeTableStateUpdates$$inlined$mapNotNull$1).o28 = function (collector, $completion) {
|
|
2165
2165
|
var tmp = new $collectCOROUTINE$_1(this, collector, $completion);
|
|
@@ -2171,7 +2171,7 @@
|
|
|
2171
2171
|
return this.o28(collector, $completion);
|
|
2172
2172
|
};
|
|
2173
2173
|
function GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1($this) {
|
|
2174
|
-
this.
|
|
2174
|
+
this.y9u_1 = $this;
|
|
2175
2175
|
}
|
|
2176
2176
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1).o28 = function (collector, $completion) {
|
|
2177
2177
|
var tmp = new $collectCOROUTINE$_2(this, collector, $completion);
|
|
@@ -2183,7 +2183,7 @@
|
|
|
2183
2183
|
return this.o28(collector, $completion);
|
|
2184
2184
|
};
|
|
2185
2185
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$1($this) {
|
|
2186
|
-
this.
|
|
2186
|
+
this.t9v_1 = $this;
|
|
2187
2187
|
}
|
|
2188
2188
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$1).o28 = function (collector, $completion) {
|
|
2189
2189
|
var tmp = new $collectCOROUTINE$_3(this, collector, $completion);
|
|
@@ -2198,7 +2198,7 @@
|
|
|
2198
2198
|
return old.me_1 === new_0.me_1;
|
|
2199
2199
|
}
|
|
2200
2200
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$2($this) {
|
|
2201
|
-
this.
|
|
2201
|
+
this.o9w_1 = $this;
|
|
2202
2202
|
}
|
|
2203
2203
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$2).o28 = function (collector, $completion) {
|
|
2204
2204
|
var tmp = new $collectCOROUTINE$_4(this, collector, $completion);
|
|
@@ -2210,8 +2210,8 @@
|
|
|
2210
2210
|
return this.o28(collector, $completion);
|
|
2211
2211
|
};
|
|
2212
2212
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
2213
|
-
this.
|
|
2214
|
-
this.
|
|
2213
|
+
this.ba0_1 = this$0;
|
|
2214
|
+
this.ca0_1 = $subscriber;
|
|
2215
2215
|
CoroutineImpl.call(this, resultContinuation);
|
|
2216
2216
|
}
|
|
2217
2217
|
protoOf(GameServer$subscribeWith$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -2232,8 +2232,8 @@
|
|
|
2232
2232
|
case 0:
|
|
2233
2233
|
this.t8_1 = 2;
|
|
2234
2234
|
this.s8_1 = 1;
|
|
2235
|
-
var tmp_0 = distinctUntilChanged(this.
|
|
2236
|
-
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.
|
|
2235
|
+
var tmp_0 = distinctUntilChanged(this.ba0_1.w6q());
|
|
2236
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.ca0_1, null);
|
|
2237
2237
|
suspendResult = tmp_0.n27(new sam$kotlinx_coroutines_flow_FlowCollector$0_4(tmp_1), this);
|
|
2238
2238
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2239
2239
|
return suspendResult;
|
|
@@ -2257,8 +2257,8 @@
|
|
|
2257
2257
|
while (true);
|
|
2258
2258
|
};
|
|
2259
2259
|
protoOf(GameServer$subscribeWith$slambda).c2d = function ($this$launchDefault, completion) {
|
|
2260
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
2261
|
-
i.
|
|
2260
|
+
var i = new GameServer$subscribeWith$slambda(this.ba0_1, this.ca0_1, completion);
|
|
2261
|
+
i.da0_1 = $this$launchDefault;
|
|
2262
2262
|
return i;
|
|
2263
2263
|
};
|
|
2264
2264
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -2270,18 +2270,18 @@
|
|
|
2270
2270
|
return l;
|
|
2271
2271
|
}
|
|
2272
2272
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
2273
|
-
this.
|
|
2273
|
+
this.ma0_1 = $action;
|
|
2274
2274
|
CoroutineImpl.call(this, resultContinuation);
|
|
2275
2275
|
}
|
|
2276
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
2277
|
-
var tmp = this.
|
|
2276
|
+
protoOf(GameServer$fromClientEvent$slambda).pa0 = function ($this$dispatchAsync, store, $completion) {
|
|
2277
|
+
var tmp = this.qa0($this$dispatchAsync, store, $completion);
|
|
2278
2278
|
tmp.u8_1 = Unit_instance;
|
|
2279
2279
|
tmp.v8_1 = null;
|
|
2280
2280
|
return tmp.a9();
|
|
2281
2281
|
};
|
|
2282
2282
|
protoOf(GameServer$fromClientEvent$slambda).j9 = function (p1, p2, $completion) {
|
|
2283
2283
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2284
|
-
return this.
|
|
2284
|
+
return this.pa0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2285
2285
|
};
|
|
2286
2286
|
protoOf(GameServer$fromClientEvent$slambda).a9 = function () {
|
|
2287
2287
|
var suspendResult = this.u8_1;
|
|
@@ -2290,11 +2290,11 @@
|
|
|
2290
2290
|
var tmp = this.s8_1;
|
|
2291
2291
|
if (tmp === 0) {
|
|
2292
2292
|
this.t8_1 = 1;
|
|
2293
|
-
if (this.
|
|
2294
|
-
if (!get_isCreated(this.
|
|
2293
|
+
if (this.ma0_1 instanceof PlayerReadyFromClientAction)
|
|
2294
|
+
if (!get_isCreated(this.oa0_1.state)) {
|
|
2295
2295
|
return Unit_instance;
|
|
2296
2296
|
}
|
|
2297
|
-
this.
|
|
2297
|
+
this.oa0_1.dispatch(this.ma0_1);
|
|
2298
2298
|
return Unit_instance;
|
|
2299
2299
|
} else if (tmp === 1) {
|
|
2300
2300
|
throw this.v8_1;
|
|
@@ -2305,33 +2305,33 @@
|
|
|
2305
2305
|
}
|
|
2306
2306
|
while (true);
|
|
2307
2307
|
};
|
|
2308
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
2309
|
-
var i = new GameServer$fromClientEvent$slambda(this.
|
|
2310
|
-
i.
|
|
2311
|
-
i.
|
|
2308
|
+
protoOf(GameServer$fromClientEvent$slambda).qa0 = function ($this$dispatchAsync, store, completion) {
|
|
2309
|
+
var i = new GameServer$fromClientEvent$slambda(this.ma0_1, completion);
|
|
2310
|
+
i.na0_1 = $this$dispatchAsync;
|
|
2311
|
+
i.oa0_1 = store;
|
|
2312
2312
|
return i;
|
|
2313
2313
|
};
|
|
2314
2314
|
function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
|
|
2315
2315
|
var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
|
|
2316
2316
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2317
|
-
return i.
|
|
2317
|
+
return i.pa0($this$dispatchAsync, store, $completion);
|
|
2318
2318
|
};
|
|
2319
2319
|
l.$arity = 2;
|
|
2320
2320
|
return l;
|
|
2321
2321
|
}
|
|
2322
2322
|
function GameServer$playerLostConnection$slambda($playerId, resultContinuation) {
|
|
2323
|
-
this.
|
|
2323
|
+
this.za0_1 = $playerId;
|
|
2324
2324
|
CoroutineImpl.call(this, resultContinuation);
|
|
2325
2325
|
}
|
|
2326
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2327
|
-
var tmp = this.
|
|
2326
|
+
protoOf(GameServer$playerLostConnection$slambda).pa0 = function ($this$dispatchAsync, store, $completion) {
|
|
2327
|
+
var tmp = this.qa0($this$dispatchAsync, store, $completion);
|
|
2328
2328
|
tmp.u8_1 = Unit_instance;
|
|
2329
2329
|
tmp.v8_1 = null;
|
|
2330
2330
|
return tmp.a9();
|
|
2331
2331
|
};
|
|
2332
2332
|
protoOf(GameServer$playerLostConnection$slambda).j9 = function (p1, p2, $completion) {
|
|
2333
2333
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2334
|
-
return this.
|
|
2334
|
+
return this.pa0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2335
2335
|
};
|
|
2336
2336
|
protoOf(GameServer$playerLostConnection$slambda).a9 = function () {
|
|
2337
2337
|
var suspendResult = this.u8_1;
|
|
@@ -2340,12 +2340,12 @@
|
|
|
2340
2340
|
var tmp = this.s8_1;
|
|
2341
2341
|
if (tmp === 0) {
|
|
2342
2342
|
this.t8_1 = 1;
|
|
2343
|
-
if (!get_isCreated(this.
|
|
2343
|
+
if (!get_isCreated(this.ba1_1.state)) {
|
|
2344
2344
|
return Unit_instance;
|
|
2345
2345
|
}
|
|
2346
|
-
var tmp_0 = this.
|
|
2346
|
+
var tmp_0 = this.ba1_1.dispatch;
|
|
2347
2347
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
2348
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2348
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.za0_1));
|
|
2349
2349
|
return Unit_instance;
|
|
2350
2350
|
} else if (tmp === 1) {
|
|
2351
2351
|
throw this.v8_1;
|
|
@@ -2356,34 +2356,34 @@
|
|
|
2356
2356
|
}
|
|
2357
2357
|
while (true);
|
|
2358
2358
|
};
|
|
2359
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2360
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
2361
|
-
i.
|
|
2362
|
-
i.
|
|
2359
|
+
protoOf(GameServer$playerLostConnection$slambda).qa0 = function ($this$dispatchAsync, store, completion) {
|
|
2360
|
+
var i = new GameServer$playerLostConnection$slambda(this.za0_1, completion);
|
|
2361
|
+
i.aa1_1 = $this$dispatchAsync;
|
|
2362
|
+
i.ba1_1 = store;
|
|
2363
2363
|
return i;
|
|
2364
2364
|
};
|
|
2365
2365
|
function GameServer$playerLostConnection$slambda_0($playerId, resultContinuation) {
|
|
2366
2366
|
var i = new GameServer$playerLostConnection$slambda($playerId, resultContinuation);
|
|
2367
2367
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2368
|
-
return i.
|
|
2368
|
+
return i.pa0($this$dispatchAsync, store, $completion);
|
|
2369
2369
|
};
|
|
2370
2370
|
l.$arity = 2;
|
|
2371
2371
|
return l;
|
|
2372
2372
|
}
|
|
2373
2373
|
function GameServer$playerLive$slambda(this$0, $playerId, resultContinuation) {
|
|
2374
|
-
this.
|
|
2375
|
-
this.
|
|
2374
|
+
this.ka1_1 = this$0;
|
|
2375
|
+
this.la1_1 = $playerId;
|
|
2376
2376
|
CoroutineImpl.call(this, resultContinuation);
|
|
2377
2377
|
}
|
|
2378
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2379
|
-
var tmp = this.
|
|
2378
|
+
protoOf(GameServer$playerLive$slambda).pa0 = function ($this$dispatchAsync, store, $completion) {
|
|
2379
|
+
var tmp = this.qa0($this$dispatchAsync, store, $completion);
|
|
2380
2380
|
tmp.u8_1 = Unit_instance;
|
|
2381
2381
|
tmp.v8_1 = null;
|
|
2382
2382
|
return tmp.a9();
|
|
2383
2383
|
};
|
|
2384
2384
|
protoOf(GameServer$playerLive$slambda).j9 = function (p1, p2, $completion) {
|
|
2385
2385
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2386
|
-
return this.
|
|
2386
|
+
return this.pa0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2387
2387
|
};
|
|
2388
2388
|
protoOf(GameServer$playerLive$slambda).a9 = function () {
|
|
2389
2389
|
var suspendResult = this.u8_1;
|
|
@@ -2392,16 +2392,16 @@
|
|
|
2392
2392
|
var tmp = this.s8_1;
|
|
2393
2393
|
if (tmp === 0) {
|
|
2394
2394
|
this.t8_1 = 1;
|
|
2395
|
-
if (get_isFinished(this.
|
|
2395
|
+
if (get_isFinished(this.na1_1.state) || get_isFinishing(this.na1_1.state)) {
|
|
2396
2396
|
return Unit_instance;
|
|
2397
2397
|
}
|
|
2398
|
-
if (!_get_serverReduxConfig__rprcrm(this.
|
|
2399
|
-
this.
|
|
2398
|
+
if (!_get_serverReduxConfig__rprcrm(this.ka1_1).waitForPlayerToConnectOnStart && (!get_isCreated(this.na1_1.state) || !this.ka1_1.t66().z6r())) {
|
|
2399
|
+
this.ka1_1.h4q().v('GameEngine_API', 'playerLive: ' + this.la1_1 + ' before game is created');
|
|
2400
2400
|
return Unit_instance;
|
|
2401
2401
|
}
|
|
2402
|
-
var tmp_0 = this.
|
|
2402
|
+
var tmp_0 = this.na1_1.dispatch;
|
|
2403
2403
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2404
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2404
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.la1_1));
|
|
2405
2405
|
return Unit_instance;
|
|
2406
2406
|
} else if (tmp === 1) {
|
|
2407
2407
|
throw this.v8_1;
|
|
@@ -2412,35 +2412,35 @@
|
|
|
2412
2412
|
}
|
|
2413
2413
|
while (true);
|
|
2414
2414
|
};
|
|
2415
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2416
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
2417
|
-
i.
|
|
2418
|
-
i.
|
|
2415
|
+
protoOf(GameServer$playerLive$slambda).qa0 = function ($this$dispatchAsync, store, completion) {
|
|
2416
|
+
var i = new GameServer$playerLive$slambda(this.ka1_1, this.la1_1, completion);
|
|
2417
|
+
i.ma1_1 = $this$dispatchAsync;
|
|
2418
|
+
i.na1_1 = store;
|
|
2419
2419
|
return i;
|
|
2420
2420
|
};
|
|
2421
2421
|
function GameServer$playerLive$slambda_0(this$0, $playerId, resultContinuation) {
|
|
2422
2422
|
var i = new GameServer$playerLive$slambda(this$0, $playerId, resultContinuation);
|
|
2423
2423
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2424
|
-
return i.
|
|
2424
|
+
return i.pa0($this$dispatchAsync, store, $completion);
|
|
2425
2425
|
};
|
|
2426
2426
|
l.$arity = 2;
|
|
2427
2427
|
return l;
|
|
2428
2428
|
}
|
|
2429
2429
|
function GameServer$playerLeft$slambda(this$0, $playerId, $permanently, resultContinuation) {
|
|
2430
|
-
this.
|
|
2431
|
-
this.
|
|
2432
|
-
this.
|
|
2430
|
+
this.wa1_1 = this$0;
|
|
2431
|
+
this.xa1_1 = $playerId;
|
|
2432
|
+
this.ya1_1 = $permanently;
|
|
2433
2433
|
CoroutineImpl.call(this, resultContinuation);
|
|
2434
2434
|
}
|
|
2435
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2436
|
-
var tmp = this.
|
|
2435
|
+
protoOf(GameServer$playerLeft$slambda).pa0 = function ($this$dispatchAsync, store, $completion) {
|
|
2436
|
+
var tmp = this.qa0($this$dispatchAsync, store, $completion);
|
|
2437
2437
|
tmp.u8_1 = Unit_instance;
|
|
2438
2438
|
tmp.v8_1 = null;
|
|
2439
2439
|
return tmp.a9();
|
|
2440
2440
|
};
|
|
2441
2441
|
protoOf(GameServer$playerLeft$slambda).j9 = function (p1, p2, $completion) {
|
|
2442
2442
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2443
|
-
return this.
|
|
2443
|
+
return this.pa0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2444
2444
|
};
|
|
2445
2445
|
protoOf(GameServer$playerLeft$slambda).a9 = function () {
|
|
2446
2446
|
var suspendResult = this.u8_1;
|
|
@@ -2449,22 +2449,22 @@
|
|
|
2449
2449
|
var tmp = this.s8_1;
|
|
2450
2450
|
if (tmp === 0) {
|
|
2451
2451
|
this.t8_1 = 1;
|
|
2452
|
-
if (get_isFinished(this.
|
|
2452
|
+
if (get_isFinished(this.aa2_1.state) || get_isFinishing(this.aa2_1.state)) {
|
|
2453
2453
|
return Unit_instance;
|
|
2454
2454
|
}
|
|
2455
|
-
if (!get_isCreated(this.
|
|
2456
|
-
this.
|
|
2455
|
+
if (!get_isCreated(this.aa2_1.state) || !this.wa1_1.t66().z6r()) {
|
|
2456
|
+
this.wa1_1.h4q().w('GameEngine_API', 'playerLeft: ' + this.xa1_1 + ' before game is created');
|
|
2457
2457
|
return Unit_instance;
|
|
2458
2458
|
}
|
|
2459
|
-
var tmp_0 = this.
|
|
2459
|
+
var tmp_0 = this.aa2_1.dispatch;
|
|
2460
2460
|
var tmp_1;
|
|
2461
|
-
if (this.
|
|
2461
|
+
if (this.ya1_1) {
|
|
2462
2462
|
tmp_1 = PlayerConnectionState_LEFT_getInstance();
|
|
2463
2463
|
} else {
|
|
2464
2464
|
tmp_1 = PlayerConnectionState_LEFT_getInstance();
|
|
2465
2465
|
}
|
|
2466
2466
|
var tmp0_connectionState = tmp_1;
|
|
2467
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2467
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.xa1_1));
|
|
2468
2468
|
return Unit_instance;
|
|
2469
2469
|
} else if (tmp === 1) {
|
|
2470
2470
|
throw this.v8_1;
|
|
@@ -2475,39 +2475,39 @@
|
|
|
2475
2475
|
}
|
|
2476
2476
|
while (true);
|
|
2477
2477
|
};
|
|
2478
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2479
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
2480
|
-
i.
|
|
2481
|
-
i.
|
|
2478
|
+
protoOf(GameServer$playerLeft$slambda).qa0 = function ($this$dispatchAsync, store, completion) {
|
|
2479
|
+
var i = new GameServer$playerLeft$slambda(this.wa1_1, this.xa1_1, this.ya1_1, completion);
|
|
2480
|
+
i.za1_1 = $this$dispatchAsync;
|
|
2481
|
+
i.aa2_1 = store;
|
|
2482
2482
|
return i;
|
|
2483
2483
|
};
|
|
2484
2484
|
function GameServer$playerLeft$slambda_0(this$0, $playerId, $permanently, resultContinuation) {
|
|
2485
2485
|
var i = new GameServer$playerLeft$slambda(this$0, $playerId, $permanently, resultContinuation);
|
|
2486
2486
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2487
|
-
return i.
|
|
2487
|
+
return i.pa0($this$dispatchAsync, store, $completion);
|
|
2488
2488
|
};
|
|
2489
2489
|
l.$arity = 2;
|
|
2490
2490
|
return l;
|
|
2491
2491
|
}
|
|
2492
2492
|
function GameServer$roomOnCreate$slambda($usersArray, this$0, $config, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2493
|
-
this.
|
|
2494
|
-
this.
|
|
2495
|
-
this.
|
|
2496
|
-
this.
|
|
2497
|
-
this.
|
|
2498
|
-
this.
|
|
2499
|
-
this.
|
|
2493
|
+
this.ja2_1 = $usersArray;
|
|
2494
|
+
this.ka2_1 = this$0;
|
|
2495
|
+
this.la2_1 = $config;
|
|
2496
|
+
this.ma2_1 = $roomId;
|
|
2497
|
+
this.na2_1 = $transition;
|
|
2498
|
+
this.oa2_1 = $gameCreatorId;
|
|
2499
|
+
this.pa2_1 = $spectators;
|
|
2500
2500
|
CoroutineImpl.call(this, resultContinuation);
|
|
2501
2501
|
}
|
|
2502
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2503
|
-
var tmp = this.
|
|
2502
|
+
protoOf(GameServer$roomOnCreate$slambda).pa0 = function ($this$dispatchAsync, store, $completion) {
|
|
2503
|
+
var tmp = this.qa0($this$dispatchAsync, store, $completion);
|
|
2504
2504
|
tmp.u8_1 = Unit_instance;
|
|
2505
2505
|
tmp.v8_1 = null;
|
|
2506
2506
|
return tmp.a9();
|
|
2507
2507
|
};
|
|
2508
2508
|
protoOf(GameServer$roomOnCreate$slambda).j9 = function (p1, p2, $completion) {
|
|
2509
2509
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2510
|
-
return this.
|
|
2510
|
+
return this.pa0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2511
2511
|
};
|
|
2512
2512
|
protoOf(GameServer$roomOnCreate$slambda).a9 = function () {
|
|
2513
2513
|
var suspendResult = this.u8_1;
|
|
@@ -2516,18 +2516,18 @@
|
|
|
2516
2516
|
var tmp = this.s8_1;
|
|
2517
2517
|
if (tmp === 0) {
|
|
2518
2518
|
this.t8_1 = 1;
|
|
2519
|
-
var users = toList(this.
|
|
2520
|
-
if (!validatePlayerCount(this.
|
|
2521
|
-
this.
|
|
2519
|
+
var users = toList(this.ja2_1);
|
|
2520
|
+
if (!validatePlayerCount(this.ka2_1, this.la2_1, users, this.ma2_1)) {
|
|
2521
|
+
this.ra2_1.dispatch(Companion_instance.fromTableWithAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.ka2_1.table.isGameFinished, this.ka2_1.table));
|
|
2522
2522
|
return Unit_instance;
|
|
2523
2523
|
}
|
|
2524
|
-
var orderedUsers = orderUsers(this.
|
|
2525
|
-
var gameCreatorUser = getPlayer(users, this.
|
|
2526
|
-
var tmp_0 = this.
|
|
2524
|
+
var orderedUsers = orderUsers(this.ka2_1, users, this.la2_1, this.na2_1);
|
|
2525
|
+
var gameCreatorUser = getPlayer(users, this.oa2_1);
|
|
2526
|
+
var tmp_0 = this.ra2_1.dispatch;
|
|
2527
2527
|
var tmp0_version = get_versionOrDefault(GameEngineConfig_instance);
|
|
2528
2528
|
var tmp1_users = sortWithItem(orderedUsers, gameCreatorUser);
|
|
2529
|
-
var tmp2_spectators = toList(this.
|
|
2530
|
-
tmp_0(new StartGameMechanicAction(this.
|
|
2529
|
+
var tmp2_spectators = toList(this.pa2_1);
|
|
2530
|
+
tmp_0(new StartGameMechanicAction(this.la2_1, this.ma2_1, tmp0_version, this.oa2_1, tmp1_users, VOID, tmp2_spectators));
|
|
2531
2531
|
return Unit_instance;
|
|
2532
2532
|
} else if (tmp === 1) {
|
|
2533
2533
|
throw this.v8_1;
|
|
@@ -2538,39 +2538,39 @@
|
|
|
2538
2538
|
}
|
|
2539
2539
|
while (true);
|
|
2540
2540
|
};
|
|
2541
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2542
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
2543
|
-
i.
|
|
2544
|
-
i.
|
|
2541
|
+
protoOf(GameServer$roomOnCreate$slambda).qa0 = function ($this$dispatchAsync, store, completion) {
|
|
2542
|
+
var i = new GameServer$roomOnCreate$slambda(this.ja2_1, this.ka2_1, this.la2_1, this.ma2_1, this.na2_1, this.oa2_1, this.pa2_1, completion);
|
|
2543
|
+
i.qa2_1 = $this$dispatchAsync;
|
|
2544
|
+
i.ra2_1 = store;
|
|
2545
2545
|
return i;
|
|
2546
2546
|
};
|
|
2547
2547
|
function GameServer$roomOnCreate$slambda_0($usersArray, this$0, $config, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2548
2548
|
var i = new GameServer$roomOnCreate$slambda($usersArray, this$0, $config, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation);
|
|
2549
2549
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2550
|
-
return i.
|
|
2550
|
+
return i.pa0($this$dispatchAsync, store, $completion);
|
|
2551
2551
|
};
|
|
2552
2552
|
l.$arity = 2;
|
|
2553
2553
|
return l;
|
|
2554
2554
|
}
|
|
2555
2555
|
function GameServer$preserveTeams$previousTeams$1($playerId) {
|
|
2556
|
-
this.
|
|
2556
|
+
this.sa2_1 = $playerId;
|
|
2557
2557
|
}
|
|
2558
2558
|
protoOf(GameServer$preserveTeams$previousTeams$1).v65 = function () {
|
|
2559
|
-
return this.
|
|
2559
|
+
return this.sa2_1;
|
|
2560
2560
|
};
|
|
2561
2561
|
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
2562
|
-
this.
|
|
2562
|
+
this.ba3_1 = $state;
|
|
2563
2563
|
CoroutineImpl.call(this, resultContinuation);
|
|
2564
2564
|
}
|
|
2565
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2566
|
-
var tmp = this.
|
|
2565
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).ea3 = function ($this$dispatchAwait, store, $completion) {
|
|
2566
|
+
var tmp = this.qa0($this$dispatchAwait, store, $completion);
|
|
2567
2567
|
tmp.u8_1 = Unit_instance;
|
|
2568
2568
|
tmp.v8_1 = null;
|
|
2569
2569
|
return tmp.a9();
|
|
2570
2570
|
};
|
|
2571
2571
|
protoOf(GameServer$roomOnContinueFromState$slambda).j9 = function (p1, p2, $completion) {
|
|
2572
2572
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2573
|
-
return this.
|
|
2573
|
+
return this.ea3(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2574
2574
|
};
|
|
2575
2575
|
protoOf(GameServer$roomOnContinueFromState$slambda).a9 = function () {
|
|
2576
2576
|
var suspendResult = this.u8_1;
|
|
@@ -2579,10 +2579,10 @@
|
|
|
2579
2579
|
var tmp = this.s8_1;
|
|
2580
2580
|
if (tmp === 0) {
|
|
2581
2581
|
this.t8_1 = 1;
|
|
2582
|
-
if (get_isCreating(this.
|
|
2583
|
-
var tmp_0 = this.
|
|
2582
|
+
if (get_isCreating(this.da3_1.state)) {
|
|
2583
|
+
var tmp_0 = this.da3_1.dispatch;
|
|
2584
2584
|
var tmp0_reason = new RestartRoundReason(null);
|
|
2585
|
-
var tmp1_table = this.
|
|
2585
|
+
var tmp1_table = this.ba3_1.table;
|
|
2586
2586
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2587
2587
|
return true;
|
|
2588
2588
|
}
|
|
@@ -2596,34 +2596,34 @@
|
|
|
2596
2596
|
}
|
|
2597
2597
|
while (true);
|
|
2598
2598
|
};
|
|
2599
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2600
|
-
var i = new GameServer$roomOnContinueFromState$slambda(this.
|
|
2601
|
-
i.
|
|
2602
|
-
i.
|
|
2599
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).qa0 = function ($this$dispatchAwait, store, completion) {
|
|
2600
|
+
var i = new GameServer$roomOnContinueFromState$slambda(this.ba3_1, completion);
|
|
2601
|
+
i.ca3_1 = $this$dispatchAwait;
|
|
2602
|
+
i.da3_1 = store;
|
|
2603
2603
|
return i;
|
|
2604
2604
|
};
|
|
2605
2605
|
function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
|
|
2606
2606
|
var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
|
|
2607
2607
|
var l = function ($this$dispatchAwait, store, $completion) {
|
|
2608
|
-
return i.
|
|
2608
|
+
return i.ea3($this$dispatchAwait, store, $completion);
|
|
2609
2609
|
};
|
|
2610
2610
|
l.$arity = 2;
|
|
2611
2611
|
return l;
|
|
2612
2612
|
}
|
|
2613
2613
|
function GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation) {
|
|
2614
|
-
this.
|
|
2615
|
-
this.
|
|
2614
|
+
this.na3_1 = $isCreated;
|
|
2615
|
+
this.oa3_1 = $state;
|
|
2616
2616
|
CoroutineImpl.call(this, resultContinuation);
|
|
2617
2617
|
}
|
|
2618
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2619
|
-
var tmp = this.
|
|
2618
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).pa0 = function ($this$dispatchAsync, store, $completion) {
|
|
2619
|
+
var tmp = this.qa0($this$dispatchAsync, store, $completion);
|
|
2620
2620
|
tmp.u8_1 = Unit_instance;
|
|
2621
2621
|
tmp.v8_1 = null;
|
|
2622
2622
|
return tmp.a9();
|
|
2623
2623
|
};
|
|
2624
2624
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).j9 = function (p1, p2, $completion) {
|
|
2625
2625
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2626
|
-
return this.
|
|
2626
|
+
return this.pa0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2627
2627
|
};
|
|
2628
2628
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).a9 = function () {
|
|
2629
2629
|
var suspendResult = this.u8_1;
|
|
@@ -2634,7 +2634,7 @@
|
|
|
2634
2634
|
case 0:
|
|
2635
2635
|
this.t8_1 = 3;
|
|
2636
2636
|
this.s8_1 = 1;
|
|
2637
|
-
suspendResult = this.
|
|
2637
|
+
suspendResult = this.na3_1.z1t(this);
|
|
2638
2638
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2639
2639
|
return suspendResult;
|
|
2640
2640
|
}
|
|
@@ -2642,10 +2642,10 @@
|
|
|
2642
2642
|
continue $sm;
|
|
2643
2643
|
case 1:
|
|
2644
2644
|
if (suspendResult) {
|
|
2645
|
-
var _iterator__ex2g4s = this.
|
|
2645
|
+
var _iterator__ex2g4s = this.oa3_1.actions.l();
|
|
2646
2646
|
while (_iterator__ex2g4s.m()) {
|
|
2647
2647
|
var element = _iterator__ex2g4s.n();
|
|
2648
|
-
this.
|
|
2648
|
+
this.qa3_1.dispatch(element);
|
|
2649
2649
|
}
|
|
2650
2650
|
this.s8_1 = 2;
|
|
2651
2651
|
continue $sm;
|
|
@@ -2670,35 +2670,35 @@
|
|
|
2670
2670
|
}
|
|
2671
2671
|
while (true);
|
|
2672
2672
|
};
|
|
2673
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2674
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1(this.
|
|
2675
|
-
i.
|
|
2676
|
-
i.
|
|
2673
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).qa0 = function ($this$dispatchAsync, store, completion) {
|
|
2674
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1(this.na3_1, this.oa3_1, completion);
|
|
2675
|
+
i.pa3_1 = $this$dispatchAsync;
|
|
2676
|
+
i.qa3_1 = store;
|
|
2677
2677
|
return i;
|
|
2678
2678
|
};
|
|
2679
2679
|
function GameServer$roomOnContinueFromState$slambda_2($isCreated, $state, resultContinuation) {
|
|
2680
2680
|
var i = new GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation);
|
|
2681
2681
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2682
|
-
return i.
|
|
2682
|
+
return i.pa0($this$dispatchAsync, store, $completion);
|
|
2683
2683
|
};
|
|
2684
2684
|
l.$arity = 2;
|
|
2685
2685
|
return l;
|
|
2686
2686
|
}
|
|
2687
2687
|
function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation) {
|
|
2688
|
-
this.
|
|
2689
|
-
this.
|
|
2690
|
-
this.
|
|
2688
|
+
this.za3_1 = $tableLite;
|
|
2689
|
+
this.aa4_1 = $roomId;
|
|
2690
|
+
this.ba4_1 = this$0;
|
|
2691
2691
|
CoroutineImpl.call(this, resultContinuation);
|
|
2692
2692
|
}
|
|
2693
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2694
|
-
var tmp = this.
|
|
2693
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).pa0 = function ($this$dispatchAsync, store, $completion) {
|
|
2694
|
+
var tmp = this.qa0($this$dispatchAsync, store, $completion);
|
|
2695
2695
|
tmp.u8_1 = Unit_instance;
|
|
2696
2696
|
tmp.v8_1 = null;
|
|
2697
2697
|
return tmp.a9();
|
|
2698
2698
|
};
|
|
2699
2699
|
protoOf(GameServer$roomOnContinueFromRound$slambda).j9 = function (p1, p2, $completion) {
|
|
2700
2700
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2701
|
-
return this.
|
|
2701
|
+
return this.pa0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2702
2702
|
};
|
|
2703
2703
|
protoOf(GameServer$roomOnContinueFromRound$slambda).a9 = function () {
|
|
2704
2704
|
var suspendResult = this.u8_1;
|
|
@@ -2707,9 +2707,9 @@
|
|
|
2707
2707
|
var tmp = this.s8_1;
|
|
2708
2708
|
if (tmp === 0) {
|
|
2709
2709
|
this.t8_1 = 1;
|
|
2710
|
-
var tmp_0 = this.
|
|
2711
|
-
var tmp0_reason = new RestartRoundReason(this.
|
|
2712
|
-
var tmp1_table = Companion_instance_0.restartRound(this.
|
|
2710
|
+
var tmp_0 = this.da4_1.dispatch;
|
|
2711
|
+
var tmp0_reason = new RestartRoundReason(this.za3_1.gameInfo.round.roundNumber);
|
|
2712
|
+
var tmp1_table = Companion_instance_0.restartRound(this.aa4_1, _get_idsProvider__fnfajc(this.ba4_1).d6e(), get_versionOrDefault(GameEngineConfig_instance), this.za3_1);
|
|
2713
2713
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2714
2714
|
return Unit_instance;
|
|
2715
2715
|
} else if (tmp === 1) {
|
|
@@ -2721,16 +2721,16 @@
|
|
|
2721
2721
|
}
|
|
2722
2722
|
while (true);
|
|
2723
2723
|
};
|
|
2724
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2725
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
2726
|
-
i.
|
|
2727
|
-
i.
|
|
2724
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).qa0 = function ($this$dispatchAsync, store, completion) {
|
|
2725
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.za3_1, this.aa4_1, this.ba4_1, completion);
|
|
2726
|
+
i.ca4_1 = $this$dispatchAsync;
|
|
2727
|
+
i.da4_1 = store;
|
|
2728
2728
|
return i;
|
|
2729
2729
|
};
|
|
2730
2730
|
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, resultContinuation) {
|
|
2731
2731
|
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation);
|
|
2732
2732
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2733
|
-
return i.
|
|
2733
|
+
return i.pa0($this$dispatchAsync, store, $completion);
|
|
2734
2734
|
};
|
|
2735
2735
|
l.$arity = 2;
|
|
2736
2736
|
return l;
|
|
@@ -2738,15 +2738,15 @@
|
|
|
2738
2738
|
function GameServer$roomOnContinueFromRound$slambda_1(resultContinuation) {
|
|
2739
2739
|
CoroutineImpl.call(this, resultContinuation);
|
|
2740
2740
|
}
|
|
2741
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2742
|
-
var tmp = this.
|
|
2741
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).pa0 = function ($this$dispatchAsync, store, $completion) {
|
|
2742
|
+
var tmp = this.qa0($this$dispatchAsync, store, $completion);
|
|
2743
2743
|
tmp.u8_1 = Unit_instance;
|
|
2744
2744
|
tmp.v8_1 = null;
|
|
2745
2745
|
return tmp.a9();
|
|
2746
2746
|
};
|
|
2747
2747
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).j9 = function (p1, p2, $completion) {
|
|
2748
2748
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2749
|
-
return this.
|
|
2749
|
+
return this.pa0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2750
2750
|
};
|
|
2751
2751
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).a9 = function () {
|
|
2752
2752
|
var suspendResult = this.u8_1;
|
|
@@ -2755,7 +2755,7 @@
|
|
|
2755
2755
|
var tmp = this.s8_1;
|
|
2756
2756
|
if (tmp === 0) {
|
|
2757
2757
|
this.t8_1 = 1;
|
|
2758
|
-
this.
|
|
2758
|
+
this.na4_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
2759
2759
|
return Unit_instance;
|
|
2760
2760
|
} else if (tmp === 1) {
|
|
2761
2761
|
throw this.v8_1;
|
|
@@ -2766,33 +2766,33 @@
|
|
|
2766
2766
|
}
|
|
2767
2767
|
while (true);
|
|
2768
2768
|
};
|
|
2769
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2769
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).qa0 = function ($this$dispatchAsync, store, completion) {
|
|
2770
2770
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
2771
|
-
i.
|
|
2772
|
-
i.
|
|
2771
|
+
i.ma4_1 = $this$dispatchAsync;
|
|
2772
|
+
i.na4_1 = store;
|
|
2773
2773
|
return i;
|
|
2774
2774
|
};
|
|
2775
2775
|
function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
|
|
2776
2776
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(resultContinuation);
|
|
2777
2777
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2778
|
-
return i.
|
|
2778
|
+
return i.pa0($this$dispatchAsync, store, $completion);
|
|
2779
2779
|
};
|
|
2780
2780
|
l.$arity = 2;
|
|
2781
2781
|
return l;
|
|
2782
2782
|
}
|
|
2783
2783
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
2784
|
-
this.
|
|
2784
|
+
this.wa4_1 = $spectators;
|
|
2785
2785
|
CoroutineImpl.call(this, resultContinuation);
|
|
2786
2786
|
}
|
|
2787
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2788
|
-
var tmp = this.
|
|
2787
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).pa0 = function ($this$dispatchAsync, store, $completion) {
|
|
2788
|
+
var tmp = this.qa0($this$dispatchAsync, store, $completion);
|
|
2789
2789
|
tmp.u8_1 = Unit_instance;
|
|
2790
2790
|
tmp.v8_1 = null;
|
|
2791
2791
|
return tmp.a9();
|
|
2792
2792
|
};
|
|
2793
2793
|
protoOf(GameServer$addSpectatorsToRoom$slambda).j9 = function (p1, p2, $completion) {
|
|
2794
2794
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2795
|
-
return this.
|
|
2795
|
+
return this.pa0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2796
2796
|
};
|
|
2797
2797
|
protoOf(GameServer$addSpectatorsToRoom$slambda).a9 = function () {
|
|
2798
2798
|
var suspendResult = this.u8_1;
|
|
@@ -2801,7 +2801,7 @@
|
|
|
2801
2801
|
var tmp = this.s8_1;
|
|
2802
2802
|
if (tmp === 0) {
|
|
2803
2803
|
this.t8_1 = 1;
|
|
2804
|
-
this.
|
|
2804
|
+
this.ya4_1.dispatch(new AddSpectatorsAction(toList(this.wa4_1)));
|
|
2805
2805
|
return Unit_instance;
|
|
2806
2806
|
} else if (tmp === 1) {
|
|
2807
2807
|
throw this.v8_1;
|
|
@@ -2812,33 +2812,33 @@
|
|
|
2812
2812
|
}
|
|
2813
2813
|
while (true);
|
|
2814
2814
|
};
|
|
2815
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2816
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
2817
|
-
i.
|
|
2818
|
-
i.
|
|
2815
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).qa0 = function ($this$dispatchAsync, store, completion) {
|
|
2816
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.wa4_1, completion);
|
|
2817
|
+
i.xa4_1 = $this$dispatchAsync;
|
|
2818
|
+
i.ya4_1 = store;
|
|
2819
2819
|
return i;
|
|
2820
2820
|
};
|
|
2821
2821
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
2822
2822
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
2823
2823
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2824
|
-
return i.
|
|
2824
|
+
return i.pa0($this$dispatchAsync, store, $completion);
|
|
2825
2825
|
};
|
|
2826
2826
|
l.$arity = 2;
|
|
2827
2827
|
return l;
|
|
2828
2828
|
}
|
|
2829
2829
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
2830
|
-
this.
|
|
2830
|
+
this.ha5_1 = $spectators;
|
|
2831
2831
|
CoroutineImpl.call(this, resultContinuation);
|
|
2832
2832
|
}
|
|
2833
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2834
|
-
var tmp = this.
|
|
2833
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).pa0 = function ($this$dispatchAsync, store, $completion) {
|
|
2834
|
+
var tmp = this.qa0($this$dispatchAsync, store, $completion);
|
|
2835
2835
|
tmp.u8_1 = Unit_instance;
|
|
2836
2836
|
tmp.v8_1 = null;
|
|
2837
2837
|
return tmp.a9();
|
|
2838
2838
|
};
|
|
2839
2839
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).j9 = function (p1, p2, $completion) {
|
|
2840
2840
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2841
|
-
return this.
|
|
2841
|
+
return this.pa0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2842
2842
|
};
|
|
2843
2843
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).a9 = function () {
|
|
2844
2844
|
var suspendResult = this.u8_1;
|
|
@@ -2847,7 +2847,7 @@
|
|
|
2847
2847
|
var tmp = this.s8_1;
|
|
2848
2848
|
if (tmp === 0) {
|
|
2849
2849
|
this.t8_1 = 1;
|
|
2850
|
-
this.
|
|
2850
|
+
this.ja5_1.dispatch(new RemoveSpectatorsAction(toList(this.ha5_1)));
|
|
2851
2851
|
return Unit_instance;
|
|
2852
2852
|
} else if (tmp === 1) {
|
|
2853
2853
|
throw this.v8_1;
|
|
@@ -2858,34 +2858,34 @@
|
|
|
2858
2858
|
}
|
|
2859
2859
|
while (true);
|
|
2860
2860
|
};
|
|
2861
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2862
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
2863
|
-
i.
|
|
2864
|
-
i.
|
|
2861
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).qa0 = function ($this$dispatchAsync, store, completion) {
|
|
2862
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.ha5_1, completion);
|
|
2863
|
+
i.ia5_1 = $this$dispatchAsync;
|
|
2864
|
+
i.ja5_1 = store;
|
|
2865
2865
|
return i;
|
|
2866
2866
|
};
|
|
2867
2867
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
2868
2868
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
2869
2869
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2870
|
-
return i.
|
|
2870
|
+
return i.pa0($this$dispatchAsync, store, $completion);
|
|
2871
2871
|
};
|
|
2872
2872
|
l.$arity = 2;
|
|
2873
2873
|
return l;
|
|
2874
2874
|
}
|
|
2875
2875
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
2876
|
-
this.
|
|
2877
|
-
this.
|
|
2876
|
+
this.sa5_1 = $playerId;
|
|
2877
|
+
this.ta5_1 = this$0;
|
|
2878
2878
|
CoroutineImpl.call(this, resultContinuation);
|
|
2879
2879
|
}
|
|
2880
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2881
|
-
var tmp = this.
|
|
2880
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).pa0 = function ($this$dispatchAsync, store, $completion) {
|
|
2881
|
+
var tmp = this.qa0($this$dispatchAsync, store, $completion);
|
|
2882
2882
|
tmp.u8_1 = Unit_instance;
|
|
2883
2883
|
tmp.v8_1 = null;
|
|
2884
2884
|
return tmp.a9();
|
|
2885
2885
|
};
|
|
2886
2886
|
protoOf(GameServer$roomRefreshPlayerState$slambda).j9 = function (p1, p2, $completion) {
|
|
2887
2887
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2888
|
-
return this.
|
|
2888
|
+
return this.pa0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2889
2889
|
};
|
|
2890
2890
|
protoOf(GameServer$roomRefreshPlayerState$slambda).a9 = function () {
|
|
2891
2891
|
var suspendResult = this.u8_1;
|
|
@@ -2894,14 +2894,14 @@
|
|
|
2894
2894
|
var tmp = this.s8_1;
|
|
2895
2895
|
if (tmp === 0) {
|
|
2896
2896
|
this.t8_1 = 1;
|
|
2897
|
-
var table = this.
|
|
2898
|
-
var player = getPlayer(table.players, this.
|
|
2897
|
+
var table = this.va5_1.state.x6r();
|
|
2898
|
+
var player = getPlayer(table.players, this.sa5_1);
|
|
2899
2899
|
if (player.i6v_1.z68().n67_1.isLive) {
|
|
2900
|
-
this.
|
|
2900
|
+
this.va5_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.ta5_1).wa5(player, table));
|
|
2901
2901
|
} else {
|
|
2902
|
-
var tmp_0 = this.
|
|
2902
|
+
var tmp_0 = this.va5_1.dispatch;
|
|
2903
2903
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2904
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2904
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.sa5_1));
|
|
2905
2905
|
}
|
|
2906
2906
|
return Unit_instance;
|
|
2907
2907
|
} else if (tmp === 1) {
|
|
@@ -2913,34 +2913,34 @@
|
|
|
2913
2913
|
}
|
|
2914
2914
|
while (true);
|
|
2915
2915
|
};
|
|
2916
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2917
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
2918
|
-
i.
|
|
2919
|
-
i.
|
|
2916
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).qa0 = function ($this$dispatchAsync, store, completion) {
|
|
2917
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.sa5_1, this.ta5_1, completion);
|
|
2918
|
+
i.ua5_1 = $this$dispatchAsync;
|
|
2919
|
+
i.va5_1 = store;
|
|
2920
2920
|
return i;
|
|
2921
2921
|
};
|
|
2922
2922
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
2923
2923
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
2924
2924
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2925
|
-
return i.
|
|
2925
|
+
return i.pa0($this$dispatchAsync, store, $completion);
|
|
2926
2926
|
};
|
|
2927
2927
|
l.$arity = 2;
|
|
2928
2928
|
return l;
|
|
2929
2929
|
}
|
|
2930
2930
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
2931
|
-
this.
|
|
2932
|
-
this.
|
|
2931
|
+
this.fa6_1 = this$0;
|
|
2932
|
+
this.ga6_1 = $newRid;
|
|
2933
2933
|
CoroutineImpl.call(this, resultContinuation);
|
|
2934
2934
|
}
|
|
2935
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2936
|
-
var tmp = this.
|
|
2935
|
+
protoOf(GameServer$roomOnDelete$slambda).pa0 = function ($this$dispatchAsync, store, $completion) {
|
|
2936
|
+
var tmp = this.qa0($this$dispatchAsync, store, $completion);
|
|
2937
2937
|
tmp.u8_1 = Unit_instance;
|
|
2938
2938
|
tmp.v8_1 = null;
|
|
2939
2939
|
return tmp.a9();
|
|
2940
2940
|
};
|
|
2941
2941
|
protoOf(GameServer$roomOnDelete$slambda).j9 = function (p1, p2, $completion) {
|
|
2942
2942
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2943
|
-
return this.
|
|
2943
|
+
return this.pa0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2944
2944
|
};
|
|
2945
2945
|
protoOf(GameServer$roomOnDelete$slambda).a9 = function () {
|
|
2946
2946
|
var suspendResult = this.u8_1;
|
|
@@ -2949,27 +2949,27 @@
|
|
|
2949
2949
|
var tmp = this.s8_1;
|
|
2950
2950
|
if (tmp === 0) {
|
|
2951
2951
|
this.t8_1 = 1;
|
|
2952
|
-
var it = this.
|
|
2952
|
+
var it = this.fa6_1.t66().x6q_1;
|
|
2953
2953
|
var tmp_0;
|
|
2954
2954
|
if (it == null) {
|
|
2955
|
-
this.
|
|
2955
|
+
this.fa6_1.h4q().w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
2956
2956
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
2957
2957
|
} else {
|
|
2958
2958
|
tmp_0 = it;
|
|
2959
2959
|
}
|
|
2960
2960
|
var terminationState = tmp_0;
|
|
2961
|
-
var gameTransition = terminationState.
|
|
2961
|
+
var gameTransition = terminationState.v92_1;
|
|
2962
2962
|
var tmp_1;
|
|
2963
2963
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
2964
|
-
var tmp0_elvis_lhs = this.
|
|
2964
|
+
var tmp0_elvis_lhs = this.ga6_1;
|
|
2965
2965
|
tmp_1 = gameTransition.copy(tmp0_elvis_lhs == null ? gameTransition.roomId : tmp0_elvis_lhs);
|
|
2966
2966
|
} else {
|
|
2967
2967
|
tmp_1 = gameTransition;
|
|
2968
2968
|
}
|
|
2969
2969
|
var transition = tmp_1;
|
|
2970
|
-
var tmp_2 = this.
|
|
2971
|
-
var tmp0_reason = terminationState.
|
|
2972
|
-
var tmp1_isGameFinished = this.
|
|
2970
|
+
var tmp_2 = this.ia6_1.dispatch;
|
|
2971
|
+
var tmp0_reason = terminationState.u92_1;
|
|
2972
|
+
var tmp1_isGameFinished = this.fa6_1.t66().x6r().isGameFinished;
|
|
2973
2973
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
2974
2974
|
return Unit_instance;
|
|
2975
2975
|
} else if (tmp === 1) {
|
|
@@ -2981,33 +2981,33 @@
|
|
|
2981
2981
|
}
|
|
2982
2982
|
while (true);
|
|
2983
2983
|
};
|
|
2984
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2985
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
2986
|
-
i.
|
|
2987
|
-
i.
|
|
2984
|
+
protoOf(GameServer$roomOnDelete$slambda).qa0 = function ($this$dispatchAsync, store, completion) {
|
|
2985
|
+
var i = new GameServer$roomOnDelete$slambda(this.fa6_1, this.ga6_1, completion);
|
|
2986
|
+
i.ha6_1 = $this$dispatchAsync;
|
|
2987
|
+
i.ia6_1 = store;
|
|
2988
2988
|
return i;
|
|
2989
2989
|
};
|
|
2990
2990
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
2991
2991
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
2992
2992
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2993
|
-
return i.
|
|
2993
|
+
return i.pa0($this$dispatchAsync, store, $completion);
|
|
2994
2994
|
};
|
|
2995
2995
|
l.$arity = 2;
|
|
2996
2996
|
return l;
|
|
2997
2997
|
}
|
|
2998
2998
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
2999
|
-
this.
|
|
2999
|
+
this.ra6_1 = $enabled;
|
|
3000
3000
|
CoroutineImpl.call(this, resultContinuation);
|
|
3001
3001
|
}
|
|
3002
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
3003
|
-
var tmp = this.
|
|
3002
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).pa0 = function ($this$dispatchAsync, store, $completion) {
|
|
3003
|
+
var tmp = this.qa0($this$dispatchAsync, store, $completion);
|
|
3004
3004
|
tmp.u8_1 = Unit_instance;
|
|
3005
3005
|
tmp.v8_1 = null;
|
|
3006
3006
|
return tmp.a9();
|
|
3007
3007
|
};
|
|
3008
3008
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).j9 = function (p1, p2, $completion) {
|
|
3009
3009
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
3010
|
-
return this.
|
|
3010
|
+
return this.pa0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
3011
3011
|
};
|
|
3012
3012
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).a9 = function () {
|
|
3013
3013
|
var suspendResult = this.u8_1;
|
|
@@ -3016,7 +3016,7 @@
|
|
|
3016
3016
|
var tmp = this.s8_1;
|
|
3017
3017
|
if (tmp === 0) {
|
|
3018
3018
|
this.t8_1 = 1;
|
|
3019
|
-
this.
|
|
3019
|
+
this.ta6_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload_0(this.ta6_1.state).config.copy(VOID, !this.ra6_1)));
|
|
3020
3020
|
return Unit_instance;
|
|
3021
3021
|
} else if (tmp === 1) {
|
|
3022
3022
|
throw this.v8_1;
|
|
@@ -3027,35 +3027,35 @@
|
|
|
3027
3027
|
}
|
|
3028
3028
|
while (true);
|
|
3029
3029
|
};
|
|
3030
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
3031
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
3032
|
-
i.
|
|
3033
|
-
i.
|
|
3030
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).qa0 = function ($this$dispatchAsync, store, completion) {
|
|
3031
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.ra6_1, completion);
|
|
3032
|
+
i.sa6_1 = $this$dispatchAsync;
|
|
3033
|
+
i.ta6_1 = store;
|
|
3034
3034
|
return i;
|
|
3035
3035
|
};
|
|
3036
3036
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
3037
3037
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
3038
3038
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3039
|
-
return i.
|
|
3039
|
+
return i.pa0($this$dispatchAsync, store, $completion);
|
|
3040
3040
|
};
|
|
3041
3041
|
l.$arity = 2;
|
|
3042
3042
|
return l;
|
|
3043
3043
|
}
|
|
3044
3044
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
3045
|
-
this.
|
|
3046
|
-
this.
|
|
3047
|
-
this.
|
|
3045
|
+
this.ca7_1 = $reason;
|
|
3046
|
+
this.da7_1 = this$0;
|
|
3047
|
+
this.ea7_1 = $roomId;
|
|
3048
3048
|
CoroutineImpl.call(this, resultContinuation);
|
|
3049
3049
|
}
|
|
3050
|
-
protoOf(GameServer$shutdown$slambda).
|
|
3051
|
-
var tmp = this.
|
|
3050
|
+
protoOf(GameServer$shutdown$slambda).pa0 = function ($this$dispatchAsync, store, $completion) {
|
|
3051
|
+
var tmp = this.qa0($this$dispatchAsync, store, $completion);
|
|
3052
3052
|
tmp.u8_1 = Unit_instance;
|
|
3053
3053
|
tmp.v8_1 = null;
|
|
3054
3054
|
return tmp.a9();
|
|
3055
3055
|
};
|
|
3056
3056
|
protoOf(GameServer$shutdown$slambda).j9 = function (p1, p2, $completion) {
|
|
3057
3057
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
3058
|
-
return this.
|
|
3058
|
+
return this.pa0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
3059
3059
|
};
|
|
3060
3060
|
protoOf(GameServer$shutdown$slambda).a9 = function () {
|
|
3061
3061
|
var suspendResult = this.u8_1;
|
|
@@ -3064,11 +3064,11 @@
|
|
|
3064
3064
|
var tmp = this.s8_1;
|
|
3065
3065
|
if (tmp === 0) {
|
|
3066
3066
|
this.t8_1 = 1;
|
|
3067
|
-
var state = this.
|
|
3067
|
+
var state = this.ga7_1.store.state;
|
|
3068
3068
|
if (state.z6r()) {
|
|
3069
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
3069
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.ca7_1, get_serverShutdownReasonMapping());
|
|
3070
3070
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
3071
|
-
var tmp_0 = this.
|
|
3071
|
+
var tmp_0 = this.ga7_1.dispatch;
|
|
3072
3072
|
var tmp_1 = Companion_instance;
|
|
3073
3073
|
var tmp_2;
|
|
3074
3074
|
switch (shutdownReason.q2_1) {
|
|
@@ -3082,12 +3082,12 @@
|
|
|
3082
3082
|
noWhenBranchMatchedException();
|
|
3083
3083
|
break;
|
|
3084
3084
|
}
|
|
3085
|
-
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.
|
|
3085
|
+
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.da7_1.table.isGameFinished, this.da7_1.table));
|
|
3086
3086
|
} else {
|
|
3087
|
-
this.
|
|
3088
|
-
var tmp_3 = this.
|
|
3087
|
+
this.da7_1.h4q().w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.ea7_1);
|
|
3088
|
+
var tmp_3 = this.ga7_1.dispatch;
|
|
3089
3089
|
var tmp2_safe_receiver = state.x6q_1;
|
|
3090
|
-
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
3090
|
+
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.v92_1));
|
|
3091
3091
|
}
|
|
3092
3092
|
return Unit_instance;
|
|
3093
3093
|
} else if (tmp === 1) {
|
|
@@ -3099,37 +3099,37 @@
|
|
|
3099
3099
|
}
|
|
3100
3100
|
while (true);
|
|
3101
3101
|
};
|
|
3102
|
-
protoOf(GameServer$shutdown$slambda).
|
|
3103
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
3104
|
-
i.
|
|
3105
|
-
i.
|
|
3102
|
+
protoOf(GameServer$shutdown$slambda).qa0 = function ($this$dispatchAsync, store, completion) {
|
|
3103
|
+
var i = new GameServer$shutdown$slambda(this.ca7_1, this.da7_1, this.ea7_1, completion);
|
|
3104
|
+
i.fa7_1 = $this$dispatchAsync;
|
|
3105
|
+
i.ga7_1 = store;
|
|
3106
3106
|
return i;
|
|
3107
3107
|
};
|
|
3108
3108
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
3109
3109
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
3110
3110
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3111
|
-
return i.
|
|
3111
|
+
return i.pa0($this$dispatchAsync, store, $completion);
|
|
3112
3112
|
};
|
|
3113
3113
|
l.$arity = 2;
|
|
3114
3114
|
return l;
|
|
3115
3115
|
}
|
|
3116
3116
|
function GameServer$handlePlayerMessage$slambda($botChatInteractor, $message, $fromPlayerId, $onMessageGenerated, this$0, resultContinuation) {
|
|
3117
|
-
this.
|
|
3118
|
-
this.
|
|
3119
|
-
this.
|
|
3120
|
-
this.
|
|
3121
|
-
this.
|
|
3117
|
+
this.pa7_1 = $botChatInteractor;
|
|
3118
|
+
this.qa7_1 = $message;
|
|
3119
|
+
this.ra7_1 = $fromPlayerId;
|
|
3120
|
+
this.sa7_1 = $onMessageGenerated;
|
|
3121
|
+
this.ta7_1 = this$0;
|
|
3122
3122
|
CoroutineImpl.call(this, resultContinuation);
|
|
3123
3123
|
}
|
|
3124
|
-
protoOf(GameServer$handlePlayerMessage$slambda).
|
|
3125
|
-
var tmp = this.
|
|
3124
|
+
protoOf(GameServer$handlePlayerMessage$slambda).pa0 = function ($this$dispatchAsync, store, $completion) {
|
|
3125
|
+
var tmp = this.qa0($this$dispatchAsync, store, $completion);
|
|
3126
3126
|
tmp.u8_1 = Unit_instance;
|
|
3127
3127
|
tmp.v8_1 = null;
|
|
3128
3128
|
return tmp.a9();
|
|
3129
3129
|
};
|
|
3130
3130
|
protoOf(GameServer$handlePlayerMessage$slambda).j9 = function (p1, p2, $completion) {
|
|
3131
3131
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
3132
|
-
return this.
|
|
3132
|
+
return this.pa0(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
3133
3133
|
};
|
|
3134
3134
|
protoOf(GameServer$handlePlayerMessage$slambda).a9 = function () {
|
|
3135
3135
|
var suspendResult = this.u8_1;
|
|
@@ -3139,20 +3139,20 @@
|
|
|
3139
3139
|
switch (tmp) {
|
|
3140
3140
|
case 0:
|
|
3141
3141
|
this.t8_1 = 3;
|
|
3142
|
-
var state = this.
|
|
3142
|
+
var state = this.va7_1.store.state;
|
|
3143
3143
|
if (state.z6r()) {
|
|
3144
3144
|
var tmp0_table = state.x6r();
|
|
3145
3145
|
this.s8_1 = 1;
|
|
3146
|
-
suspendResult = this.
|
|
3146
|
+
suspendResult = this.pa7_1.q8r(tmp0_table, this.qa7_1, this.ra7_1, VOID, this);
|
|
3147
3147
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3148
3148
|
return suspendResult;
|
|
3149
3149
|
}
|
|
3150
3150
|
continue $sm;
|
|
3151
3151
|
} else {
|
|
3152
|
-
this.
|
|
3153
|
-
var tmp_0 = this.
|
|
3152
|
+
this.ta7_1.h4q().w('GameEngine_API', "GameServer: can't generate message without table, " + this.ra7_1);
|
|
3153
|
+
var tmp_0 = this.va7_1.dispatch;
|
|
3154
3154
|
var tmp1_safe_receiver = state.x6q_1;
|
|
3155
|
-
tmp_0(new ClearAction(tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
3155
|
+
tmp_0(new ClearAction(tmp1_safe_receiver == null ? null : tmp1_safe_receiver.v92_1));
|
|
3156
3156
|
this.s8_1 = 2;
|
|
3157
3157
|
continue $sm;
|
|
3158
3158
|
}
|
|
@@ -3160,7 +3160,7 @@
|
|
|
3160
3160
|
case 1:
|
|
3161
3161
|
var message = suspendResult;
|
|
3162
3162
|
if (!(message == null)) {
|
|
3163
|
-
this.
|
|
3163
|
+
this.sa7_1(message);
|
|
3164
3164
|
}
|
|
3165
3165
|
|
|
3166
3166
|
this.s8_1 = 2;
|
|
@@ -3181,16 +3181,16 @@
|
|
|
3181
3181
|
}
|
|
3182
3182
|
while (true);
|
|
3183
3183
|
};
|
|
3184
|
-
protoOf(GameServer$handlePlayerMessage$slambda).
|
|
3185
|
-
var i = new GameServer$handlePlayerMessage$slambda(this.
|
|
3186
|
-
i.
|
|
3187
|
-
i.
|
|
3184
|
+
protoOf(GameServer$handlePlayerMessage$slambda).qa0 = function ($this$dispatchAsync, store, completion) {
|
|
3185
|
+
var i = new GameServer$handlePlayerMessage$slambda(this.pa7_1, this.qa7_1, this.ra7_1, this.sa7_1, this.ta7_1, completion);
|
|
3186
|
+
i.ua7_1 = $this$dispatchAsync;
|
|
3187
|
+
i.va7_1 = store;
|
|
3188
3188
|
return i;
|
|
3189
3189
|
};
|
|
3190
3190
|
function GameServer$handlePlayerMessage$slambda_0($botChatInteractor, $message, $fromPlayerId, $onMessageGenerated, this$0, resultContinuation) {
|
|
3191
3191
|
var i = new GameServer$handlePlayerMessage$slambda($botChatInteractor, $message, $fromPlayerId, $onMessageGenerated, this$0, resultContinuation);
|
|
3192
3192
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
3193
|
-
return i.
|
|
3193
|
+
return i.pa0($this$dispatchAsync, store, $completion);
|
|
3194
3194
|
};
|
|
3195
3195
|
l.$arity = 2;
|
|
3196
3196
|
return l;
|
|
@@ -3221,7 +3221,7 @@
|
|
|
3221
3221
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
3222
3222
|
var tmp_3 = Instance(di, tmp$ret$2, null);
|
|
3223
3223
|
var tmp_4 = KProperty1;
|
|
3224
|
-
tmp_1.
|
|
3224
|
+
tmp_1.f9x_1 = tmp_3.w64(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_4, GameServer$_get_toClientEventsObserver_$ref_utir8s(), null));
|
|
3225
3225
|
var tmp_5 = this;
|
|
3226
3226
|
// Inline function 'org.kodein.di.instance' call
|
|
3227
3227
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3229,7 +3229,7 @@
|
|
|
3229
3229
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
3230
3230
|
var tmp_7 = Instance(di, tmp$ret$4, null);
|
|
3231
3231
|
var tmp_8 = KProperty1;
|
|
3232
|
-
tmp_5.
|
|
3232
|
+
tmp_5.g9x_1 = tmp_7.w64(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_8, GameServer$_get_fromClientEventsObserver_$ref_nf1g79(), null));
|
|
3233
3233
|
var tmp_9 = this;
|
|
3234
3234
|
// Inline function 'org.kodein.di.instance' call
|
|
3235
3235
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3237,7 +3237,7 @@
|
|
|
3237
3237
|
var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
3238
3238
|
var tmp_11 = Instance(di, tmp$ret$6, null);
|
|
3239
3239
|
var tmp_12 = KProperty1;
|
|
3240
|
-
tmp_9.
|
|
3240
|
+
tmp_9.h9x_1 = tmp_11.w64(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_12, GameServer$_get_playerConnectionInteractor_$ref_of8tan(), null));
|
|
3241
3241
|
var tmp_13 = this;
|
|
3242
3242
|
// Inline function 'org.kodein.di.instance' call
|
|
3243
3243
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3245,7 +3245,7 @@
|
|
|
3245
3245
|
var tmp$ret$8 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
3246
3246
|
var tmp_15 = Instance(di, tmp$ret$8, null);
|
|
3247
3247
|
var tmp_16 = KProperty1;
|
|
3248
|
-
tmp_13.
|
|
3248
|
+
tmp_13.i9x_1 = tmp_15.w64(this, getPropertyCallableRef('teamsLogicProvider', 1, tmp_16, GameServer$_get_teamsLogicProvider_$ref_b7y54g(), null));
|
|
3249
3249
|
var tmp_17 = this;
|
|
3250
3250
|
// Inline function 'org.kodein.di.instance' call
|
|
3251
3251
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3253,9 +3253,9 @@
|
|
|
3253
3253
|
var tmp$ret$10 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
3254
3254
|
var tmp_19 = Instance(di, tmp$ret$10, null);
|
|
3255
3255
|
var tmp_20 = KProperty1;
|
|
3256
|
-
tmp_17.
|
|
3256
|
+
tmp_17.j9x_1 = tmp_19.w64(this, getPropertyCallableRef('userRatingInteractor', 1, tmp_20, GameServer$_get_userRatingInteractor_$ref_8uo6aw(), null));
|
|
3257
3257
|
var tmp_21 = this;
|
|
3258
|
-
tmp_21.
|
|
3258
|
+
tmp_21.k9x_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
3259
3259
|
var tmp_22 = this;
|
|
3260
3260
|
// Inline function 'org.kodein.di.instance' call
|
|
3261
3261
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3263,7 +3263,7 @@
|
|
|
3263
3263
|
var tmp$ret$12 = isInterface(tmp_23, TypeToken) ? tmp_23 : THROW_CCE();
|
|
3264
3264
|
var tmp_24 = Instance(di, tmp$ret$12, null);
|
|
3265
3265
|
var tmp_25 = KProperty1;
|
|
3266
|
-
tmp_22.
|
|
3266
|
+
tmp_22.l9x_1 = tmp_24.w64(this, getPropertyCallableRef('idsProvider', 1, tmp_25, GameServer$_get_idsProvider_$ref_89s908(), null));
|
|
3267
3267
|
var tmp_26 = this;
|
|
3268
3268
|
// Inline function 'org.kodein.di.instance' call
|
|
3269
3269
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3271,7 +3271,7 @@
|
|
|
3271
3271
|
var tmp$ret$14 = isInterface(tmp_27, TypeToken) ? tmp_27 : THROW_CCE();
|
|
3272
3272
|
var tmp_28 = Instance(di, tmp$ret$14, null);
|
|
3273
3273
|
var tmp_29 = KProperty1;
|
|
3274
|
-
tmp_26.
|
|
3274
|
+
tmp_26.m9x_1 = tmp_28.w64(this, getPropertyCallableRef('serverReduxConfig', 1, tmp_29, GameServer$_get_serverReduxConfig_$ref_7h6jq6(), null));
|
|
3275
3275
|
var tmp_30 = this;
|
|
3276
3276
|
// Inline function 'org.kodein.di.instance' call
|
|
3277
3277
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3279,7 +3279,7 @@
|
|
|
3279
3279
|
var tmp$ret$16 = isInterface(tmp_31, TypeToken) ? tmp_31 : THROW_CCE();
|
|
3280
3280
|
var tmp_32 = Instance(di, tmp$ret$16, null);
|
|
3281
3281
|
var tmp_33 = KProperty1;
|
|
3282
|
-
tmp_30.
|
|
3282
|
+
tmp_30.n9x_1 = tmp_32.w64(this, getPropertyCallableRef('encoderDecoderProvider', 1, tmp_33, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8(), null));
|
|
3283
3283
|
var tmp_34 = this;
|
|
3284
3284
|
// Inline function 'org.kodein.di.instance' call
|
|
3285
3285
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3287,7 +3287,7 @@
|
|
|
3287
3287
|
var tmp$ret$18 = isInterface(tmp_35, TypeToken) ? tmp_35 : THROW_CCE();
|
|
3288
3288
|
var tmp_36 = Instance(di, tmp$ret$18, null);
|
|
3289
3289
|
var tmp_37 = KProperty1;
|
|
3290
|
-
tmp_34.
|
|
3290
|
+
tmp_34.o9x_1 = tmp_36.w64(this, getPropertyCallableRef('engineLogicConfig', 1, tmp_37, GameServer$_get_engineLogicConfig_$ref_nlkv2l(), null));
|
|
3291
3291
|
var tmp_38 = this;
|
|
3292
3292
|
// Inline function 'org.kodein.di.instanceOrNull' call
|
|
3293
3293
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -3295,16 +3295,16 @@
|
|
|
3295
3295
|
var tmp$ret$20 = isInterface(tmp_39, TypeToken) ? tmp_39 : THROW_CCE();
|
|
3296
3296
|
var tmp_40 = InstanceOrNull(di, tmp$ret$20, null);
|
|
3297
3297
|
var tmp_41 = KProperty1;
|
|
3298
|
-
tmp_38.
|
|
3298
|
+
tmp_38.p9x_1 = tmp_40.w64(this, getPropertyCallableRef('botChatInteractor', 1, tmp_41, GameServer$_get_botChatInteractor_$ref_zf10ih(), null));
|
|
3299
3299
|
var tmp_42 = this;
|
|
3300
|
-
var tmp0_externalMiddlewares = plus(storeContract.
|
|
3301
|
-
var tmp1_externalReducers = plus(storeContract.
|
|
3302
|
-
tmp_42.
|
|
3300
|
+
var tmp0_externalMiddlewares = plus(storeContract.m97(), externalMiddlewares);
|
|
3301
|
+
var tmp1_externalReducers = plus(storeContract.l97(), externalReducers);
|
|
3302
|
+
tmp_42.q9x_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
3303
3303
|
}
|
|
3304
3304
|
protoOf(GameServer).n6q = function () {
|
|
3305
|
-
return this.
|
|
3305
|
+
return this.q9x_1;
|
|
3306
3306
|
};
|
|
3307
|
-
protoOf(GameServer).
|
|
3307
|
+
protoOf(GameServer).b8m = function () {
|
|
3308
3308
|
return get_serverStatePayload_0(this.t66()).metadata;
|
|
3309
3309
|
};
|
|
3310
3310
|
protoOf(GameServer).canReconnectPlayer = function (playerId) {
|
|
@@ -3357,17 +3357,17 @@
|
|
|
3357
3357
|
};
|
|
3358
3358
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
3359
3359
|
this.h4q().d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
3360
|
-
this.
|
|
3360
|
+
this.q9x_1.v6r(GameServer$fromClientEvent$slambda_0(action, null));
|
|
3361
3361
|
};
|
|
3362
3362
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
3363
3363
|
this.h4q().d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
3364
|
-
this.
|
|
3364
|
+
this.q9x_1.v6r(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
3365
3365
|
};
|
|
3366
3366
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
3367
3367
|
this.h4q().d('GameEngine_API', 'playerLive: ' + playerId);
|
|
3368
|
-
this.
|
|
3368
|
+
this.q9x_1.v6r(GameServer$playerLive$slambda_0(this, playerId, null));
|
|
3369
3369
|
};
|
|
3370
|
-
protoOf(GameServer).
|
|
3370
|
+
protoOf(GameServer).wa7 = function (playerId, permanently) {
|
|
3371
3371
|
this.h4q().d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
3372
3372
|
var tmp;
|
|
3373
3373
|
if (this.t66().z6r()) {
|
|
@@ -3376,34 +3376,34 @@
|
|
|
3376
3376
|
tmp = new PlayerLeftResult(null, null);
|
|
3377
3377
|
}
|
|
3378
3378
|
var result = tmp;
|
|
3379
|
-
this.
|
|
3379
|
+
this.q9x_1.v6r(GameServer$playerLeft$slambda_0(this, playerId, permanently, null));
|
|
3380
3380
|
return result;
|
|
3381
3381
|
};
|
|
3382
|
-
protoOf(GameServer).
|
|
3382
|
+
protoOf(GameServer).xa7 = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
3383
3383
|
this.h4q().d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
3384
|
-
this.
|
|
3384
|
+
this.q9x_1.v6r(GameServer$roomOnCreate$slambda_0(usersArray, this, config, roomId, transition, gameCreatorId, spectators, null));
|
|
3385
3385
|
};
|
|
3386
3386
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
3387
3387
|
this.h4q().d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
3388
|
-
var isCreated = this.
|
|
3389
|
-
this.
|
|
3388
|
+
var isCreated = this.q9x_1.w6r(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
3389
|
+
this.q9x_1.v6r(GameServer$roomOnContinueFromState$slambda_2(isCreated, state, null));
|
|
3390
3390
|
};
|
|
3391
3391
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
3392
3392
|
this.h4q().d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
3393
|
-
this.
|
|
3394
|
-
this.
|
|
3393
|
+
this.q9x_1.v6r(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
3394
|
+
this.q9x_1.v6r(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
3395
3395
|
};
|
|
3396
3396
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
3397
|
-
this.
|
|
3397
|
+
this.q9x_1.v6r(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
3398
3398
|
};
|
|
3399
3399
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
3400
|
-
this.
|
|
3400
|
+
this.q9x_1.v6r(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
3401
3401
|
};
|
|
3402
3402
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
3403
3403
|
this.h4q().d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
3404
|
-
this.
|
|
3404
|
+
this.q9x_1.v6r(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
3405
3405
|
};
|
|
3406
|
-
protoOf(GameServer).getToClientFinishActionBeforeDisconnect = function (playerId, originState) {
|
|
3406
|
+
protoOf(GameServer).getToClientFinishActionBeforeDisconnect = function (playerId, previousState, originState) {
|
|
3407
3407
|
if (!this.isTableExists) {
|
|
3408
3408
|
this.h4q().w('GameEngine_API', "Table not exists can't use playerConnectionInteractor");
|
|
3409
3409
|
return null;
|
|
@@ -3411,24 +3411,24 @@
|
|
|
3411
3411
|
var table = this.table;
|
|
3412
3412
|
var player = getPlayer(table.players, playerId);
|
|
3413
3413
|
this.h4q().d('GameEngine_API', 'getToClientFinishActionBeforeDisconnect: ' + playerId + ', ' + ('state = ' + player.i6v_1.z68().n67_1.toString() + ', ') + ('isBot = ' + player.h6v_1.isBot));
|
|
3414
|
-
var actions = _get_playerConnectionInteractor__si6cxf(this).
|
|
3414
|
+
var actions = _get_playerConnectionInteractor__si6cxf(this).ya7(playerId, previousState.isLive, table.id, mapToFinishReason(originState, player, table.playersConnections), table.isGameFinished);
|
|
3415
3415
|
this.h4q().d('GameEngine_API', 'getToClientFinishActionBeforeDisconnect: ' + toString(actions));
|
|
3416
3416
|
if (actions.r()) {
|
|
3417
3417
|
return null;
|
|
3418
3418
|
}
|
|
3419
3419
|
return new CombinedToClientAction(actions, Companion_instance_1.user(_get_idsProvider__fnfajc(this).d6e(), table.id, playerId));
|
|
3420
3420
|
};
|
|
3421
|
-
protoOf(GameServer).
|
|
3421
|
+
protoOf(GameServer).za7 = function (newRid) {
|
|
3422
3422
|
this.h4q().d('GameEngine_API', 'roomOnDelete: newRid = ' + newRid);
|
|
3423
|
-
this.
|
|
3423
|
+
this.q9x_1.v6r(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
3424
3424
|
};
|
|
3425
3425
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
3426
3426
|
this.h4q().d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
3427
|
-
this.
|
|
3427
|
+
this.q9x_1.v6r(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
3428
3428
|
};
|
|
3429
|
-
protoOf(GameServer).
|
|
3429
|
+
protoOf(GameServer).aa8 = function (reason, roomId) {
|
|
3430
3430
|
this.h4q().d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
3431
|
-
this.
|
|
3431
|
+
this.q9x_1.v6r(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
3432
3432
|
};
|
|
3433
3433
|
protoOf(GameServer).handlePlayerMessage = function (message, fromPlayerId, onMessageGenerated) {
|
|
3434
3434
|
var tmp0_elvis_lhs = _get_botChatInteractor__17f3on(this);
|
|
@@ -3440,7 +3440,7 @@
|
|
|
3440
3440
|
}
|
|
3441
3441
|
var botChatInteractor = tmp;
|
|
3442
3442
|
this.h4q().d('GameEngine_API', 'handlePlayerMessage: ' + fromPlayerId);
|
|
3443
|
-
this.
|
|
3443
|
+
this.q9x_1.v6r(GameServer$handlePlayerMessage$slambda_0(botChatInteractor, message, fromPlayerId, onMessageGenerated, this, null));
|
|
3444
3444
|
};
|
|
3445
3445
|
protoOf(GameServer).clear = function () {
|
|
3446
3446
|
return this.i2();
|
|
@@ -3494,13 +3494,13 @@
|
|
|
3494
3494
|
this.shouldFinishGameWhenDeploy = shouldFinishGameWhenDeploy;
|
|
3495
3495
|
this.shouldFinishGameWithBots = shouldFinishGameWithBots;
|
|
3496
3496
|
}
|
|
3497
|
-
protoOf(ServerConfig).
|
|
3497
|
+
protoOf(ServerConfig).ba8 = function () {
|
|
3498
3498
|
return this.fromRound;
|
|
3499
3499
|
};
|
|
3500
|
-
protoOf(ServerConfig).
|
|
3500
|
+
protoOf(ServerConfig).ca8 = function () {
|
|
3501
3501
|
return this.shouldFinishGameWhenDeploy;
|
|
3502
3502
|
};
|
|
3503
|
-
protoOf(ServerConfig).
|
|
3503
|
+
protoOf(ServerConfig).da8 = function () {
|
|
3504
3504
|
return this.shouldFinishGameWithBots;
|
|
3505
3505
|
};
|
|
3506
3506
|
protoOf(ServerConfig).oe = function () {
|
|
@@ -3512,14 +3512,14 @@
|
|
|
3512
3512
|
protoOf(ServerConfig).xl = function () {
|
|
3513
3513
|
return this.shouldFinishGameWithBots;
|
|
3514
3514
|
};
|
|
3515
|
-
protoOf(ServerConfig).
|
|
3515
|
+
protoOf(ServerConfig).ea8 = function (fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots) {
|
|
3516
3516
|
return new ServerConfig(fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots);
|
|
3517
3517
|
};
|
|
3518
3518
|
protoOf(ServerConfig).copy = function (fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots, $super) {
|
|
3519
3519
|
fromRound = fromRound === VOID ? this.fromRound : fromRound;
|
|
3520
3520
|
shouldFinishGameWhenDeploy = shouldFinishGameWhenDeploy === VOID ? this.shouldFinishGameWhenDeploy : shouldFinishGameWhenDeploy;
|
|
3521
3521
|
shouldFinishGameWithBots = shouldFinishGameWithBots === VOID ? this.shouldFinishGameWithBots : shouldFinishGameWithBots;
|
|
3522
|
-
return $super === VOID ? this.
|
|
3522
|
+
return $super === VOID ? this.ea8(fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots) : $super.ea8.call(this, fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots);
|
|
3523
3523
|
};
|
|
3524
3524
|
protoOf(ServerConfig).toString = function () {
|
|
3525
3525
|
return 'ServerConfig(fromRound=' + this.fromRound + ', shouldFinishGameWhenDeploy=' + this.shouldFinishGameWhenDeploy + ', shouldFinishGameWithBots=' + this.shouldFinishGameWithBots + ')';
|
|
@@ -3584,20 +3584,20 @@
|
|
|
3584
3584
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.TableStateUpdateDto', this, 2);
|
|
3585
3585
|
tmp0_serialDesc.gz('roomId', false);
|
|
3586
3586
|
tmp0_serialDesc.gz('table', false);
|
|
3587
|
-
this.
|
|
3587
|
+
this.fa8_1 = tmp0_serialDesc;
|
|
3588
3588
|
}
|
|
3589
|
-
protoOf($serializer).
|
|
3590
|
-
var tmp0_desc = this.
|
|
3589
|
+
protoOf($serializer).ga8 = function (encoder, value) {
|
|
3590
|
+
var tmp0_desc = this.fa8_1;
|
|
3591
3591
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3592
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
3592
|
+
tmp1_output.dt(tmp0_desc, 0, value.ha8_1);
|
|
3593
3593
|
tmp1_output.dt(tmp0_desc, 1, value.table);
|
|
3594
3594
|
tmp1_output.pr(tmp0_desc);
|
|
3595
3595
|
};
|
|
3596
3596
|
protoOf($serializer).co = function (encoder, value) {
|
|
3597
|
-
return this.
|
|
3597
|
+
return this.ga8(encoder, value instanceof TableStateUpdateDto ? value : THROW_CCE());
|
|
3598
3598
|
};
|
|
3599
3599
|
protoOf($serializer).do = function (decoder) {
|
|
3600
|
-
var tmp0_desc = this.
|
|
3600
|
+
var tmp0_desc = this.fa8_1;
|
|
3601
3601
|
var tmp1_flag = true;
|
|
3602
3602
|
var tmp2_index = 0;
|
|
3603
3603
|
var tmp3_bitMask0 = 0;
|
|
@@ -3632,7 +3632,7 @@
|
|
|
3632
3632
|
return TableStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3633
3633
|
};
|
|
3634
3634
|
protoOf($serializer).bo = function () {
|
|
3635
|
-
return this.
|
|
3635
|
+
return this.fa8_1;
|
|
3636
3636
|
};
|
|
3637
3637
|
protoOf($serializer).vz = function () {
|
|
3638
3638
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3648,9 +3648,9 @@
|
|
|
3648
3648
|
}
|
|
3649
3649
|
function TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, $this) {
|
|
3650
3650
|
if (!(3 === (3 & seen0))) {
|
|
3651
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance().
|
|
3651
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance().fa8_1);
|
|
3652
3652
|
}
|
|
3653
|
-
$this.
|
|
3653
|
+
$this.ha8_1 = roomId;
|
|
3654
3654
|
$this.table = table;
|
|
3655
3655
|
return $this;
|
|
3656
3656
|
}
|
|
@@ -3658,17 +3658,17 @@
|
|
|
3658
3658
|
return TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, objectCreate(protoOf(TableStateUpdateDto)));
|
|
3659
3659
|
}
|
|
3660
3660
|
function TableStateUpdateDto(roomId, table) {
|
|
3661
|
-
this.
|
|
3661
|
+
this.ha8_1 = roomId;
|
|
3662
3662
|
this.table = table;
|
|
3663
3663
|
}
|
|
3664
|
-
protoOf(TableStateUpdateDto).
|
|
3665
|
-
return this.
|
|
3664
|
+
protoOf(TableStateUpdateDto).u8i = function () {
|
|
3665
|
+
return this.ha8_1;
|
|
3666
3666
|
};
|
|
3667
3667
|
protoOf(TableStateUpdateDto).x6r = function () {
|
|
3668
3668
|
return this.table;
|
|
3669
3669
|
};
|
|
3670
3670
|
protoOf(TableStateUpdateDto).oe = function () {
|
|
3671
|
-
return this.
|
|
3671
|
+
return this.ha8_1;
|
|
3672
3672
|
};
|
|
3673
3673
|
protoOf(TableStateUpdateDto).pe = function () {
|
|
3674
3674
|
return this.table;
|
|
@@ -3677,15 +3677,15 @@
|
|
|
3677
3677
|
return new TableStateUpdateDto(roomId, table);
|
|
3678
3678
|
};
|
|
3679
3679
|
protoOf(TableStateUpdateDto).copy = function (roomId, table, $super) {
|
|
3680
|
-
roomId = roomId === VOID ? this.
|
|
3680
|
+
roomId = roomId === VOID ? this.ha8_1 : roomId;
|
|
3681
3681
|
table = table === VOID ? this.table : table;
|
|
3682
3682
|
return $super === VOID ? this.e54(roomId, table) : $super.e54.call(this, roomId, table);
|
|
3683
3683
|
};
|
|
3684
3684
|
protoOf(TableStateUpdateDto).toString = function () {
|
|
3685
|
-
return 'TableStateUpdateDto(roomId=' + this.
|
|
3685
|
+
return 'TableStateUpdateDto(roomId=' + this.ha8_1 + ', table=' + this.table + ')';
|
|
3686
3686
|
};
|
|
3687
3687
|
protoOf(TableStateUpdateDto).hashCode = function () {
|
|
3688
|
-
var result = getStringHashCode(this.
|
|
3688
|
+
var result = getStringHashCode(this.ha8_1);
|
|
3689
3689
|
result = imul(result, 31) + getStringHashCode(this.table) | 0;
|
|
3690
3690
|
return result;
|
|
3691
3691
|
};
|
|
@@ -3694,7 +3694,7 @@
|
|
|
3694
3694
|
return true;
|
|
3695
3695
|
if (!(other instanceof TableStateUpdateDto))
|
|
3696
3696
|
return false;
|
|
3697
|
-
if (!(this.
|
|
3697
|
+
if (!(this.ha8_1 === other.ha8_1))
|
|
3698
3698
|
return false;
|
|
3699
3699
|
if (!(this.table === other.table))
|
|
3700
3700
|
return false;
|
|
@@ -3714,20 +3714,20 @@
|
|
|
3714
3714
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.ActionsStateUpdateDto', this, 2);
|
|
3715
3715
|
tmp0_serialDesc.gz('roomId', false);
|
|
3716
3716
|
tmp0_serialDesc.gz('actions', false);
|
|
3717
|
-
this.
|
|
3717
|
+
this.ia8_1 = tmp0_serialDesc;
|
|
3718
3718
|
}
|
|
3719
|
-
protoOf($serializer_0).
|
|
3720
|
-
var tmp0_desc = this.
|
|
3719
|
+
protoOf($serializer_0).ja8 = function (encoder, value) {
|
|
3720
|
+
var tmp0_desc = this.ia8_1;
|
|
3721
3721
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3722
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
3722
|
+
tmp1_output.dt(tmp0_desc, 0, value.ka8_1);
|
|
3723
3723
|
tmp1_output.dt(tmp0_desc, 1, value.actions);
|
|
3724
3724
|
tmp1_output.pr(tmp0_desc);
|
|
3725
3725
|
};
|
|
3726
3726
|
protoOf($serializer_0).co = function (encoder, value) {
|
|
3727
|
-
return this.
|
|
3727
|
+
return this.ja8(encoder, value instanceof ActionsStateUpdateDto ? value : THROW_CCE());
|
|
3728
3728
|
};
|
|
3729
3729
|
protoOf($serializer_0).do = function (decoder) {
|
|
3730
|
-
var tmp0_desc = this.
|
|
3730
|
+
var tmp0_desc = this.ia8_1;
|
|
3731
3731
|
var tmp1_flag = true;
|
|
3732
3732
|
var tmp2_index = 0;
|
|
3733
3733
|
var tmp3_bitMask0 = 0;
|
|
@@ -3762,7 +3762,7 @@
|
|
|
3762
3762
|
return ActionsStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3763
3763
|
};
|
|
3764
3764
|
protoOf($serializer_0).bo = function () {
|
|
3765
|
-
return this.
|
|
3765
|
+
return this.ia8_1;
|
|
3766
3766
|
};
|
|
3767
3767
|
protoOf($serializer_0).vz = function () {
|
|
3768
3768
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3778,9 +3778,9 @@
|
|
|
3778
3778
|
}
|
|
3779
3779
|
function ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, $this) {
|
|
3780
3780
|
if (!(3 === (3 & seen0))) {
|
|
3781
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().
|
|
3781
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().ia8_1);
|
|
3782
3782
|
}
|
|
3783
|
-
$this.
|
|
3783
|
+
$this.ka8_1 = roomId;
|
|
3784
3784
|
$this.actions = actions;
|
|
3785
3785
|
return $this;
|
|
3786
3786
|
}
|
|
@@ -3788,17 +3788,17 @@
|
|
|
3788
3788
|
return ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, objectCreate(protoOf(ActionsStateUpdateDto)));
|
|
3789
3789
|
}
|
|
3790
3790
|
function ActionsStateUpdateDto(roomId, actions) {
|
|
3791
|
-
this.
|
|
3791
|
+
this.ka8_1 = roomId;
|
|
3792
3792
|
this.actions = actions;
|
|
3793
3793
|
}
|
|
3794
|
-
protoOf(ActionsStateUpdateDto).
|
|
3795
|
-
return this.
|
|
3794
|
+
protoOf(ActionsStateUpdateDto).u8i = function () {
|
|
3795
|
+
return this.ka8_1;
|
|
3796
3796
|
};
|
|
3797
|
-
protoOf(ActionsStateUpdateDto).
|
|
3797
|
+
protoOf(ActionsStateUpdateDto).i8j = function () {
|
|
3798
3798
|
return this.actions;
|
|
3799
3799
|
};
|
|
3800
3800
|
protoOf(ActionsStateUpdateDto).oe = function () {
|
|
3801
|
-
return this.
|
|
3801
|
+
return this.ka8_1;
|
|
3802
3802
|
};
|
|
3803
3803
|
protoOf(ActionsStateUpdateDto).pe = function () {
|
|
3804
3804
|
return this.actions;
|
|
@@ -3807,15 +3807,15 @@
|
|
|
3807
3807
|
return new ActionsStateUpdateDto(roomId, actions);
|
|
3808
3808
|
};
|
|
3809
3809
|
protoOf(ActionsStateUpdateDto).copy = function (roomId, actions, $super) {
|
|
3810
|
-
roomId = roomId === VOID ? this.
|
|
3810
|
+
roomId = roomId === VOID ? this.ka8_1 : roomId;
|
|
3811
3811
|
actions = actions === VOID ? this.actions : actions;
|
|
3812
3812
|
return $super === VOID ? this.e54(roomId, actions) : $super.e54.call(this, roomId, actions);
|
|
3813
3813
|
};
|
|
3814
3814
|
protoOf(ActionsStateUpdateDto).toString = function () {
|
|
3815
|
-
return 'ActionsStateUpdateDto(roomId=' + this.
|
|
3815
|
+
return 'ActionsStateUpdateDto(roomId=' + this.ka8_1 + ', actions=' + this.actions + ')';
|
|
3816
3816
|
};
|
|
3817
3817
|
protoOf(ActionsStateUpdateDto).hashCode = function () {
|
|
3818
|
-
var result = getStringHashCode(this.
|
|
3818
|
+
var result = getStringHashCode(this.ka8_1);
|
|
3819
3819
|
result = imul(result, 31) + getStringHashCode(this.actions) | 0;
|
|
3820
3820
|
return result;
|
|
3821
3821
|
};
|
|
@@ -3824,7 +3824,7 @@
|
|
|
3824
3824
|
return true;
|
|
3825
3825
|
if (!(other instanceof ActionsStateUpdateDto))
|
|
3826
3826
|
return false;
|
|
3827
|
-
if (!(this.
|
|
3827
|
+
if (!(this.ka8_1 === other.ka8_1))
|
|
3828
3828
|
return false;
|
|
3829
3829
|
if (!(this.actions === other.actions))
|
|
3830
3830
|
return false;
|
|
@@ -3854,42 +3854,42 @@
|
|
|
3854
3854
|
var tmp$ret$0 = mapToDto(item);
|
|
3855
3855
|
destination.j(tmp$ret$0);
|
|
3856
3856
|
}
|
|
3857
|
-
return new ActionsStateUpdateDto(_this__u8e3s4.
|
|
3857
|
+
return new ActionsStateUpdateDto(_this__u8e3s4.la8_1, encoderDecoderProvider.k8q(destination));
|
|
3858
3858
|
}
|
|
3859
3859
|
function mapToDto_3(_this__u8e3s4, encoderDecoderProvider) {
|
|
3860
|
-
return new TableStateUpdateDto(_this__u8e3s4.
|
|
3860
|
+
return new TableStateUpdateDto(_this__u8e3s4.ma8_1, encoderDecoderProvider.i8q(mapToDto_0(_this__u8e3s4.table)));
|
|
3861
3861
|
}
|
|
3862
3862
|
function ServerStateUpdate() {
|
|
3863
3863
|
}
|
|
3864
3864
|
function TableStateUpdate(roomId, table) {
|
|
3865
|
-
this.
|
|
3865
|
+
this.ma8_1 = roomId;
|
|
3866
3866
|
this.table = table;
|
|
3867
3867
|
}
|
|
3868
|
-
protoOf(TableStateUpdate).
|
|
3869
|
-
return this.
|
|
3868
|
+
protoOf(TableStateUpdate).u8i = function () {
|
|
3869
|
+
return this.ma8_1;
|
|
3870
3870
|
};
|
|
3871
3871
|
protoOf(TableStateUpdate).x6r = function () {
|
|
3872
3872
|
return this.table;
|
|
3873
3873
|
};
|
|
3874
3874
|
protoOf(TableStateUpdate).oe = function () {
|
|
3875
|
-
return this.
|
|
3875
|
+
return this.ma8_1;
|
|
3876
3876
|
};
|
|
3877
3877
|
protoOf(TableStateUpdate).pe = function () {
|
|
3878
3878
|
return this.table;
|
|
3879
3879
|
};
|
|
3880
|
-
protoOf(TableStateUpdate).
|
|
3880
|
+
protoOf(TableStateUpdate).na8 = function (roomId, table) {
|
|
3881
3881
|
return new TableStateUpdate(roomId, table);
|
|
3882
3882
|
};
|
|
3883
3883
|
protoOf(TableStateUpdate).copy = function (roomId, table, $super) {
|
|
3884
|
-
roomId = roomId === VOID ? this.
|
|
3884
|
+
roomId = roomId === VOID ? this.ma8_1 : roomId;
|
|
3885
3885
|
table = table === VOID ? this.table : table;
|
|
3886
|
-
return $super === VOID ? this.
|
|
3886
|
+
return $super === VOID ? this.na8(roomId, table) : $super.na8.call(this, roomId, table);
|
|
3887
3887
|
};
|
|
3888
3888
|
protoOf(TableStateUpdate).toString = function () {
|
|
3889
|
-
return 'TableStateUpdate(roomId=' + this.
|
|
3889
|
+
return 'TableStateUpdate(roomId=' + this.ma8_1 + ', table=' + this.table.toString() + ')';
|
|
3890
3890
|
};
|
|
3891
3891
|
protoOf(TableStateUpdate).hashCode = function () {
|
|
3892
|
-
var result = getStringHashCode(this.
|
|
3892
|
+
var result = getStringHashCode(this.ma8_1);
|
|
3893
3893
|
result = imul(result, 31) + this.table.hashCode() | 0;
|
|
3894
3894
|
return result;
|
|
3895
3895
|
};
|
|
@@ -3898,41 +3898,41 @@
|
|
|
3898
3898
|
return true;
|
|
3899
3899
|
if (!(other instanceof TableStateUpdate))
|
|
3900
3900
|
return false;
|
|
3901
|
-
if (!(this.
|
|
3901
|
+
if (!(this.ma8_1 === other.ma8_1))
|
|
3902
3902
|
return false;
|
|
3903
3903
|
if (!this.table.equals(other.table))
|
|
3904
3904
|
return false;
|
|
3905
3905
|
return true;
|
|
3906
3906
|
};
|
|
3907
3907
|
function ActionsStateUpdate(roomId, actions) {
|
|
3908
|
-
this.
|
|
3908
|
+
this.la8_1 = roomId;
|
|
3909
3909
|
this.actions = actions;
|
|
3910
3910
|
}
|
|
3911
|
-
protoOf(ActionsStateUpdate).
|
|
3912
|
-
return this.
|
|
3911
|
+
protoOf(ActionsStateUpdate).u8i = function () {
|
|
3912
|
+
return this.la8_1;
|
|
3913
3913
|
};
|
|
3914
|
-
protoOf(ActionsStateUpdate).
|
|
3914
|
+
protoOf(ActionsStateUpdate).i8j = function () {
|
|
3915
3915
|
return this.actions;
|
|
3916
3916
|
};
|
|
3917
3917
|
protoOf(ActionsStateUpdate).oe = function () {
|
|
3918
|
-
return this.
|
|
3918
|
+
return this.la8_1;
|
|
3919
3919
|
};
|
|
3920
3920
|
protoOf(ActionsStateUpdate).pe = function () {
|
|
3921
3921
|
return this.actions;
|
|
3922
3922
|
};
|
|
3923
|
-
protoOf(ActionsStateUpdate).
|
|
3923
|
+
protoOf(ActionsStateUpdate).oa8 = function (roomId, actions) {
|
|
3924
3924
|
return new ActionsStateUpdate(roomId, actions);
|
|
3925
3925
|
};
|
|
3926
3926
|
protoOf(ActionsStateUpdate).copy = function (roomId, actions, $super) {
|
|
3927
|
-
roomId = roomId === VOID ? this.
|
|
3927
|
+
roomId = roomId === VOID ? this.la8_1 : roomId;
|
|
3928
3928
|
actions = actions === VOID ? this.actions : actions;
|
|
3929
|
-
return $super === VOID ? this.
|
|
3929
|
+
return $super === VOID ? this.oa8(roomId, actions) : $super.oa8.call(this, roomId, actions);
|
|
3930
3930
|
};
|
|
3931
3931
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
3932
|
-
return 'ActionsStateUpdate(roomId=' + this.
|
|
3932
|
+
return 'ActionsStateUpdate(roomId=' + this.la8_1 + ', actions=' + toString(this.actions) + ')';
|
|
3933
3933
|
};
|
|
3934
3934
|
protoOf(ActionsStateUpdate).hashCode = function () {
|
|
3935
|
-
var result = getStringHashCode(this.
|
|
3935
|
+
var result = getStringHashCode(this.la8_1);
|
|
3936
3936
|
result = imul(result, 31) + hashCode(this.actions) | 0;
|
|
3937
3937
|
return result;
|
|
3938
3938
|
};
|
|
@@ -3941,7 +3941,7 @@
|
|
|
3941
3941
|
return true;
|
|
3942
3942
|
if (!(other instanceof ActionsStateUpdate))
|
|
3943
3943
|
return false;
|
|
3944
|
-
if (!(this.
|
|
3944
|
+
if (!(this.la8_1 === other.la8_1))
|
|
3945
3945
|
return false;
|
|
3946
3946
|
if (!equals(this.actions, other.actions))
|
|
3947
3947
|
return false;
|
|
@@ -4181,18 +4181,18 @@
|
|
|
4181
4181
|
function ToClientEventsObserver() {
|
|
4182
4182
|
}
|
|
4183
4183
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
4184
|
-
this.
|
|
4185
|
-
this.
|
|
4184
|
+
this.ya8_1 = this$0;
|
|
4185
|
+
this.za8_1 = $actions;
|
|
4186
4186
|
CoroutineImpl.call(this, resultContinuation);
|
|
4187
4187
|
}
|
|
4188
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
4189
|
-
var tmp = this.
|
|
4188
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).ca9 = function ($this$flow, $completion) {
|
|
4189
|
+
var tmp = this.da9($this$flow, $completion);
|
|
4190
4190
|
tmp.u8_1 = Unit_instance;
|
|
4191
4191
|
tmp.v8_1 = null;
|
|
4192
4192
|
return tmp.a9();
|
|
4193
4193
|
};
|
|
4194
4194
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).i9 = function (p1, $completion) {
|
|
4195
|
-
return this.
|
|
4195
|
+
return this.ca9((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
4196
4196
|
};
|
|
4197
4197
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).a9 = function () {
|
|
4198
4198
|
var suspendResult = this.u8_1;
|
|
@@ -4202,19 +4202,19 @@
|
|
|
4202
4202
|
switch (tmp) {
|
|
4203
4203
|
case 0:
|
|
4204
4204
|
this.t8_1 = 4;
|
|
4205
|
-
this.
|
|
4206
|
-
this.
|
|
4205
|
+
this.ya8_1.ia9_1;
|
|
4206
|
+
this.ba9_1 = transformToEmits(this.ya8_1, this.za8_1).l();
|
|
4207
4207
|
this.s8_1 = 1;
|
|
4208
4208
|
continue $sm;
|
|
4209
4209
|
case 1:
|
|
4210
|
-
if (!this.
|
|
4210
|
+
if (!this.ba9_1.m()) {
|
|
4211
4211
|
this.s8_1 = 3;
|
|
4212
4212
|
continue $sm;
|
|
4213
4213
|
}
|
|
4214
4214
|
|
|
4215
|
-
var element = this.
|
|
4215
|
+
var element = this.ba9_1.n();
|
|
4216
4216
|
this.s8_1 = 2;
|
|
4217
|
-
suspendResult = this.
|
|
4217
|
+
suspendResult = this.aa9_1.n28(element, this);
|
|
4218
4218
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4219
4219
|
return suspendResult;
|
|
4220
4220
|
}
|
|
@@ -4224,11 +4224,11 @@
|
|
|
4224
4224
|
this.s8_1 = 1;
|
|
4225
4225
|
continue $sm;
|
|
4226
4226
|
case 3:
|
|
4227
|
-
var tmp0 = this.
|
|
4227
|
+
var tmp0 = this.ya8_1.ha9_1;
|
|
4228
4228
|
l$ret$1: do {
|
|
4229
4229
|
while (true) {
|
|
4230
4230
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
4231
|
-
var upd = cur - this.
|
|
4231
|
+
var upd = cur - this.za8_1.o() | 0;
|
|
4232
4232
|
if (tmp0.atomicfu$compareAndSet(cur, upd)) {
|
|
4233
4233
|
break l$ret$1;
|
|
4234
4234
|
}
|
|
@@ -4250,15 +4250,15 @@
|
|
|
4250
4250
|
}
|
|
4251
4251
|
while (true);
|
|
4252
4252
|
};
|
|
4253
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
4254
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
4255
|
-
i.
|
|
4253
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).da9 = function ($this$flow, completion) {
|
|
4254
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.ya8_1, this.za8_1, completion);
|
|
4255
|
+
i.aa9_1 = $this$flow;
|
|
4256
4256
|
return i;
|
|
4257
4257
|
};
|
|
4258
4258
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
4259
4259
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
4260
4260
|
var l = function ($this$flow, $completion) {
|
|
4261
|
-
return i.
|
|
4261
|
+
return i.ca9($this$flow, $completion);
|
|
4262
4262
|
};
|
|
4263
4263
|
l.$arity = 1;
|
|
4264
4264
|
return l;
|
|
@@ -4328,29 +4328,29 @@
|
|
|
4328
4328
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
4329
4329
|
}
|
|
4330
4330
|
function mapFromGroupKey($this, _this__u8e3s4) {
|
|
4331
|
-
var tmp = $this.
|
|
4331
|
+
var tmp = $this.ga9_1.d6e();
|
|
4332
4332
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
4333
|
-
var this_0 = _this__u8e3s4.
|
|
4333
|
+
var this_0 = _this__u8e3s4.la9_1;
|
|
4334
4334
|
var tmp_0 = copyToArray(this_0);
|
|
4335
4335
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
4336
|
-
var this_1 = _this__u8e3s4.
|
|
4336
|
+
var this_1 = _this__u8e3s4.ma9_1;
|
|
4337
4337
|
var tmp$ret$1 = copyToArray(this_1);
|
|
4338
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
4338
|
+
return new ActionDeliveryPayload(_this__u8e3s4.ka9_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.na9_1);
|
|
4339
4339
|
}
|
|
4340
4340
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
4341
|
-
this.
|
|
4342
|
-
this.
|
|
4343
|
-
this.
|
|
4344
|
-
this.
|
|
4341
|
+
this.ka9_1 = tableId;
|
|
4342
|
+
this.la9_1 = includePlayers;
|
|
4343
|
+
this.ma9_1 = excludePlayers;
|
|
4344
|
+
this.na9_1 = deliveryType;
|
|
4345
4345
|
}
|
|
4346
4346
|
protoOf(GroupKey).toString = function () {
|
|
4347
|
-
return 'GroupKey(tableId=' + this.
|
|
4347
|
+
return 'GroupKey(tableId=' + this.ka9_1 + ', includePlayers=' + toString(this.la9_1) + ', excludePlayers=' + toString(this.ma9_1) + ', deliveryType=' + this.na9_1.toString() + ')';
|
|
4348
4348
|
};
|
|
4349
4349
|
protoOf(GroupKey).hashCode = function () {
|
|
4350
|
-
var result = getStringHashCode(this.
|
|
4351
|
-
result = imul(result, 31) + hashCode(this.
|
|
4352
|
-
result = imul(result, 31) + hashCode(this.
|
|
4353
|
-
result = imul(result, 31) + this.
|
|
4350
|
+
var result = getStringHashCode(this.ka9_1);
|
|
4351
|
+
result = imul(result, 31) + hashCode(this.la9_1) | 0;
|
|
4352
|
+
result = imul(result, 31) + hashCode(this.ma9_1) | 0;
|
|
4353
|
+
result = imul(result, 31) + this.na9_1.hashCode() | 0;
|
|
4354
4354
|
return result;
|
|
4355
4355
|
};
|
|
4356
4356
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -4358,35 +4358,35 @@
|
|
|
4358
4358
|
return true;
|
|
4359
4359
|
if (!(other instanceof GroupKey))
|
|
4360
4360
|
return false;
|
|
4361
|
-
if (!(this.
|
|
4361
|
+
if (!(this.ka9_1 === other.ka9_1))
|
|
4362
4362
|
return false;
|
|
4363
|
-
if (!equals(this.
|
|
4363
|
+
if (!equals(this.la9_1, other.la9_1))
|
|
4364
4364
|
return false;
|
|
4365
|
-
if (!equals(this.
|
|
4365
|
+
if (!equals(this.ma9_1, other.ma9_1))
|
|
4366
4366
|
return false;
|
|
4367
|
-
if (!this.
|
|
4367
|
+
if (!this.na9_1.equals(other.na9_1))
|
|
4368
4368
|
return false;
|
|
4369
4369
|
return true;
|
|
4370
4370
|
};
|
|
4371
4371
|
function Companion_4() {
|
|
4372
|
-
this.
|
|
4372
|
+
this.oa9_1 = 6;
|
|
4373
4373
|
}
|
|
4374
4374
|
var Companion_instance_14;
|
|
4375
4375
|
function Companion_getInstance_5() {
|
|
4376
4376
|
return Companion_instance_14;
|
|
4377
4377
|
}
|
|
4378
4378
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
4379
|
-
this.
|
|
4379
|
+
this.xa9_1 = this$0;
|
|
4380
4380
|
CoroutineImpl.call(this, resultContinuation);
|
|
4381
4381
|
}
|
|
4382
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
4383
|
-
var tmp = this.
|
|
4382
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).za9 = function (actions, $completion) {
|
|
4383
|
+
var tmp = this.aaa(actions, $completion);
|
|
4384
4384
|
tmp.u8_1 = Unit_instance;
|
|
4385
4385
|
tmp.v8_1 = null;
|
|
4386
4386
|
return tmp.a9();
|
|
4387
4387
|
};
|
|
4388
4388
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).i9 = function (p1, $completion) {
|
|
4389
|
-
return this.
|
|
4389
|
+
return this.za9((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
4390
4390
|
};
|
|
4391
4391
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).a9 = function () {
|
|
4392
4392
|
var suspendResult = this.u8_1;
|
|
@@ -4395,7 +4395,7 @@
|
|
|
4395
4395
|
var tmp = this.s8_1;
|
|
4396
4396
|
if (tmp === 0) {
|
|
4397
4397
|
this.t8_1 = 1;
|
|
4398
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
4398
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.xa9_1, this.ya9_1, null));
|
|
4399
4399
|
} else if (tmp === 1) {
|
|
4400
4400
|
throw this.v8_1;
|
|
4401
4401
|
}
|
|
@@ -4405,23 +4405,23 @@
|
|
|
4405
4405
|
}
|
|
4406
4406
|
while (true);
|
|
4407
4407
|
};
|
|
4408
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
4409
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
4410
|
-
i.
|
|
4408
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).aaa = function (actions, completion) {
|
|
4409
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.xa9_1, completion);
|
|
4410
|
+
i.ya9_1 = actions;
|
|
4411
4411
|
return i;
|
|
4412
4412
|
};
|
|
4413
4413
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
4414
4414
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
4415
4415
|
var l = function (actions, $completion) {
|
|
4416
|
-
return i.
|
|
4416
|
+
return i.za9(actions, $completion);
|
|
4417
4417
|
};
|
|
4418
4418
|
l.$arity = 1;
|
|
4419
4419
|
return l;
|
|
4420
4420
|
}
|
|
4421
4421
|
function $sentEventCOROUTINE$(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
4422
4422
|
CoroutineImpl.call(this, resultContinuation);
|
|
4423
|
-
this.
|
|
4424
|
-
this.
|
|
4423
|
+
this.jaa_1 = _this__u8e3s4;
|
|
4424
|
+
this.kaa_1 = fromEvent;
|
|
4425
4425
|
}
|
|
4426
4426
|
protoOf($sentEventCOROUTINE$).a9 = function () {
|
|
4427
4427
|
var suspendResult = this.u8_1;
|
|
@@ -4431,8 +4431,8 @@
|
|
|
4431
4431
|
switch (tmp) {
|
|
4432
4432
|
case 0:
|
|
4433
4433
|
this.t8_1 = 2;
|
|
4434
|
-
this.
|
|
4435
|
-
var tmp0 = this.
|
|
4434
|
+
this.jaa_1.ia9_1;
|
|
4435
|
+
var tmp0 = this.jaa_1.ha9_1;
|
|
4436
4436
|
l$ret$1: do {
|
|
4437
4437
|
while (true) {
|
|
4438
4438
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
@@ -4444,7 +4444,7 @@
|
|
|
4444
4444
|
}
|
|
4445
4445
|
while (false);
|
|
4446
4446
|
this.s8_1 = 1;
|
|
4447
|
-
suspendResult = this.
|
|
4447
|
+
suspendResult = this.jaa_1.ja9_1.n28(this.kaa_1, this);
|
|
4448
4448
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4449
4449
|
return suspendResult;
|
|
4450
4450
|
}
|
|
@@ -4468,7 +4468,7 @@
|
|
|
4468
4468
|
};
|
|
4469
4469
|
function $waitForCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
4470
4470
|
CoroutineImpl.call(this, resultContinuation);
|
|
4471
|
-
this.
|
|
4471
|
+
this.taa_1 = _this__u8e3s4;
|
|
4472
4472
|
}
|
|
4473
4473
|
protoOf($waitForCOROUTINE$).a9 = function () {
|
|
4474
4474
|
var suspendResult = this.u8_1;
|
|
@@ -4478,12 +4478,12 @@
|
|
|
4478
4478
|
switch (tmp) {
|
|
4479
4479
|
case 0:
|
|
4480
4480
|
this.t8_1 = 5;
|
|
4481
|
-
this.
|
|
4482
|
-
this.
|
|
4481
|
+
this.taa_1.ia9_1;
|
|
4482
|
+
this.uaa_1 = 0;
|
|
4483
4483
|
this.s8_1 = 1;
|
|
4484
4484
|
continue $sm;
|
|
4485
4485
|
case 1:
|
|
4486
|
-
if (!!(this.
|
|
4486
|
+
if (!!(this.taa_1.ha9_1.kotlinx$atomicfu$value === 0)) {
|
|
4487
4487
|
this.s8_1 = 4;
|
|
4488
4488
|
continue $sm;
|
|
4489
4489
|
}
|
|
@@ -4496,9 +4496,9 @@
|
|
|
4496
4496
|
|
|
4497
4497
|
continue $sm;
|
|
4498
4498
|
case 2:
|
|
4499
|
-
this.
|
|
4500
|
-
if (this.
|
|
4501
|
-
this.
|
|
4499
|
+
this.uaa_1 = this.uaa_1 + 1 | 0;
|
|
4500
|
+
if (this.uaa_1 > 6) {
|
|
4501
|
+
this.taa_1.fa9_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.taa_1.ha9_1.kotlinx$atomicfu$value);
|
|
4502
4502
|
this.s8_1 = 4;
|
|
4503
4503
|
continue $sm;
|
|
4504
4504
|
} else {
|
|
@@ -4526,55 +4526,55 @@
|
|
|
4526
4526
|
while (true);
|
|
4527
4527
|
};
|
|
4528
4528
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
4529
|
-
this.
|
|
4530
|
-
this.
|
|
4531
|
-
this.
|
|
4532
|
-
this.
|
|
4529
|
+
this.ea9_1 = serverReduxConfig;
|
|
4530
|
+
this.fa9_1 = logger;
|
|
4531
|
+
this.ga9_1 = idsProvider;
|
|
4532
|
+
this.ha9_1 = atomic$ref$1(0);
|
|
4533
4533
|
var tmp = this;
|
|
4534
4534
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
4535
|
-
tmp.
|
|
4536
|
-
this.
|
|
4535
|
+
tmp.ia9_1 = get_atomicfu$reentrantLock();
|
|
4536
|
+
this.ja9_1 = MutableSharedFlow();
|
|
4537
4537
|
}
|
|
4538
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4538
|
+
protoOf(ToClientEventsObserverImpl).pa8 = function (fromEvent, $completion) {
|
|
4539
4539
|
var tmp = new $sentEventCOROUTINE$(this, fromEvent, $completion);
|
|
4540
4540
|
tmp.u8_1 = Unit_instance;
|
|
4541
4541
|
tmp.v8_1 = null;
|
|
4542
4542
|
return tmp.a9();
|
|
4543
4543
|
};
|
|
4544
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4544
|
+
protoOf(ToClientEventsObserverImpl).g9h = function ($completion) {
|
|
4545
4545
|
var tmp = new $waitForCOROUTINE$(this, $completion);
|
|
4546
4546
|
tmp.u8_1 = Unit_instance;
|
|
4547
4547
|
tmp.v8_1 = null;
|
|
4548
4548
|
return tmp.a9();
|
|
4549
4549
|
};
|
|
4550
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4551
|
-
if (!this.
|
|
4552
|
-
return this.
|
|
4550
|
+
protoOf(ToClientEventsObserverImpl).j9y = function () {
|
|
4551
|
+
if (!this.ea9_1.enabledCombinedEvents) {
|
|
4552
|
+
return this.ja9_1;
|
|
4553
4553
|
}
|
|
4554
|
-
var tmp = windowedByInterval(this.
|
|
4554
|
+
var tmp = windowedByInterval(this.ja9_1, fromInt(this.ea9_1.combinedEventsIntervalMillis));
|
|
4555
4555
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
4556
4556
|
};
|
|
4557
4557
|
function PlayerConnectionInteractor() {
|
|
4558
4558
|
}
|
|
4559
|
-
function waitPlayerOrDisconnect($this, newConnectionState, table, player, waitForPlayer) {
|
|
4560
|
-
if (waitForPlayer && $this.
|
|
4559
|
+
function waitPlayerOrDisconnect($this, newConnectionState, previousConnectionState, table, player, waitForPlayer) {
|
|
4560
|
+
if (waitForPlayer && $this.xaa_1.waitForPlayerToReconnect) {
|
|
4561
4561
|
var tmp = player.i6v_1.z68();
|
|
4562
4562
|
Companion_getInstance();
|
|
4563
4563
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
4564
|
-
var this_0 = $this.
|
|
4564
|
+
var this_0 = $this.xaa_1.reconnectionCheckDurationMillis;
|
|
4565
4565
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
4566
4566
|
var noRecentReconnects = tmp.u67(tmp$ret$0);
|
|
4567
4567
|
if (noRecentReconnects) {
|
|
4568
|
-
return $this.
|
|
4568
|
+
return $this.waa(player.playerId, newConnectionState, previousConnectionState);
|
|
4569
4569
|
}
|
|
4570
4570
|
}
|
|
4571
|
-
var canRemoveGameWhenNoPlayers = Companion_instance_2.g6v($this.
|
|
4571
|
+
var canRemoveGameWhenNoPlayers = Companion_instance_2.g6v($this.xaa_1.finishGameWhenNotLiveStrategy, player.playerId, table.players);
|
|
4572
4572
|
if (canRemoveGameWhenNoPlayers) {
|
|
4573
|
-
return listOf($this.
|
|
4573
|
+
return listOf($this.bab_1.i8x(mapToFinishReason(newConnectionState, player, table.playersConnections), table, 'Disconnect: No Players to continue game'));
|
|
4574
4574
|
}
|
|
4575
4575
|
if (table.sceneInfo.b7g()) {
|
|
4576
|
-
if (!$this.
|
|
4577
|
-
return listOf($this.
|
|
4576
|
+
if (!$this.yaa_1.openRoomIfFinished) {
|
|
4577
|
+
return listOf($this.bab_1.i8x(mapToFinishReason(newConnectionState, player, table.playersConnections), table, 'Disconnect: Game is finished'));
|
|
4578
4578
|
}
|
|
4579
4579
|
// Inline function 'kotlin.collections.filter' call
|
|
4580
4580
|
var tmp0 = table.players;
|
|
@@ -4649,68 +4649,67 @@
|
|
|
4649
4649
|
}
|
|
4650
4650
|
var readyLivePlayers = destination_3;
|
|
4651
4651
|
var usersToJoinRoomSize = table.players.o() - notAlivePlayers.o() | 0;
|
|
4652
|
-
if ($this.
|
|
4653
|
-
return listOf($this.
|
|
4652
|
+
if ($this.yaa_1.minPlayersToOpenRoom >= usersToJoinRoomSize) {
|
|
4653
|
+
return listOf($this.bab_1.i8x(mapToFinishReason(newConnectionState, player, table.playersConnections), table, 'Disconnect: Not enough users to create room'));
|
|
4654
4654
|
}
|
|
4655
4655
|
var allPlayersMadeDecision = (readyLivePlayers.o() + notAlivePlayers.o() | 0) === table.players.o();
|
|
4656
4656
|
if (allPlayersMadeDecision) {
|
|
4657
|
-
var tmp0_$this = $this.
|
|
4657
|
+
var tmp0_$this = $this.bab_1;
|
|
4658
4658
|
var tmp1_reason = mapToFinishReason(newConnectionState, player, table.playersConnections);
|
|
4659
|
-
return listOf(tmp0_$this.
|
|
4659
|
+
return listOf(tmp0_$this.h8x(tmp1_reason, table, 'Disconnect: Game is finished, transition to room', readyLivePlayers));
|
|
4660
4660
|
}
|
|
4661
4661
|
}
|
|
4662
|
-
if (!$this.
|
|
4663
|
-
return listOf($this.
|
|
4662
|
+
if (!$this.xaa_1.botReplacesPlayerAfterTimeout) {
|
|
4663
|
+
return listOf($this.bab_1.i8x(mapToFinishReason(newConnectionState, player, table.playersConnections), table, "Disconnect: Can't continue game without bots"));
|
|
4664
4664
|
}
|
|
4665
|
-
return getPlayerDisconnectedActions($this, newConnectionState, player);
|
|
4665
|
+
return getPlayerDisconnectedActions($this, newConnectionState, previousConnectionState, player);
|
|
4666
4666
|
}
|
|
4667
|
-
function getPlayerConnectedActions($this, player, table) {
|
|
4667
|
+
function getPlayerConnectedActions($this, player, table, previousConnectionState) {
|
|
4668
4668
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
4669
4669
|
var actionsList = ArrayList_init_$Create$_0();
|
|
4670
|
-
actionsList.q(listOf_0([new PlayerConnectionChangedMechanicAction(player.playerId, PlayerConnectionState_LIVE_getInstance()), $this.
|
|
4670
|
+
actionsList.q(listOf_0([new PlayerConnectionChangedMechanicAction(player.playerId, PlayerConnectionState_LIVE_getInstance(), previousConnectionState), $this.wa5(player, table)]));
|
|
4671
4671
|
if (player.i6v_1.i67()) {
|
|
4672
|
-
actionsList.q(listOf_0([new StopTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.i6v_1.p68())), new StartTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.i6v_1.p68(), true), _Duration___get_inWholeMilliseconds__impl__msfiry($this.
|
|
4672
|
+
actionsList.q(listOf_0([new StopTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.i6v_1.p68())), new StartTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.i6v_1.p68(), true), _Duration___get_inWholeMilliseconds__impl__msfiry($this.zaa_1.j9l(table.config)), VOID, TimerType_DELAY_getInstance())]));
|
|
4673
4673
|
}
|
|
4674
4674
|
return actionsList;
|
|
4675
4675
|
}
|
|
4676
|
-
function getPlayerDisconnectedActions($this,
|
|
4676
|
+
function getPlayerDisconnectedActions($this, newConnectionState, previousConnectionState, player) {
|
|
4677
4677
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
4678
4678
|
var actionsList = ArrayList_init_$Create$_0();
|
|
4679
|
-
actionsList.j(new PlayerConnectionChangedMechanicAction(player.playerId,
|
|
4679
|
+
actionsList.j(new PlayerConnectionChangedMechanicAction(player.playerId, newConnectionState, previousConnectionState));
|
|
4680
4680
|
if (player.i6v_1.i67()) {
|
|
4681
4681
|
actionsList.j(AskBotAction_init_$Create$(player.playerId, 'PlayerTurn when connection changed'));
|
|
4682
4682
|
}
|
|
4683
4683
|
return actionsList;
|
|
4684
4684
|
}
|
|
4685
4685
|
function PlayerConnectionInteractorImpl(serverConfig, engineLogicConfig, playerTurnMechanicReducer, idsProvider, gameLifecycleInteractor) {
|
|
4686
|
-
this.
|
|
4687
|
-
this.
|
|
4688
|
-
this.
|
|
4689
|
-
this.
|
|
4690
|
-
this.
|
|
4686
|
+
this.xaa_1 = serverConfig;
|
|
4687
|
+
this.yaa_1 = engineLogicConfig;
|
|
4688
|
+
this.zaa_1 = playerTurnMechanicReducer;
|
|
4689
|
+
this.aab_1 = idsProvider;
|
|
4690
|
+
this.bab_1 = gameLifecycleInteractor;
|
|
4691
4691
|
}
|
|
4692
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4693
|
-
var player = getPlayer(table.players, playerId);
|
|
4692
|
+
protoOf(PlayerConnectionInteractorImpl).vaa = function (newConnectionState, previousConnectionState, player, table, afterReconnection) {
|
|
4694
4693
|
var tmp;
|
|
4695
4694
|
switch (newConnectionState.q2_1) {
|
|
4696
4695
|
case 1:
|
|
4697
|
-
tmp = getPlayerConnectedActions(this, player, table);
|
|
4696
|
+
tmp = getPlayerConnectedActions(this, player, table, previousConnectionState);
|
|
4698
4697
|
break;
|
|
4699
4698
|
case 4:
|
|
4700
4699
|
case 5:
|
|
4701
4700
|
var tmp1_waitForPlayer = !afterReconnection && !table.sceneInfo.b7g() && table.config.isPrivate;
|
|
4702
|
-
tmp = waitPlayerOrDisconnect(this, newConnectionState, table, player, tmp1_waitForPlayer);
|
|
4701
|
+
tmp = waitPlayerOrDisconnect(this, newConnectionState, previousConnectionState, table, player, tmp1_waitForPlayer);
|
|
4703
4702
|
break;
|
|
4704
4703
|
case 2:
|
|
4705
4704
|
var tmp2_waitForPlayer = !afterReconnection;
|
|
4706
|
-
tmp = waitPlayerOrDisconnect(this, newConnectionState, table, player, tmp2_waitForPlayer);
|
|
4705
|
+
tmp = waitPlayerOrDisconnect(this, newConnectionState, previousConnectionState, table, player, tmp2_waitForPlayer);
|
|
4707
4706
|
break;
|
|
4708
4707
|
case 3:
|
|
4709
4708
|
var tmp3_waitForPlayer = !afterReconnection;
|
|
4710
|
-
tmp = waitPlayerOrDisconnect(this, newConnectionState, table, player, tmp3_waitForPlayer);
|
|
4709
|
+
tmp = waitPlayerOrDisconnect(this, newConnectionState, previousConnectionState, table, player, tmp3_waitForPlayer);
|
|
4711
4710
|
break;
|
|
4712
4711
|
case 7:
|
|
4713
|
-
tmp = waitPlayerOrDisconnect(this, newConnectionState, table, player, false);
|
|
4712
|
+
tmp = waitPlayerOrDisconnect(this, newConnectionState, previousConnectionState, table, player, false);
|
|
4714
4713
|
break;
|
|
4715
4714
|
case 0:
|
|
4716
4715
|
case 6:
|
|
@@ -4721,18 +4720,18 @@
|
|
|
4721
4720
|
}
|
|
4722
4721
|
return tmp;
|
|
4723
4722
|
};
|
|
4724
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4723
|
+
protoOf(PlayerConnectionInteractorImpl).ya7 = function (sendToPlayerId, isLive, tableId, reason, isGameFinished) {
|
|
4725
4724
|
if (!isLive) {
|
|
4726
4725
|
return emptyList();
|
|
4727
4726
|
}
|
|
4728
|
-
var tmp0_deliveryPayload = Companion_instance_1.user(this.
|
|
4727
|
+
var tmp0_deliveryPayload = Companion_instance_1.user(this.aab_1.d6e(), tableId, sendToPlayerId);
|
|
4729
4728
|
var tmp = new FinishingGameToClientAction(reason, isGameFinished, null, tmp0_deliveryPayload);
|
|
4730
|
-
var tmp1_deliveryPayload = Companion_instance_1.user(this.
|
|
4729
|
+
var tmp1_deliveryPayload = Companion_instance_1.user(this.aab_1.d6e(), tableId, sendToPlayerId);
|
|
4731
4730
|
return listOf_0([tmp, new FinishGameToClientAction(reason, isGameFinished, null, tmp1_deliveryPayload)]);
|
|
4732
4731
|
};
|
|
4733
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4734
|
-
var updatedTable = this.
|
|
4735
|
-
var aid = this.
|
|
4732
|
+
protoOf(PlayerConnectionInteractorImpl).wa5 = function (sendToPlayer, table) {
|
|
4733
|
+
var updatedTable = this.zaa_1.k9j(table, sendToPlayer.playerId, PlayerConnectionState_LIVE_getInstance(), null);
|
|
4734
|
+
var aid = this.aab_1.d6e();
|
|
4736
4735
|
var tmp4_deliveryPayload = Companion_instance_1.userFromTable(aid, updatedTable, sendToPlayer.playerId);
|
|
4737
4736
|
var tmp0_playerId = sendToPlayer.playerId;
|
|
4738
4737
|
var tmp1_gameCreatorPlayerId = getGameCreator(updatedTable.players).playerId;
|
|
@@ -4751,164 +4750,166 @@
|
|
|
4751
4750
|
var tmp6_reason = new PlayerReturnsReason(sendToPlayer.playerId);
|
|
4752
4751
|
return new ContinueGameToClientAction(tmp5_table, tmp6_reason, null, tmp4_deliveryPayload);
|
|
4753
4752
|
};
|
|
4754
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4753
|
+
protoOf(PlayerConnectionInteractorImpl).waa = function (playerId, newConnectionState, previousConnectionState) {
|
|
4755
4754
|
var tmp = System_instance.ck();
|
|
4756
4755
|
Companion_getInstance();
|
|
4757
4756
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
4758
|
-
var this_0 = this.
|
|
4757
|
+
var this_0 = this.xaa_1.waitForPlayerToReconnectTimeOutMillis;
|
|
4759
4758
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
4760
4759
|
var reconnectUntilTime = tmp.rk(tmp$ret$0);
|
|
4761
|
-
|
|
4760
|
+
var tmp0_state = PlayerConnectionState_DISCONNECTING_getInstance();
|
|
4761
|
+
var tmp1_reconnectUntilTime = reconnectUntilTime.toString();
|
|
4762
|
+
return listOf_0([new PlayerConnectionChangedMechanicAction(playerId, tmp0_state, previousConnectionState, newConnectionState, false, tmp1_reconnectUntilTime), new StartTimerAction(new PlayerReconnectionWaitingTimerTag(playerId, newConnectionState, previousConnectionState), fromInt(this.xaa_1.waitForPlayerToReconnectTimeOutMillis), VOID, TimerType_DELAY_getInstance())]);
|
|
4762
4763
|
};
|
|
4763
4764
|
function UpdateServerConfigAction(serverConfig) {
|
|
4764
|
-
this.
|
|
4765
|
+
this.cab_1 = serverConfig;
|
|
4765
4766
|
}
|
|
4766
4767
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
4767
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
4768
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.cab_1.toString() + ')';
|
|
4768
4769
|
};
|
|
4769
4770
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
4770
|
-
return this.
|
|
4771
|
+
return this.cab_1.hashCode();
|
|
4771
4772
|
};
|
|
4772
4773
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
4773
4774
|
if (this === other)
|
|
4774
4775
|
return true;
|
|
4775
4776
|
if (!(other instanceof UpdateServerConfigAction))
|
|
4776
4777
|
return false;
|
|
4777
|
-
if (!this.
|
|
4778
|
+
if (!this.cab_1.equals(other.cab_1))
|
|
4778
4779
|
return false;
|
|
4779
4780
|
return true;
|
|
4780
4781
|
};
|
|
4781
4782
|
function SpectatorsAction() {
|
|
4782
4783
|
}
|
|
4783
4784
|
function AddSpectatorsAction(spectators) {
|
|
4784
|
-
this.
|
|
4785
|
+
this.dab_1 = spectators;
|
|
4785
4786
|
}
|
|
4786
4787
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
4787
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
4788
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.dab_1) + ')';
|
|
4788
4789
|
};
|
|
4789
4790
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
4790
|
-
return hashCode(this.
|
|
4791
|
+
return hashCode(this.dab_1);
|
|
4791
4792
|
};
|
|
4792
4793
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
4793
4794
|
if (this === other)
|
|
4794
4795
|
return true;
|
|
4795
4796
|
if (!(other instanceof AddSpectatorsAction))
|
|
4796
4797
|
return false;
|
|
4797
|
-
if (!equals(this.
|
|
4798
|
+
if (!equals(this.dab_1, other.dab_1))
|
|
4798
4799
|
return false;
|
|
4799
4800
|
return true;
|
|
4800
4801
|
};
|
|
4801
4802
|
function RemoveSpectatorsAction(spectators) {
|
|
4802
|
-
this.
|
|
4803
|
+
this.eab_1 = spectators;
|
|
4803
4804
|
}
|
|
4804
4805
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
4805
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
4806
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.eab_1) + ')';
|
|
4806
4807
|
};
|
|
4807
4808
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
4808
|
-
return hashCode(this.
|
|
4809
|
+
return hashCode(this.eab_1);
|
|
4809
4810
|
};
|
|
4810
4811
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
4811
4812
|
if (this === other)
|
|
4812
4813
|
return true;
|
|
4813
4814
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
4814
4815
|
return false;
|
|
4815
|
-
if (!equals(this.
|
|
4816
|
+
if (!equals(this.eab_1, other.eab_1))
|
|
4816
4817
|
return false;
|
|
4817
4818
|
return true;
|
|
4818
4819
|
};
|
|
4819
4820
|
function _get_asyncProvider__jbpyhw($this) {
|
|
4820
|
-
var tmp0 = $this.
|
|
4821
|
+
var tmp0 = $this.kab_1;
|
|
4821
4822
|
var tmp = KProperty1;
|
|
4822
4823
|
// Inline function 'kotlin.getValue' call
|
|
4823
4824
|
getPropertyCallableRef('asyncProvider', 1, tmp, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3_0(), null);
|
|
4824
4825
|
return tmp0.x();
|
|
4825
4826
|
}
|
|
4826
4827
|
function _get_logger__rkp4sl($this) {
|
|
4827
|
-
var tmp0 = $this.
|
|
4828
|
+
var tmp0 = $this.lab_1;
|
|
4828
4829
|
var tmp = KProperty1;
|
|
4829
4830
|
// Inline function 'kotlin.getValue' call
|
|
4830
4831
|
getPropertyCallableRef('logger', 1, tmp, ServerGameStoreContract$_get_logger_$ref_zbgw28_0(), null);
|
|
4831
4832
|
return tmp0.x();
|
|
4832
4833
|
}
|
|
4833
4834
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
4834
|
-
var tmp0 = $this.
|
|
4835
|
+
var tmp0 = $this.mab_1;
|
|
4835
4836
|
var tmp = KProperty1;
|
|
4836
4837
|
// Inline function 'kotlin.getValue' call
|
|
4837
4838
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8_0(), null);
|
|
4838
4839
|
return tmp0.x();
|
|
4839
4840
|
}
|
|
4840
4841
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
4841
|
-
var tmp0 = $this.
|
|
4842
|
+
var tmp0 = $this.nab_1;
|
|
4842
4843
|
var tmp = KProperty1;
|
|
4843
4844
|
// Inline function 'kotlin.getValue' call
|
|
4844
4845
|
getPropertyCallableRef('lastCardInteractor', 1, tmp, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh_0(), null);
|
|
4845
4846
|
return tmp0.x();
|
|
4846
4847
|
}
|
|
4847
4848
|
function _get_serverConfig__rk2g06($this) {
|
|
4848
|
-
var tmp0 = $this.
|
|
4849
|
+
var tmp0 = $this.oab_1;
|
|
4849
4850
|
var tmp = KProperty1;
|
|
4850
4851
|
// Inline function 'kotlin.getValue' call
|
|
4851
4852
|
getPropertyCallableRef('serverConfig', 1, tmp, ServerGameStoreContract$_get_serverConfig_$ref_bz2891_0(), null);
|
|
4852
4853
|
return tmp0.x();
|
|
4853
4854
|
}
|
|
4854
4855
|
function _get_logicConfig__52ww9d($this) {
|
|
4855
|
-
var tmp0 = $this.
|
|
4856
|
+
var tmp0 = $this.pab_1;
|
|
4856
4857
|
var tmp = KProperty1;
|
|
4857
4858
|
// Inline function 'kotlin.getValue' call
|
|
4858
4859
|
getPropertyCallableRef('logicConfig', 1, tmp, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi_0(), null);
|
|
4859
4860
|
return tmp0.x();
|
|
4860
4861
|
}
|
|
4861
4862
|
function _get_idsProvider__fnfajc_0($this) {
|
|
4862
|
-
var tmp0 = $this.
|
|
4863
|
+
var tmp0 = $this.qab_1;
|
|
4863
4864
|
var tmp = KProperty1;
|
|
4864
4865
|
// Inline function 'kotlin.getValue' call
|
|
4865
4866
|
getPropertyCallableRef('idsProvider', 1, tmp, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1_0(), null);
|
|
4866
4867
|
return tmp0.x();
|
|
4867
4868
|
}
|
|
4868
4869
|
function _get_botConfig__cpaxzc($this) {
|
|
4869
|
-
var tmp0 = $this.
|
|
4870
|
+
var tmp0 = $this.rab_1;
|
|
4870
4871
|
var tmp = KProperty1;
|
|
4871
4872
|
// Inline function 'kotlin.getValue' call
|
|
4872
4873
|
getPropertyCallableRef('botConfig', 1, tmp, ServerGameStoreContract$_get_botConfig_$ref_nebw1d_0(), null);
|
|
4873
4874
|
return tmp0.x();
|
|
4874
4875
|
}
|
|
4875
4876
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
4876
|
-
var tmp0 = $this.
|
|
4877
|
+
var tmp0 = $this.sab_1;
|
|
4877
4878
|
var tmp = KProperty1;
|
|
4878
4879
|
// Inline function 'kotlin.getValue' call
|
|
4879
4880
|
getPropertyCallableRef('scenePositionProvider', 1, tmp, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4_0(), null);
|
|
4880
4881
|
return tmp0.x();
|
|
4881
4882
|
}
|
|
4882
4883
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
4883
|
-
var tmp0 = $this.
|
|
4884
|
+
var tmp0 = $this.tab_1;
|
|
4884
4885
|
var tmp = KProperty1;
|
|
4885
4886
|
// Inline function 'kotlin.getValue' call
|
|
4886
4887
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p_0(), null);
|
|
4887
4888
|
return tmp0.x();
|
|
4888
4889
|
}
|
|
4889
4890
|
function _get_fromClientEventsObserver__a7vzd3_0($this) {
|
|
4890
|
-
var tmp0 = $this.
|
|
4891
|
+
var tmp0 = $this.uab_1;
|
|
4891
4892
|
var tmp = KProperty1;
|
|
4892
4893
|
// Inline function 'kotlin.getValue' call
|
|
4893
4894
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg_0(), null);
|
|
4894
4895
|
return tmp0.x();
|
|
4895
4896
|
}
|
|
4896
4897
|
function _get_dealerConfig__183ci8($this) {
|
|
4897
|
-
var tmp0 = $this.
|
|
4898
|
+
var tmp0 = $this.vab_1;
|
|
4898
4899
|
var tmp = KProperty1;
|
|
4899
4900
|
// Inline function 'kotlin.getValue' call
|
|
4900
4901
|
getPropertyCallableRef('dealerConfig', 1, tmp, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp_0(), null);
|
|
4901
4902
|
return tmp0.x();
|
|
4902
4903
|
}
|
|
4903
4904
|
function _get_poolProvider__tqti6a($this) {
|
|
4904
|
-
var tmp0 = $this.
|
|
4905
|
+
var tmp0 = $this.wab_1;
|
|
4905
4906
|
var tmp = KProperty1;
|
|
4906
4907
|
// Inline function 'kotlin.getValue' call
|
|
4907
4908
|
getPropertyCallableRef('poolProvider', 1, tmp, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3_0(), null);
|
|
4908
4909
|
return tmp0.x();
|
|
4909
4910
|
}
|
|
4910
4911
|
function _get_cardsDealerProvider__bekjpg($this) {
|
|
4911
|
-
var tmp0 = $this.
|
|
4912
|
+
var tmp0 = $this.xab_1;
|
|
4912
4913
|
var tmp = KProperty1;
|
|
4913
4914
|
// Inline function 'kotlin.getValue' call
|
|
4914
4915
|
getPropertyCallableRef('cardsDealerProvider', 1, tmp, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj_0(), null);
|
|
@@ -5072,11 +5073,11 @@
|
|
|
5072
5073
|
tmp = fileLoggerStoreContract;
|
|
5073
5074
|
}
|
|
5074
5075
|
fileLoggerStoreContract = tmp;
|
|
5075
|
-
this.
|
|
5076
|
-
this.
|
|
5077
|
-
this.
|
|
5078
|
-
this.
|
|
5079
|
-
this.
|
|
5076
|
+
this.fab_1 = validationStoreContract;
|
|
5077
|
+
this.gab_1 = timersStoreContract;
|
|
5078
|
+
this.hab_1 = botGameStoreContract;
|
|
5079
|
+
this.iab_1 = gameMechanicStoreContract;
|
|
5080
|
+
this.jab_1 = fileLoggerStoreContract;
|
|
5080
5081
|
var tmp_0 = this;
|
|
5081
5082
|
// Inline function 'org.kodein.di.instance' call
|
|
5082
5083
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5084,7 +5085,7 @@
|
|
|
5084
5085
|
var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
|
|
5085
5086
|
var tmp_2 = Instance(di, tmp$ret$0, null);
|
|
5086
5087
|
var tmp_3 = KProperty1;
|
|
5087
|
-
tmp_0.
|
|
5088
|
+
tmp_0.kab_1 = tmp_2.w64(this, getPropertyCallableRef('asyncProvider', 1, tmp_3, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3(), null));
|
|
5088
5089
|
var tmp_4 = this;
|
|
5089
5090
|
// Inline function 'org.kodein.di.instance' call
|
|
5090
5091
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5092,7 +5093,7 @@
|
|
|
5092
5093
|
var tmp$ret$2 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
5093
5094
|
var tmp_6 = Instance(di, tmp$ret$2, null);
|
|
5094
5095
|
var tmp_7 = KProperty1;
|
|
5095
|
-
tmp_4.
|
|
5096
|
+
tmp_4.lab_1 = tmp_6.w64(this, getPropertyCallableRef('logger', 1, tmp_7, ServerGameStoreContract$_get_logger_$ref_zbgw28(), null));
|
|
5096
5097
|
var tmp_8 = this;
|
|
5097
5098
|
// Inline function 'org.kodein.di.instance' call
|
|
5098
5099
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5100,7 +5101,7 @@
|
|
|
5100
5101
|
var tmp$ret$4 = isInterface(tmp_9, TypeToken) ? tmp_9 : THROW_CCE();
|
|
5101
5102
|
var tmp_10 = Instance(di, tmp$ret$4, null);
|
|
5102
5103
|
var tmp_11 = KProperty1;
|
|
5103
|
-
tmp_8.
|
|
5104
|
+
tmp_8.mab_1 = tmp_10.w64(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_11, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8(), null));
|
|
5104
5105
|
var tmp_12 = this;
|
|
5105
5106
|
// Inline function 'org.kodein.di.instance' call
|
|
5106
5107
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5108,7 +5109,7 @@
|
|
|
5108
5109
|
var tmp$ret$6 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
5109
5110
|
var tmp_14 = Instance(di, tmp$ret$6, null);
|
|
5110
5111
|
var tmp_15 = KProperty1;
|
|
5111
|
-
tmp_12.
|
|
5112
|
+
tmp_12.nab_1 = tmp_14.w64(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_15, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh(), null));
|
|
5112
5113
|
var tmp_16 = this;
|
|
5113
5114
|
// Inline function 'org.kodein.di.instance' call
|
|
5114
5115
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5116,7 +5117,7 @@
|
|
|
5116
5117
|
var tmp$ret$8 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
5117
5118
|
var tmp_18 = Instance(di, tmp$ret$8, null);
|
|
5118
5119
|
var tmp_19 = KProperty1;
|
|
5119
|
-
tmp_16.
|
|
5120
|
+
tmp_16.oab_1 = tmp_18.w64(this, getPropertyCallableRef('serverConfig', 1, tmp_19, ServerGameStoreContract$_get_serverConfig_$ref_bz2891(), null));
|
|
5120
5121
|
var tmp_20 = this;
|
|
5121
5122
|
// Inline function 'org.kodein.di.instance' call
|
|
5122
5123
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5124,7 +5125,7 @@
|
|
|
5124
5125
|
var tmp$ret$10 = isInterface(tmp_21, TypeToken) ? tmp_21 : THROW_CCE();
|
|
5125
5126
|
var tmp_22 = Instance(di, tmp$ret$10, null);
|
|
5126
5127
|
var tmp_23 = KProperty1;
|
|
5127
|
-
tmp_20.
|
|
5128
|
+
tmp_20.pab_1 = tmp_22.w64(this, getPropertyCallableRef('logicConfig', 1, tmp_23, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi(), null));
|
|
5128
5129
|
var tmp_24 = this;
|
|
5129
5130
|
// Inline function 'org.kodein.di.instance' call
|
|
5130
5131
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5132,7 +5133,7 @@
|
|
|
5132
5133
|
var tmp$ret$12 = isInterface(tmp_25, TypeToken) ? tmp_25 : THROW_CCE();
|
|
5133
5134
|
var tmp_26 = Instance(di, tmp$ret$12, null);
|
|
5134
5135
|
var tmp_27 = KProperty1;
|
|
5135
|
-
tmp_24.
|
|
5136
|
+
tmp_24.qab_1 = tmp_26.w64(this, getPropertyCallableRef('idsProvider', 1, tmp_27, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1(), null));
|
|
5136
5137
|
var tmp_28 = this;
|
|
5137
5138
|
// Inline function 'org.kodein.di.instance' call
|
|
5138
5139
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5140,7 +5141,7 @@
|
|
|
5140
5141
|
var tmp$ret$14 = isInterface(tmp_29, TypeToken) ? tmp_29 : THROW_CCE();
|
|
5141
5142
|
var tmp_30 = Instance(di, tmp$ret$14, null);
|
|
5142
5143
|
var tmp_31 = KProperty1;
|
|
5143
|
-
tmp_28.
|
|
5144
|
+
tmp_28.rab_1 = tmp_30.w64(this, getPropertyCallableRef('botConfig', 1, tmp_31, ServerGameStoreContract$_get_botConfig_$ref_nebw1d(), null));
|
|
5144
5145
|
var tmp_32 = this;
|
|
5145
5146
|
// Inline function 'org.kodein.di.instance' call
|
|
5146
5147
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5148,7 +5149,7 @@
|
|
|
5148
5149
|
var tmp$ret$16 = isInterface(tmp_33, TypeToken) ? tmp_33 : THROW_CCE();
|
|
5149
5150
|
var tmp_34 = Instance(di, tmp$ret$16, null);
|
|
5150
5151
|
var tmp_35 = KProperty1;
|
|
5151
|
-
tmp_32.
|
|
5152
|
+
tmp_32.sab_1 = tmp_34.w64(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_35, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4(), null));
|
|
5152
5153
|
var tmp_36 = this;
|
|
5153
5154
|
// Inline function 'org.kodein.di.instance' call
|
|
5154
5155
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5156,7 +5157,7 @@
|
|
|
5156
5157
|
var tmp$ret$18 = isInterface(tmp_37, TypeToken) ? tmp_37 : THROW_CCE();
|
|
5157
5158
|
var tmp_38 = Instance(di, tmp$ret$18, null);
|
|
5158
5159
|
var tmp_39 = KProperty1;
|
|
5159
|
-
tmp_36.
|
|
5160
|
+
tmp_36.tab_1 = tmp_38.w64(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_39, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p(), null));
|
|
5160
5161
|
var tmp_40 = this;
|
|
5161
5162
|
// Inline function 'org.kodein.di.instance' call
|
|
5162
5163
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5164,7 +5165,7 @@
|
|
|
5164
5165
|
var tmp$ret$20 = isInterface(tmp_41, TypeToken) ? tmp_41 : THROW_CCE();
|
|
5165
5166
|
var tmp_42 = Instance(di, tmp$ret$20, null);
|
|
5166
5167
|
var tmp_43 = KProperty1;
|
|
5167
|
-
tmp_40.
|
|
5168
|
+
tmp_40.uab_1 = tmp_42.w64(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_43, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg(), null));
|
|
5168
5169
|
var tmp_44 = this;
|
|
5169
5170
|
// Inline function 'org.kodein.di.instance' call
|
|
5170
5171
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5172,7 +5173,7 @@
|
|
|
5172
5173
|
var tmp$ret$22 = isInterface(tmp_45, TypeToken) ? tmp_45 : THROW_CCE();
|
|
5173
5174
|
var tmp_46 = Instance(di, tmp$ret$22, null);
|
|
5174
5175
|
var tmp_47 = KProperty1;
|
|
5175
|
-
tmp_44.
|
|
5176
|
+
tmp_44.vab_1 = tmp_46.w64(this, getPropertyCallableRef('dealerConfig', 1, tmp_47, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp(), null));
|
|
5176
5177
|
var tmp_48 = this;
|
|
5177
5178
|
// Inline function 'org.kodein.di.instance' call
|
|
5178
5179
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5180,7 +5181,7 @@
|
|
|
5180
5181
|
var tmp$ret$24 = isInterface(tmp_49, TypeToken) ? tmp_49 : THROW_CCE();
|
|
5181
5182
|
var tmp_50 = Instance(di, tmp$ret$24, null);
|
|
5182
5183
|
var tmp_51 = KProperty1;
|
|
5183
|
-
tmp_48.
|
|
5184
|
+
tmp_48.wab_1 = tmp_50.w64(this, getPropertyCallableRef('poolProvider', 1, tmp_51, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3(), null));
|
|
5184
5185
|
var tmp_52 = this;
|
|
5185
5186
|
// Inline function 'org.kodein.di.instance' call
|
|
5186
5187
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5188,20 +5189,20 @@
|
|
|
5188
5189
|
var tmp$ret$26 = isInterface(tmp_53, TypeToken) ? tmp_53 : THROW_CCE();
|
|
5189
5190
|
var tmp_54 = Instance(di, tmp$ret$26, null);
|
|
5190
5191
|
var tmp_55 = KProperty1;
|
|
5191
|
-
tmp_52.
|
|
5192
|
+
tmp_52.xab_1 = tmp_54.w64(this, getPropertyCallableRef('cardsDealerProvider', 1, tmp_55, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj(), null));
|
|
5192
5193
|
}
|
|
5193
|
-
protoOf(ServerGameStoreContract).
|
|
5194
|
-
return plus(plus(plus(plus(plus(this.
|
|
5194
|
+
protoOf(ServerGameStoreContract).l97 = function () {
|
|
5195
|
+
return plus(plus(plus(plus(plus(this.fab_1.l97(), this.iab_1.l97()), this.gab_1.l97()), this.hab_1.l97()), this.jab_1.l97()), listOf_0([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl(this)), playerConnectionUpdateReducer()]));
|
|
5195
5196
|
};
|
|
5196
|
-
protoOf(ServerGameStoreContract).
|
|
5197
|
-
var tmp = this.
|
|
5197
|
+
protoOf(ServerGameStoreContract).m97 = function () {
|
|
5198
|
+
var tmp = this.fab_1.m97();
|
|
5198
5199
|
var tmp_0;
|
|
5199
5200
|
if (_get_serverConfig__rk2g06(this).finishGameWhenNotLiveStrategy.equals(FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance())) {
|
|
5200
5201
|
tmp_0 = checkBotsMiddleware(_get_logger__rkp4sl(this));
|
|
5201
5202
|
} else {
|
|
5202
5203
|
tmp_0 = null;
|
|
5203
5204
|
}
|
|
5204
|
-
var tmp_1 = plus(plus(plus(plus(plus(tmp, listOfNotNull(tmp_0)), this.
|
|
5205
|
+
var tmp_1 = plus(plus(plus(plus(plus(tmp, listOfNotNull(tmp_0)), this.iab_1.m97()), this.gab_1.m97()), this.hab_1.m97()), this.jab_1.m97());
|
|
5205
5206
|
var tmp_2 = playerConnectionUpdateMiddleware(_get_playerConnectionInteractor__si6cxf_0(this));
|
|
5206
5207
|
var tmp_3 = playerReconnectionTimeoutMiddleware(_get_playerConnectionInteractor__si6cxf_0(this));
|
|
5207
5208
|
var tmp_4;
|
|
@@ -5210,7 +5211,7 @@
|
|
|
5210
5211
|
} else {
|
|
5211
5212
|
tmp_4 = null;
|
|
5212
5213
|
}
|
|
5213
|
-
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))).
|
|
5214
|
+
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))).s99(), finishingGameWhenCantStartNewMiddleware()]));
|
|
5214
5215
|
var tmp_6 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this), _get_logger__rkp4sl(this));
|
|
5215
5216
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
5216
5217
|
var tmp1_logger = _get_logger__rkp4sl(this);
|
|
@@ -5261,7 +5262,7 @@
|
|
|
5261
5262
|
return this.u6h(store, next, action);
|
|
5262
5263
|
};
|
|
5263
5264
|
function ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
|
|
5264
|
-
this.
|
|
5265
|
+
this.aac_1 = this$0;
|
|
5265
5266
|
}
|
|
5266
5267
|
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).f6g = function (action) {
|
|
5267
5268
|
return action instanceof MechanicAction;
|
|
@@ -5272,11 +5273,11 @@
|
|
|
5272
5273
|
// Inline function 'kotlin.with' call
|
|
5273
5274
|
var tmp;
|
|
5274
5275
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
5275
|
-
var tmp0 = this.
|
|
5276
|
-
var tmp2 = action_0.
|
|
5277
|
-
var tmp4 = action_0.
|
|
5276
|
+
var tmp0 = this.aac_1;
|
|
5277
|
+
var tmp2 = action_0.s93_1;
|
|
5278
|
+
var tmp4 = action_0.u93_1;
|
|
5278
5279
|
// Inline function 'kotlin.collections.map' call
|
|
5279
|
-
var this_0 = action_0.
|
|
5280
|
+
var this_0 = action_0.v93_1;
|
|
5280
5281
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5281
5282
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
5282
5283
|
var _iterator__ex2g4s = this_0.l();
|
|
@@ -5312,7 +5313,7 @@
|
|
|
5312
5313
|
var _iterator__ex2g4s_2 = destination_1.l();
|
|
5313
5314
|
while (_iterator__ex2g4s_2.m()) {
|
|
5314
5315
|
var element_0 = _iterator__ex2g4s_2.n();
|
|
5315
|
-
var tmp0_aid = tmp0.
|
|
5316
|
+
var tmp0_aid = tmp0.zab_1.d6e();
|
|
5316
5317
|
// Inline function 'kotlin.collections.map' call
|
|
5317
5318
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5318
5319
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -5334,15 +5335,15 @@
|
|
|
5334
5335
|
tmp = destination_2;
|
|
5335
5336
|
} else {
|
|
5336
5337
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
5337
|
-
var tmp0_0 = this.
|
|
5338
|
+
var tmp0_0 = this.aac_1;
|
|
5338
5339
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5339
5340
|
var table = state.x6r();
|
|
5340
|
-
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.
|
|
5341
|
+
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.zab_1.d6e(), table.id, null);
|
|
5341
5342
|
var tmp$ret$21 = mapToClient_18(action_0, sendToPlayer_0);
|
|
5342
5343
|
tmp = listOfNotNull(tmp$ret$21);
|
|
5343
5344
|
} else {
|
|
5344
5345
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
5345
|
-
var tmp0_1 = this.
|
|
5346
|
+
var tmp0_1 = this.aac_1;
|
|
5346
5347
|
var tmp2_0 = action_0.table.id;
|
|
5347
5348
|
var tmp4_0 = action_0.gameCreatorPlayerId;
|
|
5348
5349
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -5382,7 +5383,7 @@
|
|
|
5382
5383
|
var _iterator__ex2g4s_7 = destination_6.l();
|
|
5383
5384
|
while (_iterator__ex2g4s_7.m()) {
|
|
5384
5385
|
var element_2 = _iterator__ex2g4s_7.n();
|
|
5385
|
-
var tmp0_aid_0 = tmp0_1.
|
|
5386
|
+
var tmp0_aid_0 = tmp0_1.zab_1.d6e();
|
|
5386
5387
|
// Inline function 'kotlin.collections.map' call
|
|
5387
5388
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5388
5389
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -5404,39 +5405,39 @@
|
|
|
5404
5405
|
tmp = destination_7;
|
|
5405
5406
|
} else {
|
|
5406
5407
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
5407
|
-
var tmp0_2 = this.
|
|
5408
|
+
var tmp0_2 = this.aac_1;
|
|
5408
5409
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5409
5410
|
var table_0 = state.x6r();
|
|
5410
|
-
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.
|
|
5411
|
+
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.zab_1.d6e(), table_0.id, null);
|
|
5411
5412
|
var tmp$ret$44 = mapToClient_16(action_0, sendToPlayer_2);
|
|
5412
5413
|
tmp = listOfNotNull(tmp$ret$44);
|
|
5413
5414
|
} else {
|
|
5414
5415
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
5415
|
-
var tmp0_3 = this.
|
|
5416
|
+
var tmp0_3 = this.aac_1;
|
|
5416
5417
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5417
5418
|
var table_1 = state.x6r();
|
|
5418
|
-
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.
|
|
5419
|
+
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.zab_1.d6e(), table_1.id, null);
|
|
5419
5420
|
var tmp$ret$46 = mapToClient_15(action_0, sendToPlayer_3);
|
|
5420
5421
|
tmp = listOfNotNull(tmp$ret$46);
|
|
5421
5422
|
} else {
|
|
5422
5423
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
5423
|
-
var tmp0_4 = this.
|
|
5424
|
+
var tmp0_4 = this.aac_1;
|
|
5424
5425
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5425
5426
|
var table_2 = state.x6r();
|
|
5426
|
-
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.
|
|
5427
|
+
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.zab_1.d6e(), table_2.id, null);
|
|
5427
5428
|
var tmp$ret$48 = mapToClient_14(action_0, sendToPlayer_4);
|
|
5428
5429
|
tmp = listOfNotNull(tmp$ret$48);
|
|
5429
5430
|
} else {
|
|
5430
5431
|
if (action_0 instanceof ErrorAction) {
|
|
5431
|
-
var tmp0_5 = this.
|
|
5432
|
+
var tmp0_5 = this.aac_1;
|
|
5432
5433
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5433
5434
|
var table_3 = state.x6r();
|
|
5434
|
-
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.
|
|
5435
|
+
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.zab_1.d6e(), table_3.id, null);
|
|
5435
5436
|
var tmp$ret$50 = mapToClient_13(action_0, sendToPlayer_5);
|
|
5436
5437
|
tmp = listOfNotNull(tmp$ret$50);
|
|
5437
5438
|
} else {
|
|
5438
5439
|
if (action_0 instanceof SceneMechanicAction) {
|
|
5439
|
-
var tmp0_6 = this.
|
|
5440
|
+
var tmp0_6 = this.aac_1;
|
|
5440
5441
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
5441
5442
|
var table_4 = state.x6r();
|
|
5442
5443
|
var tmp2_1 = table_4.id;
|
|
@@ -5469,7 +5470,7 @@
|
|
|
5469
5470
|
var _iterator__ex2g4s_11 = destination_10.l();
|
|
5470
5471
|
while (_iterator__ex2g4s_11.m()) {
|
|
5471
5472
|
var element_4 = _iterator__ex2g4s_11.n();
|
|
5472
|
-
var tmp0_aid_1 = tmp0_6.
|
|
5473
|
+
var tmp0_aid_1 = tmp0_6.zab_1.d6e();
|
|
5473
5474
|
// Inline function 'kotlin.collections.map' call
|
|
5474
5475
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5475
5476
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
|
|
@@ -5491,7 +5492,7 @@
|
|
|
5491
5492
|
tmp = destination_11;
|
|
5492
5493
|
} else {
|
|
5493
5494
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
5494
|
-
var tmp0_7 = this.
|
|
5495
|
+
var tmp0_7 = this.aac_1;
|
|
5495
5496
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
5496
5497
|
var table_5 = state.x6r();
|
|
5497
5498
|
var tmp2_2 = table_5.id;
|
|
@@ -5524,7 +5525,7 @@
|
|
|
5524
5525
|
var _iterator__ex2g4s_15 = destination_14.l();
|
|
5525
5526
|
while (_iterator__ex2g4s_15.m()) {
|
|
5526
5527
|
var element_6 = _iterator__ex2g4s_15.n();
|
|
5527
|
-
var tmp0_aid_2 = tmp0_7.
|
|
5528
|
+
var tmp0_aid_2 = tmp0_7.zab_1.d6e();
|
|
5528
5529
|
// Inline function 'kotlin.collections.map' call
|
|
5529
5530
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5530
5531
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
|
|
@@ -5546,7 +5547,7 @@
|
|
|
5546
5547
|
tmp = destination_15;
|
|
5547
5548
|
} else {
|
|
5548
5549
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
5549
|
-
var tmp0_8 = this.
|
|
5550
|
+
var tmp0_8 = this.aac_1;
|
|
5550
5551
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
5551
5552
|
var table_6 = state.x6r();
|
|
5552
5553
|
var tmp2_3 = table_6.id;
|
|
@@ -5579,7 +5580,7 @@
|
|
|
5579
5580
|
var _iterator__ex2g4s_19 = destination_18.l();
|
|
5580
5581
|
while (_iterator__ex2g4s_19.m()) {
|
|
5581
5582
|
var element_8 = _iterator__ex2g4s_19.n();
|
|
5582
|
-
var tmp0_aid_3 = tmp0_8.
|
|
5583
|
+
var tmp0_aid_3 = tmp0_8.zab_1.d6e();
|
|
5583
5584
|
// Inline function 'kotlin.collections.map' call
|
|
5584
5585
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5585
5586
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
|
|
@@ -5591,7 +5592,7 @@
|
|
|
5591
5592
|
}
|
|
5592
5593
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tmp2_3, tmp4_3, element_8, destination_20);
|
|
5593
5594
|
var tmp_0;
|
|
5594
|
-
if (this.
|
|
5595
|
+
if (this.aac_1.yab_1.supportBackwardActions && getPlayer(state.x6r().players, sendToPlayer_8.u7g_1).k6v_1.u6z_1) {
|
|
5595
5596
|
tmp_0 = null;
|
|
5596
5597
|
} else {
|
|
5597
5598
|
tmp_0 = mapToClient_10(action_0, sendToPlayer_8);
|
|
@@ -5607,81 +5608,81 @@
|
|
|
5607
5608
|
tmp = destination_19;
|
|
5608
5609
|
} else {
|
|
5609
5610
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
5610
|
-
var tmp0_9 = this.
|
|
5611
|
+
var tmp0_9 = this.aac_1;
|
|
5611
5612
|
var tmp2_4 = state.x6r();
|
|
5612
5613
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5613
|
-
var exceptPlayerId = this.
|
|
5614
|
-
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.
|
|
5614
|
+
var exceptPlayerId = this.aac_1.yab_1.supportBackwardActions ? action_0.l94_1 : null;
|
|
5615
|
+
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.zab_1.d6e(), tmp2_4.id, exceptPlayerId);
|
|
5615
5616
|
var tmp$ret$109 = mapToClient_9(action_0, sendToPlayer_9);
|
|
5616
5617
|
tmp = listOfNotNull(tmp$ret$109);
|
|
5617
5618
|
} else {
|
|
5618
5619
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
5619
|
-
var tmp0_10 = this.
|
|
5620
|
+
var tmp0_10 = this.aac_1;
|
|
5620
5621
|
var tmp2_5 = state.x6r();
|
|
5621
5622
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5622
|
-
var exceptPlayerId_0 = this.
|
|
5623
|
-
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.
|
|
5623
|
+
var exceptPlayerId_0 = this.aac_1.yab_1.supportBackwardActions ? action_0.t8z_1 : null;
|
|
5624
|
+
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.zab_1.d6e(), tmp2_5.id, exceptPlayerId_0);
|
|
5624
5625
|
var tmp$ret$111 = mapToClient_8(action_0, sendToPlayer_10);
|
|
5625
5626
|
tmp = listOfNotNull(tmp$ret$111);
|
|
5626
5627
|
} else {
|
|
5627
5628
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
5628
|
-
var tmp0_11 = this.
|
|
5629
|
+
var tmp0_11 = this.aac_1;
|
|
5629
5630
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5630
5631
|
var table_7 = state.x6r();
|
|
5631
|
-
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.
|
|
5632
|
+
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.zab_1.d6e(), table_7.id, null);
|
|
5632
5633
|
var tmp$ret$113 = mapToClient_7(action_0, sendToPlayer_11);
|
|
5633
5634
|
tmp = listOfNotNull(tmp$ret$113);
|
|
5634
5635
|
} else {
|
|
5635
5636
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
5636
|
-
var tmp0_12 = this.
|
|
5637
|
+
var tmp0_12 = this.aac_1;
|
|
5637
5638
|
var tmp2_6 = state.x6r();
|
|
5638
5639
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5639
|
-
var exceptPlayerId_1 = this.
|
|
5640
|
-
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.
|
|
5640
|
+
var exceptPlayerId_1 = this.aac_1.yab_1.supportBackwardActions ? action_0.r94_1 : null;
|
|
5641
|
+
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.zab_1.d6e(), tmp2_6.id, exceptPlayerId_1);
|
|
5641
5642
|
var tmp$ret$115 = mapToClient_6(action_0, sendToPlayer_12);
|
|
5642
5643
|
tmp = listOfNotNull(tmp$ret$115);
|
|
5643
5644
|
} else {
|
|
5644
5645
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
5645
|
-
var tmp0_13 = this.
|
|
5646
|
+
var tmp0_13 = this.aac_1;
|
|
5646
5647
|
var tmp2_7 = state.x6r();
|
|
5647
5648
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5648
|
-
var exceptPlayerId_2 = this.
|
|
5649
|
-
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.
|
|
5649
|
+
var exceptPlayerId_2 = this.aac_1.yab_1.supportBackwardActions ? action_0.z8z_1 : null;
|
|
5650
|
+
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.zab_1.d6e(), tmp2_7.id, exceptPlayerId_2);
|
|
5650
5651
|
var tmp$ret$117 = mapToClient_5(action_0, sendToPlayer_13);
|
|
5651
5652
|
tmp = listOfNotNull(tmp$ret$117);
|
|
5652
5653
|
} else {
|
|
5653
5654
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
5654
|
-
var tmp0_14 = this.
|
|
5655
|
+
var tmp0_14 = this.aac_1;
|
|
5655
5656
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5656
5657
|
var table_8 = state.x6r();
|
|
5657
|
-
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.
|
|
5658
|
+
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.zab_1.d6e(), table_8.id, null);
|
|
5658
5659
|
var tmp$ret$119 = mapToClient_4(action_0, sendToPlayer_14);
|
|
5659
5660
|
tmp = listOfNotNull(tmp$ret$119);
|
|
5660
5661
|
} else {
|
|
5661
5662
|
if (action_0 instanceof TakeAllRemainingCardsMechanicAction) {
|
|
5662
|
-
var tmp0_15 = this.
|
|
5663
|
+
var tmp0_15 = this.aac_1;
|
|
5663
5664
|
var tmp2_8 = state.x6r();
|
|
5664
5665
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5665
|
-
var exceptPlayerId_3 = this.
|
|
5666
|
-
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.
|
|
5666
|
+
var exceptPlayerId_3 = this.aac_1.yab_1.supportBackwardActions ? action_0.t94_1 : null;
|
|
5667
|
+
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.zab_1.d6e(), tmp2_8.id, exceptPlayerId_3);
|
|
5667
5668
|
var tmp$ret$121 = mapToClient_3(action_0, sendToPlayer_15);
|
|
5668
5669
|
tmp = listOfNotNull(tmp$ret$121);
|
|
5669
5670
|
} else {
|
|
5670
5671
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
5671
|
-
var tmp0_16 = this.
|
|
5672
|
+
var tmp0_16 = this.aac_1;
|
|
5672
5673
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5673
5674
|
var table_9 = state.x6r();
|
|
5674
|
-
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.
|
|
5675
|
+
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.zab_1.d6e(), table_9.id, null);
|
|
5675
5676
|
var tmp$ret$123 = mapToClient_2(action_0, sendToPlayer_16);
|
|
5676
5677
|
tmp = listOfNotNull(tmp$ret$123);
|
|
5677
5678
|
} else {
|
|
5678
5679
|
if (action_0 instanceof MessageMechanicAction) {
|
|
5679
5680
|
var message = action_0.message;
|
|
5680
|
-
var tmp0_17 = this.
|
|
5681
|
+
var tmp0_17 = this.aac_1;
|
|
5681
5682
|
var tmp2_9 = state.x6r();
|
|
5682
5683
|
var tmp_1;
|
|
5683
5684
|
var tmp_2;
|
|
5684
|
-
if (this.
|
|
5685
|
+
if (this.aac_1.yab_1.supportBackwardActions) {
|
|
5685
5686
|
tmp_2 = isInterface(message, UserMessage);
|
|
5686
5687
|
} else {
|
|
5687
5688
|
tmp_2 = false;
|
|
@@ -5693,16 +5694,16 @@
|
|
|
5693
5694
|
}
|
|
5694
5695
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5695
5696
|
var exceptPlayerId_4 = tmp_1;
|
|
5696
|
-
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.
|
|
5697
|
+
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.zab_1.d6e(), tmp2_9.id, exceptPlayerId_4);
|
|
5697
5698
|
var tmp$ret$125 = mapToClient_1(action_0, sendToPlayer_17);
|
|
5698
5699
|
tmp = listOfNotNull(tmp$ret$125);
|
|
5699
5700
|
} else {
|
|
5700
5701
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
5701
|
-
var tmp0_18 = this.
|
|
5702
|
+
var tmp0_18 = this.aac_1;
|
|
5702
5703
|
var tmp2_10 = state.x6r();
|
|
5703
5704
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5704
5705
|
var exceptPlayerId_5 = action_0.playerId;
|
|
5705
|
-
var sendToPlayer_18 = new RoomActionPayload(tmp0_18.
|
|
5706
|
+
var sendToPlayer_18 = new RoomActionPayload(tmp0_18.zab_1.d6e(), tmp2_10.id, exceptPlayerId_5);
|
|
5706
5707
|
var tmp$ret$127 = mapToClient_0(action_0, sendToPlayer_18);
|
|
5707
5708
|
tmp = listOfNotNull(tmp$ret$127);
|
|
5708
5709
|
} else {
|
|
@@ -5740,10 +5741,10 @@
|
|
|
5740
5741
|
return this.u6h(store, next, action);
|
|
5741
5742
|
};
|
|
5742
5743
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
5743
|
-
this.
|
|
5744
|
-
this.
|
|
5744
|
+
this.yab_1 = logicConfig;
|
|
5745
|
+
this.zab_1 = idsProvider;
|
|
5745
5746
|
}
|
|
5746
|
-
protoOf(ServerMapMechanicToClientActionMiddleware).
|
|
5747
|
+
protoOf(ServerMapMechanicToClientActionMiddleware).s99 = function () {
|
|
5747
5748
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
5748
5749
|
return new ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this);
|
|
5749
5750
|
};
|
|
@@ -5752,7 +5753,7 @@
|
|
|
5752
5753
|
return new playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1(playerConnectionInteractor);
|
|
5753
5754
|
}
|
|
5754
5755
|
function playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1($playerConnectionInteractor) {
|
|
5755
|
-
this.
|
|
5756
|
+
this.bac_1 = $playerConnectionInteractor;
|
|
5756
5757
|
}
|
|
5757
5758
|
protoOf(playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1).f6g = function (action) {
|
|
5758
5759
|
return action instanceof PlayerConnectionUpdateAction;
|
|
@@ -5765,8 +5766,8 @@
|
|
|
5765
5766
|
if (!get_isCreated(state)) {
|
|
5766
5767
|
break $l$block_0;
|
|
5767
5768
|
}
|
|
5768
|
-
var player = getPlayer(state.x6r().players, tmp4.
|
|
5769
|
-
if (tmp4.
|
|
5769
|
+
var player = getPlayer(state.x6r().players, tmp4.b93_1);
|
|
5770
|
+
if (tmp4.a93_1.isVisibleDisconnectedReason && player.i6v_1.z68().n67_1.isDisconnecting) {
|
|
5770
5771
|
break $l$block_0;
|
|
5771
5772
|
}
|
|
5772
5773
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
@@ -5788,7 +5789,7 @@
|
|
|
5788
5789
|
var _iterator__ex2g4s_0 = destination.l();
|
|
5789
5790
|
while (_iterator__ex2g4s_0.m()) {
|
|
5790
5791
|
var element_0 = _iterator__ex2g4s_0.n();
|
|
5791
|
-
if (element_0.
|
|
5792
|
+
if (element_0.cac_1 === tmp4.b93_1) {
|
|
5792
5793
|
if (found) {
|
|
5793
5794
|
tmp$ret$4 = null;
|
|
5794
5795
|
break $l$block_2;
|
|
@@ -5807,7 +5808,7 @@
|
|
|
5807
5808
|
if (!(reconnectionTimerTag == null)) {
|
|
5808
5809
|
store.dispatch(new StopTimerAction(reconnectionTimerTag));
|
|
5809
5810
|
}
|
|
5810
|
-
var actions = this.
|
|
5811
|
+
var actions = this.bac_1.vaa(tmp4.a93_1, player.i6v_1.z68().n67_1, player, store.state.x6r(), tmp4.c93_1);
|
|
5811
5812
|
// Inline function 'kotlin.collections.forEach' call
|
|
5812
5813
|
var _iterator__ex2g4s_1 = actions.l();
|
|
5813
5814
|
while (_iterator__ex2g4s_1.m()) {
|
|
@@ -5823,16 +5824,18 @@
|
|
|
5823
5824
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
5824
5825
|
return new playerReconnectionTimeoutMiddleware$$inlined$middlewareForActionType$1(playerConnectionInteractor);
|
|
5825
5826
|
}
|
|
5826
|
-
function PlayerReconnectionWaitingTimerTag(playerId, state) {
|
|
5827
|
-
this.
|
|
5828
|
-
this.
|
|
5827
|
+
function PlayerReconnectionWaitingTimerTag(playerId, state, previousState) {
|
|
5828
|
+
this.cac_1 = playerId;
|
|
5829
|
+
this.dac_1 = state;
|
|
5830
|
+
this.eac_1 = previousState;
|
|
5829
5831
|
}
|
|
5830
5832
|
protoOf(PlayerReconnectionWaitingTimerTag).toString = function () {
|
|
5831
|
-
return 'PlayerReconnectionWaitingTimerTag(playerId=' + this.
|
|
5833
|
+
return 'PlayerReconnectionWaitingTimerTag(playerId=' + this.cac_1 + ', state=' + this.dac_1.toString() + ', previousState=' + this.eac_1.toString() + ')';
|
|
5832
5834
|
};
|
|
5833
5835
|
protoOf(PlayerReconnectionWaitingTimerTag).hashCode = function () {
|
|
5834
|
-
var result = getStringHashCode(this.
|
|
5835
|
-
result = imul(result, 31) + this.
|
|
5836
|
+
var result = getStringHashCode(this.cac_1);
|
|
5837
|
+
result = imul(result, 31) + this.dac_1.hashCode() | 0;
|
|
5838
|
+
result = imul(result, 31) + this.eac_1.hashCode() | 0;
|
|
5836
5839
|
return result;
|
|
5837
5840
|
};
|
|
5838
5841
|
protoOf(PlayerReconnectionWaitingTimerTag).equals = function (other) {
|
|
@@ -5840,14 +5843,16 @@
|
|
|
5840
5843
|
return true;
|
|
5841
5844
|
if (!(other instanceof PlayerReconnectionWaitingTimerTag))
|
|
5842
5845
|
return false;
|
|
5843
|
-
if (!(this.
|
|
5846
|
+
if (!(this.cac_1 === other.cac_1))
|
|
5847
|
+
return false;
|
|
5848
|
+
if (!this.dac_1.equals(other.dac_1))
|
|
5844
5849
|
return false;
|
|
5845
|
-
if (!this.
|
|
5850
|
+
if (!this.eac_1.equals(other.eac_1))
|
|
5846
5851
|
return false;
|
|
5847
5852
|
return true;
|
|
5848
5853
|
};
|
|
5849
5854
|
function playerReconnectionTimeoutMiddleware$$inlined$middlewareForActionType$1($playerConnectionInteractor) {
|
|
5850
|
-
this.
|
|
5855
|
+
this.fac_1 = $playerConnectionInteractor;
|
|
5851
5856
|
}
|
|
5852
5857
|
protoOf(playerReconnectionTimeoutMiddleware$$inlined$middlewareForActionType$1).f6g = function (action) {
|
|
5853
5858
|
return action instanceof TimerTickAction;
|
|
@@ -5861,7 +5866,8 @@
|
|
|
5861
5866
|
var timerTag = tmp4.b6g_1;
|
|
5862
5867
|
if (timerTag instanceof PlayerReconnectionWaitingTimerTag) {
|
|
5863
5868
|
var state = store.state;
|
|
5864
|
-
var
|
|
5869
|
+
var player = getPlayer(state.x6r().players, timerTag.cac_1);
|
|
5870
|
+
var actions = this.fac_1.vaa(timerTag.dac_1, timerTag.eac_1, player, state.x6r(), true);
|
|
5865
5871
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5866
5872
|
if (!actions.r()) {
|
|
5867
5873
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5883,7 +5889,7 @@
|
|
|
5883
5889
|
return new playerReconnectionTimerStartWhenStartGameMiddleware$$inlined$middlewareForActionType$1(playerConnectionInteractor);
|
|
5884
5890
|
}
|
|
5885
5891
|
function playerReconnectionTimerStartWhenStartGameMiddleware$$inlined$middlewareForActionType$1($playerConnectionInteractor) {
|
|
5886
|
-
this.
|
|
5892
|
+
this.gac_1 = $playerConnectionInteractor;
|
|
5887
5893
|
}
|
|
5888
5894
|
protoOf(playerReconnectionTimerStartWhenStartGameMiddleware$$inlined$middlewareForActionType$1).f6g = function (action) {
|
|
5889
5895
|
return isInterface(action, FirstMechanicAction);
|
|
@@ -5908,9 +5914,10 @@
|
|
|
5908
5914
|
while (_iterator__ex2g4s_0.m()) {
|
|
5909
5915
|
var element_0 = _iterator__ex2g4s_0.n();
|
|
5910
5916
|
var tmp0_newConnectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
5911
|
-
var
|
|
5917
|
+
var tmp1_previousConnectionState = element_0.i6v_1.z68().n67_1;
|
|
5918
|
+
var tmp2_playerId = element_0.playerId;
|
|
5912
5919
|
// Inline function 'kotlin.collections.forEach' call
|
|
5913
|
-
var _iterator__ex2g4s_1 = this.
|
|
5920
|
+
var _iterator__ex2g4s_1 = this.gac_1.waa(tmp2_playerId, tmp0_newConnectionState, tmp1_previousConnectionState).l();
|
|
5914
5921
|
while (_iterator__ex2g4s_1.m()) {
|
|
5915
5922
|
var element_1 = _iterator__ex2g4s_1.n();
|
|
5916
5923
|
store.dispatch(element_1);
|
|
@@ -5925,8 +5932,8 @@
|
|
|
5925
5932
|
return new sendToClientActionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, provider);
|
|
5926
5933
|
}
|
|
5927
5934
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
5928
|
-
this.
|
|
5929
|
-
this.
|
|
5935
|
+
this.pac_1 = $provider;
|
|
5936
|
+
this.qac_1 = $action;
|
|
5930
5937
|
CoroutineImpl.call(this, resultContinuation);
|
|
5931
5938
|
}
|
|
5932
5939
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -5947,7 +5954,7 @@
|
|
|
5947
5954
|
case 0:
|
|
5948
5955
|
this.t8_1 = 2;
|
|
5949
5956
|
this.s8_1 = 1;
|
|
5950
|
-
suspendResult = this.
|
|
5957
|
+
suspendResult = this.pac_1.pa8(this.qac_1, this);
|
|
5951
5958
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5952
5959
|
return suspendResult;
|
|
5953
5960
|
}
|
|
@@ -5970,8 +5977,8 @@
|
|
|
5970
5977
|
while (true);
|
|
5971
5978
|
};
|
|
5972
5979
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).c2d = function ($this$launchDefault, completion) {
|
|
5973
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
5974
|
-
i.
|
|
5980
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.pac_1, this.qac_1, completion);
|
|
5981
|
+
i.rac_1 = $this$launchDefault;
|
|
5975
5982
|
return i;
|
|
5976
5983
|
};
|
|
5977
5984
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -5983,15 +5990,15 @@
|
|
|
5983
5990
|
return l;
|
|
5984
5991
|
}
|
|
5985
5992
|
function sendToClientActionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $provider) {
|
|
5986
|
-
this.
|
|
5987
|
-
this.
|
|
5993
|
+
this.sac_1 = $asyncProvider;
|
|
5994
|
+
this.tac_1 = $provider;
|
|
5988
5995
|
}
|
|
5989
5996
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).f6g = function (action) {
|
|
5990
5997
|
return action instanceof ToClientAction;
|
|
5991
5998
|
};
|
|
5992
5999
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).u6h = function (store, next, action) {
|
|
5993
6000
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
5994
|
-
this.
|
|
6001
|
+
this.sac_1.i6c(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.tac_1, action_0, null));
|
|
5995
6002
|
next(action_0);
|
|
5996
6003
|
};
|
|
5997
6004
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).e6g = function (store, next, action) {
|
|
@@ -6002,11 +6009,11 @@
|
|
|
6002
6009
|
return new playerTurnTimeoutWhenHasConnectionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, serverConfig, logger);
|
|
6003
6010
|
}
|
|
6004
6011
|
function playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda($store, $timerTag, $serverConfig, $logger, $action, resultContinuation) {
|
|
6005
|
-
this.
|
|
6006
|
-
this.
|
|
6007
|
-
this.
|
|
6008
|
-
this.
|
|
6009
|
-
this.
|
|
6012
|
+
this.cad_1 = $store;
|
|
6013
|
+
this.dad_1 = $timerTag;
|
|
6014
|
+
this.ead_1 = $serverConfig;
|
|
6015
|
+
this.fad_1 = $logger;
|
|
6016
|
+
this.gad_1 = $action;
|
|
6010
6017
|
CoroutineImpl.call(this, resultContinuation);
|
|
6011
6018
|
}
|
|
6012
6019
|
protoOf(playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda).b2d = function ($this$launchDefaultWithLock, $completion) {
|
|
@@ -6025,13 +6032,13 @@
|
|
|
6025
6032
|
var tmp = this.s8_1;
|
|
6026
6033
|
if (tmp === 0) {
|
|
6027
6034
|
this.t8_1 = 1;
|
|
6028
|
-
var table = this.
|
|
6029
|
-
var player = getPlayer(table.players, this.
|
|
6035
|
+
var table = this.cad_1.state.x6r();
|
|
6036
|
+
var player = getPlayer(table.players, this.dad_1.v65());
|
|
6030
6037
|
var connectionState = player.i6v_1.z68().n67_1;
|
|
6031
6038
|
var tmp_0;
|
|
6032
6039
|
switch (connectionState.q2_1) {
|
|
6033
6040
|
case 1:
|
|
6034
|
-
tmp_0 = listOf(new PlayerConnectionUpdateAction(PlayerConnectionState_TIMEOUT_getInstance(), player.playerId, this.
|
|
6041
|
+
tmp_0 = listOf(new PlayerConnectionUpdateAction(PlayerConnectionState_TIMEOUT_getInstance(), player.playerId, this.dad_1.o9g_1));
|
|
6035
6042
|
break;
|
|
6036
6043
|
case 6:
|
|
6037
6044
|
tmp_0 = emptyList();
|
|
@@ -6041,8 +6048,8 @@
|
|
|
6041
6048
|
case 3:
|
|
6042
6049
|
case 2:
|
|
6043
6050
|
var tmp_1;
|
|
6044
|
-
if (table.sceneInfo.b7g() && this.
|
|
6045
|
-
tmp_1 = new PlayerConnectionUpdateAction(PlayerConnectionState_DELETED_getInstance(), player.playerId, this.
|
|
6051
|
+
if (table.sceneInfo.b7g() && this.ead_1.closeIfBotsAtFinish) {
|
|
6052
|
+
tmp_1 = new PlayerConnectionUpdateAction(PlayerConnectionState_DELETED_getInstance(), player.playerId, this.dad_1.o9g_1);
|
|
6046
6053
|
} else {
|
|
6047
6054
|
tmp_1 = AskBotAction_init_$Create$(player.playerId, 'PlayerTurn when connection state = ' + connectionState.toString());
|
|
6048
6055
|
}
|
|
@@ -6051,7 +6058,7 @@
|
|
|
6051
6058
|
break;
|
|
6052
6059
|
case 0:
|
|
6053
6060
|
case 7:
|
|
6054
|
-
this.
|
|
6061
|
+
this.fad_1.w('playerTurnTimeoutWhenHasConnectionMiddleware', "Can't support this state " + connectionState.toString() + ', ' + ('action:' + this.gad_1.toString()));
|
|
6055
6062
|
tmp_0 = emptyList();
|
|
6056
6063
|
break;
|
|
6057
6064
|
default:
|
|
@@ -6063,7 +6070,7 @@
|
|
|
6063
6070
|
var _iterator__ex2g4s = actions.l();
|
|
6064
6071
|
while (_iterator__ex2g4s.m()) {
|
|
6065
6072
|
var element = _iterator__ex2g4s.n();
|
|
6066
|
-
this.
|
|
6073
|
+
this.cad_1.dispatch(element);
|
|
6067
6074
|
}
|
|
6068
6075
|
}
|
|
6069
6076
|
return Unit_instance;
|
|
@@ -6077,8 +6084,8 @@
|
|
|
6077
6084
|
while (true);
|
|
6078
6085
|
};
|
|
6079
6086
|
protoOf(playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda).c2d = function ($this$launchDefaultWithLock, completion) {
|
|
6080
|
-
var i = new playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda(this.
|
|
6081
|
-
i.
|
|
6087
|
+
var i = new playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda(this.cad_1, this.dad_1, this.ead_1, this.fad_1, this.gad_1, completion);
|
|
6088
|
+
i.had_1 = $this$launchDefaultWithLock;
|
|
6082
6089
|
return i;
|
|
6083
6090
|
};
|
|
6084
6091
|
function playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda_0($store, $timerTag, $serverConfig, $logger, $action, resultContinuation) {
|
|
@@ -6090,9 +6097,9 @@
|
|
|
6090
6097
|
return l;
|
|
6091
6098
|
}
|
|
6092
6099
|
function playerTurnTimeoutWhenHasConnectionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $serverConfig, $logger) {
|
|
6093
|
-
this.
|
|
6094
|
-
this.
|
|
6095
|
-
this.
|
|
6100
|
+
this.iad_1 = $asyncProvider;
|
|
6101
|
+
this.jad_1 = $serverConfig;
|
|
6102
|
+
this.kad_1 = $logger;
|
|
6096
6103
|
}
|
|
6097
6104
|
protoOf(playerTurnTimeoutWhenHasConnectionMiddleware$$inlined$middlewareForActionType$1).f6g = function (action) {
|
|
6098
6105
|
return action instanceof TimerTickAction;
|
|
@@ -6101,7 +6108,7 @@
|
|
|
6101
6108
|
var action_0 = action instanceof TimerTickAction ? action : THROW_CCE();
|
|
6102
6109
|
var timerTag = action_0.b6g_1;
|
|
6103
6110
|
if (timerTag instanceof PlayerTurnTimerTag) {
|
|
6104
|
-
this.
|
|
6111
|
+
this.iad_1.k6c(VOID, playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda_0(store, timerTag, this.jad_1, this.kad_1, action_0, null));
|
|
6105
6112
|
}
|
|
6106
6113
|
next(action_0);
|
|
6107
6114
|
};
|
|
@@ -6117,19 +6124,19 @@
|
|
|
6117
6124
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).f6g = function (action) {
|
|
6118
6125
|
return action instanceof UpdateServerConfigAction;
|
|
6119
6126
|
};
|
|
6120
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
6127
|
+
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).x9i = function (state, action) {
|
|
6121
6128
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
6122
|
-
return state.
|
|
6129
|
+
return state.t92(VOID, get_serverStatePayload_0(state).copy(action_0.cab_1));
|
|
6123
6130
|
};
|
|
6124
6131
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).v6h = function (state, action) {
|
|
6125
|
-
return this.
|
|
6132
|
+
return this.x9i((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
6126
6133
|
};
|
|
6127
6134
|
function addRoomMetadata($this, _this__u8e3s4, gameId) {
|
|
6128
6135
|
_this__u8e3s4.metadata.addGame(gameId, new GameMetadata(gameId));
|
|
6129
6136
|
return _this__u8e3s4.metadata;
|
|
6130
6137
|
}
|
|
6131
6138
|
function Companion_5() {
|
|
6132
|
-
this.
|
|
6139
|
+
this.lad_1 = 'ServerMechanicLifecycleReducer';
|
|
6133
6140
|
}
|
|
6134
6141
|
var Companion_instance_15;
|
|
6135
6142
|
function Companion_getInstance_6() {
|
|
@@ -6143,7 +6150,7 @@
|
|
|
6143
6150
|
tmp_0 = Companion_instance_4.l67(PlayerConnectionState_LEFT_PERMANENTLY_getInstance());
|
|
6144
6151
|
} else {
|
|
6145
6152
|
var tmp_1;
|
|
6146
|
-
if (this$0.
|
|
6153
|
+
if (this$0.pad_1.waitForPlayerToConnectOnStart) {
|
|
6147
6154
|
var tmp_2 = Companion_instance_4;
|
|
6148
6155
|
var tmp_3;
|
|
6149
6156
|
if ($updatedServerPayload.connectedPlayers.u1(it.j66_1)) {
|
|
@@ -6154,7 +6161,7 @@
|
|
|
6154
6161
|
var tmp_4 = tmp_3;
|
|
6155
6162
|
Companion_getInstance();
|
|
6156
6163
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
6157
|
-
var this_0 = $action.
|
|
6164
|
+
var this_0 = $action.r93_1.timeoutTimeMillis;
|
|
6158
6165
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
6159
6166
|
tmp_1 = tmp_2.k67(tmp_4, tmp$ret$0);
|
|
6160
6167
|
} else {
|
|
@@ -6162,7 +6169,7 @@
|
|
|
6162
6169
|
var tmp_6 = PlayerConnectionState_LIVE_getInstance();
|
|
6163
6170
|
Companion_getInstance();
|
|
6164
6171
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
6165
|
-
var this_1 = $action.
|
|
6172
|
+
var this_1 = $action.r93_1.timeoutTimeMillis;
|
|
6166
6173
|
var tmp$ret$1 = toDuration(this_1, DurationUnit_MILLISECONDS_getInstance());
|
|
6167
6174
|
tmp_1 = tmp_5.k67(tmp_6, tmp$ret$1);
|
|
6168
6175
|
}
|
|
@@ -6173,26 +6180,26 @@
|
|
|
6173
6180
|
}
|
|
6174
6181
|
function ServerMechanicLifecycleReducer(logger, serverReduxConfig, tableLifecycleReducer, randomPoolProvider) {
|
|
6175
6182
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
6176
|
-
this.
|
|
6177
|
-
this.
|
|
6183
|
+
this.oad_1 = logger;
|
|
6184
|
+
this.pad_1 = serverReduxConfig;
|
|
6178
6185
|
}
|
|
6179
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
6180
|
-
this.
|
|
6181
|
-
var tableId = action.
|
|
6186
|
+
protoOf(ServerMechanicLifecycleReducer).o9k = function (state, action) {
|
|
6187
|
+
this.oad_1.d('ServerMechanicLifecycleReducer', 'onStart ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
6188
|
+
var tableId = action.s93_1;
|
|
6182
6189
|
var serverState = get_serverStatePayload_0(state);
|
|
6183
6190
|
var updatedServerPayload = serverState.copy(VOID, addRoomMetadata(this, serverState, tableId));
|
|
6184
6191
|
var tmp6_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
6185
|
-
var tmp0_$this = this.
|
|
6186
|
-
var tmp1_version = action.
|
|
6187
|
-
var tmp2_config = action.
|
|
6188
|
-
var tmp3_users = action.
|
|
6192
|
+
var tmp0_$this = this.p9k_1;
|
|
6193
|
+
var tmp1_version = action.t93_1;
|
|
6194
|
+
var tmp2_config = action.r93_1;
|
|
6195
|
+
var tmp3_users = action.v93_1;
|
|
6189
6196
|
var tmp4_spectators = action.spectators;
|
|
6190
|
-
var tmp5_gameCreatorPlayerId = action.
|
|
6191
|
-
var tmp7_tableOrNull = tmp0_$this.
|
|
6192
|
-
return state.
|
|
6197
|
+
var tmp5_gameCreatorPlayerId = action.u93_1;
|
|
6198
|
+
var tmp7_tableOrNull = tmp0_$this.x9l(tableId, tableId, tmp2_config, tmp1_version, tmp3_users, tmp4_spectators, tmp5_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(this, updatedServerPayload, action));
|
|
6199
|
+
return state.t92(tmp7_tableOrNull, updatedServerPayload, tmp6_gameLifecycleState);
|
|
6193
6200
|
};
|
|
6194
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
6195
|
-
this.
|
|
6201
|
+
protoOf(ServerMechanicLifecycleReducer).m9k = function (state, action) {
|
|
6202
|
+
this.oad_1.d('ServerMechanicLifecycleReducer', 'onContinue ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
6196
6203
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
6197
6204
|
var tmp2_tableOrNull = action.table;
|
|
6198
6205
|
var tmp = Companion_instance_16;
|
|
@@ -6200,32 +6207,32 @@
|
|
|
6200
6207
|
var tmp_1 = action.reason;
|
|
6201
6208
|
var tmp0_safe_receiver = tmp_1 instanceof RestartRoundReason ? tmp_1 : null;
|
|
6202
6209
|
var tmp3_payload = tmp.initial(tmp_0.copy(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.f65_1), addRoomMetadata(this, get_serverStatePayload_0(state), action.table.gameId));
|
|
6203
|
-
return state.
|
|
6210
|
+
return state.t92(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
|
|
6204
6211
|
};
|
|
6205
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
6206
|
-
this.
|
|
6212
|
+
protoOf(ServerMechanicLifecycleReducer).n9k = function (state, action) {
|
|
6213
|
+
this.q9k_1.n58(action.previousGameId);
|
|
6207
6214
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
6208
|
-
var tmp1_tableOrNull = this.
|
|
6215
|
+
var tmp1_tableOrNull = this.p9k_1.y9l(state.x6r(), action.gameId);
|
|
6209
6216
|
var tmp2_payload = get_serverStatePayload_0(state).copy(VOID, addRoomMetadata(this, get_serverStatePayload_0(state), action.gameId));
|
|
6210
|
-
return state.
|
|
6217
|
+
return state.t92(tmp1_tableOrNull, tmp2_payload, tmp0_gameLifecycleState);
|
|
6211
6218
|
};
|
|
6212
6219
|
function spectatorsReducer(logger) {
|
|
6213
6220
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
6214
6221
|
return new spectatorsReducer$$inlined$reducerForActionType$1(logger);
|
|
6215
6222
|
}
|
|
6216
6223
|
function spectatorsReducer$$inlined$reducerForActionType$1($logger) {
|
|
6217
|
-
this.
|
|
6224
|
+
this.qad_1 = $logger;
|
|
6218
6225
|
}
|
|
6219
6226
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).f6g = function (action) {
|
|
6220
6227
|
return isInterface(action, SpectatorsAction);
|
|
6221
6228
|
};
|
|
6222
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
6229
|
+
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).x9i = function (state, action) {
|
|
6223
6230
|
var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
|
|
6224
6231
|
var table = state.x6r();
|
|
6225
6232
|
var tmp;
|
|
6226
6233
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
6227
6234
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
6228
|
-
var tmp0 = action_0.
|
|
6235
|
+
var tmp0 = action_0.dab_1;
|
|
6229
6236
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
6230
6237
|
var destination = ArrayList_init_$Create$_0();
|
|
6231
6238
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -6244,9 +6251,9 @@
|
|
|
6244
6251
|
var tmp_0;
|
|
6245
6252
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
6246
6253
|
if (!sameSpectators.r()) {
|
|
6247
|
-
this.
|
|
6254
|
+
this.qad_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
6248
6255
|
// Inline function 'kotlin.collections.filterNot' call
|
|
6249
|
-
var tmp0_0 = action_0.
|
|
6256
|
+
var tmp0_0 = action_0.dab_1;
|
|
6250
6257
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
6251
6258
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
6252
6259
|
var _iterator__ex2g4s_0 = tmp0_0.l();
|
|
@@ -6281,7 +6288,7 @@
|
|
|
6281
6288
|
}
|
|
6282
6289
|
tmp_0 = destination_0;
|
|
6283
6290
|
} else {
|
|
6284
|
-
tmp_0 = action_0.
|
|
6291
|
+
tmp_0 = action_0.dab_1;
|
|
6285
6292
|
}
|
|
6286
6293
|
// Inline function 'kotlin.collections.map' call
|
|
6287
6294
|
var this_0 = tmp_0;
|
|
@@ -6294,11 +6301,11 @@
|
|
|
6294
6301
|
destination_1.j(tmp$ret$13);
|
|
6295
6302
|
}
|
|
6296
6303
|
var spectatorsToAdd = toSet(destination_1);
|
|
6297
|
-
tmp = state.
|
|
6304
|
+
tmp = state.t92(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
|
|
6298
6305
|
} else {
|
|
6299
6306
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
6300
6307
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
6301
|
-
var tmp0_1 = action_0.
|
|
6308
|
+
var tmp0_1 = action_0.eab_1;
|
|
6302
6309
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
6303
6310
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
6304
6311
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -6317,9 +6324,9 @@
|
|
|
6317
6324
|
var tmp_2;
|
|
6318
6325
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
6319
6326
|
if (!sameSpectators_0.r()) {
|
|
6320
|
-
this.
|
|
6327
|
+
this.qad_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
6321
6328
|
// Inline function 'kotlin.collections.filterNot' call
|
|
6322
|
-
var tmp0_2 = action_0.
|
|
6329
|
+
var tmp0_2 = action_0.eab_1;
|
|
6323
6330
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
6324
6331
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
6325
6332
|
var _iterator__ex2g4s_4 = tmp0_2.l();
|
|
@@ -6354,7 +6361,7 @@
|
|
|
6354
6361
|
}
|
|
6355
6362
|
tmp_2 = destination_3;
|
|
6356
6363
|
} else {
|
|
6357
|
-
tmp_2 = action_0.
|
|
6364
|
+
tmp_2 = action_0.eab_1;
|
|
6358
6365
|
}
|
|
6359
6366
|
var spectatorsToRemove = toSet(tmp_2);
|
|
6360
6367
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -6391,7 +6398,7 @@
|
|
|
6391
6398
|
destination_4.j(element_5);
|
|
6392
6399
|
}
|
|
6393
6400
|
}
|
|
6394
|
-
tmp = state.
|
|
6401
|
+
tmp = state.t92(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
|
|
6395
6402
|
} else {
|
|
6396
6403
|
noWhenBranchMatchedException();
|
|
6397
6404
|
}
|
|
@@ -6399,7 +6406,7 @@
|
|
|
6399
6406
|
return tmp;
|
|
6400
6407
|
};
|
|
6401
6408
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).v6h = function (state, action) {
|
|
6402
|
-
return this.
|
|
6409
|
+
return this.x9i((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
6403
6410
|
};
|
|
6404
6411
|
function playerConnectionUpdateReducer() {
|
|
6405
6412
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
@@ -6410,29 +6417,29 @@
|
|
|
6410
6417
|
protoOf(playerConnectionUpdateReducer$$inlined$reducerForActionType$1).f6g = function (action) {
|
|
6411
6418
|
return action instanceof PlayerConnectionUpdateAction;
|
|
6412
6419
|
};
|
|
6413
|
-
protoOf(playerConnectionUpdateReducer$$inlined$reducerForActionType$1).
|
|
6420
|
+
protoOf(playerConnectionUpdateReducer$$inlined$reducerForActionType$1).x9i = function (state, action) {
|
|
6414
6421
|
var action_0 = action instanceof PlayerConnectionUpdateAction ? action : THROW_CCE();
|
|
6415
6422
|
var statePayload = get_serverStatePayload_0(state);
|
|
6416
6423
|
var tmp;
|
|
6417
|
-
if (action_0.
|
|
6418
|
-
tmp = state.
|
|
6424
|
+
if (action_0.a93_1.isLive) {
|
|
6425
|
+
tmp = state.t92(VOID, statePayload.copy(VOID, VOID, plus_0(statePayload.connectedPlayers, action_0.b93_1)));
|
|
6419
6426
|
} else {
|
|
6420
6427
|
tmp = state;
|
|
6421
6428
|
}
|
|
6422
6429
|
return tmp;
|
|
6423
6430
|
};
|
|
6424
6431
|
protoOf(playerConnectionUpdateReducer$$inlined$reducerForActionType$1).v6h = function (state, action) {
|
|
6425
|
-
return this.
|
|
6432
|
+
return this.x9i((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
6426
6433
|
};
|
|
6427
6434
|
function Companion_6() {
|
|
6428
6435
|
}
|
|
6429
|
-
protoOf(Companion_6).
|
|
6436
|
+
protoOf(Companion_6).rad = function (config, metadata) {
|
|
6430
6437
|
return new ServerStatePayload(config, metadata, emptyList());
|
|
6431
6438
|
};
|
|
6432
6439
|
protoOf(Companion_6).initial = function (config, metadata, $super) {
|
|
6433
6440
|
config = config === VOID ? Companion_instance_10.initial(null) : config;
|
|
6434
6441
|
metadata = metadata === VOID ? new RoomMetadata() : metadata;
|
|
6435
|
-
return $super === VOID ? this.
|
|
6442
|
+
return $super === VOID ? this.rad(config, metadata) : $super.rad.call(this, config, metadata);
|
|
6436
6443
|
};
|
|
6437
6444
|
var Companion_instance_16;
|
|
6438
6445
|
function Companion_getInstance_7() {
|
|
@@ -6446,10 +6453,10 @@
|
|
|
6446
6453
|
protoOf(ServerStatePayload).z3s = function () {
|
|
6447
6454
|
return this.config;
|
|
6448
6455
|
};
|
|
6449
|
-
protoOf(ServerStatePayload).
|
|
6456
|
+
protoOf(ServerStatePayload).b8m = function () {
|
|
6450
6457
|
return this.metadata;
|
|
6451
6458
|
};
|
|
6452
|
-
protoOf(ServerStatePayload).
|
|
6459
|
+
protoOf(ServerStatePayload).sad = function () {
|
|
6453
6460
|
return this.connectedPlayers;
|
|
6454
6461
|
};
|
|
6455
6462
|
protoOf(ServerStatePayload).oe = function () {
|
|
@@ -6461,14 +6468,14 @@
|
|
|
6461
6468
|
protoOf(ServerStatePayload).xl = function () {
|
|
6462
6469
|
return this.connectedPlayers;
|
|
6463
6470
|
};
|
|
6464
|
-
protoOf(ServerStatePayload).
|
|
6471
|
+
protoOf(ServerStatePayload).tad = function (config, metadata, connectedPlayers) {
|
|
6465
6472
|
return new ServerStatePayload(config, metadata, connectedPlayers);
|
|
6466
6473
|
};
|
|
6467
6474
|
protoOf(ServerStatePayload).copy = function (config, metadata, connectedPlayers, $super) {
|
|
6468
6475
|
config = config === VOID ? this.config : config;
|
|
6469
6476
|
metadata = metadata === VOID ? this.metadata : metadata;
|
|
6470
6477
|
connectedPlayers = connectedPlayers === VOID ? this.connectedPlayers : connectedPlayers;
|
|
6471
|
-
return $super === VOID ? this.
|
|
6478
|
+
return $super === VOID ? this.tad(config, metadata, connectedPlayers) : $super.tad.call(this, config, metadata, connectedPlayers);
|
|
6472
6479
|
};
|
|
6473
6480
|
protoOf(ServerStatePayload).toString = function () {
|
|
6474
6481
|
return 'ServerStatePayload(config=' + this.config.toString() + ', metadata=' + toString(this.metadata) + ', connectedPlayers=' + toString(this.connectedPlayers) + ')';
|
|
@@ -6516,7 +6523,7 @@
|
|
|
6516
6523
|
return new ServerLoggerKey(_this__u8e3s4.gameId);
|
|
6517
6524
|
}
|
|
6518
6525
|
function serverLoggerKeyFromPayload(_this__u8e3s4, payload) {
|
|
6519
|
-
var gameId = Companion_instance_5.
|
|
6526
|
+
var gameId = Companion_instance_5.z9n(payload);
|
|
6520
6527
|
var tmp;
|
|
6521
6528
|
if (!(gameId == null)) {
|
|
6522
6529
|
tmp = new ServerLoggerKey(gameId);
|
|
@@ -6533,14 +6540,14 @@
|
|
|
6533
6540
|
return new GameServerEngineControllerImpl(loggerCallback, randomOrgConfig);
|
|
6534
6541
|
}
|
|
6535
6542
|
function _get_logger__rkp4sl_0($this) {
|
|
6536
|
-
var tmp0 = $this.
|
|
6543
|
+
var tmp0 = $this.dae_1;
|
|
6537
6544
|
var tmp = KProperty1;
|
|
6538
6545
|
// Inline function 'kotlin.getValue' call
|
|
6539
6546
|
getPropertyCallableRef('logger', 1, tmp, GameServerEngineControllerImpl$_get_logger_$ref_b9j0th(), null);
|
|
6540
6547
|
return tmp0.x();
|
|
6541
6548
|
}
|
|
6542
6549
|
function _get_di__ndbzja($this) {
|
|
6543
|
-
var tmp0 = $this.
|
|
6550
|
+
var tmp0 = $this.eae_1;
|
|
6544
6551
|
var tmp = KProperty1;
|
|
6545
6552
|
// Inline function 'kotlin.getValue' call
|
|
6546
6553
|
getPropertyCallableRef('di', 1, tmp, GameServerEngineControllerImpl$_get_di_$ref_cvlqo6(), null);
|
|
@@ -6557,8 +6564,8 @@
|
|
|
6557
6564
|
}
|
|
6558
6565
|
function createCallbackOutput($this, gameServer) {
|
|
6559
6566
|
var tmp;
|
|
6560
|
-
if (!($this.
|
|
6561
|
-
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.
|
|
6567
|
+
if (!($this.bae_1 == null)) {
|
|
6568
|
+
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.bae_1);
|
|
6562
6569
|
tmp = new CallbackWrapperLoggerOutput(tmp_0, GameServerEngineControllerImpl$createCallbackOutput$lambda(gameServer));
|
|
6563
6570
|
} else {
|
|
6564
6571
|
tmp = null;
|
|
@@ -6572,11 +6579,11 @@
|
|
|
6572
6579
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
6573
6580
|
return function () {
|
|
6574
6581
|
var tmp;
|
|
6575
|
-
if (this$0.
|
|
6582
|
+
if (this$0.bae_1 == null) {
|
|
6576
6583
|
tmp = null;
|
|
6577
6584
|
} else {
|
|
6578
6585
|
// Inline function 'kotlin.let' call
|
|
6579
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
6586
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.bae_1)]));
|
|
6580
6587
|
}
|
|
6581
6588
|
var tmp1_elvis_lhs = tmp;
|
|
6582
6589
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -6609,7 +6616,7 @@
|
|
|
6609
6616
|
tmp_0.z62(tmp$ret$3);
|
|
6610
6617
|
$this$DI.d5z(jsonModule());
|
|
6611
6618
|
$this$DI.d5z(serverHelpersModule());
|
|
6612
|
-
$this$DI.d5z(randomOrgModule(this$0.
|
|
6619
|
+
$this$DI.d5z(randomOrgModule(this$0.cae_1));
|
|
6613
6620
|
return Unit_instance;
|
|
6614
6621
|
};
|
|
6615
6622
|
}
|
|
@@ -6685,16 +6692,16 @@
|
|
|
6685
6692
|
};
|
|
6686
6693
|
}
|
|
6687
6694
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1($reducer) {
|
|
6688
|
-
this.
|
|
6695
|
+
this.lae_1 = $reducer;
|
|
6689
6696
|
}
|
|
6690
6697
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).f6g = function (action) {
|
|
6691
6698
|
return isInterface(action, Action);
|
|
6692
6699
|
};
|
|
6693
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
6694
|
-
return this.
|
|
6700
|
+
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).x9i = function (state, action) {
|
|
6701
|
+
return this.lae_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
6695
6702
|
};
|
|
6696
6703
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).v6h = function (state, action) {
|
|
6697
|
-
return this.
|
|
6704
|
+
return this.x9i((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
6698
6705
|
};
|
|
6699
6706
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($gameServer) {
|
|
6700
6707
|
return function () {
|
|
@@ -6774,7 +6781,7 @@
|
|
|
6774
6781
|
}
|
|
6775
6782
|
function GameServerEngineControllerImpl$createCallbackOutput$lambda($gameServer) {
|
|
6776
6783
|
return function (it) {
|
|
6777
|
-
var payload = Companion_instance_7.
|
|
6784
|
+
var payload = Companion_instance_7.l9m(it);
|
|
6778
6785
|
var tmp;
|
|
6779
6786
|
if (!(payload == null)) {
|
|
6780
6787
|
return payload;
|
|
@@ -6795,7 +6802,7 @@
|
|
|
6795
6802
|
// Inline function 'kotlin.let' call
|
|
6796
6803
|
$this$DI.d5z(tmp0_safe_receiver);
|
|
6797
6804
|
}
|
|
6798
|
-
$this$DI.d5z(dealerModule(this$0.randomPoolProvider, this$0.
|
|
6805
|
+
$this$DI.d5z(dealerModule(this$0.randomPoolProvider, this$0.cae_1));
|
|
6799
6806
|
$this$DI.d5z(coreModule($coreConfig));
|
|
6800
6807
|
$this$DI.d5z(createGameServerDI($serverConfig, $logicConfig, $engineBotConfig, $dealerConfig, $ratingConfig, $externalReducers, $externalMiddlewares));
|
|
6801
6808
|
return Unit_instance;
|
|
@@ -6804,8 +6811,8 @@
|
|
|
6804
6811
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
6805
6812
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
6806
6813
|
production = production === VOID ? true : production;
|
|
6807
|
-
this.
|
|
6808
|
-
this.
|
|
6814
|
+
this.bae_1 = loggerCallback;
|
|
6815
|
+
this.cae_1 = randomOrgConfig;
|
|
6809
6816
|
var tmp = AppEnvironment_getInstance();
|
|
6810
6817
|
var tmp_0;
|
|
6811
6818
|
if (production) {
|
|
@@ -6815,9 +6822,9 @@
|
|
|
6815
6822
|
}
|
|
6816
6823
|
tmp.c6m(tmp_0);
|
|
6817
6824
|
var tmp_1 = this;
|
|
6818
|
-
tmp_1.
|
|
6825
|
+
tmp_1.dae_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
6819
6826
|
var tmp_2 = this;
|
|
6820
|
-
tmp_2.
|
|
6827
|
+
tmp_2.eae_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
6821
6828
|
var tmp_3 = this;
|
|
6822
6829
|
// Inline function 'org.kodein.di.instance' call
|
|
6823
6830
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -6826,7 +6833,7 @@
|
|
|
6826
6833
|
var tmp$ret$0 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
6827
6834
|
var tmp_5 = Instance(this_0, tmp$ret$0, null);
|
|
6828
6835
|
var tmp_6 = KProperty1;
|
|
6829
|
-
tmp_3.
|
|
6836
|
+
tmp_3.fae_1 = tmp_5.w64(this, getPropertyCallableRef('parser', 1, tmp_6, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w(), null));
|
|
6830
6837
|
var tmp_7 = this;
|
|
6831
6838
|
// Inline function 'org.kodein.di.instance' call
|
|
6832
6839
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -6835,7 +6842,7 @@
|
|
|
6835
6842
|
var tmp$ret$2 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
6836
6843
|
var tmp_9 = Instance(this_1, tmp$ret$2, null);
|
|
6837
6844
|
var tmp_10 = KProperty1;
|
|
6838
|
-
tmp_7.
|
|
6845
|
+
tmp_7.gae_1 = tmp_9.w64(this, getPropertyCallableRef('helper', 1, tmp_10, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f(), null));
|
|
6839
6846
|
var tmp_11 = this;
|
|
6840
6847
|
// Inline function 'org.kodein.di.instance' call
|
|
6841
6848
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -6844,7 +6851,7 @@
|
|
|
6844
6851
|
var tmp$ret$4 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
6845
6852
|
var tmp_13 = Instance(this_2, tmp$ret$4, null);
|
|
6846
6853
|
var tmp_14 = KProperty1;
|
|
6847
|
-
tmp_11.
|
|
6854
|
+
tmp_11.hae_1 = tmp_13.w64(this, getPropertyCallableRef('serverHelper', 1, tmp_14, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre(), null));
|
|
6848
6855
|
var tmp_15 = this;
|
|
6849
6856
|
// Inline function 'org.kodein.di.instance' call
|
|
6850
6857
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -6853,7 +6860,7 @@
|
|
|
6853
6860
|
var tmp$ret$6 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
6854
6861
|
var tmp_17 = Instance(this_3, tmp$ret$6, null);
|
|
6855
6862
|
var tmp_18 = KProperty1;
|
|
6856
|
-
tmp_15.
|
|
6863
|
+
tmp_15.iae_1 = tmp_17.w64(this, getPropertyCallableRef('resources', 1, tmp_18, GameServerEngineControllerImpl$_get_resources_$ref_dt6416(), null));
|
|
6857
6864
|
var tmp_19 = this;
|
|
6858
6865
|
// Inline function 'org.kodein.di.instance' call
|
|
6859
6866
|
var this_4 = _get_di__ndbzja(this);
|
|
@@ -6862,7 +6869,7 @@
|
|
|
6862
6869
|
var tmp$ret$8 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
6863
6870
|
var tmp_21 = Instance(this_4, tmp$ret$8, null);
|
|
6864
6871
|
var tmp_22 = KProperty1;
|
|
6865
|
-
tmp_19.
|
|
6872
|
+
tmp_19.jae_1 = tmp_21.w64(this, getPropertyCallableRef('test', 1, tmp_22, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5(), null));
|
|
6866
6873
|
var tmp_23 = this;
|
|
6867
6874
|
// Inline function 'org.kodein.di.instance' call
|
|
6868
6875
|
var this_5 = _get_di__ndbzja(this);
|
|
@@ -6871,45 +6878,45 @@
|
|
|
6871
6878
|
var tmp$ret$10 = isInterface(tmp_24, TypeToken) ? tmp_24 : THROW_CCE();
|
|
6872
6879
|
var tmp_25 = Instance(this_5, tmp$ret$10, null);
|
|
6873
6880
|
var tmp_26 = KProperty1;
|
|
6874
|
-
tmp_23.
|
|
6881
|
+
tmp_23.kae_1 = tmp_25.w64(this, getPropertyCallableRef('randomPoolProvider', 1, tmp_26, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl(), null));
|
|
6875
6882
|
}
|
|
6876
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6877
|
-
var tmp0 = this.
|
|
6883
|
+
protoOf(GameServerEngineControllerImpl).uad = function () {
|
|
6884
|
+
var tmp0 = this.fae_1;
|
|
6878
6885
|
var tmp = KProperty1;
|
|
6879
6886
|
// Inline function 'kotlin.getValue' call
|
|
6880
6887
|
getPropertyCallableRef('parser', 1, tmp, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w_0(), null);
|
|
6881
6888
|
return tmp0.x();
|
|
6882
6889
|
};
|
|
6883
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6884
|
-
var tmp0 = this.
|
|
6890
|
+
protoOf(GameServerEngineControllerImpl).wad = function () {
|
|
6891
|
+
var tmp0 = this.gae_1;
|
|
6885
6892
|
var tmp = KProperty1;
|
|
6886
6893
|
// Inline function 'kotlin.getValue' call
|
|
6887
6894
|
getPropertyCallableRef('helper', 1, tmp, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f_0(), null);
|
|
6888
6895
|
return tmp0.x();
|
|
6889
6896
|
};
|
|
6890
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6891
|
-
var tmp0 = this.
|
|
6897
|
+
protoOf(GameServerEngineControllerImpl).xad = function () {
|
|
6898
|
+
var tmp0 = this.hae_1;
|
|
6892
6899
|
var tmp = KProperty1;
|
|
6893
6900
|
// Inline function 'kotlin.getValue' call
|
|
6894
6901
|
getPropertyCallableRef('serverHelper', 1, tmp, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre_0(), null);
|
|
6895
6902
|
return tmp0.x();
|
|
6896
6903
|
};
|
|
6897
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6898
|
-
var tmp0 = this.
|
|
6904
|
+
protoOf(GameServerEngineControllerImpl).yad = function () {
|
|
6905
|
+
var tmp0 = this.iae_1;
|
|
6899
6906
|
var tmp = KProperty1;
|
|
6900
6907
|
// Inline function 'kotlin.getValue' call
|
|
6901
6908
|
getPropertyCallableRef('resources', 1, tmp, GameServerEngineControllerImpl$_get_resources_$ref_dt6416_0(), null);
|
|
6902
6909
|
return tmp0.x();
|
|
6903
6910
|
};
|
|
6904
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6905
|
-
var tmp0 = this.
|
|
6911
|
+
protoOf(GameServerEngineControllerImpl).vad = function () {
|
|
6912
|
+
var tmp0 = this.jae_1;
|
|
6906
6913
|
var tmp = KProperty1;
|
|
6907
6914
|
// Inline function 'kotlin.getValue' call
|
|
6908
6915
|
getPropertyCallableRef('test', 1, tmp, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5_0(), null);
|
|
6909
6916
|
return tmp0.x();
|
|
6910
6917
|
};
|
|
6911
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6912
|
-
var tmp0 = this.
|
|
6918
|
+
protoOf(GameServerEngineControllerImpl).zad = function () {
|
|
6919
|
+
var tmp0 = this.kae_1;
|
|
6913
6920
|
var tmp = KProperty1;
|
|
6914
6921
|
// Inline function 'kotlin.getValue' call
|
|
6915
6922
|
getPropertyCallableRef('randomPoolProvider', 1, tmp, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl_0(), null);
|
|
@@ -6921,7 +6928,7 @@
|
|
|
6921
6928
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
6922
6929
|
return this.createGameEngineWithLogic();
|
|
6923
6930
|
};
|
|
6924
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6931
|
+
protoOf(GameServerEngineControllerImpl).aae = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig, botConfig) {
|
|
6925
6932
|
var combinedLogger = Companion_instance_8.mx();
|
|
6926
6933
|
var gameServer = {_v: null};
|
|
6927
6934
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -6969,7 +6976,7 @@
|
|
|
6969
6976
|
function TestHelper() {
|
|
6970
6977
|
}
|
|
6971
6978
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
6972
|
-
var tmp0 = $this.
|
|
6979
|
+
var tmp0 = $this.oae_1;
|
|
6973
6980
|
var tmp = KProperty1;
|
|
6974
6981
|
// Inline function 'kotlin.getValue' call
|
|
6975
6982
|
getPropertyCallableRef('playerAnswerInteractor', 1, tmp, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy_0(), null);
|
|
@@ -6977,7 +6984,7 @@
|
|
|
6977
6984
|
}
|
|
6978
6985
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
6979
6986
|
return function ($this$singleton) {
|
|
6980
|
-
return this$0.
|
|
6987
|
+
return this$0.mae_1;
|
|
6981
6988
|
};
|
|
6982
6989
|
}
|
|
6983
6990
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -7017,27 +7024,27 @@
|
|
|
7017
7024
|
return emptyMap();
|
|
7018
7025
|
}
|
|
7019
7026
|
function TestHelperImpl(logger) {
|
|
7020
|
-
this.
|
|
7027
|
+
this.mae_1 = logger;
|
|
7021
7028
|
var tmp = this;
|
|
7022
7029
|
var tmp_0 = Companion_instance_6;
|
|
7023
|
-
tmp.
|
|
7030
|
+
tmp.nae_1 = tmp_0.k5z(VOID, TestHelperImpl$di$lambda(this));
|
|
7024
7031
|
var tmp_1 = this;
|
|
7025
7032
|
// Inline function 'org.kodein.di.instance' call
|
|
7026
|
-
var this_0 = this.
|
|
7033
|
+
var this_0 = this.nae_1;
|
|
7027
7034
|
// Inline function 'org.kodein.type.generic' call
|
|
7028
7035
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
7029
7036
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
7030
7037
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
7031
7038
|
var tmp_4 = KProperty1;
|
|
7032
|
-
tmp_1.
|
|
7039
|
+
tmp_1.oae_1 = tmp_3.w64(this, getPropertyCallableRef('playerAnswerInteractor', 1, tmp_4, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy(), null));
|
|
7033
7040
|
}
|
|
7034
7041
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
7035
|
-
return _get_playerAnswerInteractor__msggz1(this).
|
|
7042
|
+
return _get_playerAnswerInteractor__msggz1(this).h8t(playerId, table, botConfig);
|
|
7036
7043
|
};
|
|
7037
7044
|
protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
|
|
7038
7045
|
var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
|
|
7039
7046
|
if (isInterface(mechanicAction, NextPlayerTurnAction)) {
|
|
7040
|
-
var tmp0 = mechanicAction.
|
|
7047
|
+
var tmp0 = mechanicAction.g96();
|
|
7041
7048
|
var tmp$ret$0;
|
|
7042
7049
|
$l$block_0: {
|
|
7043
7050
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -7069,7 +7076,7 @@
|
|
|
7069
7076
|
};
|
|
7070
7077
|
protoOf(TestHelperImpl).getPlayerAnswerFromMechanicAction = function (table, currentPlayerId, action, botConfig) {
|
|
7071
7078
|
if (isInterface(action, NextPlayerTurnAction)) {
|
|
7072
|
-
var tmp0 = action.
|
|
7079
|
+
var tmp0 = action.g96();
|
|
7073
7080
|
var tmp$ret$0;
|
|
7074
7081
|
$l$block_0: {
|
|
7075
7082
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -7102,14 +7109,14 @@
|
|
|
7102
7109
|
function RoomMetadata() {
|
|
7103
7110
|
var tmp = this;
|
|
7104
7111
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
7105
|
-
tmp.
|
|
7112
|
+
tmp.pae_1 = LinkedHashMap_init_$Create$();
|
|
7106
7113
|
this.extras = {};
|
|
7107
|
-
this.extras = this.
|
|
7114
|
+
this.extras = this.pae_1;
|
|
7108
7115
|
}
|
|
7109
|
-
protoOf(RoomMetadata).
|
|
7116
|
+
protoOf(RoomMetadata).qae = function () {
|
|
7110
7117
|
return this.extras;
|
|
7111
7118
|
};
|
|
7112
|
-
protoOf(RoomMetadata).
|
|
7119
|
+
protoOf(RoomMetadata).qae = function () {
|
|
7113
7120
|
return this.extras;
|
|
7114
7121
|
};
|
|
7115
7122
|
protoOf(RoomMetadata).getGame = function (gameId) {
|
|
@@ -7127,7 +7134,7 @@
|
|
|
7127
7134
|
};
|
|
7128
7135
|
protoOf(RoomMetadata).addGame = function (gameId, game) {
|
|
7129
7136
|
// Inline function 'kotlin.collections.set' call
|
|
7130
|
-
this.
|
|
7137
|
+
this.pae_1.f2(gameId, game);
|
|
7131
7138
|
};
|
|
7132
7139
|
function GameMetadata(gameId) {
|
|
7133
7140
|
this.gameId = gameId;
|
|
@@ -7136,7 +7143,7 @@
|
|
|
7136
7143
|
protoOf(GameMetadata).c54 = function () {
|
|
7137
7144
|
return this.gameId;
|
|
7138
7145
|
};
|
|
7139
|
-
protoOf(GameMetadata).
|
|
7146
|
+
protoOf(GameMetadata).qae = function () {
|
|
7140
7147
|
return this.extras;
|
|
7141
7148
|
};
|
|
7142
7149
|
function serverHelpersModule() {
|
|
@@ -7198,7 +7205,7 @@
|
|
|
7198
7205
|
protoOf(GameServer).roomOnDelete = roomOnDelete;
|
|
7199
7206
|
protoOf(GameServer).shutdown = shutdown;
|
|
7200
7207
|
defineProp(protoOf(GameServer), 'metadata', function () {
|
|
7201
|
-
return this.
|
|
7208
|
+
return this.b8m();
|
|
7202
7209
|
});
|
|
7203
7210
|
defineProp(protoOf(GameServer), 'id', function () {
|
|
7204
7211
|
return this.y53();
|
|
@@ -7217,17 +7224,17 @@
|
|
|
7217
7224
|
});
|
|
7218
7225
|
protoOf($serializer).wz = typeParametersSerializers;
|
|
7219
7226
|
defineProp(protoOf(TableStateUpdateDto), 'roomId', function () {
|
|
7220
|
-
return this.
|
|
7227
|
+
return this.u8i();
|
|
7221
7228
|
});
|
|
7222
7229
|
protoOf($serializer_0).wz = typeParametersSerializers;
|
|
7223
7230
|
defineProp(protoOf(ActionsStateUpdateDto), 'roomId', function () {
|
|
7224
|
-
return this.
|
|
7231
|
+
return this.u8i();
|
|
7225
7232
|
});
|
|
7226
7233
|
defineProp(protoOf(TableStateUpdate), 'roomId', function () {
|
|
7227
|
-
return this.
|
|
7234
|
+
return this.u8i();
|
|
7228
7235
|
});
|
|
7229
7236
|
defineProp(protoOf(ActionsStateUpdate), 'roomId', function () {
|
|
7230
|
-
return this.
|
|
7237
|
+
return this.u8i();
|
|
7231
7238
|
});
|
|
7232
7239
|
protoOf(UpdateServerConfigAction).r6f = get_actionTag;
|
|
7233
7240
|
defineProp(protoOf(UpdateServerConfigAction), 'actionTag', function () {
|
|
@@ -7242,25 +7249,25 @@
|
|
|
7242
7249
|
return this.r6f();
|
|
7243
7250
|
});
|
|
7244
7251
|
protoOf(PlayerReconnectionWaitingTimerTag).ignoreValidation = ignoreValidation;
|
|
7245
|
-
protoOf(PlayerReconnectionWaitingTimerTag).
|
|
7252
|
+
protoOf(PlayerReconnectionWaitingTimerTag).d92 = ignoreTimerResetValidation;
|
|
7246
7253
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
7247
7254
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
7248
|
-
return this.
|
|
7255
|
+
return this.uad();
|
|
7249
7256
|
});
|
|
7250
7257
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
7251
|
-
return this.
|
|
7258
|
+
return this.wad();
|
|
7252
7259
|
});
|
|
7253
7260
|
defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
|
|
7254
|
-
return this.
|
|
7261
|
+
return this.xad();
|
|
7255
7262
|
});
|
|
7256
7263
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
7257
|
-
return this.
|
|
7264
|
+
return this.yad();
|
|
7258
7265
|
});
|
|
7259
7266
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
7260
|
-
return this.
|
|
7267
|
+
return this.vad();
|
|
7261
7268
|
});
|
|
7262
7269
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
7263
|
-
return this.
|
|
7270
|
+
return this.zad();
|
|
7264
7271
|
});
|
|
7265
7272
|
//endregion
|
|
7266
7273
|
//region block: init
|