raspberry_games_server_game_logic 1.8.430 → 1.8.431
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 +8657 -8603
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.d.ts +4 -0
- package/Logic_Debertz-game_server.js +898 -897
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +4 -4
- 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.ca8(roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
405
405
|
tmp_0 = Unit_instance;
|
|
406
406
|
} else {
|
|
407
|
-
tmp_0 = $super.
|
|
407
|
+
tmp_0 = $super.ca8.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.ea8(newRid);
|
|
416
416
|
tmp = Unit_instance;
|
|
417
417
|
} else {
|
|
418
|
-
tmp = $super.
|
|
418
|
+
tmp = $super.ea8.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.fa8(reason, roomId);
|
|
427
427
|
tmp = Unit_instance;
|
|
428
428
|
} else {
|
|
429
|
-
tmp = $super.
|
|
429
|
+
tmp = $super.fa8.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.ba8(playerId, permanently) : $super.ba8.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.gae(reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig, botConfig) : $super.gae.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.v9p_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).x9p = function (it, $completion) {
|
|
526
|
+
var tmp = this.y9p(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.x9p(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.v9p_1(this.w9p_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).y9p = function (it, completion) {
|
|
553
|
+
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.v9p_1, completion);
|
|
554
|
+
i.w9p_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.x9p(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.h9q_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).j9q = function (it, $completion) {
|
|
570
|
+
var tmp = this.k9q(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.j9q((!(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.h9q_1(this.i9q_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).k9q = function (it, completion) {
|
|
597
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.h9q_1, completion);
|
|
598
|
+
i.i9q_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.j9q(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.t9q_1 = $$this$unsafeFlow;
|
|
611
|
+
this.u9q_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.t9q_1;
|
|
632
|
+
var value = this.v9q_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.u9q_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.t9q_1, this.u9q_1, completion);
|
|
658
|
+
i.v9q_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.e9r_1 = _this__u8e3s4;
|
|
672
|
+
this.f9r_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.f9r_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.e9r_1.h9r_1, null);
|
|
685
|
+
suspendResult = this.e9r_1.g9r_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.g9r_1 = $this;
|
|
709
|
+
this.h9r_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.q9r_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).s9r = function (it, $completion) {
|
|
725
|
+
var tmp = this.t9r(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.s9r((!(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.q9r_1(this.r9r_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).t9r = function (it, completion) {
|
|
752
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.q9r_1, completion);
|
|
753
|
+
i.r9r_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.s9r(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.c9s_1 = $$this$unsafeFlow;
|
|
766
|
+
this.d9s_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.c9s_1;
|
|
787
|
+
var value = this.e9s_1;
|
|
788
788
|
this.s8_1 = 1;
|
|
789
|
-
suspendResult = tmp0.n28(new ActionsStateUpdate(this.
|
|
789
|
+
suspendResult = tmp0.n28(new ActionsStateUpdate(this.d9s_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.c9s_1, this.d9s_1, completion);
|
|
813
|
+
i.e9s_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.n9s_1 = _this__u8e3s4;
|
|
827
|
+
this.o9s_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.o9s_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.n9s_1.q9s_1, null);
|
|
840
|
+
suspendResult = this.n9s_1.p9s_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.p9s_1 = $this;
|
|
864
|
+
this.q9s_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.z9s_1 = $table;
|
|
877
|
+
this.a9t_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).c9t = function ($this$flow, $completion) {
|
|
881
|
+
var tmp = this.d9t($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.c9t((!(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.b9t_1.n28(new TableStateUpdate(this.z9s_1.id, this.z9s_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.a9t_1).o8r(), fromInt(_get_serverReduxConfig__rprcrm(this.a9t_1).serverStateUpdateIntervalMillis));
|
|
907
|
+
suspendResult = emitAll(this.b9t_1, new _no_name_provided__qut3iv(this_0, this.z9s_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).d9t = function ($this$flow, completion) {
|
|
930
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.z9s_1, this.a9t_1, completion);
|
|
931
|
+
i.b9t_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.c9t($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.m9t_1 = $$this$unsafeFlow;
|
|
944
|
+
this.n9t_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.s9t_1 = this.m9t_1;
|
|
966
966
|
var tmp_1 = this;
|
|
967
|
-
tmp_1.
|
|
967
|
+
tmp_1.r9t_1 = this.o9t_1;
|
|
968
968
|
this.s8_1 = 1;
|
|
969
969
|
continue $sm;
|
|
970
970
|
case 1:
|
|
971
|
-
this.
|
|
972
|
-
var it = this.
|
|
971
|
+
this.p9t_1 = this.s9t_1;
|
|
972
|
+
var it = this.r9t_1;
|
|
973
973
|
var tmp_2;
|
|
974
|
-
if (get_isCreated(this.
|
|
974
|
+
if (get_isCreated(this.n9t_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.q9t_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.q9t_1;
|
|
993
993
|
this.s8_1 = 3;
|
|
994
|
-
suspendResult = this.
|
|
994
|
+
suspendResult = this.p9t_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.m9t_1, this.n9t_1, completion);
|
|
1026
|
+
i.o9t_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.b9u_1 = _this__u8e3s4;
|
|
1040
|
+
this.c9u_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.c9u_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.b9u_1.e9u_1, null);
|
|
1053
|
+
suspendResult = this.b9u_1.d9u_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.n9u_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.s9u_1 = this.n9u_1;
|
|
1098
1098
|
var tmp_1 = this;
|
|
1099
|
-
tmp_1.
|
|
1099
|
+
tmp_1.r9u_1 = this.o9u_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.p9u_1 = this.s9u_1;
|
|
1104
|
+
var tmp0_elvis_lhs = this.r9u_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.q9u_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.q9u_1;
|
|
1117
1117
|
this.s8_1 = 3;
|
|
1118
|
-
suspendResult = this.
|
|
1118
|
+
suspendResult = this.p9u_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.n9u_1, completion);
|
|
1150
|
+
i.o9u_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.b9v_1 = _this__u8e3s4;
|
|
1164
|
+
this.c9v_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.c9v_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.b9v_1.d9v_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.m9v_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.m9v_1;
|
|
1221
|
+
var value = this.n9v_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.m9v_1, completion);
|
|
1247
|
+
i.n9v_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.w9v_1 = _this__u8e3s4;
|
|
1261
|
+
this.x9v_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.x9v_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.w9v_1.y9v_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.h9w_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.h9w_1;
|
|
1318
|
+
var value = this.i9w_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.h9w_1, completion);
|
|
1344
|
+
i.i9w_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.r9w_1 = _this__u8e3s4;
|
|
1358
|
+
this.s9w_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.s9w_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.r9w_1.t9w_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.c9x_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).e9x = function (it, $completion) {
|
|
1398
|
+
var tmp = this.f9x(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.e9x(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.c9x_1(this.d9x_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).f9x = function (it, completion) {
|
|
1425
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.c9x_1, completion);
|
|
1426
|
+
i.d9x_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.e9x(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.k9x_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.l9x_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.m9x_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.n9x_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.o9x_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.p9x_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.q9x_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.r9x_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.s9x_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.t9x_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.u9x_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).h8z(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.i8r(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).j8r(updatedTeams);
|
|
1639
1639
|
}
|
|
1640
1640
|
function Companion() {
|
|
1641
|
-
this.
|
|
1641
|
+
this.w9x_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.x9x_1 = function_0;
|
|
1649
1649
|
}
|
|
1650
1650
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).n28 = function (value, $completion) {
|
|
1651
|
-
return this.
|
|
1651
|
+
return this.x9x_1(value, $completion);
|
|
1652
1652
|
};
|
|
1653
1653
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).b3 = function () {
|
|
1654
|
-
return this.
|
|
1654
|
+
return this.x9x_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.y9x_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.y9x_1(value, $completion);
|
|
1679
1679
|
};
|
|
1680
1680
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).b3 = function () {
|
|
1681
|
-
return this.
|
|
1681
|
+
return this.y9x_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.z9x_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.z9x_1(value, $completion);
|
|
1706
1706
|
};
|
|
1707
1707
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).b3 = function () {
|
|
1708
|
-
return this.
|
|
1708
|
+
return this.z9x_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.a9y_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.a9y_1(value, $completion);
|
|
1733
1733
|
};
|
|
1734
1734
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).b3 = function () {
|
|
1735
|
-
return this.
|
|
1735
|
+
return this.a9y_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.b9y_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.b9y_1(value, $completion);
|
|
1760
1760
|
};
|
|
1761
1761
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).b3 = function () {
|
|
1762
|
-
return this.
|
|
1762
|
+
return this.b9y_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.c9y_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.c9y_1(value, $completion);
|
|
1787
1787
|
};
|
|
1788
1788
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).b3 = function () {
|
|
1789
|
-
return this.
|
|
1789
|
+
return this.c9y_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.l9y_1 = this$0;
|
|
1921
|
+
this.m9y_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.l9y_1).o9y();
|
|
1943
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.m9y_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.l9y_1, this.m9y_1, completion);
|
|
1968
|
+
i.n9y_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.x9y_1 = this$0;
|
|
1981
|
+
this.y9y_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.x9y_1);
|
|
2003
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.y9y_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.x9y_1, this.y9y_1, completion);
|
|
2028
|
+
i.z9y_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.i9z_1 = this$0;
|
|
2041
|
+
this.j9z_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.i9z_1);
|
|
2063
|
+
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.i9z_1);
|
|
2064
|
+
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.j9z_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.i9z_1, this.j9z_1, completion);
|
|
2089
|
+
i.k9z_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.t9z_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).w9z = function ($this$transformLatest, it, $completion) {
|
|
2105
|
+
var tmp = this.x9z($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.w9z(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.v9z_1;
|
|
2124
|
+
suspendResult = emitAll(this.u9z_1, flow(GameServer$observeTableStateUpdates$slambda$slambda_0(table, this.t9z_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).x9z = function ($this$transformLatest, it, completion) {
|
|
2147
|
+
var i = new GameServer$observeTableStateUpdates$slambda(this.t9z_1, completion);
|
|
2148
|
+
i.u9z_1 = $this$transformLatest;
|
|
2149
|
+
i.v9z_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.w9z($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.d9u_1 = $this;
|
|
2162
|
+
this.e9u_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.d9v_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.y9v_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.t9w_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.ga0_1 = this$0;
|
|
2214
|
+
this.ha0_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.ga0_1.y6q());
|
|
2236
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.ha0_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.ga0_1, this.ha0_1, completion);
|
|
2261
|
+
i.ia0_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.ra0_1 = $action;
|
|
2274
2274
|
CoroutineImpl.call(this, resultContinuation);
|
|
2275
2275
|
}
|
|
2276
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
2277
|
-
var tmp = this.
|
|
2276
|
+
protoOf(GameServer$fromClientEvent$slambda).ua0 = function ($this$dispatchAsync, store, $completion) {
|
|
2277
|
+
var tmp = this.va0($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.ua0(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.ra0_1 instanceof PlayerReadyFromClientAction)
|
|
2294
|
+
if (!get_isCreated(this.ta0_1.state)) {
|
|
2295
2295
|
return Unit_instance;
|
|
2296
2296
|
}
|
|
2297
|
-
this.
|
|
2297
|
+
this.ta0_1.dispatch(this.ra0_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).va0 = function ($this$dispatchAsync, store, completion) {
|
|
2309
|
+
var i = new GameServer$fromClientEvent$slambda(this.ra0_1, completion);
|
|
2310
|
+
i.sa0_1 = $this$dispatchAsync;
|
|
2311
|
+
i.ta0_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.ua0($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.ea1_1 = $playerId;
|
|
2324
2324
|
CoroutineImpl.call(this, resultContinuation);
|
|
2325
2325
|
}
|
|
2326
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2327
|
-
var tmp = this.
|
|
2326
|
+
protoOf(GameServer$playerLostConnection$slambda).ua0 = function ($this$dispatchAsync, store, $completion) {
|
|
2327
|
+
var tmp = this.va0($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.ua0(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.ga1_1.state)) {
|
|
2344
2344
|
return Unit_instance;
|
|
2345
2345
|
}
|
|
2346
|
-
var tmp_0 = this.
|
|
2346
|
+
var tmp_0 = this.ga1_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.ea1_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).va0 = function ($this$dispatchAsync, store, completion) {
|
|
2360
|
+
var i = new GameServer$playerLostConnection$slambda(this.ea1_1, completion);
|
|
2361
|
+
i.fa1_1 = $this$dispatchAsync;
|
|
2362
|
+
i.ga1_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.ua0($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.pa1_1 = this$0;
|
|
2375
|
+
this.qa1_1 = $playerId;
|
|
2376
2376
|
CoroutineImpl.call(this, resultContinuation);
|
|
2377
2377
|
}
|
|
2378
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2379
|
-
var tmp = this.
|
|
2378
|
+
protoOf(GameServer$playerLive$slambda).ua0 = function ($this$dispatchAsync, store, $completion) {
|
|
2379
|
+
var tmp = this.va0($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.ua0(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.sa1_1.state) || get_isFinishing(this.sa1_1.state)) {
|
|
2396
2396
|
return Unit_instance;
|
|
2397
2397
|
}
|
|
2398
|
-
if (!_get_serverReduxConfig__rprcrm(this.
|
|
2399
|
-
this.
|
|
2398
|
+
if (!_get_serverReduxConfig__rprcrm(this.pa1_1).waitForPlayerToConnectOnStart && (!get_isCreated(this.sa1_1.state) || !this.pa1_1.t66().b6s())) {
|
|
2399
|
+
this.pa1_1.h4q().v('GameEngine_API', 'playerLive: ' + this.qa1_1 + ' before game is created');
|
|
2400
2400
|
return Unit_instance;
|
|
2401
2401
|
}
|
|
2402
|
-
var tmp_0 = this.
|
|
2402
|
+
var tmp_0 = this.sa1_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.qa1_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).va0 = function ($this$dispatchAsync, store, completion) {
|
|
2416
|
+
var i = new GameServer$playerLive$slambda(this.pa1_1, this.qa1_1, completion);
|
|
2417
|
+
i.ra1_1 = $this$dispatchAsync;
|
|
2418
|
+
i.sa1_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.ua0($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.ba2_1 = this$0;
|
|
2431
|
+
this.ca2_1 = $playerId;
|
|
2432
|
+
this.da2_1 = $permanently;
|
|
2433
2433
|
CoroutineImpl.call(this, resultContinuation);
|
|
2434
2434
|
}
|
|
2435
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2436
|
-
var tmp = this.
|
|
2435
|
+
protoOf(GameServer$playerLeft$slambda).ua0 = function ($this$dispatchAsync, store, $completion) {
|
|
2436
|
+
var tmp = this.va0($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.ua0(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.fa2_1.state) || get_isFinishing(this.fa2_1.state)) {
|
|
2453
2453
|
return Unit_instance;
|
|
2454
2454
|
}
|
|
2455
|
-
if (!get_isCreated(this.
|
|
2456
|
-
this.
|
|
2455
|
+
if (!get_isCreated(this.fa2_1.state) || !this.ba2_1.t66().b6s()) {
|
|
2456
|
+
this.ba2_1.h4q().w('GameEngine_API', 'playerLeft: ' + this.ca2_1 + ' before game is created');
|
|
2457
2457
|
return Unit_instance;
|
|
2458
2458
|
}
|
|
2459
|
-
var tmp_0 = this.
|
|
2459
|
+
var tmp_0 = this.fa2_1.dispatch;
|
|
2460
2460
|
var tmp_1;
|
|
2461
|
-
if (this.
|
|
2461
|
+
if (this.da2_1) {
|
|
2462
2462
|
tmp_1 = PlayerConnectionState_LEFT_PERMANENTLY_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.ca2_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).va0 = function ($this$dispatchAsync, store, completion) {
|
|
2479
|
+
var i = new GameServer$playerLeft$slambda(this.ba2_1, this.ca2_1, this.da2_1, completion);
|
|
2480
|
+
i.ea2_1 = $this$dispatchAsync;
|
|
2481
|
+
i.fa2_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.ua0($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.oa2_1 = $usersArray;
|
|
2494
|
+
this.pa2_1 = this$0;
|
|
2495
|
+
this.qa2_1 = $config;
|
|
2496
|
+
this.ra2_1 = $roomId;
|
|
2497
|
+
this.sa2_1 = $transition;
|
|
2498
|
+
this.ta2_1 = $gameCreatorId;
|
|
2499
|
+
this.ua2_1 = $spectators;
|
|
2500
2500
|
CoroutineImpl.call(this, resultContinuation);
|
|
2501
2501
|
}
|
|
2502
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2503
|
-
var tmp = this.
|
|
2502
|
+
protoOf(GameServer$roomOnCreate$slambda).ua0 = function ($this$dispatchAsync, store, $completion) {
|
|
2503
|
+
var tmp = this.va0($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.ua0(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.oa2_1);
|
|
2520
|
+
if (!validatePlayerCount(this.pa2_1, this.qa2_1, users, this.ra2_1)) {
|
|
2521
|
+
this.wa2_1.dispatch(Companion_instance.fromTableWithAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.pa2_1.table.isGameFinished, this.pa2_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.pa2_1, users, this.qa2_1, this.sa2_1);
|
|
2525
|
+
var gameCreatorUser = getPlayer(users, this.ta2_1);
|
|
2526
|
+
var tmp_0 = this.wa2_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.ua2_1);
|
|
2530
|
+
tmp_0(new StartGameMechanicAction(this.qa2_1, this.ra2_1, tmp0_version, this.ta2_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).va0 = function ($this$dispatchAsync, store, completion) {
|
|
2542
|
+
var i = new GameServer$roomOnCreate$slambda(this.oa2_1, this.pa2_1, this.qa2_1, this.ra2_1, this.sa2_1, this.ta2_1, this.ua2_1, completion);
|
|
2543
|
+
i.va2_1 = $this$dispatchAsync;
|
|
2544
|
+
i.wa2_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.ua0($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.xa2_1 = $playerId;
|
|
2557
2557
|
}
|
|
2558
2558
|
protoOf(GameServer$preserveTeams$previousTeams$1).v65 = function () {
|
|
2559
|
-
return this.
|
|
2559
|
+
return this.xa2_1;
|
|
2560
2560
|
};
|
|
2561
2561
|
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
2562
|
-
this.
|
|
2562
|
+
this.ga3_1 = $state;
|
|
2563
2563
|
CoroutineImpl.call(this, resultContinuation);
|
|
2564
2564
|
}
|
|
2565
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2566
|
-
var tmp = this.
|
|
2565
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).ja3 = function ($this$dispatchAwait, store, $completion) {
|
|
2566
|
+
var tmp = this.va0($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.ja3(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.ia3_1.state)) {
|
|
2583
|
+
var tmp_0 = this.ia3_1.dispatch;
|
|
2584
2584
|
var tmp0_reason = new RestartRoundReason(null);
|
|
2585
|
-
var tmp1_table = this.
|
|
2585
|
+
var tmp1_table = this.ga3_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).va0 = function ($this$dispatchAwait, store, completion) {
|
|
2600
|
+
var i = new GameServer$roomOnContinueFromState$slambda(this.ga3_1, completion);
|
|
2601
|
+
i.ha3_1 = $this$dispatchAwait;
|
|
2602
|
+
i.ia3_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.ja3($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.sa3_1 = $isCreated;
|
|
2615
|
+
this.ta3_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).ua0 = function ($this$dispatchAsync, store, $completion) {
|
|
2619
|
+
var tmp = this.va0($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.ua0(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.sa3_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.ta3_1.actions.l();
|
|
2646
2646
|
while (_iterator__ex2g4s.m()) {
|
|
2647
2647
|
var element = _iterator__ex2g4s.n();
|
|
2648
|
-
this.
|
|
2648
|
+
this.va3_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).va0 = function ($this$dispatchAsync, store, completion) {
|
|
2674
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1(this.sa3_1, this.ta3_1, completion);
|
|
2675
|
+
i.ua3_1 = $this$dispatchAsync;
|
|
2676
|
+
i.va3_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.ua0($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.ea4_1 = $tableLite;
|
|
2689
|
+
this.fa4_1 = $roomId;
|
|
2690
|
+
this.ga4_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).ua0 = function ($this$dispatchAsync, store, $completion) {
|
|
2694
|
+
var tmp = this.va0($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.ua0(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.ia4_1.dispatch;
|
|
2711
|
+
var tmp0_reason = new RestartRoundReason(this.ea4_1.gameInfo.round.roundNumber);
|
|
2712
|
+
var tmp1_table = Companion_instance_0.restartRound(this.fa4_1, _get_idsProvider__fnfajc(this.ga4_1).e6e(), get_versionOrDefault(GameEngineConfig_instance), this.ea4_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).va0 = function ($this$dispatchAsync, store, completion) {
|
|
2725
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.ea4_1, this.fa4_1, this.ga4_1, completion);
|
|
2726
|
+
i.ha4_1 = $this$dispatchAsync;
|
|
2727
|
+
i.ia4_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.ua0($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).ua0 = function ($this$dispatchAsync, store, $completion) {
|
|
2742
|
+
var tmp = this.va0($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.ua0(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.sa4_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).va0 = function ($this$dispatchAsync, store, completion) {
|
|
2770
2770
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
2771
|
-
i.
|
|
2772
|
-
i.
|
|
2771
|
+
i.ra4_1 = $this$dispatchAsync;
|
|
2772
|
+
i.sa4_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.ua0($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.ba5_1 = $spectators;
|
|
2785
2785
|
CoroutineImpl.call(this, resultContinuation);
|
|
2786
2786
|
}
|
|
2787
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2788
|
-
var tmp = this.
|
|
2787
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).ua0 = function ($this$dispatchAsync, store, $completion) {
|
|
2788
|
+
var tmp = this.va0($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.ua0(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.da5_1.dispatch(new AddSpectatorsAction(toList(this.ba5_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).va0 = function ($this$dispatchAsync, store, completion) {
|
|
2816
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.ba5_1, completion);
|
|
2817
|
+
i.ca5_1 = $this$dispatchAsync;
|
|
2818
|
+
i.da5_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.ua0($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.ma5_1 = $spectators;
|
|
2831
2831
|
CoroutineImpl.call(this, resultContinuation);
|
|
2832
2832
|
}
|
|
2833
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2834
|
-
var tmp = this.
|
|
2833
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).ua0 = function ($this$dispatchAsync, store, $completion) {
|
|
2834
|
+
var tmp = this.va0($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.ua0(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.oa5_1.dispatch(new RemoveSpectatorsAction(toList(this.ma5_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).va0 = function ($this$dispatchAsync, store, completion) {
|
|
2862
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.ma5_1, completion);
|
|
2863
|
+
i.na5_1 = $this$dispatchAsync;
|
|
2864
|
+
i.oa5_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.ua0($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.xa5_1 = $playerId;
|
|
2877
|
+
this.ya5_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).ua0 = function ($this$dispatchAsync, store, $completion) {
|
|
2881
|
+
var tmp = this.va0($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.ua0(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.aa6_1.state.z6r();
|
|
2898
|
+
var player = getPlayer(table.players, this.xa5_1);
|
|
2899
2899
|
if (player.k6v_1.a69().n67_1.isLive) {
|
|
2900
|
-
this.
|
|
2900
|
+
this.aa6_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.ya5_1).ba6(player, table));
|
|
2901
2901
|
} else {
|
|
2902
|
-
var tmp_0 = this.
|
|
2902
|
+
var tmp_0 = this.aa6_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.xa5_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).va0 = function ($this$dispatchAsync, store, completion) {
|
|
2917
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.xa5_1, this.ya5_1, completion);
|
|
2918
|
+
i.za5_1 = $this$dispatchAsync;
|
|
2919
|
+
i.aa6_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.ua0($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.ka6_1 = this$0;
|
|
2932
|
+
this.la6_1 = $newRid;
|
|
2933
2933
|
CoroutineImpl.call(this, resultContinuation);
|
|
2934
2934
|
}
|
|
2935
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2936
|
-
var tmp = this.
|
|
2935
|
+
protoOf(GameServer$roomOnDelete$slambda).ua0 = function ($this$dispatchAsync, store, $completion) {
|
|
2936
|
+
var tmp = this.va0($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.ua0(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.ka6_1.t66().z6q_1;
|
|
2953
2953
|
var tmp_0;
|
|
2954
2954
|
if (it == null) {
|
|
2955
|
-
this.
|
|
2955
|
+
this.ka6_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.a93_1;
|
|
2962
2962
|
var tmp_1;
|
|
2963
2963
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
2964
|
-
var tmp0_elvis_lhs = this.
|
|
2964
|
+
var tmp0_elvis_lhs = this.la6_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.na6_1.dispatch;
|
|
2971
|
+
var tmp0_reason = terminationState.z92_1;
|
|
2972
|
+
var tmp1_isGameFinished = this.ka6_1.t66().z6r().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).va0 = function ($this$dispatchAsync, store, completion) {
|
|
2985
|
+
var i = new GameServer$roomOnDelete$slambda(this.ka6_1, this.la6_1, completion);
|
|
2986
|
+
i.ma6_1 = $this$dispatchAsync;
|
|
2987
|
+
i.na6_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.ua0($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.wa6_1 = $enabled;
|
|
3000
3000
|
CoroutineImpl.call(this, resultContinuation);
|
|
3001
3001
|
}
|
|
3002
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
3003
|
-
var tmp = this.
|
|
3002
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).ua0 = function ($this$dispatchAsync, store, $completion) {
|
|
3003
|
+
var tmp = this.va0($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.ua0(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.ya6_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload_0(this.ya6_1.state).config.copy(VOID, !this.wa6_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).va0 = function ($this$dispatchAsync, store, completion) {
|
|
3031
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.wa6_1, completion);
|
|
3032
|
+
i.xa6_1 = $this$dispatchAsync;
|
|
3033
|
+
i.ya6_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.ua0($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.ha7_1 = $reason;
|
|
3046
|
+
this.ia7_1 = this$0;
|
|
3047
|
+
this.ja7_1 = $roomId;
|
|
3048
3048
|
CoroutineImpl.call(this, resultContinuation);
|
|
3049
3049
|
}
|
|
3050
|
-
protoOf(GameServer$shutdown$slambda).
|
|
3051
|
-
var tmp = this.
|
|
3050
|
+
protoOf(GameServer$shutdown$slambda).ua0 = function ($this$dispatchAsync, store, $completion) {
|
|
3051
|
+
var tmp = this.va0($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.ua0(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.la7_1.store.state;
|
|
3068
3068
|
if (state.b6s()) {
|
|
3069
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
3069
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.ha7_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.la7_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.ia7_1.table.isGameFinished, this.ia7_1.table));
|
|
3086
3086
|
} else {
|
|
3087
|
-
this.
|
|
3088
|
-
var tmp_3 = this.
|
|
3087
|
+
this.ia7_1.h4q().w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.ja7_1);
|
|
3088
|
+
var tmp_3 = this.la7_1.dispatch;
|
|
3089
3089
|
var tmp2_safe_receiver = state.z6q_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.a93_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).va0 = function ($this$dispatchAsync, store, completion) {
|
|
3103
|
+
var i = new GameServer$shutdown$slambda(this.ha7_1, this.ia7_1, this.ja7_1, completion);
|
|
3104
|
+
i.ka7_1 = $this$dispatchAsync;
|
|
3105
|
+
i.la7_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.ua0($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.ua7_1 = $botChatInteractor;
|
|
3118
|
+
this.va7_1 = $message;
|
|
3119
|
+
this.wa7_1 = $fromPlayerId;
|
|
3120
|
+
this.xa7_1 = $onMessageGenerated;
|
|
3121
|
+
this.ya7_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).ua0 = function ($this$dispatchAsync, store, $completion) {
|
|
3125
|
+
var tmp = this.va0($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.ua0(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.aa8_1.store.state;
|
|
3143
3143
|
if (state.b6s()) {
|
|
3144
3144
|
var tmp0_table = state.z6r();
|
|
3145
3145
|
this.s8_1 = 1;
|
|
3146
|
-
suspendResult = this.
|
|
3146
|
+
suspendResult = this.ua7_1.v8r(tmp0_table, this.va7_1, this.wa7_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.ya7_1.h4q().w('GameEngine_API', "GameServer: can't generate message without table, " + this.wa7_1);
|
|
3153
|
+
var tmp_0 = this.aa8_1.dispatch;
|
|
3154
3154
|
var tmp1_safe_receiver = state.z6q_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.a93_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.xa7_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).va0 = function ($this$dispatchAsync, store, completion) {
|
|
3185
|
+
var i = new GameServer$handlePlayerMessage$slambda(this.ua7_1, this.va7_1, this.wa7_1, this.xa7_1, this.ya7_1, completion);
|
|
3186
|
+
i.za7_1 = $this$dispatchAsync;
|
|
3187
|
+
i.aa8_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.ua0($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.k9x_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.l9x_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.m9x_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.n9x_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.o9x_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.p9x_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.q9x_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.r9x_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.s9x_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.t9x_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.u9x_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.r97(), externalMiddlewares);
|
|
3301
|
+
var tmp1_externalReducers = plus(storeContract.q97(), externalReducers);
|
|
3302
|
+
tmp_42.v9x_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
3303
3303
|
}
|
|
3304
3304
|
protoOf(GameServer).p6q = function () {
|
|
3305
|
-
return this.
|
|
3305
|
+
return this.v9x_1;
|
|
3306
3306
|
};
|
|
3307
|
-
protoOf(GameServer).
|
|
3307
|
+
protoOf(GameServer).f8m = function () {
|
|
3308
3308
|
return get_serverStatePayload_0(this.t66()).metadata;
|
|
3309
3309
|
};
|
|
3310
3310
|
protoOf(GameServer).canReconnectPlayer = function (playerId) {
|
|
@@ -3350,17 +3350,17 @@
|
|
|
3350
3350
|
};
|
|
3351
3351
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
3352
3352
|
this.h4q().d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
3353
|
-
this.
|
|
3353
|
+
this.v9x_1.x6r(GameServer$fromClientEvent$slambda_0(action, null));
|
|
3354
3354
|
};
|
|
3355
3355
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
3356
3356
|
this.h4q().d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
3357
|
-
this.
|
|
3357
|
+
this.v9x_1.x6r(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
3358
3358
|
};
|
|
3359
3359
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
3360
3360
|
this.h4q().d('GameEngine_API', 'playerLive: ' + playerId);
|
|
3361
|
-
this.
|
|
3361
|
+
this.v9x_1.x6r(GameServer$playerLive$slambda_0(this, playerId, null));
|
|
3362
3362
|
};
|
|
3363
|
-
protoOf(GameServer).
|
|
3363
|
+
protoOf(GameServer).ba8 = function (playerId, permanently) {
|
|
3364
3364
|
this.h4q().d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
3365
3365
|
var tmp;
|
|
3366
3366
|
if (this.t66().b6s()) {
|
|
@@ -3369,32 +3369,33 @@
|
|
|
3369
3369
|
tmp = null;
|
|
3370
3370
|
}
|
|
3371
3371
|
var result = tmp;
|
|
3372
|
-
this.
|
|
3372
|
+
this.v9x_1.x6r(GameServer$playerLeft$slambda_0(this, playerId, permanently, null));
|
|
3373
|
+
this.h4q().d('GameEngine_API', 'playerLeft result: ' + toString_0(result));
|
|
3373
3374
|
return result;
|
|
3374
3375
|
};
|
|
3375
|
-
protoOf(GameServer).
|
|
3376
|
+
protoOf(GameServer).ca8 = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
3376
3377
|
this.h4q().d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
3377
|
-
this.
|
|
3378
|
+
this.v9x_1.x6r(GameServer$roomOnCreate$slambda_0(usersArray, this, config, roomId, transition, gameCreatorId, spectators, null));
|
|
3378
3379
|
};
|
|
3379
3380
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
3380
3381
|
this.h4q().d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
3381
|
-
var isCreated = this.
|
|
3382
|
-
this.
|
|
3382
|
+
var isCreated = this.v9x_1.y6r(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
3383
|
+
this.v9x_1.x6r(GameServer$roomOnContinueFromState$slambda_2(isCreated, state, null));
|
|
3383
3384
|
};
|
|
3384
3385
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
3385
3386
|
this.h4q().d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
3386
|
-
this.
|
|
3387
|
-
this.
|
|
3387
|
+
this.v9x_1.x6r(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
3388
|
+
this.v9x_1.x6r(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
3388
3389
|
};
|
|
3389
3390
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
3390
|
-
this.
|
|
3391
|
+
this.v9x_1.x6r(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
3391
3392
|
};
|
|
3392
3393
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
3393
|
-
this.
|
|
3394
|
+
this.v9x_1.x6r(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
3394
3395
|
};
|
|
3395
3396
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
3396
3397
|
this.h4q().d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
3397
|
-
this.
|
|
3398
|
+
this.v9x_1.x6r(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
3398
3399
|
};
|
|
3399
3400
|
protoOf(GameServer).getToClientFinishActionBeforeDisconnect = function (playerId, previousState, originState) {
|
|
3400
3401
|
if (!this.isTableExists) {
|
|
@@ -3404,24 +3405,24 @@
|
|
|
3404
3405
|
var table = this.table;
|
|
3405
3406
|
var player = getPlayer(table.players, playerId);
|
|
3406
3407
|
this.h4q().d('GameEngine_API', 'getToClientFinishActionBeforeDisconnect: ' + playerId + ', ' + ('state = ' + player.k6v_1.a69().n67_1.toString() + ', ') + ('isBot = ' + player.j6v_1.isBot));
|
|
3407
|
-
var actions = _get_playerConnectionInteractor__si6cxf(this).
|
|
3408
|
+
var actions = _get_playerConnectionInteractor__si6cxf(this).da8(playerId, previousState.isLive, table.id, mapToFinishReason(originState, player, table.playersConnections), table.isGameFinished);
|
|
3408
3409
|
this.h4q().d('GameEngine_API', 'getToClientFinishActionBeforeDisconnect: ' + toString(actions));
|
|
3409
3410
|
if (actions.r()) {
|
|
3410
3411
|
return null;
|
|
3411
3412
|
}
|
|
3412
3413
|
return new CombinedToClientAction(actions, Companion_instance_1.user(_get_idsProvider__fnfajc(this).e6e(), table.id, playerId));
|
|
3413
3414
|
};
|
|
3414
|
-
protoOf(GameServer).
|
|
3415
|
+
protoOf(GameServer).ea8 = function (newRid) {
|
|
3415
3416
|
this.h4q().d('GameEngine_API', 'roomOnDelete: newRid = ' + newRid);
|
|
3416
|
-
this.
|
|
3417
|
+
this.v9x_1.x6r(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
3417
3418
|
};
|
|
3418
3419
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
3419
3420
|
this.h4q().d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
3420
|
-
this.
|
|
3421
|
+
this.v9x_1.x6r(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
3421
3422
|
};
|
|
3422
|
-
protoOf(GameServer).
|
|
3423
|
+
protoOf(GameServer).fa8 = function (reason, roomId) {
|
|
3423
3424
|
this.h4q().d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
3424
|
-
this.
|
|
3425
|
+
this.v9x_1.x6r(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
3425
3426
|
};
|
|
3426
3427
|
protoOf(GameServer).handlePlayerMessage = function (message, fromPlayerId, onMessageGenerated) {
|
|
3427
3428
|
var tmp0_elvis_lhs = _get_botChatInteractor__17f3on(this);
|
|
@@ -3433,7 +3434,7 @@
|
|
|
3433
3434
|
}
|
|
3434
3435
|
var botChatInteractor = tmp;
|
|
3435
3436
|
this.h4q().d('GameEngine_API', 'handlePlayerMessage: ' + fromPlayerId);
|
|
3436
|
-
this.
|
|
3437
|
+
this.v9x_1.x6r(GameServer$handlePlayerMessage$slambda_0(botChatInteractor, message, fromPlayerId, onMessageGenerated, this, null));
|
|
3437
3438
|
};
|
|
3438
3439
|
protoOf(GameServer).clear = function () {
|
|
3439
3440
|
return this.i2();
|
|
@@ -3487,13 +3488,13 @@
|
|
|
3487
3488
|
this.shouldFinishGameWhenDeploy = shouldFinishGameWhenDeploy;
|
|
3488
3489
|
this.shouldFinishGameWithBots = shouldFinishGameWithBots;
|
|
3489
3490
|
}
|
|
3490
|
-
protoOf(ServerConfig).
|
|
3491
|
+
protoOf(ServerConfig).ga8 = function () {
|
|
3491
3492
|
return this.fromRound;
|
|
3492
3493
|
};
|
|
3493
|
-
protoOf(ServerConfig).
|
|
3494
|
+
protoOf(ServerConfig).ha8 = function () {
|
|
3494
3495
|
return this.shouldFinishGameWhenDeploy;
|
|
3495
3496
|
};
|
|
3496
|
-
protoOf(ServerConfig).
|
|
3497
|
+
protoOf(ServerConfig).ia8 = function () {
|
|
3497
3498
|
return this.shouldFinishGameWithBots;
|
|
3498
3499
|
};
|
|
3499
3500
|
protoOf(ServerConfig).oe = function () {
|
|
@@ -3505,14 +3506,14 @@
|
|
|
3505
3506
|
protoOf(ServerConfig).xl = function () {
|
|
3506
3507
|
return this.shouldFinishGameWithBots;
|
|
3507
3508
|
};
|
|
3508
|
-
protoOf(ServerConfig).
|
|
3509
|
+
protoOf(ServerConfig).ja8 = function (fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots) {
|
|
3509
3510
|
return new ServerConfig(fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots);
|
|
3510
3511
|
};
|
|
3511
3512
|
protoOf(ServerConfig).copy = function (fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots, $super) {
|
|
3512
3513
|
fromRound = fromRound === VOID ? this.fromRound : fromRound;
|
|
3513
3514
|
shouldFinishGameWhenDeploy = shouldFinishGameWhenDeploy === VOID ? this.shouldFinishGameWhenDeploy : shouldFinishGameWhenDeploy;
|
|
3514
3515
|
shouldFinishGameWithBots = shouldFinishGameWithBots === VOID ? this.shouldFinishGameWithBots : shouldFinishGameWithBots;
|
|
3515
|
-
return $super === VOID ? this.
|
|
3516
|
+
return $super === VOID ? this.ja8(fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots) : $super.ja8.call(this, fromRound, shouldFinishGameWhenDeploy, shouldFinishGameWithBots);
|
|
3516
3517
|
};
|
|
3517
3518
|
protoOf(ServerConfig).toString = function () {
|
|
3518
3519
|
return 'ServerConfig(fromRound=' + this.fromRound + ', shouldFinishGameWhenDeploy=' + this.shouldFinishGameWhenDeploy + ', shouldFinishGameWithBots=' + this.shouldFinishGameWithBots + ')';
|
|
@@ -3577,20 +3578,20 @@
|
|
|
3577
3578
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.TableStateUpdateDto', this, 2);
|
|
3578
3579
|
tmp0_serialDesc.gz('roomId', false);
|
|
3579
3580
|
tmp0_serialDesc.gz('table', false);
|
|
3580
|
-
this.
|
|
3581
|
+
this.ka8_1 = tmp0_serialDesc;
|
|
3581
3582
|
}
|
|
3582
|
-
protoOf($serializer).
|
|
3583
|
-
var tmp0_desc = this.
|
|
3583
|
+
protoOf($serializer).la8 = function (encoder, value) {
|
|
3584
|
+
var tmp0_desc = this.ka8_1;
|
|
3584
3585
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3585
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
3586
|
+
tmp1_output.dt(tmp0_desc, 0, value.ma8_1);
|
|
3586
3587
|
tmp1_output.dt(tmp0_desc, 1, value.table);
|
|
3587
3588
|
tmp1_output.pr(tmp0_desc);
|
|
3588
3589
|
};
|
|
3589
3590
|
protoOf($serializer).co = function (encoder, value) {
|
|
3590
|
-
return this.
|
|
3591
|
+
return this.la8(encoder, value instanceof TableStateUpdateDto ? value : THROW_CCE());
|
|
3591
3592
|
};
|
|
3592
3593
|
protoOf($serializer).do = function (decoder) {
|
|
3593
|
-
var tmp0_desc = this.
|
|
3594
|
+
var tmp0_desc = this.ka8_1;
|
|
3594
3595
|
var tmp1_flag = true;
|
|
3595
3596
|
var tmp2_index = 0;
|
|
3596
3597
|
var tmp3_bitMask0 = 0;
|
|
@@ -3625,7 +3626,7 @@
|
|
|
3625
3626
|
return TableStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3626
3627
|
};
|
|
3627
3628
|
protoOf($serializer).bo = function () {
|
|
3628
|
-
return this.
|
|
3629
|
+
return this.ka8_1;
|
|
3629
3630
|
};
|
|
3630
3631
|
protoOf($serializer).vz = function () {
|
|
3631
3632
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3641,9 +3642,9 @@
|
|
|
3641
3642
|
}
|
|
3642
3643
|
function TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, $this) {
|
|
3643
3644
|
if (!(3 === (3 & seen0))) {
|
|
3644
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance().
|
|
3645
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance().ka8_1);
|
|
3645
3646
|
}
|
|
3646
|
-
$this.
|
|
3647
|
+
$this.ma8_1 = roomId;
|
|
3647
3648
|
$this.table = table;
|
|
3648
3649
|
return $this;
|
|
3649
3650
|
}
|
|
@@ -3651,17 +3652,17 @@
|
|
|
3651
3652
|
return TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, objectCreate(protoOf(TableStateUpdateDto)));
|
|
3652
3653
|
}
|
|
3653
3654
|
function TableStateUpdateDto(roomId, table) {
|
|
3654
|
-
this.
|
|
3655
|
+
this.ma8_1 = roomId;
|
|
3655
3656
|
this.table = table;
|
|
3656
3657
|
}
|
|
3657
|
-
protoOf(TableStateUpdateDto).
|
|
3658
|
-
return this.
|
|
3658
|
+
protoOf(TableStateUpdateDto).z8i = function () {
|
|
3659
|
+
return this.ma8_1;
|
|
3659
3660
|
};
|
|
3660
3661
|
protoOf(TableStateUpdateDto).z6r = function () {
|
|
3661
3662
|
return this.table;
|
|
3662
3663
|
};
|
|
3663
3664
|
protoOf(TableStateUpdateDto).oe = function () {
|
|
3664
|
-
return this.
|
|
3665
|
+
return this.ma8_1;
|
|
3665
3666
|
};
|
|
3666
3667
|
protoOf(TableStateUpdateDto).pe = function () {
|
|
3667
3668
|
return this.table;
|
|
@@ -3670,15 +3671,15 @@
|
|
|
3670
3671
|
return new TableStateUpdateDto(roomId, table);
|
|
3671
3672
|
};
|
|
3672
3673
|
protoOf(TableStateUpdateDto).copy = function (roomId, table, $super) {
|
|
3673
|
-
roomId = roomId === VOID ? this.
|
|
3674
|
+
roomId = roomId === VOID ? this.ma8_1 : roomId;
|
|
3674
3675
|
table = table === VOID ? this.table : table;
|
|
3675
3676
|
return $super === VOID ? this.e54(roomId, table) : $super.e54.call(this, roomId, table);
|
|
3676
3677
|
};
|
|
3677
3678
|
protoOf(TableStateUpdateDto).toString = function () {
|
|
3678
|
-
return 'TableStateUpdateDto(roomId=' + this.
|
|
3679
|
+
return 'TableStateUpdateDto(roomId=' + this.ma8_1 + ', table=' + this.table + ')';
|
|
3679
3680
|
};
|
|
3680
3681
|
protoOf(TableStateUpdateDto).hashCode = function () {
|
|
3681
|
-
var result = getStringHashCode(this.
|
|
3682
|
+
var result = getStringHashCode(this.ma8_1);
|
|
3682
3683
|
result = imul(result, 31) + getStringHashCode(this.table) | 0;
|
|
3683
3684
|
return result;
|
|
3684
3685
|
};
|
|
@@ -3687,7 +3688,7 @@
|
|
|
3687
3688
|
return true;
|
|
3688
3689
|
if (!(other instanceof TableStateUpdateDto))
|
|
3689
3690
|
return false;
|
|
3690
|
-
if (!(this.
|
|
3691
|
+
if (!(this.ma8_1 === other.ma8_1))
|
|
3691
3692
|
return false;
|
|
3692
3693
|
if (!(this.table === other.table))
|
|
3693
3694
|
return false;
|
|
@@ -3707,20 +3708,20 @@
|
|
|
3707
3708
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.ActionsStateUpdateDto', this, 2);
|
|
3708
3709
|
tmp0_serialDesc.gz('roomId', false);
|
|
3709
3710
|
tmp0_serialDesc.gz('actions', false);
|
|
3710
|
-
this.
|
|
3711
|
+
this.na8_1 = tmp0_serialDesc;
|
|
3711
3712
|
}
|
|
3712
|
-
protoOf($serializer_0).
|
|
3713
|
-
var tmp0_desc = this.
|
|
3713
|
+
protoOf($serializer_0).oa8 = function (encoder, value) {
|
|
3714
|
+
var tmp0_desc = this.na8_1;
|
|
3714
3715
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3715
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
3716
|
+
tmp1_output.dt(tmp0_desc, 0, value.pa8_1);
|
|
3716
3717
|
tmp1_output.dt(tmp0_desc, 1, value.actions);
|
|
3717
3718
|
tmp1_output.pr(tmp0_desc);
|
|
3718
3719
|
};
|
|
3719
3720
|
protoOf($serializer_0).co = function (encoder, value) {
|
|
3720
|
-
return this.
|
|
3721
|
+
return this.oa8(encoder, value instanceof ActionsStateUpdateDto ? value : THROW_CCE());
|
|
3721
3722
|
};
|
|
3722
3723
|
protoOf($serializer_0).do = function (decoder) {
|
|
3723
|
-
var tmp0_desc = this.
|
|
3724
|
+
var tmp0_desc = this.na8_1;
|
|
3724
3725
|
var tmp1_flag = true;
|
|
3725
3726
|
var tmp2_index = 0;
|
|
3726
3727
|
var tmp3_bitMask0 = 0;
|
|
@@ -3755,7 +3756,7 @@
|
|
|
3755
3756
|
return ActionsStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3756
3757
|
};
|
|
3757
3758
|
protoOf($serializer_0).bo = function () {
|
|
3758
|
-
return this.
|
|
3759
|
+
return this.na8_1;
|
|
3759
3760
|
};
|
|
3760
3761
|
protoOf($serializer_0).vz = function () {
|
|
3761
3762
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3771,9 +3772,9 @@
|
|
|
3771
3772
|
}
|
|
3772
3773
|
function ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, $this) {
|
|
3773
3774
|
if (!(3 === (3 & seen0))) {
|
|
3774
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().
|
|
3775
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().na8_1);
|
|
3775
3776
|
}
|
|
3776
|
-
$this.
|
|
3777
|
+
$this.pa8_1 = roomId;
|
|
3777
3778
|
$this.actions = actions;
|
|
3778
3779
|
return $this;
|
|
3779
3780
|
}
|
|
@@ -3781,17 +3782,17 @@
|
|
|
3781
3782
|
return ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, objectCreate(protoOf(ActionsStateUpdateDto)));
|
|
3782
3783
|
}
|
|
3783
3784
|
function ActionsStateUpdateDto(roomId, actions) {
|
|
3784
|
-
this.
|
|
3785
|
+
this.pa8_1 = roomId;
|
|
3785
3786
|
this.actions = actions;
|
|
3786
3787
|
}
|
|
3787
|
-
protoOf(ActionsStateUpdateDto).
|
|
3788
|
-
return this.
|
|
3788
|
+
protoOf(ActionsStateUpdateDto).z8i = function () {
|
|
3789
|
+
return this.pa8_1;
|
|
3789
3790
|
};
|
|
3790
|
-
protoOf(ActionsStateUpdateDto).
|
|
3791
|
+
protoOf(ActionsStateUpdateDto).m8j = function () {
|
|
3791
3792
|
return this.actions;
|
|
3792
3793
|
};
|
|
3793
3794
|
protoOf(ActionsStateUpdateDto).oe = function () {
|
|
3794
|
-
return this.
|
|
3795
|
+
return this.pa8_1;
|
|
3795
3796
|
};
|
|
3796
3797
|
protoOf(ActionsStateUpdateDto).pe = function () {
|
|
3797
3798
|
return this.actions;
|
|
@@ -3800,15 +3801,15 @@
|
|
|
3800
3801
|
return new ActionsStateUpdateDto(roomId, actions);
|
|
3801
3802
|
};
|
|
3802
3803
|
protoOf(ActionsStateUpdateDto).copy = function (roomId, actions, $super) {
|
|
3803
|
-
roomId = roomId === VOID ? this.
|
|
3804
|
+
roomId = roomId === VOID ? this.pa8_1 : roomId;
|
|
3804
3805
|
actions = actions === VOID ? this.actions : actions;
|
|
3805
3806
|
return $super === VOID ? this.e54(roomId, actions) : $super.e54.call(this, roomId, actions);
|
|
3806
3807
|
};
|
|
3807
3808
|
protoOf(ActionsStateUpdateDto).toString = function () {
|
|
3808
|
-
return 'ActionsStateUpdateDto(roomId=' + this.
|
|
3809
|
+
return 'ActionsStateUpdateDto(roomId=' + this.pa8_1 + ', actions=' + this.actions + ')';
|
|
3809
3810
|
};
|
|
3810
3811
|
protoOf(ActionsStateUpdateDto).hashCode = function () {
|
|
3811
|
-
var result = getStringHashCode(this.
|
|
3812
|
+
var result = getStringHashCode(this.pa8_1);
|
|
3812
3813
|
result = imul(result, 31) + getStringHashCode(this.actions) | 0;
|
|
3813
3814
|
return result;
|
|
3814
3815
|
};
|
|
@@ -3817,7 +3818,7 @@
|
|
|
3817
3818
|
return true;
|
|
3818
3819
|
if (!(other instanceof ActionsStateUpdateDto))
|
|
3819
3820
|
return false;
|
|
3820
|
-
if (!(this.
|
|
3821
|
+
if (!(this.pa8_1 === other.pa8_1))
|
|
3821
3822
|
return false;
|
|
3822
3823
|
if (!(this.actions === other.actions))
|
|
3823
3824
|
return false;
|
|
@@ -3847,42 +3848,42 @@
|
|
|
3847
3848
|
var tmp$ret$0 = mapToDto(item);
|
|
3848
3849
|
destination.j(tmp$ret$0);
|
|
3849
3850
|
}
|
|
3850
|
-
return new ActionsStateUpdateDto(_this__u8e3s4.
|
|
3851
|
+
return new ActionsStateUpdateDto(_this__u8e3s4.qa8_1, encoderDecoderProvider.p8q(destination));
|
|
3851
3852
|
}
|
|
3852
3853
|
function mapToDto_3(_this__u8e3s4, encoderDecoderProvider) {
|
|
3853
|
-
return new TableStateUpdateDto(_this__u8e3s4.
|
|
3854
|
+
return new TableStateUpdateDto(_this__u8e3s4.ra8_1, encoderDecoderProvider.n8q(mapToDto_0(_this__u8e3s4.table)));
|
|
3854
3855
|
}
|
|
3855
3856
|
function ServerStateUpdate() {
|
|
3856
3857
|
}
|
|
3857
3858
|
function TableStateUpdate(roomId, table) {
|
|
3858
|
-
this.
|
|
3859
|
+
this.ra8_1 = roomId;
|
|
3859
3860
|
this.table = table;
|
|
3860
3861
|
}
|
|
3861
|
-
protoOf(TableStateUpdate).
|
|
3862
|
-
return this.
|
|
3862
|
+
protoOf(TableStateUpdate).z8i = function () {
|
|
3863
|
+
return this.ra8_1;
|
|
3863
3864
|
};
|
|
3864
3865
|
protoOf(TableStateUpdate).z6r = function () {
|
|
3865
3866
|
return this.table;
|
|
3866
3867
|
};
|
|
3867
3868
|
protoOf(TableStateUpdate).oe = function () {
|
|
3868
|
-
return this.
|
|
3869
|
+
return this.ra8_1;
|
|
3869
3870
|
};
|
|
3870
3871
|
protoOf(TableStateUpdate).pe = function () {
|
|
3871
3872
|
return this.table;
|
|
3872
3873
|
};
|
|
3873
|
-
protoOf(TableStateUpdate).
|
|
3874
|
+
protoOf(TableStateUpdate).sa8 = function (roomId, table) {
|
|
3874
3875
|
return new TableStateUpdate(roomId, table);
|
|
3875
3876
|
};
|
|
3876
3877
|
protoOf(TableStateUpdate).copy = function (roomId, table, $super) {
|
|
3877
|
-
roomId = roomId === VOID ? this.
|
|
3878
|
+
roomId = roomId === VOID ? this.ra8_1 : roomId;
|
|
3878
3879
|
table = table === VOID ? this.table : table;
|
|
3879
|
-
return $super === VOID ? this.
|
|
3880
|
+
return $super === VOID ? this.sa8(roomId, table) : $super.sa8.call(this, roomId, table);
|
|
3880
3881
|
};
|
|
3881
3882
|
protoOf(TableStateUpdate).toString = function () {
|
|
3882
|
-
return 'TableStateUpdate(roomId=' + this.
|
|
3883
|
+
return 'TableStateUpdate(roomId=' + this.ra8_1 + ', table=' + this.table.toString() + ')';
|
|
3883
3884
|
};
|
|
3884
3885
|
protoOf(TableStateUpdate).hashCode = function () {
|
|
3885
|
-
var result = getStringHashCode(this.
|
|
3886
|
+
var result = getStringHashCode(this.ra8_1);
|
|
3886
3887
|
result = imul(result, 31) + this.table.hashCode() | 0;
|
|
3887
3888
|
return result;
|
|
3888
3889
|
};
|
|
@@ -3891,41 +3892,41 @@
|
|
|
3891
3892
|
return true;
|
|
3892
3893
|
if (!(other instanceof TableStateUpdate))
|
|
3893
3894
|
return false;
|
|
3894
|
-
if (!(this.
|
|
3895
|
+
if (!(this.ra8_1 === other.ra8_1))
|
|
3895
3896
|
return false;
|
|
3896
3897
|
if (!this.table.equals(other.table))
|
|
3897
3898
|
return false;
|
|
3898
3899
|
return true;
|
|
3899
3900
|
};
|
|
3900
3901
|
function ActionsStateUpdate(roomId, actions) {
|
|
3901
|
-
this.
|
|
3902
|
+
this.qa8_1 = roomId;
|
|
3902
3903
|
this.actions = actions;
|
|
3903
3904
|
}
|
|
3904
|
-
protoOf(ActionsStateUpdate).
|
|
3905
|
-
return this.
|
|
3905
|
+
protoOf(ActionsStateUpdate).z8i = function () {
|
|
3906
|
+
return this.qa8_1;
|
|
3906
3907
|
};
|
|
3907
|
-
protoOf(ActionsStateUpdate).
|
|
3908
|
+
protoOf(ActionsStateUpdate).m8j = function () {
|
|
3908
3909
|
return this.actions;
|
|
3909
3910
|
};
|
|
3910
3911
|
protoOf(ActionsStateUpdate).oe = function () {
|
|
3911
|
-
return this.
|
|
3912
|
+
return this.qa8_1;
|
|
3912
3913
|
};
|
|
3913
3914
|
protoOf(ActionsStateUpdate).pe = function () {
|
|
3914
3915
|
return this.actions;
|
|
3915
3916
|
};
|
|
3916
|
-
protoOf(ActionsStateUpdate).
|
|
3917
|
+
protoOf(ActionsStateUpdate).ta8 = function (roomId, actions) {
|
|
3917
3918
|
return new ActionsStateUpdate(roomId, actions);
|
|
3918
3919
|
};
|
|
3919
3920
|
protoOf(ActionsStateUpdate).copy = function (roomId, actions, $super) {
|
|
3920
|
-
roomId = roomId === VOID ? this.
|
|
3921
|
+
roomId = roomId === VOID ? this.qa8_1 : roomId;
|
|
3921
3922
|
actions = actions === VOID ? this.actions : actions;
|
|
3922
|
-
return $super === VOID ? this.
|
|
3923
|
+
return $super === VOID ? this.ta8(roomId, actions) : $super.ta8.call(this, roomId, actions);
|
|
3923
3924
|
};
|
|
3924
3925
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
3925
|
-
return 'ActionsStateUpdate(roomId=' + this.
|
|
3926
|
+
return 'ActionsStateUpdate(roomId=' + this.qa8_1 + ', actions=' + toString(this.actions) + ')';
|
|
3926
3927
|
};
|
|
3927
3928
|
protoOf(ActionsStateUpdate).hashCode = function () {
|
|
3928
|
-
var result = getStringHashCode(this.
|
|
3929
|
+
var result = getStringHashCode(this.qa8_1);
|
|
3929
3930
|
result = imul(result, 31) + hashCode(this.actions) | 0;
|
|
3930
3931
|
return result;
|
|
3931
3932
|
};
|
|
@@ -3934,7 +3935,7 @@
|
|
|
3934
3935
|
return true;
|
|
3935
3936
|
if (!(other instanceof ActionsStateUpdate))
|
|
3936
3937
|
return false;
|
|
3937
|
-
if (!(this.
|
|
3938
|
+
if (!(this.qa8_1 === other.qa8_1))
|
|
3938
3939
|
return false;
|
|
3939
3940
|
if (!equals(this.actions, other.actions))
|
|
3940
3941
|
return false;
|
|
@@ -4174,18 +4175,18 @@
|
|
|
4174
4175
|
function ToClientEventsObserver() {
|
|
4175
4176
|
}
|
|
4176
4177
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
4177
|
-
this.
|
|
4178
|
-
this.
|
|
4178
|
+
this.da9_1 = this$0;
|
|
4179
|
+
this.ea9_1 = $actions;
|
|
4179
4180
|
CoroutineImpl.call(this, resultContinuation);
|
|
4180
4181
|
}
|
|
4181
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
4182
|
-
var tmp = this.
|
|
4182
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).ha9 = function ($this$flow, $completion) {
|
|
4183
|
+
var tmp = this.ia9($this$flow, $completion);
|
|
4183
4184
|
tmp.u8_1 = Unit_instance;
|
|
4184
4185
|
tmp.v8_1 = null;
|
|
4185
4186
|
return tmp.a9();
|
|
4186
4187
|
};
|
|
4187
4188
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).i9 = function (p1, $completion) {
|
|
4188
|
-
return this.
|
|
4189
|
+
return this.ha9((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
4189
4190
|
};
|
|
4190
4191
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).a9 = function () {
|
|
4191
4192
|
var suspendResult = this.u8_1;
|
|
@@ -4195,19 +4196,19 @@
|
|
|
4195
4196
|
switch (tmp) {
|
|
4196
4197
|
case 0:
|
|
4197
4198
|
this.t8_1 = 4;
|
|
4198
|
-
this.
|
|
4199
|
-
this.
|
|
4199
|
+
this.da9_1.na9_1;
|
|
4200
|
+
this.ga9_1 = transformToEmits(this.da9_1, this.ea9_1).l();
|
|
4200
4201
|
this.s8_1 = 1;
|
|
4201
4202
|
continue $sm;
|
|
4202
4203
|
case 1:
|
|
4203
|
-
if (!this.
|
|
4204
|
+
if (!this.ga9_1.m()) {
|
|
4204
4205
|
this.s8_1 = 3;
|
|
4205
4206
|
continue $sm;
|
|
4206
4207
|
}
|
|
4207
4208
|
|
|
4208
|
-
var element = this.
|
|
4209
|
+
var element = this.ga9_1.n();
|
|
4209
4210
|
this.s8_1 = 2;
|
|
4210
|
-
suspendResult = this.
|
|
4211
|
+
suspendResult = this.fa9_1.n28(element, this);
|
|
4211
4212
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4212
4213
|
return suspendResult;
|
|
4213
4214
|
}
|
|
@@ -4217,11 +4218,11 @@
|
|
|
4217
4218
|
this.s8_1 = 1;
|
|
4218
4219
|
continue $sm;
|
|
4219
4220
|
case 3:
|
|
4220
|
-
var tmp0 = this.
|
|
4221
|
+
var tmp0 = this.da9_1.ma9_1;
|
|
4221
4222
|
l$ret$1: do {
|
|
4222
4223
|
while (true) {
|
|
4223
4224
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
4224
|
-
var upd = cur - this.
|
|
4225
|
+
var upd = cur - this.ea9_1.o() | 0;
|
|
4225
4226
|
if (tmp0.atomicfu$compareAndSet(cur, upd)) {
|
|
4226
4227
|
break l$ret$1;
|
|
4227
4228
|
}
|
|
@@ -4243,15 +4244,15 @@
|
|
|
4243
4244
|
}
|
|
4244
4245
|
while (true);
|
|
4245
4246
|
};
|
|
4246
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
4247
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
4248
|
-
i.
|
|
4247
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).ia9 = function ($this$flow, completion) {
|
|
4248
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.da9_1, this.ea9_1, completion);
|
|
4249
|
+
i.fa9_1 = $this$flow;
|
|
4249
4250
|
return i;
|
|
4250
4251
|
};
|
|
4251
4252
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
4252
4253
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
4253
4254
|
var l = function ($this$flow, $completion) {
|
|
4254
|
-
return i.
|
|
4255
|
+
return i.ha9($this$flow, $completion);
|
|
4255
4256
|
};
|
|
4256
4257
|
l.$arity = 1;
|
|
4257
4258
|
return l;
|
|
@@ -4321,29 +4322,29 @@
|
|
|
4321
4322
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
4322
4323
|
}
|
|
4323
4324
|
function mapFromGroupKey($this, _this__u8e3s4) {
|
|
4324
|
-
var tmp = $this.
|
|
4325
|
+
var tmp = $this.la9_1.e6e();
|
|
4325
4326
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
4326
|
-
var this_0 = _this__u8e3s4.
|
|
4327
|
+
var this_0 = _this__u8e3s4.qa9_1;
|
|
4327
4328
|
var tmp_0 = copyToArray(this_0);
|
|
4328
4329
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
4329
|
-
var this_1 = _this__u8e3s4.
|
|
4330
|
+
var this_1 = _this__u8e3s4.ra9_1;
|
|
4330
4331
|
var tmp$ret$1 = copyToArray(this_1);
|
|
4331
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
4332
|
+
return new ActionDeliveryPayload(_this__u8e3s4.pa9_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.sa9_1);
|
|
4332
4333
|
}
|
|
4333
4334
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
4334
|
-
this.
|
|
4335
|
-
this.
|
|
4336
|
-
this.
|
|
4337
|
-
this.
|
|
4335
|
+
this.pa9_1 = tableId;
|
|
4336
|
+
this.qa9_1 = includePlayers;
|
|
4337
|
+
this.ra9_1 = excludePlayers;
|
|
4338
|
+
this.sa9_1 = deliveryType;
|
|
4338
4339
|
}
|
|
4339
4340
|
protoOf(GroupKey).toString = function () {
|
|
4340
|
-
return 'GroupKey(tableId=' + this.
|
|
4341
|
+
return 'GroupKey(tableId=' + this.pa9_1 + ', includePlayers=' + toString(this.qa9_1) + ', excludePlayers=' + toString(this.ra9_1) + ', deliveryType=' + this.sa9_1.toString() + ')';
|
|
4341
4342
|
};
|
|
4342
4343
|
protoOf(GroupKey).hashCode = function () {
|
|
4343
|
-
var result = getStringHashCode(this.
|
|
4344
|
-
result = imul(result, 31) + hashCode(this.pa9_1) | 0;
|
|
4344
|
+
var result = getStringHashCode(this.pa9_1);
|
|
4345
4345
|
result = imul(result, 31) + hashCode(this.qa9_1) | 0;
|
|
4346
|
-
result = imul(result, 31) + this.ra9_1
|
|
4346
|
+
result = imul(result, 31) + hashCode(this.ra9_1) | 0;
|
|
4347
|
+
result = imul(result, 31) + this.sa9_1.hashCode() | 0;
|
|
4347
4348
|
return result;
|
|
4348
4349
|
};
|
|
4349
4350
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -4351,35 +4352,35 @@
|
|
|
4351
4352
|
return true;
|
|
4352
4353
|
if (!(other instanceof GroupKey))
|
|
4353
4354
|
return false;
|
|
4354
|
-
if (!(this.
|
|
4355
|
-
return false;
|
|
4356
|
-
if (!equals(this.pa9_1, other.pa9_1))
|
|
4355
|
+
if (!(this.pa9_1 === other.pa9_1))
|
|
4357
4356
|
return false;
|
|
4358
4357
|
if (!equals(this.qa9_1, other.qa9_1))
|
|
4359
4358
|
return false;
|
|
4360
|
-
if (!this.ra9_1
|
|
4359
|
+
if (!equals(this.ra9_1, other.ra9_1))
|
|
4360
|
+
return false;
|
|
4361
|
+
if (!this.sa9_1.equals(other.sa9_1))
|
|
4361
4362
|
return false;
|
|
4362
4363
|
return true;
|
|
4363
4364
|
};
|
|
4364
4365
|
function Companion_4() {
|
|
4365
|
-
this.
|
|
4366
|
+
this.ta9_1 = 6;
|
|
4366
4367
|
}
|
|
4367
4368
|
var Companion_instance_14;
|
|
4368
4369
|
function Companion_getInstance_5() {
|
|
4369
4370
|
return Companion_instance_14;
|
|
4370
4371
|
}
|
|
4371
4372
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
4372
|
-
this.
|
|
4373
|
+
this.caa_1 = this$0;
|
|
4373
4374
|
CoroutineImpl.call(this, resultContinuation);
|
|
4374
4375
|
}
|
|
4375
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
4376
|
-
var tmp = this.
|
|
4376
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).eaa = function (actions, $completion) {
|
|
4377
|
+
var tmp = this.faa(actions, $completion);
|
|
4377
4378
|
tmp.u8_1 = Unit_instance;
|
|
4378
4379
|
tmp.v8_1 = null;
|
|
4379
4380
|
return tmp.a9();
|
|
4380
4381
|
};
|
|
4381
4382
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).i9 = function (p1, $completion) {
|
|
4382
|
-
return this.
|
|
4383
|
+
return this.eaa((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
4383
4384
|
};
|
|
4384
4385
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).a9 = function () {
|
|
4385
4386
|
var suspendResult = this.u8_1;
|
|
@@ -4388,7 +4389,7 @@
|
|
|
4388
4389
|
var tmp = this.s8_1;
|
|
4389
4390
|
if (tmp === 0) {
|
|
4390
4391
|
this.t8_1 = 1;
|
|
4391
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
4392
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.caa_1, this.daa_1, null));
|
|
4392
4393
|
} else if (tmp === 1) {
|
|
4393
4394
|
throw this.v8_1;
|
|
4394
4395
|
}
|
|
@@ -4398,23 +4399,23 @@
|
|
|
4398
4399
|
}
|
|
4399
4400
|
while (true);
|
|
4400
4401
|
};
|
|
4401
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
4402
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
4403
|
-
i.
|
|
4402
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).faa = function (actions, completion) {
|
|
4403
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.caa_1, completion);
|
|
4404
|
+
i.daa_1 = actions;
|
|
4404
4405
|
return i;
|
|
4405
4406
|
};
|
|
4406
4407
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
4407
4408
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
4408
4409
|
var l = function (actions, $completion) {
|
|
4409
|
-
return i.
|
|
4410
|
+
return i.eaa(actions, $completion);
|
|
4410
4411
|
};
|
|
4411
4412
|
l.$arity = 1;
|
|
4412
4413
|
return l;
|
|
4413
4414
|
}
|
|
4414
4415
|
function $sentEventCOROUTINE$(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
4415
4416
|
CoroutineImpl.call(this, resultContinuation);
|
|
4416
|
-
this.
|
|
4417
|
-
this.
|
|
4417
|
+
this.oaa_1 = _this__u8e3s4;
|
|
4418
|
+
this.paa_1 = fromEvent;
|
|
4418
4419
|
}
|
|
4419
4420
|
protoOf($sentEventCOROUTINE$).a9 = function () {
|
|
4420
4421
|
var suspendResult = this.u8_1;
|
|
@@ -4424,8 +4425,8 @@
|
|
|
4424
4425
|
switch (tmp) {
|
|
4425
4426
|
case 0:
|
|
4426
4427
|
this.t8_1 = 2;
|
|
4427
|
-
this.
|
|
4428
|
-
var tmp0 = this.
|
|
4428
|
+
this.oaa_1.na9_1;
|
|
4429
|
+
var tmp0 = this.oaa_1.ma9_1;
|
|
4429
4430
|
l$ret$1: do {
|
|
4430
4431
|
while (true) {
|
|
4431
4432
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
@@ -4437,7 +4438,7 @@
|
|
|
4437
4438
|
}
|
|
4438
4439
|
while (false);
|
|
4439
4440
|
this.s8_1 = 1;
|
|
4440
|
-
suspendResult = this.
|
|
4441
|
+
suspendResult = this.oaa_1.oa9_1.n28(this.paa_1, this);
|
|
4441
4442
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4442
4443
|
return suspendResult;
|
|
4443
4444
|
}
|
|
@@ -4461,7 +4462,7 @@
|
|
|
4461
4462
|
};
|
|
4462
4463
|
function $waitForCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
4463
4464
|
CoroutineImpl.call(this, resultContinuation);
|
|
4464
|
-
this.
|
|
4465
|
+
this.yaa_1 = _this__u8e3s4;
|
|
4465
4466
|
}
|
|
4466
4467
|
protoOf($waitForCOROUTINE$).a9 = function () {
|
|
4467
4468
|
var suspendResult = this.u8_1;
|
|
@@ -4471,12 +4472,12 @@
|
|
|
4471
4472
|
switch (tmp) {
|
|
4472
4473
|
case 0:
|
|
4473
4474
|
this.t8_1 = 5;
|
|
4474
|
-
this.
|
|
4475
|
-
this.
|
|
4475
|
+
this.yaa_1.na9_1;
|
|
4476
|
+
this.zaa_1 = 0;
|
|
4476
4477
|
this.s8_1 = 1;
|
|
4477
4478
|
continue $sm;
|
|
4478
4479
|
case 1:
|
|
4479
|
-
if (!!(this.
|
|
4480
|
+
if (!!(this.yaa_1.ma9_1.kotlinx$atomicfu$value === 0)) {
|
|
4480
4481
|
this.s8_1 = 4;
|
|
4481
4482
|
continue $sm;
|
|
4482
4483
|
}
|
|
@@ -4489,9 +4490,9 @@
|
|
|
4489
4490
|
|
|
4490
4491
|
continue $sm;
|
|
4491
4492
|
case 2:
|
|
4492
|
-
this.
|
|
4493
|
-
if (this.
|
|
4494
|
-
this.
|
|
4493
|
+
this.zaa_1 = this.zaa_1 + 1 | 0;
|
|
4494
|
+
if (this.zaa_1 > 6) {
|
|
4495
|
+
this.yaa_1.ka9_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.yaa_1.ma9_1.kotlinx$atomicfu$value);
|
|
4495
4496
|
this.s8_1 = 4;
|
|
4496
4497
|
continue $sm;
|
|
4497
4498
|
} else {
|
|
@@ -4519,55 +4520,55 @@
|
|
|
4519
4520
|
while (true);
|
|
4520
4521
|
};
|
|
4521
4522
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
4522
|
-
this.
|
|
4523
|
-
this.
|
|
4524
|
-
this.
|
|
4525
|
-
this.
|
|
4523
|
+
this.ja9_1 = serverReduxConfig;
|
|
4524
|
+
this.ka9_1 = logger;
|
|
4525
|
+
this.la9_1 = idsProvider;
|
|
4526
|
+
this.ma9_1 = atomic$ref$1(0);
|
|
4526
4527
|
var tmp = this;
|
|
4527
4528
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
4528
|
-
tmp.
|
|
4529
|
-
this.
|
|
4529
|
+
tmp.na9_1 = get_atomicfu$reentrantLock();
|
|
4530
|
+
this.oa9_1 = MutableSharedFlow();
|
|
4530
4531
|
}
|
|
4531
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4532
|
+
protoOf(ToClientEventsObserverImpl).ua8 = function (fromEvent, $completion) {
|
|
4532
4533
|
var tmp = new $sentEventCOROUTINE$(this, fromEvent, $completion);
|
|
4533
4534
|
tmp.u8_1 = Unit_instance;
|
|
4534
4535
|
tmp.v8_1 = null;
|
|
4535
4536
|
return tmp.a9();
|
|
4536
4537
|
};
|
|
4537
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4538
|
+
protoOf(ToClientEventsObserverImpl).l9h = function ($completion) {
|
|
4538
4539
|
var tmp = new $waitForCOROUTINE$(this, $completion);
|
|
4539
4540
|
tmp.u8_1 = Unit_instance;
|
|
4540
4541
|
tmp.v8_1 = null;
|
|
4541
4542
|
return tmp.a9();
|
|
4542
4543
|
};
|
|
4543
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4544
|
-
if (!this.
|
|
4545
|
-
return this.
|
|
4544
|
+
protoOf(ToClientEventsObserverImpl).o9y = function () {
|
|
4545
|
+
if (!this.ja9_1.enabledCombinedEvents) {
|
|
4546
|
+
return this.oa9_1;
|
|
4546
4547
|
}
|
|
4547
|
-
var tmp = windowedByInterval(this.
|
|
4548
|
+
var tmp = windowedByInterval(this.oa9_1, fromInt(this.ja9_1.combinedEventsIntervalMillis));
|
|
4548
4549
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
4549
4550
|
};
|
|
4550
4551
|
function PlayerConnectionInteractor() {
|
|
4551
4552
|
}
|
|
4552
4553
|
function waitPlayerOrDisconnect($this, newConnectionState, previousConnectionState, table, player, waitForPlayer) {
|
|
4553
|
-
if (waitForPlayer && $this.
|
|
4554
|
+
if (waitForPlayer && $this.cab_1.waitForPlayerToReconnect) {
|
|
4554
4555
|
var tmp = player.k6v_1.a69();
|
|
4555
4556
|
Companion_getInstance();
|
|
4556
4557
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
4557
|
-
var this_0 = $this.
|
|
4558
|
+
var this_0 = $this.cab_1.reconnectionCheckDurationMillis;
|
|
4558
4559
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
4559
4560
|
var noRecentReconnects = tmp.u67(tmp$ret$0);
|
|
4560
4561
|
if (noRecentReconnects) {
|
|
4561
|
-
return $this.
|
|
4562
|
+
return $this.bab(player.playerId, newConnectionState, previousConnectionState);
|
|
4562
4563
|
}
|
|
4563
4564
|
}
|
|
4564
|
-
var canRemoveGameWhenNoPlayers = Companion_instance_2.i6v($this.
|
|
4565
|
+
var canRemoveGameWhenNoPlayers = Companion_instance_2.i6v($this.cab_1.finishGameWhenNotLiveStrategy, player.playerId, table.players);
|
|
4565
4566
|
if (canRemoveGameWhenNoPlayers) {
|
|
4566
|
-
return listOf($this.
|
|
4567
|
+
return listOf($this.gab_1.n8x(mapToFinishReason(newConnectionState, player, table.playersConnections), table, 'Disconnect: No Players to continue game'));
|
|
4567
4568
|
}
|
|
4568
|
-
if (table.sceneInfo.
|
|
4569
|
-
if (!$this.
|
|
4570
|
-
return listOf($this.
|
|
4569
|
+
if (table.sceneInfo.g7g()) {
|
|
4570
|
+
if (!$this.dab_1.openRoomIfFinished) {
|
|
4571
|
+
return listOf($this.gab_1.n8x(mapToFinishReason(newConnectionState, player, table.playersConnections), table, 'Disconnect: Game is finished'));
|
|
4571
4572
|
}
|
|
4572
4573
|
// Inline function 'kotlin.collections.filter' call
|
|
4573
4574
|
var tmp0 = table.players;
|
|
@@ -4642,27 +4643,27 @@
|
|
|
4642
4643
|
}
|
|
4643
4644
|
var readyLivePlayers = destination_3;
|
|
4644
4645
|
var usersToJoinRoomSize = table.players.o() - notAlivePlayers.o() | 0;
|
|
4645
|
-
if ($this.
|
|
4646
|
-
return listOf($this.
|
|
4646
|
+
if ($this.dab_1.minPlayersToOpenRoom >= usersToJoinRoomSize) {
|
|
4647
|
+
return listOf($this.gab_1.n8x(mapToFinishReason(newConnectionState, player, table.playersConnections), table, 'Disconnect: Not enough users to create room'));
|
|
4647
4648
|
}
|
|
4648
4649
|
var allPlayersMadeDecision = (readyLivePlayers.o() + notAlivePlayers.o() | 0) === table.players.o();
|
|
4649
4650
|
if (allPlayersMadeDecision) {
|
|
4650
|
-
var tmp0_$this = $this.
|
|
4651
|
+
var tmp0_$this = $this.gab_1;
|
|
4651
4652
|
var tmp1_reason = mapToFinishReason(newConnectionState, player, table.playersConnections);
|
|
4652
|
-
return listOf(tmp0_$this.
|
|
4653
|
+
return listOf(tmp0_$this.m8x(tmp1_reason, table, 'Disconnect: Game is finished, transition to room', readyLivePlayers));
|
|
4653
4654
|
}
|
|
4654
4655
|
}
|
|
4655
|
-
if (!$this.
|
|
4656
|
-
return listOf($this.
|
|
4656
|
+
if (!$this.cab_1.botReplacesPlayerAfterTimeout) {
|
|
4657
|
+
return listOf($this.gab_1.n8x(mapToFinishReason(newConnectionState, player, table.playersConnections), table, "Disconnect: Can't continue game without bots"));
|
|
4657
4658
|
}
|
|
4658
4659
|
return getPlayerDisconnectedActions($this, newConnectionState, previousConnectionState, player);
|
|
4659
4660
|
}
|
|
4660
4661
|
function getPlayerConnectedActions($this, player, table, previousConnectionState) {
|
|
4661
4662
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
4662
4663
|
var actionsList = ArrayList_init_$Create$_0();
|
|
4663
|
-
actionsList.q(listOf_0([new PlayerConnectionChangedMechanicAction(player.playerId, PlayerConnectionState_LIVE_getInstance(), previousConnectionState), $this.
|
|
4664
|
+
actionsList.q(listOf_0([new PlayerConnectionChangedMechanicAction(player.playerId, PlayerConnectionState_LIVE_getInstance(), previousConnectionState), $this.ba6(player, table)]));
|
|
4664
4665
|
if (player.k6v_1.i67()) {
|
|
4665
|
-
actionsList.q(listOf_0([new StopTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.k6v_1.q68())), new StartTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.k6v_1.q68(), true), _Duration___get_inWholeMilliseconds__impl__msfiry($this.
|
|
4666
|
+
actionsList.q(listOf_0([new StopTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.k6v_1.q68())), new StartTimerAction(PlayerTurnTimerTag_init_$Create$(player.playerId, player.k6v_1.q68(), true), _Duration___get_inWholeMilliseconds__impl__msfiry($this.eab_1.o9l(table.config)), VOID, TimerType_DELAY_getInstance())]));
|
|
4666
4667
|
}
|
|
4667
4668
|
return actionsList;
|
|
4668
4669
|
}
|
|
@@ -4676,13 +4677,13 @@
|
|
|
4676
4677
|
return actionsList;
|
|
4677
4678
|
}
|
|
4678
4679
|
function PlayerConnectionInteractorImpl(serverConfig, engineLogicConfig, playerTurnMechanicReducer, idsProvider, gameLifecycleInteractor) {
|
|
4679
|
-
this.
|
|
4680
|
-
this.
|
|
4681
|
-
this.
|
|
4682
|
-
this.
|
|
4683
|
-
this.
|
|
4680
|
+
this.cab_1 = serverConfig;
|
|
4681
|
+
this.dab_1 = engineLogicConfig;
|
|
4682
|
+
this.eab_1 = playerTurnMechanicReducer;
|
|
4683
|
+
this.fab_1 = idsProvider;
|
|
4684
|
+
this.gab_1 = gameLifecycleInteractor;
|
|
4684
4685
|
}
|
|
4685
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4686
|
+
protoOf(PlayerConnectionInteractorImpl).aab = function (newConnectionState, previousConnectionState, player, table, afterReconnection) {
|
|
4686
4687
|
var tmp;
|
|
4687
4688
|
switch (newConnectionState.q2_1) {
|
|
4688
4689
|
case 1:
|
|
@@ -4690,7 +4691,7 @@
|
|
|
4690
4691
|
break;
|
|
4691
4692
|
case 4:
|
|
4692
4693
|
case 5:
|
|
4693
|
-
var tmp1_waitForPlayer = !afterReconnection && !table.sceneInfo.
|
|
4694
|
+
var tmp1_waitForPlayer = !afterReconnection && !table.sceneInfo.g7g() && table.config.isPrivate;
|
|
4694
4695
|
tmp = waitPlayerOrDisconnect(this, newConnectionState, previousConnectionState, table, player, tmp1_waitForPlayer);
|
|
4695
4696
|
break;
|
|
4696
4697
|
case 2:
|
|
@@ -4713,18 +4714,18 @@
|
|
|
4713
4714
|
}
|
|
4714
4715
|
return tmp;
|
|
4715
4716
|
};
|
|
4716
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4717
|
+
protoOf(PlayerConnectionInteractorImpl).da8 = function (sendToPlayerId, isLive, tableId, reason, isGameFinished) {
|
|
4717
4718
|
if (!isLive) {
|
|
4718
4719
|
return emptyList();
|
|
4719
4720
|
}
|
|
4720
|
-
var tmp0_deliveryPayload = Companion_instance_1.user(this.
|
|
4721
|
+
var tmp0_deliveryPayload = Companion_instance_1.user(this.fab_1.e6e(), tableId, sendToPlayerId);
|
|
4721
4722
|
var tmp = new FinishingGameToClientAction(reason, isGameFinished, null, tmp0_deliveryPayload);
|
|
4722
|
-
var tmp1_deliveryPayload = Companion_instance_1.user(this.
|
|
4723
|
+
var tmp1_deliveryPayload = Companion_instance_1.user(this.fab_1.e6e(), tableId, sendToPlayerId);
|
|
4723
4724
|
return listOf_0([tmp, new FinishGameToClientAction(reason, isGameFinished, null, tmp1_deliveryPayload)]);
|
|
4724
4725
|
};
|
|
4725
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4726
|
-
var updatedTable = this.
|
|
4727
|
-
var aid = this.
|
|
4726
|
+
protoOf(PlayerConnectionInteractorImpl).ba6 = function (sendToPlayer, table) {
|
|
4727
|
+
var updatedTable = this.eab_1.p9j(table, sendToPlayer.playerId, PlayerConnectionState_LIVE_getInstance(), null);
|
|
4728
|
+
var aid = this.fab_1.e6e();
|
|
4728
4729
|
var tmp4_deliveryPayload = Companion_instance_1.userFromTable(aid, updatedTable, sendToPlayer.playerId);
|
|
4729
4730
|
var tmp0_playerId = sendToPlayer.playerId;
|
|
4730
4731
|
var tmp1_gameCreatorPlayerId = getGameCreator(updatedTable.players).playerId;
|
|
@@ -4743,166 +4744,166 @@
|
|
|
4743
4744
|
var tmp6_reason = new PlayerReturnsReason(sendToPlayer.playerId);
|
|
4744
4745
|
return new ContinueGameToClientAction(tmp5_table, tmp6_reason, null, tmp4_deliveryPayload);
|
|
4745
4746
|
};
|
|
4746
|
-
protoOf(PlayerConnectionInteractorImpl).
|
|
4747
|
+
protoOf(PlayerConnectionInteractorImpl).bab = function (playerId, newConnectionState, previousConnectionState) {
|
|
4747
4748
|
var tmp = System_instance.ck();
|
|
4748
4749
|
Companion_getInstance();
|
|
4749
4750
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
4750
|
-
var this_0 = this.
|
|
4751
|
+
var this_0 = this.cab_1.waitForPlayerToReconnectTimeOutMillis;
|
|
4751
4752
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
4752
4753
|
var reconnectUntilTime = tmp.rk(tmp$ret$0);
|
|
4753
4754
|
var tmp0_state = PlayerConnectionState_DISCONNECTING_getInstance();
|
|
4754
4755
|
var tmp1_reconnectUntilTime = reconnectUntilTime.toString();
|
|
4755
|
-
return listOf_0([new PlayerConnectionChangedMechanicAction(playerId, tmp0_state, previousConnectionState, newConnectionState, false, tmp1_reconnectUntilTime), new StartTimerAction(new PlayerReconnectionWaitingTimerTag(playerId, newConnectionState, previousConnectionState), fromInt(this.
|
|
4756
|
+
return listOf_0([new PlayerConnectionChangedMechanicAction(playerId, tmp0_state, previousConnectionState, newConnectionState, false, tmp1_reconnectUntilTime), new StartTimerAction(new PlayerReconnectionWaitingTimerTag(playerId, newConnectionState, previousConnectionState), fromInt(this.cab_1.waitForPlayerToReconnectTimeOutMillis), VOID, TimerType_DELAY_getInstance())]);
|
|
4756
4757
|
};
|
|
4757
4758
|
function UpdateServerConfigAction(serverConfig) {
|
|
4758
|
-
this.
|
|
4759
|
+
this.hab_1 = serverConfig;
|
|
4759
4760
|
}
|
|
4760
4761
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
4761
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
4762
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.hab_1.toString() + ')';
|
|
4762
4763
|
};
|
|
4763
4764
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
4764
|
-
return this.
|
|
4765
|
+
return this.hab_1.hashCode();
|
|
4765
4766
|
};
|
|
4766
4767
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
4767
4768
|
if (this === other)
|
|
4768
4769
|
return true;
|
|
4769
4770
|
if (!(other instanceof UpdateServerConfigAction))
|
|
4770
4771
|
return false;
|
|
4771
|
-
if (!this.
|
|
4772
|
+
if (!this.hab_1.equals(other.hab_1))
|
|
4772
4773
|
return false;
|
|
4773
4774
|
return true;
|
|
4774
4775
|
};
|
|
4775
4776
|
function SpectatorsAction() {
|
|
4776
4777
|
}
|
|
4777
4778
|
function AddSpectatorsAction(spectators) {
|
|
4778
|
-
this.
|
|
4779
|
+
this.iab_1 = spectators;
|
|
4779
4780
|
}
|
|
4780
4781
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
4781
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
4782
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.iab_1) + ')';
|
|
4782
4783
|
};
|
|
4783
4784
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
4784
|
-
return hashCode(this.
|
|
4785
|
+
return hashCode(this.iab_1);
|
|
4785
4786
|
};
|
|
4786
4787
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
4787
4788
|
if (this === other)
|
|
4788
4789
|
return true;
|
|
4789
4790
|
if (!(other instanceof AddSpectatorsAction))
|
|
4790
4791
|
return false;
|
|
4791
|
-
if (!equals(this.
|
|
4792
|
+
if (!equals(this.iab_1, other.iab_1))
|
|
4792
4793
|
return false;
|
|
4793
4794
|
return true;
|
|
4794
4795
|
};
|
|
4795
4796
|
function RemoveSpectatorsAction(spectators) {
|
|
4796
|
-
this.
|
|
4797
|
+
this.jab_1 = spectators;
|
|
4797
4798
|
}
|
|
4798
4799
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
4799
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
4800
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.jab_1) + ')';
|
|
4800
4801
|
};
|
|
4801
4802
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
4802
|
-
return hashCode(this.
|
|
4803
|
+
return hashCode(this.jab_1);
|
|
4803
4804
|
};
|
|
4804
4805
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
4805
4806
|
if (this === other)
|
|
4806
4807
|
return true;
|
|
4807
4808
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
4808
4809
|
return false;
|
|
4809
|
-
if (!equals(this.
|
|
4810
|
+
if (!equals(this.jab_1, other.jab_1))
|
|
4810
4811
|
return false;
|
|
4811
4812
|
return true;
|
|
4812
4813
|
};
|
|
4813
4814
|
function _get_asyncProvider__jbpyhw($this) {
|
|
4814
|
-
var tmp0 = $this.
|
|
4815
|
+
var tmp0 = $this.pab_1;
|
|
4815
4816
|
var tmp = KProperty1;
|
|
4816
4817
|
// Inline function 'kotlin.getValue' call
|
|
4817
4818
|
getPropertyCallableRef('asyncProvider', 1, tmp, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3_0(), null);
|
|
4818
4819
|
return tmp0.x();
|
|
4819
4820
|
}
|
|
4820
4821
|
function _get_logger__rkp4sl($this) {
|
|
4821
|
-
var tmp0 = $this.
|
|
4822
|
+
var tmp0 = $this.qab_1;
|
|
4822
4823
|
var tmp = KProperty1;
|
|
4823
4824
|
// Inline function 'kotlin.getValue' call
|
|
4824
4825
|
getPropertyCallableRef('logger', 1, tmp, ServerGameStoreContract$_get_logger_$ref_zbgw28_0(), null);
|
|
4825
4826
|
return tmp0.x();
|
|
4826
4827
|
}
|
|
4827
4828
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
4828
|
-
var tmp0 = $this.
|
|
4829
|
+
var tmp0 = $this.rab_1;
|
|
4829
4830
|
var tmp = KProperty1;
|
|
4830
4831
|
// Inline function 'kotlin.getValue' call
|
|
4831
4832
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8_0(), null);
|
|
4832
4833
|
return tmp0.x();
|
|
4833
4834
|
}
|
|
4834
4835
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
4835
|
-
var tmp0 = $this.
|
|
4836
|
+
var tmp0 = $this.sab_1;
|
|
4836
4837
|
var tmp = KProperty1;
|
|
4837
4838
|
// Inline function 'kotlin.getValue' call
|
|
4838
4839
|
getPropertyCallableRef('lastCardInteractor', 1, tmp, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh_0(), null);
|
|
4839
4840
|
return tmp0.x();
|
|
4840
4841
|
}
|
|
4841
4842
|
function _get_serverConfig__rk2g06($this) {
|
|
4842
|
-
var tmp0 = $this.
|
|
4843
|
+
var tmp0 = $this.tab_1;
|
|
4843
4844
|
var tmp = KProperty1;
|
|
4844
4845
|
// Inline function 'kotlin.getValue' call
|
|
4845
4846
|
getPropertyCallableRef('serverConfig', 1, tmp, ServerGameStoreContract$_get_serverConfig_$ref_bz2891_0(), null);
|
|
4846
4847
|
return tmp0.x();
|
|
4847
4848
|
}
|
|
4848
4849
|
function _get_logicConfig__52ww9d($this) {
|
|
4849
|
-
var tmp0 = $this.
|
|
4850
|
+
var tmp0 = $this.uab_1;
|
|
4850
4851
|
var tmp = KProperty1;
|
|
4851
4852
|
// Inline function 'kotlin.getValue' call
|
|
4852
4853
|
getPropertyCallableRef('logicConfig', 1, tmp, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi_0(), null);
|
|
4853
4854
|
return tmp0.x();
|
|
4854
4855
|
}
|
|
4855
4856
|
function _get_idsProvider__fnfajc_0($this) {
|
|
4856
|
-
var tmp0 = $this.
|
|
4857
|
+
var tmp0 = $this.vab_1;
|
|
4857
4858
|
var tmp = KProperty1;
|
|
4858
4859
|
// Inline function 'kotlin.getValue' call
|
|
4859
4860
|
getPropertyCallableRef('idsProvider', 1, tmp, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1_0(), null);
|
|
4860
4861
|
return tmp0.x();
|
|
4861
4862
|
}
|
|
4862
4863
|
function _get_botConfig__cpaxzc($this) {
|
|
4863
|
-
var tmp0 = $this.
|
|
4864
|
+
var tmp0 = $this.wab_1;
|
|
4864
4865
|
var tmp = KProperty1;
|
|
4865
4866
|
// Inline function 'kotlin.getValue' call
|
|
4866
4867
|
getPropertyCallableRef('botConfig', 1, tmp, ServerGameStoreContract$_get_botConfig_$ref_nebw1d_0(), null);
|
|
4867
4868
|
return tmp0.x();
|
|
4868
4869
|
}
|
|
4869
4870
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
4870
|
-
var tmp0 = $this.
|
|
4871
|
+
var tmp0 = $this.xab_1;
|
|
4871
4872
|
var tmp = KProperty1;
|
|
4872
4873
|
// Inline function 'kotlin.getValue' call
|
|
4873
4874
|
getPropertyCallableRef('scenePositionProvider', 1, tmp, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4_0(), null);
|
|
4874
4875
|
return tmp0.x();
|
|
4875
4876
|
}
|
|
4876
4877
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
4877
|
-
var tmp0 = $this.
|
|
4878
|
+
var tmp0 = $this.yab_1;
|
|
4878
4879
|
var tmp = KProperty1;
|
|
4879
4880
|
// Inline function 'kotlin.getValue' call
|
|
4880
4881
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p_0(), null);
|
|
4881
4882
|
return tmp0.x();
|
|
4882
4883
|
}
|
|
4883
4884
|
function _get_fromClientEventsObserver__a7vzd3_0($this) {
|
|
4884
|
-
var tmp0 = $this.
|
|
4885
|
+
var tmp0 = $this.zab_1;
|
|
4885
4886
|
var tmp = KProperty1;
|
|
4886
4887
|
// Inline function 'kotlin.getValue' call
|
|
4887
4888
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg_0(), null);
|
|
4888
4889
|
return tmp0.x();
|
|
4889
4890
|
}
|
|
4890
4891
|
function _get_dealerConfig__183ci8($this) {
|
|
4891
|
-
var tmp0 = $this.
|
|
4892
|
+
var tmp0 = $this.aac_1;
|
|
4892
4893
|
var tmp = KProperty1;
|
|
4893
4894
|
// Inline function 'kotlin.getValue' call
|
|
4894
4895
|
getPropertyCallableRef('dealerConfig', 1, tmp, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp_0(), null);
|
|
4895
4896
|
return tmp0.x();
|
|
4896
4897
|
}
|
|
4897
4898
|
function _get_poolProvider__tqti6a($this) {
|
|
4898
|
-
var tmp0 = $this.
|
|
4899
|
+
var tmp0 = $this.bac_1;
|
|
4899
4900
|
var tmp = KProperty1;
|
|
4900
4901
|
// Inline function 'kotlin.getValue' call
|
|
4901
4902
|
getPropertyCallableRef('poolProvider', 1, tmp, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3_0(), null);
|
|
4902
4903
|
return tmp0.x();
|
|
4903
4904
|
}
|
|
4904
4905
|
function _get_cardsDealerProvider__bekjpg($this) {
|
|
4905
|
-
var tmp0 = $this.
|
|
4906
|
+
var tmp0 = $this.cac_1;
|
|
4906
4907
|
var tmp = KProperty1;
|
|
4907
4908
|
// Inline function 'kotlin.getValue' call
|
|
4908
4909
|
getPropertyCallableRef('cardsDealerProvider', 1, tmp, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj_0(), null);
|
|
@@ -5066,11 +5067,11 @@
|
|
|
5066
5067
|
tmp = fileLoggerStoreContract;
|
|
5067
5068
|
}
|
|
5068
5069
|
fileLoggerStoreContract = tmp;
|
|
5069
|
-
this.
|
|
5070
|
-
this.
|
|
5071
|
-
this.
|
|
5072
|
-
this.
|
|
5073
|
-
this.
|
|
5070
|
+
this.kab_1 = validationStoreContract;
|
|
5071
|
+
this.lab_1 = timersStoreContract;
|
|
5072
|
+
this.mab_1 = botGameStoreContract;
|
|
5073
|
+
this.nab_1 = gameMechanicStoreContract;
|
|
5074
|
+
this.oab_1 = fileLoggerStoreContract;
|
|
5074
5075
|
var tmp_0 = this;
|
|
5075
5076
|
// Inline function 'org.kodein.di.instance' call
|
|
5076
5077
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5078,7 +5079,7 @@
|
|
|
5078
5079
|
var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
|
|
5079
5080
|
var tmp_2 = Instance(di, tmp$ret$0, null);
|
|
5080
5081
|
var tmp_3 = KProperty1;
|
|
5081
|
-
tmp_0.
|
|
5082
|
+
tmp_0.pab_1 = tmp_2.w64(this, getPropertyCallableRef('asyncProvider', 1, tmp_3, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3(), null));
|
|
5082
5083
|
var tmp_4 = this;
|
|
5083
5084
|
// Inline function 'org.kodein.di.instance' call
|
|
5084
5085
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5086,7 +5087,7 @@
|
|
|
5086
5087
|
var tmp$ret$2 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
5087
5088
|
var tmp_6 = Instance(di, tmp$ret$2, null);
|
|
5088
5089
|
var tmp_7 = KProperty1;
|
|
5089
|
-
tmp_4.
|
|
5090
|
+
tmp_4.qab_1 = tmp_6.w64(this, getPropertyCallableRef('logger', 1, tmp_7, ServerGameStoreContract$_get_logger_$ref_zbgw28(), null));
|
|
5090
5091
|
var tmp_8 = this;
|
|
5091
5092
|
// Inline function 'org.kodein.di.instance' call
|
|
5092
5093
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5094,7 +5095,7 @@
|
|
|
5094
5095
|
var tmp$ret$4 = isInterface(tmp_9, TypeToken) ? tmp_9 : THROW_CCE();
|
|
5095
5096
|
var tmp_10 = Instance(di, tmp$ret$4, null);
|
|
5096
5097
|
var tmp_11 = KProperty1;
|
|
5097
|
-
tmp_8.
|
|
5098
|
+
tmp_8.rab_1 = tmp_10.w64(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_11, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8(), null));
|
|
5098
5099
|
var tmp_12 = this;
|
|
5099
5100
|
// Inline function 'org.kodein.di.instance' call
|
|
5100
5101
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5102,7 +5103,7 @@
|
|
|
5102
5103
|
var tmp$ret$6 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
5103
5104
|
var tmp_14 = Instance(di, tmp$ret$6, null);
|
|
5104
5105
|
var tmp_15 = KProperty1;
|
|
5105
|
-
tmp_12.
|
|
5106
|
+
tmp_12.sab_1 = tmp_14.w64(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_15, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh(), null));
|
|
5106
5107
|
var tmp_16 = this;
|
|
5107
5108
|
// Inline function 'org.kodein.di.instance' call
|
|
5108
5109
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5110,7 +5111,7 @@
|
|
|
5110
5111
|
var tmp$ret$8 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
5111
5112
|
var tmp_18 = Instance(di, tmp$ret$8, null);
|
|
5112
5113
|
var tmp_19 = KProperty1;
|
|
5113
|
-
tmp_16.
|
|
5114
|
+
tmp_16.tab_1 = tmp_18.w64(this, getPropertyCallableRef('serverConfig', 1, tmp_19, ServerGameStoreContract$_get_serverConfig_$ref_bz2891(), null));
|
|
5114
5115
|
var tmp_20 = this;
|
|
5115
5116
|
// Inline function 'org.kodein.di.instance' call
|
|
5116
5117
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5118,7 +5119,7 @@
|
|
|
5118
5119
|
var tmp$ret$10 = isInterface(tmp_21, TypeToken) ? tmp_21 : THROW_CCE();
|
|
5119
5120
|
var tmp_22 = Instance(di, tmp$ret$10, null);
|
|
5120
5121
|
var tmp_23 = KProperty1;
|
|
5121
|
-
tmp_20.
|
|
5122
|
+
tmp_20.uab_1 = tmp_22.w64(this, getPropertyCallableRef('logicConfig', 1, tmp_23, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi(), null));
|
|
5122
5123
|
var tmp_24 = this;
|
|
5123
5124
|
// Inline function 'org.kodein.di.instance' call
|
|
5124
5125
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5126,7 +5127,7 @@
|
|
|
5126
5127
|
var tmp$ret$12 = isInterface(tmp_25, TypeToken) ? tmp_25 : THROW_CCE();
|
|
5127
5128
|
var tmp_26 = Instance(di, tmp$ret$12, null);
|
|
5128
5129
|
var tmp_27 = KProperty1;
|
|
5129
|
-
tmp_24.
|
|
5130
|
+
tmp_24.vab_1 = tmp_26.w64(this, getPropertyCallableRef('idsProvider', 1, tmp_27, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1(), null));
|
|
5130
5131
|
var tmp_28 = this;
|
|
5131
5132
|
// Inline function 'org.kodein.di.instance' call
|
|
5132
5133
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5134,7 +5135,7 @@
|
|
|
5134
5135
|
var tmp$ret$14 = isInterface(tmp_29, TypeToken) ? tmp_29 : THROW_CCE();
|
|
5135
5136
|
var tmp_30 = Instance(di, tmp$ret$14, null);
|
|
5136
5137
|
var tmp_31 = KProperty1;
|
|
5137
|
-
tmp_28.
|
|
5138
|
+
tmp_28.wab_1 = tmp_30.w64(this, getPropertyCallableRef('botConfig', 1, tmp_31, ServerGameStoreContract$_get_botConfig_$ref_nebw1d(), null));
|
|
5138
5139
|
var tmp_32 = this;
|
|
5139
5140
|
// Inline function 'org.kodein.di.instance' call
|
|
5140
5141
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5142,7 +5143,7 @@
|
|
|
5142
5143
|
var tmp$ret$16 = isInterface(tmp_33, TypeToken) ? tmp_33 : THROW_CCE();
|
|
5143
5144
|
var tmp_34 = Instance(di, tmp$ret$16, null);
|
|
5144
5145
|
var tmp_35 = KProperty1;
|
|
5145
|
-
tmp_32.
|
|
5146
|
+
tmp_32.xab_1 = tmp_34.w64(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_35, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4(), null));
|
|
5146
5147
|
var tmp_36 = this;
|
|
5147
5148
|
// Inline function 'org.kodein.di.instance' call
|
|
5148
5149
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5150,7 +5151,7 @@
|
|
|
5150
5151
|
var tmp$ret$18 = isInterface(tmp_37, TypeToken) ? tmp_37 : THROW_CCE();
|
|
5151
5152
|
var tmp_38 = Instance(di, tmp$ret$18, null);
|
|
5152
5153
|
var tmp_39 = KProperty1;
|
|
5153
|
-
tmp_36.
|
|
5154
|
+
tmp_36.yab_1 = tmp_38.w64(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_39, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p(), null));
|
|
5154
5155
|
var tmp_40 = this;
|
|
5155
5156
|
// Inline function 'org.kodein.di.instance' call
|
|
5156
5157
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5158,7 +5159,7 @@
|
|
|
5158
5159
|
var tmp$ret$20 = isInterface(tmp_41, TypeToken) ? tmp_41 : THROW_CCE();
|
|
5159
5160
|
var tmp_42 = Instance(di, tmp$ret$20, null);
|
|
5160
5161
|
var tmp_43 = KProperty1;
|
|
5161
|
-
tmp_40.
|
|
5162
|
+
tmp_40.zab_1 = tmp_42.w64(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_43, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg(), null));
|
|
5162
5163
|
var tmp_44 = this;
|
|
5163
5164
|
// Inline function 'org.kodein.di.instance' call
|
|
5164
5165
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5166,7 +5167,7 @@
|
|
|
5166
5167
|
var tmp$ret$22 = isInterface(tmp_45, TypeToken) ? tmp_45 : THROW_CCE();
|
|
5167
5168
|
var tmp_46 = Instance(di, tmp$ret$22, null);
|
|
5168
5169
|
var tmp_47 = KProperty1;
|
|
5169
|
-
tmp_44.
|
|
5170
|
+
tmp_44.aac_1 = tmp_46.w64(this, getPropertyCallableRef('dealerConfig', 1, tmp_47, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp(), null));
|
|
5170
5171
|
var tmp_48 = this;
|
|
5171
5172
|
// Inline function 'org.kodein.di.instance' call
|
|
5172
5173
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5174,7 +5175,7 @@
|
|
|
5174
5175
|
var tmp$ret$24 = isInterface(tmp_49, TypeToken) ? tmp_49 : THROW_CCE();
|
|
5175
5176
|
var tmp_50 = Instance(di, tmp$ret$24, null);
|
|
5176
5177
|
var tmp_51 = KProperty1;
|
|
5177
|
-
tmp_48.
|
|
5178
|
+
tmp_48.bac_1 = tmp_50.w64(this, getPropertyCallableRef('poolProvider', 1, tmp_51, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3(), null));
|
|
5178
5179
|
var tmp_52 = this;
|
|
5179
5180
|
// Inline function 'org.kodein.di.instance' call
|
|
5180
5181
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -5182,20 +5183,20 @@
|
|
|
5182
5183
|
var tmp$ret$26 = isInterface(tmp_53, TypeToken) ? tmp_53 : THROW_CCE();
|
|
5183
5184
|
var tmp_54 = Instance(di, tmp$ret$26, null);
|
|
5184
5185
|
var tmp_55 = KProperty1;
|
|
5185
|
-
tmp_52.
|
|
5186
|
+
tmp_52.cac_1 = tmp_54.w64(this, getPropertyCallableRef('cardsDealerProvider', 1, tmp_55, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj(), null));
|
|
5186
5187
|
}
|
|
5187
|
-
protoOf(ServerGameStoreContract).p97 = function () {
|
|
5188
|
-
return plus(plus(plus(plus(plus(this.jab_1.p97(), this.mab_1.p97()), this.kab_1.p97()), this.lab_1.p97()), this.nab_1.p97()), listOf_0([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl(this)), playerConnectionUpdateReducer()]));
|
|
5189
|
-
};
|
|
5190
5188
|
protoOf(ServerGameStoreContract).q97 = function () {
|
|
5191
|
-
|
|
5189
|
+
return plus(plus(plus(plus(plus(this.kab_1.q97(), this.nab_1.q97()), this.lab_1.q97()), this.mab_1.q97()), this.oab_1.q97()), listOf_0([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl(this)), playerConnectionUpdateReducer()]));
|
|
5190
|
+
};
|
|
5191
|
+
protoOf(ServerGameStoreContract).r97 = function () {
|
|
5192
|
+
var tmp = this.kab_1.r97();
|
|
5192
5193
|
var tmp_0;
|
|
5193
5194
|
if (_get_serverConfig__rk2g06(this).finishGameWhenNotLiveStrategy.equals(FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance())) {
|
|
5194
5195
|
tmp_0 = checkBotsMiddleware(_get_logger__rkp4sl(this));
|
|
5195
5196
|
} else {
|
|
5196
5197
|
tmp_0 = null;
|
|
5197
5198
|
}
|
|
5198
|
-
var tmp_1 = plus(plus(plus(plus(plus(tmp, listOfNotNull(tmp_0)), this.
|
|
5199
|
+
var tmp_1 = plus(plus(plus(plus(plus(tmp, listOfNotNull(tmp_0)), this.nab_1.r97()), this.lab_1.r97()), this.mab_1.r97()), this.oab_1.r97());
|
|
5199
5200
|
var tmp_2 = playerConnectionUpdateMiddleware(_get_logger__rkp4sl(this), _get_playerConnectionInteractor__si6cxf_0(this));
|
|
5200
5201
|
var tmp_3 = playerReconnectionTimeoutMiddleware(_get_playerConnectionInteractor__si6cxf_0(this));
|
|
5201
5202
|
var tmp_4;
|
|
@@ -5204,7 +5205,7 @@
|
|
|
5204
5205
|
} else {
|
|
5205
5206
|
tmp_4 = null;
|
|
5206
5207
|
}
|
|
5207
|
-
var tmp_5 = plus(plus(tmp_1, listOfNotNull_0([tmp_2, tmp_3, tmp_4])), listOfNotNull_0([sendFromClientEventsMiddleware(_get_asyncProvider__jbpyhw(this), _get_fromClientEventsObserver__a7vzd3_0(this)), sendToClientActionMiddleware(_get_asyncProvider__jbpyhw(this), _get_toClientEventsObserver__6rp51y_0(this)), (new ServerMapMechanicToClientActionMiddleware(_get_logicConfig__52ww9d(this), _get_idsProvider__fnfajc_0(this))).
|
|
5208
|
+
var tmp_5 = plus(plus(tmp_1, listOfNotNull_0([tmp_2, tmp_3, tmp_4])), listOfNotNull_0([sendFromClientEventsMiddleware(_get_asyncProvider__jbpyhw(this), _get_fromClientEventsObserver__a7vzd3_0(this)), sendToClientActionMiddleware(_get_asyncProvider__jbpyhw(this), _get_toClientEventsObserver__6rp51y_0(this)), (new ServerMapMechanicToClientActionMiddleware(_get_logicConfig__52ww9d(this), _get_idsProvider__fnfajc_0(this))).x99(), finishingGameWhenCantStartNewMiddleware()]));
|
|
5208
5209
|
var tmp_6 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this), _get_logger__rkp4sl(this));
|
|
5209
5210
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
5210
5211
|
var tmp1_logger = _get_logger__rkp4sl(this);
|
|
@@ -5255,7 +5256,7 @@
|
|
|
5255
5256
|
return this.v6h(store, next, action);
|
|
5256
5257
|
};
|
|
5257
5258
|
function ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
|
|
5258
|
-
this.
|
|
5259
|
+
this.fac_1 = this$0;
|
|
5259
5260
|
}
|
|
5260
5261
|
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).g6g = function (action) {
|
|
5261
5262
|
return action instanceof MechanicAction;
|
|
@@ -5266,11 +5267,11 @@
|
|
|
5266
5267
|
// Inline function 'kotlin.with' call
|
|
5267
5268
|
var tmp;
|
|
5268
5269
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
5269
|
-
var tmp0 = this.
|
|
5270
|
-
var tmp2 = action_0.
|
|
5271
|
-
var tmp4 = action_0.
|
|
5270
|
+
var tmp0 = this.fac_1;
|
|
5271
|
+
var tmp2 = action_0.x93_1;
|
|
5272
|
+
var tmp4 = action_0.z93_1;
|
|
5272
5273
|
// Inline function 'kotlin.collections.map' call
|
|
5273
|
-
var this_0 = action_0.
|
|
5274
|
+
var this_0 = action_0.a94_1;
|
|
5274
5275
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5275
5276
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
5276
5277
|
var _iterator__ex2g4s = this_0.l();
|
|
@@ -5306,7 +5307,7 @@
|
|
|
5306
5307
|
var _iterator__ex2g4s_2 = destination_1.l();
|
|
5307
5308
|
while (_iterator__ex2g4s_2.m()) {
|
|
5308
5309
|
var element_0 = _iterator__ex2g4s_2.n();
|
|
5309
|
-
var tmp0_aid = tmp0.
|
|
5310
|
+
var tmp0_aid = tmp0.eac_1.e6e();
|
|
5310
5311
|
// Inline function 'kotlin.collections.map' call
|
|
5311
5312
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5312
5313
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -5328,15 +5329,15 @@
|
|
|
5328
5329
|
tmp = destination_2;
|
|
5329
5330
|
} else {
|
|
5330
5331
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
5331
|
-
var tmp0_0 = this.
|
|
5332
|
+
var tmp0_0 = this.fac_1;
|
|
5332
5333
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5333
5334
|
var table = state.z6r();
|
|
5334
|
-
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.
|
|
5335
|
+
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.eac_1.e6e(), table.id, null);
|
|
5335
5336
|
var tmp$ret$21 = mapToClient_18(action_0, sendToPlayer_0);
|
|
5336
5337
|
tmp = listOfNotNull(tmp$ret$21);
|
|
5337
5338
|
} else {
|
|
5338
5339
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
5339
|
-
var tmp0_1 = this.
|
|
5340
|
+
var tmp0_1 = this.fac_1;
|
|
5340
5341
|
var tmp2_0 = action_0.table.id;
|
|
5341
5342
|
var tmp4_0 = action_0.gameCreatorPlayerId;
|
|
5342
5343
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -5376,7 +5377,7 @@
|
|
|
5376
5377
|
var _iterator__ex2g4s_7 = destination_6.l();
|
|
5377
5378
|
while (_iterator__ex2g4s_7.m()) {
|
|
5378
5379
|
var element_2 = _iterator__ex2g4s_7.n();
|
|
5379
|
-
var tmp0_aid_0 = tmp0_1.
|
|
5380
|
+
var tmp0_aid_0 = tmp0_1.eac_1.e6e();
|
|
5380
5381
|
// Inline function 'kotlin.collections.map' call
|
|
5381
5382
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5382
5383
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -5398,39 +5399,39 @@
|
|
|
5398
5399
|
tmp = destination_7;
|
|
5399
5400
|
} else {
|
|
5400
5401
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
5401
|
-
var tmp0_2 = this.
|
|
5402
|
+
var tmp0_2 = this.fac_1;
|
|
5402
5403
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5403
5404
|
var table_0 = state.z6r();
|
|
5404
|
-
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.
|
|
5405
|
+
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.eac_1.e6e(), table_0.id, null);
|
|
5405
5406
|
var tmp$ret$44 = mapToClient_16(action_0, sendToPlayer_2);
|
|
5406
5407
|
tmp = listOfNotNull(tmp$ret$44);
|
|
5407
5408
|
} else {
|
|
5408
5409
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
5409
|
-
var tmp0_3 = this.
|
|
5410
|
+
var tmp0_3 = this.fac_1;
|
|
5410
5411
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5411
5412
|
var table_1 = state.z6r();
|
|
5412
|
-
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.
|
|
5413
|
+
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.eac_1.e6e(), table_1.id, null);
|
|
5413
5414
|
var tmp$ret$46 = mapToClient_15(action_0, sendToPlayer_3);
|
|
5414
5415
|
tmp = listOfNotNull(tmp$ret$46);
|
|
5415
5416
|
} else {
|
|
5416
5417
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
5417
|
-
var tmp0_4 = this.
|
|
5418
|
+
var tmp0_4 = this.fac_1;
|
|
5418
5419
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5419
5420
|
var table_2 = state.z6r();
|
|
5420
|
-
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.
|
|
5421
|
+
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.eac_1.e6e(), table_2.id, null);
|
|
5421
5422
|
var tmp$ret$48 = mapToClient_14(action_0, sendToPlayer_4);
|
|
5422
5423
|
tmp = listOfNotNull(tmp$ret$48);
|
|
5423
5424
|
} else {
|
|
5424
5425
|
if (action_0 instanceof ErrorAction) {
|
|
5425
|
-
var tmp0_5 = this.
|
|
5426
|
+
var tmp0_5 = this.fac_1;
|
|
5426
5427
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5427
5428
|
var table_3 = state.z6r();
|
|
5428
|
-
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.
|
|
5429
|
+
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.eac_1.e6e(), table_3.id, null);
|
|
5429
5430
|
var tmp$ret$50 = mapToClient_13(action_0, sendToPlayer_5);
|
|
5430
5431
|
tmp = listOfNotNull(tmp$ret$50);
|
|
5431
5432
|
} else {
|
|
5432
5433
|
if (action_0 instanceof SceneMechanicAction) {
|
|
5433
|
-
var tmp0_6 = this.
|
|
5434
|
+
var tmp0_6 = this.fac_1;
|
|
5434
5435
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
5435
5436
|
var table_4 = state.z6r();
|
|
5436
5437
|
var tmp2_1 = table_4.id;
|
|
@@ -5463,7 +5464,7 @@
|
|
|
5463
5464
|
var _iterator__ex2g4s_11 = destination_10.l();
|
|
5464
5465
|
while (_iterator__ex2g4s_11.m()) {
|
|
5465
5466
|
var element_4 = _iterator__ex2g4s_11.n();
|
|
5466
|
-
var tmp0_aid_1 = tmp0_6.
|
|
5467
|
+
var tmp0_aid_1 = tmp0_6.eac_1.e6e();
|
|
5467
5468
|
// Inline function 'kotlin.collections.map' call
|
|
5468
5469
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5469
5470
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
|
|
@@ -5485,7 +5486,7 @@
|
|
|
5485
5486
|
tmp = destination_11;
|
|
5486
5487
|
} else {
|
|
5487
5488
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
5488
|
-
var tmp0_7 = this.
|
|
5489
|
+
var tmp0_7 = this.fac_1;
|
|
5489
5490
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
5490
5491
|
var table_5 = state.z6r();
|
|
5491
5492
|
var tmp2_2 = table_5.id;
|
|
@@ -5518,7 +5519,7 @@
|
|
|
5518
5519
|
var _iterator__ex2g4s_15 = destination_14.l();
|
|
5519
5520
|
while (_iterator__ex2g4s_15.m()) {
|
|
5520
5521
|
var element_6 = _iterator__ex2g4s_15.n();
|
|
5521
|
-
var tmp0_aid_2 = tmp0_7.
|
|
5522
|
+
var tmp0_aid_2 = tmp0_7.eac_1.e6e();
|
|
5522
5523
|
// Inline function 'kotlin.collections.map' call
|
|
5523
5524
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5524
5525
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
|
|
@@ -5540,7 +5541,7 @@
|
|
|
5540
5541
|
tmp = destination_15;
|
|
5541
5542
|
} else {
|
|
5542
5543
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
5543
|
-
var tmp0_8 = this.
|
|
5544
|
+
var tmp0_8 = this.fac_1;
|
|
5544
5545
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
5545
5546
|
var table_6 = state.z6r();
|
|
5546
5547
|
var tmp2_3 = table_6.id;
|
|
@@ -5573,7 +5574,7 @@
|
|
|
5573
5574
|
var _iterator__ex2g4s_19 = destination_18.l();
|
|
5574
5575
|
while (_iterator__ex2g4s_19.m()) {
|
|
5575
5576
|
var element_8 = _iterator__ex2g4s_19.n();
|
|
5576
|
-
var tmp0_aid_3 = tmp0_8.
|
|
5577
|
+
var tmp0_aid_3 = tmp0_8.eac_1.e6e();
|
|
5577
5578
|
// Inline function 'kotlin.collections.map' call
|
|
5578
5579
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5579
5580
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
|
|
@@ -5585,7 +5586,7 @@
|
|
|
5585
5586
|
}
|
|
5586
5587
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tmp2_3, tmp4_3, element_8, destination_20);
|
|
5587
5588
|
var tmp_0;
|
|
5588
|
-
if (this.
|
|
5589
|
+
if (this.fac_1.dac_1.supportBackwardActions && getPlayer(state.z6r().players, sendToPlayer_8.z7g_1).m6v_1.w6z_1) {
|
|
5589
5590
|
tmp_0 = null;
|
|
5590
5591
|
} else {
|
|
5591
5592
|
tmp_0 = mapToClient_10(action_0, sendToPlayer_8);
|
|
@@ -5601,81 +5602,81 @@
|
|
|
5601
5602
|
tmp = destination_19;
|
|
5602
5603
|
} else {
|
|
5603
5604
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
5604
|
-
var tmp0_9 = this.
|
|
5605
|
+
var tmp0_9 = this.fac_1;
|
|
5605
5606
|
var tmp2_4 = state.z6r();
|
|
5606
5607
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5607
|
-
var exceptPlayerId = this.
|
|
5608
|
-
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.
|
|
5608
|
+
var exceptPlayerId = this.fac_1.dac_1.supportBackwardActions ? action_0.q94_1 : null;
|
|
5609
|
+
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.eac_1.e6e(), tmp2_4.id, exceptPlayerId);
|
|
5609
5610
|
var tmp$ret$109 = mapToClient_9(action_0, sendToPlayer_9);
|
|
5610
5611
|
tmp = listOfNotNull(tmp$ret$109);
|
|
5611
5612
|
} else {
|
|
5612
5613
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
5613
|
-
var tmp0_10 = this.
|
|
5614
|
+
var tmp0_10 = this.fac_1;
|
|
5614
5615
|
var tmp2_5 = state.z6r();
|
|
5615
5616
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5616
|
-
var exceptPlayerId_0 = this.
|
|
5617
|
-
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.
|
|
5617
|
+
var exceptPlayerId_0 = this.fac_1.dac_1.supportBackwardActions ? action_0.y8z_1 : null;
|
|
5618
|
+
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.eac_1.e6e(), tmp2_5.id, exceptPlayerId_0);
|
|
5618
5619
|
var tmp$ret$111 = mapToClient_8(action_0, sendToPlayer_10);
|
|
5619
5620
|
tmp = listOfNotNull(tmp$ret$111);
|
|
5620
5621
|
} else {
|
|
5621
5622
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
5622
|
-
var tmp0_11 = this.
|
|
5623
|
+
var tmp0_11 = this.fac_1;
|
|
5623
5624
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5624
5625
|
var table_7 = state.z6r();
|
|
5625
|
-
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.
|
|
5626
|
+
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.eac_1.e6e(), table_7.id, null);
|
|
5626
5627
|
var tmp$ret$113 = mapToClient_7(action_0, sendToPlayer_11);
|
|
5627
5628
|
tmp = listOfNotNull(tmp$ret$113);
|
|
5628
5629
|
} else {
|
|
5629
5630
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
5630
|
-
var tmp0_12 = this.
|
|
5631
|
+
var tmp0_12 = this.fac_1;
|
|
5631
5632
|
var tmp2_6 = state.z6r();
|
|
5632
5633
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5633
|
-
var exceptPlayerId_1 = this.
|
|
5634
|
-
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.
|
|
5634
|
+
var exceptPlayerId_1 = this.fac_1.dac_1.supportBackwardActions ? action_0.w94_1 : null;
|
|
5635
|
+
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.eac_1.e6e(), tmp2_6.id, exceptPlayerId_1);
|
|
5635
5636
|
var tmp$ret$115 = mapToClient_6(action_0, sendToPlayer_12);
|
|
5636
5637
|
tmp = listOfNotNull(tmp$ret$115);
|
|
5637
5638
|
} else {
|
|
5638
5639
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
5639
|
-
var tmp0_13 = this.
|
|
5640
|
+
var tmp0_13 = this.fac_1;
|
|
5640
5641
|
var tmp2_7 = state.z6r();
|
|
5641
5642
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5642
|
-
var exceptPlayerId_2 = this.
|
|
5643
|
-
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.
|
|
5643
|
+
var exceptPlayerId_2 = this.fac_1.dac_1.supportBackwardActions ? action_0.e90_1 : null;
|
|
5644
|
+
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.eac_1.e6e(), tmp2_7.id, exceptPlayerId_2);
|
|
5644
5645
|
var tmp$ret$117 = mapToClient_5(action_0, sendToPlayer_13);
|
|
5645
5646
|
tmp = listOfNotNull(tmp$ret$117);
|
|
5646
5647
|
} else {
|
|
5647
5648
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
5648
|
-
var tmp0_14 = this.
|
|
5649
|
+
var tmp0_14 = this.fac_1;
|
|
5649
5650
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5650
5651
|
var table_8 = state.z6r();
|
|
5651
|
-
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.
|
|
5652
|
+
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.eac_1.e6e(), table_8.id, null);
|
|
5652
5653
|
var tmp$ret$119 = mapToClient_4(action_0, sendToPlayer_14);
|
|
5653
5654
|
tmp = listOfNotNull(tmp$ret$119);
|
|
5654
5655
|
} else {
|
|
5655
5656
|
if (action_0 instanceof TakeAllRemainingCardsMechanicAction) {
|
|
5656
|
-
var tmp0_15 = this.
|
|
5657
|
+
var tmp0_15 = this.fac_1;
|
|
5657
5658
|
var tmp2_8 = state.z6r();
|
|
5658
5659
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5659
|
-
var exceptPlayerId_3 = this.
|
|
5660
|
-
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.
|
|
5660
|
+
var exceptPlayerId_3 = this.fac_1.dac_1.supportBackwardActions ? action_0.y94_1 : null;
|
|
5661
|
+
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.eac_1.e6e(), tmp2_8.id, exceptPlayerId_3);
|
|
5661
5662
|
var tmp$ret$121 = mapToClient_3(action_0, sendToPlayer_15);
|
|
5662
5663
|
tmp = listOfNotNull(tmp$ret$121);
|
|
5663
5664
|
} else {
|
|
5664
5665
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
5665
|
-
var tmp0_16 = this.
|
|
5666
|
+
var tmp0_16 = this.fac_1;
|
|
5666
5667
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5667
5668
|
var table_9 = state.z6r();
|
|
5668
|
-
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.
|
|
5669
|
+
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.eac_1.e6e(), table_9.id, null);
|
|
5669
5670
|
var tmp$ret$123 = mapToClient_2(action_0, sendToPlayer_16);
|
|
5670
5671
|
tmp = listOfNotNull(tmp$ret$123);
|
|
5671
5672
|
} else {
|
|
5672
5673
|
if (action_0 instanceof MessageMechanicAction) {
|
|
5673
5674
|
var message = action_0.message;
|
|
5674
|
-
var tmp0_17 = this.
|
|
5675
|
+
var tmp0_17 = this.fac_1;
|
|
5675
5676
|
var tmp2_9 = state.z6r();
|
|
5676
5677
|
var tmp_1;
|
|
5677
5678
|
var tmp_2;
|
|
5678
|
-
if (this.
|
|
5679
|
+
if (this.fac_1.dac_1.supportBackwardActions) {
|
|
5679
5680
|
tmp_2 = isInterface(message, UserMessage);
|
|
5680
5681
|
} else {
|
|
5681
5682
|
tmp_2 = false;
|
|
@@ -5687,16 +5688,16 @@
|
|
|
5687
5688
|
}
|
|
5688
5689
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5689
5690
|
var exceptPlayerId_4 = tmp_1;
|
|
5690
|
-
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.
|
|
5691
|
+
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.eac_1.e6e(), tmp2_9.id, exceptPlayerId_4);
|
|
5691
5692
|
var tmp$ret$125 = mapToClient_1(action_0, sendToPlayer_17);
|
|
5692
5693
|
tmp = listOfNotNull(tmp$ret$125);
|
|
5693
5694
|
} else {
|
|
5694
5695
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
5695
|
-
var tmp0_18 = this.
|
|
5696
|
+
var tmp0_18 = this.fac_1;
|
|
5696
5697
|
var tmp2_10 = state.z6r();
|
|
5697
5698
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5698
5699
|
var exceptPlayerId_5 = action_0.playerId;
|
|
5699
|
-
var sendToPlayer_18 = new RoomActionPayload(tmp0_18.
|
|
5700
|
+
var sendToPlayer_18 = new RoomActionPayload(tmp0_18.eac_1.e6e(), tmp2_10.id, exceptPlayerId_5);
|
|
5700
5701
|
var tmp$ret$127 = mapToClient_0(action_0, sendToPlayer_18);
|
|
5701
5702
|
tmp = listOfNotNull(tmp$ret$127);
|
|
5702
5703
|
} else {
|
|
@@ -5734,10 +5735,10 @@
|
|
|
5734
5735
|
return this.v6h(store, next, action);
|
|
5735
5736
|
};
|
|
5736
5737
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
5737
|
-
this.
|
|
5738
|
-
this.
|
|
5738
|
+
this.dac_1 = logicConfig;
|
|
5739
|
+
this.eac_1 = idsProvider;
|
|
5739
5740
|
}
|
|
5740
|
-
protoOf(ServerMapMechanicToClientActionMiddleware).
|
|
5741
|
+
protoOf(ServerMapMechanicToClientActionMiddleware).x99 = function () {
|
|
5741
5742
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
5742
5743
|
return new ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this);
|
|
5743
5744
|
};
|
|
@@ -5746,8 +5747,8 @@
|
|
|
5746
5747
|
return new playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1(logger, playerConnectionInteractor);
|
|
5747
5748
|
}
|
|
5748
5749
|
function playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1($logger, $playerConnectionInteractor) {
|
|
5749
|
-
this.
|
|
5750
|
-
this.
|
|
5750
|
+
this.gac_1 = $logger;
|
|
5751
|
+
this.hac_1 = $playerConnectionInteractor;
|
|
5751
5752
|
}
|
|
5752
5753
|
protoOf(playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1).g6g = function (action) {
|
|
5753
5754
|
return action instanceof PlayerConnectionUpdateAction;
|
|
@@ -5760,13 +5761,13 @@
|
|
|
5760
5761
|
if (!get_isCreated(state)) {
|
|
5761
5762
|
break $l$block_1;
|
|
5762
5763
|
}
|
|
5763
|
-
var player = getPlayer(state.z6r().players, tmp4.
|
|
5764
|
-
if (tmp4.
|
|
5764
|
+
var player = getPlayer(state.z6r().players, tmp4.g93_1);
|
|
5765
|
+
if (tmp4.f93_1.isVisibleDisconnectedReason) {
|
|
5765
5766
|
if (player.k6v_1.a69().n67_1.isDisconnecting) {
|
|
5766
5767
|
break $l$block_1;
|
|
5767
5768
|
}
|
|
5768
5769
|
if (player.k6v_1.a69().n67_1.isLeftPermanently) {
|
|
5769
|
-
this.
|
|
5770
|
+
this.gac_1.w('playerConnectionUpdateMiddleware', "player connection state can't be changed after [playerLeft] is invoked, " + tmp4.toString());
|
|
5770
5771
|
break $l$block_1;
|
|
5771
5772
|
}
|
|
5772
5773
|
}
|
|
@@ -5789,7 +5790,7 @@
|
|
|
5789
5790
|
var _iterator__ex2g4s_0 = destination.l();
|
|
5790
5791
|
while (_iterator__ex2g4s_0.m()) {
|
|
5791
5792
|
var element_0 = _iterator__ex2g4s_0.n();
|
|
5792
|
-
if (element_0.
|
|
5793
|
+
if (element_0.iac_1 === tmp4.g93_1) {
|
|
5793
5794
|
if (found) {
|
|
5794
5795
|
tmp$ret$4 = null;
|
|
5795
5796
|
break $l$block_3;
|
|
@@ -5808,7 +5809,7 @@
|
|
|
5808
5809
|
if (!(reconnectionTimerTag == null)) {
|
|
5809
5810
|
store.dispatch(new StopTimerAction(reconnectionTimerTag));
|
|
5810
5811
|
}
|
|
5811
|
-
var actions = this.
|
|
5812
|
+
var actions = this.hac_1.aab(tmp4.f93_1, player.k6v_1.a69().n67_1, player, store.state.z6r(), tmp4.h93_1);
|
|
5812
5813
|
// Inline function 'kotlin.collections.forEach' call
|
|
5813
5814
|
var _iterator__ex2g4s_1 = actions.l();
|
|
5814
5815
|
while (_iterator__ex2g4s_1.m()) {
|
|
@@ -5825,17 +5826,17 @@
|
|
|
5825
5826
|
return new playerReconnectionTimeoutMiddleware$$inlined$middlewareForActionType$1(playerConnectionInteractor);
|
|
5826
5827
|
}
|
|
5827
5828
|
function PlayerReconnectionWaitingTimerTag(playerId, state, previousState) {
|
|
5828
|
-
this.
|
|
5829
|
-
this.
|
|
5830
|
-
this.
|
|
5829
|
+
this.iac_1 = playerId;
|
|
5830
|
+
this.jac_1 = state;
|
|
5831
|
+
this.kac_1 = previousState;
|
|
5831
5832
|
}
|
|
5832
5833
|
protoOf(PlayerReconnectionWaitingTimerTag).toString = function () {
|
|
5833
|
-
return 'PlayerReconnectionWaitingTimerTag(playerId=' + this.
|
|
5834
|
+
return 'PlayerReconnectionWaitingTimerTag(playerId=' + this.iac_1 + ', state=' + this.jac_1.toString() + ', previousState=' + this.kac_1.toString() + ')';
|
|
5834
5835
|
};
|
|
5835
5836
|
protoOf(PlayerReconnectionWaitingTimerTag).hashCode = function () {
|
|
5836
|
-
var result = getStringHashCode(this.
|
|
5837
|
-
result = imul(result, 31) + this.iac_1.hashCode() | 0;
|
|
5837
|
+
var result = getStringHashCode(this.iac_1);
|
|
5838
5838
|
result = imul(result, 31) + this.jac_1.hashCode() | 0;
|
|
5839
|
+
result = imul(result, 31) + this.kac_1.hashCode() | 0;
|
|
5839
5840
|
return result;
|
|
5840
5841
|
};
|
|
5841
5842
|
protoOf(PlayerReconnectionWaitingTimerTag).equals = function (other) {
|
|
@@ -5843,16 +5844,16 @@
|
|
|
5843
5844
|
return true;
|
|
5844
5845
|
if (!(other instanceof PlayerReconnectionWaitingTimerTag))
|
|
5845
5846
|
return false;
|
|
5846
|
-
if (!(this.
|
|
5847
|
-
return false;
|
|
5848
|
-
if (!this.iac_1.equals(other.iac_1))
|
|
5847
|
+
if (!(this.iac_1 === other.iac_1))
|
|
5849
5848
|
return false;
|
|
5850
5849
|
if (!this.jac_1.equals(other.jac_1))
|
|
5851
5850
|
return false;
|
|
5851
|
+
if (!this.kac_1.equals(other.kac_1))
|
|
5852
|
+
return false;
|
|
5852
5853
|
return true;
|
|
5853
5854
|
};
|
|
5854
5855
|
function playerReconnectionTimeoutMiddleware$$inlined$middlewareForActionType$1($playerConnectionInteractor) {
|
|
5855
|
-
this.
|
|
5856
|
+
this.lac_1 = $playerConnectionInteractor;
|
|
5856
5857
|
}
|
|
5857
5858
|
protoOf(playerReconnectionTimeoutMiddleware$$inlined$middlewareForActionType$1).g6g = function (action) {
|
|
5858
5859
|
return action instanceof TimerTickAction;
|
|
@@ -5866,8 +5867,8 @@
|
|
|
5866
5867
|
var timerTag = tmp4.c6g_1;
|
|
5867
5868
|
if (timerTag instanceof PlayerReconnectionWaitingTimerTag) {
|
|
5868
5869
|
var state = store.state;
|
|
5869
|
-
var player = getPlayer(state.z6r().players, timerTag.
|
|
5870
|
-
var actions = this.
|
|
5870
|
+
var player = getPlayer(state.z6r().players, timerTag.iac_1);
|
|
5871
|
+
var actions = this.lac_1.aab(timerTag.jac_1, timerTag.kac_1, player, state.z6r(), true);
|
|
5871
5872
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5872
5873
|
if (!actions.r()) {
|
|
5873
5874
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5889,7 +5890,7 @@
|
|
|
5889
5890
|
return new playerReconnectionTimerStartWhenStartGameMiddleware$$inlined$middlewareForActionType$1(playerConnectionInteractor);
|
|
5890
5891
|
}
|
|
5891
5892
|
function playerReconnectionTimerStartWhenStartGameMiddleware$$inlined$middlewareForActionType$1($playerConnectionInteractor) {
|
|
5892
|
-
this.
|
|
5893
|
+
this.mac_1 = $playerConnectionInteractor;
|
|
5893
5894
|
}
|
|
5894
5895
|
protoOf(playerReconnectionTimerStartWhenStartGameMiddleware$$inlined$middlewareForActionType$1).g6g = function (action) {
|
|
5895
5896
|
return isInterface(action, FirstMechanicAction);
|
|
@@ -5917,7 +5918,7 @@
|
|
|
5917
5918
|
var tmp1_previousConnectionState = element_0.k6v_1.a69().n67_1;
|
|
5918
5919
|
var tmp2_playerId = element_0.playerId;
|
|
5919
5920
|
// Inline function 'kotlin.collections.forEach' call
|
|
5920
|
-
var _iterator__ex2g4s_1 = this.
|
|
5921
|
+
var _iterator__ex2g4s_1 = this.mac_1.bab(tmp2_playerId, tmp0_newConnectionState, tmp1_previousConnectionState).l();
|
|
5921
5922
|
while (_iterator__ex2g4s_1.m()) {
|
|
5922
5923
|
var element_1 = _iterator__ex2g4s_1.n();
|
|
5923
5924
|
store.dispatch(element_1);
|
|
@@ -5932,8 +5933,8 @@
|
|
|
5932
5933
|
return new sendToClientActionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, provider);
|
|
5933
5934
|
}
|
|
5934
5935
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
5935
|
-
this.
|
|
5936
|
-
this.
|
|
5936
|
+
this.vac_1 = $provider;
|
|
5937
|
+
this.wac_1 = $action;
|
|
5937
5938
|
CoroutineImpl.call(this, resultContinuation);
|
|
5938
5939
|
}
|
|
5939
5940
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).b2d = function ($this$launchDefault, $completion) {
|
|
@@ -5954,7 +5955,7 @@
|
|
|
5954
5955
|
case 0:
|
|
5955
5956
|
this.t8_1 = 2;
|
|
5956
5957
|
this.s8_1 = 1;
|
|
5957
|
-
suspendResult = this.
|
|
5958
|
+
suspendResult = this.vac_1.ua8(this.wac_1, this);
|
|
5958
5959
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5959
5960
|
return suspendResult;
|
|
5960
5961
|
}
|
|
@@ -5977,8 +5978,8 @@
|
|
|
5977
5978
|
while (true);
|
|
5978
5979
|
};
|
|
5979
5980
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).c2d = function ($this$launchDefault, completion) {
|
|
5980
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
5981
|
-
i.
|
|
5981
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.vac_1, this.wac_1, completion);
|
|
5982
|
+
i.xac_1 = $this$launchDefault;
|
|
5982
5983
|
return i;
|
|
5983
5984
|
};
|
|
5984
5985
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -5990,15 +5991,15 @@
|
|
|
5990
5991
|
return l;
|
|
5991
5992
|
}
|
|
5992
5993
|
function sendToClientActionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $provider) {
|
|
5993
|
-
this.
|
|
5994
|
-
this.
|
|
5994
|
+
this.yac_1 = $asyncProvider;
|
|
5995
|
+
this.zac_1 = $provider;
|
|
5995
5996
|
}
|
|
5996
5997
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).g6g = function (action) {
|
|
5997
5998
|
return action instanceof ToClientAction;
|
|
5998
5999
|
};
|
|
5999
6000
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).v6h = function (store, next, action) {
|
|
6000
6001
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
6001
|
-
this.
|
|
6002
|
+
this.yac_1.j6c(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.zac_1, action_0, null));
|
|
6002
6003
|
next(action_0);
|
|
6003
6004
|
};
|
|
6004
6005
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).f6g = function (store, next, action) {
|
|
@@ -6009,11 +6010,11 @@
|
|
|
6009
6010
|
return new playerTurnTimeoutWhenHasConnectionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, serverConfig, logger);
|
|
6010
6011
|
}
|
|
6011
6012
|
function playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda($store, $timerTag, $serverConfig, $logger, $action, resultContinuation) {
|
|
6012
|
-
this.
|
|
6013
|
-
this.
|
|
6014
|
-
this.
|
|
6015
|
-
this.
|
|
6016
|
-
this.
|
|
6013
|
+
this.iad_1 = $store;
|
|
6014
|
+
this.jad_1 = $timerTag;
|
|
6015
|
+
this.kad_1 = $serverConfig;
|
|
6016
|
+
this.lad_1 = $logger;
|
|
6017
|
+
this.mad_1 = $action;
|
|
6017
6018
|
CoroutineImpl.call(this, resultContinuation);
|
|
6018
6019
|
}
|
|
6019
6020
|
protoOf(playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda).b2d = function ($this$launchDefaultWithLock, $completion) {
|
|
@@ -6032,13 +6033,13 @@
|
|
|
6032
6033
|
var tmp = this.s8_1;
|
|
6033
6034
|
if (tmp === 0) {
|
|
6034
6035
|
this.t8_1 = 1;
|
|
6035
|
-
var table = this.
|
|
6036
|
-
var player = getPlayer(table.players, this.
|
|
6036
|
+
var table = this.iad_1.state.z6r();
|
|
6037
|
+
var player = getPlayer(table.players, this.jad_1.v65());
|
|
6037
6038
|
var connectionState = player.k6v_1.a69().n67_1;
|
|
6038
6039
|
var tmp_0;
|
|
6039
6040
|
switch (connectionState.q2_1) {
|
|
6040
6041
|
case 1:
|
|
6041
|
-
tmp_0 = listOf(new PlayerConnectionUpdateAction(PlayerConnectionState_TIMEOUT_getInstance(), player.playerId, this.
|
|
6042
|
+
tmp_0 = listOf(new PlayerConnectionUpdateAction(PlayerConnectionState_TIMEOUT_getInstance(), player.playerId, this.jad_1.t9g_1));
|
|
6042
6043
|
break;
|
|
6043
6044
|
case 6:
|
|
6044
6045
|
tmp_0 = emptyList();
|
|
@@ -6048,8 +6049,8 @@
|
|
|
6048
6049
|
case 3:
|
|
6049
6050
|
case 2:
|
|
6050
6051
|
var tmp_1;
|
|
6051
|
-
if (table.sceneInfo.
|
|
6052
|
-
tmp_1 = new PlayerConnectionUpdateAction(PlayerConnectionState_DELETED_getInstance(), player.playerId, this.
|
|
6052
|
+
if (table.sceneInfo.g7g() && this.kad_1.closeIfBotsAtFinish) {
|
|
6053
|
+
tmp_1 = new PlayerConnectionUpdateAction(PlayerConnectionState_DELETED_getInstance(), player.playerId, this.jad_1.t9g_1);
|
|
6053
6054
|
} else {
|
|
6054
6055
|
tmp_1 = AskBotAction_init_$Create$(player.playerId, 'PlayerTurn when connection state = ' + connectionState.toString());
|
|
6055
6056
|
}
|
|
@@ -6058,7 +6059,7 @@
|
|
|
6058
6059
|
break;
|
|
6059
6060
|
case 0:
|
|
6060
6061
|
case 7:
|
|
6061
|
-
this.
|
|
6062
|
+
this.lad_1.w('playerTurnTimeoutWhenHasConnectionMiddleware', "Can't support this state " + connectionState.toString() + ', ' + ('action:' + this.mad_1.toString()));
|
|
6062
6063
|
tmp_0 = emptyList();
|
|
6063
6064
|
break;
|
|
6064
6065
|
default:
|
|
@@ -6070,7 +6071,7 @@
|
|
|
6070
6071
|
var _iterator__ex2g4s = actions.l();
|
|
6071
6072
|
while (_iterator__ex2g4s.m()) {
|
|
6072
6073
|
var element = _iterator__ex2g4s.n();
|
|
6073
|
-
this.
|
|
6074
|
+
this.iad_1.dispatch(element);
|
|
6074
6075
|
}
|
|
6075
6076
|
}
|
|
6076
6077
|
return Unit_instance;
|
|
@@ -6084,8 +6085,8 @@
|
|
|
6084
6085
|
while (true);
|
|
6085
6086
|
};
|
|
6086
6087
|
protoOf(playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda).c2d = function ($this$launchDefaultWithLock, completion) {
|
|
6087
|
-
var i = new playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda(this.
|
|
6088
|
-
i.
|
|
6088
|
+
var i = new playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda(this.iad_1, this.jad_1, this.kad_1, this.lad_1, this.mad_1, completion);
|
|
6089
|
+
i.nad_1 = $this$launchDefaultWithLock;
|
|
6089
6090
|
return i;
|
|
6090
6091
|
};
|
|
6091
6092
|
function playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda_0($store, $timerTag, $serverConfig, $logger, $action, resultContinuation) {
|
|
@@ -6097,9 +6098,9 @@
|
|
|
6097
6098
|
return l;
|
|
6098
6099
|
}
|
|
6099
6100
|
function playerTurnTimeoutWhenHasConnectionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $serverConfig, $logger) {
|
|
6100
|
-
this.
|
|
6101
|
-
this.
|
|
6102
|
-
this.
|
|
6101
|
+
this.oad_1 = $asyncProvider;
|
|
6102
|
+
this.pad_1 = $serverConfig;
|
|
6103
|
+
this.qad_1 = $logger;
|
|
6103
6104
|
}
|
|
6104
6105
|
protoOf(playerTurnTimeoutWhenHasConnectionMiddleware$$inlined$middlewareForActionType$1).g6g = function (action) {
|
|
6105
6106
|
return action instanceof TimerTickAction;
|
|
@@ -6108,7 +6109,7 @@
|
|
|
6108
6109
|
var action_0 = action instanceof TimerTickAction ? action : THROW_CCE();
|
|
6109
6110
|
var timerTag = action_0.c6g_1;
|
|
6110
6111
|
if (timerTag instanceof PlayerTurnTimerTag) {
|
|
6111
|
-
this.
|
|
6112
|
+
this.oad_1.l6c(VOID, playerTurnTimeoutWhenHasConnectionMiddleware$o$handle$slambda_0(store, timerTag, this.pad_1, this.qad_1, action_0, null));
|
|
6112
6113
|
}
|
|
6113
6114
|
next(action_0);
|
|
6114
6115
|
};
|
|
@@ -6124,19 +6125,19 @@
|
|
|
6124
6125
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).g6g = function (action) {
|
|
6125
6126
|
return action instanceof UpdateServerConfigAction;
|
|
6126
6127
|
};
|
|
6127
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
6128
|
+
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).c9j = function (state, action) {
|
|
6128
6129
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
6129
|
-
return state.
|
|
6130
|
+
return state.y92(VOID, get_serverStatePayload_0(state).copy(action_0.hab_1));
|
|
6130
6131
|
};
|
|
6131
6132
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).w6h = function (state, action) {
|
|
6132
|
-
return this.
|
|
6133
|
+
return this.c9j((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
6133
6134
|
};
|
|
6134
6135
|
function addRoomMetadata($this, _this__u8e3s4, gameId) {
|
|
6135
6136
|
_this__u8e3s4.metadata.addGame(gameId, new GameMetadata(gameId));
|
|
6136
6137
|
return _this__u8e3s4.metadata;
|
|
6137
6138
|
}
|
|
6138
6139
|
function Companion_5() {
|
|
6139
|
-
this.
|
|
6140
|
+
this.rad_1 = 'ServerMechanicLifecycleReducer';
|
|
6140
6141
|
}
|
|
6141
6142
|
var Companion_instance_15;
|
|
6142
6143
|
function Companion_getInstance_6() {
|
|
@@ -6150,7 +6151,7 @@
|
|
|
6150
6151
|
tmp_0 = Companion_instance_4.l67(PlayerConnectionState_LEFT_PERMANENTLY_getInstance());
|
|
6151
6152
|
} else {
|
|
6152
6153
|
var tmp_1;
|
|
6153
|
-
if (this$0.
|
|
6154
|
+
if (this$0.vad_1.waitForPlayerToConnectOnStart) {
|
|
6154
6155
|
var tmp_2 = Companion_instance_4;
|
|
6155
6156
|
var tmp_3;
|
|
6156
6157
|
if ($updatedServerPayload.connectedPlayers.u1(it.j66_1)) {
|
|
@@ -6161,7 +6162,7 @@
|
|
|
6161
6162
|
var tmp_4 = tmp_3;
|
|
6162
6163
|
Companion_getInstance();
|
|
6163
6164
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
6164
|
-
var this_0 = $action.
|
|
6165
|
+
var this_0 = $action.w93_1.timeoutTimeMillis;
|
|
6165
6166
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
6166
6167
|
tmp_1 = tmp_2.k67(tmp_4, tmp$ret$0);
|
|
6167
6168
|
} else {
|
|
@@ -6169,7 +6170,7 @@
|
|
|
6169
6170
|
var tmp_6 = PlayerConnectionState_LIVE_getInstance();
|
|
6170
6171
|
Companion_getInstance();
|
|
6171
6172
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
6172
|
-
var this_1 = $action.
|
|
6173
|
+
var this_1 = $action.w93_1.timeoutTimeMillis;
|
|
6173
6174
|
var tmp$ret$1 = toDuration(this_1, DurationUnit_MILLISECONDS_getInstance());
|
|
6174
6175
|
tmp_1 = tmp_5.k67(tmp_6, tmp$ret$1);
|
|
6175
6176
|
}
|
|
@@ -6180,26 +6181,26 @@
|
|
|
6180
6181
|
}
|
|
6181
6182
|
function ServerMechanicLifecycleReducer(logger, serverReduxConfig, tableLifecycleReducer, randomPoolProvider) {
|
|
6182
6183
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
6183
|
-
this.
|
|
6184
|
-
this.
|
|
6184
|
+
this.uad_1 = logger;
|
|
6185
|
+
this.vad_1 = serverReduxConfig;
|
|
6185
6186
|
}
|
|
6186
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
6187
|
-
this.
|
|
6188
|
-
var tableId = action.
|
|
6187
|
+
protoOf(ServerMechanicLifecycleReducer).t9k = function (state, action) {
|
|
6188
|
+
this.uad_1.d('ServerMechanicLifecycleReducer', 'onStart ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
6189
|
+
var tableId = action.x93_1;
|
|
6189
6190
|
var serverState = get_serverStatePayload_0(state);
|
|
6190
6191
|
var updatedServerPayload = serverState.copy(VOID, addRoomMetadata(this, serverState, tableId));
|
|
6191
6192
|
var tmp6_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
6192
|
-
var tmp0_$this = this.
|
|
6193
|
-
var tmp1_version = action.
|
|
6194
|
-
var tmp2_config = action.
|
|
6195
|
-
var tmp3_users = action.
|
|
6193
|
+
var tmp0_$this = this.u9k_1;
|
|
6194
|
+
var tmp1_version = action.y93_1;
|
|
6195
|
+
var tmp2_config = action.w93_1;
|
|
6196
|
+
var tmp3_users = action.a94_1;
|
|
6196
6197
|
var tmp4_spectators = action.spectators;
|
|
6197
|
-
var tmp5_gameCreatorPlayerId = action.
|
|
6198
|
-
var tmp7_tableOrNull = tmp0_$this.
|
|
6199
|
-
return state.
|
|
6198
|
+
var tmp5_gameCreatorPlayerId = action.z93_1;
|
|
6199
|
+
var tmp7_tableOrNull = tmp0_$this.c9m(tableId, tableId, tmp2_config, tmp1_version, tmp3_users, tmp4_spectators, tmp5_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(this, updatedServerPayload, action));
|
|
6200
|
+
return state.y92(tmp7_tableOrNull, updatedServerPayload, tmp6_gameLifecycleState);
|
|
6200
6201
|
};
|
|
6201
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
6202
|
-
this.
|
|
6202
|
+
protoOf(ServerMechanicLifecycleReducer).r9k = function (state, action) {
|
|
6203
|
+
this.uad_1.d('ServerMechanicLifecycleReducer', 'onContinue ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
6203
6204
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
6204
6205
|
var tmp2_tableOrNull = action.table;
|
|
6205
6206
|
var tmp = Companion_instance_16;
|
|
@@ -6207,32 +6208,32 @@
|
|
|
6207
6208
|
var tmp_1 = action.reason;
|
|
6208
6209
|
var tmp0_safe_receiver = tmp_1 instanceof RestartRoundReason ? tmp_1 : null;
|
|
6209
6210
|
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));
|
|
6210
|
-
return state.
|
|
6211
|
+
return state.y92(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
|
|
6211
6212
|
};
|
|
6212
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
6213
|
-
this.
|
|
6213
|
+
protoOf(ServerMechanicLifecycleReducer).s9k = function (state, action) {
|
|
6214
|
+
this.v9k_1.n58(action.previousGameId);
|
|
6214
6215
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
6215
|
-
var tmp1_tableOrNull = this.
|
|
6216
|
+
var tmp1_tableOrNull = this.u9k_1.d9m(state.z6r(), action.gameId);
|
|
6216
6217
|
var tmp2_payload = get_serverStatePayload_0(state).copy(VOID, addRoomMetadata(this, get_serverStatePayload_0(state), action.gameId));
|
|
6217
|
-
return state.
|
|
6218
|
+
return state.y92(tmp1_tableOrNull, tmp2_payload, tmp0_gameLifecycleState);
|
|
6218
6219
|
};
|
|
6219
6220
|
function spectatorsReducer(logger) {
|
|
6220
6221
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
6221
6222
|
return new spectatorsReducer$$inlined$reducerForActionType$1(logger);
|
|
6222
6223
|
}
|
|
6223
6224
|
function spectatorsReducer$$inlined$reducerForActionType$1($logger) {
|
|
6224
|
-
this.
|
|
6225
|
+
this.wad_1 = $logger;
|
|
6225
6226
|
}
|
|
6226
6227
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).g6g = function (action) {
|
|
6227
6228
|
return isInterface(action, SpectatorsAction);
|
|
6228
6229
|
};
|
|
6229
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
6230
|
+
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).c9j = function (state, action) {
|
|
6230
6231
|
var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
|
|
6231
6232
|
var table = state.z6r();
|
|
6232
6233
|
var tmp;
|
|
6233
6234
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
6234
6235
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
6235
|
-
var tmp0 = action_0.
|
|
6236
|
+
var tmp0 = action_0.iab_1;
|
|
6236
6237
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
6237
6238
|
var destination = ArrayList_init_$Create$_0();
|
|
6238
6239
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -6251,9 +6252,9 @@
|
|
|
6251
6252
|
var tmp_0;
|
|
6252
6253
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
6253
6254
|
if (!sameSpectators.r()) {
|
|
6254
|
-
this.
|
|
6255
|
+
this.wad_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
6255
6256
|
// Inline function 'kotlin.collections.filterNot' call
|
|
6256
|
-
var tmp0_0 = action_0.
|
|
6257
|
+
var tmp0_0 = action_0.iab_1;
|
|
6257
6258
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
6258
6259
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
6259
6260
|
var _iterator__ex2g4s_0 = tmp0_0.l();
|
|
@@ -6288,7 +6289,7 @@
|
|
|
6288
6289
|
}
|
|
6289
6290
|
tmp_0 = destination_0;
|
|
6290
6291
|
} else {
|
|
6291
|
-
tmp_0 = action_0.
|
|
6292
|
+
tmp_0 = action_0.iab_1;
|
|
6292
6293
|
}
|
|
6293
6294
|
// Inline function 'kotlin.collections.map' call
|
|
6294
6295
|
var this_0 = tmp_0;
|
|
@@ -6301,11 +6302,11 @@
|
|
|
6301
6302
|
destination_1.j(tmp$ret$13);
|
|
6302
6303
|
}
|
|
6303
6304
|
var spectatorsToAdd = toSet(destination_1);
|
|
6304
|
-
tmp = state.
|
|
6305
|
+
tmp = state.y92(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
|
|
6305
6306
|
} else {
|
|
6306
6307
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
6307
6308
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
6308
|
-
var tmp0_1 = action_0.
|
|
6309
|
+
var tmp0_1 = action_0.jab_1;
|
|
6309
6310
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
6310
6311
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
6311
6312
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -6324,9 +6325,9 @@
|
|
|
6324
6325
|
var tmp_2;
|
|
6325
6326
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
6326
6327
|
if (!sameSpectators_0.r()) {
|
|
6327
|
-
this.
|
|
6328
|
+
this.wad_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
6328
6329
|
// Inline function 'kotlin.collections.filterNot' call
|
|
6329
|
-
var tmp0_2 = action_0.
|
|
6330
|
+
var tmp0_2 = action_0.jab_1;
|
|
6330
6331
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
6331
6332
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
6332
6333
|
var _iterator__ex2g4s_4 = tmp0_2.l();
|
|
@@ -6361,7 +6362,7 @@
|
|
|
6361
6362
|
}
|
|
6362
6363
|
tmp_2 = destination_3;
|
|
6363
6364
|
} else {
|
|
6364
|
-
tmp_2 = action_0.
|
|
6365
|
+
tmp_2 = action_0.jab_1;
|
|
6365
6366
|
}
|
|
6366
6367
|
var spectatorsToRemove = toSet(tmp_2);
|
|
6367
6368
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -6398,7 +6399,7 @@
|
|
|
6398
6399
|
destination_4.j(element_5);
|
|
6399
6400
|
}
|
|
6400
6401
|
}
|
|
6401
|
-
tmp = state.
|
|
6402
|
+
tmp = state.y92(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
|
|
6402
6403
|
} else {
|
|
6403
6404
|
noWhenBranchMatchedException();
|
|
6404
6405
|
}
|
|
@@ -6406,7 +6407,7 @@
|
|
|
6406
6407
|
return tmp;
|
|
6407
6408
|
};
|
|
6408
6409
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).w6h = function (state, action) {
|
|
6409
|
-
return this.
|
|
6410
|
+
return this.c9j((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
6410
6411
|
};
|
|
6411
6412
|
function playerConnectionUpdateReducer() {
|
|
6412
6413
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
@@ -6417,29 +6418,29 @@
|
|
|
6417
6418
|
protoOf(playerConnectionUpdateReducer$$inlined$reducerForActionType$1).g6g = function (action) {
|
|
6418
6419
|
return action instanceof PlayerConnectionUpdateAction;
|
|
6419
6420
|
};
|
|
6420
|
-
protoOf(playerConnectionUpdateReducer$$inlined$reducerForActionType$1).
|
|
6421
|
+
protoOf(playerConnectionUpdateReducer$$inlined$reducerForActionType$1).c9j = function (state, action) {
|
|
6421
6422
|
var action_0 = action instanceof PlayerConnectionUpdateAction ? action : THROW_CCE();
|
|
6422
6423
|
var statePayload = get_serverStatePayload_0(state);
|
|
6423
6424
|
var tmp;
|
|
6424
|
-
if (action_0.
|
|
6425
|
-
tmp = state.
|
|
6425
|
+
if (action_0.f93_1.isLive) {
|
|
6426
|
+
tmp = state.y92(VOID, statePayload.copy(VOID, VOID, plus_0(statePayload.connectedPlayers, action_0.g93_1)));
|
|
6426
6427
|
} else {
|
|
6427
6428
|
tmp = state;
|
|
6428
6429
|
}
|
|
6429
6430
|
return tmp;
|
|
6430
6431
|
};
|
|
6431
6432
|
protoOf(playerConnectionUpdateReducer$$inlined$reducerForActionType$1).w6h = function (state, action) {
|
|
6432
|
-
return this.
|
|
6433
|
+
return this.c9j((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
6433
6434
|
};
|
|
6434
6435
|
function Companion_6() {
|
|
6435
6436
|
}
|
|
6436
|
-
protoOf(Companion_6).
|
|
6437
|
+
protoOf(Companion_6).xad = function (config, metadata) {
|
|
6437
6438
|
return new ServerStatePayload(config, metadata, emptyList());
|
|
6438
6439
|
};
|
|
6439
6440
|
protoOf(Companion_6).initial = function (config, metadata, $super) {
|
|
6440
6441
|
config = config === VOID ? Companion_instance_10.initial(null) : config;
|
|
6441
6442
|
metadata = metadata === VOID ? new RoomMetadata() : metadata;
|
|
6442
|
-
return $super === VOID ? this.
|
|
6443
|
+
return $super === VOID ? this.xad(config, metadata) : $super.xad.call(this, config, metadata);
|
|
6443
6444
|
};
|
|
6444
6445
|
var Companion_instance_16;
|
|
6445
6446
|
function Companion_getInstance_7() {
|
|
@@ -6453,10 +6454,10 @@
|
|
|
6453
6454
|
protoOf(ServerStatePayload).z3s = function () {
|
|
6454
6455
|
return this.config;
|
|
6455
6456
|
};
|
|
6456
|
-
protoOf(ServerStatePayload).
|
|
6457
|
+
protoOf(ServerStatePayload).f8m = function () {
|
|
6457
6458
|
return this.metadata;
|
|
6458
6459
|
};
|
|
6459
|
-
protoOf(ServerStatePayload).
|
|
6460
|
+
protoOf(ServerStatePayload).yad = function () {
|
|
6460
6461
|
return this.connectedPlayers;
|
|
6461
6462
|
};
|
|
6462
6463
|
protoOf(ServerStatePayload).oe = function () {
|
|
@@ -6468,14 +6469,14 @@
|
|
|
6468
6469
|
protoOf(ServerStatePayload).xl = function () {
|
|
6469
6470
|
return this.connectedPlayers;
|
|
6470
6471
|
};
|
|
6471
|
-
protoOf(ServerStatePayload).
|
|
6472
|
+
protoOf(ServerStatePayload).zad = function (config, metadata, connectedPlayers) {
|
|
6472
6473
|
return new ServerStatePayload(config, metadata, connectedPlayers);
|
|
6473
6474
|
};
|
|
6474
6475
|
protoOf(ServerStatePayload).copy = function (config, metadata, connectedPlayers, $super) {
|
|
6475
6476
|
config = config === VOID ? this.config : config;
|
|
6476
6477
|
metadata = metadata === VOID ? this.metadata : metadata;
|
|
6477
6478
|
connectedPlayers = connectedPlayers === VOID ? this.connectedPlayers : connectedPlayers;
|
|
6478
|
-
return $super === VOID ? this.
|
|
6479
|
+
return $super === VOID ? this.zad(config, metadata, connectedPlayers) : $super.zad.call(this, config, metadata, connectedPlayers);
|
|
6479
6480
|
};
|
|
6480
6481
|
protoOf(ServerStatePayload).toString = function () {
|
|
6481
6482
|
return 'ServerStatePayload(config=' + this.config.toString() + ', metadata=' + toString(this.metadata) + ', connectedPlayers=' + toString(this.connectedPlayers) + ')';
|
|
@@ -6523,7 +6524,7 @@
|
|
|
6523
6524
|
return new ServerLoggerKey(_this__u8e3s4.gameId);
|
|
6524
6525
|
}
|
|
6525
6526
|
function serverLoggerKeyFromPayload(_this__u8e3s4, payload) {
|
|
6526
|
-
var gameId = Companion_instance_5.
|
|
6527
|
+
var gameId = Companion_instance_5.e9o(payload);
|
|
6527
6528
|
var tmp;
|
|
6528
6529
|
if (!(gameId == null)) {
|
|
6529
6530
|
tmp = new ServerLoggerKey(gameId);
|
|
@@ -6540,14 +6541,14 @@
|
|
|
6540
6541
|
return new GameServerEngineControllerImpl(loggerCallback, randomOrgConfig);
|
|
6541
6542
|
}
|
|
6542
6543
|
function _get_logger__rkp4sl_0($this) {
|
|
6543
|
-
var tmp0 = $this.
|
|
6544
|
+
var tmp0 = $this.jae_1;
|
|
6544
6545
|
var tmp = KProperty1;
|
|
6545
6546
|
// Inline function 'kotlin.getValue' call
|
|
6546
6547
|
getPropertyCallableRef('logger', 1, tmp, GameServerEngineControllerImpl$_get_logger_$ref_b9j0th(), null);
|
|
6547
6548
|
return tmp0.x();
|
|
6548
6549
|
}
|
|
6549
6550
|
function _get_di__ndbzja($this) {
|
|
6550
|
-
var tmp0 = $this.
|
|
6551
|
+
var tmp0 = $this.kae_1;
|
|
6551
6552
|
var tmp = KProperty1;
|
|
6552
6553
|
// Inline function 'kotlin.getValue' call
|
|
6553
6554
|
getPropertyCallableRef('di', 1, tmp, GameServerEngineControllerImpl$_get_di_$ref_cvlqo6(), null);
|
|
@@ -6564,8 +6565,8 @@
|
|
|
6564
6565
|
}
|
|
6565
6566
|
function createCallbackOutput($this, gameServer) {
|
|
6566
6567
|
var tmp;
|
|
6567
|
-
if (!($this.
|
|
6568
|
-
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.
|
|
6568
|
+
if (!($this.hae_1 == null)) {
|
|
6569
|
+
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.hae_1);
|
|
6569
6570
|
tmp = new CallbackWrapperLoggerOutput(tmp_0, GameServerEngineControllerImpl$createCallbackOutput$lambda(gameServer));
|
|
6570
6571
|
} else {
|
|
6571
6572
|
tmp = null;
|
|
@@ -6579,11 +6580,11 @@
|
|
|
6579
6580
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
6580
6581
|
return function () {
|
|
6581
6582
|
var tmp;
|
|
6582
|
-
if (this$0.
|
|
6583
|
+
if (this$0.hae_1 == null) {
|
|
6583
6584
|
tmp = null;
|
|
6584
6585
|
} else {
|
|
6585
6586
|
// Inline function 'kotlin.let' call
|
|
6586
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
6587
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.hae_1)]));
|
|
6587
6588
|
}
|
|
6588
6589
|
var tmp1_elvis_lhs = tmp;
|
|
6589
6590
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -6616,7 +6617,7 @@
|
|
|
6616
6617
|
tmp_0.z62(tmp$ret$3);
|
|
6617
6618
|
$this$DI.d5z(jsonModule());
|
|
6618
6619
|
$this$DI.d5z(serverHelpersModule());
|
|
6619
|
-
$this$DI.d5z(randomOrgModule(this$0.
|
|
6620
|
+
$this$DI.d5z(randomOrgModule(this$0.iae_1));
|
|
6620
6621
|
return Unit_instance;
|
|
6621
6622
|
};
|
|
6622
6623
|
}
|
|
@@ -6692,16 +6693,16 @@
|
|
|
6692
6693
|
};
|
|
6693
6694
|
}
|
|
6694
6695
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1($reducer) {
|
|
6695
|
-
this.
|
|
6696
|
+
this.rae_1 = $reducer;
|
|
6696
6697
|
}
|
|
6697
6698
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).g6g = function (action) {
|
|
6698
6699
|
return isInterface(action, Action);
|
|
6699
6700
|
};
|
|
6700
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
6701
|
-
return this.
|
|
6701
|
+
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).c9j = function (state, action) {
|
|
6702
|
+
return this.rae_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
6702
6703
|
};
|
|
6703
6704
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).w6h = function (state, action) {
|
|
6704
|
-
return this.
|
|
6705
|
+
return this.c9j((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
6705
6706
|
};
|
|
6706
6707
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($gameServer) {
|
|
6707
6708
|
return function () {
|
|
@@ -6781,7 +6782,7 @@
|
|
|
6781
6782
|
}
|
|
6782
6783
|
function GameServerEngineControllerImpl$createCallbackOutput$lambda($gameServer) {
|
|
6783
6784
|
return function (it) {
|
|
6784
|
-
var payload = Companion_instance_7.
|
|
6785
|
+
var payload = Companion_instance_7.q9m(it);
|
|
6785
6786
|
var tmp;
|
|
6786
6787
|
if (!(payload == null)) {
|
|
6787
6788
|
return payload;
|
|
@@ -6802,7 +6803,7 @@
|
|
|
6802
6803
|
// Inline function 'kotlin.let' call
|
|
6803
6804
|
$this$DI.d5z(tmp0_safe_receiver);
|
|
6804
6805
|
}
|
|
6805
|
-
$this$DI.d5z(dealerModule(this$0.randomPoolProvider, this$0.
|
|
6806
|
+
$this$DI.d5z(dealerModule(this$0.randomPoolProvider, this$0.iae_1));
|
|
6806
6807
|
$this$DI.d5z(coreModule($coreConfig));
|
|
6807
6808
|
$this$DI.d5z(createGameServerDI($serverConfig, $logicConfig, $engineBotConfig, $dealerConfig, $ratingConfig, $externalReducers, $externalMiddlewares));
|
|
6808
6809
|
return Unit_instance;
|
|
@@ -6811,8 +6812,8 @@
|
|
|
6811
6812
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
6812
6813
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
6813
6814
|
production = production === VOID ? true : production;
|
|
6814
|
-
this.
|
|
6815
|
-
this.
|
|
6815
|
+
this.hae_1 = loggerCallback;
|
|
6816
|
+
this.iae_1 = randomOrgConfig;
|
|
6816
6817
|
var tmp = AppEnvironment_getInstance();
|
|
6817
6818
|
var tmp_0;
|
|
6818
6819
|
if (production) {
|
|
@@ -6822,9 +6823,9 @@
|
|
|
6822
6823
|
}
|
|
6823
6824
|
tmp.d6m(tmp_0);
|
|
6824
6825
|
var tmp_1 = this;
|
|
6825
|
-
tmp_1.
|
|
6826
|
+
tmp_1.jae_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
6826
6827
|
var tmp_2 = this;
|
|
6827
|
-
tmp_2.
|
|
6828
|
+
tmp_2.kae_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
6828
6829
|
var tmp_3 = this;
|
|
6829
6830
|
// Inline function 'org.kodein.di.instance' call
|
|
6830
6831
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -6833,7 +6834,7 @@
|
|
|
6833
6834
|
var tmp$ret$0 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
6834
6835
|
var tmp_5 = Instance(this_0, tmp$ret$0, null);
|
|
6835
6836
|
var tmp_6 = KProperty1;
|
|
6836
|
-
tmp_3.
|
|
6837
|
+
tmp_3.lae_1 = tmp_5.w64(this, getPropertyCallableRef('parser', 1, tmp_6, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w(), null));
|
|
6837
6838
|
var tmp_7 = this;
|
|
6838
6839
|
// Inline function 'org.kodein.di.instance' call
|
|
6839
6840
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -6842,7 +6843,7 @@
|
|
|
6842
6843
|
var tmp$ret$2 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
6843
6844
|
var tmp_9 = Instance(this_1, tmp$ret$2, null);
|
|
6844
6845
|
var tmp_10 = KProperty1;
|
|
6845
|
-
tmp_7.
|
|
6846
|
+
tmp_7.mae_1 = tmp_9.w64(this, getPropertyCallableRef('helper', 1, tmp_10, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f(), null));
|
|
6846
6847
|
var tmp_11 = this;
|
|
6847
6848
|
// Inline function 'org.kodein.di.instance' call
|
|
6848
6849
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -6851,7 +6852,7 @@
|
|
|
6851
6852
|
var tmp$ret$4 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
6852
6853
|
var tmp_13 = Instance(this_2, tmp$ret$4, null);
|
|
6853
6854
|
var tmp_14 = KProperty1;
|
|
6854
|
-
tmp_11.
|
|
6855
|
+
tmp_11.nae_1 = tmp_13.w64(this, getPropertyCallableRef('serverHelper', 1, tmp_14, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre(), null));
|
|
6855
6856
|
var tmp_15 = this;
|
|
6856
6857
|
// Inline function 'org.kodein.di.instance' call
|
|
6857
6858
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -6860,7 +6861,7 @@
|
|
|
6860
6861
|
var tmp$ret$6 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
6861
6862
|
var tmp_17 = Instance(this_3, tmp$ret$6, null);
|
|
6862
6863
|
var tmp_18 = KProperty1;
|
|
6863
|
-
tmp_15.
|
|
6864
|
+
tmp_15.oae_1 = tmp_17.w64(this, getPropertyCallableRef('resources', 1, tmp_18, GameServerEngineControllerImpl$_get_resources_$ref_dt6416(), null));
|
|
6864
6865
|
var tmp_19 = this;
|
|
6865
6866
|
// Inline function 'org.kodein.di.instance' call
|
|
6866
6867
|
var this_4 = _get_di__ndbzja(this);
|
|
@@ -6869,7 +6870,7 @@
|
|
|
6869
6870
|
var tmp$ret$8 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
6870
6871
|
var tmp_21 = Instance(this_4, tmp$ret$8, null);
|
|
6871
6872
|
var tmp_22 = KProperty1;
|
|
6872
|
-
tmp_19.
|
|
6873
|
+
tmp_19.pae_1 = tmp_21.w64(this, getPropertyCallableRef('test', 1, tmp_22, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5(), null));
|
|
6873
6874
|
var tmp_23 = this;
|
|
6874
6875
|
// Inline function 'org.kodein.di.instance' call
|
|
6875
6876
|
var this_5 = _get_di__ndbzja(this);
|
|
@@ -6878,45 +6879,45 @@
|
|
|
6878
6879
|
var tmp$ret$10 = isInterface(tmp_24, TypeToken) ? tmp_24 : THROW_CCE();
|
|
6879
6880
|
var tmp_25 = Instance(this_5, tmp$ret$10, null);
|
|
6880
6881
|
var tmp_26 = KProperty1;
|
|
6881
|
-
tmp_23.
|
|
6882
|
+
tmp_23.qae_1 = tmp_25.w64(this, getPropertyCallableRef('randomPoolProvider', 1, tmp_26, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl(), null));
|
|
6882
6883
|
}
|
|
6883
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6884
|
-
var tmp0 = this.
|
|
6884
|
+
protoOf(GameServerEngineControllerImpl).aae = function () {
|
|
6885
|
+
var tmp0 = this.lae_1;
|
|
6885
6886
|
var tmp = KProperty1;
|
|
6886
6887
|
// Inline function 'kotlin.getValue' call
|
|
6887
6888
|
getPropertyCallableRef('parser', 1, tmp, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w_0(), null);
|
|
6888
6889
|
return tmp0.x();
|
|
6889
6890
|
};
|
|
6890
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6891
|
-
var tmp0 = this.
|
|
6891
|
+
protoOf(GameServerEngineControllerImpl).cae = function () {
|
|
6892
|
+
var tmp0 = this.mae_1;
|
|
6892
6893
|
var tmp = KProperty1;
|
|
6893
6894
|
// Inline function 'kotlin.getValue' call
|
|
6894
6895
|
getPropertyCallableRef('helper', 1, tmp, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f_0(), null);
|
|
6895
6896
|
return tmp0.x();
|
|
6896
6897
|
};
|
|
6897
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6898
|
-
var tmp0 = this.
|
|
6898
|
+
protoOf(GameServerEngineControllerImpl).dae = function () {
|
|
6899
|
+
var tmp0 = this.nae_1;
|
|
6899
6900
|
var tmp = KProperty1;
|
|
6900
6901
|
// Inline function 'kotlin.getValue' call
|
|
6901
6902
|
getPropertyCallableRef('serverHelper', 1, tmp, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre_0(), null);
|
|
6902
6903
|
return tmp0.x();
|
|
6903
6904
|
};
|
|
6904
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6905
|
-
var tmp0 = this.
|
|
6905
|
+
protoOf(GameServerEngineControllerImpl).eae = function () {
|
|
6906
|
+
var tmp0 = this.oae_1;
|
|
6906
6907
|
var tmp = KProperty1;
|
|
6907
6908
|
// Inline function 'kotlin.getValue' call
|
|
6908
6909
|
getPropertyCallableRef('resources', 1, tmp, GameServerEngineControllerImpl$_get_resources_$ref_dt6416_0(), null);
|
|
6909
6910
|
return tmp0.x();
|
|
6910
6911
|
};
|
|
6911
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6912
|
-
var tmp0 = this.
|
|
6912
|
+
protoOf(GameServerEngineControllerImpl).bae = function () {
|
|
6913
|
+
var tmp0 = this.pae_1;
|
|
6913
6914
|
var tmp = KProperty1;
|
|
6914
6915
|
// Inline function 'kotlin.getValue' call
|
|
6915
6916
|
getPropertyCallableRef('test', 1, tmp, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5_0(), null);
|
|
6916
6917
|
return tmp0.x();
|
|
6917
6918
|
};
|
|
6918
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6919
|
-
var tmp0 = this.
|
|
6919
|
+
protoOf(GameServerEngineControllerImpl).fae = function () {
|
|
6920
|
+
var tmp0 = this.qae_1;
|
|
6920
6921
|
var tmp = KProperty1;
|
|
6921
6922
|
// Inline function 'kotlin.getValue' call
|
|
6922
6923
|
getPropertyCallableRef('randomPoolProvider', 1, tmp, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl_0(), null);
|
|
@@ -6928,7 +6929,7 @@
|
|
|
6928
6929
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
6929
6930
|
return this.createGameEngineWithLogic();
|
|
6930
6931
|
};
|
|
6931
|
-
protoOf(GameServerEngineControllerImpl).
|
|
6932
|
+
protoOf(GameServerEngineControllerImpl).gae = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig, botConfig) {
|
|
6932
6933
|
var combinedLogger = Companion_instance_8.mx();
|
|
6933
6934
|
var gameServer = {_v: null};
|
|
6934
6935
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -6976,7 +6977,7 @@
|
|
|
6976
6977
|
function TestHelper() {
|
|
6977
6978
|
}
|
|
6978
6979
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
6979
|
-
var tmp0 = $this.
|
|
6980
|
+
var tmp0 = $this.uae_1;
|
|
6980
6981
|
var tmp = KProperty1;
|
|
6981
6982
|
// Inline function 'kotlin.getValue' call
|
|
6982
6983
|
getPropertyCallableRef('playerAnswerInteractor', 1, tmp, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy_0(), null);
|
|
@@ -6984,7 +6985,7 @@
|
|
|
6984
6985
|
}
|
|
6985
6986
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
6986
6987
|
return function ($this$singleton) {
|
|
6987
|
-
return this$0.
|
|
6988
|
+
return this$0.sae_1;
|
|
6988
6989
|
};
|
|
6989
6990
|
}
|
|
6990
6991
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -7024,27 +7025,27 @@
|
|
|
7024
7025
|
return emptyMap();
|
|
7025
7026
|
}
|
|
7026
7027
|
function TestHelperImpl(logger) {
|
|
7027
|
-
this.
|
|
7028
|
+
this.sae_1 = logger;
|
|
7028
7029
|
var tmp = this;
|
|
7029
7030
|
var tmp_0 = Companion_instance_6;
|
|
7030
|
-
tmp.
|
|
7031
|
+
tmp.tae_1 = tmp_0.k5z(VOID, TestHelperImpl$di$lambda(this));
|
|
7031
7032
|
var tmp_1 = this;
|
|
7032
7033
|
// Inline function 'org.kodein.di.instance' call
|
|
7033
|
-
var this_0 = this.
|
|
7034
|
+
var this_0 = this.tae_1;
|
|
7034
7035
|
// Inline function 'org.kodein.type.generic' call
|
|
7035
7036
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
7036
7037
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
7037
7038
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
7038
7039
|
var tmp_4 = KProperty1;
|
|
7039
|
-
tmp_1.
|
|
7040
|
+
tmp_1.uae_1 = tmp_3.w64(this, getPropertyCallableRef('playerAnswerInteractor', 1, tmp_4, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy(), null));
|
|
7040
7041
|
}
|
|
7041
7042
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
7042
|
-
return _get_playerAnswerInteractor__msggz1(this).
|
|
7043
|
+
return _get_playerAnswerInteractor__msggz1(this).m8t(playerId, table, botConfig);
|
|
7043
7044
|
};
|
|
7044
7045
|
protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
|
|
7045
7046
|
var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
|
|
7046
7047
|
if (isInterface(mechanicAction, NextPlayerTurnAction)) {
|
|
7047
|
-
var tmp0 = mechanicAction.
|
|
7048
|
+
var tmp0 = mechanicAction.m96();
|
|
7048
7049
|
var tmp$ret$0;
|
|
7049
7050
|
$l$block_0: {
|
|
7050
7051
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -7076,7 +7077,7 @@
|
|
|
7076
7077
|
};
|
|
7077
7078
|
protoOf(TestHelperImpl).getPlayerAnswerFromMechanicAction = function (table, currentPlayerId, action, botConfig) {
|
|
7078
7079
|
if (isInterface(action, NextPlayerTurnAction)) {
|
|
7079
|
-
var tmp0 = action.
|
|
7080
|
+
var tmp0 = action.m96();
|
|
7080
7081
|
var tmp$ret$0;
|
|
7081
7082
|
$l$block_0: {
|
|
7082
7083
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -7109,14 +7110,14 @@
|
|
|
7109
7110
|
function RoomMetadata() {
|
|
7110
7111
|
var tmp = this;
|
|
7111
7112
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
7112
|
-
tmp.
|
|
7113
|
+
tmp.vae_1 = LinkedHashMap_init_$Create$();
|
|
7113
7114
|
this.extras = {};
|
|
7114
|
-
this.extras = this.
|
|
7115
|
+
this.extras = this.vae_1;
|
|
7115
7116
|
}
|
|
7116
|
-
protoOf(RoomMetadata).
|
|
7117
|
+
protoOf(RoomMetadata).wae = function () {
|
|
7117
7118
|
return this.extras;
|
|
7118
7119
|
};
|
|
7119
|
-
protoOf(RoomMetadata).
|
|
7120
|
+
protoOf(RoomMetadata).wae = function () {
|
|
7120
7121
|
return this.extras;
|
|
7121
7122
|
};
|
|
7122
7123
|
protoOf(RoomMetadata).getGame = function (gameId) {
|
|
@@ -7134,7 +7135,7 @@
|
|
|
7134
7135
|
};
|
|
7135
7136
|
protoOf(RoomMetadata).addGame = function (gameId, game) {
|
|
7136
7137
|
// Inline function 'kotlin.collections.set' call
|
|
7137
|
-
this.
|
|
7138
|
+
this.vae_1.f2(gameId, game);
|
|
7138
7139
|
};
|
|
7139
7140
|
function GameMetadata(gameId) {
|
|
7140
7141
|
this.gameId = gameId;
|
|
@@ -7143,7 +7144,7 @@
|
|
|
7143
7144
|
protoOf(GameMetadata).c54 = function () {
|
|
7144
7145
|
return this.gameId;
|
|
7145
7146
|
};
|
|
7146
|
-
protoOf(GameMetadata).
|
|
7147
|
+
protoOf(GameMetadata).wae = function () {
|
|
7147
7148
|
return this.extras;
|
|
7148
7149
|
};
|
|
7149
7150
|
function serverHelpersModule() {
|
|
@@ -7205,7 +7206,7 @@
|
|
|
7205
7206
|
protoOf(GameServer).roomOnDelete = roomOnDelete;
|
|
7206
7207
|
protoOf(GameServer).shutdown = shutdown;
|
|
7207
7208
|
defineProp(protoOf(GameServer), 'metadata', function () {
|
|
7208
|
-
return this.
|
|
7209
|
+
return this.f8m();
|
|
7209
7210
|
});
|
|
7210
7211
|
defineProp(protoOf(GameServer), 'id', function () {
|
|
7211
7212
|
return this.y53();
|
|
@@ -7224,17 +7225,17 @@
|
|
|
7224
7225
|
});
|
|
7225
7226
|
protoOf($serializer).wz = typeParametersSerializers;
|
|
7226
7227
|
defineProp(protoOf(TableStateUpdateDto), 'roomId', function () {
|
|
7227
|
-
return this.
|
|
7228
|
+
return this.z8i();
|
|
7228
7229
|
});
|
|
7229
7230
|
protoOf($serializer_0).wz = typeParametersSerializers;
|
|
7230
7231
|
defineProp(protoOf(ActionsStateUpdateDto), 'roomId', function () {
|
|
7231
|
-
return this.
|
|
7232
|
+
return this.z8i();
|
|
7232
7233
|
});
|
|
7233
7234
|
defineProp(protoOf(TableStateUpdate), 'roomId', function () {
|
|
7234
|
-
return this.
|
|
7235
|
+
return this.z8i();
|
|
7235
7236
|
});
|
|
7236
7237
|
defineProp(protoOf(ActionsStateUpdate), 'roomId', function () {
|
|
7237
|
-
return this.
|
|
7238
|
+
return this.z8i();
|
|
7238
7239
|
});
|
|
7239
7240
|
protoOf(UpdateServerConfigAction).s6f = get_actionTag;
|
|
7240
7241
|
defineProp(protoOf(UpdateServerConfigAction), 'actionTag', function () {
|
|
@@ -7249,25 +7250,25 @@
|
|
|
7249
7250
|
return this.s6f();
|
|
7250
7251
|
});
|
|
7251
7252
|
protoOf(PlayerReconnectionWaitingTimerTag).ignoreValidation = ignoreValidation;
|
|
7252
|
-
protoOf(PlayerReconnectionWaitingTimerTag).
|
|
7253
|
+
protoOf(PlayerReconnectionWaitingTimerTag).i92 = ignoreTimerResetValidation;
|
|
7253
7254
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
7254
7255
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
7255
|
-
return this.
|
|
7256
|
+
return this.aae();
|
|
7256
7257
|
});
|
|
7257
7258
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
7258
|
-
return this.
|
|
7259
|
+
return this.cae();
|
|
7259
7260
|
});
|
|
7260
7261
|
defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
|
|
7261
|
-
return this.
|
|
7262
|
+
return this.dae();
|
|
7262
7263
|
});
|
|
7263
7264
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
7264
|
-
return this.
|
|
7265
|
+
return this.eae();
|
|
7265
7266
|
});
|
|
7266
7267
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
7267
|
-
return this.
|
|
7268
|
+
return this.bae();
|
|
7268
7269
|
});
|
|
7269
7270
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
7270
|
-
return this.
|
|
7271
|
+
return this.fae();
|
|
7271
7272
|
});
|
|
7272
7273
|
//endregion
|
|
7273
7274
|
//region block: init
|