client_plugin_logic_deb 1.8.349 → 1.8.350
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-client_plugin.js +2223 -2223
- package/Logic_Debertz-core.js +1 -1
- package/Logic_Debertz-game_client.js +7252 -7061
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js +699 -699
- package/kotlin-kotlin-stdlib.js +15 -15
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +7 -7
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -356,10 +356,10 @@
|
|
|
356
356
|
spectators = tmp;
|
|
357
357
|
var tmp_0;
|
|
358
358
|
if ($super === VOID) {
|
|
359
|
-
this.
|
|
359
|
+
this.leh(roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
360
360
|
tmp_0 = Unit_instance;
|
|
361
361
|
} else {
|
|
362
|
-
tmp_0 = $super.
|
|
362
|
+
tmp_0 = $super.leh.call(this, roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
363
363
|
}
|
|
364
364
|
return tmp_0;
|
|
365
365
|
}
|
|
@@ -367,10 +367,10 @@
|
|
|
367
367
|
newRid = newRid === VOID ? null : newRid;
|
|
368
368
|
var tmp;
|
|
369
369
|
if ($super === VOID) {
|
|
370
|
-
this.
|
|
370
|
+
this.meh(newRid);
|
|
371
371
|
tmp = Unit_instance;
|
|
372
372
|
} else {
|
|
373
|
-
tmp = $super.
|
|
373
|
+
tmp = $super.meh.call(this, newRid);
|
|
374
374
|
}
|
|
375
375
|
return tmp;
|
|
376
376
|
}
|
|
@@ -378,10 +378,10 @@
|
|
|
378
378
|
roomId = roomId === VOID ? null : roomId;
|
|
379
379
|
var tmp;
|
|
380
380
|
if ($super === VOID) {
|
|
381
|
-
this.
|
|
381
|
+
this.neh(reason, roomId);
|
|
382
382
|
tmp = Unit_instance;
|
|
383
383
|
} else {
|
|
384
|
-
tmp = $super.
|
|
384
|
+
tmp = $super.neh.call(this, reason, roomId);
|
|
385
385
|
}
|
|
386
386
|
return tmp;
|
|
387
387
|
}
|
|
@@ -445,7 +445,7 @@
|
|
|
445
445
|
logicConfig = logicConfig === VOID ? new EngineLogicConfig() : logicConfig;
|
|
446
446
|
dealerConfig = dealerConfig === VOID ? new DealerConfig() : dealerConfig;
|
|
447
447
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
448
|
-
return $super === VOID ? this.
|
|
448
|
+
return $super === VOID ? this.lem(reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig) : $super.lem.call(this, reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig);
|
|
449
449
|
}
|
|
450
450
|
initMetadataForInterface(GameEngineController, 'GameEngineController');
|
|
451
451
|
initMetadataForClass(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1, VOID, VOID, VOID, [Reducer]);
|
|
@@ -456,17 +456,17 @@
|
|
|
456
456
|
initMetadataForClass(TestHelperImpl, 'TestHelperImpl', VOID, VOID, [TestHelper]);
|
|
457
457
|
//endregion
|
|
458
458
|
function GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation) {
|
|
459
|
-
this.
|
|
459
|
+
this.ge0_1 = $subscriber;
|
|
460
460
|
CoroutineImpl.call(this, resultContinuation);
|
|
461
461
|
}
|
|
462
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
463
|
-
var tmp = this.
|
|
462
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).ie0 = function (it, $completion) {
|
|
463
|
+
var tmp = this.je0(it, $completion);
|
|
464
464
|
tmp.n9_1 = Unit_instance;
|
|
465
465
|
tmp.o9_1 = null;
|
|
466
466
|
return tmp.t9();
|
|
467
467
|
};
|
|
468
468
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).da = function (p1, $completion) {
|
|
469
|
-
return this.
|
|
469
|
+
return this.ie0(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
|
|
470
470
|
};
|
|
471
471
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).t9 = function () {
|
|
472
472
|
var suspendResult = this.n9_1;
|
|
@@ -475,7 +475,7 @@
|
|
|
475
475
|
var tmp = this.l9_1;
|
|
476
476
|
if (tmp === 0) {
|
|
477
477
|
this.m9_1 = 1;
|
|
478
|
-
this.
|
|
478
|
+
this.ge0_1(this.he0_1);
|
|
479
479
|
return Unit_instance;
|
|
480
480
|
} else if (tmp === 1) {
|
|
481
481
|
throw this.o9_1;
|
|
@@ -486,31 +486,31 @@
|
|
|
486
486
|
}
|
|
487
487
|
while (true);
|
|
488
488
|
};
|
|
489
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
490
|
-
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.
|
|
491
|
-
i.
|
|
489
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).je0 = function (it, completion) {
|
|
490
|
+
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.ge0_1, completion);
|
|
491
|
+
i.he0_1 = it;
|
|
492
492
|
return i;
|
|
493
493
|
};
|
|
494
494
|
function GameServer$subscribeToClientAction$slambda$slambda_0($subscriber, resultContinuation) {
|
|
495
495
|
var i = new GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation);
|
|
496
496
|
var l = function (it, $completion) {
|
|
497
|
-
return i.
|
|
497
|
+
return i.ie0(it, $completion);
|
|
498
498
|
};
|
|
499
499
|
l.$arity = 1;
|
|
500
500
|
return l;
|
|
501
501
|
}
|
|
502
502
|
function GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation) {
|
|
503
|
-
this.
|
|
503
|
+
this.se0_1 = $subscriber;
|
|
504
504
|
CoroutineImpl.call(this, resultContinuation);
|
|
505
505
|
}
|
|
506
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
507
|
-
var tmp = this.
|
|
506
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).ue0 = function (it, $completion) {
|
|
507
|
+
var tmp = this.ve0(it, $completion);
|
|
508
508
|
tmp.n9_1 = Unit_instance;
|
|
509
509
|
tmp.o9_1 = null;
|
|
510
510
|
return tmp.t9();
|
|
511
511
|
};
|
|
512
512
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).da = function (p1, $completion) {
|
|
513
|
-
return this.
|
|
513
|
+
return this.ue0((!(p1 == null) ? isInterface(p1, ServerStateUpdate) : false) ? p1 : THROW_CCE(), $completion);
|
|
514
514
|
};
|
|
515
515
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).t9 = function () {
|
|
516
516
|
var suspendResult = this.n9_1;
|
|
@@ -519,7 +519,7 @@
|
|
|
519
519
|
var tmp = this.l9_1;
|
|
520
520
|
if (tmp === 0) {
|
|
521
521
|
this.m9_1 = 1;
|
|
522
|
-
this.
|
|
522
|
+
this.se0_1(this.te0_1);
|
|
523
523
|
return Unit_instance;
|
|
524
524
|
} else if (tmp === 1) {
|
|
525
525
|
throw this.o9_1;
|
|
@@ -530,22 +530,22 @@
|
|
|
530
530
|
}
|
|
531
531
|
while (true);
|
|
532
532
|
};
|
|
533
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
534
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.
|
|
535
|
-
i.
|
|
533
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).ve0 = function (it, completion) {
|
|
534
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.se0_1, completion);
|
|
535
|
+
i.te0_1 = it;
|
|
536
536
|
return i;
|
|
537
537
|
};
|
|
538
538
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_0($subscriber, resultContinuation) {
|
|
539
539
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation);
|
|
540
540
|
var l = function (it, $completion) {
|
|
541
|
-
return i.
|
|
541
|
+
return i.ue0(it, $completion);
|
|
542
542
|
};
|
|
543
543
|
l.$arity = 1;
|
|
544
544
|
return l;
|
|
545
545
|
}
|
|
546
546
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
|
|
547
|
-
this.
|
|
548
|
-
this.
|
|
547
|
+
this.ee1_1 = $$this$unsafeFlow;
|
|
548
|
+
this.fe1_1 = this$0;
|
|
549
549
|
CoroutineImpl.call(this, resultContinuation);
|
|
550
550
|
}
|
|
551
551
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).v1o = function (value, $completion) {
|
|
@@ -566,14 +566,14 @@
|
|
|
566
566
|
case 0:
|
|
567
567
|
this.m9_1 = 2;
|
|
568
568
|
var tmp_0 = this;
|
|
569
|
-
tmp_0.
|
|
569
|
+
tmp_0.he1_1 = this.ee1_1;
|
|
570
570
|
var tmp_1 = this;
|
|
571
|
-
tmp_1.
|
|
572
|
-
this.
|
|
573
|
-
this.
|
|
571
|
+
tmp_1.ie1_1 = this.ge1_1;
|
|
572
|
+
this.je1_1 = this.he1_1;
|
|
573
|
+
this.ke1_1 = this.ie1_1;
|
|
574
574
|
this.l9_1 = 1;
|
|
575
|
-
var it = this.
|
|
576
|
-
suspendResult = this.
|
|
575
|
+
var it = this.ke1_1;
|
|
576
|
+
suspendResult = this.je1_1.a1b(mapToDto_1(it, _get_encoderDecoderProvider__qqgrji(this.fe1_1)), this);
|
|
577
577
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
578
578
|
return suspendResult;
|
|
579
579
|
}
|
|
@@ -596,8 +596,8 @@
|
|
|
596
596
|
while (true);
|
|
597
597
|
};
|
|
598
598
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).w1o = function (value, completion) {
|
|
599
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.
|
|
600
|
-
i.
|
|
599
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.ee1_1, this.fe1_1, completion);
|
|
600
|
+
i.ge1_1 = value;
|
|
601
601
|
return i;
|
|
602
602
|
};
|
|
603
603
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
@@ -610,8 +610,8 @@
|
|
|
610
610
|
}
|
|
611
611
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
612
612
|
CoroutineImpl.call(this, resultContinuation);
|
|
613
|
-
this.
|
|
614
|
-
this.
|
|
613
|
+
this.te1_1 = _this__u8e3s4;
|
|
614
|
+
this.ue1_1 = collector;
|
|
615
615
|
}
|
|
616
616
|
protoOf($collectCOROUTINE$).t9 = function () {
|
|
617
617
|
var suspendResult = this.n9_1;
|
|
@@ -622,11 +622,11 @@
|
|
|
622
622
|
case 0:
|
|
623
623
|
this.m9_1 = 2;
|
|
624
624
|
var tmp_0 = this;
|
|
625
|
-
tmp_0.
|
|
626
|
-
this.
|
|
625
|
+
tmp_0.ve1_1 = this.ue1_1;
|
|
626
|
+
this.we1_1 = this.ve1_1;
|
|
627
627
|
this.l9_1 = 1;
|
|
628
|
-
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0(this.
|
|
629
|
-
suspendResult = this.
|
|
628
|
+
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0(this.we1_1, this.te1_1.ye1_1, null);
|
|
629
|
+
suspendResult = this.te1_1.xe1_1.v19(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
630
630
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
631
631
|
return suspendResult;
|
|
632
632
|
}
|
|
@@ -649,8 +649,8 @@
|
|
|
649
649
|
while (true);
|
|
650
650
|
};
|
|
651
651
|
function GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1($this, this$0) {
|
|
652
|
-
this.
|
|
653
|
-
this.
|
|
652
|
+
this.xe1_1 = $this;
|
|
653
|
+
this.ye1_1 = this$0;
|
|
654
654
|
}
|
|
655
655
|
protoOf(GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1).b1b = function (collector, $completion) {
|
|
656
656
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
@@ -662,17 +662,17 @@
|
|
|
662
662
|
return this.b1b(collector, $completion);
|
|
663
663
|
};
|
|
664
664
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation) {
|
|
665
|
-
this.
|
|
665
|
+
this.he2_1 = $subscriber;
|
|
666
666
|
CoroutineImpl.call(this, resultContinuation);
|
|
667
667
|
}
|
|
668
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
669
|
-
var tmp = this.
|
|
668
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).je2 = function (it, $completion) {
|
|
669
|
+
var tmp = this.ke2(it, $completion);
|
|
670
670
|
tmp.n9_1 = Unit_instance;
|
|
671
671
|
tmp.o9_1 = null;
|
|
672
672
|
return tmp.t9();
|
|
673
673
|
};
|
|
674
674
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).da = function (p1, $completion) {
|
|
675
|
-
return this.
|
|
675
|
+
return this.je2((!(p1 == null) ? isInterface(p1, ServerStateUpdateDto) : false) ? p1 : THROW_CCE(), $completion);
|
|
676
676
|
};
|
|
677
677
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).t9 = function () {
|
|
678
678
|
var suspendResult = this.n9_1;
|
|
@@ -681,7 +681,7 @@
|
|
|
681
681
|
var tmp = this.l9_1;
|
|
682
682
|
if (tmp === 0) {
|
|
683
683
|
this.m9_1 = 1;
|
|
684
|
-
this.
|
|
684
|
+
this.he2_1(this.ie2_1);
|
|
685
685
|
return Unit_instance;
|
|
686
686
|
} else if (tmp === 1) {
|
|
687
687
|
throw this.o9_1;
|
|
@@ -692,21 +692,21 @@
|
|
|
692
692
|
}
|
|
693
693
|
while (true);
|
|
694
694
|
};
|
|
695
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
696
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.
|
|
697
|
-
i.
|
|
695
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).ke2 = function (it, completion) {
|
|
696
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.he2_1, completion);
|
|
697
|
+
i.ie2_1 = it;
|
|
698
698
|
return i;
|
|
699
699
|
};
|
|
700
700
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda_0($subscriber, resultContinuation) {
|
|
701
701
|
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation);
|
|
702
702
|
var l = function (it, $completion) {
|
|
703
|
-
return i.
|
|
703
|
+
return i.je2(it, $completion);
|
|
704
704
|
};
|
|
705
705
|
l.$arity = 1;
|
|
706
706
|
return l;
|
|
707
707
|
}
|
|
708
708
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
709
|
-
this.
|
|
709
|
+
this.te2_1 = $$this$unsafeFlow;
|
|
710
710
|
CoroutineImpl.call(this, resultContinuation);
|
|
711
711
|
}
|
|
712
712
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).v1o = function (value, $completion) {
|
|
@@ -727,14 +727,14 @@
|
|
|
727
727
|
case 0:
|
|
728
728
|
this.m9_1 = 2;
|
|
729
729
|
var tmp_0 = this;
|
|
730
|
-
tmp_0.
|
|
730
|
+
tmp_0.ve2_1 = this.te2_1;
|
|
731
731
|
var tmp_1 = this;
|
|
732
|
-
tmp_1.
|
|
733
|
-
this.
|
|
734
|
-
this.
|
|
732
|
+
tmp_1.we2_1 = this.ue2_1;
|
|
733
|
+
this.xe2_1 = this.ve2_1;
|
|
734
|
+
this.ye2_1 = this.we2_1;
|
|
735
735
|
this.l9_1 = 1;
|
|
736
|
-
var actions = this.
|
|
737
|
-
suspendResult = this.
|
|
736
|
+
var actions = this.ye2_1;
|
|
737
|
+
suspendResult = this.xe2_1.a1b(new ActionsStateUpdate(actions), this);
|
|
738
738
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
739
739
|
return suspendResult;
|
|
740
740
|
}
|
|
@@ -757,8 +757,8 @@
|
|
|
757
757
|
while (true);
|
|
758
758
|
};
|
|
759
759
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).w1o = function (value, completion) {
|
|
760
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.
|
|
761
|
-
i.
|
|
760
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.te2_1, completion);
|
|
761
|
+
i.ue2_1 = value;
|
|
762
762
|
return i;
|
|
763
763
|
};
|
|
764
764
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -771,8 +771,8 @@
|
|
|
771
771
|
}
|
|
772
772
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
773
773
|
CoroutineImpl.call(this, resultContinuation);
|
|
774
|
-
this.
|
|
775
|
-
this.
|
|
774
|
+
this.he3_1 = _this__u8e3s4;
|
|
775
|
+
this.ie3_1 = collector;
|
|
776
776
|
}
|
|
777
777
|
protoOf($collectCOROUTINE$_0).t9 = function () {
|
|
778
778
|
var suspendResult = this.n9_1;
|
|
@@ -783,11 +783,11 @@
|
|
|
783
783
|
case 0:
|
|
784
784
|
this.m9_1 = 2;
|
|
785
785
|
var tmp_0 = this;
|
|
786
|
-
tmp_0.
|
|
787
|
-
this.
|
|
786
|
+
tmp_0.je3_1 = this.ie3_1;
|
|
787
|
+
this.ke3_1 = this.je3_1;
|
|
788
788
|
this.l9_1 = 1;
|
|
789
|
-
var tmp_1 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0(this.
|
|
790
|
-
suspendResult = this.
|
|
789
|
+
var tmp_1 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0(this.ke3_1, null);
|
|
790
|
+
suspendResult = this.he3_1.le3_1.v19(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_1), this);
|
|
791
791
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
792
792
|
return suspendResult;
|
|
793
793
|
}
|
|
@@ -810,7 +810,7 @@
|
|
|
810
810
|
while (true);
|
|
811
811
|
};
|
|
812
812
|
function _no_name_provided__qut3iv($this) {
|
|
813
|
-
this.
|
|
813
|
+
this.le3_1 = $this;
|
|
814
814
|
}
|
|
815
815
|
protoOf(_no_name_provided__qut3iv).b1b = function (collector, $completion) {
|
|
816
816
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
@@ -822,18 +822,18 @@
|
|
|
822
822
|
return this.b1b(collector, $completion);
|
|
823
823
|
};
|
|
824
824
|
function GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation) {
|
|
825
|
-
this.
|
|
826
|
-
this.
|
|
825
|
+
this.ue3_1 = $table;
|
|
826
|
+
this.ve3_1 = this$0;
|
|
827
827
|
CoroutineImpl.call(this, resultContinuation);
|
|
828
828
|
}
|
|
829
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
830
|
-
var tmp = this.
|
|
829
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).xe3 = function ($this$flow, $completion) {
|
|
830
|
+
var tmp = this.ye3($this$flow, $completion);
|
|
831
831
|
tmp.n9_1 = Unit_instance;
|
|
832
832
|
tmp.o9_1 = null;
|
|
833
833
|
return tmp.t9();
|
|
834
834
|
};
|
|
835
835
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).da = function (p1, $completion) {
|
|
836
|
-
return this.
|
|
836
|
+
return this.xe3((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
837
837
|
};
|
|
838
838
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).t9 = function () {
|
|
839
839
|
var suspendResult = this.n9_1;
|
|
@@ -844,7 +844,7 @@
|
|
|
844
844
|
case 0:
|
|
845
845
|
this.m9_1 = 3;
|
|
846
846
|
this.l9_1 = 1;
|
|
847
|
-
suspendResult = this.
|
|
847
|
+
suspendResult = this.we3_1.a1b(new TableStateUpdate(this.ue3_1), this);
|
|
848
848
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
849
849
|
return suspendResult;
|
|
850
850
|
}
|
|
@@ -852,8 +852,8 @@
|
|
|
852
852
|
continue $sm;
|
|
853
853
|
case 1:
|
|
854
854
|
this.l9_1 = 2;
|
|
855
|
-
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.
|
|
856
|
-
suspendResult = emitAll(this.
|
|
855
|
+
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.ve3_1).x98(), toLong(_get_serverReduxConfig__rprcrm(this.ve3_1).serverStateUpdateIntervalMillis));
|
|
856
|
+
suspendResult = emitAll(this.we3_1, new _no_name_provided__qut3iv(this_0), this);
|
|
857
857
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
858
858
|
return suspendResult;
|
|
859
859
|
}
|
|
@@ -875,21 +875,21 @@
|
|
|
875
875
|
}
|
|
876
876
|
while (true);
|
|
877
877
|
};
|
|
878
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
879
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.
|
|
880
|
-
i.
|
|
878
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).ye3 = function ($this$flow, completion) {
|
|
879
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.ue3_1, this.ve3_1, completion);
|
|
880
|
+
i.we3_1 = $this$flow;
|
|
881
881
|
return i;
|
|
882
882
|
};
|
|
883
883
|
function GameServer$observeTableStateUpdates$slambda$slambda_0($table, this$0, resultContinuation) {
|
|
884
884
|
var i = new GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation);
|
|
885
885
|
var l = function ($this$flow, $completion) {
|
|
886
|
-
return i.
|
|
886
|
+
return i.xe3($this$flow, $completion);
|
|
887
887
|
};
|
|
888
888
|
l.$arity = 1;
|
|
889
889
|
return l;
|
|
890
890
|
}
|
|
891
891
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
892
|
-
this.
|
|
892
|
+
this.he4_1 = $$this$unsafeFlow;
|
|
893
893
|
CoroutineImpl.call(this, resultContinuation);
|
|
894
894
|
}
|
|
895
895
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).v1o = function (value, $completion) {
|
|
@@ -910,38 +910,38 @@
|
|
|
910
910
|
case 0:
|
|
911
911
|
this.m9_1 = 5;
|
|
912
912
|
var tmp_0 = this;
|
|
913
|
-
tmp_0.
|
|
913
|
+
tmp_0.je4_1 = this.he4_1;
|
|
914
914
|
var tmp_1 = this;
|
|
915
|
-
tmp_1.
|
|
915
|
+
tmp_1.ke4_1 = this.ie4_1;
|
|
916
916
|
this.l9_1 = 1;
|
|
917
917
|
continue $sm;
|
|
918
918
|
case 1:
|
|
919
|
-
this.
|
|
920
|
-
this.
|
|
919
|
+
this.me4_1 = this.je4_1;
|
|
920
|
+
this.ne4_1 = this.ke4_1;
|
|
921
921
|
var tmp_2 = this;
|
|
922
|
-
tmp_2.
|
|
923
|
-
if (this.
|
|
924
|
-
this.
|
|
922
|
+
tmp_2.oe4_1 = this.ne4_1.o72_1;
|
|
923
|
+
if (this.oe4_1 == null) {
|
|
924
|
+
this.le4_1 = Unit_instance;
|
|
925
925
|
this.l9_1 = 4;
|
|
926
926
|
var tmp_3 = this;
|
|
927
927
|
continue $sm;
|
|
928
928
|
} else {
|
|
929
|
-
this.
|
|
929
|
+
this.pe4_1 = this.oe4_1;
|
|
930
930
|
this.l9_1 = 2;
|
|
931
931
|
continue $sm;
|
|
932
932
|
}
|
|
933
933
|
|
|
934
934
|
case 2:
|
|
935
|
-
this.
|
|
935
|
+
this.qe4_1 = this.pe4_1;
|
|
936
936
|
this.l9_1 = 3;
|
|
937
|
-
suspendResult = this.
|
|
937
|
+
suspendResult = this.me4_1.a1b(this.qe4_1, this);
|
|
938
938
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
939
939
|
return suspendResult;
|
|
940
940
|
}
|
|
941
941
|
|
|
942
942
|
continue $sm;
|
|
943
943
|
case 3:
|
|
944
|
-
this.
|
|
944
|
+
this.le4_1 = suspendResult;
|
|
945
945
|
if (false) {
|
|
946
946
|
this.l9_1 = 1;
|
|
947
947
|
continue $sm;
|
|
@@ -966,8 +966,8 @@
|
|
|
966
966
|
while (true);
|
|
967
967
|
};
|
|
968
968
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).w1o = function (value, completion) {
|
|
969
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.
|
|
970
|
-
i.
|
|
969
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.he4_1, completion);
|
|
970
|
+
i.ie4_1 = value;
|
|
971
971
|
return i;
|
|
972
972
|
};
|
|
973
973
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -980,8 +980,8 @@
|
|
|
980
980
|
}
|
|
981
981
|
function $collectCOROUTINE$_1(_this__u8e3s4, collector, resultContinuation) {
|
|
982
982
|
CoroutineImpl.call(this, resultContinuation);
|
|
983
|
-
this.
|
|
984
|
-
this.
|
|
983
|
+
this.ze4_1 = _this__u8e3s4;
|
|
984
|
+
this.ae5_1 = collector;
|
|
985
985
|
}
|
|
986
986
|
protoOf($collectCOROUTINE$_1).t9 = function () {
|
|
987
987
|
var suspendResult = this.n9_1;
|
|
@@ -992,11 +992,11 @@
|
|
|
992
992
|
case 0:
|
|
993
993
|
this.m9_1 = 2;
|
|
994
994
|
var tmp_0 = this;
|
|
995
|
-
tmp_0.
|
|
996
|
-
this.
|
|
995
|
+
tmp_0.be5_1 = this.ae5_1;
|
|
996
|
+
this.ce5_1 = this.be5_1;
|
|
997
997
|
this.l9_1 = 1;
|
|
998
|
-
var tmp_1 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0(this.
|
|
999
|
-
suspendResult = this.
|
|
998
|
+
var tmp_1 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0(this.ce5_1, null);
|
|
999
|
+
suspendResult = this.ze4_1.de5_1.v19(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_1), this);
|
|
1000
1000
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1001
1001
|
return suspendResult;
|
|
1002
1002
|
}
|
|
@@ -1019,7 +1019,7 @@
|
|
|
1019
1019
|
while (true);
|
|
1020
1020
|
};
|
|
1021
1021
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_1($$this$unsafeFlow, resultContinuation) {
|
|
1022
|
-
this.
|
|
1022
|
+
this.me5_1 = $$this$unsafeFlow;
|
|
1023
1023
|
CoroutineImpl.call(this, resultContinuation);
|
|
1024
1024
|
}
|
|
1025
1025
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).v1o = function (value, $completion) {
|
|
@@ -1040,14 +1040,14 @@
|
|
|
1040
1040
|
case 0:
|
|
1041
1041
|
this.m9_1 = 2;
|
|
1042
1042
|
var tmp_0 = this;
|
|
1043
|
-
tmp_0.
|
|
1043
|
+
tmp_0.oe5_1 = this.me5_1;
|
|
1044
1044
|
var tmp_1 = this;
|
|
1045
|
-
tmp_1.
|
|
1046
|
-
this.
|
|
1047
|
-
this.
|
|
1045
|
+
tmp_1.pe5_1 = this.ne5_1;
|
|
1046
|
+
this.qe5_1 = this.oe5_1;
|
|
1047
|
+
this.re5_1 = this.pe5_1;
|
|
1048
1048
|
this.l9_1 = 1;
|
|
1049
|
-
var table = this.
|
|
1050
|
-
suspendResult = this.
|
|
1049
|
+
var table = this.re5_1;
|
|
1050
|
+
suspendResult = this.qe5_1.a1b(to(table.gameInfo.roundNumberTotal, table), this);
|
|
1051
1051
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1052
1052
|
return suspendResult;
|
|
1053
1053
|
}
|
|
@@ -1070,8 +1070,8 @@
|
|
|
1070
1070
|
while (true);
|
|
1071
1071
|
};
|
|
1072
1072
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).w1o = function (value, completion) {
|
|
1073
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.
|
|
1074
|
-
i.
|
|
1073
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.me5_1, completion);
|
|
1074
|
+
i.ne5_1 = value;
|
|
1075
1075
|
return i;
|
|
1076
1076
|
};
|
|
1077
1077
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1084,8 +1084,8 @@
|
|
|
1084
1084
|
}
|
|
1085
1085
|
function $collectCOROUTINE$_2(_this__u8e3s4, collector, resultContinuation) {
|
|
1086
1086
|
CoroutineImpl.call(this, resultContinuation);
|
|
1087
|
-
this.
|
|
1088
|
-
this.
|
|
1087
|
+
this.ae6_1 = _this__u8e3s4;
|
|
1088
|
+
this.be6_1 = collector;
|
|
1089
1089
|
}
|
|
1090
1090
|
protoOf($collectCOROUTINE$_2).t9 = function () {
|
|
1091
1091
|
var suspendResult = this.n9_1;
|
|
@@ -1096,11 +1096,11 @@
|
|
|
1096
1096
|
case 0:
|
|
1097
1097
|
this.m9_1 = 2;
|
|
1098
1098
|
var tmp_0 = this;
|
|
1099
|
-
tmp_0.
|
|
1100
|
-
this.
|
|
1099
|
+
tmp_0.ce6_1 = this.be6_1;
|
|
1100
|
+
this.de6_1 = this.ce6_1;
|
|
1101
1101
|
this.l9_1 = 1;
|
|
1102
|
-
var tmp_1 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_2(this.
|
|
1103
|
-
suspendResult = this.
|
|
1102
|
+
var tmp_1 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_2(this.de6_1, null);
|
|
1103
|
+
suspendResult = this.ae6_1.ee6_1.v19(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_1), this);
|
|
1104
1104
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1105
1105
|
return suspendResult;
|
|
1106
1106
|
}
|
|
@@ -1123,7 +1123,7 @@
|
|
|
1123
1123
|
while (true);
|
|
1124
1124
|
};
|
|
1125
1125
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_3($$this$unsafeFlow, resultContinuation) {
|
|
1126
|
-
this.
|
|
1126
|
+
this.ne6_1 = $$this$unsafeFlow;
|
|
1127
1127
|
CoroutineImpl.call(this, resultContinuation);
|
|
1128
1128
|
}
|
|
1129
1129
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).v1o = function (value, $completion) {
|
|
@@ -1144,14 +1144,14 @@
|
|
|
1144
1144
|
case 0:
|
|
1145
1145
|
this.m9_1 = 2;
|
|
1146
1146
|
var tmp_0 = this;
|
|
1147
|
-
tmp_0.
|
|
1147
|
+
tmp_0.pe6_1 = this.ne6_1;
|
|
1148
1148
|
var tmp_1 = this;
|
|
1149
|
-
tmp_1.
|
|
1150
|
-
this.
|
|
1151
|
-
this.
|
|
1149
|
+
tmp_1.qe6_1 = this.oe6_1;
|
|
1150
|
+
this.re6_1 = this.pe6_1;
|
|
1151
|
+
this.se6_1 = this.qe6_1;
|
|
1152
1152
|
this.l9_1 = 1;
|
|
1153
|
-
var it = this.
|
|
1154
|
-
suspendResult = this.
|
|
1153
|
+
var it = this.se6_1;
|
|
1154
|
+
suspendResult = this.re6_1.a1b(it.jf_1, this);
|
|
1155
1155
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1156
1156
|
return suspendResult;
|
|
1157
1157
|
}
|
|
@@ -1174,8 +1174,8 @@
|
|
|
1174
1174
|
while (true);
|
|
1175
1175
|
};
|
|
1176
1176
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).w1o = function (value, completion) {
|
|
1177
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.
|
|
1178
|
-
i.
|
|
1177
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.ne6_1, completion);
|
|
1178
|
+
i.oe6_1 = value;
|
|
1179
1179
|
return i;
|
|
1180
1180
|
};
|
|
1181
1181
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1188,8 +1188,8 @@
|
|
|
1188
1188
|
}
|
|
1189
1189
|
function $collectCOROUTINE$_3(_this__u8e3s4, collector, resultContinuation) {
|
|
1190
1190
|
CoroutineImpl.call(this, resultContinuation);
|
|
1191
|
-
this.
|
|
1192
|
-
this.
|
|
1191
|
+
this.be7_1 = _this__u8e3s4;
|
|
1192
|
+
this.ce7_1 = collector;
|
|
1193
1193
|
}
|
|
1194
1194
|
protoOf($collectCOROUTINE$_3).t9 = function () {
|
|
1195
1195
|
var suspendResult = this.n9_1;
|
|
@@ -1200,11 +1200,11 @@
|
|
|
1200
1200
|
case 0:
|
|
1201
1201
|
this.m9_1 = 2;
|
|
1202
1202
|
var tmp_0 = this;
|
|
1203
|
-
tmp_0.
|
|
1204
|
-
this.
|
|
1203
|
+
tmp_0.de7_1 = this.ce7_1;
|
|
1204
|
+
this.ee7_1 = this.de7_1;
|
|
1205
1205
|
this.l9_1 = 1;
|
|
1206
|
-
var tmp_1 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_4(this.
|
|
1207
|
-
suspendResult = this.
|
|
1206
|
+
var tmp_1 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_4(this.ee7_1, null);
|
|
1207
|
+
suspendResult = this.be7_1.fe7_1.v19(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_1), this);
|
|
1208
1208
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1209
1209
|
return suspendResult;
|
|
1210
1210
|
}
|
|
@@ -1227,17 +1227,17 @@
|
|
|
1227
1227
|
while (true);
|
|
1228
1228
|
};
|
|
1229
1229
|
function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
|
|
1230
|
-
this.
|
|
1230
|
+
this.oe7_1 = $subscriber;
|
|
1231
1231
|
CoroutineImpl.call(this, resultContinuation);
|
|
1232
1232
|
}
|
|
1233
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1234
|
-
var tmp = this.
|
|
1233
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).qe7 = function (it, $completion) {
|
|
1234
|
+
var tmp = this.re7(it, $completion);
|
|
1235
1235
|
tmp.n9_1 = Unit_instance;
|
|
1236
1236
|
tmp.o9_1 = null;
|
|
1237
1237
|
return tmp.t9();
|
|
1238
1238
|
};
|
|
1239
1239
|
protoOf(GameServer$subscribeWith$slambda$slambda).da = function (p1, $completion) {
|
|
1240
|
-
return this.
|
|
1240
|
+
return this.qe7(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
|
|
1241
1241
|
};
|
|
1242
1242
|
protoOf(GameServer$subscribeWith$slambda$slambda).t9 = function () {
|
|
1243
1243
|
var suspendResult = this.n9_1;
|
|
@@ -1246,7 +1246,7 @@
|
|
|
1246
1246
|
var tmp = this.l9_1;
|
|
1247
1247
|
if (tmp === 0) {
|
|
1248
1248
|
this.m9_1 = 1;
|
|
1249
|
-
this.
|
|
1249
|
+
this.oe7_1(this.pe7_1);
|
|
1250
1250
|
return Unit_instance;
|
|
1251
1251
|
} else if (tmp === 1) {
|
|
1252
1252
|
throw this.o9_1;
|
|
@@ -1257,83 +1257,83 @@
|
|
|
1257
1257
|
}
|
|
1258
1258
|
while (true);
|
|
1259
1259
|
};
|
|
1260
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1261
|
-
var i = new GameServer$subscribeWith$slambda$slambda(this.
|
|
1262
|
-
i.
|
|
1260
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).re7 = function (it, completion) {
|
|
1261
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.oe7_1, completion);
|
|
1262
|
+
i.pe7_1 = it;
|
|
1263
1263
|
return i;
|
|
1264
1264
|
};
|
|
1265
1265
|
function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
|
|
1266
1266
|
var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
|
|
1267
1267
|
var l = function (it, $completion) {
|
|
1268
|
-
return i.
|
|
1268
|
+
return i.qe7(it, $completion);
|
|
1269
1269
|
};
|
|
1270
1270
|
l.$arity = 1;
|
|
1271
1271
|
return l;
|
|
1272
1272
|
}
|
|
1273
1273
|
function GameServer$roomOnCreate$2$updatedUsers$previousTeams$1($playerId) {
|
|
1274
|
-
this.
|
|
1274
|
+
this.se7_1 = $playerId;
|
|
1275
1275
|
}
|
|
1276
1276
|
protoOf(GameServer$roomOnCreate$2$updatedUsers$previousTeams$1).f6k = function () {
|
|
1277
|
-
return this.
|
|
1277
|
+
return this.se7_1;
|
|
1278
1278
|
};
|
|
1279
1279
|
function _get_logger__rkp4sl($this) {
|
|
1280
|
-
var tmp0 = $this.
|
|
1280
|
+
var tmp0 = $this.ve7_1;
|
|
1281
1281
|
var tmp = KProperty1;
|
|
1282
1282
|
// Inline function 'kotlin.getValue' call
|
|
1283
1283
|
getPropertyCallableRef('logger', 1, tmp, GameServer$_get_logger_$ref_fogce1_0(), null);
|
|
1284
1284
|
return tmp0.u();
|
|
1285
1285
|
}
|
|
1286
1286
|
function _get_toClientEventsObserver__6rp51y($this) {
|
|
1287
|
-
var tmp0 = $this.
|
|
1287
|
+
var tmp0 = $this.we7_1;
|
|
1288
1288
|
var tmp = KProperty1;
|
|
1289
1289
|
// Inline function 'kotlin.getValue' call
|
|
1290
1290
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, GameServer$_get_toClientEventsObserver_$ref_utir8s_0(), null);
|
|
1291
1291
|
return tmp0.u();
|
|
1292
1292
|
}
|
|
1293
1293
|
function _get_fromClientEventsObserver__a7vzd3($this) {
|
|
1294
|
-
var tmp0 = $this.
|
|
1294
|
+
var tmp0 = $this.xe7_1;
|
|
1295
1295
|
var tmp = KProperty1;
|
|
1296
1296
|
// Inline function 'kotlin.getValue' call
|
|
1297
1297
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, GameServer$_get_fromClientEventsObserver_$ref_nf1g79_0(), null);
|
|
1298
1298
|
return tmp0.u();
|
|
1299
1299
|
}
|
|
1300
1300
|
function _get_playerConnectionInteractor__si6cxf($this) {
|
|
1301
|
-
var tmp0 = $this.
|
|
1301
|
+
var tmp0 = $this.ye7_1;
|
|
1302
1302
|
var tmp = KProperty1;
|
|
1303
1303
|
// Inline function 'kotlin.getValue' call
|
|
1304
1304
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, GameServer$_get_playerConnectionInteractor_$ref_of8tan_0(), null);
|
|
1305
1305
|
return tmp0.u();
|
|
1306
1306
|
}
|
|
1307
1307
|
function _get_teamsLogicProvider__u10pm6($this) {
|
|
1308
|
-
var tmp0 = $this.
|
|
1308
|
+
var tmp0 = $this.ze7_1;
|
|
1309
1309
|
var tmp = KProperty1;
|
|
1310
1310
|
// Inline function 'kotlin.getValue' call
|
|
1311
1311
|
getPropertyCallableRef('teamsLogicProvider', 1, tmp, GameServer$_get_teamsLogicProvider_$ref_b7y54g_0(), null);
|
|
1312
1312
|
return tmp0.u();
|
|
1313
1313
|
}
|
|
1314
1314
|
function _get_random__h29cgo($this) {
|
|
1315
|
-
var tmp0 = $this.
|
|
1315
|
+
var tmp0 = $this.ae8_1;
|
|
1316
1316
|
var tmp = KProperty1;
|
|
1317
1317
|
// Inline function 'kotlin.getValue' call
|
|
1318
1318
|
getPropertyCallableRef('random', 1, tmp, GameServer$_get_random_$ref_fottnq(), null);
|
|
1319
1319
|
return tmp0.u();
|
|
1320
1320
|
}
|
|
1321
1321
|
function _get_idsProvider__fnfajc($this) {
|
|
1322
|
-
var tmp0 = $this.
|
|
1322
|
+
var tmp0 = $this.be8_1;
|
|
1323
1323
|
var tmp = KProperty1;
|
|
1324
1324
|
// Inline function 'kotlin.getValue' call
|
|
1325
1325
|
getPropertyCallableRef('idsProvider', 1, tmp, GameServer$_get_idsProvider_$ref_89s908_0(), null);
|
|
1326
1326
|
return tmp0.u();
|
|
1327
1327
|
}
|
|
1328
1328
|
function _get_serverReduxConfig__rprcrm($this) {
|
|
1329
|
-
var tmp0 = $this.
|
|
1329
|
+
var tmp0 = $this.ce8_1;
|
|
1330
1330
|
var tmp = KProperty1;
|
|
1331
1331
|
// Inline function 'kotlin.getValue' call
|
|
1332
1332
|
getPropertyCallableRef('serverReduxConfig', 1, tmp, GameServer$_get_serverReduxConfig_$ref_7h6jq6_0(), null);
|
|
1333
1333
|
return tmp0.u();
|
|
1334
1334
|
}
|
|
1335
1335
|
function _get_encoderDecoderProvider__qqgrji($this) {
|
|
1336
|
-
var tmp0 = $this.
|
|
1336
|
+
var tmp0 = $this.de8_1;
|
|
1337
1337
|
var tmp = KProperty1;
|
|
1338
1338
|
// Inline function 'kotlin.getValue' call
|
|
1339
1339
|
getPropertyCallableRef('encoderDecoderProvider', 1, tmp, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8_0(), null);
|
|
@@ -1360,20 +1360,20 @@
|
|
|
1360
1360
|
return new GameServer$observeTableWhenRoundChanges$$inlined$map$2(this_1);
|
|
1361
1361
|
}
|
|
1362
1362
|
function Companion() {
|
|
1363
|
-
this.
|
|
1363
|
+
this.fe8_1 = 'GameEngine_API';
|
|
1364
1364
|
}
|
|
1365
1365
|
var Companion_instance_7;
|
|
1366
1366
|
function Companion_getInstance_0() {
|
|
1367
1367
|
return Companion_instance_7;
|
|
1368
1368
|
}
|
|
1369
1369
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
1370
|
-
this.
|
|
1370
|
+
this.ge8_1 = function_0;
|
|
1371
1371
|
}
|
|
1372
1372
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).a1b = function (value, $completion) {
|
|
1373
|
-
return this.
|
|
1373
|
+
return this.ge8_1(value, $completion);
|
|
1374
1374
|
};
|
|
1375
1375
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).u3 = function () {
|
|
1376
|
-
return this.
|
|
1376
|
+
return this.ge8_1;
|
|
1377
1377
|
};
|
|
1378
1378
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
1379
1379
|
var tmp;
|
|
@@ -1394,13 +1394,13 @@
|
|
|
1394
1394
|
return hashCode(this.u3());
|
|
1395
1395
|
};
|
|
1396
1396
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
1397
|
-
this.
|
|
1397
|
+
this.he8_1 = function_0;
|
|
1398
1398
|
}
|
|
1399
1399
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).a1b = function (value, $completion) {
|
|
1400
|
-
return this.
|
|
1400
|
+
return this.he8_1(value, $completion);
|
|
1401
1401
|
};
|
|
1402
1402
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).u3 = function () {
|
|
1403
|
-
return this.
|
|
1403
|
+
return this.he8_1;
|
|
1404
1404
|
};
|
|
1405
1405
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
1406
1406
|
var tmp;
|
|
@@ -1421,13 +1421,13 @@
|
|
|
1421
1421
|
return hashCode(this.u3());
|
|
1422
1422
|
};
|
|
1423
1423
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
|
|
1424
|
-
this.
|
|
1424
|
+
this.ie8_1 = function_0;
|
|
1425
1425
|
}
|
|
1426
1426
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).a1b = function (value, $completion) {
|
|
1427
|
-
return this.
|
|
1427
|
+
return this.ie8_1(value, $completion);
|
|
1428
1428
|
};
|
|
1429
1429
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).u3 = function () {
|
|
1430
|
-
return this.
|
|
1430
|
+
return this.ie8_1;
|
|
1431
1431
|
};
|
|
1432
1432
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
|
|
1433
1433
|
var tmp;
|
|
@@ -1448,13 +1448,13 @@
|
|
|
1448
1448
|
return hashCode(this.u3());
|
|
1449
1449
|
};
|
|
1450
1450
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
|
|
1451
|
-
this.
|
|
1451
|
+
this.je8_1 = function_0;
|
|
1452
1452
|
}
|
|
1453
1453
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).a1b = function (value, $completion) {
|
|
1454
|
-
return this.
|
|
1454
|
+
return this.je8_1(value, $completion);
|
|
1455
1455
|
};
|
|
1456
1456
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).u3 = function () {
|
|
1457
|
-
return this.
|
|
1457
|
+
return this.je8_1;
|
|
1458
1458
|
};
|
|
1459
1459
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
|
|
1460
1460
|
var tmp;
|
|
@@ -1475,13 +1475,13 @@
|
|
|
1475
1475
|
return hashCode(this.u3());
|
|
1476
1476
|
};
|
|
1477
1477
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_3(function_0) {
|
|
1478
|
-
this.
|
|
1478
|
+
this.ke8_1 = function_0;
|
|
1479
1479
|
}
|
|
1480
1480
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).a1b = function (value, $completion) {
|
|
1481
|
-
return this.
|
|
1481
|
+
return this.ke8_1(value, $completion);
|
|
1482
1482
|
};
|
|
1483
1483
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).u3 = function () {
|
|
1484
|
-
return this.
|
|
1484
|
+
return this.ke8_1;
|
|
1485
1485
|
};
|
|
1486
1486
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).equals = function (other) {
|
|
1487
1487
|
var tmp;
|
|
@@ -1502,13 +1502,13 @@
|
|
|
1502
1502
|
return hashCode(this.u3());
|
|
1503
1503
|
};
|
|
1504
1504
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_4(function_0) {
|
|
1505
|
-
this.
|
|
1505
|
+
this.le8_1 = function_0;
|
|
1506
1506
|
}
|
|
1507
1507
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).a1b = function (value, $completion) {
|
|
1508
|
-
return this.
|
|
1508
|
+
return this.le8_1(value, $completion);
|
|
1509
1509
|
};
|
|
1510
1510
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).u3 = function () {
|
|
1511
|
-
return this.
|
|
1511
|
+
return this.le8_1;
|
|
1512
1512
|
};
|
|
1513
1513
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).equals = function (other) {
|
|
1514
1514
|
var tmp;
|
|
@@ -1619,8 +1619,8 @@
|
|
|
1619
1619
|
};
|
|
1620
1620
|
}
|
|
1621
1621
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
1622
|
-
this.
|
|
1623
|
-
this.
|
|
1622
|
+
this.ue8_1 = this$0;
|
|
1623
|
+
this.ve8_1 = $subscriber;
|
|
1624
1624
|
CoroutineImpl.call(this, resultContinuation);
|
|
1625
1625
|
}
|
|
1626
1626
|
protoOf(GameServer$subscribeToClientAction$slambda).s1h = function ($this$launchDefault, $completion) {
|
|
@@ -1641,8 +1641,8 @@
|
|
|
1641
1641
|
case 0:
|
|
1642
1642
|
this.m9_1 = 2;
|
|
1643
1643
|
this.l9_1 = 1;
|
|
1644
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
1645
|
-
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.
|
|
1644
|
+
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.ue8_1).fb1();
|
|
1645
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.ve8_1, null);
|
|
1646
1646
|
suspendResult = tmp_0.v19(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
1647
1647
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1648
1648
|
return suspendResult;
|
|
@@ -1666,8 +1666,8 @@
|
|
|
1666
1666
|
while (true);
|
|
1667
1667
|
};
|
|
1668
1668
|
protoOf(GameServer$subscribeToClientAction$slambda).t1h = function ($this$launchDefault, completion) {
|
|
1669
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
1670
|
-
i.
|
|
1669
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.ue8_1, this.ve8_1, completion);
|
|
1670
|
+
i.we8_1 = $this$launchDefault;
|
|
1671
1671
|
return i;
|
|
1672
1672
|
};
|
|
1673
1673
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1679,8 +1679,8 @@
|
|
|
1679
1679
|
return l;
|
|
1680
1680
|
}
|
|
1681
1681
|
function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
|
|
1682
|
-
this.
|
|
1683
|
-
this.
|
|
1682
|
+
this.fe9_1 = this$0;
|
|
1683
|
+
this.ge9_1 = $subscriber;
|
|
1684
1684
|
CoroutineImpl.call(this, resultContinuation);
|
|
1685
1685
|
}
|
|
1686
1686
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).s1h = function ($this$launchDefault, $completion) {
|
|
@@ -1701,8 +1701,8 @@
|
|
|
1701
1701
|
case 0:
|
|
1702
1702
|
this.m9_1 = 2;
|
|
1703
1703
|
this.l9_1 = 1;
|
|
1704
|
-
var tmp_0 = observeTableStateUpdates(this.
|
|
1705
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.
|
|
1704
|
+
var tmp_0 = observeTableStateUpdates(this.fe9_1);
|
|
1705
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.ge9_1, null);
|
|
1706
1706
|
suspendResult = tmp_0.v19(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
1707
1707
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1708
1708
|
return suspendResult;
|
|
@@ -1726,8 +1726,8 @@
|
|
|
1726
1726
|
while (true);
|
|
1727
1727
|
};
|
|
1728
1728
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).t1h = function ($this$launchDefault, completion) {
|
|
1729
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda(this.
|
|
1730
|
-
i.
|
|
1729
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda(this.fe9_1, this.ge9_1, completion);
|
|
1730
|
+
i.he9_1 = $this$launchDefault;
|
|
1731
1731
|
return i;
|
|
1732
1732
|
};
|
|
1733
1733
|
function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1739,8 +1739,8 @@
|
|
|
1739
1739
|
return l;
|
|
1740
1740
|
}
|
|
1741
1741
|
function GameServer$subscribeServerStateUpdateJson$slambda(this$0, $subscriber, resultContinuation) {
|
|
1742
|
-
this.
|
|
1743
|
-
this.
|
|
1742
|
+
this.qe9_1 = this$0;
|
|
1743
|
+
this.re9_1 = $subscriber;
|
|
1744
1744
|
CoroutineImpl.call(this, resultContinuation);
|
|
1745
1745
|
}
|
|
1746
1746
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).s1h = function ($this$launchDefault, $completion) {
|
|
@@ -1761,9 +1761,9 @@
|
|
|
1761
1761
|
case 0:
|
|
1762
1762
|
this.m9_1 = 2;
|
|
1763
1763
|
this.l9_1 = 1;
|
|
1764
|
-
var this_0 = observeTableStateUpdates(this.
|
|
1765
|
-
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.
|
|
1766
|
-
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.
|
|
1764
|
+
var this_0 = observeTableStateUpdates(this.qe9_1);
|
|
1765
|
+
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.qe9_1);
|
|
1766
|
+
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.re9_1, null);
|
|
1767
1767
|
suspendResult = tmp_0.v19(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
1768
1768
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1769
1769
|
return suspendResult;
|
|
@@ -1787,8 +1787,8 @@
|
|
|
1787
1787
|
while (true);
|
|
1788
1788
|
};
|
|
1789
1789
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).t1h = function ($this$launchDefault, completion) {
|
|
1790
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.
|
|
1791
|
-
i.
|
|
1790
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.qe9_1, this.re9_1, completion);
|
|
1791
|
+
i.se9_1 = $this$launchDefault;
|
|
1792
1792
|
return i;
|
|
1793
1793
|
};
|
|
1794
1794
|
function GameServer$subscribeServerStateUpdateJson$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1800,18 +1800,18 @@
|
|
|
1800
1800
|
return l;
|
|
1801
1801
|
}
|
|
1802
1802
|
function GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation) {
|
|
1803
|
-
this.
|
|
1803
|
+
this.bea_1 = this$0;
|
|
1804
1804
|
CoroutineImpl.call(this, resultContinuation);
|
|
1805
1805
|
}
|
|
1806
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
1807
|
-
var tmp = this.
|
|
1806
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).och = function ($this$transformLatest, it, $completion) {
|
|
1807
|
+
var tmp = this.pch($this$transformLatest, it, $completion);
|
|
1808
1808
|
tmp.n9_1 = Unit_instance;
|
|
1809
1809
|
tmp.o9_1 = null;
|
|
1810
1810
|
return tmp.t9();
|
|
1811
1811
|
};
|
|
1812
1812
|
protoOf(GameServer$observeTableStateUpdates$slambda).ea = function (p1, p2, $completion) {
|
|
1813
1813
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
1814
|
-
return this.
|
|
1814
|
+
return this.och(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
1815
1815
|
};
|
|
1816
1816
|
protoOf(GameServer$observeTableStateUpdates$slambda).t9 = function () {
|
|
1817
1817
|
var suspendResult = this.n9_1;
|
|
@@ -1822,8 +1822,8 @@
|
|
|
1822
1822
|
case 0:
|
|
1823
1823
|
this.m9_1 = 2;
|
|
1824
1824
|
this.l9_1 = 1;
|
|
1825
|
-
var table = this.
|
|
1826
|
-
suspendResult = emitAll(this.
|
|
1825
|
+
var table = this.dea_1;
|
|
1826
|
+
suspendResult = emitAll(this.cea_1, flow(GameServer$observeTableStateUpdates$slambda$slambda_0(table, this.bea_1, null)), this);
|
|
1827
1827
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1828
1828
|
return suspendResult;
|
|
1829
1829
|
}
|
|
@@ -1845,22 +1845,22 @@
|
|
|
1845
1845
|
}
|
|
1846
1846
|
while (true);
|
|
1847
1847
|
};
|
|
1848
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
1849
|
-
var i = new GameServer$observeTableStateUpdates$slambda(this.
|
|
1850
|
-
i.
|
|
1851
|
-
i.
|
|
1848
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).pch = function ($this$transformLatest, it, completion) {
|
|
1849
|
+
var i = new GameServer$observeTableStateUpdates$slambda(this.bea_1, completion);
|
|
1850
|
+
i.cea_1 = $this$transformLatest;
|
|
1851
|
+
i.dea_1 = it;
|
|
1852
1852
|
return i;
|
|
1853
1853
|
};
|
|
1854
1854
|
function GameServer$observeTableStateUpdates$slambda_0(this$0, resultContinuation) {
|
|
1855
1855
|
var i = new GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation);
|
|
1856
1856
|
var l = function ($this$transformLatest, it, $completion) {
|
|
1857
|
-
return i.
|
|
1857
|
+
return i.och($this$transformLatest, it, $completion);
|
|
1858
1858
|
};
|
|
1859
1859
|
l.$arity = 2;
|
|
1860
1860
|
return l;
|
|
1861
1861
|
}
|
|
1862
1862
|
function GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1($this) {
|
|
1863
|
-
this.
|
|
1863
|
+
this.de5_1 = $this;
|
|
1864
1864
|
}
|
|
1865
1865
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1).b1b = function (collector, $completion) {
|
|
1866
1866
|
var tmp = new $collectCOROUTINE$_1(this, collector, $completion);
|
|
@@ -1872,7 +1872,7 @@
|
|
|
1872
1872
|
return this.b1b(collector, $completion);
|
|
1873
1873
|
};
|
|
1874
1874
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$1($this) {
|
|
1875
|
-
this.
|
|
1875
|
+
this.ee6_1 = $this;
|
|
1876
1876
|
}
|
|
1877
1877
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$1).b1b = function (collector, $completion) {
|
|
1878
1878
|
var tmp = new $collectCOROUTINE$_2(this, collector, $completion);
|
|
@@ -1887,7 +1887,7 @@
|
|
|
1887
1887
|
return old.if_1 === new_0.if_1;
|
|
1888
1888
|
}
|
|
1889
1889
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$2($this) {
|
|
1890
|
-
this.
|
|
1890
|
+
this.fe7_1 = $this;
|
|
1891
1891
|
}
|
|
1892
1892
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$2).b1b = function (collector, $completion) {
|
|
1893
1893
|
var tmp = new $collectCOROUTINE$_3(this, collector, $completion);
|
|
@@ -1899,8 +1899,8 @@
|
|
|
1899
1899
|
return this.b1b(collector, $completion);
|
|
1900
1900
|
};
|
|
1901
1901
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
1902
|
-
this.
|
|
1903
|
-
this.
|
|
1902
|
+
this.mea_1 = this$0;
|
|
1903
|
+
this.nea_1 = $subscriber;
|
|
1904
1904
|
CoroutineImpl.call(this, resultContinuation);
|
|
1905
1905
|
}
|
|
1906
1906
|
protoOf(GameServer$subscribeWith$slambda).s1h = function ($this$launchDefault, $completion) {
|
|
@@ -1921,8 +1921,8 @@
|
|
|
1921
1921
|
case 0:
|
|
1922
1922
|
this.m9_1 = 2;
|
|
1923
1923
|
this.l9_1 = 1;
|
|
1924
|
-
var tmp_0 = distinctUntilChanged_0(this.
|
|
1925
|
-
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.
|
|
1924
|
+
var tmp_0 = distinctUntilChanged_0(this.mea_1.n72());
|
|
1925
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.nea_1, null);
|
|
1926
1926
|
suspendResult = tmp_0.v19(new sam$kotlinx_coroutines_flow_FlowCollector$0_4(tmp_1), this);
|
|
1927
1927
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1928
1928
|
return suspendResult;
|
|
@@ -1946,8 +1946,8 @@
|
|
|
1946
1946
|
while (true);
|
|
1947
1947
|
};
|
|
1948
1948
|
protoOf(GameServer$subscribeWith$slambda).t1h = function ($this$launchDefault, completion) {
|
|
1949
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
1950
|
-
i.
|
|
1949
|
+
var i = new GameServer$subscribeWith$slambda(this.mea_1, this.nea_1, completion);
|
|
1950
|
+
i.oea_1 = $this$launchDefault;
|
|
1951
1951
|
return i;
|
|
1952
1952
|
};
|
|
1953
1953
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1959,18 +1959,18 @@
|
|
|
1959
1959
|
return l;
|
|
1960
1960
|
}
|
|
1961
1961
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
1962
|
-
this.
|
|
1962
|
+
this.xea_1 = $action;
|
|
1963
1963
|
CoroutineImpl.call(this, resultContinuation);
|
|
1964
1964
|
}
|
|
1965
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
1966
|
-
var tmp = this.
|
|
1965
|
+
protoOf(GameServer$fromClientEvent$slambda).wbn = function ($this$dispatchAsync, store, $completion) {
|
|
1966
|
+
var tmp = this.xbn($this$dispatchAsync, store, $completion);
|
|
1967
1967
|
tmp.n9_1 = Unit_instance;
|
|
1968
1968
|
tmp.o9_1 = null;
|
|
1969
1969
|
return tmp.t9();
|
|
1970
1970
|
};
|
|
1971
1971
|
protoOf(GameServer$fromClientEvent$slambda).ea = function (p1, p2, $completion) {
|
|
1972
1972
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1973
|
-
return this.
|
|
1973
|
+
return this.wbn(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1974
1974
|
};
|
|
1975
1975
|
protoOf(GameServer$fromClientEvent$slambda).t9 = function () {
|
|
1976
1976
|
var suspendResult = this.n9_1;
|
|
@@ -1979,11 +1979,11 @@
|
|
|
1979
1979
|
var tmp = this.l9_1;
|
|
1980
1980
|
if (tmp === 0) {
|
|
1981
1981
|
this.m9_1 = 1;
|
|
1982
|
-
if (this.
|
|
1983
|
-
if (!get_isCreated(this.
|
|
1982
|
+
if (this.xea_1 instanceof PlayerReadyFromClientAction)
|
|
1983
|
+
if (!get_isCreated(this.zea_1.state)) {
|
|
1984
1984
|
return Unit_instance;
|
|
1985
1985
|
}
|
|
1986
|
-
this.
|
|
1986
|
+
this.zea_1.dispatch(this.xea_1);
|
|
1987
1987
|
return Unit_instance;
|
|
1988
1988
|
} else if (tmp === 1) {
|
|
1989
1989
|
throw this.o9_1;
|
|
@@ -1994,33 +1994,33 @@
|
|
|
1994
1994
|
}
|
|
1995
1995
|
while (true);
|
|
1996
1996
|
};
|
|
1997
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
1998
|
-
var i = new GameServer$fromClientEvent$slambda(this.
|
|
1999
|
-
i.
|
|
2000
|
-
i.
|
|
1997
|
+
protoOf(GameServer$fromClientEvent$slambda).xbn = function ($this$dispatchAsync, store, completion) {
|
|
1998
|
+
var i = new GameServer$fromClientEvent$slambda(this.xea_1, completion);
|
|
1999
|
+
i.yea_1 = $this$dispatchAsync;
|
|
2000
|
+
i.zea_1 = store;
|
|
2001
2001
|
return i;
|
|
2002
2002
|
};
|
|
2003
2003
|
function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
|
|
2004
2004
|
var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
|
|
2005
2005
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2006
|
-
return i.
|
|
2006
|
+
return i.wbn($this$dispatchAsync, store, $completion);
|
|
2007
2007
|
};
|
|
2008
2008
|
l.$arity = 2;
|
|
2009
2009
|
return l;
|
|
2010
2010
|
}
|
|
2011
2011
|
function GameServer$playerLostConnection$slambda($playerId, resultContinuation) {
|
|
2012
|
-
this.
|
|
2012
|
+
this.ieb_1 = $playerId;
|
|
2013
2013
|
CoroutineImpl.call(this, resultContinuation);
|
|
2014
2014
|
}
|
|
2015
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2016
|
-
var tmp = this.
|
|
2015
|
+
protoOf(GameServer$playerLostConnection$slambda).wbn = function ($this$dispatchAsync, store, $completion) {
|
|
2016
|
+
var tmp = this.xbn($this$dispatchAsync, store, $completion);
|
|
2017
2017
|
tmp.n9_1 = Unit_instance;
|
|
2018
2018
|
tmp.o9_1 = null;
|
|
2019
2019
|
return tmp.t9();
|
|
2020
2020
|
};
|
|
2021
2021
|
protoOf(GameServer$playerLostConnection$slambda).ea = function (p1, p2, $completion) {
|
|
2022
2022
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2023
|
-
return this.
|
|
2023
|
+
return this.wbn(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2024
2024
|
};
|
|
2025
2025
|
protoOf(GameServer$playerLostConnection$slambda).t9 = function () {
|
|
2026
2026
|
var suspendResult = this.n9_1;
|
|
@@ -2029,12 +2029,12 @@
|
|
|
2029
2029
|
var tmp = this.l9_1;
|
|
2030
2030
|
if (tmp === 0) {
|
|
2031
2031
|
this.m9_1 = 1;
|
|
2032
|
-
if (!get_isCreated(this.
|
|
2032
|
+
if (!get_isCreated(this.keb_1.state)) {
|
|
2033
2033
|
return Unit_instance;
|
|
2034
2034
|
}
|
|
2035
|
-
var tmp_0 = this.
|
|
2035
|
+
var tmp_0 = this.keb_1.dispatch;
|
|
2036
2036
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
2037
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2037
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.ieb_1));
|
|
2038
2038
|
return Unit_instance;
|
|
2039
2039
|
} else if (tmp === 1) {
|
|
2040
2040
|
throw this.o9_1;
|
|
@@ -2045,34 +2045,34 @@
|
|
|
2045
2045
|
}
|
|
2046
2046
|
while (true);
|
|
2047
2047
|
};
|
|
2048
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2049
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
2050
|
-
i.
|
|
2051
|
-
i.
|
|
2048
|
+
protoOf(GameServer$playerLostConnection$slambda).xbn = function ($this$dispatchAsync, store, completion) {
|
|
2049
|
+
var i = new GameServer$playerLostConnection$slambda(this.ieb_1, completion);
|
|
2050
|
+
i.jeb_1 = $this$dispatchAsync;
|
|
2051
|
+
i.keb_1 = store;
|
|
2052
2052
|
return i;
|
|
2053
2053
|
};
|
|
2054
2054
|
function GameServer$playerLostConnection$slambda_0($playerId, resultContinuation) {
|
|
2055
2055
|
var i = new GameServer$playerLostConnection$slambda($playerId, resultContinuation);
|
|
2056
2056
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2057
|
-
return i.
|
|
2057
|
+
return i.wbn($this$dispatchAsync, store, $completion);
|
|
2058
2058
|
};
|
|
2059
2059
|
l.$arity = 2;
|
|
2060
2060
|
return l;
|
|
2061
2061
|
}
|
|
2062
2062
|
function GameServer$playerLive$slambda(this$0, $playerId, resultContinuation) {
|
|
2063
|
-
this.
|
|
2064
|
-
this.
|
|
2063
|
+
this.teb_1 = this$0;
|
|
2064
|
+
this.ueb_1 = $playerId;
|
|
2065
2065
|
CoroutineImpl.call(this, resultContinuation);
|
|
2066
2066
|
}
|
|
2067
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2068
|
-
var tmp = this.
|
|
2067
|
+
protoOf(GameServer$playerLive$slambda).wbn = function ($this$dispatchAsync, store, $completion) {
|
|
2068
|
+
var tmp = this.xbn($this$dispatchAsync, store, $completion);
|
|
2069
2069
|
tmp.n9_1 = Unit_instance;
|
|
2070
2070
|
tmp.o9_1 = null;
|
|
2071
2071
|
return tmp.t9();
|
|
2072
2072
|
};
|
|
2073
2073
|
protoOf(GameServer$playerLive$slambda).ea = function (p1, p2, $completion) {
|
|
2074
2074
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2075
|
-
return this.
|
|
2075
|
+
return this.wbn(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2076
2076
|
};
|
|
2077
2077
|
protoOf(GameServer$playerLive$slambda).t9 = function () {
|
|
2078
2078
|
var suspendResult = this.n9_1;
|
|
@@ -2081,16 +2081,16 @@
|
|
|
2081
2081
|
var tmp = this.l9_1;
|
|
2082
2082
|
if (tmp === 0) {
|
|
2083
2083
|
this.m9_1 = 1;
|
|
2084
|
-
if (get_isFinished(this.
|
|
2084
|
+
if (get_isFinished(this.web_1.state) || get_isFinishing(this.web_1.state)) {
|
|
2085
2085
|
return Unit_instance;
|
|
2086
2086
|
}
|
|
2087
|
-
if (!get_isCreated(this.
|
|
2088
|
-
_get_logger__rkp4sl(this.
|
|
2087
|
+
if (!get_isCreated(this.web_1.state) || !this.teb_1.e6l().g73()) {
|
|
2088
|
+
_get_logger__rkp4sl(this.teb_1).w('GameEngine_API', 'playerLive: ' + this.ueb_1 + ' before game is created');
|
|
2089
2089
|
return Unit_instance;
|
|
2090
2090
|
}
|
|
2091
|
-
var tmp_0 = this.
|
|
2091
|
+
var tmp_0 = this.web_1.dispatch;
|
|
2092
2092
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2093
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2093
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.ueb_1));
|
|
2094
2094
|
return Unit_instance;
|
|
2095
2095
|
} else if (tmp === 1) {
|
|
2096
2096
|
throw this.o9_1;
|
|
@@ -2101,34 +2101,34 @@
|
|
|
2101
2101
|
}
|
|
2102
2102
|
while (true);
|
|
2103
2103
|
};
|
|
2104
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2105
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
2106
|
-
i.
|
|
2107
|
-
i.
|
|
2104
|
+
protoOf(GameServer$playerLive$slambda).xbn = function ($this$dispatchAsync, store, completion) {
|
|
2105
|
+
var i = new GameServer$playerLive$slambda(this.teb_1, this.ueb_1, completion);
|
|
2106
|
+
i.veb_1 = $this$dispatchAsync;
|
|
2107
|
+
i.web_1 = store;
|
|
2108
2108
|
return i;
|
|
2109
2109
|
};
|
|
2110
2110
|
function GameServer$playerLive$slambda_0(this$0, $playerId, resultContinuation) {
|
|
2111
2111
|
var i = new GameServer$playerLive$slambda(this$0, $playerId, resultContinuation);
|
|
2112
2112
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2113
|
-
return i.
|
|
2113
|
+
return i.wbn($this$dispatchAsync, store, $completion);
|
|
2114
2114
|
};
|
|
2115
2115
|
l.$arity = 2;
|
|
2116
2116
|
return l;
|
|
2117
2117
|
}
|
|
2118
2118
|
function GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation) {
|
|
2119
|
-
this.
|
|
2120
|
-
this.
|
|
2119
|
+
this.fec_1 = this$0;
|
|
2120
|
+
this.gec_1 = $playerId;
|
|
2121
2121
|
CoroutineImpl.call(this, resultContinuation);
|
|
2122
2122
|
}
|
|
2123
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2124
|
-
var tmp = this.
|
|
2123
|
+
protoOf(GameServer$playerLeft$slambda).wbn = function ($this$dispatchAsync, store, $completion) {
|
|
2124
|
+
var tmp = this.xbn($this$dispatchAsync, store, $completion);
|
|
2125
2125
|
tmp.n9_1 = Unit_instance;
|
|
2126
2126
|
tmp.o9_1 = null;
|
|
2127
2127
|
return tmp.t9();
|
|
2128
2128
|
};
|
|
2129
2129
|
protoOf(GameServer$playerLeft$slambda).ea = function (p1, p2, $completion) {
|
|
2130
2130
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2131
|
-
return this.
|
|
2131
|
+
return this.wbn(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2132
2132
|
};
|
|
2133
2133
|
protoOf(GameServer$playerLeft$slambda).t9 = function () {
|
|
2134
2134
|
var suspendResult = this.n9_1;
|
|
@@ -2137,16 +2137,16 @@
|
|
|
2137
2137
|
var tmp = this.l9_1;
|
|
2138
2138
|
if (tmp === 0) {
|
|
2139
2139
|
this.m9_1 = 1;
|
|
2140
|
-
if (get_isFinished(this.
|
|
2140
|
+
if (get_isFinished(this.iec_1.state) || get_isFinishing(this.iec_1.state)) {
|
|
2141
2141
|
return Unit_instance;
|
|
2142
2142
|
}
|
|
2143
|
-
if (!get_isCreated(this.
|
|
2144
|
-
_get_logger__rkp4sl(this.
|
|
2143
|
+
if (!get_isCreated(this.iec_1.state) || !this.fec_1.e6l().g73()) {
|
|
2144
|
+
_get_logger__rkp4sl(this.fec_1).w('GameEngine_API', 'playerLeft: ' + this.gec_1 + ' before game is created');
|
|
2145
2145
|
return Unit_instance;
|
|
2146
2146
|
}
|
|
2147
|
-
var tmp_0 = this.
|
|
2147
|
+
var tmp_0 = this.iec_1.dispatch;
|
|
2148
2148
|
var tmp0_connectionState = PlayerConnectionState_LEFT_getInstance();
|
|
2149
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2149
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.gec_1));
|
|
2150
2150
|
return Unit_instance;
|
|
2151
2151
|
} else if (tmp === 1) {
|
|
2152
2152
|
throw this.o9_1;
|
|
@@ -2157,39 +2157,39 @@
|
|
|
2157
2157
|
}
|
|
2158
2158
|
while (true);
|
|
2159
2159
|
};
|
|
2160
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2161
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
2162
|
-
i.
|
|
2163
|
-
i.
|
|
2160
|
+
protoOf(GameServer$playerLeft$slambda).xbn = function ($this$dispatchAsync, store, completion) {
|
|
2161
|
+
var i = new GameServer$playerLeft$slambda(this.fec_1, this.gec_1, completion);
|
|
2162
|
+
i.hec_1 = $this$dispatchAsync;
|
|
2163
|
+
i.iec_1 = store;
|
|
2164
2164
|
return i;
|
|
2165
2165
|
};
|
|
2166
2166
|
function GameServer$playerLeft$slambda_0(this$0, $playerId, resultContinuation) {
|
|
2167
2167
|
var i = new GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation);
|
|
2168
2168
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2169
|
-
return i.
|
|
2169
|
+
return i.wbn($this$dispatchAsync, store, $completion);
|
|
2170
2170
|
};
|
|
2171
2171
|
l.$arity = 2;
|
|
2172
2172
|
return l;
|
|
2173
2173
|
}
|
|
2174
2174
|
function GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2175
|
-
this.
|
|
2176
|
-
this.
|
|
2177
|
-
this.
|
|
2178
|
-
this.
|
|
2179
|
-
this.
|
|
2180
|
-
this.
|
|
2181
|
-
this.
|
|
2175
|
+
this.rec_1 = $usersArray;
|
|
2176
|
+
this.sec_1 = $config;
|
|
2177
|
+
this.tec_1 = this$0;
|
|
2178
|
+
this.uec_1 = $roomId;
|
|
2179
|
+
this.vec_1 = $transition;
|
|
2180
|
+
this.wec_1 = $gameCreatorId;
|
|
2181
|
+
this.xec_1 = $spectators;
|
|
2182
2182
|
CoroutineImpl.call(this, resultContinuation);
|
|
2183
2183
|
}
|
|
2184
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2185
|
-
var tmp = this.
|
|
2184
|
+
protoOf(GameServer$roomOnCreate$slambda).wbn = function ($this$dispatchAsync, store, $completion) {
|
|
2185
|
+
var tmp = this.xbn($this$dispatchAsync, store, $completion);
|
|
2186
2186
|
tmp.n9_1 = Unit_instance;
|
|
2187
2187
|
tmp.o9_1 = null;
|
|
2188
2188
|
return tmp.t9();
|
|
2189
2189
|
};
|
|
2190
2190
|
protoOf(GameServer$roomOnCreate$slambda).ea = function (p1, p2, $completion) {
|
|
2191
2191
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2192
|
-
return this.
|
|
2192
|
+
return this.wbn(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2193
2193
|
};
|
|
2194
2194
|
protoOf(GameServer$roomOnCreate$slambda).t9 = function () {
|
|
2195
2195
|
var suspendResult = this.n9_1;
|
|
@@ -2198,21 +2198,21 @@
|
|
|
2198
2198
|
var tmp = this.l9_1;
|
|
2199
2199
|
if (tmp === 0) {
|
|
2200
2200
|
this.m9_1 = 1;
|
|
2201
|
-
var users = toList(this.
|
|
2202
|
-
if (!(this.
|
|
2203
|
-
_get_logger__rkp4sl(this.
|
|
2204
|
-
this.
|
|
2201
|
+
var users = toList(this.rec_1);
|
|
2202
|
+
if (!(this.sec_1.playersMode.count === users.m())) {
|
|
2203
|
+
_get_logger__rkp4sl(this.tec_1).w('GameEngine_API', 'roomOnCreate: wrong player count for game ' + this.uec_1 + ', config = ' + this.sec_1.toString() + ', users = ' + toString(users));
|
|
2204
|
+
this.zec_1.dispatch(Companion_instance.fromTableWithAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.tec_1.table.isGameFinished, this.tec_1.table));
|
|
2205
2205
|
return Unit_instance;
|
|
2206
2206
|
}
|
|
2207
2207
|
var tmp_0;
|
|
2208
|
-
if (this.
|
|
2209
|
-
tmp_0 = _get_random__h29cgo(this.
|
|
2208
|
+
if (this.sec_1.mode.shufflePlayers && this.vec_1 == null) {
|
|
2209
|
+
tmp_0 = _get_random__h29cgo(this.tec_1).y65(toMutableList(users));
|
|
2210
2210
|
} else {
|
|
2211
|
-
var tmp0_safe_receiver = this.
|
|
2211
|
+
var tmp0_safe_receiver = this.vec_1;
|
|
2212
2212
|
var previousPlayers = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.previousPlayers;
|
|
2213
2213
|
var tmp_1;
|
|
2214
|
-
if (!(previousPlayers == null) && this.
|
|
2215
|
-
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.
|
|
2214
|
+
if (!(previousPlayers == null) && this.sec_1.playersMode.isTeamGame) {
|
|
2215
|
+
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.tec_1);
|
|
2216
2216
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(previousPlayers, 10));
|
|
2217
2217
|
var _iterator__ex2g4s = previousPlayers.j();
|
|
2218
2218
|
while (_iterator__ex2g4s.k()) {
|
|
@@ -2243,19 +2243,19 @@
|
|
|
2243
2243
|
destination_1.e(destination_2);
|
|
2244
2244
|
}
|
|
2245
2245
|
var updatedTeams = destination_1;
|
|
2246
|
-
tmp_1 = _get_teamsLogicProvider__u10pm6(this.
|
|
2246
|
+
tmp_1 = _get_teamsLogicProvider__u10pm6(this.tec_1).s98(updatedTeams);
|
|
2247
2247
|
} else {
|
|
2248
2248
|
tmp_1 = users;
|
|
2249
2249
|
}
|
|
2250
2250
|
tmp_0 = tmp_1;
|
|
2251
2251
|
}
|
|
2252
2252
|
var updatedUsers = tmp_0;
|
|
2253
|
-
var gameCreatorUser = getPlayer(users, this.
|
|
2254
|
-
var tmp_3 = this.
|
|
2253
|
+
var gameCreatorUser = getPlayer(users, this.wec_1);
|
|
2254
|
+
var tmp_3 = this.zec_1.dispatch;
|
|
2255
2255
|
var tmp1_version = get_versionOrDefault(GameEngineConfig_instance);
|
|
2256
2256
|
var tmp2_users = sortWithItem(updatedUsers, gameCreatorUser);
|
|
2257
|
-
var tmp3_spectators = toList(this.
|
|
2258
|
-
tmp_3(new StartGameMechanicAction(this.
|
|
2257
|
+
var tmp3_spectators = toList(this.xec_1);
|
|
2258
|
+
tmp_3(new StartGameMechanicAction(this.sec_1, this.uec_1, tmp1_version, this.wec_1, tmp2_users, VOID, tmp3_spectators));
|
|
2259
2259
|
return Unit_instance;
|
|
2260
2260
|
} else if (tmp === 1) {
|
|
2261
2261
|
throw this.o9_1;
|
|
@@ -2266,33 +2266,33 @@
|
|
|
2266
2266
|
}
|
|
2267
2267
|
while (true);
|
|
2268
2268
|
};
|
|
2269
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2270
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
2271
|
-
i.
|
|
2272
|
-
i.
|
|
2269
|
+
protoOf(GameServer$roomOnCreate$slambda).xbn = function ($this$dispatchAsync, store, completion) {
|
|
2270
|
+
var i = new GameServer$roomOnCreate$slambda(this.rec_1, this.sec_1, this.tec_1, this.uec_1, this.vec_1, this.wec_1, this.xec_1, completion);
|
|
2271
|
+
i.yec_1 = $this$dispatchAsync;
|
|
2272
|
+
i.zec_1 = store;
|
|
2273
2273
|
return i;
|
|
2274
2274
|
};
|
|
2275
2275
|
function GameServer$roomOnCreate$slambda_0($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2276
2276
|
var i = new GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation);
|
|
2277
2277
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2278
|
-
return i.
|
|
2278
|
+
return i.wbn($this$dispatchAsync, store, $completion);
|
|
2279
2279
|
};
|
|
2280
2280
|
l.$arity = 2;
|
|
2281
2281
|
return l;
|
|
2282
2282
|
}
|
|
2283
2283
|
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
2284
|
-
this.
|
|
2284
|
+
this.ied_1 = $state;
|
|
2285
2285
|
CoroutineImpl.call(this, resultContinuation);
|
|
2286
2286
|
}
|
|
2287
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2288
|
-
var tmp = this.
|
|
2287
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).wbn = function ($this$dispatchAsync, store, $completion) {
|
|
2288
|
+
var tmp = this.xbn($this$dispatchAsync, store, $completion);
|
|
2289
2289
|
tmp.n9_1 = Unit_instance;
|
|
2290
2290
|
tmp.o9_1 = null;
|
|
2291
2291
|
return tmp.t9();
|
|
2292
2292
|
};
|
|
2293
2293
|
protoOf(GameServer$roomOnContinueFromState$slambda).ea = function (p1, p2, $completion) {
|
|
2294
2294
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2295
|
-
return this.
|
|
2295
|
+
return this.wbn(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2296
2296
|
};
|
|
2297
2297
|
protoOf(GameServer$roomOnContinueFromState$slambda).t9 = function () {
|
|
2298
2298
|
var suspendResult = this.n9_1;
|
|
@@ -2301,9 +2301,9 @@
|
|
|
2301
2301
|
var tmp = this.l9_1;
|
|
2302
2302
|
if (tmp === 0) {
|
|
2303
2303
|
this.m9_1 = 1;
|
|
2304
|
-
var tmp_0 = this.
|
|
2304
|
+
var tmp_0 = this.ked_1.dispatch;
|
|
2305
2305
|
var tmp0_reason = new RestartRoundReason(null);
|
|
2306
|
-
var tmp1_table = this.
|
|
2306
|
+
var tmp1_table = this.ied_1.table;
|
|
2307
2307
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2308
2308
|
return Unit_instance;
|
|
2309
2309
|
} else if (tmp === 1) {
|
|
@@ -2315,33 +2315,33 @@
|
|
|
2315
2315
|
}
|
|
2316
2316
|
while (true);
|
|
2317
2317
|
};
|
|
2318
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2319
|
-
var i = new GameServer$roomOnContinueFromState$slambda(this.
|
|
2320
|
-
i.
|
|
2321
|
-
i.
|
|
2318
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).xbn = function ($this$dispatchAsync, store, completion) {
|
|
2319
|
+
var i = new GameServer$roomOnContinueFromState$slambda(this.ied_1, completion);
|
|
2320
|
+
i.jed_1 = $this$dispatchAsync;
|
|
2321
|
+
i.ked_1 = store;
|
|
2322
2322
|
return i;
|
|
2323
2323
|
};
|
|
2324
2324
|
function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
|
|
2325
2325
|
var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
|
|
2326
2326
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2327
|
-
return i.
|
|
2327
|
+
return i.wbn($this$dispatchAsync, store, $completion);
|
|
2328
2328
|
};
|
|
2329
2329
|
l.$arity = 2;
|
|
2330
2330
|
return l;
|
|
2331
2331
|
}
|
|
2332
2332
|
function GameServer$roomOnContinueFromState$slambda_1($state, resultContinuation) {
|
|
2333
|
-
this.
|
|
2333
|
+
this.ted_1 = $state;
|
|
2334
2334
|
CoroutineImpl.call(this, resultContinuation);
|
|
2335
2335
|
}
|
|
2336
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2337
|
-
var tmp = this.
|
|
2336
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).wbn = function ($this$dispatchAsync, store, $completion) {
|
|
2337
|
+
var tmp = this.xbn($this$dispatchAsync, store, $completion);
|
|
2338
2338
|
tmp.n9_1 = Unit_instance;
|
|
2339
2339
|
tmp.o9_1 = null;
|
|
2340
2340
|
return tmp.t9();
|
|
2341
2341
|
};
|
|
2342
2342
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).ea = function (p1, p2, $completion) {
|
|
2343
2343
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2344
|
-
return this.
|
|
2344
|
+
return this.wbn(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2345
2345
|
};
|
|
2346
2346
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).t9 = function () {
|
|
2347
2347
|
var suspendResult = this.n9_1;
|
|
@@ -2350,10 +2350,10 @@
|
|
|
2350
2350
|
var tmp = this.l9_1;
|
|
2351
2351
|
if (tmp === 0) {
|
|
2352
2352
|
this.m9_1 = 1;
|
|
2353
|
-
var _iterator__ex2g4s = this.
|
|
2353
|
+
var _iterator__ex2g4s = this.ted_1.actions.j();
|
|
2354
2354
|
while (_iterator__ex2g4s.k()) {
|
|
2355
2355
|
var element = _iterator__ex2g4s.l();
|
|
2356
|
-
this.
|
|
2356
|
+
this.ved_1.dispatch(element);
|
|
2357
2357
|
}
|
|
2358
2358
|
return Unit_instance;
|
|
2359
2359
|
} else if (tmp === 1) {
|
|
@@ -2365,35 +2365,35 @@
|
|
|
2365
2365
|
}
|
|
2366
2366
|
while (true);
|
|
2367
2367
|
};
|
|
2368
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2369
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1(this.
|
|
2370
|
-
i.
|
|
2371
|
-
i.
|
|
2368
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).xbn = function ($this$dispatchAsync, store, completion) {
|
|
2369
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1(this.ted_1, completion);
|
|
2370
|
+
i.ued_1 = $this$dispatchAsync;
|
|
2371
|
+
i.ved_1 = store;
|
|
2372
2372
|
return i;
|
|
2373
2373
|
};
|
|
2374
2374
|
function GameServer$roomOnContinueFromState$slambda_2($state, resultContinuation) {
|
|
2375
2375
|
var i = new GameServer$roomOnContinueFromState$slambda_1($state, resultContinuation);
|
|
2376
2376
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2377
|
-
return i.
|
|
2377
|
+
return i.wbn($this$dispatchAsync, store, $completion);
|
|
2378
2378
|
};
|
|
2379
2379
|
l.$arity = 2;
|
|
2380
2380
|
return l;
|
|
2381
2381
|
}
|
|
2382
2382
|
function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation) {
|
|
2383
|
-
this.
|
|
2384
|
-
this.
|
|
2385
|
-
this.
|
|
2383
|
+
this.eee_1 = $tableLite;
|
|
2384
|
+
this.fee_1 = $roomId;
|
|
2385
|
+
this.gee_1 = this$0;
|
|
2386
2386
|
CoroutineImpl.call(this, resultContinuation);
|
|
2387
2387
|
}
|
|
2388
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2389
|
-
var tmp = this.
|
|
2388
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).wbn = function ($this$dispatchAsync, store, $completion) {
|
|
2389
|
+
var tmp = this.xbn($this$dispatchAsync, store, $completion);
|
|
2390
2390
|
tmp.n9_1 = Unit_instance;
|
|
2391
2391
|
tmp.o9_1 = null;
|
|
2392
2392
|
return tmp.t9();
|
|
2393
2393
|
};
|
|
2394
2394
|
protoOf(GameServer$roomOnContinueFromRound$slambda).ea = function (p1, p2, $completion) {
|
|
2395
2395
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2396
|
-
return this.
|
|
2396
|
+
return this.wbn(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2397
2397
|
};
|
|
2398
2398
|
protoOf(GameServer$roomOnContinueFromRound$slambda).t9 = function () {
|
|
2399
2399
|
var suspendResult = this.n9_1;
|
|
@@ -2402,9 +2402,9 @@
|
|
|
2402
2402
|
var tmp = this.l9_1;
|
|
2403
2403
|
if (tmp === 0) {
|
|
2404
2404
|
this.m9_1 = 1;
|
|
2405
|
-
var tmp_0 = this.
|
|
2406
|
-
var tmp0_reason = new RestartRoundReason(this.
|
|
2407
|
-
var tmp1_table = Companion_instance_0.restartRound(this.
|
|
2405
|
+
var tmp_0 = this.iee_1.dispatch;
|
|
2406
|
+
var tmp0_reason = new RestartRoundReason(this.eee_1.gameInfo.round.roundNumber);
|
|
2407
|
+
var tmp1_table = Companion_instance_0.restartRound(this.fee_1, _get_idsProvider__fnfajc(this.gee_1).e6s(), get_versionOrDefault(GameEngineConfig_instance), this.eee_1);
|
|
2408
2408
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2409
2409
|
return Unit_instance;
|
|
2410
2410
|
} else if (tmp === 1) {
|
|
@@ -2416,16 +2416,16 @@
|
|
|
2416
2416
|
}
|
|
2417
2417
|
while (true);
|
|
2418
2418
|
};
|
|
2419
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2420
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
2421
|
-
i.
|
|
2422
|
-
i.
|
|
2419
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).xbn = function ($this$dispatchAsync, store, completion) {
|
|
2420
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.eee_1, this.fee_1, this.gee_1, completion);
|
|
2421
|
+
i.hee_1 = $this$dispatchAsync;
|
|
2422
|
+
i.iee_1 = store;
|
|
2423
2423
|
return i;
|
|
2424
2424
|
};
|
|
2425
2425
|
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, resultContinuation) {
|
|
2426
2426
|
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation);
|
|
2427
2427
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2428
|
-
return i.
|
|
2428
|
+
return i.wbn($this$dispatchAsync, store, $completion);
|
|
2429
2429
|
};
|
|
2430
2430
|
l.$arity = 2;
|
|
2431
2431
|
return l;
|
|
@@ -2433,15 +2433,15 @@
|
|
|
2433
2433
|
function GameServer$roomOnContinueFromRound$slambda_1(resultContinuation) {
|
|
2434
2434
|
CoroutineImpl.call(this, resultContinuation);
|
|
2435
2435
|
}
|
|
2436
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2437
|
-
var tmp = this.
|
|
2436
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).wbn = function ($this$dispatchAsync, store, $completion) {
|
|
2437
|
+
var tmp = this.xbn($this$dispatchAsync, store, $completion);
|
|
2438
2438
|
tmp.n9_1 = Unit_instance;
|
|
2439
2439
|
tmp.o9_1 = null;
|
|
2440
2440
|
return tmp.t9();
|
|
2441
2441
|
};
|
|
2442
2442
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).ea = function (p1, p2, $completion) {
|
|
2443
2443
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2444
|
-
return this.
|
|
2444
|
+
return this.wbn(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2445
2445
|
};
|
|
2446
2446
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).t9 = function () {
|
|
2447
2447
|
var suspendResult = this.n9_1;
|
|
@@ -2450,7 +2450,7 @@
|
|
|
2450
2450
|
var tmp = this.l9_1;
|
|
2451
2451
|
if (tmp === 0) {
|
|
2452
2452
|
this.m9_1 = 1;
|
|
2453
|
-
this.
|
|
2453
|
+
this.see_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
2454
2454
|
return Unit_instance;
|
|
2455
2455
|
} else if (tmp === 1) {
|
|
2456
2456
|
throw this.o9_1;
|
|
@@ -2461,33 +2461,33 @@
|
|
|
2461
2461
|
}
|
|
2462
2462
|
while (true);
|
|
2463
2463
|
};
|
|
2464
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2464
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).xbn = function ($this$dispatchAsync, store, completion) {
|
|
2465
2465
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
2466
|
-
i.
|
|
2467
|
-
i.
|
|
2466
|
+
i.ree_1 = $this$dispatchAsync;
|
|
2467
|
+
i.see_1 = store;
|
|
2468
2468
|
return i;
|
|
2469
2469
|
};
|
|
2470
2470
|
function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
|
|
2471
2471
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(resultContinuation);
|
|
2472
2472
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2473
|
-
return i.
|
|
2473
|
+
return i.wbn($this$dispatchAsync, store, $completion);
|
|
2474
2474
|
};
|
|
2475
2475
|
l.$arity = 2;
|
|
2476
2476
|
return l;
|
|
2477
2477
|
}
|
|
2478
2478
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
2479
|
-
this.
|
|
2479
|
+
this.bef_1 = $spectators;
|
|
2480
2480
|
CoroutineImpl.call(this, resultContinuation);
|
|
2481
2481
|
}
|
|
2482
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2483
|
-
var tmp = this.
|
|
2482
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).wbn = function ($this$dispatchAsync, store, $completion) {
|
|
2483
|
+
var tmp = this.xbn($this$dispatchAsync, store, $completion);
|
|
2484
2484
|
tmp.n9_1 = Unit_instance;
|
|
2485
2485
|
tmp.o9_1 = null;
|
|
2486
2486
|
return tmp.t9();
|
|
2487
2487
|
};
|
|
2488
2488
|
protoOf(GameServer$addSpectatorsToRoom$slambda).ea = function (p1, p2, $completion) {
|
|
2489
2489
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2490
|
-
return this.
|
|
2490
|
+
return this.wbn(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2491
2491
|
};
|
|
2492
2492
|
protoOf(GameServer$addSpectatorsToRoom$slambda).t9 = function () {
|
|
2493
2493
|
var suspendResult = this.n9_1;
|
|
@@ -2496,7 +2496,7 @@
|
|
|
2496
2496
|
var tmp = this.l9_1;
|
|
2497
2497
|
if (tmp === 0) {
|
|
2498
2498
|
this.m9_1 = 1;
|
|
2499
|
-
this.
|
|
2499
|
+
this.def_1.dispatch(new AddSpectatorsAction(toList(this.bef_1)));
|
|
2500
2500
|
return Unit_instance;
|
|
2501
2501
|
} else if (tmp === 1) {
|
|
2502
2502
|
throw this.o9_1;
|
|
@@ -2507,33 +2507,33 @@
|
|
|
2507
2507
|
}
|
|
2508
2508
|
while (true);
|
|
2509
2509
|
};
|
|
2510
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2511
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
2512
|
-
i.
|
|
2513
|
-
i.
|
|
2510
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).xbn = function ($this$dispatchAsync, store, completion) {
|
|
2511
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.bef_1, completion);
|
|
2512
|
+
i.cef_1 = $this$dispatchAsync;
|
|
2513
|
+
i.def_1 = store;
|
|
2514
2514
|
return i;
|
|
2515
2515
|
};
|
|
2516
2516
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
2517
2517
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
2518
2518
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2519
|
-
return i.
|
|
2519
|
+
return i.wbn($this$dispatchAsync, store, $completion);
|
|
2520
2520
|
};
|
|
2521
2521
|
l.$arity = 2;
|
|
2522
2522
|
return l;
|
|
2523
2523
|
}
|
|
2524
2524
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
2525
|
-
this.
|
|
2525
|
+
this.mef_1 = $spectators;
|
|
2526
2526
|
CoroutineImpl.call(this, resultContinuation);
|
|
2527
2527
|
}
|
|
2528
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2529
|
-
var tmp = this.
|
|
2528
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).wbn = function ($this$dispatchAsync, store, $completion) {
|
|
2529
|
+
var tmp = this.xbn($this$dispatchAsync, store, $completion);
|
|
2530
2530
|
tmp.n9_1 = Unit_instance;
|
|
2531
2531
|
tmp.o9_1 = null;
|
|
2532
2532
|
return tmp.t9();
|
|
2533
2533
|
};
|
|
2534
2534
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).ea = function (p1, p2, $completion) {
|
|
2535
2535
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2536
|
-
return this.
|
|
2536
|
+
return this.wbn(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2537
2537
|
};
|
|
2538
2538
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).t9 = function () {
|
|
2539
2539
|
var suspendResult = this.n9_1;
|
|
@@ -2542,7 +2542,7 @@
|
|
|
2542
2542
|
var tmp = this.l9_1;
|
|
2543
2543
|
if (tmp === 0) {
|
|
2544
2544
|
this.m9_1 = 1;
|
|
2545
|
-
this.
|
|
2545
|
+
this.oef_1.dispatch(new RemoveSpectatorsAction(toList(this.mef_1)));
|
|
2546
2546
|
return Unit_instance;
|
|
2547
2547
|
} else if (tmp === 1) {
|
|
2548
2548
|
throw this.o9_1;
|
|
@@ -2553,34 +2553,34 @@
|
|
|
2553
2553
|
}
|
|
2554
2554
|
while (true);
|
|
2555
2555
|
};
|
|
2556
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2557
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
2558
|
-
i.
|
|
2559
|
-
i.
|
|
2556
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).xbn = function ($this$dispatchAsync, store, completion) {
|
|
2557
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.mef_1, completion);
|
|
2558
|
+
i.nef_1 = $this$dispatchAsync;
|
|
2559
|
+
i.oef_1 = store;
|
|
2560
2560
|
return i;
|
|
2561
2561
|
};
|
|
2562
2562
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
2563
2563
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
2564
2564
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2565
|
-
return i.
|
|
2565
|
+
return i.wbn($this$dispatchAsync, store, $completion);
|
|
2566
2566
|
};
|
|
2567
2567
|
l.$arity = 2;
|
|
2568
2568
|
return l;
|
|
2569
2569
|
}
|
|
2570
2570
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
2571
|
-
this.
|
|
2572
|
-
this.
|
|
2571
|
+
this.xef_1 = $playerId;
|
|
2572
|
+
this.yef_1 = this$0;
|
|
2573
2573
|
CoroutineImpl.call(this, resultContinuation);
|
|
2574
2574
|
}
|
|
2575
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2576
|
-
var tmp = this.
|
|
2575
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).wbn = function ($this$dispatchAsync, store, $completion) {
|
|
2576
|
+
var tmp = this.xbn($this$dispatchAsync, store, $completion);
|
|
2577
2577
|
tmp.n9_1 = Unit_instance;
|
|
2578
2578
|
tmp.o9_1 = null;
|
|
2579
2579
|
return tmp.t9();
|
|
2580
2580
|
};
|
|
2581
2581
|
protoOf(GameServer$roomRefreshPlayerState$slambda).ea = function (p1, p2, $completion) {
|
|
2582
2582
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2583
|
-
return this.
|
|
2583
|
+
return this.wbn(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2584
2584
|
};
|
|
2585
2585
|
protoOf(GameServer$roomRefreshPlayerState$slambda).t9 = function () {
|
|
2586
2586
|
var suspendResult = this.n9_1;
|
|
@@ -2589,14 +2589,14 @@
|
|
|
2589
2589
|
var tmp = this.l9_1;
|
|
2590
2590
|
if (tmp === 0) {
|
|
2591
2591
|
this.m9_1 = 1;
|
|
2592
|
-
var table = this.
|
|
2593
|
-
var player = getPlayer(table.players, this.
|
|
2592
|
+
var table = this.aeg_1.state.f73();
|
|
2593
|
+
var player = getPlayer(table.players, this.xef_1);
|
|
2594
2594
|
if (player.g7a_1.h6n().y6l_1.isLive) {
|
|
2595
|
-
this.
|
|
2595
|
+
this.aeg_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.yef_1).v9f(player, table));
|
|
2596
2596
|
} else {
|
|
2597
|
-
var tmp_0 = this.
|
|
2597
|
+
var tmp_0 = this.aeg_1.dispatch;
|
|
2598
2598
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2599
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2599
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.xef_1));
|
|
2600
2600
|
}
|
|
2601
2601
|
return Unit_instance;
|
|
2602
2602
|
} else if (tmp === 1) {
|
|
@@ -2608,34 +2608,34 @@
|
|
|
2608
2608
|
}
|
|
2609
2609
|
while (true);
|
|
2610
2610
|
};
|
|
2611
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2612
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
2613
|
-
i.
|
|
2614
|
-
i.
|
|
2611
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).xbn = function ($this$dispatchAsync, store, completion) {
|
|
2612
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.xef_1, this.yef_1, completion);
|
|
2613
|
+
i.zef_1 = $this$dispatchAsync;
|
|
2614
|
+
i.aeg_1 = store;
|
|
2615
2615
|
return i;
|
|
2616
2616
|
};
|
|
2617
2617
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
2618
2618
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
2619
2619
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2620
|
-
return i.
|
|
2620
|
+
return i.wbn($this$dispatchAsync, store, $completion);
|
|
2621
2621
|
};
|
|
2622
2622
|
l.$arity = 2;
|
|
2623
2623
|
return l;
|
|
2624
2624
|
}
|
|
2625
2625
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
2626
|
-
this.
|
|
2627
|
-
this.
|
|
2626
|
+
this.jeg_1 = this$0;
|
|
2627
|
+
this.keg_1 = $newRid;
|
|
2628
2628
|
CoroutineImpl.call(this, resultContinuation);
|
|
2629
2629
|
}
|
|
2630
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2631
|
-
var tmp = this.
|
|
2630
|
+
protoOf(GameServer$roomOnDelete$slambda).wbn = function ($this$dispatchAsync, store, $completion) {
|
|
2631
|
+
var tmp = this.xbn($this$dispatchAsync, store, $completion);
|
|
2632
2632
|
tmp.n9_1 = Unit_instance;
|
|
2633
2633
|
tmp.o9_1 = null;
|
|
2634
2634
|
return tmp.t9();
|
|
2635
2635
|
};
|
|
2636
2636
|
protoOf(GameServer$roomOnDelete$slambda).ea = function (p1, p2, $completion) {
|
|
2637
2637
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2638
|
-
return this.
|
|
2638
|
+
return this.wbn(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2639
2639
|
};
|
|
2640
2640
|
protoOf(GameServer$roomOnDelete$slambda).t9 = function () {
|
|
2641
2641
|
var suspendResult = this.n9_1;
|
|
@@ -2644,10 +2644,10 @@
|
|
|
2644
2644
|
var tmp = this.l9_1;
|
|
2645
2645
|
if (tmp === 0) {
|
|
2646
2646
|
this.m9_1 = 1;
|
|
2647
|
-
var it = this.
|
|
2647
|
+
var it = this.jeg_1.e6l().r72_1;
|
|
2648
2648
|
var tmp_0;
|
|
2649
2649
|
if (it == null) {
|
|
2650
|
-
_get_logger__rkp4sl(this.
|
|
2650
|
+
_get_logger__rkp4sl(this.jeg_1).w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
2651
2651
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
2652
2652
|
} else {
|
|
2653
2653
|
tmp_0 = it;
|
|
@@ -2656,15 +2656,15 @@
|
|
|
2656
2656
|
var gameTransition = terminationState.l8k_1;
|
|
2657
2657
|
var tmp_1;
|
|
2658
2658
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
2659
|
-
var tmp0_elvis_lhs = this.
|
|
2659
|
+
var tmp0_elvis_lhs = this.keg_1;
|
|
2660
2660
|
tmp_1 = gameTransition.copy(tmp0_elvis_lhs == null ? gameTransition.roomId : tmp0_elvis_lhs);
|
|
2661
2661
|
} else {
|
|
2662
2662
|
tmp_1 = gameTransition;
|
|
2663
2663
|
}
|
|
2664
2664
|
var transition = tmp_1;
|
|
2665
|
-
var tmp_2 = this.
|
|
2665
|
+
var tmp_2 = this.meg_1.dispatch;
|
|
2666
2666
|
var tmp0_reason = terminationState.k8k_1;
|
|
2667
|
-
var tmp1_isGameFinished = this.
|
|
2667
|
+
var tmp1_isGameFinished = this.jeg_1.e6l().f73().isGameFinished;
|
|
2668
2668
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
2669
2669
|
return Unit_instance;
|
|
2670
2670
|
} else if (tmp === 1) {
|
|
@@ -2676,33 +2676,33 @@
|
|
|
2676
2676
|
}
|
|
2677
2677
|
while (true);
|
|
2678
2678
|
};
|
|
2679
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2680
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
2681
|
-
i.
|
|
2682
|
-
i.
|
|
2679
|
+
protoOf(GameServer$roomOnDelete$slambda).xbn = function ($this$dispatchAsync, store, completion) {
|
|
2680
|
+
var i = new GameServer$roomOnDelete$slambda(this.jeg_1, this.keg_1, completion);
|
|
2681
|
+
i.leg_1 = $this$dispatchAsync;
|
|
2682
|
+
i.meg_1 = store;
|
|
2683
2683
|
return i;
|
|
2684
2684
|
};
|
|
2685
2685
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
2686
2686
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
2687
2687
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2688
|
-
return i.
|
|
2688
|
+
return i.wbn($this$dispatchAsync, store, $completion);
|
|
2689
2689
|
};
|
|
2690
2690
|
l.$arity = 2;
|
|
2691
2691
|
return l;
|
|
2692
2692
|
}
|
|
2693
2693
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
2694
|
-
this.
|
|
2694
|
+
this.veg_1 = $enabled;
|
|
2695
2695
|
CoroutineImpl.call(this, resultContinuation);
|
|
2696
2696
|
}
|
|
2697
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2698
|
-
var tmp = this.
|
|
2697
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).wbn = function ($this$dispatchAsync, store, $completion) {
|
|
2698
|
+
var tmp = this.xbn($this$dispatchAsync, store, $completion);
|
|
2699
2699
|
tmp.n9_1 = Unit_instance;
|
|
2700
2700
|
tmp.o9_1 = null;
|
|
2701
2701
|
return tmp.t9();
|
|
2702
2702
|
};
|
|
2703
2703
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).ea = function (p1, p2, $completion) {
|
|
2704
2704
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2705
|
-
return this.
|
|
2705
|
+
return this.wbn(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2706
2706
|
};
|
|
2707
2707
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).t9 = function () {
|
|
2708
2708
|
var suspendResult = this.n9_1;
|
|
@@ -2711,7 +2711,7 @@
|
|
|
2711
2711
|
var tmp = this.l9_1;
|
|
2712
2712
|
if (tmp === 0) {
|
|
2713
2713
|
this.m9_1 = 1;
|
|
2714
|
-
this.
|
|
2714
|
+
this.xeg_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload(this.xeg_1.state).config.copy(VOID, this.veg_1)));
|
|
2715
2715
|
return Unit_instance;
|
|
2716
2716
|
} else if (tmp === 1) {
|
|
2717
2717
|
throw this.o9_1;
|
|
@@ -2722,35 +2722,35 @@
|
|
|
2722
2722
|
}
|
|
2723
2723
|
while (true);
|
|
2724
2724
|
};
|
|
2725
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2726
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
2727
|
-
i.
|
|
2728
|
-
i.
|
|
2725
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).xbn = function ($this$dispatchAsync, store, completion) {
|
|
2726
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.veg_1, completion);
|
|
2727
|
+
i.weg_1 = $this$dispatchAsync;
|
|
2728
|
+
i.xeg_1 = store;
|
|
2729
2729
|
return i;
|
|
2730
2730
|
};
|
|
2731
2731
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
2732
2732
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
2733
2733
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2734
|
-
return i.
|
|
2734
|
+
return i.wbn($this$dispatchAsync, store, $completion);
|
|
2735
2735
|
};
|
|
2736
2736
|
l.$arity = 2;
|
|
2737
2737
|
return l;
|
|
2738
2738
|
}
|
|
2739
2739
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
2740
|
-
this.
|
|
2741
|
-
this.
|
|
2742
|
-
this.
|
|
2740
|
+
this.geh_1 = $reason;
|
|
2741
|
+
this.heh_1 = this$0;
|
|
2742
|
+
this.ieh_1 = $roomId;
|
|
2743
2743
|
CoroutineImpl.call(this, resultContinuation);
|
|
2744
2744
|
}
|
|
2745
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2746
|
-
var tmp = this.
|
|
2745
|
+
protoOf(GameServer$shutdown$slambda).wbn = function ($this$dispatchAsync, store, $completion) {
|
|
2746
|
+
var tmp = this.xbn($this$dispatchAsync, store, $completion);
|
|
2747
2747
|
tmp.n9_1 = Unit_instance;
|
|
2748
2748
|
tmp.o9_1 = null;
|
|
2749
2749
|
return tmp.t9();
|
|
2750
2750
|
};
|
|
2751
2751
|
protoOf(GameServer$shutdown$slambda).ea = function (p1, p2, $completion) {
|
|
2752
2752
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2753
|
-
return this.
|
|
2753
|
+
return this.wbn(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2754
2754
|
};
|
|
2755
2755
|
protoOf(GameServer$shutdown$slambda).t9 = function () {
|
|
2756
2756
|
var suspendResult = this.n9_1;
|
|
@@ -2759,11 +2759,11 @@
|
|
|
2759
2759
|
var tmp = this.l9_1;
|
|
2760
2760
|
if (tmp === 0) {
|
|
2761
2761
|
this.m9_1 = 1;
|
|
2762
|
-
var state = this.
|
|
2762
|
+
var state = this.keh_1.store.state;
|
|
2763
2763
|
if (state.g73()) {
|
|
2764
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
2764
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.geh_1, get_serverShutdownReasonMapping());
|
|
2765
2765
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
2766
|
-
var tmp_0 = this.
|
|
2766
|
+
var tmp_0 = this.keh_1.dispatch;
|
|
2767
2767
|
var tmp_1 = Companion_instance;
|
|
2768
2768
|
var tmp_2;
|
|
2769
2769
|
switch (shutdownReason.r2_1) {
|
|
@@ -2777,10 +2777,10 @@
|
|
|
2777
2777
|
noWhenBranchMatchedException();
|
|
2778
2778
|
break;
|
|
2779
2779
|
}
|
|
2780
|
-
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.
|
|
2780
|
+
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.heh_1.table.isGameFinished, this.heh_1.table));
|
|
2781
2781
|
} else {
|
|
2782
|
-
_get_logger__rkp4sl(this.
|
|
2783
|
-
var tmp_3 = this.
|
|
2782
|
+
_get_logger__rkp4sl(this.heh_1).w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.ieh_1);
|
|
2783
|
+
var tmp_3 = this.keh_1.dispatch;
|
|
2784
2784
|
var tmp2_safe_receiver = state.r72_1;
|
|
2785
2785
|
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.l8k_1));
|
|
2786
2786
|
}
|
|
@@ -2794,16 +2794,16 @@
|
|
|
2794
2794
|
}
|
|
2795
2795
|
while (true);
|
|
2796
2796
|
};
|
|
2797
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2798
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
2799
|
-
i.
|
|
2800
|
-
i.
|
|
2797
|
+
protoOf(GameServer$shutdown$slambda).xbn = function ($this$dispatchAsync, store, completion) {
|
|
2798
|
+
var i = new GameServer$shutdown$slambda(this.geh_1, this.heh_1, this.ieh_1, completion);
|
|
2799
|
+
i.jeh_1 = $this$dispatchAsync;
|
|
2800
|
+
i.keh_1 = store;
|
|
2801
2801
|
return i;
|
|
2802
2802
|
};
|
|
2803
2803
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
2804
2804
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
2805
2805
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2806
|
-
return i.
|
|
2806
|
+
return i.wbn($this$dispatchAsync, store, $completion);
|
|
2807
2807
|
};
|
|
2808
2808
|
l.$arity = 2;
|
|
2809
2809
|
return l;
|
|
@@ -2834,7 +2834,7 @@
|
|
|
2834
2834
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
2835
2835
|
var tmp_3 = Instance(di, tmp$ret$2, null);
|
|
2836
2836
|
var tmp_4 = KProperty1;
|
|
2837
|
-
tmp_1.
|
|
2837
|
+
tmp_1.ve7_1 = tmp_3.k6d(this, getPropertyCallableRef('logger', 1, tmp_4, GameServer$_get_logger_$ref_fogce1(), null));
|
|
2838
2838
|
var tmp_5 = this;
|
|
2839
2839
|
// Inline function 'org.kodein.di.instance' call
|
|
2840
2840
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2842,7 +2842,7 @@
|
|
|
2842
2842
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
2843
2843
|
var tmp_7 = Instance(di, tmp$ret$4, null);
|
|
2844
2844
|
var tmp_8 = KProperty1;
|
|
2845
|
-
tmp_5.
|
|
2845
|
+
tmp_5.we7_1 = tmp_7.k6d(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_8, GameServer$_get_toClientEventsObserver_$ref_utir8s(), null));
|
|
2846
2846
|
var tmp_9 = this;
|
|
2847
2847
|
// Inline function 'org.kodein.di.instance' call
|
|
2848
2848
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2850,7 +2850,7 @@
|
|
|
2850
2850
|
var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
2851
2851
|
var tmp_11 = Instance(di, tmp$ret$6, null);
|
|
2852
2852
|
var tmp_12 = KProperty1;
|
|
2853
|
-
tmp_9.
|
|
2853
|
+
tmp_9.xe7_1 = tmp_11.k6d(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_12, GameServer$_get_fromClientEventsObserver_$ref_nf1g79(), null));
|
|
2854
2854
|
var tmp_13 = this;
|
|
2855
2855
|
// Inline function 'org.kodein.di.instance' call
|
|
2856
2856
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2858,7 +2858,7 @@
|
|
|
2858
2858
|
var tmp$ret$8 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
2859
2859
|
var tmp_15 = Instance(di, tmp$ret$8, null);
|
|
2860
2860
|
var tmp_16 = KProperty1;
|
|
2861
|
-
tmp_13.
|
|
2861
|
+
tmp_13.ye7_1 = tmp_15.k6d(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_16, GameServer$_get_playerConnectionInteractor_$ref_of8tan(), null));
|
|
2862
2862
|
var tmp_17 = this;
|
|
2863
2863
|
// Inline function 'org.kodein.di.instance' call
|
|
2864
2864
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2866,9 +2866,9 @@
|
|
|
2866
2866
|
var tmp$ret$10 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
2867
2867
|
var tmp_19 = Instance(di, tmp$ret$10, null);
|
|
2868
2868
|
var tmp_20 = KProperty1;
|
|
2869
|
-
tmp_17.
|
|
2869
|
+
tmp_17.ze7_1 = tmp_19.k6d(this, getPropertyCallableRef('teamsLogicProvider', 1, tmp_20, GameServer$_get_teamsLogicProvider_$ref_b7y54g(), null));
|
|
2870
2870
|
var tmp_21 = this;
|
|
2871
|
-
tmp_21.
|
|
2871
|
+
tmp_21.ae8_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
2872
2872
|
var tmp_22 = this;
|
|
2873
2873
|
// Inline function 'org.kodein.di.instance' call
|
|
2874
2874
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2876,7 +2876,7 @@
|
|
|
2876
2876
|
var tmp$ret$12 = isInterface(tmp_23, TypeToken) ? tmp_23 : THROW_CCE();
|
|
2877
2877
|
var tmp_24 = Instance(di, tmp$ret$12, null);
|
|
2878
2878
|
var tmp_25 = KProperty1;
|
|
2879
|
-
tmp_22.
|
|
2879
|
+
tmp_22.be8_1 = tmp_24.k6d(this, getPropertyCallableRef('idsProvider', 1, tmp_25, GameServer$_get_idsProvider_$ref_89s908(), null));
|
|
2880
2880
|
var tmp_26 = this;
|
|
2881
2881
|
// Inline function 'org.kodein.di.instance' call
|
|
2882
2882
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2884,7 +2884,7 @@
|
|
|
2884
2884
|
var tmp$ret$14 = isInterface(tmp_27, TypeToken) ? tmp_27 : THROW_CCE();
|
|
2885
2885
|
var tmp_28 = Instance(di, tmp$ret$14, null);
|
|
2886
2886
|
var tmp_29 = KProperty1;
|
|
2887
|
-
tmp_26.
|
|
2887
|
+
tmp_26.ce8_1 = tmp_28.k6d(this, getPropertyCallableRef('serverReduxConfig', 1, tmp_29, GameServer$_get_serverReduxConfig_$ref_7h6jq6(), null));
|
|
2888
2888
|
var tmp_30 = this;
|
|
2889
2889
|
// Inline function 'org.kodein.di.instance' call
|
|
2890
2890
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2892,14 +2892,14 @@
|
|
|
2892
2892
|
var tmp$ret$16 = isInterface(tmp_31, TypeToken) ? tmp_31 : THROW_CCE();
|
|
2893
2893
|
var tmp_32 = Instance(di, tmp$ret$16, null);
|
|
2894
2894
|
var tmp_33 = KProperty1;
|
|
2895
|
-
tmp_30.
|
|
2895
|
+
tmp_30.de8_1 = tmp_32.k6d(this, getPropertyCallableRef('encoderDecoderProvider', 1, tmp_33, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8(), null));
|
|
2896
2896
|
var tmp_34 = this;
|
|
2897
2897
|
var tmp0_externalMiddlewares = plus(storeContract.c9m(), externalMiddlewares);
|
|
2898
2898
|
var tmp1_externalReducers = plus(storeContract.b9m(), externalReducers);
|
|
2899
|
-
tmp_34.
|
|
2899
|
+
tmp_34.ee8_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
2900
2900
|
}
|
|
2901
2901
|
protoOf(GameServer).e72 = function () {
|
|
2902
|
-
return this.
|
|
2902
|
+
return this.ee8_1;
|
|
2903
2903
|
};
|
|
2904
2904
|
protoOf(GameServer).k5t = function () {
|
|
2905
2905
|
return this.e6l().f73().id;
|
|
@@ -2931,55 +2931,55 @@
|
|
|
2931
2931
|
};
|
|
2932
2932
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
2933
2933
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
2934
|
-
this.
|
|
2934
|
+
this.ee8_1.e73(GameServer$fromClientEvent$slambda_0(action, null));
|
|
2935
2935
|
};
|
|
2936
2936
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
2937
2937
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
2938
|
-
this.
|
|
2938
|
+
this.ee8_1.e73(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
2939
2939
|
};
|
|
2940
2940
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
2941
2941
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLive: ' + playerId);
|
|
2942
|
-
this.
|
|
2942
|
+
this.ee8_1.e73(GameServer$playerLive$slambda_0(this, playerId, null));
|
|
2943
2943
|
};
|
|
2944
2944
|
protoOf(GameServer).playerLeft = function (playerId) {
|
|
2945
2945
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
2946
|
-
this.
|
|
2946
|
+
this.ee8_1.e73(GameServer$playerLeft$slambda_0(this, playerId, null));
|
|
2947
2947
|
};
|
|
2948
|
-
protoOf(GameServer).
|
|
2948
|
+
protoOf(GameServer).leh = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
2949
2949
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
2950
|
-
this.
|
|
2950
|
+
this.ee8_1.e73(GameServer$roomOnCreate$slambda_0(usersArray, config, this, roomId, transition, gameCreatorId, spectators, null));
|
|
2951
2951
|
};
|
|
2952
2952
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
2953
2953
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
2954
|
-
this.
|
|
2955
|
-
this.
|
|
2954
|
+
this.ee8_1.e73(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
2955
|
+
this.ee8_1.e73(GameServer$roomOnContinueFromState$slambda_2(state, null));
|
|
2956
2956
|
};
|
|
2957
2957
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
2958
2958
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
2959
|
-
this.
|
|
2960
|
-
this.
|
|
2959
|
+
this.ee8_1.e73(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
2960
|
+
this.ee8_1.e73(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
2961
2961
|
};
|
|
2962
2962
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
2963
|
-
this.
|
|
2963
|
+
this.ee8_1.e73(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
2964
2964
|
};
|
|
2965
2965
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
2966
|
-
this.
|
|
2966
|
+
this.ee8_1.e73(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
2967
2967
|
};
|
|
2968
2968
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
2969
2969
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
2970
|
-
this.
|
|
2970
|
+
this.ee8_1.e73(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
2971
2971
|
};
|
|
2972
|
-
protoOf(GameServer).
|
|
2972
|
+
protoOf(GameServer).meh = function (newRid) {
|
|
2973
2973
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnDelete: ' + newRid);
|
|
2974
|
-
this.
|
|
2974
|
+
this.ee8_1.e73(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
2975
2975
|
};
|
|
2976
2976
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
2977
2977
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
2978
|
-
this.
|
|
2978
|
+
this.ee8_1.e73(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
2979
2979
|
};
|
|
2980
|
-
protoOf(GameServer).
|
|
2980
|
+
protoOf(GameServer).neh = function (reason, roomId) {
|
|
2981
2981
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
2982
|
-
this.
|
|
2982
|
+
this.ee8_1.e73(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
2983
2983
|
};
|
|
2984
2984
|
protoOf(GameServer).clear = function () {
|
|
2985
2985
|
return this.d2();
|
|
@@ -3030,10 +3030,10 @@
|
|
|
3030
3030
|
this.fromRound = fromRound;
|
|
3031
3031
|
this.canStartNewGame = canStartNewGame;
|
|
3032
3032
|
}
|
|
3033
|
-
protoOf(ServerConfig).
|
|
3033
|
+
protoOf(ServerConfig).oeh = function () {
|
|
3034
3034
|
return this.fromRound;
|
|
3035
3035
|
};
|
|
3036
|
-
protoOf(ServerConfig).
|
|
3036
|
+
protoOf(ServerConfig).peh = function () {
|
|
3037
3037
|
return this.canStartNewGame;
|
|
3038
3038
|
};
|
|
3039
3039
|
protoOf(ServerConfig).kf = function () {
|
|
@@ -3042,13 +3042,13 @@
|
|
|
3042
3042
|
protoOf(ServerConfig).lf = function () {
|
|
3043
3043
|
return this.canStartNewGame;
|
|
3044
3044
|
};
|
|
3045
|
-
protoOf(ServerConfig).
|
|
3045
|
+
protoOf(ServerConfig).qeh = function (fromRound, canStartNewGame) {
|
|
3046
3046
|
return new ServerConfig(fromRound, canStartNewGame);
|
|
3047
3047
|
};
|
|
3048
3048
|
protoOf(ServerConfig).copy = function (fromRound, canStartNewGame, $super) {
|
|
3049
3049
|
fromRound = fromRound === VOID ? this.fromRound : fromRound;
|
|
3050
3050
|
canStartNewGame = canStartNewGame === VOID ? this.canStartNewGame : canStartNewGame;
|
|
3051
|
-
return $super === VOID ? this.
|
|
3051
|
+
return $super === VOID ? this.qeh(fromRound, canStartNewGame) : $super.qeh.call(this, fromRound, canStartNewGame);
|
|
3052
3052
|
};
|
|
3053
3053
|
protoOf(ServerConfig).toString = function () {
|
|
3054
3054
|
return 'ServerConfig(fromRound=' + this.fromRound + ', canStartNewGame=' + this.canStartNewGame + ')';
|
|
@@ -3110,19 +3110,19 @@
|
|
|
3110
3110
|
$serializer_instance = this;
|
|
3111
3111
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.TableStateUpdateDto', this, 1);
|
|
3112
3112
|
tmp0_serialDesc.v4n('table', false);
|
|
3113
|
-
this.
|
|
3113
|
+
this.reh_1 = tmp0_serialDesc;
|
|
3114
3114
|
}
|
|
3115
|
-
protoOf($serializer).
|
|
3116
|
-
var tmp0_desc = this.
|
|
3115
|
+
protoOf($serializer).seh = function (encoder, value) {
|
|
3116
|
+
var tmp0_desc = this.reh_1;
|
|
3117
3117
|
var tmp1_output = encoder.e4g(tmp0_desc);
|
|
3118
3118
|
tmp1_output.t4h(tmp0_desc, 0, value.table);
|
|
3119
3119
|
tmp1_output.f4g(tmp0_desc);
|
|
3120
3120
|
};
|
|
3121
3121
|
protoOf($serializer).s4c = function (encoder, value) {
|
|
3122
|
-
return this.
|
|
3122
|
+
return this.seh(encoder, value instanceof TableStateUpdateDto ? value : THROW_CCE());
|
|
3123
3123
|
};
|
|
3124
3124
|
protoOf($serializer).t4c = function (decoder) {
|
|
3125
|
-
var tmp0_desc = this.
|
|
3125
|
+
var tmp0_desc = this.reh_1;
|
|
3126
3126
|
var tmp1_flag = true;
|
|
3127
3127
|
var tmp2_index = 0;
|
|
3128
3128
|
var tmp3_bitMask0 = 0;
|
|
@@ -3150,7 +3150,7 @@
|
|
|
3150
3150
|
return TableStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
3151
3151
|
};
|
|
3152
3152
|
protoOf($serializer).r4c = function () {
|
|
3153
|
-
return this.
|
|
3153
|
+
return this.reh_1;
|
|
3154
3154
|
};
|
|
3155
3155
|
protoOf($serializer).k4o = function () {
|
|
3156
3156
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3166,7 +3166,7 @@
|
|
|
3166
3166
|
}
|
|
3167
3167
|
function TableStateUpdateDto_init_$Init$(seen0, table, serializationConstructorMarker, $this) {
|
|
3168
3168
|
if (!(1 === (1 & seen0))) {
|
|
3169
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance().
|
|
3169
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance().reh_1);
|
|
3170
3170
|
}
|
|
3171
3171
|
$this.table = table;
|
|
3172
3172
|
return $this;
|
|
@@ -3219,19 +3219,19 @@
|
|
|
3219
3219
|
$serializer_instance_0 = this;
|
|
3220
3220
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.ActionsStateUpdateDto', this, 1);
|
|
3221
3221
|
tmp0_serialDesc.v4n('actions', false);
|
|
3222
|
-
this.
|
|
3222
|
+
this.teh_1 = tmp0_serialDesc;
|
|
3223
3223
|
}
|
|
3224
|
-
protoOf($serializer_0).
|
|
3225
|
-
var tmp0_desc = this.
|
|
3224
|
+
protoOf($serializer_0).ueh = function (encoder, value) {
|
|
3225
|
+
var tmp0_desc = this.teh_1;
|
|
3226
3226
|
var tmp1_output = encoder.e4g(tmp0_desc);
|
|
3227
3227
|
tmp1_output.t4h(tmp0_desc, 0, value.actions);
|
|
3228
3228
|
tmp1_output.f4g(tmp0_desc);
|
|
3229
3229
|
};
|
|
3230
3230
|
protoOf($serializer_0).s4c = function (encoder, value) {
|
|
3231
|
-
return this.
|
|
3231
|
+
return this.ueh(encoder, value instanceof ActionsStateUpdateDto ? value : THROW_CCE());
|
|
3232
3232
|
};
|
|
3233
3233
|
protoOf($serializer_0).t4c = function (decoder) {
|
|
3234
|
-
var tmp0_desc = this.
|
|
3234
|
+
var tmp0_desc = this.teh_1;
|
|
3235
3235
|
var tmp1_flag = true;
|
|
3236
3236
|
var tmp2_index = 0;
|
|
3237
3237
|
var tmp3_bitMask0 = 0;
|
|
@@ -3259,7 +3259,7 @@
|
|
|
3259
3259
|
return ActionsStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
3260
3260
|
};
|
|
3261
3261
|
protoOf($serializer_0).r4c = function () {
|
|
3262
|
-
return this.
|
|
3262
|
+
return this.teh_1;
|
|
3263
3263
|
};
|
|
3264
3264
|
protoOf($serializer_0).k4o = function () {
|
|
3265
3265
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3275,7 +3275,7 @@
|
|
|
3275
3275
|
}
|
|
3276
3276
|
function ActionsStateUpdateDto_init_$Init$(seen0, actions, serializationConstructorMarker, $this) {
|
|
3277
3277
|
if (!(1 === (1 & seen0))) {
|
|
3278
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_0().
|
|
3278
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_0().teh_1);
|
|
3279
3279
|
}
|
|
3280
3280
|
$this.actions = actions;
|
|
3281
3281
|
return $this;
|
|
@@ -3355,12 +3355,12 @@
|
|
|
3355
3355
|
protoOf(TableStateUpdate).kf = function () {
|
|
3356
3356
|
return this.table;
|
|
3357
3357
|
};
|
|
3358
|
-
protoOf(TableStateUpdate).
|
|
3358
|
+
protoOf(TableStateUpdate).veh = function (table) {
|
|
3359
3359
|
return new TableStateUpdate(table);
|
|
3360
3360
|
};
|
|
3361
3361
|
protoOf(TableStateUpdate).copy = function (table, $super) {
|
|
3362
3362
|
table = table === VOID ? this.table : table;
|
|
3363
|
-
return $super === VOID ? this.
|
|
3363
|
+
return $super === VOID ? this.veh(table) : $super.veh.call(this, table);
|
|
3364
3364
|
};
|
|
3365
3365
|
protoOf(TableStateUpdate).toString = function () {
|
|
3366
3366
|
return 'TableStateUpdate(table=' + this.table.toString() + ')';
|
|
@@ -3387,12 +3387,12 @@
|
|
|
3387
3387
|
protoOf(ActionsStateUpdate).kf = function () {
|
|
3388
3388
|
return this.actions;
|
|
3389
3389
|
};
|
|
3390
|
-
protoOf(ActionsStateUpdate).
|
|
3390
|
+
protoOf(ActionsStateUpdate).weh = function (actions) {
|
|
3391
3391
|
return new ActionsStateUpdate(actions);
|
|
3392
3392
|
};
|
|
3393
3393
|
protoOf(ActionsStateUpdate).copy = function (actions, $super) {
|
|
3394
3394
|
actions = actions === VOID ? this.actions : actions;
|
|
3395
|
-
return $super === VOID ? this.
|
|
3395
|
+
return $super === VOID ? this.weh(actions) : $super.weh.call(this, actions);
|
|
3396
3396
|
};
|
|
3397
3397
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
3398
3398
|
return 'ActionsStateUpdate(actions=' + toString(this.actions) + ')';
|
|
@@ -3638,18 +3638,18 @@
|
|
|
3638
3638
|
function ToClientEventsObserver() {
|
|
3639
3639
|
}
|
|
3640
3640
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
3641
|
-
this.
|
|
3642
|
-
this.
|
|
3641
|
+
this.gei_1 = this$0;
|
|
3642
|
+
this.hei_1 = $actions;
|
|
3643
3643
|
CoroutineImpl.call(this, resultContinuation);
|
|
3644
3644
|
}
|
|
3645
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3646
|
-
var tmp = this.
|
|
3645
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).rei = function ($this$flow, $completion) {
|
|
3646
|
+
var tmp = this.sei($this$flow, $completion);
|
|
3647
3647
|
tmp.n9_1 = Unit_instance;
|
|
3648
3648
|
tmp.o9_1 = null;
|
|
3649
3649
|
return tmp.t9();
|
|
3650
3650
|
};
|
|
3651
3651
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).da = function (p1, $completion) {
|
|
3652
|
-
return this.
|
|
3652
|
+
return this.rei((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
3653
3653
|
};
|
|
3654
3654
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).t9 = function () {
|
|
3655
3655
|
var suspendResult = this.n9_1;
|
|
@@ -3660,26 +3660,26 @@
|
|
|
3660
3660
|
case 0:
|
|
3661
3661
|
this.m9_1 = 4;
|
|
3662
3662
|
var tmp_0 = this;
|
|
3663
|
-
tmp_0.
|
|
3664
|
-
this.
|
|
3663
|
+
tmp_0.jei_1 = this.gei_1.xei_1;
|
|
3664
|
+
this.kei_1 = this.jei_1;
|
|
3665
3665
|
var tmp_1 = this;
|
|
3666
|
-
tmp_1.
|
|
3667
|
-
this.
|
|
3668
|
-
this.
|
|
3666
|
+
tmp_1.lei_1 = transformToEmits(this.gei_1, this.hei_1);
|
|
3667
|
+
this.mei_1 = this.lei_1;
|
|
3668
|
+
this.nei_1 = this.mei_1.j();
|
|
3669
3669
|
this.l9_1 = 1;
|
|
3670
3670
|
continue $sm;
|
|
3671
3671
|
case 1:
|
|
3672
|
-
if (!this.
|
|
3672
|
+
if (!this.nei_1.k()) {
|
|
3673
3673
|
this.l9_1 = 3;
|
|
3674
3674
|
continue $sm;
|
|
3675
3675
|
}
|
|
3676
3676
|
|
|
3677
|
-
this.
|
|
3677
|
+
this.oei_1 = this.nei_1.l();
|
|
3678
3678
|
var tmp_2 = this;
|
|
3679
|
-
tmp_2.
|
|
3680
|
-
this.
|
|
3679
|
+
tmp_2.pei_1 = this.oei_1;
|
|
3680
|
+
this.qei_1 = this.pei_1;
|
|
3681
3681
|
this.l9_1 = 2;
|
|
3682
|
-
suspendResult = this.
|
|
3682
|
+
suspendResult = this.iei_1.a1b(this.qei_1, this);
|
|
3683
3683
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3684
3684
|
return suspendResult;
|
|
3685
3685
|
}
|
|
@@ -3689,11 +3689,11 @@
|
|
|
3689
3689
|
this.l9_1 = 1;
|
|
3690
3690
|
continue $sm;
|
|
3691
3691
|
case 3:
|
|
3692
|
-
var tmp0 = this.
|
|
3692
|
+
var tmp0 = this.gei_1.wei_1;
|
|
3693
3693
|
l$ret$1: do {
|
|
3694
3694
|
while (true) {
|
|
3695
3695
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
3696
|
-
var upd = cur - this.
|
|
3696
|
+
var upd = cur - this.hei_1.m() | 0;
|
|
3697
3697
|
if (tmp0.atomicfu$compareAndSet(cur, upd)) {
|
|
3698
3698
|
break l$ret$1;
|
|
3699
3699
|
}
|
|
@@ -3715,15 +3715,15 @@
|
|
|
3715
3715
|
}
|
|
3716
3716
|
while (true);
|
|
3717
3717
|
};
|
|
3718
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3719
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
3720
|
-
i.
|
|
3718
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).sei = function ($this$flow, completion) {
|
|
3719
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.gei_1, this.hei_1, completion);
|
|
3720
|
+
i.iei_1 = $this$flow;
|
|
3721
3721
|
return i;
|
|
3722
3722
|
};
|
|
3723
3723
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
3724
3724
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
3725
3725
|
var l = function ($this$flow, $completion) {
|
|
3726
|
-
return i.
|
|
3726
|
+
return i.rei($this$flow, $completion);
|
|
3727
3727
|
};
|
|
3728
3728
|
l.$arity = 1;
|
|
3729
3729
|
return l;
|
|
@@ -3793,29 +3793,29 @@
|
|
|
3793
3793
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
3794
3794
|
}
|
|
3795
3795
|
function mapFromGroupKey($this, _this__u8e3s4) {
|
|
3796
|
-
var tmp = $this.
|
|
3796
|
+
var tmp = $this.vei_1.e6s();
|
|
3797
3797
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3798
|
-
var this_0 = _this__u8e3s4.
|
|
3798
|
+
var this_0 = _this__u8e3s4.aej_1;
|
|
3799
3799
|
var tmp_0 = copyToArray(this_0);
|
|
3800
3800
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3801
|
-
var this_1 = _this__u8e3s4.
|
|
3801
|
+
var this_1 = _this__u8e3s4.bej_1;
|
|
3802
3802
|
var tmp$ret$1 = copyToArray(this_1);
|
|
3803
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
3803
|
+
return new ActionDeliveryPayload(_this__u8e3s4.zei_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.cej_1);
|
|
3804
3804
|
}
|
|
3805
3805
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
3806
|
-
this.
|
|
3807
|
-
this.
|
|
3808
|
-
this.
|
|
3809
|
-
this.
|
|
3806
|
+
this.zei_1 = tableId;
|
|
3807
|
+
this.aej_1 = includePlayers;
|
|
3808
|
+
this.bej_1 = excludePlayers;
|
|
3809
|
+
this.cej_1 = deliveryType;
|
|
3810
3810
|
}
|
|
3811
3811
|
protoOf(GroupKey).toString = function () {
|
|
3812
|
-
return 'GroupKey(tableId=' + this.
|
|
3812
|
+
return 'GroupKey(tableId=' + this.zei_1 + ', includePlayers=' + toString(this.aej_1) + ', excludePlayers=' + toString(this.bej_1) + ', deliveryType=' + this.cej_1.toString() + ')';
|
|
3813
3813
|
};
|
|
3814
3814
|
protoOf(GroupKey).hashCode = function () {
|
|
3815
|
-
var result = getStringHashCode(this.
|
|
3816
|
-
result = imul(result, 31) + hashCode(this.
|
|
3817
|
-
result = imul(result, 31) + hashCode(this.
|
|
3818
|
-
result = imul(result, 31) + this.
|
|
3815
|
+
var result = getStringHashCode(this.zei_1);
|
|
3816
|
+
result = imul(result, 31) + hashCode(this.aej_1) | 0;
|
|
3817
|
+
result = imul(result, 31) + hashCode(this.bej_1) | 0;
|
|
3818
|
+
result = imul(result, 31) + this.cej_1.hashCode() | 0;
|
|
3819
3819
|
return result;
|
|
3820
3820
|
};
|
|
3821
3821
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -3824,35 +3824,35 @@
|
|
|
3824
3824
|
if (!(other instanceof GroupKey))
|
|
3825
3825
|
return false;
|
|
3826
3826
|
var tmp0_other_with_cast = other instanceof GroupKey ? other : THROW_CCE();
|
|
3827
|
-
if (!(this.
|
|
3827
|
+
if (!(this.zei_1 === tmp0_other_with_cast.zei_1))
|
|
3828
3828
|
return false;
|
|
3829
|
-
if (!equals(this.
|
|
3829
|
+
if (!equals(this.aej_1, tmp0_other_with_cast.aej_1))
|
|
3830
3830
|
return false;
|
|
3831
|
-
if (!equals(this.
|
|
3831
|
+
if (!equals(this.bej_1, tmp0_other_with_cast.bej_1))
|
|
3832
3832
|
return false;
|
|
3833
|
-
if (!this.
|
|
3833
|
+
if (!this.cej_1.equals(tmp0_other_with_cast.cej_1))
|
|
3834
3834
|
return false;
|
|
3835
3835
|
return true;
|
|
3836
3836
|
};
|
|
3837
3837
|
function Companion_4() {
|
|
3838
|
-
this.
|
|
3838
|
+
this.dej_1 = 6;
|
|
3839
3839
|
}
|
|
3840
3840
|
var Companion_instance_12;
|
|
3841
3841
|
function Companion_getInstance_5() {
|
|
3842
3842
|
return Companion_instance_12;
|
|
3843
3843
|
}
|
|
3844
3844
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
3845
|
-
this.
|
|
3845
|
+
this.mej_1 = this$0;
|
|
3846
3846
|
CoroutineImpl.call(this, resultContinuation);
|
|
3847
3847
|
}
|
|
3848
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3849
|
-
var tmp = this.
|
|
3848
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).oej = function (actions, $completion) {
|
|
3849
|
+
var tmp = this.pej(actions, $completion);
|
|
3850
3850
|
tmp.n9_1 = Unit_instance;
|
|
3851
3851
|
tmp.o9_1 = null;
|
|
3852
3852
|
return tmp.t9();
|
|
3853
3853
|
};
|
|
3854
3854
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).da = function (p1, $completion) {
|
|
3855
|
-
return this.
|
|
3855
|
+
return this.oej((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
3856
3856
|
};
|
|
3857
3857
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).t9 = function () {
|
|
3858
3858
|
var suspendResult = this.n9_1;
|
|
@@ -3861,7 +3861,7 @@
|
|
|
3861
3861
|
var tmp = this.l9_1;
|
|
3862
3862
|
if (tmp === 0) {
|
|
3863
3863
|
this.m9_1 = 1;
|
|
3864
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
3864
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.mej_1, this.nej_1, null));
|
|
3865
3865
|
} else if (tmp === 1) {
|
|
3866
3866
|
throw this.o9_1;
|
|
3867
3867
|
}
|
|
@@ -3871,23 +3871,23 @@
|
|
|
3871
3871
|
}
|
|
3872
3872
|
while (true);
|
|
3873
3873
|
};
|
|
3874
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3875
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
3876
|
-
i.
|
|
3874
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).pej = function (actions, completion) {
|
|
3875
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.mej_1, completion);
|
|
3876
|
+
i.nej_1 = actions;
|
|
3877
3877
|
return i;
|
|
3878
3878
|
};
|
|
3879
3879
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
3880
3880
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
3881
3881
|
var l = function (actions, $completion) {
|
|
3882
|
-
return i.
|
|
3882
|
+
return i.oej(actions, $completion);
|
|
3883
3883
|
};
|
|
3884
3884
|
l.$arity = 1;
|
|
3885
3885
|
return l;
|
|
3886
3886
|
}
|
|
3887
3887
|
function $sentEventCOROUTINE$(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
3888
3888
|
CoroutineImpl.call(this, resultContinuation);
|
|
3889
|
-
this.
|
|
3890
|
-
this.
|
|
3889
|
+
this.yej_1 = _this__u8e3s4;
|
|
3890
|
+
this.zej_1 = fromEvent;
|
|
3891
3891
|
}
|
|
3892
3892
|
protoOf($sentEventCOROUTINE$).t9 = function () {
|
|
3893
3893
|
var suspendResult = this.n9_1;
|
|
@@ -3898,9 +3898,9 @@
|
|
|
3898
3898
|
case 0:
|
|
3899
3899
|
this.m9_1 = 2;
|
|
3900
3900
|
var tmp_0 = this;
|
|
3901
|
-
tmp_0.
|
|
3902
|
-
this.
|
|
3903
|
-
var tmp0 = this.
|
|
3901
|
+
tmp_0.aek_1 = this.yej_1.xei_1;
|
|
3902
|
+
this.bek_1 = this.aek_1;
|
|
3903
|
+
var tmp0 = this.yej_1.wei_1;
|
|
3904
3904
|
l$ret$1: do {
|
|
3905
3905
|
while (true) {
|
|
3906
3906
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
@@ -3912,7 +3912,7 @@
|
|
|
3912
3912
|
}
|
|
3913
3913
|
while (false);
|
|
3914
3914
|
this.l9_1 = 1;
|
|
3915
|
-
suspendResult = this.
|
|
3915
|
+
suspendResult = this.yej_1.yei_1.a1b(this.zej_1, this);
|
|
3916
3916
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3917
3917
|
return suspendResult;
|
|
3918
3918
|
}
|
|
@@ -3936,7 +3936,7 @@
|
|
|
3936
3936
|
};
|
|
3937
3937
|
function $waitForCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
3938
3938
|
CoroutineImpl.call(this, resultContinuation);
|
|
3939
|
-
this.
|
|
3939
|
+
this.kek_1 = _this__u8e3s4;
|
|
3940
3940
|
}
|
|
3941
3941
|
protoOf($waitForCOROUTINE$).t9 = function () {
|
|
3942
3942
|
var suspendResult = this.n9_1;
|
|
@@ -3947,13 +3947,13 @@
|
|
|
3947
3947
|
case 0:
|
|
3948
3948
|
this.m9_1 = 5;
|
|
3949
3949
|
var tmp_0 = this;
|
|
3950
|
-
tmp_0.
|
|
3951
|
-
this.
|
|
3952
|
-
this.
|
|
3950
|
+
tmp_0.lek_1 = this.kek_1.xei_1;
|
|
3951
|
+
this.mek_1 = this.lek_1;
|
|
3952
|
+
this.nek_1 = 0;
|
|
3953
3953
|
this.l9_1 = 1;
|
|
3954
3954
|
continue $sm;
|
|
3955
3955
|
case 1:
|
|
3956
|
-
if (!!(this.
|
|
3956
|
+
if (!!(this.kek_1.wei_1.kotlinx$atomicfu$value === 0)) {
|
|
3957
3957
|
this.l9_1 = 4;
|
|
3958
3958
|
continue $sm;
|
|
3959
3959
|
}
|
|
@@ -3966,9 +3966,9 @@
|
|
|
3966
3966
|
|
|
3967
3967
|
continue $sm;
|
|
3968
3968
|
case 2:
|
|
3969
|
-
this.
|
|
3970
|
-
if (this.
|
|
3971
|
-
this.
|
|
3969
|
+
this.nek_1 = this.nek_1 + 1 | 0;
|
|
3970
|
+
if (this.nek_1 > 6) {
|
|
3971
|
+
this.kek_1.uei_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.kek_1.wei_1.kotlinx$atomicfu$value);
|
|
3972
3972
|
this.l9_1 = 4;
|
|
3973
3973
|
continue $sm;
|
|
3974
3974
|
} else {
|
|
@@ -3996,16 +3996,16 @@
|
|
|
3996
3996
|
while (true);
|
|
3997
3997
|
};
|
|
3998
3998
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
3999
|
-
this.
|
|
4000
|
-
this.
|
|
4001
|
-
this.
|
|
4002
|
-
this.
|
|
3999
|
+
this.tei_1 = serverReduxConfig;
|
|
4000
|
+
this.uei_1 = logger;
|
|
4001
|
+
this.vei_1 = idsProvider;
|
|
4002
|
+
this.wei_1 = atomic$ref$1(0);
|
|
4003
4003
|
var tmp = this;
|
|
4004
4004
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
4005
|
-
tmp.
|
|
4006
|
-
this.
|
|
4005
|
+
tmp.xei_1 = get_atomicfu$reentrantLock();
|
|
4006
|
+
this.yei_1 = MutableSharedFlow();
|
|
4007
4007
|
}
|
|
4008
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4008
|
+
protoOf(ToClientEventsObserverImpl).xeh = function (fromEvent, $completion) {
|
|
4009
4009
|
var tmp = new $sentEventCOROUTINE$(this, fromEvent, $completion);
|
|
4010
4010
|
tmp.n9_1 = Unit_instance;
|
|
4011
4011
|
tmp.o9_1 = null;
|
|
@@ -4017,21 +4017,21 @@
|
|
|
4017
4017
|
tmp.o9_1 = null;
|
|
4018
4018
|
return tmp.t9();
|
|
4019
4019
|
};
|
|
4020
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4021
|
-
if (!this.
|
|
4022
|
-
return this.
|
|
4020
|
+
protoOf(ToClientEventsObserverImpl).fb1 = function () {
|
|
4021
|
+
if (!this.tei_1.enabledCombinedEvents) {
|
|
4022
|
+
return this.yei_1;
|
|
4023
4023
|
}
|
|
4024
|
-
var tmp = windowedByInterval(this.
|
|
4024
|
+
var tmp = windowedByInterval(this.yei_1, toLong(this.tei_1.combinedEventsIntervalMillis));
|
|
4025
4025
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
4026
4026
|
};
|
|
4027
4027
|
function UpdateServerConfigAction(serverConfig) {
|
|
4028
|
-
this.
|
|
4028
|
+
this.oek_1 = serverConfig;
|
|
4029
4029
|
}
|
|
4030
4030
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
4031
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
4031
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.oek_1.toString() + ')';
|
|
4032
4032
|
};
|
|
4033
4033
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
4034
|
-
return this.
|
|
4034
|
+
return this.oek_1.hashCode();
|
|
4035
4035
|
};
|
|
4036
4036
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
4037
4037
|
if (this === other)
|
|
@@ -4039,18 +4039,18 @@
|
|
|
4039
4039
|
if (!(other instanceof UpdateServerConfigAction))
|
|
4040
4040
|
return false;
|
|
4041
4041
|
var tmp0_other_with_cast = other instanceof UpdateServerConfigAction ? other : THROW_CCE();
|
|
4042
|
-
if (!this.
|
|
4042
|
+
if (!this.oek_1.equals(tmp0_other_with_cast.oek_1))
|
|
4043
4043
|
return false;
|
|
4044
4044
|
return true;
|
|
4045
4045
|
};
|
|
4046
4046
|
function AddSpectatorsAction(spectators) {
|
|
4047
|
-
this.
|
|
4047
|
+
this.pek_1 = spectators;
|
|
4048
4048
|
}
|
|
4049
4049
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
4050
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
4050
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.pek_1) + ')';
|
|
4051
4051
|
};
|
|
4052
4052
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
4053
|
-
return hashCode(this.
|
|
4053
|
+
return hashCode(this.pek_1);
|
|
4054
4054
|
};
|
|
4055
4055
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
4056
4056
|
if (this === other)
|
|
@@ -4058,18 +4058,18 @@
|
|
|
4058
4058
|
if (!(other instanceof AddSpectatorsAction))
|
|
4059
4059
|
return false;
|
|
4060
4060
|
var tmp0_other_with_cast = other instanceof AddSpectatorsAction ? other : THROW_CCE();
|
|
4061
|
-
if (!equals(this.
|
|
4061
|
+
if (!equals(this.pek_1, tmp0_other_with_cast.pek_1))
|
|
4062
4062
|
return false;
|
|
4063
4063
|
return true;
|
|
4064
4064
|
};
|
|
4065
4065
|
function RemoveSpectatorsAction(spectators) {
|
|
4066
|
-
this.
|
|
4066
|
+
this.qek_1 = spectators;
|
|
4067
4067
|
}
|
|
4068
4068
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
4069
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
4069
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.qek_1) + ')';
|
|
4070
4070
|
};
|
|
4071
4071
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
4072
|
-
return hashCode(this.
|
|
4072
|
+
return hashCode(this.qek_1);
|
|
4073
4073
|
};
|
|
4074
4074
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
4075
4075
|
if (this === other)
|
|
@@ -4077,105 +4077,105 @@
|
|
|
4077
4077
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
4078
4078
|
return false;
|
|
4079
4079
|
var tmp0_other_with_cast = other instanceof RemoveSpectatorsAction ? other : THROW_CCE();
|
|
4080
|
-
if (!equals(this.
|
|
4080
|
+
if (!equals(this.qek_1, tmp0_other_with_cast.qek_1))
|
|
4081
4081
|
return false;
|
|
4082
4082
|
return true;
|
|
4083
4083
|
};
|
|
4084
4084
|
function SpectatorsAction() {
|
|
4085
4085
|
}
|
|
4086
4086
|
function _get_asyncProvider__jbpyhw($this) {
|
|
4087
|
-
var tmp0 = $this.
|
|
4087
|
+
var tmp0 = $this.wek_1;
|
|
4088
4088
|
var tmp = KProperty1;
|
|
4089
4089
|
// Inline function 'kotlin.getValue' call
|
|
4090
4090
|
getPropertyCallableRef('asyncProvider', 1, tmp, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3_0(), null);
|
|
4091
4091
|
return tmp0.u();
|
|
4092
4092
|
}
|
|
4093
4093
|
function _get_logger__rkp4sl_0($this) {
|
|
4094
|
-
var tmp0 = $this.
|
|
4094
|
+
var tmp0 = $this.xek_1;
|
|
4095
4095
|
var tmp = KProperty1;
|
|
4096
4096
|
// Inline function 'kotlin.getValue' call
|
|
4097
4097
|
getPropertyCallableRef('logger', 1, tmp, ServerGameStoreContract$_get_logger_$ref_zbgw28_0(), null);
|
|
4098
4098
|
return tmp0.u();
|
|
4099
4099
|
}
|
|
4100
4100
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
4101
|
-
var tmp0 = $this.
|
|
4101
|
+
var tmp0 = $this.yek_1;
|
|
4102
4102
|
var tmp = KProperty1;
|
|
4103
4103
|
// Inline function 'kotlin.getValue' call
|
|
4104
4104
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8_0(), null);
|
|
4105
4105
|
return tmp0.u();
|
|
4106
4106
|
}
|
|
4107
4107
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
4108
|
-
var tmp0 = $this.
|
|
4108
|
+
var tmp0 = $this.zek_1;
|
|
4109
4109
|
var tmp = KProperty1;
|
|
4110
4110
|
// Inline function 'kotlin.getValue' call
|
|
4111
4111
|
getPropertyCallableRef('lastCardInteractor', 1, tmp, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh_0(), null);
|
|
4112
4112
|
return tmp0.u();
|
|
4113
4113
|
}
|
|
4114
4114
|
function _get_serverConfig__rk2g06($this) {
|
|
4115
|
-
var tmp0 = $this.
|
|
4115
|
+
var tmp0 = $this.ael_1;
|
|
4116
4116
|
var tmp = KProperty1;
|
|
4117
4117
|
// Inline function 'kotlin.getValue' call
|
|
4118
4118
|
getPropertyCallableRef('serverConfig', 1, tmp, ServerGameStoreContract$_get_serverConfig_$ref_bz2891_0(), null);
|
|
4119
4119
|
return tmp0.u();
|
|
4120
4120
|
}
|
|
4121
4121
|
function _get_logicConfig__52ww9d($this) {
|
|
4122
|
-
var tmp0 = $this.
|
|
4122
|
+
var tmp0 = $this.bel_1;
|
|
4123
4123
|
var tmp = KProperty1;
|
|
4124
4124
|
// Inline function 'kotlin.getValue' call
|
|
4125
4125
|
getPropertyCallableRef('logicConfig', 1, tmp, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi_0(), null);
|
|
4126
4126
|
return tmp0.u();
|
|
4127
4127
|
}
|
|
4128
4128
|
function _get_idsProvider__fnfajc_0($this) {
|
|
4129
|
-
var tmp0 = $this.
|
|
4129
|
+
var tmp0 = $this.cel_1;
|
|
4130
4130
|
var tmp = KProperty1;
|
|
4131
4131
|
// Inline function 'kotlin.getValue' call
|
|
4132
4132
|
getPropertyCallableRef('idsProvider', 1, tmp, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1_0(), null);
|
|
4133
4133
|
return tmp0.u();
|
|
4134
4134
|
}
|
|
4135
4135
|
function _get_botConfig__cpaxzc($this) {
|
|
4136
|
-
var tmp0 = $this.
|
|
4136
|
+
var tmp0 = $this.del_1;
|
|
4137
4137
|
var tmp = KProperty1;
|
|
4138
4138
|
// Inline function 'kotlin.getValue' call
|
|
4139
4139
|
getPropertyCallableRef('botConfig', 1, tmp, ServerGameStoreContract$_get_botConfig_$ref_nebw1d_0(), null);
|
|
4140
4140
|
return tmp0.u();
|
|
4141
4141
|
}
|
|
4142
4142
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
4143
|
-
var tmp0 = $this.
|
|
4143
|
+
var tmp0 = $this.eel_1;
|
|
4144
4144
|
var tmp = KProperty1;
|
|
4145
4145
|
// Inline function 'kotlin.getValue' call
|
|
4146
4146
|
getPropertyCallableRef('scenePositionProvider', 1, tmp, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4_0(), null);
|
|
4147
4147
|
return tmp0.u();
|
|
4148
4148
|
}
|
|
4149
4149
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
4150
|
-
var tmp0 = $this.
|
|
4150
|
+
var tmp0 = $this.fel_1;
|
|
4151
4151
|
var tmp = KProperty1;
|
|
4152
4152
|
// Inline function 'kotlin.getValue' call
|
|
4153
4153
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p_0(), null);
|
|
4154
4154
|
return tmp0.u();
|
|
4155
4155
|
}
|
|
4156
4156
|
function _get_fromClientEventsObserver__a7vzd3_0($this) {
|
|
4157
|
-
var tmp0 = $this.
|
|
4157
|
+
var tmp0 = $this.gel_1;
|
|
4158
4158
|
var tmp = KProperty1;
|
|
4159
4159
|
// Inline function 'kotlin.getValue' call
|
|
4160
4160
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg_0(), null);
|
|
4161
4161
|
return tmp0.u();
|
|
4162
4162
|
}
|
|
4163
4163
|
function _get_dealerConfig__183ci8($this) {
|
|
4164
|
-
var tmp0 = $this.
|
|
4164
|
+
var tmp0 = $this.hel_1;
|
|
4165
4165
|
var tmp = KProperty1;
|
|
4166
4166
|
// Inline function 'kotlin.getValue' call
|
|
4167
4167
|
getPropertyCallableRef('dealerConfig', 1, tmp, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp_0(), null);
|
|
4168
4168
|
return tmp0.u();
|
|
4169
4169
|
}
|
|
4170
4170
|
function _get_poolProvider__tqti6a($this) {
|
|
4171
|
-
var tmp0 = $this.
|
|
4171
|
+
var tmp0 = $this.iel_1;
|
|
4172
4172
|
var tmp = KProperty1;
|
|
4173
4173
|
// Inline function 'kotlin.getValue' call
|
|
4174
4174
|
getPropertyCallableRef('poolProvider', 1, tmp, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3_0(), null);
|
|
4175
4175
|
return tmp0.u();
|
|
4176
4176
|
}
|
|
4177
4177
|
function _get_cardsDealerProvider__bekjpg($this) {
|
|
4178
|
-
var tmp0 = $this.
|
|
4178
|
+
var tmp0 = $this.jel_1;
|
|
4179
4179
|
var tmp = KProperty1;
|
|
4180
4180
|
// Inline function 'kotlin.getValue' call
|
|
4181
4181
|
getPropertyCallableRef('cardsDealerProvider', 1, tmp, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj_0(), null);
|
|
@@ -4330,11 +4330,11 @@
|
|
|
4330
4330
|
botGameStoreContract = botGameStoreContract === VOID ? new BotGameStoreContract(di) : botGameStoreContract;
|
|
4331
4331
|
gameMechanicStoreContract = gameMechanicStoreContract === VOID ? new GameMechanicStoreContract(di, null, true) : gameMechanicStoreContract;
|
|
4332
4332
|
fileLoggerStoreContract = fileLoggerStoreContract === VOID ? new FileLoggerStoreContract(di) : fileLoggerStoreContract;
|
|
4333
|
-
this.
|
|
4334
|
-
this.
|
|
4335
|
-
this.
|
|
4336
|
-
this.
|
|
4337
|
-
this.
|
|
4333
|
+
this.rek_1 = validationStoreContract;
|
|
4334
|
+
this.sek_1 = timersStoreContract;
|
|
4335
|
+
this.tek_1 = botGameStoreContract;
|
|
4336
|
+
this.uek_1 = gameMechanicStoreContract;
|
|
4337
|
+
this.vek_1 = fileLoggerStoreContract;
|
|
4338
4338
|
var tmp = this;
|
|
4339
4339
|
// Inline function 'org.kodein.di.instance' call
|
|
4340
4340
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4342,7 +4342,7 @@
|
|
|
4342
4342
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
4343
4343
|
var tmp_1 = Instance(di, tmp$ret$0, null);
|
|
4344
4344
|
var tmp_2 = KProperty1;
|
|
4345
|
-
tmp.
|
|
4345
|
+
tmp.wek_1 = tmp_1.k6d(this, getPropertyCallableRef('asyncProvider', 1, tmp_2, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3(), null));
|
|
4346
4346
|
var tmp_3 = this;
|
|
4347
4347
|
// Inline function 'org.kodein.di.instance' call
|
|
4348
4348
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4350,7 +4350,7 @@
|
|
|
4350
4350
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
4351
4351
|
var tmp_5 = Instance(di, tmp$ret$2, null);
|
|
4352
4352
|
var tmp_6 = KProperty1;
|
|
4353
|
-
tmp_3.
|
|
4353
|
+
tmp_3.xek_1 = tmp_5.k6d(this, getPropertyCallableRef('logger', 1, tmp_6, ServerGameStoreContract$_get_logger_$ref_zbgw28(), null));
|
|
4354
4354
|
var tmp_7 = this;
|
|
4355
4355
|
// Inline function 'org.kodein.di.instance' call
|
|
4356
4356
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4358,7 +4358,7 @@
|
|
|
4358
4358
|
var tmp$ret$4 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
4359
4359
|
var tmp_9 = Instance(di, tmp$ret$4, null);
|
|
4360
4360
|
var tmp_10 = KProperty1;
|
|
4361
|
-
tmp_7.
|
|
4361
|
+
tmp_7.yek_1 = tmp_9.k6d(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_10, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8(), null));
|
|
4362
4362
|
var tmp_11 = this;
|
|
4363
4363
|
// Inline function 'org.kodein.di.instance' call
|
|
4364
4364
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4366,7 +4366,7 @@
|
|
|
4366
4366
|
var tmp$ret$6 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
4367
4367
|
var tmp_13 = Instance(di, tmp$ret$6, null);
|
|
4368
4368
|
var tmp_14 = KProperty1;
|
|
4369
|
-
tmp_11.
|
|
4369
|
+
tmp_11.zek_1 = tmp_13.k6d(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_14, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh(), null));
|
|
4370
4370
|
var tmp_15 = this;
|
|
4371
4371
|
// Inline function 'org.kodein.di.instance' call
|
|
4372
4372
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4374,7 +4374,7 @@
|
|
|
4374
4374
|
var tmp$ret$8 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
4375
4375
|
var tmp_17 = Instance(di, tmp$ret$8, null);
|
|
4376
4376
|
var tmp_18 = KProperty1;
|
|
4377
|
-
tmp_15.
|
|
4377
|
+
tmp_15.ael_1 = tmp_17.k6d(this, getPropertyCallableRef('serverConfig', 1, tmp_18, ServerGameStoreContract$_get_serverConfig_$ref_bz2891(), null));
|
|
4378
4378
|
var tmp_19 = this;
|
|
4379
4379
|
// Inline function 'org.kodein.di.instance' call
|
|
4380
4380
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4382,7 +4382,7 @@
|
|
|
4382
4382
|
var tmp$ret$10 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
4383
4383
|
var tmp_21 = Instance(di, tmp$ret$10, null);
|
|
4384
4384
|
var tmp_22 = KProperty1;
|
|
4385
|
-
tmp_19.
|
|
4385
|
+
tmp_19.bel_1 = tmp_21.k6d(this, getPropertyCallableRef('logicConfig', 1, tmp_22, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi(), null));
|
|
4386
4386
|
var tmp_23 = this;
|
|
4387
4387
|
// Inline function 'org.kodein.di.instance' call
|
|
4388
4388
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4390,7 +4390,7 @@
|
|
|
4390
4390
|
var tmp$ret$12 = isInterface(tmp_24, TypeToken) ? tmp_24 : THROW_CCE();
|
|
4391
4391
|
var tmp_25 = Instance(di, tmp$ret$12, null);
|
|
4392
4392
|
var tmp_26 = KProperty1;
|
|
4393
|
-
tmp_23.
|
|
4393
|
+
tmp_23.cel_1 = tmp_25.k6d(this, getPropertyCallableRef('idsProvider', 1, tmp_26, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1(), null));
|
|
4394
4394
|
var tmp_27 = this;
|
|
4395
4395
|
// Inline function 'org.kodein.di.instance' call
|
|
4396
4396
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4398,7 +4398,7 @@
|
|
|
4398
4398
|
var tmp$ret$14 = isInterface(tmp_28, TypeToken) ? tmp_28 : THROW_CCE();
|
|
4399
4399
|
var tmp_29 = Instance(di, tmp$ret$14, null);
|
|
4400
4400
|
var tmp_30 = KProperty1;
|
|
4401
|
-
tmp_27.
|
|
4401
|
+
tmp_27.del_1 = tmp_29.k6d(this, getPropertyCallableRef('botConfig', 1, tmp_30, ServerGameStoreContract$_get_botConfig_$ref_nebw1d(), null));
|
|
4402
4402
|
var tmp_31 = this;
|
|
4403
4403
|
// Inline function 'org.kodein.di.instance' call
|
|
4404
4404
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4406,7 +4406,7 @@
|
|
|
4406
4406
|
var tmp$ret$16 = isInterface(tmp_32, TypeToken) ? tmp_32 : THROW_CCE();
|
|
4407
4407
|
var tmp_33 = Instance(di, tmp$ret$16, null);
|
|
4408
4408
|
var tmp_34 = KProperty1;
|
|
4409
|
-
tmp_31.
|
|
4409
|
+
tmp_31.eel_1 = tmp_33.k6d(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_34, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4(), null));
|
|
4410
4410
|
var tmp_35 = this;
|
|
4411
4411
|
// Inline function 'org.kodein.di.instance' call
|
|
4412
4412
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4414,7 +4414,7 @@
|
|
|
4414
4414
|
var tmp$ret$18 = isInterface(tmp_36, TypeToken) ? tmp_36 : THROW_CCE();
|
|
4415
4415
|
var tmp_37 = Instance(di, tmp$ret$18, null);
|
|
4416
4416
|
var tmp_38 = KProperty1;
|
|
4417
|
-
tmp_35.
|
|
4417
|
+
tmp_35.fel_1 = tmp_37.k6d(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_38, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p(), null));
|
|
4418
4418
|
var tmp_39 = this;
|
|
4419
4419
|
// Inline function 'org.kodein.di.instance' call
|
|
4420
4420
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4422,7 +4422,7 @@
|
|
|
4422
4422
|
var tmp$ret$20 = isInterface(tmp_40, TypeToken) ? tmp_40 : THROW_CCE();
|
|
4423
4423
|
var tmp_41 = Instance(di, tmp$ret$20, null);
|
|
4424
4424
|
var tmp_42 = KProperty1;
|
|
4425
|
-
tmp_39.
|
|
4425
|
+
tmp_39.gel_1 = tmp_41.k6d(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_42, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg(), null));
|
|
4426
4426
|
var tmp_43 = this;
|
|
4427
4427
|
// Inline function 'org.kodein.di.instance' call
|
|
4428
4428
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4430,7 +4430,7 @@
|
|
|
4430
4430
|
var tmp$ret$22 = isInterface(tmp_44, TypeToken) ? tmp_44 : THROW_CCE();
|
|
4431
4431
|
var tmp_45 = Instance(di, tmp$ret$22, null);
|
|
4432
4432
|
var tmp_46 = KProperty1;
|
|
4433
|
-
tmp_43.
|
|
4433
|
+
tmp_43.hel_1 = tmp_45.k6d(this, getPropertyCallableRef('dealerConfig', 1, tmp_46, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp(), null));
|
|
4434
4434
|
var tmp_47 = this;
|
|
4435
4435
|
// Inline function 'org.kodein.di.instance' call
|
|
4436
4436
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4438,7 +4438,7 @@
|
|
|
4438
4438
|
var tmp$ret$24 = isInterface(tmp_48, TypeToken) ? tmp_48 : THROW_CCE();
|
|
4439
4439
|
var tmp_49 = Instance(di, tmp$ret$24, null);
|
|
4440
4440
|
var tmp_50 = KProperty1;
|
|
4441
|
-
tmp_47.
|
|
4441
|
+
tmp_47.iel_1 = tmp_49.k6d(this, getPropertyCallableRef('poolProvider', 1, tmp_50, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3(), null));
|
|
4442
4442
|
var tmp_51 = this;
|
|
4443
4443
|
// Inline function 'org.kodein.di.instance' call
|
|
4444
4444
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4446,13 +4446,13 @@
|
|
|
4446
4446
|
var tmp$ret$26 = isInterface(tmp_52, TypeToken) ? tmp_52 : THROW_CCE();
|
|
4447
4447
|
var tmp_53 = Instance(di, tmp$ret$26, null);
|
|
4448
4448
|
var tmp_54 = KProperty1;
|
|
4449
|
-
tmp_51.
|
|
4449
|
+
tmp_51.jel_1 = tmp_53.k6d(this, getPropertyCallableRef('cardsDealerProvider', 1, tmp_54, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj(), null));
|
|
4450
4450
|
}
|
|
4451
4451
|
protoOf(ServerGameStoreContract).b9m = function () {
|
|
4452
|
-
return plus(plus(plus(plus(plus(this.
|
|
4452
|
+
return plus(plus(plus(plus(plus(this.rek_1.b9m(), this.uek_1.b9m()), this.sek_1.b9m()), this.tek_1.b9m()), this.vek_1.b9m()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl_0(this))]));
|
|
4453
4453
|
};
|
|
4454
4454
|
protoOf(ServerGameStoreContract).c9m = function () {
|
|
4455
|
-
var tmp = plus(plus(plus(plus(plus(plus(plus(this.
|
|
4455
|
+
var tmp = plus(plus(plus(plus(plus(plus(plus(this.rek_1.c9m(), listOfNotNull(_get_serverConfig__rk2g06(this).finishGameIfAllBots ? checkBotsMiddleware(_get_logger__rkp4sl_0(this)) : null)), this.uek_1.c9m()), this.sek_1.c9m()), this.tek_1.c9m()), this.vek_1.c9m()), listOfNotNull_0([playerConnectionUpdateMiddleware(_get_playerConnectionInteractor__si6cxf_0(this)), playerReconnectionWaitingTimerTickMiddleware(_get_playerConnectionInteractor__si6cxf_0(this))])), 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))).h9o(), finishingGameWhenCantStartNewMiddleware()]));
|
|
4456
4456
|
var tmp_0 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this));
|
|
4457
4457
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
4458
4458
|
var tmp1_logger = _get_logger__rkp4sl_0(this);
|
|
@@ -4503,7 +4503,7 @@
|
|
|
4503
4503
|
return this.x6v(store, next, action);
|
|
4504
4504
|
};
|
|
4505
4505
|
function ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
|
|
4506
|
-
this.
|
|
4506
|
+
this.mel_1 = this$0;
|
|
4507
4507
|
}
|
|
4508
4508
|
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).g6u = function (action) {
|
|
4509
4509
|
return action instanceof MechanicAction;
|
|
@@ -4514,7 +4514,7 @@
|
|
|
4514
4514
|
// Inline function 'kotlin.with' call
|
|
4515
4515
|
var tmp;
|
|
4516
4516
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
4517
|
-
var tmp0 = this.
|
|
4517
|
+
var tmp0 = this.mel_1;
|
|
4518
4518
|
var tmp2 = action_0.v8e_1;
|
|
4519
4519
|
var tmp4 = action_0.x8e_1;
|
|
4520
4520
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -4554,7 +4554,7 @@
|
|
|
4554
4554
|
var _iterator__ex2g4s_2 = destination_1.j();
|
|
4555
4555
|
while (_iterator__ex2g4s_2.k()) {
|
|
4556
4556
|
var element_0 = _iterator__ex2g4s_2.l();
|
|
4557
|
-
var tmp0_aid = tmp0.
|
|
4557
|
+
var tmp0_aid = tmp0.lel_1.e6s();
|
|
4558
4558
|
// Inline function 'kotlin.collections.map' call
|
|
4559
4559
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4560
4560
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -4576,15 +4576,15 @@
|
|
|
4576
4576
|
tmp = destination_2;
|
|
4577
4577
|
} else {
|
|
4578
4578
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
4579
|
-
var tmp0_0 = this.
|
|
4579
|
+
var tmp0_0 = this.mel_1;
|
|
4580
4580
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4581
4581
|
var table = state.f73();
|
|
4582
|
-
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.
|
|
4582
|
+
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.lel_1.e6s(), table.id, null);
|
|
4583
4583
|
var tmp$ret$21 = mapToClient_16(action_0, sendToPlayer_0);
|
|
4584
4584
|
tmp = listOfNotNull(tmp$ret$21);
|
|
4585
4585
|
} else {
|
|
4586
4586
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
4587
|
-
var tmp0_1 = this.
|
|
4587
|
+
var tmp0_1 = this.mel_1;
|
|
4588
4588
|
var tmp2_0 = action_0.b8f_1.id;
|
|
4589
4589
|
var tmp4_0 = action_0.gameCreatorPlayerId;
|
|
4590
4590
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -4624,7 +4624,7 @@
|
|
|
4624
4624
|
var _iterator__ex2g4s_7 = destination_6.j();
|
|
4625
4625
|
while (_iterator__ex2g4s_7.k()) {
|
|
4626
4626
|
var element_2 = _iterator__ex2g4s_7.l();
|
|
4627
|
-
var tmp0_aid_0 = tmp0_1.
|
|
4627
|
+
var tmp0_aid_0 = tmp0_1.lel_1.e6s();
|
|
4628
4628
|
// Inline function 'kotlin.collections.map' call
|
|
4629
4629
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4630
4630
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -4646,39 +4646,39 @@
|
|
|
4646
4646
|
tmp = destination_7;
|
|
4647
4647
|
} else {
|
|
4648
4648
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
4649
|
-
var tmp0_2 = this.
|
|
4649
|
+
var tmp0_2 = this.mel_1;
|
|
4650
4650
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4651
4651
|
var table_0 = state.f73();
|
|
4652
|
-
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.
|
|
4652
|
+
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.lel_1.e6s(), table_0.id, null);
|
|
4653
4653
|
var tmp$ret$44 = mapToClient_14(action_0, sendToPlayer_2);
|
|
4654
4654
|
tmp = listOfNotNull(tmp$ret$44);
|
|
4655
4655
|
} else {
|
|
4656
4656
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
4657
|
-
var tmp0_3 = this.
|
|
4657
|
+
var tmp0_3 = this.mel_1;
|
|
4658
4658
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4659
4659
|
var table_1 = state.f73();
|
|
4660
|
-
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.
|
|
4660
|
+
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.lel_1.e6s(), table_1.id, null);
|
|
4661
4661
|
var tmp$ret$46 = mapToClient_13(action_0, sendToPlayer_3);
|
|
4662
4662
|
tmp = listOfNotNull(tmp$ret$46);
|
|
4663
4663
|
} else {
|
|
4664
4664
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
4665
|
-
var tmp0_4 = this.
|
|
4665
|
+
var tmp0_4 = this.mel_1;
|
|
4666
4666
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4667
4667
|
var table_2 = state.f73();
|
|
4668
|
-
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.
|
|
4668
|
+
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.lel_1.e6s(), table_2.id, null);
|
|
4669
4669
|
var tmp$ret$48 = mapToClient_12(action_0, sendToPlayer_4);
|
|
4670
4670
|
tmp = listOfNotNull(tmp$ret$48);
|
|
4671
4671
|
} else {
|
|
4672
4672
|
if (action_0 instanceof ErrorAction) {
|
|
4673
|
-
var tmp0_5 = this.
|
|
4673
|
+
var tmp0_5 = this.mel_1;
|
|
4674
4674
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4675
4675
|
var table_3 = state.f73();
|
|
4676
|
-
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.
|
|
4676
|
+
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.lel_1.e6s(), table_3.id, null);
|
|
4677
4677
|
var tmp$ret$50 = mapToClient_11(action_0, sendToPlayer_5);
|
|
4678
4678
|
tmp = listOfNotNull(tmp$ret$50);
|
|
4679
4679
|
} else {
|
|
4680
4680
|
if (action_0 instanceof SceneMechanicAction) {
|
|
4681
|
-
var tmp0_6 = this.
|
|
4681
|
+
var tmp0_6 = this.mel_1;
|
|
4682
4682
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4683
4683
|
var table_4 = state.f73();
|
|
4684
4684
|
var tmp2_1 = table_4.id;
|
|
@@ -4711,7 +4711,7 @@
|
|
|
4711
4711
|
var _iterator__ex2g4s_11 = destination_10.j();
|
|
4712
4712
|
while (_iterator__ex2g4s_11.k()) {
|
|
4713
4713
|
var element_4 = _iterator__ex2g4s_11.l();
|
|
4714
|
-
var tmp0_aid_1 = tmp0_6.
|
|
4714
|
+
var tmp0_aid_1 = tmp0_6.lel_1.e6s();
|
|
4715
4715
|
// Inline function 'kotlin.collections.map' call
|
|
4716
4716
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4717
4717
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
|
|
@@ -4733,7 +4733,7 @@
|
|
|
4733
4733
|
tmp = destination_11;
|
|
4734
4734
|
} else {
|
|
4735
4735
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
4736
|
-
var tmp0_7 = this.
|
|
4736
|
+
var tmp0_7 = this.mel_1;
|
|
4737
4737
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4738
4738
|
var table_5 = state.f73();
|
|
4739
4739
|
var tmp2_2 = table_5.id;
|
|
@@ -4766,7 +4766,7 @@
|
|
|
4766
4766
|
var _iterator__ex2g4s_15 = destination_14.j();
|
|
4767
4767
|
while (_iterator__ex2g4s_15.k()) {
|
|
4768
4768
|
var element_6 = _iterator__ex2g4s_15.l();
|
|
4769
|
-
var tmp0_aid_2 = tmp0_7.
|
|
4769
|
+
var tmp0_aid_2 = tmp0_7.lel_1.e6s();
|
|
4770
4770
|
// Inline function 'kotlin.collections.map' call
|
|
4771
4771
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4772
4772
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
|
|
@@ -4788,7 +4788,7 @@
|
|
|
4788
4788
|
tmp = destination_15;
|
|
4789
4789
|
} else {
|
|
4790
4790
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
4791
|
-
var tmp0_8 = this.
|
|
4791
|
+
var tmp0_8 = this.mel_1;
|
|
4792
4792
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4793
4793
|
var table_6 = state.f73();
|
|
4794
4794
|
var tmp2_3 = table_6.id;
|
|
@@ -4821,7 +4821,7 @@
|
|
|
4821
4821
|
var _iterator__ex2g4s_19 = destination_18.j();
|
|
4822
4822
|
while (_iterator__ex2g4s_19.k()) {
|
|
4823
4823
|
var element_8 = _iterator__ex2g4s_19.l();
|
|
4824
|
-
var tmp0_aid_3 = tmp0_8.
|
|
4824
|
+
var tmp0_aid_3 = tmp0_8.lel_1.e6s();
|
|
4825
4825
|
// Inline function 'kotlin.collections.map' call
|
|
4826
4826
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4827
4827
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
|
|
@@ -4833,7 +4833,7 @@
|
|
|
4833
4833
|
}
|
|
4834
4834
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tmp2_3, tmp4_3, element_8, destination_20);
|
|
4835
4835
|
var tmp_0;
|
|
4836
|
-
if (this.
|
|
4836
|
+
if (this.mel_1.kel_1.supportBackwardActions && getPlayer(state.f73().players, sendToPlayer_8.q7r_1).i7a_1.m7a_1) {
|
|
4837
4837
|
tmp_0 = null;
|
|
4838
4838
|
} else {
|
|
4839
4839
|
tmp_0 = mapToClient_8(action_0, sendToPlayer_8);
|
|
@@ -4849,72 +4849,72 @@
|
|
|
4849
4849
|
tmp = destination_19;
|
|
4850
4850
|
} else {
|
|
4851
4851
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
4852
|
-
var tmp0_9 = this.
|
|
4852
|
+
var tmp0_9 = this.mel_1;
|
|
4853
4853
|
var tmp2_4 = state.f73();
|
|
4854
4854
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4855
|
-
var exceptPlayerId = this.
|
|
4856
|
-
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.
|
|
4855
|
+
var exceptPlayerId = this.mel_1.kel_1.supportBackwardActions ? action_0.b8g_1 : null;
|
|
4856
|
+
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.lel_1.e6s(), tmp2_4.id, exceptPlayerId);
|
|
4857
4857
|
var tmp$ret$109 = mapToClient_7(action_0, sendToPlayer_9);
|
|
4858
4858
|
tmp = listOfNotNull(tmp$ret$109);
|
|
4859
4859
|
} else {
|
|
4860
4860
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
4861
|
-
var tmp0_10 = this.
|
|
4861
|
+
var tmp0_10 = this.mel_1;
|
|
4862
4862
|
var tmp2_5 = state.f73();
|
|
4863
4863
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4864
|
-
var exceptPlayerId_0 = this.
|
|
4865
|
-
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.
|
|
4864
|
+
var exceptPlayerId_0 = this.mel_1.kel_1.supportBackwardActions ? action_0.f8g_1 : null;
|
|
4865
|
+
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.lel_1.e6s(), tmp2_5.id, exceptPlayerId_0);
|
|
4866
4866
|
var tmp$ret$111 = mapToClient_6(action_0, sendToPlayer_10);
|
|
4867
4867
|
tmp = listOfNotNull(tmp$ret$111);
|
|
4868
4868
|
} else {
|
|
4869
4869
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
4870
|
-
var tmp0_11 = this.
|
|
4870
|
+
var tmp0_11 = this.mel_1;
|
|
4871
4871
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4872
4872
|
var table_7 = state.f73();
|
|
4873
|
-
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.
|
|
4873
|
+
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.lel_1.e6s(), table_7.id, null);
|
|
4874
4874
|
var tmp$ret$113 = mapToClient_5(action_0, sendToPlayer_11);
|
|
4875
4875
|
tmp = listOfNotNull(tmp$ret$113);
|
|
4876
4876
|
} else {
|
|
4877
4877
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
4878
|
-
var tmp0_12 = this.
|
|
4878
|
+
var tmp0_12 = this.mel_1;
|
|
4879
4879
|
var tmp2_6 = state.f73();
|
|
4880
4880
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4881
|
-
var exceptPlayerId_1 = this.
|
|
4882
|
-
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.
|
|
4881
|
+
var exceptPlayerId_1 = this.mel_1.kel_1.supportBackwardActions ? action_0.m8g_1 : null;
|
|
4882
|
+
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.lel_1.e6s(), tmp2_6.id, exceptPlayerId_1);
|
|
4883
4883
|
var tmp$ret$115 = mapToClient_4(action_0, sendToPlayer_12);
|
|
4884
4884
|
tmp = listOfNotNull(tmp$ret$115);
|
|
4885
4885
|
} else {
|
|
4886
4886
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
4887
|
-
var tmp0_13 = this.
|
|
4887
|
+
var tmp0_13 = this.mel_1;
|
|
4888
4888
|
var tmp2_7 = state.f73();
|
|
4889
4889
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4890
|
-
var exceptPlayerId_2 = this.
|
|
4891
|
-
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.
|
|
4890
|
+
var exceptPlayerId_2 = this.mel_1.kel_1.supportBackwardActions ? action_0.q8g_1 : null;
|
|
4891
|
+
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.lel_1.e6s(), tmp2_7.id, exceptPlayerId_2);
|
|
4892
4892
|
var tmp$ret$117 = mapToClient_3(action_0, sendToPlayer_13);
|
|
4893
4893
|
tmp = listOfNotNull(tmp$ret$117);
|
|
4894
4894
|
} else {
|
|
4895
4895
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
4896
|
-
var tmp0_14 = this.
|
|
4896
|
+
var tmp0_14 = this.mel_1;
|
|
4897
4897
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4898
4898
|
var table_8 = state.f73();
|
|
4899
|
-
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.
|
|
4899
|
+
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.lel_1.e6s(), table_8.id, null);
|
|
4900
4900
|
var tmp$ret$119 = mapToClient_2(action_0, sendToPlayer_14);
|
|
4901
4901
|
tmp = listOfNotNull(tmp$ret$119);
|
|
4902
4902
|
} else {
|
|
4903
4903
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
4904
|
-
var tmp0_15 = this.
|
|
4904
|
+
var tmp0_15 = this.mel_1;
|
|
4905
4905
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4906
4906
|
var table_9 = state.f73();
|
|
4907
|
-
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.
|
|
4907
|
+
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.lel_1.e6s(), table_9.id, null);
|
|
4908
4908
|
var tmp$ret$121 = mapToClient_1(action_0, sendToPlayer_15);
|
|
4909
4909
|
tmp = listOfNotNull(tmp$ret$121);
|
|
4910
4910
|
} else {
|
|
4911
4911
|
if (action_0 instanceof MessageMechanicAction) {
|
|
4912
4912
|
var message = action_0.y8g_1;
|
|
4913
|
-
var tmp0_16 = this.
|
|
4913
|
+
var tmp0_16 = this.mel_1;
|
|
4914
4914
|
var tmp2_8 = state.f73();
|
|
4915
4915
|
var tmp_1;
|
|
4916
4916
|
var tmp_2;
|
|
4917
|
-
if (this.
|
|
4917
|
+
if (this.mel_1.kel_1.supportBackwardActions) {
|
|
4918
4918
|
tmp_2 = isInterface(message, UserMessage);
|
|
4919
4919
|
} else {
|
|
4920
4920
|
tmp_2 = false;
|
|
@@ -4926,16 +4926,16 @@
|
|
|
4926
4926
|
}
|
|
4927
4927
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4928
4928
|
var exceptPlayerId_3 = tmp_1;
|
|
4929
|
-
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.
|
|
4929
|
+
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.lel_1.e6s(), tmp2_8.id, exceptPlayerId_3);
|
|
4930
4930
|
var tmp$ret$123 = mapToClient_0(action_0, sendToPlayer_16);
|
|
4931
4931
|
tmp = listOfNotNull(tmp$ret$123);
|
|
4932
4932
|
} else {
|
|
4933
4933
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
4934
|
-
var tmp0_17 = this.
|
|
4934
|
+
var tmp0_17 = this.mel_1;
|
|
4935
4935
|
var tmp2_9 = state.f73();
|
|
4936
4936
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4937
4937
|
var exceptPlayerId_4 = action_0.playerId;
|
|
4938
|
-
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.
|
|
4938
|
+
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.lel_1.e6s(), tmp2_9.id, exceptPlayerId_4);
|
|
4939
4939
|
var tmp$ret$125 = mapToClient(action_0, sendToPlayer_17);
|
|
4940
4940
|
tmp = listOfNotNull(tmp$ret$125);
|
|
4941
4941
|
} else {
|
|
@@ -4972,8 +4972,8 @@
|
|
|
4972
4972
|
return this.x6v(store, next, action);
|
|
4973
4973
|
};
|
|
4974
4974
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
4975
|
-
this.
|
|
4976
|
-
this.
|
|
4975
|
+
this.kel_1 = logicConfig;
|
|
4976
|
+
this.lel_1 = idsProvider;
|
|
4977
4977
|
}
|
|
4978
4978
|
protoOf(ServerMapMechanicToClientActionMiddleware).h9o = function () {
|
|
4979
4979
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
@@ -4984,8 +4984,8 @@
|
|
|
4984
4984
|
return new sendToClientActionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, provider);
|
|
4985
4985
|
}
|
|
4986
4986
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
4987
|
-
this.
|
|
4988
|
-
this.
|
|
4987
|
+
this.vel_1 = $provider;
|
|
4988
|
+
this.wel_1 = $action;
|
|
4989
4989
|
CoroutineImpl.call(this, resultContinuation);
|
|
4990
4990
|
}
|
|
4991
4991
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).s1h = function ($this$launchDefault, $completion) {
|
|
@@ -5006,7 +5006,7 @@
|
|
|
5006
5006
|
case 0:
|
|
5007
5007
|
this.m9_1 = 2;
|
|
5008
5008
|
this.l9_1 = 1;
|
|
5009
|
-
suspendResult = this.
|
|
5009
|
+
suspendResult = this.vel_1.xeh(this.wel_1, this);
|
|
5010
5010
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5011
5011
|
return suspendResult;
|
|
5012
5012
|
}
|
|
@@ -5029,8 +5029,8 @@
|
|
|
5029
5029
|
while (true);
|
|
5030
5030
|
};
|
|
5031
5031
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).t1h = function ($this$launchDefault, completion) {
|
|
5032
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
5033
|
-
i.
|
|
5032
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.vel_1, this.wel_1, completion);
|
|
5033
|
+
i.xel_1 = $this$launchDefault;
|
|
5034
5034
|
return i;
|
|
5035
5035
|
};
|
|
5036
5036
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -5042,15 +5042,15 @@
|
|
|
5042
5042
|
return l;
|
|
5043
5043
|
}
|
|
5044
5044
|
function sendToClientActionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $provider) {
|
|
5045
|
-
this.
|
|
5046
|
-
this.
|
|
5045
|
+
this.yel_1 = $asyncProvider;
|
|
5046
|
+
this.zel_1 = $provider;
|
|
5047
5047
|
}
|
|
5048
5048
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).g6u = function (action) {
|
|
5049
5049
|
return action instanceof ToClientAction;
|
|
5050
5050
|
};
|
|
5051
5051
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).x6v = function (store, next, action) {
|
|
5052
5052
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
5053
|
-
this.
|
|
5053
|
+
this.yel_1.a6r(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.zel_1, action_0, null));
|
|
5054
5054
|
next(action_0);
|
|
5055
5055
|
};
|
|
5056
5056
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).f6u = function (store, next, action) {
|
|
@@ -5067,7 +5067,7 @@
|
|
|
5067
5067
|
};
|
|
5068
5068
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).x9w = function (state, action) {
|
|
5069
5069
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
5070
|
-
return state.b9j(VOID, get_serverStatePayload(state).copy(action_0.
|
|
5070
|
+
return state.b9j(VOID, get_serverStatePayload(state).copy(action_0.oek_1));
|
|
5071
5071
|
};
|
|
5072
5072
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).y6v = function (state, action) {
|
|
5073
5073
|
return this.x9w((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
@@ -5092,7 +5092,7 @@
|
|
|
5092
5092
|
}
|
|
5093
5093
|
function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
|
|
5094
5094
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
5095
|
-
this.
|
|
5095
|
+
this.cem_1 = logger;
|
|
5096
5096
|
}
|
|
5097
5097
|
protoOf(ServerMechanicLifecycleReducer).j9y = function (state, action) {
|
|
5098
5098
|
var serverState = get_serverStatePayloadOrNull(state.p72_1);
|
|
@@ -5108,7 +5108,7 @@
|
|
|
5108
5108
|
var tmp9_tableOrNull = tmp0_$this.q9z(tmp1_tableId, tmp2_gameId, tmp4_config, tmp3_version, tmp5_users, tmp6_spectators, tmp7_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
|
|
5109
5109
|
var tmp;
|
|
5110
5110
|
if (serverState == null) {
|
|
5111
|
-
this.
|
|
5111
|
+
this.cem_1.w(VOID, 'ServerPayload is not onStart');
|
|
5112
5112
|
tmp = Companion_instance_13.initial();
|
|
5113
5113
|
} else {
|
|
5114
5114
|
tmp = serverState;
|
|
@@ -5137,7 +5137,7 @@
|
|
|
5137
5137
|
return new spectatorsReducer$$inlined$reducerForActionType$1(logger);
|
|
5138
5138
|
}
|
|
5139
5139
|
function spectatorsReducer$$inlined$reducerForActionType$1($logger) {
|
|
5140
|
-
this.
|
|
5140
|
+
this.dem_1 = $logger;
|
|
5141
5141
|
}
|
|
5142
5142
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).g6u = function (action) {
|
|
5143
5143
|
return isInterface(action, SpectatorsAction);
|
|
@@ -5148,7 +5148,7 @@
|
|
|
5148
5148
|
var tmp;
|
|
5149
5149
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
5150
5150
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5151
|
-
var tmp0 = action_0.
|
|
5151
|
+
var tmp0 = action_0.pek_1;
|
|
5152
5152
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5153
5153
|
var destination = ArrayList_init_$Create$_0();
|
|
5154
5154
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5167,9 +5167,9 @@
|
|
|
5167
5167
|
var tmp_0;
|
|
5168
5168
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5169
5169
|
if (!sameSpectators.p()) {
|
|
5170
|
-
this.
|
|
5170
|
+
this.dem_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
5171
5171
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5172
|
-
var tmp0_0 = action_0.
|
|
5172
|
+
var tmp0_0 = action_0.pek_1;
|
|
5173
5173
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5174
5174
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
5175
5175
|
var _iterator__ex2g4s_0 = tmp0_0.j();
|
|
@@ -5204,7 +5204,7 @@
|
|
|
5204
5204
|
}
|
|
5205
5205
|
tmp_0 = destination_0;
|
|
5206
5206
|
} else {
|
|
5207
|
-
tmp_0 = action_0.
|
|
5207
|
+
tmp_0 = action_0.pek_1;
|
|
5208
5208
|
}
|
|
5209
5209
|
// Inline function 'kotlin.collections.map' call
|
|
5210
5210
|
var this_0 = tmp_0;
|
|
@@ -5221,7 +5221,7 @@
|
|
|
5221
5221
|
} else {
|
|
5222
5222
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
5223
5223
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5224
|
-
var tmp0_1 = action_0.
|
|
5224
|
+
var tmp0_1 = action_0.qek_1;
|
|
5225
5225
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5226
5226
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
5227
5227
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5240,9 +5240,9 @@
|
|
|
5240
5240
|
var tmp_2;
|
|
5241
5241
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5242
5242
|
if (!sameSpectators_0.p()) {
|
|
5243
|
-
this.
|
|
5243
|
+
this.dem_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
5244
5244
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5245
|
-
var tmp0_2 = action_0.
|
|
5245
|
+
var tmp0_2 = action_0.qek_1;
|
|
5246
5246
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5247
5247
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
5248
5248
|
var _iterator__ex2g4s_4 = tmp0_2.j();
|
|
@@ -5277,7 +5277,7 @@
|
|
|
5277
5277
|
}
|
|
5278
5278
|
tmp_2 = destination_3;
|
|
5279
5279
|
} else {
|
|
5280
|
-
tmp_2 = action_0.
|
|
5280
|
+
tmp_2 = action_0.qek_1;
|
|
5281
5281
|
}
|
|
5282
5282
|
var spectatorsToRemove = toSet(tmp_2);
|
|
5283
5283
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -5326,12 +5326,12 @@
|
|
|
5326
5326
|
};
|
|
5327
5327
|
function Companion_5() {
|
|
5328
5328
|
}
|
|
5329
|
-
protoOf(Companion_5).
|
|
5329
|
+
protoOf(Companion_5).eem = function (config) {
|
|
5330
5330
|
return new ServerStatePayload(config);
|
|
5331
5331
|
};
|
|
5332
5332
|
protoOf(Companion_5).initial = function (config, $super) {
|
|
5333
5333
|
config = config === VOID ? Companion_instance_8.initial(null) : config;
|
|
5334
|
-
return $super === VOID ? this.
|
|
5334
|
+
return $super === VOID ? this.eem(config) : $super.eem.call(this, config);
|
|
5335
5335
|
};
|
|
5336
5336
|
var Companion_instance_13;
|
|
5337
5337
|
function Companion_getInstance_6() {
|
|
@@ -5346,12 +5346,12 @@
|
|
|
5346
5346
|
protoOf(ServerStatePayload).kf = function () {
|
|
5347
5347
|
return this.config;
|
|
5348
5348
|
};
|
|
5349
|
-
protoOf(ServerStatePayload).
|
|
5349
|
+
protoOf(ServerStatePayload).fem = function (config) {
|
|
5350
5350
|
return new ServerStatePayload(config);
|
|
5351
5351
|
};
|
|
5352
5352
|
protoOf(ServerStatePayload).copy = function (config, $super) {
|
|
5353
5353
|
config = config === VOID ? this.config : config;
|
|
5354
|
-
return $super === VOID ? this.
|
|
5354
|
+
return $super === VOID ? this.fem(config) : $super.fem.call(this, config);
|
|
5355
5355
|
};
|
|
5356
5356
|
protoOf(ServerStatePayload).toString = function () {
|
|
5357
5357
|
return 'ServerStatePayload(config=' + this.config.toString() + ')';
|
|
@@ -5399,14 +5399,14 @@
|
|
|
5399
5399
|
return new GameServerEngineControllerImpl(loggerCallback, randomOrgConfig);
|
|
5400
5400
|
}
|
|
5401
5401
|
function _get_logger__rkp4sl_1($this) {
|
|
5402
|
-
var tmp0 = $this.
|
|
5402
|
+
var tmp0 = $this.oem_1;
|
|
5403
5403
|
var tmp = KProperty1;
|
|
5404
5404
|
// Inline function 'kotlin.getValue' call
|
|
5405
5405
|
getPropertyCallableRef('logger', 1, tmp, GameServerEngineControllerImpl$_get_logger_$ref_b9j0th(), null);
|
|
5406
5406
|
return tmp0.u();
|
|
5407
5407
|
}
|
|
5408
5408
|
function _get_di__ndbzja($this) {
|
|
5409
|
-
var tmp0 = $this.
|
|
5409
|
+
var tmp0 = $this.pem_1;
|
|
5410
5410
|
var tmp = KProperty1;
|
|
5411
5411
|
// Inline function 'kotlin.getValue' call
|
|
5412
5412
|
getPropertyCallableRef('di', 1, tmp, GameServerEngineControllerImpl$_get_di_$ref_cvlqo6(), null);
|
|
@@ -5419,11 +5419,11 @@
|
|
|
5419
5419
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
5420
5420
|
return function () {
|
|
5421
5421
|
var tmp;
|
|
5422
|
-
if (this$0.
|
|
5422
|
+
if (this$0.mem_1 == null) {
|
|
5423
5423
|
tmp = null;
|
|
5424
5424
|
} else {
|
|
5425
5425
|
// Inline function 'kotlin.let' call
|
|
5426
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
5426
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.mem_1)]));
|
|
5427
5427
|
}
|
|
5428
5428
|
var tmp1_elvis_lhs = tmp;
|
|
5429
5429
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -5456,7 +5456,7 @@
|
|
|
5456
5456
|
tmp_0.n6b(tmp$ret$3);
|
|
5457
5457
|
$this$DI.r67(jsonModule());
|
|
5458
5458
|
$this$DI.r67(serverHelpersModule());
|
|
5459
|
-
$this$DI.r67(randomOrgModule(this$0.
|
|
5459
|
+
$this$DI.r67(randomOrgModule(this$0.nem_1));
|
|
5460
5460
|
return Unit_instance;
|
|
5461
5461
|
};
|
|
5462
5462
|
}
|
|
@@ -5532,13 +5532,13 @@
|
|
|
5532
5532
|
};
|
|
5533
5533
|
}
|
|
5534
5534
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1($reducer) {
|
|
5535
|
-
this.
|
|
5535
|
+
this.wem_1 = $reducer;
|
|
5536
5536
|
}
|
|
5537
5537
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).g6u = function (action) {
|
|
5538
5538
|
return isInterface(action, Action);
|
|
5539
5539
|
};
|
|
5540
5540
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).x9w = function (state, action) {
|
|
5541
|
-
return this.
|
|
5541
|
+
return this.wem_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
5542
5542
|
};
|
|
5543
5543
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).y6v = function (state, action) {
|
|
5544
5544
|
return this.x9w((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
@@ -5632,7 +5632,7 @@
|
|
|
5632
5632
|
// Inline function 'kotlin.let' call
|
|
5633
5633
|
$this$DI.r67(tmp0_safe_receiver);
|
|
5634
5634
|
}
|
|
5635
|
-
$this$DI.r67(dealerModule(this$0.randomPoolProvider, this$0.
|
|
5635
|
+
$this$DI.r67(dealerModule(this$0.randomPoolProvider, this$0.nem_1));
|
|
5636
5636
|
$this$DI.r67(coreModule($coreConfig));
|
|
5637
5637
|
$this$DI.r67(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $externalReducers, $externalMiddlewares));
|
|
5638
5638
|
return Unit_instance;
|
|
@@ -5641,13 +5641,13 @@
|
|
|
5641
5641
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
5642
5642
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
5643
5643
|
production = production === VOID ? true : production;
|
|
5644
|
-
this.
|
|
5645
|
-
this.
|
|
5644
|
+
this.mem_1 = loggerCallback;
|
|
5645
|
+
this.nem_1 = randomOrgConfig;
|
|
5646
5646
|
AppEnvironment_getInstance().x71(production ? AppEnvironmentValue_PRODUCTION_getInstance() : AppEnvironmentValue_DEVELOPMENT_getInstance());
|
|
5647
5647
|
var tmp = this;
|
|
5648
|
-
tmp.
|
|
5648
|
+
tmp.oem_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
5649
5649
|
var tmp_0 = this;
|
|
5650
|
-
tmp_0.
|
|
5650
|
+
tmp_0.pem_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
5651
5651
|
var tmp_1 = this;
|
|
5652
5652
|
// Inline function 'org.kodein.di.instance' call
|
|
5653
5653
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -5656,7 +5656,7 @@
|
|
|
5656
5656
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5657
5657
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
5658
5658
|
var tmp_4 = KProperty1;
|
|
5659
|
-
tmp_1.
|
|
5659
|
+
tmp_1.qem_1 = tmp_3.k6d(this, getPropertyCallableRef('parser', 1, tmp_4, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w(), null));
|
|
5660
5660
|
var tmp_5 = this;
|
|
5661
5661
|
// Inline function 'org.kodein.di.instance' call
|
|
5662
5662
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -5665,7 +5665,7 @@
|
|
|
5665
5665
|
var tmp$ret$2 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
5666
5666
|
var tmp_7 = Instance(this_1, tmp$ret$2, null);
|
|
5667
5667
|
var tmp_8 = KProperty1;
|
|
5668
|
-
tmp_5.
|
|
5668
|
+
tmp_5.rem_1 = tmp_7.k6d(this, getPropertyCallableRef('helper', 1, tmp_8, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f(), null));
|
|
5669
5669
|
var tmp_9 = this;
|
|
5670
5670
|
// Inline function 'org.kodein.di.instance' call
|
|
5671
5671
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -5674,7 +5674,7 @@
|
|
|
5674
5674
|
var tmp$ret$4 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
5675
5675
|
var tmp_11 = Instance(this_2, tmp$ret$4, null);
|
|
5676
5676
|
var tmp_12 = KProperty1;
|
|
5677
|
-
tmp_9.
|
|
5677
|
+
tmp_9.sem_1 = tmp_11.k6d(this, getPropertyCallableRef('serverHelper', 1, tmp_12, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre(), null));
|
|
5678
5678
|
var tmp_13 = this;
|
|
5679
5679
|
// Inline function 'org.kodein.di.instance' call
|
|
5680
5680
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -5683,7 +5683,7 @@
|
|
|
5683
5683
|
var tmp$ret$6 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
5684
5684
|
var tmp_15 = Instance(this_3, tmp$ret$6, null);
|
|
5685
5685
|
var tmp_16 = KProperty1;
|
|
5686
|
-
tmp_13.
|
|
5686
|
+
tmp_13.tem_1 = tmp_15.k6d(this, getPropertyCallableRef('resources', 1, tmp_16, GameServerEngineControllerImpl$_get_resources_$ref_dt6416(), null));
|
|
5687
5687
|
var tmp_17 = this;
|
|
5688
5688
|
// Inline function 'org.kodein.di.instance' call
|
|
5689
5689
|
var this_4 = _get_di__ndbzja(this);
|
|
@@ -5692,7 +5692,7 @@
|
|
|
5692
5692
|
var tmp$ret$8 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
5693
5693
|
var tmp_19 = Instance(this_4, tmp$ret$8, null);
|
|
5694
5694
|
var tmp_20 = KProperty1;
|
|
5695
|
-
tmp_17.
|
|
5695
|
+
tmp_17.uem_1 = tmp_19.k6d(this, getPropertyCallableRef('test', 1, tmp_20, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5(), null));
|
|
5696
5696
|
var tmp_21 = this;
|
|
5697
5697
|
// Inline function 'org.kodein.di.instance' call
|
|
5698
5698
|
var this_5 = _get_di__ndbzja(this);
|
|
@@ -5701,45 +5701,45 @@
|
|
|
5701
5701
|
var tmp$ret$10 = isInterface(tmp_22, TypeToken) ? tmp_22 : THROW_CCE();
|
|
5702
5702
|
var tmp_23 = Instance(this_5, tmp$ret$10, null);
|
|
5703
5703
|
var tmp_24 = KProperty1;
|
|
5704
|
-
tmp_21.
|
|
5704
|
+
tmp_21.vem_1 = tmp_23.k6d(this, getPropertyCallableRef('randomPoolProvider', 1, tmp_24, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl(), null));
|
|
5705
5705
|
}
|
|
5706
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5707
|
-
var tmp0 = this.
|
|
5706
|
+
protoOf(GameServerEngineControllerImpl).rdz = function () {
|
|
5707
|
+
var tmp0 = this.qem_1;
|
|
5708
5708
|
var tmp = KProperty1;
|
|
5709
5709
|
// Inline function 'kotlin.getValue' call
|
|
5710
5710
|
getPropertyCallableRef('parser', 1, tmp, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w_0(), null);
|
|
5711
5711
|
return tmp0.u();
|
|
5712
5712
|
};
|
|
5713
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5714
|
-
var tmp0 = this.
|
|
5713
|
+
protoOf(GameServerEngineControllerImpl).hem = function () {
|
|
5714
|
+
var tmp0 = this.rem_1;
|
|
5715
5715
|
var tmp = KProperty1;
|
|
5716
5716
|
// Inline function 'kotlin.getValue' call
|
|
5717
5717
|
getPropertyCallableRef('helper', 1, tmp, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f_0(), null);
|
|
5718
5718
|
return tmp0.u();
|
|
5719
5719
|
};
|
|
5720
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5721
|
-
var tmp0 = this.
|
|
5720
|
+
protoOf(GameServerEngineControllerImpl).iem = function () {
|
|
5721
|
+
var tmp0 = this.sem_1;
|
|
5722
5722
|
var tmp = KProperty1;
|
|
5723
5723
|
// Inline function 'kotlin.getValue' call
|
|
5724
5724
|
getPropertyCallableRef('serverHelper', 1, tmp, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre_0(), null);
|
|
5725
5725
|
return tmp0.u();
|
|
5726
5726
|
};
|
|
5727
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5728
|
-
var tmp0 = this.
|
|
5727
|
+
protoOf(GameServerEngineControllerImpl).jem = function () {
|
|
5728
|
+
var tmp0 = this.tem_1;
|
|
5729
5729
|
var tmp = KProperty1;
|
|
5730
5730
|
// Inline function 'kotlin.getValue' call
|
|
5731
5731
|
getPropertyCallableRef('resources', 1, tmp, GameServerEngineControllerImpl$_get_resources_$ref_dt6416_0(), null);
|
|
5732
5732
|
return tmp0.u();
|
|
5733
5733
|
};
|
|
5734
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5735
|
-
var tmp0 = this.
|
|
5734
|
+
protoOf(GameServerEngineControllerImpl).gem = function () {
|
|
5735
|
+
var tmp0 = this.uem_1;
|
|
5736
5736
|
var tmp = KProperty1;
|
|
5737
5737
|
// Inline function 'kotlin.getValue' call
|
|
5738
5738
|
getPropertyCallableRef('test', 1, tmp, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5_0(), null);
|
|
5739
5739
|
return tmp0.u();
|
|
5740
5740
|
};
|
|
5741
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5742
|
-
var tmp0 = this.
|
|
5741
|
+
protoOf(GameServerEngineControllerImpl).kem = function () {
|
|
5742
|
+
var tmp0 = this.vem_1;
|
|
5743
5743
|
var tmp = KProperty1;
|
|
5744
5744
|
// Inline function 'kotlin.getValue' call
|
|
5745
5745
|
getPropertyCallableRef('randomPoolProvider', 1, tmp, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl_0(), null);
|
|
@@ -5751,7 +5751,7 @@
|
|
|
5751
5751
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
5752
5752
|
return this.createGameEngineWithLogic();
|
|
5753
5753
|
};
|
|
5754
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5754
|
+
protoOf(GameServerEngineControllerImpl).lem = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig) {
|
|
5755
5755
|
var combinedLogger = Companion_instance_6.zo();
|
|
5756
5756
|
var tmp;
|
|
5757
5757
|
if (coreConfig.fileLogsEnabled) {
|
|
@@ -5761,8 +5761,8 @@
|
|
|
5761
5761
|
}
|
|
5762
5762
|
var fileLoggerOutput = tmp;
|
|
5763
5763
|
var tmp_0;
|
|
5764
|
-
if (!(this.
|
|
5765
|
-
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.
|
|
5764
|
+
if (!(this.mem_1 == null)) {
|
|
5765
|
+
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.mem_1));
|
|
5766
5766
|
} else {
|
|
5767
5767
|
tmp_0 = null;
|
|
5768
5768
|
}
|
|
@@ -5823,7 +5823,7 @@
|
|
|
5823
5823
|
function TestHelper() {
|
|
5824
5824
|
}
|
|
5825
5825
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
5826
|
-
var tmp0 = $this.
|
|
5826
|
+
var tmp0 = $this.zem_1;
|
|
5827
5827
|
var tmp = KProperty1;
|
|
5828
5828
|
// Inline function 'kotlin.getValue' call
|
|
5829
5829
|
getPropertyCallableRef('playerAnswerInteractor', 1, tmp, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy_0(), null);
|
|
@@ -5831,7 +5831,7 @@
|
|
|
5831
5831
|
}
|
|
5832
5832
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
5833
5833
|
return function ($this$singleton) {
|
|
5834
|
-
return this$0.
|
|
5834
|
+
return this$0.xem_1;
|
|
5835
5835
|
};
|
|
5836
5836
|
}
|
|
5837
5837
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -5870,19 +5870,19 @@
|
|
|
5870
5870
|
return emptyMap();
|
|
5871
5871
|
}
|
|
5872
5872
|
function TestHelperImpl(logger) {
|
|
5873
|
-
this.
|
|
5873
|
+
this.xem_1 = logger;
|
|
5874
5874
|
var tmp = this;
|
|
5875
5875
|
var tmp_0 = Companion_instance_3;
|
|
5876
|
-
tmp.
|
|
5876
|
+
tmp.yem_1 = tmp_0.y67(VOID, TestHelperImpl$di$lambda(this));
|
|
5877
5877
|
var tmp_1 = this;
|
|
5878
5878
|
// Inline function 'org.kodein.di.instance' call
|
|
5879
|
-
var this_0 = this.
|
|
5879
|
+
var this_0 = this.yem_1;
|
|
5880
5880
|
// Inline function 'org.kodein.type.generic' call
|
|
5881
5881
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
5882
5882
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5883
5883
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
5884
5884
|
var tmp_4 = KProperty1;
|
|
5885
|
-
tmp_1.
|
|
5885
|
+
tmp_1.zem_1 = tmp_3.k6d(this, getPropertyCallableRef('playerAnswerInteractor', 1, tmp_4, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy(), null));
|
|
5886
5886
|
}
|
|
5887
5887
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
5888
5888
|
return _get_playerAnswerInteractor__msggz1(this).v99(playerId, table, botConfig);
|
|
@@ -6037,22 +6037,22 @@
|
|
|
6037
6037
|
});
|
|
6038
6038
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
6039
6039
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
6040
|
-
return this.
|
|
6040
|
+
return this.rdz();
|
|
6041
6041
|
});
|
|
6042
6042
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
6043
|
-
return this.
|
|
6043
|
+
return this.hem();
|
|
6044
6044
|
});
|
|
6045
6045
|
defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
|
|
6046
|
-
return this.
|
|
6046
|
+
return this.iem();
|
|
6047
6047
|
});
|
|
6048
6048
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
6049
|
-
return this.
|
|
6049
|
+
return this.jem();
|
|
6050
6050
|
});
|
|
6051
6051
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
6052
|
-
return this.
|
|
6052
|
+
return this.gem();
|
|
6053
6053
|
});
|
|
6054
6054
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
6055
|
-
return this.
|
|
6055
|
+
return this.kem();
|
|
6056
6056
|
});
|
|
6057
6057
|
//endregion
|
|
6058
6058
|
//region block: init
|