client_plugin_logic_deb 1.8.358 → 1.8.360
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 +2252 -2252
- package/Logic_Debertz-client_plugin.js.map +1 -1
- package/Logic_Debertz-core.js +3 -3
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-game_client.js +7429 -6872
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js +699 -699
- package/kotlinx-coroutines-core.js +8 -8
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -357,10 +357,10 @@
|
|
|
357
357
|
spectators = tmp;
|
|
358
358
|
var tmp_0;
|
|
359
359
|
if ($super === VOID) {
|
|
360
|
-
this.
|
|
360
|
+
this.bew(roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
361
361
|
tmp_0 = Unit_instance;
|
|
362
362
|
} else {
|
|
363
|
-
tmp_0 = $super.
|
|
363
|
+
tmp_0 = $super.bew.call(this, roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
364
364
|
}
|
|
365
365
|
return tmp_0;
|
|
366
366
|
}
|
|
@@ -368,10 +368,10 @@
|
|
|
368
368
|
newRid = newRid === VOID ? null : newRid;
|
|
369
369
|
var tmp;
|
|
370
370
|
if ($super === VOID) {
|
|
371
|
-
this.
|
|
371
|
+
this.cew(newRid);
|
|
372
372
|
tmp = Unit_instance;
|
|
373
373
|
} else {
|
|
374
|
-
tmp = $super.
|
|
374
|
+
tmp = $super.cew.call(this, newRid);
|
|
375
375
|
}
|
|
376
376
|
return tmp;
|
|
377
377
|
}
|
|
@@ -379,10 +379,10 @@
|
|
|
379
379
|
roomId = roomId === VOID ? null : roomId;
|
|
380
380
|
var tmp;
|
|
381
381
|
if ($super === VOID) {
|
|
382
|
-
this.
|
|
382
|
+
this.dew(reason, roomId);
|
|
383
383
|
tmp = Unit_instance;
|
|
384
384
|
} else {
|
|
385
|
-
tmp = $super.
|
|
385
|
+
tmp = $super.dew.call(this, reason, roomId);
|
|
386
386
|
}
|
|
387
387
|
return tmp;
|
|
388
388
|
}
|
|
@@ -446,7 +446,7 @@
|
|
|
446
446
|
logicConfig = logicConfig === VOID ? new EngineLogicConfig() : logicConfig;
|
|
447
447
|
dealerConfig = dealerConfig === VOID ? new DealerConfig() : dealerConfig;
|
|
448
448
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
449
|
-
return $super === VOID ? this.
|
|
449
|
+
return $super === VOID ? this.cf1(reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig) : $super.cf1.call(this, reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig);
|
|
450
450
|
}
|
|
451
451
|
initMetadataForInterface(GameEngineController, 'GameEngineController');
|
|
452
452
|
initMetadataForClass(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1, VOID, VOID, VOID, [Reducer]);
|
|
@@ -457,17 +457,17 @@
|
|
|
457
457
|
initMetadataForClass(TestHelperImpl, 'TestHelperImpl', VOID, VOID, [TestHelper]);
|
|
458
458
|
//endregion
|
|
459
459
|
function GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation) {
|
|
460
|
-
this.
|
|
460
|
+
this.wee_1 = $subscriber;
|
|
461
461
|
CoroutineImpl.call(this, resultContinuation);
|
|
462
462
|
}
|
|
463
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
464
|
-
var tmp = this.
|
|
463
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).yee = function (it, $completion) {
|
|
464
|
+
var tmp = this.zee(it, $completion);
|
|
465
465
|
tmp.n9_1 = Unit_instance;
|
|
466
466
|
tmp.o9_1 = null;
|
|
467
467
|
return tmp.t9();
|
|
468
468
|
};
|
|
469
469
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).da = function (p1, $completion) {
|
|
470
|
-
return this.
|
|
470
|
+
return this.yee(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
|
|
471
471
|
};
|
|
472
472
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).t9 = function () {
|
|
473
473
|
var suspendResult = this.n9_1;
|
|
@@ -476,7 +476,7 @@
|
|
|
476
476
|
var tmp = this.l9_1;
|
|
477
477
|
if (tmp === 0) {
|
|
478
478
|
this.m9_1 = 1;
|
|
479
|
-
this.
|
|
479
|
+
this.wee_1(this.xee_1);
|
|
480
480
|
return Unit_instance;
|
|
481
481
|
} else if (tmp === 1) {
|
|
482
482
|
throw this.o9_1;
|
|
@@ -487,31 +487,31 @@
|
|
|
487
487
|
}
|
|
488
488
|
while (true);
|
|
489
489
|
};
|
|
490
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
491
|
-
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.
|
|
492
|
-
i.
|
|
490
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).zee = function (it, completion) {
|
|
491
|
+
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.wee_1, completion);
|
|
492
|
+
i.xee_1 = it;
|
|
493
493
|
return i;
|
|
494
494
|
};
|
|
495
495
|
function GameServer$subscribeToClientAction$slambda$slambda_0($subscriber, resultContinuation) {
|
|
496
496
|
var i = new GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation);
|
|
497
497
|
var l = function (it, $completion) {
|
|
498
|
-
return i.
|
|
498
|
+
return i.yee(it, $completion);
|
|
499
499
|
};
|
|
500
500
|
l.$arity = 1;
|
|
501
501
|
return l;
|
|
502
502
|
}
|
|
503
503
|
function GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation) {
|
|
504
|
-
this.
|
|
504
|
+
this.ief_1 = $subscriber;
|
|
505
505
|
CoroutineImpl.call(this, resultContinuation);
|
|
506
506
|
}
|
|
507
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
508
|
-
var tmp = this.
|
|
507
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).kef = function (it, $completion) {
|
|
508
|
+
var tmp = this.lef(it, $completion);
|
|
509
509
|
tmp.n9_1 = Unit_instance;
|
|
510
510
|
tmp.o9_1 = null;
|
|
511
511
|
return tmp.t9();
|
|
512
512
|
};
|
|
513
513
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).da = function (p1, $completion) {
|
|
514
|
-
return this.
|
|
514
|
+
return this.kef((!(p1 == null) ? isInterface(p1, ServerStateUpdate) : false) ? p1 : THROW_CCE(), $completion);
|
|
515
515
|
};
|
|
516
516
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).t9 = function () {
|
|
517
517
|
var suspendResult = this.n9_1;
|
|
@@ -520,7 +520,7 @@
|
|
|
520
520
|
var tmp = this.l9_1;
|
|
521
521
|
if (tmp === 0) {
|
|
522
522
|
this.m9_1 = 1;
|
|
523
|
-
this.
|
|
523
|
+
this.ief_1(this.jef_1);
|
|
524
524
|
return Unit_instance;
|
|
525
525
|
} else if (tmp === 1) {
|
|
526
526
|
throw this.o9_1;
|
|
@@ -531,22 +531,22 @@
|
|
|
531
531
|
}
|
|
532
532
|
while (true);
|
|
533
533
|
};
|
|
534
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
535
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.
|
|
536
|
-
i.
|
|
534
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).lef = function (it, completion) {
|
|
535
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.ief_1, completion);
|
|
536
|
+
i.jef_1 = it;
|
|
537
537
|
return i;
|
|
538
538
|
};
|
|
539
539
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_0($subscriber, resultContinuation) {
|
|
540
540
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation);
|
|
541
541
|
var l = function (it, $completion) {
|
|
542
|
-
return i.
|
|
542
|
+
return i.kef(it, $completion);
|
|
543
543
|
};
|
|
544
544
|
l.$arity = 1;
|
|
545
545
|
return l;
|
|
546
546
|
}
|
|
547
547
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
|
|
548
|
-
this.
|
|
549
|
-
this.
|
|
548
|
+
this.uef_1 = $$this$unsafeFlow;
|
|
549
|
+
this.vef_1 = this$0;
|
|
550
550
|
CoroutineImpl.call(this, resultContinuation);
|
|
551
551
|
}
|
|
552
552
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).h1s = function (value, $completion) {
|
|
@@ -567,14 +567,14 @@
|
|
|
567
567
|
case 0:
|
|
568
568
|
this.m9_1 = 2;
|
|
569
569
|
var tmp_0 = this;
|
|
570
|
-
tmp_0.
|
|
570
|
+
tmp_0.xef_1 = this.uef_1;
|
|
571
571
|
var tmp_1 = this;
|
|
572
|
-
tmp_1.
|
|
573
|
-
this.
|
|
574
|
-
this.
|
|
572
|
+
tmp_1.yef_1 = this.wef_1;
|
|
573
|
+
this.zef_1 = this.xef_1;
|
|
574
|
+
this.aeg_1 = this.yef_1;
|
|
575
575
|
this.l9_1 = 1;
|
|
576
|
-
var it = this.
|
|
577
|
-
suspendResult = this.
|
|
576
|
+
var it = this.aeg_1;
|
|
577
|
+
suspendResult = this.zef_1.g1c(mapToDto_1(it, _get_encoderDecoderProvider__qqgrji(this.vef_1)), this);
|
|
578
578
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
579
579
|
return suspendResult;
|
|
580
580
|
}
|
|
@@ -597,8 +597,8 @@
|
|
|
597
597
|
while (true);
|
|
598
598
|
};
|
|
599
599
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).i1s = function (value, completion) {
|
|
600
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.
|
|
601
|
-
i.
|
|
600
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.uef_1, this.vef_1, completion);
|
|
601
|
+
i.wef_1 = value;
|
|
602
602
|
return i;
|
|
603
603
|
};
|
|
604
604
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
@@ -611,8 +611,8 @@
|
|
|
611
611
|
}
|
|
612
612
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
613
613
|
CoroutineImpl.call(this, resultContinuation);
|
|
614
|
-
this.
|
|
615
|
-
this.
|
|
614
|
+
this.jeg_1 = _this__u8e3s4;
|
|
615
|
+
this.keg_1 = collector;
|
|
616
616
|
}
|
|
617
617
|
protoOf($collectCOROUTINE$).t9 = function () {
|
|
618
618
|
var suspendResult = this.n9_1;
|
|
@@ -623,11 +623,11 @@
|
|
|
623
623
|
case 0:
|
|
624
624
|
this.m9_1 = 2;
|
|
625
625
|
var tmp_0 = this;
|
|
626
|
-
tmp_0.
|
|
627
|
-
this.
|
|
626
|
+
tmp_0.leg_1 = this.keg_1;
|
|
627
|
+
this.meg_1 = this.leg_1;
|
|
628
628
|
this.l9_1 = 1;
|
|
629
|
-
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0(this.
|
|
630
|
-
suspendResult = this.
|
|
629
|
+
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0(this.meg_1, this.jeg_1.oeg_1, null);
|
|
630
|
+
suspendResult = this.jeg_1.neg_1.b1b(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
631
631
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
632
632
|
return suspendResult;
|
|
633
633
|
}
|
|
@@ -650,8 +650,8 @@
|
|
|
650
650
|
while (true);
|
|
651
651
|
};
|
|
652
652
|
function GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1($this, this$0) {
|
|
653
|
-
this.
|
|
654
|
-
this.
|
|
653
|
+
this.neg_1 = $this;
|
|
654
|
+
this.oeg_1 = this$0;
|
|
655
655
|
}
|
|
656
656
|
protoOf(GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1).h1c = function (collector, $completion) {
|
|
657
657
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
@@ -663,17 +663,17 @@
|
|
|
663
663
|
return this.h1c(collector, $completion);
|
|
664
664
|
};
|
|
665
665
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation) {
|
|
666
|
-
this.
|
|
666
|
+
this.xeg_1 = $subscriber;
|
|
667
667
|
CoroutineImpl.call(this, resultContinuation);
|
|
668
668
|
}
|
|
669
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
670
|
-
var tmp = this.
|
|
669
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).zeg = function (it, $completion) {
|
|
670
|
+
var tmp = this.aeh(it, $completion);
|
|
671
671
|
tmp.n9_1 = Unit_instance;
|
|
672
672
|
tmp.o9_1 = null;
|
|
673
673
|
return tmp.t9();
|
|
674
674
|
};
|
|
675
675
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).da = function (p1, $completion) {
|
|
676
|
-
return this.
|
|
676
|
+
return this.zeg((!(p1 == null) ? isInterface(p1, ServerStateUpdateDto) : false) ? p1 : THROW_CCE(), $completion);
|
|
677
677
|
};
|
|
678
678
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).t9 = function () {
|
|
679
679
|
var suspendResult = this.n9_1;
|
|
@@ -682,7 +682,7 @@
|
|
|
682
682
|
var tmp = this.l9_1;
|
|
683
683
|
if (tmp === 0) {
|
|
684
684
|
this.m9_1 = 1;
|
|
685
|
-
this.
|
|
685
|
+
this.xeg_1(this.yeg_1);
|
|
686
686
|
return Unit_instance;
|
|
687
687
|
} else if (tmp === 1) {
|
|
688
688
|
throw this.o9_1;
|
|
@@ -693,21 +693,21 @@
|
|
|
693
693
|
}
|
|
694
694
|
while (true);
|
|
695
695
|
};
|
|
696
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
697
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.
|
|
698
|
-
i.
|
|
696
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).aeh = function (it, completion) {
|
|
697
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.xeg_1, completion);
|
|
698
|
+
i.yeg_1 = it;
|
|
699
699
|
return i;
|
|
700
700
|
};
|
|
701
701
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda_0($subscriber, resultContinuation) {
|
|
702
702
|
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation);
|
|
703
703
|
var l = function (it, $completion) {
|
|
704
|
-
return i.
|
|
704
|
+
return i.zeg(it, $completion);
|
|
705
705
|
};
|
|
706
706
|
l.$arity = 1;
|
|
707
707
|
return l;
|
|
708
708
|
}
|
|
709
709
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
710
|
-
this.
|
|
710
|
+
this.jeh_1 = $$this$unsafeFlow;
|
|
711
711
|
CoroutineImpl.call(this, resultContinuation);
|
|
712
712
|
}
|
|
713
713
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).h1s = function (value, $completion) {
|
|
@@ -728,14 +728,14 @@
|
|
|
728
728
|
case 0:
|
|
729
729
|
this.m9_1 = 2;
|
|
730
730
|
var tmp_0 = this;
|
|
731
|
-
tmp_0.
|
|
731
|
+
tmp_0.leh_1 = this.jeh_1;
|
|
732
732
|
var tmp_1 = this;
|
|
733
|
-
tmp_1.
|
|
734
|
-
this.
|
|
735
|
-
this.
|
|
733
|
+
tmp_1.meh_1 = this.keh_1;
|
|
734
|
+
this.neh_1 = this.leh_1;
|
|
735
|
+
this.oeh_1 = this.meh_1;
|
|
736
736
|
this.l9_1 = 1;
|
|
737
|
-
var actions = this.
|
|
738
|
-
suspendResult = this.
|
|
737
|
+
var actions = this.oeh_1;
|
|
738
|
+
suspendResult = this.neh_1.g1c(new ActionsStateUpdate(actions), this);
|
|
739
739
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
740
740
|
return suspendResult;
|
|
741
741
|
}
|
|
@@ -758,8 +758,8 @@
|
|
|
758
758
|
while (true);
|
|
759
759
|
};
|
|
760
760
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).i1s = function (value, completion) {
|
|
761
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.
|
|
762
|
-
i.
|
|
761
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.jeh_1, completion);
|
|
762
|
+
i.keh_1 = value;
|
|
763
763
|
return i;
|
|
764
764
|
};
|
|
765
765
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -772,8 +772,8 @@
|
|
|
772
772
|
}
|
|
773
773
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
774
774
|
CoroutineImpl.call(this, resultContinuation);
|
|
775
|
-
this.
|
|
776
|
-
this.
|
|
775
|
+
this.xeh_1 = _this__u8e3s4;
|
|
776
|
+
this.yeh_1 = collector;
|
|
777
777
|
}
|
|
778
778
|
protoOf($collectCOROUTINE$_0).t9 = function () {
|
|
779
779
|
var suspendResult = this.n9_1;
|
|
@@ -784,11 +784,11 @@
|
|
|
784
784
|
case 0:
|
|
785
785
|
this.m9_1 = 2;
|
|
786
786
|
var tmp_0 = this;
|
|
787
|
-
tmp_0.
|
|
788
|
-
this.
|
|
787
|
+
tmp_0.zeh_1 = this.yeh_1;
|
|
788
|
+
this.aei_1 = this.zeh_1;
|
|
789
789
|
this.l9_1 = 1;
|
|
790
|
-
var tmp_1 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0(this.
|
|
791
|
-
suspendResult = this.
|
|
790
|
+
var tmp_1 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0(this.aei_1, null);
|
|
791
|
+
suspendResult = this.xeh_1.bei_1.b1b(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_1), this);
|
|
792
792
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
793
793
|
return suspendResult;
|
|
794
794
|
}
|
|
@@ -811,7 +811,7 @@
|
|
|
811
811
|
while (true);
|
|
812
812
|
};
|
|
813
813
|
function _no_name_provided__qut3iv($this) {
|
|
814
|
-
this.
|
|
814
|
+
this.bei_1 = $this;
|
|
815
815
|
}
|
|
816
816
|
protoOf(_no_name_provided__qut3iv).h1c = function (collector, $completion) {
|
|
817
817
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
@@ -823,18 +823,18 @@
|
|
|
823
823
|
return this.h1c(collector, $completion);
|
|
824
824
|
};
|
|
825
825
|
function GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation) {
|
|
826
|
-
this.
|
|
827
|
-
this.
|
|
826
|
+
this.kei_1 = $table;
|
|
827
|
+
this.lei_1 = this$0;
|
|
828
828
|
CoroutineImpl.call(this, resultContinuation);
|
|
829
829
|
}
|
|
830
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
831
|
-
var tmp = this.
|
|
830
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).nei = function ($this$flow, $completion) {
|
|
831
|
+
var tmp = this.oei($this$flow, $completion);
|
|
832
832
|
tmp.n9_1 = Unit_instance;
|
|
833
833
|
tmp.o9_1 = null;
|
|
834
834
|
return tmp.t9();
|
|
835
835
|
};
|
|
836
836
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).da = function (p1, $completion) {
|
|
837
|
-
return this.
|
|
837
|
+
return this.nei((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
838
838
|
};
|
|
839
839
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).t9 = function () {
|
|
840
840
|
var suspendResult = this.n9_1;
|
|
@@ -845,7 +845,7 @@
|
|
|
845
845
|
case 0:
|
|
846
846
|
this.m9_1 = 3;
|
|
847
847
|
this.l9_1 = 1;
|
|
848
|
-
suspendResult = this.
|
|
848
|
+
suspendResult = this.mei_1.g1c(new TableStateUpdate(this.kei_1), this);
|
|
849
849
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
850
850
|
return suspendResult;
|
|
851
851
|
}
|
|
@@ -853,8 +853,8 @@
|
|
|
853
853
|
continue $sm;
|
|
854
854
|
case 1:
|
|
855
855
|
this.l9_1 = 2;
|
|
856
|
-
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.
|
|
857
|
-
suspendResult = emitAll(this.
|
|
856
|
+
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.lei_1).s9d(), toLong(_get_serverReduxConfig__rprcrm(this.lei_1).serverStateUpdateIntervalMillis));
|
|
857
|
+
suspendResult = emitAll(this.mei_1, new _no_name_provided__qut3iv(this_0), this);
|
|
858
858
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
859
859
|
return suspendResult;
|
|
860
860
|
}
|
|
@@ -876,21 +876,21 @@
|
|
|
876
876
|
}
|
|
877
877
|
while (true);
|
|
878
878
|
};
|
|
879
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
880
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.
|
|
881
|
-
i.
|
|
879
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).oei = function ($this$flow, completion) {
|
|
880
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.kei_1, this.lei_1, completion);
|
|
881
|
+
i.mei_1 = $this$flow;
|
|
882
882
|
return i;
|
|
883
883
|
};
|
|
884
884
|
function GameServer$observeTableStateUpdates$slambda$slambda_0($table, this$0, resultContinuation) {
|
|
885
885
|
var i = new GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation);
|
|
886
886
|
var l = function ($this$flow, $completion) {
|
|
887
|
-
return i.
|
|
887
|
+
return i.nei($this$flow, $completion);
|
|
888
888
|
};
|
|
889
889
|
l.$arity = 1;
|
|
890
890
|
return l;
|
|
891
891
|
}
|
|
892
892
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
893
|
-
this.
|
|
893
|
+
this.xei_1 = $$this$unsafeFlow;
|
|
894
894
|
CoroutineImpl.call(this, resultContinuation);
|
|
895
895
|
}
|
|
896
896
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).h1s = function (value, $completion) {
|
|
@@ -911,38 +911,38 @@
|
|
|
911
911
|
case 0:
|
|
912
912
|
this.m9_1 = 5;
|
|
913
913
|
var tmp_0 = this;
|
|
914
|
-
tmp_0.
|
|
914
|
+
tmp_0.zei_1 = this.xei_1;
|
|
915
915
|
var tmp_1 = this;
|
|
916
|
-
tmp_1.
|
|
916
|
+
tmp_1.aej_1 = this.yei_1;
|
|
917
917
|
this.l9_1 = 1;
|
|
918
918
|
continue $sm;
|
|
919
919
|
case 1:
|
|
920
|
-
this.
|
|
921
|
-
this.
|
|
920
|
+
this.cej_1 = this.zei_1;
|
|
921
|
+
this.dej_1 = this.aej_1;
|
|
922
922
|
var tmp_2 = this;
|
|
923
|
-
tmp_2.
|
|
924
|
-
if (this.
|
|
925
|
-
this.
|
|
923
|
+
tmp_2.eej_1 = this.dej_1.e77_1;
|
|
924
|
+
if (this.eej_1 == null) {
|
|
925
|
+
this.bej_1 = Unit_instance;
|
|
926
926
|
this.l9_1 = 4;
|
|
927
927
|
var tmp_3 = this;
|
|
928
928
|
continue $sm;
|
|
929
929
|
} else {
|
|
930
|
-
this.
|
|
930
|
+
this.fej_1 = this.eej_1;
|
|
931
931
|
this.l9_1 = 2;
|
|
932
932
|
continue $sm;
|
|
933
933
|
}
|
|
934
934
|
|
|
935
935
|
case 2:
|
|
936
|
-
this.
|
|
936
|
+
this.gej_1 = this.fej_1;
|
|
937
937
|
this.l9_1 = 3;
|
|
938
|
-
suspendResult = this.
|
|
938
|
+
suspendResult = this.cej_1.g1c(this.gej_1, this);
|
|
939
939
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
940
940
|
return suspendResult;
|
|
941
941
|
}
|
|
942
942
|
|
|
943
943
|
continue $sm;
|
|
944
944
|
case 3:
|
|
945
|
-
this.
|
|
945
|
+
this.bej_1 = suspendResult;
|
|
946
946
|
if (false) {
|
|
947
947
|
this.l9_1 = 1;
|
|
948
948
|
continue $sm;
|
|
@@ -967,8 +967,8 @@
|
|
|
967
967
|
while (true);
|
|
968
968
|
};
|
|
969
969
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).i1s = function (value, completion) {
|
|
970
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.
|
|
971
|
-
i.
|
|
970
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.xei_1, completion);
|
|
971
|
+
i.yei_1 = value;
|
|
972
972
|
return i;
|
|
973
973
|
};
|
|
974
974
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -981,8 +981,8 @@
|
|
|
981
981
|
}
|
|
982
982
|
function $collectCOROUTINE$_1(_this__u8e3s4, collector, resultContinuation) {
|
|
983
983
|
CoroutineImpl.call(this, resultContinuation);
|
|
984
|
-
this.
|
|
985
|
-
this.
|
|
984
|
+
this.pej_1 = _this__u8e3s4;
|
|
985
|
+
this.qej_1 = collector;
|
|
986
986
|
}
|
|
987
987
|
protoOf($collectCOROUTINE$_1).t9 = function () {
|
|
988
988
|
var suspendResult = this.n9_1;
|
|
@@ -993,11 +993,11 @@
|
|
|
993
993
|
case 0:
|
|
994
994
|
this.m9_1 = 2;
|
|
995
995
|
var tmp_0 = this;
|
|
996
|
-
tmp_0.
|
|
997
|
-
this.
|
|
996
|
+
tmp_0.rej_1 = this.qej_1;
|
|
997
|
+
this.sej_1 = this.rej_1;
|
|
998
998
|
this.l9_1 = 1;
|
|
999
|
-
var tmp_1 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0(this.
|
|
1000
|
-
suspendResult = this.
|
|
999
|
+
var tmp_1 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0(this.sej_1, null);
|
|
1000
|
+
suspendResult = this.pej_1.tej_1.b1b(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_1), this);
|
|
1001
1001
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1002
1002
|
return suspendResult;
|
|
1003
1003
|
}
|
|
@@ -1020,7 +1020,7 @@
|
|
|
1020
1020
|
while (true);
|
|
1021
1021
|
};
|
|
1022
1022
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_1($$this$unsafeFlow, resultContinuation) {
|
|
1023
|
-
this.
|
|
1023
|
+
this.cek_1 = $$this$unsafeFlow;
|
|
1024
1024
|
CoroutineImpl.call(this, resultContinuation);
|
|
1025
1025
|
}
|
|
1026
1026
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).h1s = function (value, $completion) {
|
|
@@ -1041,14 +1041,14 @@
|
|
|
1041
1041
|
case 0:
|
|
1042
1042
|
this.m9_1 = 2;
|
|
1043
1043
|
var tmp_0 = this;
|
|
1044
|
-
tmp_0.
|
|
1044
|
+
tmp_0.eek_1 = this.cek_1;
|
|
1045
1045
|
var tmp_1 = this;
|
|
1046
|
-
tmp_1.
|
|
1047
|
-
this.
|
|
1048
|
-
this.
|
|
1046
|
+
tmp_1.fek_1 = this.dek_1;
|
|
1047
|
+
this.gek_1 = this.eek_1;
|
|
1048
|
+
this.hek_1 = this.fek_1;
|
|
1049
1049
|
this.l9_1 = 1;
|
|
1050
|
-
var table = this.
|
|
1051
|
-
suspendResult = this.
|
|
1050
|
+
var table = this.hek_1;
|
|
1051
|
+
suspendResult = this.gek_1.g1c(to(table.gameInfo.roundNumberTotal, table), this);
|
|
1052
1052
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1053
1053
|
return suspendResult;
|
|
1054
1054
|
}
|
|
@@ -1071,8 +1071,8 @@
|
|
|
1071
1071
|
while (true);
|
|
1072
1072
|
};
|
|
1073
1073
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).i1s = function (value, completion) {
|
|
1074
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.
|
|
1075
|
-
i.
|
|
1074
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.cek_1, completion);
|
|
1075
|
+
i.dek_1 = value;
|
|
1076
1076
|
return i;
|
|
1077
1077
|
};
|
|
1078
1078
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1085,8 +1085,8 @@
|
|
|
1085
1085
|
}
|
|
1086
1086
|
function $collectCOROUTINE$_2(_this__u8e3s4, collector, resultContinuation) {
|
|
1087
1087
|
CoroutineImpl.call(this, resultContinuation);
|
|
1088
|
-
this.
|
|
1089
|
-
this.
|
|
1088
|
+
this.qek_1 = _this__u8e3s4;
|
|
1089
|
+
this.rek_1 = collector;
|
|
1090
1090
|
}
|
|
1091
1091
|
protoOf($collectCOROUTINE$_2).t9 = function () {
|
|
1092
1092
|
var suspendResult = this.n9_1;
|
|
@@ -1097,11 +1097,11 @@
|
|
|
1097
1097
|
case 0:
|
|
1098
1098
|
this.m9_1 = 2;
|
|
1099
1099
|
var tmp_0 = this;
|
|
1100
|
-
tmp_0.
|
|
1101
|
-
this.
|
|
1100
|
+
tmp_0.sek_1 = this.rek_1;
|
|
1101
|
+
this.tek_1 = this.sek_1;
|
|
1102
1102
|
this.l9_1 = 1;
|
|
1103
|
-
var tmp_1 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_2(this.
|
|
1104
|
-
suspendResult = this.
|
|
1103
|
+
var tmp_1 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_2(this.tek_1, null);
|
|
1104
|
+
suspendResult = this.qek_1.uek_1.b1b(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_1), this);
|
|
1105
1105
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1106
1106
|
return suspendResult;
|
|
1107
1107
|
}
|
|
@@ -1124,7 +1124,7 @@
|
|
|
1124
1124
|
while (true);
|
|
1125
1125
|
};
|
|
1126
1126
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_3($$this$unsafeFlow, resultContinuation) {
|
|
1127
|
-
this.
|
|
1127
|
+
this.del_1 = $$this$unsafeFlow;
|
|
1128
1128
|
CoroutineImpl.call(this, resultContinuation);
|
|
1129
1129
|
}
|
|
1130
1130
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).h1s = function (value, $completion) {
|
|
@@ -1145,14 +1145,14 @@
|
|
|
1145
1145
|
case 0:
|
|
1146
1146
|
this.m9_1 = 2;
|
|
1147
1147
|
var tmp_0 = this;
|
|
1148
|
-
tmp_0.
|
|
1148
|
+
tmp_0.fel_1 = this.del_1;
|
|
1149
1149
|
var tmp_1 = this;
|
|
1150
|
-
tmp_1.
|
|
1151
|
-
this.
|
|
1152
|
-
this.
|
|
1150
|
+
tmp_1.gel_1 = this.eel_1;
|
|
1151
|
+
this.hel_1 = this.fel_1;
|
|
1152
|
+
this.iel_1 = this.gel_1;
|
|
1153
1153
|
this.l9_1 = 1;
|
|
1154
|
-
var it = this.
|
|
1155
|
-
suspendResult = this.
|
|
1154
|
+
var it = this.iel_1;
|
|
1155
|
+
suspendResult = this.hel_1.g1c(it.jf_1, this);
|
|
1156
1156
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1157
1157
|
return suspendResult;
|
|
1158
1158
|
}
|
|
@@ -1175,8 +1175,8 @@
|
|
|
1175
1175
|
while (true);
|
|
1176
1176
|
};
|
|
1177
1177
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).i1s = function (value, completion) {
|
|
1178
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.
|
|
1179
|
-
i.
|
|
1178
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.del_1, completion);
|
|
1179
|
+
i.eel_1 = value;
|
|
1180
1180
|
return i;
|
|
1181
1181
|
};
|
|
1182
1182
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1189,8 +1189,8 @@
|
|
|
1189
1189
|
}
|
|
1190
1190
|
function $collectCOROUTINE$_3(_this__u8e3s4, collector, resultContinuation) {
|
|
1191
1191
|
CoroutineImpl.call(this, resultContinuation);
|
|
1192
|
-
this.
|
|
1193
|
-
this.
|
|
1192
|
+
this.rel_1 = _this__u8e3s4;
|
|
1193
|
+
this.sel_1 = collector;
|
|
1194
1194
|
}
|
|
1195
1195
|
protoOf($collectCOROUTINE$_3).t9 = function () {
|
|
1196
1196
|
var suspendResult = this.n9_1;
|
|
@@ -1201,11 +1201,11 @@
|
|
|
1201
1201
|
case 0:
|
|
1202
1202
|
this.m9_1 = 2;
|
|
1203
1203
|
var tmp_0 = this;
|
|
1204
|
-
tmp_0.
|
|
1205
|
-
this.
|
|
1204
|
+
tmp_0.tel_1 = this.sel_1;
|
|
1205
|
+
this.uel_1 = this.tel_1;
|
|
1206
1206
|
this.l9_1 = 1;
|
|
1207
|
-
var tmp_1 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_4(this.
|
|
1208
|
-
suspendResult = this.
|
|
1207
|
+
var tmp_1 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_4(this.uel_1, null);
|
|
1208
|
+
suspendResult = this.rel_1.vel_1.b1b(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_1), this);
|
|
1209
1209
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1210
1210
|
return suspendResult;
|
|
1211
1211
|
}
|
|
@@ -1228,17 +1228,17 @@
|
|
|
1228
1228
|
while (true);
|
|
1229
1229
|
};
|
|
1230
1230
|
function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
|
|
1231
|
-
this.
|
|
1231
|
+
this.eem_1 = $subscriber;
|
|
1232
1232
|
CoroutineImpl.call(this, resultContinuation);
|
|
1233
1233
|
}
|
|
1234
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1235
|
-
var tmp = this.
|
|
1234
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).gem = function (it, $completion) {
|
|
1235
|
+
var tmp = this.hem(it, $completion);
|
|
1236
1236
|
tmp.n9_1 = Unit_instance;
|
|
1237
1237
|
tmp.o9_1 = null;
|
|
1238
1238
|
return tmp.t9();
|
|
1239
1239
|
};
|
|
1240
1240
|
protoOf(GameServer$subscribeWith$slambda$slambda).da = function (p1, $completion) {
|
|
1241
|
-
return this.
|
|
1241
|
+
return this.gem(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
|
|
1242
1242
|
};
|
|
1243
1243
|
protoOf(GameServer$subscribeWith$slambda$slambda).t9 = function () {
|
|
1244
1244
|
var suspendResult = this.n9_1;
|
|
@@ -1247,7 +1247,7 @@
|
|
|
1247
1247
|
var tmp = this.l9_1;
|
|
1248
1248
|
if (tmp === 0) {
|
|
1249
1249
|
this.m9_1 = 1;
|
|
1250
|
-
this.
|
|
1250
|
+
this.eem_1(this.fem_1);
|
|
1251
1251
|
return Unit_instance;
|
|
1252
1252
|
} else if (tmp === 1) {
|
|
1253
1253
|
throw this.o9_1;
|
|
@@ -1258,83 +1258,83 @@
|
|
|
1258
1258
|
}
|
|
1259
1259
|
while (true);
|
|
1260
1260
|
};
|
|
1261
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1262
|
-
var i = new GameServer$subscribeWith$slambda$slambda(this.
|
|
1263
|
-
i.
|
|
1261
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).hem = function (it, completion) {
|
|
1262
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.eem_1, completion);
|
|
1263
|
+
i.fem_1 = it;
|
|
1264
1264
|
return i;
|
|
1265
1265
|
};
|
|
1266
1266
|
function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
|
|
1267
1267
|
var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
|
|
1268
1268
|
var l = function (it, $completion) {
|
|
1269
|
-
return i.
|
|
1269
|
+
return i.gem(it, $completion);
|
|
1270
1270
|
};
|
|
1271
1271
|
l.$arity = 1;
|
|
1272
1272
|
return l;
|
|
1273
1273
|
}
|
|
1274
1274
|
function GameServer$roomOnCreate$2$updatedUsers$previousTeams$1($playerId) {
|
|
1275
|
-
this.
|
|
1275
|
+
this.iem_1 = $playerId;
|
|
1276
1276
|
}
|
|
1277
1277
|
protoOf(GameServer$roomOnCreate$2$updatedUsers$previousTeams$1).v6o = function () {
|
|
1278
|
-
return this.
|
|
1278
|
+
return this.iem_1;
|
|
1279
1279
|
};
|
|
1280
1280
|
function _get_logger__rkp4sl($this) {
|
|
1281
|
-
var tmp0 = $this.
|
|
1281
|
+
var tmp0 = $this.lem_1;
|
|
1282
1282
|
var tmp = KProperty1;
|
|
1283
1283
|
// Inline function 'kotlin.getValue' call
|
|
1284
1284
|
getPropertyCallableRef('logger', 1, tmp, GameServer$_get_logger_$ref_fogce1_0(), null);
|
|
1285
1285
|
return tmp0.u();
|
|
1286
1286
|
}
|
|
1287
1287
|
function _get_toClientEventsObserver__6rp51y($this) {
|
|
1288
|
-
var tmp0 = $this.
|
|
1288
|
+
var tmp0 = $this.mem_1;
|
|
1289
1289
|
var tmp = KProperty1;
|
|
1290
1290
|
// Inline function 'kotlin.getValue' call
|
|
1291
1291
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, GameServer$_get_toClientEventsObserver_$ref_utir8s_0(), null);
|
|
1292
1292
|
return tmp0.u();
|
|
1293
1293
|
}
|
|
1294
1294
|
function _get_fromClientEventsObserver__a7vzd3($this) {
|
|
1295
|
-
var tmp0 = $this.
|
|
1295
|
+
var tmp0 = $this.nem_1;
|
|
1296
1296
|
var tmp = KProperty1;
|
|
1297
1297
|
// Inline function 'kotlin.getValue' call
|
|
1298
1298
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, GameServer$_get_fromClientEventsObserver_$ref_nf1g79_0(), null);
|
|
1299
1299
|
return tmp0.u();
|
|
1300
1300
|
}
|
|
1301
1301
|
function _get_playerConnectionInteractor__si6cxf($this) {
|
|
1302
|
-
var tmp0 = $this.
|
|
1302
|
+
var tmp0 = $this.oem_1;
|
|
1303
1303
|
var tmp = KProperty1;
|
|
1304
1304
|
// Inline function 'kotlin.getValue' call
|
|
1305
1305
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, GameServer$_get_playerConnectionInteractor_$ref_of8tan_0(), null);
|
|
1306
1306
|
return tmp0.u();
|
|
1307
1307
|
}
|
|
1308
1308
|
function _get_teamsLogicProvider__u10pm6($this) {
|
|
1309
|
-
var tmp0 = $this.
|
|
1309
|
+
var tmp0 = $this.pem_1;
|
|
1310
1310
|
var tmp = KProperty1;
|
|
1311
1311
|
// Inline function 'kotlin.getValue' call
|
|
1312
1312
|
getPropertyCallableRef('teamsLogicProvider', 1, tmp, GameServer$_get_teamsLogicProvider_$ref_b7y54g_0(), null);
|
|
1313
1313
|
return tmp0.u();
|
|
1314
1314
|
}
|
|
1315
1315
|
function _get_random__h29cgo($this) {
|
|
1316
|
-
var tmp0 = $this.
|
|
1316
|
+
var tmp0 = $this.qem_1;
|
|
1317
1317
|
var tmp = KProperty1;
|
|
1318
1318
|
// Inline function 'kotlin.getValue' call
|
|
1319
1319
|
getPropertyCallableRef('random', 1, tmp, GameServer$_get_random_$ref_fottnq(), null);
|
|
1320
1320
|
return tmp0.u();
|
|
1321
1321
|
}
|
|
1322
1322
|
function _get_idsProvider__fnfajc($this) {
|
|
1323
|
-
var tmp0 = $this.
|
|
1323
|
+
var tmp0 = $this.rem_1;
|
|
1324
1324
|
var tmp = KProperty1;
|
|
1325
1325
|
// Inline function 'kotlin.getValue' call
|
|
1326
1326
|
getPropertyCallableRef('idsProvider', 1, tmp, GameServer$_get_idsProvider_$ref_89s908_0(), null);
|
|
1327
1327
|
return tmp0.u();
|
|
1328
1328
|
}
|
|
1329
1329
|
function _get_serverReduxConfig__rprcrm($this) {
|
|
1330
|
-
var tmp0 = $this.
|
|
1330
|
+
var tmp0 = $this.sem_1;
|
|
1331
1331
|
var tmp = KProperty1;
|
|
1332
1332
|
// Inline function 'kotlin.getValue' call
|
|
1333
1333
|
getPropertyCallableRef('serverReduxConfig', 1, tmp, GameServer$_get_serverReduxConfig_$ref_7h6jq6_0(), null);
|
|
1334
1334
|
return tmp0.u();
|
|
1335
1335
|
}
|
|
1336
1336
|
function _get_encoderDecoderProvider__qqgrji($this) {
|
|
1337
|
-
var tmp0 = $this.
|
|
1337
|
+
var tmp0 = $this.tem_1;
|
|
1338
1338
|
var tmp = KProperty1;
|
|
1339
1339
|
// Inline function 'kotlin.getValue' call
|
|
1340
1340
|
getPropertyCallableRef('encoderDecoderProvider', 1, tmp, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8_0(), null);
|
|
@@ -1361,20 +1361,20 @@
|
|
|
1361
1361
|
return new GameServer$observeTableWhenRoundChanges$$inlined$map$2(this_1);
|
|
1362
1362
|
}
|
|
1363
1363
|
function Companion() {
|
|
1364
|
-
this.
|
|
1364
|
+
this.vem_1 = 'GameEngine_API';
|
|
1365
1365
|
}
|
|
1366
1366
|
var Companion_instance_7;
|
|
1367
1367
|
function Companion_getInstance_0() {
|
|
1368
1368
|
return Companion_instance_7;
|
|
1369
1369
|
}
|
|
1370
1370
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
1371
|
-
this.
|
|
1371
|
+
this.wem_1 = function_0;
|
|
1372
1372
|
}
|
|
1373
1373
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).g1c = function (value, $completion) {
|
|
1374
|
-
return this.
|
|
1374
|
+
return this.wem_1(value, $completion);
|
|
1375
1375
|
};
|
|
1376
1376
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).u3 = function () {
|
|
1377
|
-
return this.
|
|
1377
|
+
return this.wem_1;
|
|
1378
1378
|
};
|
|
1379
1379
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
1380
1380
|
var tmp;
|
|
@@ -1395,13 +1395,13 @@
|
|
|
1395
1395
|
return hashCode(this.u3());
|
|
1396
1396
|
};
|
|
1397
1397
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
1398
|
-
this.
|
|
1398
|
+
this.xem_1 = function_0;
|
|
1399
1399
|
}
|
|
1400
1400
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).g1c = function (value, $completion) {
|
|
1401
|
-
return this.
|
|
1401
|
+
return this.xem_1(value, $completion);
|
|
1402
1402
|
};
|
|
1403
1403
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).u3 = function () {
|
|
1404
|
-
return this.
|
|
1404
|
+
return this.xem_1;
|
|
1405
1405
|
};
|
|
1406
1406
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
1407
1407
|
var tmp;
|
|
@@ -1422,13 +1422,13 @@
|
|
|
1422
1422
|
return hashCode(this.u3());
|
|
1423
1423
|
};
|
|
1424
1424
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
|
|
1425
|
-
this.
|
|
1425
|
+
this.yem_1 = function_0;
|
|
1426
1426
|
}
|
|
1427
1427
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).g1c = function (value, $completion) {
|
|
1428
|
-
return this.
|
|
1428
|
+
return this.yem_1(value, $completion);
|
|
1429
1429
|
};
|
|
1430
1430
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).u3 = function () {
|
|
1431
|
-
return this.
|
|
1431
|
+
return this.yem_1;
|
|
1432
1432
|
};
|
|
1433
1433
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
|
|
1434
1434
|
var tmp;
|
|
@@ -1449,13 +1449,13 @@
|
|
|
1449
1449
|
return hashCode(this.u3());
|
|
1450
1450
|
};
|
|
1451
1451
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
|
|
1452
|
-
this.
|
|
1452
|
+
this.zem_1 = function_0;
|
|
1453
1453
|
}
|
|
1454
1454
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).g1c = function (value, $completion) {
|
|
1455
|
-
return this.
|
|
1455
|
+
return this.zem_1(value, $completion);
|
|
1456
1456
|
};
|
|
1457
1457
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).u3 = function () {
|
|
1458
|
-
return this.
|
|
1458
|
+
return this.zem_1;
|
|
1459
1459
|
};
|
|
1460
1460
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
|
|
1461
1461
|
var tmp;
|
|
@@ -1476,13 +1476,13 @@
|
|
|
1476
1476
|
return hashCode(this.u3());
|
|
1477
1477
|
};
|
|
1478
1478
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_3(function_0) {
|
|
1479
|
-
this.
|
|
1479
|
+
this.aen_1 = function_0;
|
|
1480
1480
|
}
|
|
1481
1481
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).g1c = function (value, $completion) {
|
|
1482
|
-
return this.
|
|
1482
|
+
return this.aen_1(value, $completion);
|
|
1483
1483
|
};
|
|
1484
1484
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).u3 = function () {
|
|
1485
|
-
return this.
|
|
1485
|
+
return this.aen_1;
|
|
1486
1486
|
};
|
|
1487
1487
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).equals = function (other) {
|
|
1488
1488
|
var tmp;
|
|
@@ -1503,13 +1503,13 @@
|
|
|
1503
1503
|
return hashCode(this.u3());
|
|
1504
1504
|
};
|
|
1505
1505
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_4(function_0) {
|
|
1506
|
-
this.
|
|
1506
|
+
this.ben_1 = function_0;
|
|
1507
1507
|
}
|
|
1508
1508
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).g1c = function (value, $completion) {
|
|
1509
|
-
return this.
|
|
1509
|
+
return this.ben_1(value, $completion);
|
|
1510
1510
|
};
|
|
1511
1511
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).u3 = function () {
|
|
1512
|
-
return this.
|
|
1512
|
+
return this.ben_1;
|
|
1513
1513
|
};
|
|
1514
1514
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).equals = function (other) {
|
|
1515
1515
|
var tmp;
|
|
@@ -1620,8 +1620,8 @@
|
|
|
1620
1620
|
};
|
|
1621
1621
|
}
|
|
1622
1622
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
1623
|
-
this.
|
|
1624
|
-
this.
|
|
1623
|
+
this.ken_1 = this$0;
|
|
1624
|
+
this.len_1 = $subscriber;
|
|
1625
1625
|
CoroutineImpl.call(this, resultContinuation);
|
|
1626
1626
|
}
|
|
1627
1627
|
protoOf(GameServer$subscribeToClientAction$slambda).y1i = function ($this$launchDefault, $completion) {
|
|
@@ -1642,8 +1642,8 @@
|
|
|
1642
1642
|
case 0:
|
|
1643
1643
|
this.m9_1 = 2;
|
|
1644
1644
|
this.l9_1 = 1;
|
|
1645
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
1646
|
-
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.
|
|
1645
|
+
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.ken_1).rba();
|
|
1646
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.len_1, null);
|
|
1647
1647
|
suspendResult = tmp_0.b1b(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
1648
1648
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1649
1649
|
return suspendResult;
|
|
@@ -1667,8 +1667,8 @@
|
|
|
1667
1667
|
while (true);
|
|
1668
1668
|
};
|
|
1669
1669
|
protoOf(GameServer$subscribeToClientAction$slambda).z1i = function ($this$launchDefault, completion) {
|
|
1670
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
1671
|
-
i.
|
|
1670
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.ken_1, this.len_1, completion);
|
|
1671
|
+
i.men_1 = $this$launchDefault;
|
|
1672
1672
|
return i;
|
|
1673
1673
|
};
|
|
1674
1674
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1680,8 +1680,8 @@
|
|
|
1680
1680
|
return l;
|
|
1681
1681
|
}
|
|
1682
1682
|
function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
|
|
1683
|
-
this.
|
|
1684
|
-
this.
|
|
1683
|
+
this.ven_1 = this$0;
|
|
1684
|
+
this.wen_1 = $subscriber;
|
|
1685
1685
|
CoroutineImpl.call(this, resultContinuation);
|
|
1686
1686
|
}
|
|
1687
1687
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).y1i = function ($this$launchDefault, $completion) {
|
|
@@ -1702,8 +1702,8 @@
|
|
|
1702
1702
|
case 0:
|
|
1703
1703
|
this.m9_1 = 2;
|
|
1704
1704
|
this.l9_1 = 1;
|
|
1705
|
-
var tmp_0 = observeTableStateUpdates(this.
|
|
1706
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.
|
|
1705
|
+
var tmp_0 = observeTableStateUpdates(this.ven_1);
|
|
1706
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.wen_1, null);
|
|
1707
1707
|
suspendResult = tmp_0.b1b(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
1708
1708
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1709
1709
|
return suspendResult;
|
|
@@ -1727,8 +1727,8 @@
|
|
|
1727
1727
|
while (true);
|
|
1728
1728
|
};
|
|
1729
1729
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).z1i = function ($this$launchDefault, completion) {
|
|
1730
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda(this.
|
|
1731
|
-
i.
|
|
1730
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda(this.ven_1, this.wen_1, completion);
|
|
1731
|
+
i.xen_1 = $this$launchDefault;
|
|
1732
1732
|
return i;
|
|
1733
1733
|
};
|
|
1734
1734
|
function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1740,8 +1740,8 @@
|
|
|
1740
1740
|
return l;
|
|
1741
1741
|
}
|
|
1742
1742
|
function GameServer$subscribeServerStateUpdateJson$slambda(this$0, $subscriber, resultContinuation) {
|
|
1743
|
-
this.
|
|
1744
|
-
this.
|
|
1743
|
+
this.geo_1 = this$0;
|
|
1744
|
+
this.heo_1 = $subscriber;
|
|
1745
1745
|
CoroutineImpl.call(this, resultContinuation);
|
|
1746
1746
|
}
|
|
1747
1747
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).y1i = function ($this$launchDefault, $completion) {
|
|
@@ -1762,9 +1762,9 @@
|
|
|
1762
1762
|
case 0:
|
|
1763
1763
|
this.m9_1 = 2;
|
|
1764
1764
|
this.l9_1 = 1;
|
|
1765
|
-
var this_0 = observeTableStateUpdates(this.
|
|
1766
|
-
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.
|
|
1767
|
-
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.
|
|
1765
|
+
var this_0 = observeTableStateUpdates(this.geo_1);
|
|
1766
|
+
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.geo_1);
|
|
1767
|
+
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.heo_1, null);
|
|
1768
1768
|
suspendResult = tmp_0.b1b(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
1769
1769
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1770
1770
|
return suspendResult;
|
|
@@ -1788,8 +1788,8 @@
|
|
|
1788
1788
|
while (true);
|
|
1789
1789
|
};
|
|
1790
1790
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).z1i = function ($this$launchDefault, completion) {
|
|
1791
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.
|
|
1792
|
-
i.
|
|
1791
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.geo_1, this.heo_1, completion);
|
|
1792
|
+
i.ieo_1 = $this$launchDefault;
|
|
1793
1793
|
return i;
|
|
1794
1794
|
};
|
|
1795
1795
|
function GameServer$subscribeServerStateUpdateJson$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1801,18 +1801,18 @@
|
|
|
1801
1801
|
return l;
|
|
1802
1802
|
}
|
|
1803
1803
|
function GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation) {
|
|
1804
|
-
this.
|
|
1804
|
+
this.reo_1 = this$0;
|
|
1805
1805
|
CoroutineImpl.call(this, resultContinuation);
|
|
1806
1806
|
}
|
|
1807
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
1808
|
-
var tmp = this.
|
|
1807
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).vaf = function ($this$transformLatest, it, $completion) {
|
|
1808
|
+
var tmp = this.waf($this$transformLatest, it, $completion);
|
|
1809
1809
|
tmp.n9_1 = Unit_instance;
|
|
1810
1810
|
tmp.o9_1 = null;
|
|
1811
1811
|
return tmp.t9();
|
|
1812
1812
|
};
|
|
1813
1813
|
protoOf(GameServer$observeTableStateUpdates$slambda).ea = function (p1, p2, $completion) {
|
|
1814
1814
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
1815
|
-
return this.
|
|
1815
|
+
return this.vaf(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
1816
1816
|
};
|
|
1817
1817
|
protoOf(GameServer$observeTableStateUpdates$slambda).t9 = function () {
|
|
1818
1818
|
var suspendResult = this.n9_1;
|
|
@@ -1823,8 +1823,8 @@
|
|
|
1823
1823
|
case 0:
|
|
1824
1824
|
this.m9_1 = 2;
|
|
1825
1825
|
this.l9_1 = 1;
|
|
1826
|
-
var table = this.
|
|
1827
|
-
suspendResult = emitAll(this.
|
|
1826
|
+
var table = this.teo_1;
|
|
1827
|
+
suspendResult = emitAll(this.seo_1, flow(GameServer$observeTableStateUpdates$slambda$slambda_0(table, this.reo_1, null)), this);
|
|
1828
1828
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1829
1829
|
return suspendResult;
|
|
1830
1830
|
}
|
|
@@ -1846,22 +1846,22 @@
|
|
|
1846
1846
|
}
|
|
1847
1847
|
while (true);
|
|
1848
1848
|
};
|
|
1849
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
1850
|
-
var i = new GameServer$observeTableStateUpdates$slambda(this.
|
|
1851
|
-
i.
|
|
1852
|
-
i.
|
|
1849
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).waf = function ($this$transformLatest, it, completion) {
|
|
1850
|
+
var i = new GameServer$observeTableStateUpdates$slambda(this.reo_1, completion);
|
|
1851
|
+
i.seo_1 = $this$transformLatest;
|
|
1852
|
+
i.teo_1 = it;
|
|
1853
1853
|
return i;
|
|
1854
1854
|
};
|
|
1855
1855
|
function GameServer$observeTableStateUpdates$slambda_0(this$0, resultContinuation) {
|
|
1856
1856
|
var i = new GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation);
|
|
1857
1857
|
var l = function ($this$transformLatest, it, $completion) {
|
|
1858
|
-
return i.
|
|
1858
|
+
return i.vaf($this$transformLatest, it, $completion);
|
|
1859
1859
|
};
|
|
1860
1860
|
l.$arity = 2;
|
|
1861
1861
|
return l;
|
|
1862
1862
|
}
|
|
1863
1863
|
function GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1($this) {
|
|
1864
|
-
this.
|
|
1864
|
+
this.tej_1 = $this;
|
|
1865
1865
|
}
|
|
1866
1866
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1).h1c = function (collector, $completion) {
|
|
1867
1867
|
var tmp = new $collectCOROUTINE$_1(this, collector, $completion);
|
|
@@ -1873,7 +1873,7 @@
|
|
|
1873
1873
|
return this.h1c(collector, $completion);
|
|
1874
1874
|
};
|
|
1875
1875
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$1($this) {
|
|
1876
|
-
this.
|
|
1876
|
+
this.uek_1 = $this;
|
|
1877
1877
|
}
|
|
1878
1878
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$1).h1c = function (collector, $completion) {
|
|
1879
1879
|
var tmp = new $collectCOROUTINE$_2(this, collector, $completion);
|
|
@@ -1888,7 +1888,7 @@
|
|
|
1888
1888
|
return old.if_1 === new_0.if_1;
|
|
1889
1889
|
}
|
|
1890
1890
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$2($this) {
|
|
1891
|
-
this.
|
|
1891
|
+
this.vel_1 = $this;
|
|
1892
1892
|
}
|
|
1893
1893
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$2).h1c = function (collector, $completion) {
|
|
1894
1894
|
var tmp = new $collectCOROUTINE$_3(this, collector, $completion);
|
|
@@ -1900,8 +1900,8 @@
|
|
|
1900
1900
|
return this.h1c(collector, $completion);
|
|
1901
1901
|
};
|
|
1902
1902
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
1903
|
-
this.
|
|
1904
|
-
this.
|
|
1903
|
+
this.cep_1 = this$0;
|
|
1904
|
+
this.dep_1 = $subscriber;
|
|
1905
1905
|
CoroutineImpl.call(this, resultContinuation);
|
|
1906
1906
|
}
|
|
1907
1907
|
protoOf(GameServer$subscribeWith$slambda).y1i = function ($this$launchDefault, $completion) {
|
|
@@ -1922,8 +1922,8 @@
|
|
|
1922
1922
|
case 0:
|
|
1923
1923
|
this.m9_1 = 2;
|
|
1924
1924
|
this.l9_1 = 1;
|
|
1925
|
-
var tmp_0 = distinctUntilChanged_0(this.
|
|
1926
|
-
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.
|
|
1925
|
+
var tmp_0 = distinctUntilChanged_0(this.cep_1.d77());
|
|
1926
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.dep_1, null);
|
|
1927
1927
|
suspendResult = tmp_0.b1b(new sam$kotlinx_coroutines_flow_FlowCollector$0_4(tmp_1), this);
|
|
1928
1928
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1929
1929
|
return suspendResult;
|
|
@@ -1947,8 +1947,8 @@
|
|
|
1947
1947
|
while (true);
|
|
1948
1948
|
};
|
|
1949
1949
|
protoOf(GameServer$subscribeWith$slambda).z1i = function ($this$launchDefault, completion) {
|
|
1950
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
1951
|
-
i.
|
|
1950
|
+
var i = new GameServer$subscribeWith$slambda(this.cep_1, this.dep_1, completion);
|
|
1951
|
+
i.eep_1 = $this$launchDefault;
|
|
1952
1952
|
return i;
|
|
1953
1953
|
};
|
|
1954
1954
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1960,18 +1960,18 @@
|
|
|
1960
1960
|
return l;
|
|
1961
1961
|
}
|
|
1962
1962
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
1963
|
-
this.
|
|
1963
|
+
this.nep_1 = $action;
|
|
1964
1964
|
CoroutineImpl.call(this, resultContinuation);
|
|
1965
1965
|
}
|
|
1966
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
1967
|
-
var tmp = this.
|
|
1966
|
+
protoOf(GameServer$fromClientEvent$slambda).ibx = function ($this$dispatchAsync, store, $completion) {
|
|
1967
|
+
var tmp = this.jbx($this$dispatchAsync, store, $completion);
|
|
1968
1968
|
tmp.n9_1 = Unit_instance;
|
|
1969
1969
|
tmp.o9_1 = null;
|
|
1970
1970
|
return tmp.t9();
|
|
1971
1971
|
};
|
|
1972
1972
|
protoOf(GameServer$fromClientEvent$slambda).ea = function (p1, p2, $completion) {
|
|
1973
1973
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1974
|
-
return this.
|
|
1974
|
+
return this.ibx(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1975
1975
|
};
|
|
1976
1976
|
protoOf(GameServer$fromClientEvent$slambda).t9 = function () {
|
|
1977
1977
|
var suspendResult = this.n9_1;
|
|
@@ -1980,11 +1980,11 @@
|
|
|
1980
1980
|
var tmp = this.l9_1;
|
|
1981
1981
|
if (tmp === 0) {
|
|
1982
1982
|
this.m9_1 = 1;
|
|
1983
|
-
if (this.
|
|
1984
|
-
if (!get_isCreated(this.
|
|
1983
|
+
if (this.nep_1 instanceof PlayerReadyFromClientAction)
|
|
1984
|
+
if (!get_isCreated(this.pep_1.state)) {
|
|
1985
1985
|
return Unit_instance;
|
|
1986
1986
|
}
|
|
1987
|
-
this.
|
|
1987
|
+
this.pep_1.dispatch(this.nep_1);
|
|
1988
1988
|
return Unit_instance;
|
|
1989
1989
|
} else if (tmp === 1) {
|
|
1990
1990
|
throw this.o9_1;
|
|
@@ -1995,33 +1995,33 @@
|
|
|
1995
1995
|
}
|
|
1996
1996
|
while (true);
|
|
1997
1997
|
};
|
|
1998
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
1999
|
-
var i = new GameServer$fromClientEvent$slambda(this.
|
|
2000
|
-
i.
|
|
2001
|
-
i.
|
|
1998
|
+
protoOf(GameServer$fromClientEvent$slambda).jbx = function ($this$dispatchAsync, store, completion) {
|
|
1999
|
+
var i = new GameServer$fromClientEvent$slambda(this.nep_1, completion);
|
|
2000
|
+
i.oep_1 = $this$dispatchAsync;
|
|
2001
|
+
i.pep_1 = store;
|
|
2002
2002
|
return i;
|
|
2003
2003
|
};
|
|
2004
2004
|
function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
|
|
2005
2005
|
var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
|
|
2006
2006
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2007
|
-
return i.
|
|
2007
|
+
return i.ibx($this$dispatchAsync, store, $completion);
|
|
2008
2008
|
};
|
|
2009
2009
|
l.$arity = 2;
|
|
2010
2010
|
return l;
|
|
2011
2011
|
}
|
|
2012
2012
|
function GameServer$playerLostConnection$slambda($playerId, resultContinuation) {
|
|
2013
|
-
this.
|
|
2013
|
+
this.yep_1 = $playerId;
|
|
2014
2014
|
CoroutineImpl.call(this, resultContinuation);
|
|
2015
2015
|
}
|
|
2016
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2017
|
-
var tmp = this.
|
|
2016
|
+
protoOf(GameServer$playerLostConnection$slambda).ibx = function ($this$dispatchAsync, store, $completion) {
|
|
2017
|
+
var tmp = this.jbx($this$dispatchAsync, store, $completion);
|
|
2018
2018
|
tmp.n9_1 = Unit_instance;
|
|
2019
2019
|
tmp.o9_1 = null;
|
|
2020
2020
|
return tmp.t9();
|
|
2021
2021
|
};
|
|
2022
2022
|
protoOf(GameServer$playerLostConnection$slambda).ea = function (p1, p2, $completion) {
|
|
2023
2023
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2024
|
-
return this.
|
|
2024
|
+
return this.ibx(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2025
2025
|
};
|
|
2026
2026
|
protoOf(GameServer$playerLostConnection$slambda).t9 = function () {
|
|
2027
2027
|
var suspendResult = this.n9_1;
|
|
@@ -2030,12 +2030,12 @@
|
|
|
2030
2030
|
var tmp = this.l9_1;
|
|
2031
2031
|
if (tmp === 0) {
|
|
2032
2032
|
this.m9_1 = 1;
|
|
2033
|
-
if (!get_isCreated(this.
|
|
2033
|
+
if (!get_isCreated(this.aeq_1.state)) {
|
|
2034
2034
|
return Unit_instance;
|
|
2035
2035
|
}
|
|
2036
|
-
var tmp_0 = this.
|
|
2036
|
+
var tmp_0 = this.aeq_1.dispatch;
|
|
2037
2037
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
2038
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2038
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.yep_1));
|
|
2039
2039
|
return Unit_instance;
|
|
2040
2040
|
} else if (tmp === 1) {
|
|
2041
2041
|
throw this.o9_1;
|
|
@@ -2046,34 +2046,34 @@
|
|
|
2046
2046
|
}
|
|
2047
2047
|
while (true);
|
|
2048
2048
|
};
|
|
2049
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2050
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
2051
|
-
i.
|
|
2052
|
-
i.
|
|
2049
|
+
protoOf(GameServer$playerLostConnection$slambda).jbx = function ($this$dispatchAsync, store, completion) {
|
|
2050
|
+
var i = new GameServer$playerLostConnection$slambda(this.yep_1, completion);
|
|
2051
|
+
i.zep_1 = $this$dispatchAsync;
|
|
2052
|
+
i.aeq_1 = store;
|
|
2053
2053
|
return i;
|
|
2054
2054
|
};
|
|
2055
2055
|
function GameServer$playerLostConnection$slambda_0($playerId, resultContinuation) {
|
|
2056
2056
|
var i = new GameServer$playerLostConnection$slambda($playerId, resultContinuation);
|
|
2057
2057
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2058
|
-
return i.
|
|
2058
|
+
return i.ibx($this$dispatchAsync, store, $completion);
|
|
2059
2059
|
};
|
|
2060
2060
|
l.$arity = 2;
|
|
2061
2061
|
return l;
|
|
2062
2062
|
}
|
|
2063
2063
|
function GameServer$playerLive$slambda(this$0, $playerId, resultContinuation) {
|
|
2064
|
-
this.
|
|
2065
|
-
this.
|
|
2064
|
+
this.jeq_1 = this$0;
|
|
2065
|
+
this.keq_1 = $playerId;
|
|
2066
2066
|
CoroutineImpl.call(this, resultContinuation);
|
|
2067
2067
|
}
|
|
2068
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2069
|
-
var tmp = this.
|
|
2068
|
+
protoOf(GameServer$playerLive$slambda).ibx = function ($this$dispatchAsync, store, $completion) {
|
|
2069
|
+
var tmp = this.jbx($this$dispatchAsync, store, $completion);
|
|
2070
2070
|
tmp.n9_1 = Unit_instance;
|
|
2071
2071
|
tmp.o9_1 = null;
|
|
2072
2072
|
return tmp.t9();
|
|
2073
2073
|
};
|
|
2074
2074
|
protoOf(GameServer$playerLive$slambda).ea = function (p1, p2, $completion) {
|
|
2075
2075
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2076
|
-
return this.
|
|
2076
|
+
return this.ibx(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2077
2077
|
};
|
|
2078
2078
|
protoOf(GameServer$playerLive$slambda).t9 = function () {
|
|
2079
2079
|
var suspendResult = this.n9_1;
|
|
@@ -2082,16 +2082,16 @@
|
|
|
2082
2082
|
var tmp = this.l9_1;
|
|
2083
2083
|
if (tmp === 0) {
|
|
2084
2084
|
this.m9_1 = 1;
|
|
2085
|
-
if (get_isFinished(this.
|
|
2085
|
+
if (get_isFinished(this.meq_1.state) || get_isFinishing(this.meq_1.state)) {
|
|
2086
2086
|
return Unit_instance;
|
|
2087
2087
|
}
|
|
2088
|
-
if (!get_isCreated(this.
|
|
2089
|
-
_get_logger__rkp4sl(this.
|
|
2088
|
+
if (!get_isCreated(this.meq_1.state) || !this.jeq_1.u6p().v77()) {
|
|
2089
|
+
_get_logger__rkp4sl(this.jeq_1).w('GameEngine_API', 'playerLive: ' + this.keq_1 + ' before game is created');
|
|
2090
2090
|
return Unit_instance;
|
|
2091
2091
|
}
|
|
2092
|
-
var tmp_0 = this.
|
|
2092
|
+
var tmp_0 = this.meq_1.dispatch;
|
|
2093
2093
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2094
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2094
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.keq_1));
|
|
2095
2095
|
return Unit_instance;
|
|
2096
2096
|
} else if (tmp === 1) {
|
|
2097
2097
|
throw this.o9_1;
|
|
@@ -2102,34 +2102,34 @@
|
|
|
2102
2102
|
}
|
|
2103
2103
|
while (true);
|
|
2104
2104
|
};
|
|
2105
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2106
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
2107
|
-
i.
|
|
2108
|
-
i.
|
|
2105
|
+
protoOf(GameServer$playerLive$slambda).jbx = function ($this$dispatchAsync, store, completion) {
|
|
2106
|
+
var i = new GameServer$playerLive$slambda(this.jeq_1, this.keq_1, completion);
|
|
2107
|
+
i.leq_1 = $this$dispatchAsync;
|
|
2108
|
+
i.meq_1 = store;
|
|
2109
2109
|
return i;
|
|
2110
2110
|
};
|
|
2111
2111
|
function GameServer$playerLive$slambda_0(this$0, $playerId, resultContinuation) {
|
|
2112
2112
|
var i = new GameServer$playerLive$slambda(this$0, $playerId, resultContinuation);
|
|
2113
2113
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2114
|
-
return i.
|
|
2114
|
+
return i.ibx($this$dispatchAsync, store, $completion);
|
|
2115
2115
|
};
|
|
2116
2116
|
l.$arity = 2;
|
|
2117
2117
|
return l;
|
|
2118
2118
|
}
|
|
2119
2119
|
function GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation) {
|
|
2120
|
-
this.
|
|
2121
|
-
this.
|
|
2120
|
+
this.veq_1 = this$0;
|
|
2121
|
+
this.weq_1 = $playerId;
|
|
2122
2122
|
CoroutineImpl.call(this, resultContinuation);
|
|
2123
2123
|
}
|
|
2124
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2125
|
-
var tmp = this.
|
|
2124
|
+
protoOf(GameServer$playerLeft$slambda).ibx = function ($this$dispatchAsync, store, $completion) {
|
|
2125
|
+
var tmp = this.jbx($this$dispatchAsync, store, $completion);
|
|
2126
2126
|
tmp.n9_1 = Unit_instance;
|
|
2127
2127
|
tmp.o9_1 = null;
|
|
2128
2128
|
return tmp.t9();
|
|
2129
2129
|
};
|
|
2130
2130
|
protoOf(GameServer$playerLeft$slambda).ea = function (p1, p2, $completion) {
|
|
2131
2131
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2132
|
-
return this.
|
|
2132
|
+
return this.ibx(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2133
2133
|
};
|
|
2134
2134
|
protoOf(GameServer$playerLeft$slambda).t9 = function () {
|
|
2135
2135
|
var suspendResult = this.n9_1;
|
|
@@ -2138,16 +2138,16 @@
|
|
|
2138
2138
|
var tmp = this.l9_1;
|
|
2139
2139
|
if (tmp === 0) {
|
|
2140
2140
|
this.m9_1 = 1;
|
|
2141
|
-
if (get_isFinished(this.
|
|
2141
|
+
if (get_isFinished(this.yeq_1.state) || get_isFinishing(this.yeq_1.state)) {
|
|
2142
2142
|
return Unit_instance;
|
|
2143
2143
|
}
|
|
2144
|
-
if (!get_isCreated(this.
|
|
2145
|
-
_get_logger__rkp4sl(this.
|
|
2144
|
+
if (!get_isCreated(this.yeq_1.state) || !this.veq_1.u6p().v77()) {
|
|
2145
|
+
_get_logger__rkp4sl(this.veq_1).w('GameEngine_API', 'playerLeft: ' + this.weq_1 + ' before game is created');
|
|
2146
2146
|
return Unit_instance;
|
|
2147
2147
|
}
|
|
2148
|
-
var tmp_0 = this.
|
|
2148
|
+
var tmp_0 = this.yeq_1.dispatch;
|
|
2149
2149
|
var tmp0_connectionState = PlayerConnectionState_LEFT_getInstance();
|
|
2150
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2150
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.weq_1));
|
|
2151
2151
|
return Unit_instance;
|
|
2152
2152
|
} else if (tmp === 1) {
|
|
2153
2153
|
throw this.o9_1;
|
|
@@ -2158,39 +2158,39 @@
|
|
|
2158
2158
|
}
|
|
2159
2159
|
while (true);
|
|
2160
2160
|
};
|
|
2161
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2162
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
2163
|
-
i.
|
|
2164
|
-
i.
|
|
2161
|
+
protoOf(GameServer$playerLeft$slambda).jbx = function ($this$dispatchAsync, store, completion) {
|
|
2162
|
+
var i = new GameServer$playerLeft$slambda(this.veq_1, this.weq_1, completion);
|
|
2163
|
+
i.xeq_1 = $this$dispatchAsync;
|
|
2164
|
+
i.yeq_1 = store;
|
|
2165
2165
|
return i;
|
|
2166
2166
|
};
|
|
2167
2167
|
function GameServer$playerLeft$slambda_0(this$0, $playerId, resultContinuation) {
|
|
2168
2168
|
var i = new GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation);
|
|
2169
2169
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2170
|
-
return i.
|
|
2170
|
+
return i.ibx($this$dispatchAsync, store, $completion);
|
|
2171
2171
|
};
|
|
2172
2172
|
l.$arity = 2;
|
|
2173
2173
|
return l;
|
|
2174
2174
|
}
|
|
2175
2175
|
function GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2176
|
-
this.
|
|
2177
|
-
this.
|
|
2178
|
-
this.
|
|
2179
|
-
this.
|
|
2180
|
-
this.
|
|
2181
|
-
this.
|
|
2182
|
-
this.
|
|
2176
|
+
this.her_1 = $usersArray;
|
|
2177
|
+
this.ier_1 = $config;
|
|
2178
|
+
this.jer_1 = this$0;
|
|
2179
|
+
this.ker_1 = $roomId;
|
|
2180
|
+
this.ler_1 = $transition;
|
|
2181
|
+
this.mer_1 = $gameCreatorId;
|
|
2182
|
+
this.ner_1 = $spectators;
|
|
2183
2183
|
CoroutineImpl.call(this, resultContinuation);
|
|
2184
2184
|
}
|
|
2185
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2186
|
-
var tmp = this.
|
|
2185
|
+
protoOf(GameServer$roomOnCreate$slambda).ibx = function ($this$dispatchAsync, store, $completion) {
|
|
2186
|
+
var tmp = this.jbx($this$dispatchAsync, store, $completion);
|
|
2187
2187
|
tmp.n9_1 = Unit_instance;
|
|
2188
2188
|
tmp.o9_1 = null;
|
|
2189
2189
|
return tmp.t9();
|
|
2190
2190
|
};
|
|
2191
2191
|
protoOf(GameServer$roomOnCreate$slambda).ea = function (p1, p2, $completion) {
|
|
2192
2192
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2193
|
-
return this.
|
|
2193
|
+
return this.ibx(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2194
2194
|
};
|
|
2195
2195
|
protoOf(GameServer$roomOnCreate$slambda).t9 = function () {
|
|
2196
2196
|
var suspendResult = this.n9_1;
|
|
@@ -2199,21 +2199,21 @@
|
|
|
2199
2199
|
var tmp = this.l9_1;
|
|
2200
2200
|
if (tmp === 0) {
|
|
2201
2201
|
this.m9_1 = 1;
|
|
2202
|
-
var users = toList(this.
|
|
2203
|
-
if (!(this.
|
|
2204
|
-
_get_logger__rkp4sl(this.
|
|
2205
|
-
this.
|
|
2202
|
+
var users = toList(this.her_1);
|
|
2203
|
+
if (!(this.ier_1.playersMode.count === users.m())) {
|
|
2204
|
+
_get_logger__rkp4sl(this.jer_1).w('GameEngine_API', 'roomOnCreate: wrong player count for game ' + this.ker_1 + ', config = ' + this.ier_1.toString() + ', users = ' + toString(users));
|
|
2205
|
+
this.per_1.dispatch(Companion_instance.fromTableWithAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.jer_1.table.isGameFinished, this.jer_1.table));
|
|
2206
2206
|
return Unit_instance;
|
|
2207
2207
|
}
|
|
2208
2208
|
var tmp_0;
|
|
2209
|
-
if (this.
|
|
2210
|
-
tmp_0 = _get_random__h29cgo(this.
|
|
2209
|
+
if (this.ier_1.mode.shufflePlayers && this.ler_1 == null) {
|
|
2210
|
+
tmp_0 = _get_random__h29cgo(this.jer_1).o6a(toMutableList(users));
|
|
2211
2211
|
} else {
|
|
2212
|
-
var tmp0_safe_receiver = this.
|
|
2212
|
+
var tmp0_safe_receiver = this.ler_1;
|
|
2213
2213
|
var previousPlayers = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.previousPlayers;
|
|
2214
2214
|
var tmp_1;
|
|
2215
|
-
if (!(previousPlayers == null) && this.
|
|
2216
|
-
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.
|
|
2215
|
+
if (!(previousPlayers == null) && this.ier_1.playersMode.isTeamGame) {
|
|
2216
|
+
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.jer_1);
|
|
2217
2217
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(previousPlayers, 10));
|
|
2218
2218
|
var _iterator__ex2g4s = previousPlayers.j();
|
|
2219
2219
|
while (_iterator__ex2g4s.k()) {
|
|
@@ -2244,19 +2244,19 @@
|
|
|
2244
2244
|
destination_1.e(destination_2);
|
|
2245
2245
|
}
|
|
2246
2246
|
var updatedTeams = destination_1;
|
|
2247
|
-
tmp_1 = _get_teamsLogicProvider__u10pm6(this.
|
|
2247
|
+
tmp_1 = _get_teamsLogicProvider__u10pm6(this.jer_1).n9d(updatedTeams);
|
|
2248
2248
|
} else {
|
|
2249
2249
|
tmp_1 = users;
|
|
2250
2250
|
}
|
|
2251
2251
|
tmp_0 = tmp_1;
|
|
2252
2252
|
}
|
|
2253
2253
|
var updatedUsers = tmp_0;
|
|
2254
|
-
var gameCreatorUser = getPlayer(users, this.
|
|
2255
|
-
var tmp_3 = this.
|
|
2254
|
+
var gameCreatorUser = getPlayer(users, this.mer_1);
|
|
2255
|
+
var tmp_3 = this.per_1.dispatch;
|
|
2256
2256
|
var tmp1_version = get_versionOrDefault(GameEngineConfig_instance);
|
|
2257
2257
|
var tmp2_users = sortWithItem(updatedUsers, gameCreatorUser);
|
|
2258
|
-
var tmp3_spectators = toList(this.
|
|
2259
|
-
tmp_3(new StartGameMechanicAction(this.
|
|
2258
|
+
var tmp3_spectators = toList(this.ner_1);
|
|
2259
|
+
tmp_3(new StartGameMechanicAction(this.ier_1, this.ker_1, tmp1_version, this.mer_1, tmp2_users, VOID, tmp3_spectators));
|
|
2260
2260
|
return Unit_instance;
|
|
2261
2261
|
} else if (tmp === 1) {
|
|
2262
2262
|
throw this.o9_1;
|
|
@@ -2267,33 +2267,33 @@
|
|
|
2267
2267
|
}
|
|
2268
2268
|
while (true);
|
|
2269
2269
|
};
|
|
2270
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2271
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
2272
|
-
i.
|
|
2273
|
-
i.
|
|
2270
|
+
protoOf(GameServer$roomOnCreate$slambda).jbx = function ($this$dispatchAsync, store, completion) {
|
|
2271
|
+
var i = new GameServer$roomOnCreate$slambda(this.her_1, this.ier_1, this.jer_1, this.ker_1, this.ler_1, this.mer_1, this.ner_1, completion);
|
|
2272
|
+
i.oer_1 = $this$dispatchAsync;
|
|
2273
|
+
i.per_1 = store;
|
|
2274
2274
|
return i;
|
|
2275
2275
|
};
|
|
2276
2276
|
function GameServer$roomOnCreate$slambda_0($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2277
2277
|
var i = new GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation);
|
|
2278
2278
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2279
|
-
return i.
|
|
2279
|
+
return i.ibx($this$dispatchAsync, store, $completion);
|
|
2280
2280
|
};
|
|
2281
2281
|
l.$arity = 2;
|
|
2282
2282
|
return l;
|
|
2283
2283
|
}
|
|
2284
2284
|
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
2285
|
-
this.
|
|
2285
|
+
this.yer_1 = $state;
|
|
2286
2286
|
CoroutineImpl.call(this, resultContinuation);
|
|
2287
2287
|
}
|
|
2288
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2289
|
-
var tmp = this.
|
|
2288
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).ibx = function ($this$dispatchAsync, store, $completion) {
|
|
2289
|
+
var tmp = this.jbx($this$dispatchAsync, store, $completion);
|
|
2290
2290
|
tmp.n9_1 = Unit_instance;
|
|
2291
2291
|
tmp.o9_1 = null;
|
|
2292
2292
|
return tmp.t9();
|
|
2293
2293
|
};
|
|
2294
2294
|
protoOf(GameServer$roomOnContinueFromState$slambda).ea = function (p1, p2, $completion) {
|
|
2295
2295
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2296
|
-
return this.
|
|
2296
|
+
return this.ibx(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2297
2297
|
};
|
|
2298
2298
|
protoOf(GameServer$roomOnContinueFromState$slambda).t9 = function () {
|
|
2299
2299
|
var suspendResult = this.n9_1;
|
|
@@ -2302,9 +2302,9 @@
|
|
|
2302
2302
|
var tmp = this.l9_1;
|
|
2303
2303
|
if (tmp === 0) {
|
|
2304
2304
|
this.m9_1 = 1;
|
|
2305
|
-
var tmp_0 = this.
|
|
2305
|
+
var tmp_0 = this.aes_1.dispatch;
|
|
2306
2306
|
var tmp0_reason = new RestartRoundReason(null);
|
|
2307
|
-
var tmp1_table = this.
|
|
2307
|
+
var tmp1_table = this.yer_1.table;
|
|
2308
2308
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2309
2309
|
return Unit_instance;
|
|
2310
2310
|
} else if (tmp === 1) {
|
|
@@ -2316,33 +2316,33 @@
|
|
|
2316
2316
|
}
|
|
2317
2317
|
while (true);
|
|
2318
2318
|
};
|
|
2319
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2320
|
-
var i = new GameServer$roomOnContinueFromState$slambda(this.
|
|
2321
|
-
i.
|
|
2322
|
-
i.
|
|
2319
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).jbx = function ($this$dispatchAsync, store, completion) {
|
|
2320
|
+
var i = new GameServer$roomOnContinueFromState$slambda(this.yer_1, completion);
|
|
2321
|
+
i.zer_1 = $this$dispatchAsync;
|
|
2322
|
+
i.aes_1 = store;
|
|
2323
2323
|
return i;
|
|
2324
2324
|
};
|
|
2325
2325
|
function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
|
|
2326
2326
|
var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
|
|
2327
2327
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2328
|
-
return i.
|
|
2328
|
+
return i.ibx($this$dispatchAsync, store, $completion);
|
|
2329
2329
|
};
|
|
2330
2330
|
l.$arity = 2;
|
|
2331
2331
|
return l;
|
|
2332
2332
|
}
|
|
2333
2333
|
function GameServer$roomOnContinueFromState$slambda_1($state, resultContinuation) {
|
|
2334
|
-
this.
|
|
2334
|
+
this.jes_1 = $state;
|
|
2335
2335
|
CoroutineImpl.call(this, resultContinuation);
|
|
2336
2336
|
}
|
|
2337
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2338
|
-
var tmp = this.
|
|
2337
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).ibx = function ($this$dispatchAsync, store, $completion) {
|
|
2338
|
+
var tmp = this.jbx($this$dispatchAsync, store, $completion);
|
|
2339
2339
|
tmp.n9_1 = Unit_instance;
|
|
2340
2340
|
tmp.o9_1 = null;
|
|
2341
2341
|
return tmp.t9();
|
|
2342
2342
|
};
|
|
2343
2343
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).ea = function (p1, p2, $completion) {
|
|
2344
2344
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2345
|
-
return this.
|
|
2345
|
+
return this.ibx(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2346
2346
|
};
|
|
2347
2347
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).t9 = function () {
|
|
2348
2348
|
var suspendResult = this.n9_1;
|
|
@@ -2351,10 +2351,10 @@
|
|
|
2351
2351
|
var tmp = this.l9_1;
|
|
2352
2352
|
if (tmp === 0) {
|
|
2353
2353
|
this.m9_1 = 1;
|
|
2354
|
-
var _iterator__ex2g4s = this.
|
|
2354
|
+
var _iterator__ex2g4s = this.jes_1.actions.j();
|
|
2355
2355
|
while (_iterator__ex2g4s.k()) {
|
|
2356
2356
|
var element = _iterator__ex2g4s.l();
|
|
2357
|
-
this.
|
|
2357
|
+
this.les_1.dispatch(element);
|
|
2358
2358
|
}
|
|
2359
2359
|
return Unit_instance;
|
|
2360
2360
|
} else if (tmp === 1) {
|
|
@@ -2366,35 +2366,35 @@
|
|
|
2366
2366
|
}
|
|
2367
2367
|
while (true);
|
|
2368
2368
|
};
|
|
2369
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2370
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1(this.
|
|
2371
|
-
i.
|
|
2372
|
-
i.
|
|
2369
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).jbx = function ($this$dispatchAsync, store, completion) {
|
|
2370
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1(this.jes_1, completion);
|
|
2371
|
+
i.kes_1 = $this$dispatchAsync;
|
|
2372
|
+
i.les_1 = store;
|
|
2373
2373
|
return i;
|
|
2374
2374
|
};
|
|
2375
2375
|
function GameServer$roomOnContinueFromState$slambda_2($state, resultContinuation) {
|
|
2376
2376
|
var i = new GameServer$roomOnContinueFromState$slambda_1($state, resultContinuation);
|
|
2377
2377
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2378
|
-
return i.
|
|
2378
|
+
return i.ibx($this$dispatchAsync, store, $completion);
|
|
2379
2379
|
};
|
|
2380
2380
|
l.$arity = 2;
|
|
2381
2381
|
return l;
|
|
2382
2382
|
}
|
|
2383
2383
|
function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation) {
|
|
2384
|
-
this.
|
|
2385
|
-
this.
|
|
2386
|
-
this.
|
|
2384
|
+
this.ues_1 = $tableLite;
|
|
2385
|
+
this.ves_1 = $roomId;
|
|
2386
|
+
this.wes_1 = this$0;
|
|
2387
2387
|
CoroutineImpl.call(this, resultContinuation);
|
|
2388
2388
|
}
|
|
2389
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2390
|
-
var tmp = this.
|
|
2389
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).ibx = function ($this$dispatchAsync, store, $completion) {
|
|
2390
|
+
var tmp = this.jbx($this$dispatchAsync, store, $completion);
|
|
2391
2391
|
tmp.n9_1 = Unit_instance;
|
|
2392
2392
|
tmp.o9_1 = null;
|
|
2393
2393
|
return tmp.t9();
|
|
2394
2394
|
};
|
|
2395
2395
|
protoOf(GameServer$roomOnContinueFromRound$slambda).ea = function (p1, p2, $completion) {
|
|
2396
2396
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2397
|
-
return this.
|
|
2397
|
+
return this.ibx(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2398
2398
|
};
|
|
2399
2399
|
protoOf(GameServer$roomOnContinueFromRound$slambda).t9 = function () {
|
|
2400
2400
|
var suspendResult = this.n9_1;
|
|
@@ -2403,9 +2403,9 @@
|
|
|
2403
2403
|
var tmp = this.l9_1;
|
|
2404
2404
|
if (tmp === 0) {
|
|
2405
2405
|
this.m9_1 = 1;
|
|
2406
|
-
var tmp_0 = this.
|
|
2407
|
-
var tmp0_reason = new RestartRoundReason(this.
|
|
2408
|
-
var tmp1_table = Companion_instance_0.restartRound(this.
|
|
2406
|
+
var tmp_0 = this.yes_1.dispatch;
|
|
2407
|
+
var tmp0_reason = new RestartRoundReason(this.ues_1.gameInfo.round.roundNumber);
|
|
2408
|
+
var tmp1_table = Companion_instance_0.restartRound(this.ves_1, _get_idsProvider__fnfajc(this.wes_1).u6w(), get_versionOrDefault(GameEngineConfig_instance), this.ues_1);
|
|
2409
2409
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2410
2410
|
return Unit_instance;
|
|
2411
2411
|
} else if (tmp === 1) {
|
|
@@ -2417,16 +2417,16 @@
|
|
|
2417
2417
|
}
|
|
2418
2418
|
while (true);
|
|
2419
2419
|
};
|
|
2420
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2421
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
2422
|
-
i.
|
|
2423
|
-
i.
|
|
2420
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).jbx = function ($this$dispatchAsync, store, completion) {
|
|
2421
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.ues_1, this.ves_1, this.wes_1, completion);
|
|
2422
|
+
i.xes_1 = $this$dispatchAsync;
|
|
2423
|
+
i.yes_1 = store;
|
|
2424
2424
|
return i;
|
|
2425
2425
|
};
|
|
2426
2426
|
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, resultContinuation) {
|
|
2427
2427
|
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation);
|
|
2428
2428
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2429
|
-
return i.
|
|
2429
|
+
return i.ibx($this$dispatchAsync, store, $completion);
|
|
2430
2430
|
};
|
|
2431
2431
|
l.$arity = 2;
|
|
2432
2432
|
return l;
|
|
@@ -2434,15 +2434,15 @@
|
|
|
2434
2434
|
function GameServer$roomOnContinueFromRound$slambda_1(resultContinuation) {
|
|
2435
2435
|
CoroutineImpl.call(this, resultContinuation);
|
|
2436
2436
|
}
|
|
2437
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2438
|
-
var tmp = this.
|
|
2437
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).ibx = function ($this$dispatchAsync, store, $completion) {
|
|
2438
|
+
var tmp = this.jbx($this$dispatchAsync, store, $completion);
|
|
2439
2439
|
tmp.n9_1 = Unit_instance;
|
|
2440
2440
|
tmp.o9_1 = null;
|
|
2441
2441
|
return tmp.t9();
|
|
2442
2442
|
};
|
|
2443
2443
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).ea = function (p1, p2, $completion) {
|
|
2444
2444
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2445
|
-
return this.
|
|
2445
|
+
return this.ibx(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2446
2446
|
};
|
|
2447
2447
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).t9 = function () {
|
|
2448
2448
|
var suspendResult = this.n9_1;
|
|
@@ -2451,7 +2451,7 @@
|
|
|
2451
2451
|
var tmp = this.l9_1;
|
|
2452
2452
|
if (tmp === 0) {
|
|
2453
2453
|
this.m9_1 = 1;
|
|
2454
|
-
this.
|
|
2454
|
+
this.iet_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
2455
2455
|
return Unit_instance;
|
|
2456
2456
|
} else if (tmp === 1) {
|
|
2457
2457
|
throw this.o9_1;
|
|
@@ -2462,33 +2462,33 @@
|
|
|
2462
2462
|
}
|
|
2463
2463
|
while (true);
|
|
2464
2464
|
};
|
|
2465
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2465
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).jbx = function ($this$dispatchAsync, store, completion) {
|
|
2466
2466
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
2467
|
-
i.
|
|
2468
|
-
i.
|
|
2467
|
+
i.het_1 = $this$dispatchAsync;
|
|
2468
|
+
i.iet_1 = store;
|
|
2469
2469
|
return i;
|
|
2470
2470
|
};
|
|
2471
2471
|
function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
|
|
2472
2472
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(resultContinuation);
|
|
2473
2473
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2474
|
-
return i.
|
|
2474
|
+
return i.ibx($this$dispatchAsync, store, $completion);
|
|
2475
2475
|
};
|
|
2476
2476
|
l.$arity = 2;
|
|
2477
2477
|
return l;
|
|
2478
2478
|
}
|
|
2479
2479
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
2480
|
-
this.
|
|
2480
|
+
this.ret_1 = $spectators;
|
|
2481
2481
|
CoroutineImpl.call(this, resultContinuation);
|
|
2482
2482
|
}
|
|
2483
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2484
|
-
var tmp = this.
|
|
2483
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).ibx = function ($this$dispatchAsync, store, $completion) {
|
|
2484
|
+
var tmp = this.jbx($this$dispatchAsync, store, $completion);
|
|
2485
2485
|
tmp.n9_1 = Unit_instance;
|
|
2486
2486
|
tmp.o9_1 = null;
|
|
2487
2487
|
return tmp.t9();
|
|
2488
2488
|
};
|
|
2489
2489
|
protoOf(GameServer$addSpectatorsToRoom$slambda).ea = function (p1, p2, $completion) {
|
|
2490
2490
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2491
|
-
return this.
|
|
2491
|
+
return this.ibx(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2492
2492
|
};
|
|
2493
2493
|
protoOf(GameServer$addSpectatorsToRoom$slambda).t9 = function () {
|
|
2494
2494
|
var suspendResult = this.n9_1;
|
|
@@ -2497,7 +2497,7 @@
|
|
|
2497
2497
|
var tmp = this.l9_1;
|
|
2498
2498
|
if (tmp === 0) {
|
|
2499
2499
|
this.m9_1 = 1;
|
|
2500
|
-
this.
|
|
2500
|
+
this.tet_1.dispatch(new AddSpectatorsAction(toList(this.ret_1)));
|
|
2501
2501
|
return Unit_instance;
|
|
2502
2502
|
} else if (tmp === 1) {
|
|
2503
2503
|
throw this.o9_1;
|
|
@@ -2508,33 +2508,33 @@
|
|
|
2508
2508
|
}
|
|
2509
2509
|
while (true);
|
|
2510
2510
|
};
|
|
2511
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2512
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
2513
|
-
i.
|
|
2514
|
-
i.
|
|
2511
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).jbx = function ($this$dispatchAsync, store, completion) {
|
|
2512
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.ret_1, completion);
|
|
2513
|
+
i.set_1 = $this$dispatchAsync;
|
|
2514
|
+
i.tet_1 = store;
|
|
2515
2515
|
return i;
|
|
2516
2516
|
};
|
|
2517
2517
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
2518
2518
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
2519
2519
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2520
|
-
return i.
|
|
2520
|
+
return i.ibx($this$dispatchAsync, store, $completion);
|
|
2521
2521
|
};
|
|
2522
2522
|
l.$arity = 2;
|
|
2523
2523
|
return l;
|
|
2524
2524
|
}
|
|
2525
2525
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
2526
|
-
this.
|
|
2526
|
+
this.ceu_1 = $spectators;
|
|
2527
2527
|
CoroutineImpl.call(this, resultContinuation);
|
|
2528
2528
|
}
|
|
2529
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2530
|
-
var tmp = this.
|
|
2529
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).ibx = function ($this$dispatchAsync, store, $completion) {
|
|
2530
|
+
var tmp = this.jbx($this$dispatchAsync, store, $completion);
|
|
2531
2531
|
tmp.n9_1 = Unit_instance;
|
|
2532
2532
|
tmp.o9_1 = null;
|
|
2533
2533
|
return tmp.t9();
|
|
2534
2534
|
};
|
|
2535
2535
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).ea = function (p1, p2, $completion) {
|
|
2536
2536
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2537
|
-
return this.
|
|
2537
|
+
return this.ibx(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2538
2538
|
};
|
|
2539
2539
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).t9 = function () {
|
|
2540
2540
|
var suspendResult = this.n9_1;
|
|
@@ -2543,7 +2543,7 @@
|
|
|
2543
2543
|
var tmp = this.l9_1;
|
|
2544
2544
|
if (tmp === 0) {
|
|
2545
2545
|
this.m9_1 = 1;
|
|
2546
|
-
this.
|
|
2546
|
+
this.eeu_1.dispatch(new RemoveSpectatorsAction(toList(this.ceu_1)));
|
|
2547
2547
|
return Unit_instance;
|
|
2548
2548
|
} else if (tmp === 1) {
|
|
2549
2549
|
throw this.o9_1;
|
|
@@ -2554,34 +2554,34 @@
|
|
|
2554
2554
|
}
|
|
2555
2555
|
while (true);
|
|
2556
2556
|
};
|
|
2557
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2558
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
2559
|
-
i.
|
|
2560
|
-
i.
|
|
2557
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).jbx = function ($this$dispatchAsync, store, completion) {
|
|
2558
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.ceu_1, completion);
|
|
2559
|
+
i.deu_1 = $this$dispatchAsync;
|
|
2560
|
+
i.eeu_1 = store;
|
|
2561
2561
|
return i;
|
|
2562
2562
|
};
|
|
2563
2563
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
2564
2564
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
2565
2565
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2566
|
-
return i.
|
|
2566
|
+
return i.ibx($this$dispatchAsync, store, $completion);
|
|
2567
2567
|
};
|
|
2568
2568
|
l.$arity = 2;
|
|
2569
2569
|
return l;
|
|
2570
2570
|
}
|
|
2571
2571
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
2572
|
-
this.
|
|
2573
|
-
this.
|
|
2572
|
+
this.neu_1 = $playerId;
|
|
2573
|
+
this.oeu_1 = this$0;
|
|
2574
2574
|
CoroutineImpl.call(this, resultContinuation);
|
|
2575
2575
|
}
|
|
2576
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2577
|
-
var tmp = this.
|
|
2576
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).ibx = function ($this$dispatchAsync, store, $completion) {
|
|
2577
|
+
var tmp = this.jbx($this$dispatchAsync, store, $completion);
|
|
2578
2578
|
tmp.n9_1 = Unit_instance;
|
|
2579
2579
|
tmp.o9_1 = null;
|
|
2580
2580
|
return tmp.t9();
|
|
2581
2581
|
};
|
|
2582
2582
|
protoOf(GameServer$roomRefreshPlayerState$slambda).ea = function (p1, p2, $completion) {
|
|
2583
2583
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2584
|
-
return this.
|
|
2584
|
+
return this.ibx(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2585
2585
|
};
|
|
2586
2586
|
protoOf(GameServer$roomRefreshPlayerState$slambda).t9 = function () {
|
|
2587
2587
|
var suspendResult = this.n9_1;
|
|
@@ -2590,14 +2590,14 @@
|
|
|
2590
2590
|
var tmp = this.l9_1;
|
|
2591
2591
|
if (tmp === 0) {
|
|
2592
2592
|
this.m9_1 = 1;
|
|
2593
|
-
var table = this.
|
|
2594
|
-
var player = getPlayer(table.players, this.
|
|
2593
|
+
var table = this.qeu_1.state.u77();
|
|
2594
|
+
var player = getPlayer(table.players, this.neu_1);
|
|
2595
2595
|
if (player.m7a_1.x6r().o6q_1.isLive) {
|
|
2596
|
-
this.
|
|
2596
|
+
this.qeu_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.oeu_1).n9k(player, table));
|
|
2597
2597
|
} else {
|
|
2598
|
-
var tmp_0 = this.
|
|
2598
|
+
var tmp_0 = this.qeu_1.dispatch;
|
|
2599
2599
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2600
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2600
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.neu_1));
|
|
2601
2601
|
}
|
|
2602
2602
|
return Unit_instance;
|
|
2603
2603
|
} else if (tmp === 1) {
|
|
@@ -2609,34 +2609,34 @@
|
|
|
2609
2609
|
}
|
|
2610
2610
|
while (true);
|
|
2611
2611
|
};
|
|
2612
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2613
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
2614
|
-
i.
|
|
2615
|
-
i.
|
|
2612
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).jbx = function ($this$dispatchAsync, store, completion) {
|
|
2613
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.neu_1, this.oeu_1, completion);
|
|
2614
|
+
i.peu_1 = $this$dispatchAsync;
|
|
2615
|
+
i.qeu_1 = store;
|
|
2616
2616
|
return i;
|
|
2617
2617
|
};
|
|
2618
2618
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
2619
2619
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
2620
2620
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2621
|
-
return i.
|
|
2621
|
+
return i.ibx($this$dispatchAsync, store, $completion);
|
|
2622
2622
|
};
|
|
2623
2623
|
l.$arity = 2;
|
|
2624
2624
|
return l;
|
|
2625
2625
|
}
|
|
2626
2626
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
2627
|
-
this.
|
|
2628
|
-
this.
|
|
2627
|
+
this.zeu_1 = this$0;
|
|
2628
|
+
this.aev_1 = $newRid;
|
|
2629
2629
|
CoroutineImpl.call(this, resultContinuation);
|
|
2630
2630
|
}
|
|
2631
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2632
|
-
var tmp = this.
|
|
2631
|
+
protoOf(GameServer$roomOnDelete$slambda).ibx = function ($this$dispatchAsync, store, $completion) {
|
|
2632
|
+
var tmp = this.jbx($this$dispatchAsync, store, $completion);
|
|
2633
2633
|
tmp.n9_1 = Unit_instance;
|
|
2634
2634
|
tmp.o9_1 = null;
|
|
2635
2635
|
return tmp.t9();
|
|
2636
2636
|
};
|
|
2637
2637
|
protoOf(GameServer$roomOnDelete$slambda).ea = function (p1, p2, $completion) {
|
|
2638
2638
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2639
|
-
return this.
|
|
2639
|
+
return this.ibx(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2640
2640
|
};
|
|
2641
2641
|
protoOf(GameServer$roomOnDelete$slambda).t9 = function () {
|
|
2642
2642
|
var suspendResult = this.n9_1;
|
|
@@ -2645,10 +2645,10 @@
|
|
|
2645
2645
|
var tmp = this.l9_1;
|
|
2646
2646
|
if (tmp === 0) {
|
|
2647
2647
|
this.m9_1 = 1;
|
|
2648
|
-
var it = this.
|
|
2648
|
+
var it = this.zeu_1.u6p().g77_1;
|
|
2649
2649
|
var tmp_0;
|
|
2650
2650
|
if (it == null) {
|
|
2651
|
-
_get_logger__rkp4sl(this.
|
|
2651
|
+
_get_logger__rkp4sl(this.zeu_1).w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
2652
2652
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
2653
2653
|
} else {
|
|
2654
2654
|
tmp_0 = it;
|
|
@@ -2657,15 +2657,15 @@
|
|
|
2657
2657
|
var gameTransition = terminationState.f8p_1;
|
|
2658
2658
|
var tmp_1;
|
|
2659
2659
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
2660
|
-
var tmp0_elvis_lhs = this.
|
|
2660
|
+
var tmp0_elvis_lhs = this.aev_1;
|
|
2661
2661
|
tmp_1 = gameTransition.copy(tmp0_elvis_lhs == null ? gameTransition.roomId : tmp0_elvis_lhs);
|
|
2662
2662
|
} else {
|
|
2663
2663
|
tmp_1 = gameTransition;
|
|
2664
2664
|
}
|
|
2665
2665
|
var transition = tmp_1;
|
|
2666
|
-
var tmp_2 = this.
|
|
2666
|
+
var tmp_2 = this.cev_1.dispatch;
|
|
2667
2667
|
var tmp0_reason = terminationState.e8p_1;
|
|
2668
|
-
var tmp1_isGameFinished = this.
|
|
2668
|
+
var tmp1_isGameFinished = this.zeu_1.u6p().u77().isGameFinished;
|
|
2669
2669
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
2670
2670
|
return Unit_instance;
|
|
2671
2671
|
} else if (tmp === 1) {
|
|
@@ -2677,33 +2677,33 @@
|
|
|
2677
2677
|
}
|
|
2678
2678
|
while (true);
|
|
2679
2679
|
};
|
|
2680
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2681
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
2682
|
-
i.
|
|
2683
|
-
i.
|
|
2680
|
+
protoOf(GameServer$roomOnDelete$slambda).jbx = function ($this$dispatchAsync, store, completion) {
|
|
2681
|
+
var i = new GameServer$roomOnDelete$slambda(this.zeu_1, this.aev_1, completion);
|
|
2682
|
+
i.bev_1 = $this$dispatchAsync;
|
|
2683
|
+
i.cev_1 = store;
|
|
2684
2684
|
return i;
|
|
2685
2685
|
};
|
|
2686
2686
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
2687
2687
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
2688
2688
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2689
|
-
return i.
|
|
2689
|
+
return i.ibx($this$dispatchAsync, store, $completion);
|
|
2690
2690
|
};
|
|
2691
2691
|
l.$arity = 2;
|
|
2692
2692
|
return l;
|
|
2693
2693
|
}
|
|
2694
2694
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
2695
|
-
this.
|
|
2695
|
+
this.lev_1 = $enabled;
|
|
2696
2696
|
CoroutineImpl.call(this, resultContinuation);
|
|
2697
2697
|
}
|
|
2698
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2699
|
-
var tmp = this.
|
|
2698
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).ibx = function ($this$dispatchAsync, store, $completion) {
|
|
2699
|
+
var tmp = this.jbx($this$dispatchAsync, store, $completion);
|
|
2700
2700
|
tmp.n9_1 = Unit_instance;
|
|
2701
2701
|
tmp.o9_1 = null;
|
|
2702
2702
|
return tmp.t9();
|
|
2703
2703
|
};
|
|
2704
2704
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).ea = function (p1, p2, $completion) {
|
|
2705
2705
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2706
|
-
return this.
|
|
2706
|
+
return this.ibx(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2707
2707
|
};
|
|
2708
2708
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).t9 = function () {
|
|
2709
2709
|
var suspendResult = this.n9_1;
|
|
@@ -2712,7 +2712,7 @@
|
|
|
2712
2712
|
var tmp = this.l9_1;
|
|
2713
2713
|
if (tmp === 0) {
|
|
2714
2714
|
this.m9_1 = 1;
|
|
2715
|
-
this.
|
|
2715
|
+
this.nev_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload(this.nev_1.state).config.copy(VOID, this.lev_1)));
|
|
2716
2716
|
return Unit_instance;
|
|
2717
2717
|
} else if (tmp === 1) {
|
|
2718
2718
|
throw this.o9_1;
|
|
@@ -2723,35 +2723,35 @@
|
|
|
2723
2723
|
}
|
|
2724
2724
|
while (true);
|
|
2725
2725
|
};
|
|
2726
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2727
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
2728
|
-
i.
|
|
2729
|
-
i.
|
|
2726
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).jbx = function ($this$dispatchAsync, store, completion) {
|
|
2727
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.lev_1, completion);
|
|
2728
|
+
i.mev_1 = $this$dispatchAsync;
|
|
2729
|
+
i.nev_1 = store;
|
|
2730
2730
|
return i;
|
|
2731
2731
|
};
|
|
2732
2732
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
2733
2733
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
2734
2734
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2735
|
-
return i.
|
|
2735
|
+
return i.ibx($this$dispatchAsync, store, $completion);
|
|
2736
2736
|
};
|
|
2737
2737
|
l.$arity = 2;
|
|
2738
2738
|
return l;
|
|
2739
2739
|
}
|
|
2740
2740
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
2741
|
-
this.
|
|
2742
|
-
this.
|
|
2743
|
-
this.
|
|
2741
|
+
this.wev_1 = $reason;
|
|
2742
|
+
this.xev_1 = this$0;
|
|
2743
|
+
this.yev_1 = $roomId;
|
|
2744
2744
|
CoroutineImpl.call(this, resultContinuation);
|
|
2745
2745
|
}
|
|
2746
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2747
|
-
var tmp = this.
|
|
2746
|
+
protoOf(GameServer$shutdown$slambda).ibx = function ($this$dispatchAsync, store, $completion) {
|
|
2747
|
+
var tmp = this.jbx($this$dispatchAsync, store, $completion);
|
|
2748
2748
|
tmp.n9_1 = Unit_instance;
|
|
2749
2749
|
tmp.o9_1 = null;
|
|
2750
2750
|
return tmp.t9();
|
|
2751
2751
|
};
|
|
2752
2752
|
protoOf(GameServer$shutdown$slambda).ea = function (p1, p2, $completion) {
|
|
2753
2753
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2754
|
-
return this.
|
|
2754
|
+
return this.ibx(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2755
2755
|
};
|
|
2756
2756
|
protoOf(GameServer$shutdown$slambda).t9 = function () {
|
|
2757
2757
|
var suspendResult = this.n9_1;
|
|
@@ -2760,11 +2760,11 @@
|
|
|
2760
2760
|
var tmp = this.l9_1;
|
|
2761
2761
|
if (tmp === 0) {
|
|
2762
2762
|
this.m9_1 = 1;
|
|
2763
|
-
var state = this.
|
|
2763
|
+
var state = this.aew_1.store.state;
|
|
2764
2764
|
if (state.v77()) {
|
|
2765
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
2765
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.wev_1, get_serverShutdownReasonMapping());
|
|
2766
2766
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
2767
|
-
var tmp_0 = this.
|
|
2767
|
+
var tmp_0 = this.aew_1.dispatch;
|
|
2768
2768
|
var tmp_1 = Companion_instance;
|
|
2769
2769
|
var tmp_2;
|
|
2770
2770
|
switch (shutdownReason.r2_1) {
|
|
@@ -2778,10 +2778,10 @@
|
|
|
2778
2778
|
noWhenBranchMatchedException();
|
|
2779
2779
|
break;
|
|
2780
2780
|
}
|
|
2781
|
-
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.
|
|
2781
|
+
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.xev_1.table.isGameFinished, this.xev_1.table));
|
|
2782
2782
|
} else {
|
|
2783
|
-
_get_logger__rkp4sl(this.
|
|
2784
|
-
var tmp_3 = this.
|
|
2783
|
+
_get_logger__rkp4sl(this.xev_1).w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.yev_1);
|
|
2784
|
+
var tmp_3 = this.aew_1.dispatch;
|
|
2785
2785
|
var tmp2_safe_receiver = state.g77_1;
|
|
2786
2786
|
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.f8p_1));
|
|
2787
2787
|
}
|
|
@@ -2795,16 +2795,16 @@
|
|
|
2795
2795
|
}
|
|
2796
2796
|
while (true);
|
|
2797
2797
|
};
|
|
2798
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2799
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
2800
|
-
i.
|
|
2801
|
-
i.
|
|
2798
|
+
protoOf(GameServer$shutdown$slambda).jbx = function ($this$dispatchAsync, store, completion) {
|
|
2799
|
+
var i = new GameServer$shutdown$slambda(this.wev_1, this.xev_1, this.yev_1, completion);
|
|
2800
|
+
i.zev_1 = $this$dispatchAsync;
|
|
2801
|
+
i.aew_1 = store;
|
|
2802
2802
|
return i;
|
|
2803
2803
|
};
|
|
2804
2804
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
2805
2805
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
2806
2806
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2807
|
-
return i.
|
|
2807
|
+
return i.ibx($this$dispatchAsync, store, $completion);
|
|
2808
2808
|
};
|
|
2809
2809
|
l.$arity = 2;
|
|
2810
2810
|
return l;
|
|
@@ -2835,7 +2835,7 @@
|
|
|
2835
2835
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
2836
2836
|
var tmp_3 = Instance(di, tmp$ret$2, null);
|
|
2837
2837
|
var tmp_4 = KProperty1;
|
|
2838
|
-
tmp_1.
|
|
2838
|
+
tmp_1.lem_1 = tmp_3.a6i(this, getPropertyCallableRef('logger', 1, tmp_4, GameServer$_get_logger_$ref_fogce1(), null));
|
|
2839
2839
|
var tmp_5 = this;
|
|
2840
2840
|
// Inline function 'org.kodein.di.instance' call
|
|
2841
2841
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2843,7 +2843,7 @@
|
|
|
2843
2843
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
2844
2844
|
var tmp_7 = Instance(di, tmp$ret$4, null);
|
|
2845
2845
|
var tmp_8 = KProperty1;
|
|
2846
|
-
tmp_5.
|
|
2846
|
+
tmp_5.mem_1 = tmp_7.a6i(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_8, GameServer$_get_toClientEventsObserver_$ref_utir8s(), null));
|
|
2847
2847
|
var tmp_9 = this;
|
|
2848
2848
|
// Inline function 'org.kodein.di.instance' call
|
|
2849
2849
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2851,7 +2851,7 @@
|
|
|
2851
2851
|
var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
2852
2852
|
var tmp_11 = Instance(di, tmp$ret$6, null);
|
|
2853
2853
|
var tmp_12 = KProperty1;
|
|
2854
|
-
tmp_9.
|
|
2854
|
+
tmp_9.nem_1 = tmp_11.a6i(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_12, GameServer$_get_fromClientEventsObserver_$ref_nf1g79(), null));
|
|
2855
2855
|
var tmp_13 = this;
|
|
2856
2856
|
// Inline function 'org.kodein.di.instance' call
|
|
2857
2857
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2859,7 +2859,7 @@
|
|
|
2859
2859
|
var tmp$ret$8 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
2860
2860
|
var tmp_15 = Instance(di, tmp$ret$8, null);
|
|
2861
2861
|
var tmp_16 = KProperty1;
|
|
2862
|
-
tmp_13.
|
|
2862
|
+
tmp_13.oem_1 = tmp_15.a6i(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_16, GameServer$_get_playerConnectionInteractor_$ref_of8tan(), null));
|
|
2863
2863
|
var tmp_17 = this;
|
|
2864
2864
|
// Inline function 'org.kodein.di.instance' call
|
|
2865
2865
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2867,9 +2867,9 @@
|
|
|
2867
2867
|
var tmp$ret$10 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
2868
2868
|
var tmp_19 = Instance(di, tmp$ret$10, null);
|
|
2869
2869
|
var tmp_20 = KProperty1;
|
|
2870
|
-
tmp_17.
|
|
2870
|
+
tmp_17.pem_1 = tmp_19.a6i(this, getPropertyCallableRef('teamsLogicProvider', 1, tmp_20, GameServer$_get_teamsLogicProvider_$ref_b7y54g(), null));
|
|
2871
2871
|
var tmp_21 = this;
|
|
2872
|
-
tmp_21.
|
|
2872
|
+
tmp_21.qem_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
2873
2873
|
var tmp_22 = this;
|
|
2874
2874
|
// Inline function 'org.kodein.di.instance' call
|
|
2875
2875
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2877,7 +2877,7 @@
|
|
|
2877
2877
|
var tmp$ret$12 = isInterface(tmp_23, TypeToken) ? tmp_23 : THROW_CCE();
|
|
2878
2878
|
var tmp_24 = Instance(di, tmp$ret$12, null);
|
|
2879
2879
|
var tmp_25 = KProperty1;
|
|
2880
|
-
tmp_22.
|
|
2880
|
+
tmp_22.rem_1 = tmp_24.a6i(this, getPropertyCallableRef('idsProvider', 1, tmp_25, GameServer$_get_idsProvider_$ref_89s908(), null));
|
|
2881
2881
|
var tmp_26 = this;
|
|
2882
2882
|
// Inline function 'org.kodein.di.instance' call
|
|
2883
2883
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2885,7 +2885,7 @@
|
|
|
2885
2885
|
var tmp$ret$14 = isInterface(tmp_27, TypeToken) ? tmp_27 : THROW_CCE();
|
|
2886
2886
|
var tmp_28 = Instance(di, tmp$ret$14, null);
|
|
2887
2887
|
var tmp_29 = KProperty1;
|
|
2888
|
-
tmp_26.
|
|
2888
|
+
tmp_26.sem_1 = tmp_28.a6i(this, getPropertyCallableRef('serverReduxConfig', 1, tmp_29, GameServer$_get_serverReduxConfig_$ref_7h6jq6(), null));
|
|
2889
2889
|
var tmp_30 = this;
|
|
2890
2890
|
// Inline function 'org.kodein.di.instance' call
|
|
2891
2891
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2893,14 +2893,14 @@
|
|
|
2893
2893
|
var tmp$ret$16 = isInterface(tmp_31, TypeToken) ? tmp_31 : THROW_CCE();
|
|
2894
2894
|
var tmp_32 = Instance(di, tmp$ret$16, null);
|
|
2895
2895
|
var tmp_33 = KProperty1;
|
|
2896
|
-
tmp_30.
|
|
2896
|
+
tmp_30.tem_1 = tmp_32.a6i(this, getPropertyCallableRef('encoderDecoderProvider', 1, tmp_33, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8(), null));
|
|
2897
2897
|
var tmp_34 = this;
|
|
2898
2898
|
var tmp0_externalMiddlewares = plus(storeContract.u9q(), externalMiddlewares);
|
|
2899
2899
|
var tmp1_externalReducers = plus(storeContract.t9q(), externalReducers);
|
|
2900
|
-
tmp_34.
|
|
2900
|
+
tmp_34.uem_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
2901
2901
|
}
|
|
2902
2902
|
protoOf(GameServer).u76 = function () {
|
|
2903
|
-
return this.
|
|
2903
|
+
return this.uem_1;
|
|
2904
2904
|
};
|
|
2905
2905
|
protoOf(GameServer).a5y = function () {
|
|
2906
2906
|
return this.u6p().u77().id;
|
|
@@ -2932,55 +2932,55 @@
|
|
|
2932
2932
|
};
|
|
2933
2933
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
2934
2934
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
2935
|
-
this.
|
|
2935
|
+
this.uem_1.t77(GameServer$fromClientEvent$slambda_0(action, null));
|
|
2936
2936
|
};
|
|
2937
2937
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
2938
2938
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
2939
|
-
this.
|
|
2939
|
+
this.uem_1.t77(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
2940
2940
|
};
|
|
2941
2941
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
2942
2942
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLive: ' + playerId);
|
|
2943
|
-
this.
|
|
2943
|
+
this.uem_1.t77(GameServer$playerLive$slambda_0(this, playerId, null));
|
|
2944
2944
|
};
|
|
2945
2945
|
protoOf(GameServer).playerLeft = function (playerId) {
|
|
2946
2946
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
2947
|
-
this.
|
|
2947
|
+
this.uem_1.t77(GameServer$playerLeft$slambda_0(this, playerId, null));
|
|
2948
2948
|
};
|
|
2949
|
-
protoOf(GameServer).
|
|
2949
|
+
protoOf(GameServer).bew = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
2950
2950
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
2951
|
-
this.
|
|
2951
|
+
this.uem_1.t77(GameServer$roomOnCreate$slambda_0(usersArray, config, this, roomId, transition, gameCreatorId, spectators, null));
|
|
2952
2952
|
};
|
|
2953
2953
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
2954
2954
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
2955
|
-
this.
|
|
2956
|
-
this.
|
|
2955
|
+
this.uem_1.t77(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
2956
|
+
this.uem_1.t77(GameServer$roomOnContinueFromState$slambda_2(state, null));
|
|
2957
2957
|
};
|
|
2958
2958
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
2959
2959
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
2960
|
-
this.
|
|
2961
|
-
this.
|
|
2960
|
+
this.uem_1.t77(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
2961
|
+
this.uem_1.t77(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
2962
2962
|
};
|
|
2963
2963
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
2964
|
-
this.
|
|
2964
|
+
this.uem_1.t77(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
2965
2965
|
};
|
|
2966
2966
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
2967
|
-
this.
|
|
2967
|
+
this.uem_1.t77(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
2968
2968
|
};
|
|
2969
2969
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
2970
2970
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
2971
|
-
this.
|
|
2971
|
+
this.uem_1.t77(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
2972
2972
|
};
|
|
2973
|
-
protoOf(GameServer).
|
|
2973
|
+
protoOf(GameServer).cew = function (newRid) {
|
|
2974
2974
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnDelete: ' + newRid);
|
|
2975
|
-
this.
|
|
2975
|
+
this.uem_1.t77(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
2976
2976
|
};
|
|
2977
2977
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
2978
2978
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
2979
|
-
this.
|
|
2979
|
+
this.uem_1.t77(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
2980
2980
|
};
|
|
2981
|
-
protoOf(GameServer).
|
|
2981
|
+
protoOf(GameServer).dew = function (reason, roomId) {
|
|
2982
2982
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
2983
|
-
this.
|
|
2983
|
+
this.uem_1.t77(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
2984
2984
|
};
|
|
2985
2985
|
protoOf(GameServer).clear = function () {
|
|
2986
2986
|
return this.d2();
|
|
@@ -3031,10 +3031,10 @@
|
|
|
3031
3031
|
this.fromRound = fromRound;
|
|
3032
3032
|
this.canStartNewGame = canStartNewGame;
|
|
3033
3033
|
}
|
|
3034
|
-
protoOf(ServerConfig).
|
|
3034
|
+
protoOf(ServerConfig).eew = function () {
|
|
3035
3035
|
return this.fromRound;
|
|
3036
3036
|
};
|
|
3037
|
-
protoOf(ServerConfig).
|
|
3037
|
+
protoOf(ServerConfig).few = function () {
|
|
3038
3038
|
return this.canStartNewGame;
|
|
3039
3039
|
};
|
|
3040
3040
|
protoOf(ServerConfig).kf = function () {
|
|
@@ -3043,13 +3043,13 @@
|
|
|
3043
3043
|
protoOf(ServerConfig).lf = function () {
|
|
3044
3044
|
return this.canStartNewGame;
|
|
3045
3045
|
};
|
|
3046
|
-
protoOf(ServerConfig).
|
|
3046
|
+
protoOf(ServerConfig).gew = function (fromRound, canStartNewGame) {
|
|
3047
3047
|
return new ServerConfig(fromRound, canStartNewGame);
|
|
3048
3048
|
};
|
|
3049
3049
|
protoOf(ServerConfig).copy = function (fromRound, canStartNewGame, $super) {
|
|
3050
3050
|
fromRound = fromRound === VOID ? this.fromRound : fromRound;
|
|
3051
3051
|
canStartNewGame = canStartNewGame === VOID ? this.canStartNewGame : canStartNewGame;
|
|
3052
|
-
return $super === VOID ? this.
|
|
3052
|
+
return $super === VOID ? this.gew(fromRound, canStartNewGame) : $super.gew.call(this, fromRound, canStartNewGame);
|
|
3053
3053
|
};
|
|
3054
3054
|
protoOf(ServerConfig).toString = function () {
|
|
3055
3055
|
return 'ServerConfig(fromRound=' + this.fromRound + ', canStartNewGame=' + this.canStartNewGame + ')';
|
|
@@ -3111,19 +3111,19 @@
|
|
|
3111
3111
|
$serializer_instance = this;
|
|
3112
3112
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.TableStateUpdateDto', this, 1);
|
|
3113
3113
|
tmp0_serialDesc.l4s('table', false);
|
|
3114
|
-
this.
|
|
3114
|
+
this.hew_1 = tmp0_serialDesc;
|
|
3115
3115
|
}
|
|
3116
|
-
protoOf($serializer).
|
|
3117
|
-
var tmp0_desc = this.
|
|
3116
|
+
protoOf($serializer).iew = function (encoder, value) {
|
|
3117
|
+
var tmp0_desc = this.hew_1;
|
|
3118
3118
|
var tmp1_output = encoder.u4k(tmp0_desc);
|
|
3119
3119
|
tmp1_output.j4m(tmp0_desc, 0, value.table);
|
|
3120
3120
|
tmp1_output.v4k(tmp0_desc);
|
|
3121
3121
|
};
|
|
3122
3122
|
protoOf($serializer).i4h = function (encoder, value) {
|
|
3123
|
-
return this.
|
|
3123
|
+
return this.iew(encoder, value instanceof TableStateUpdateDto ? value : THROW_CCE());
|
|
3124
3124
|
};
|
|
3125
3125
|
protoOf($serializer).j4h = function (decoder) {
|
|
3126
|
-
var tmp0_desc = this.
|
|
3126
|
+
var tmp0_desc = this.hew_1;
|
|
3127
3127
|
var tmp1_flag = true;
|
|
3128
3128
|
var tmp2_index = 0;
|
|
3129
3129
|
var tmp3_bitMask0 = 0;
|
|
@@ -3151,7 +3151,7 @@
|
|
|
3151
3151
|
return TableStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
3152
3152
|
};
|
|
3153
3153
|
protoOf($serializer).h4h = function () {
|
|
3154
|
-
return this.
|
|
3154
|
+
return this.hew_1;
|
|
3155
3155
|
};
|
|
3156
3156
|
protoOf($serializer).a4t = function () {
|
|
3157
3157
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3167,7 +3167,7 @@
|
|
|
3167
3167
|
}
|
|
3168
3168
|
function TableStateUpdateDto_init_$Init$(seen0, table, serializationConstructorMarker, $this) {
|
|
3169
3169
|
if (!(1 === (1 & seen0))) {
|
|
3170
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance().
|
|
3170
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance().hew_1);
|
|
3171
3171
|
}
|
|
3172
3172
|
$this.table = table;
|
|
3173
3173
|
return $this;
|
|
@@ -3220,19 +3220,19 @@
|
|
|
3220
3220
|
$serializer_instance_0 = this;
|
|
3221
3221
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.ActionsStateUpdateDto', this, 1);
|
|
3222
3222
|
tmp0_serialDesc.l4s('actions', false);
|
|
3223
|
-
this.
|
|
3223
|
+
this.jew_1 = tmp0_serialDesc;
|
|
3224
3224
|
}
|
|
3225
|
-
protoOf($serializer_0).
|
|
3226
|
-
var tmp0_desc = this.
|
|
3225
|
+
protoOf($serializer_0).kew = function (encoder, value) {
|
|
3226
|
+
var tmp0_desc = this.jew_1;
|
|
3227
3227
|
var tmp1_output = encoder.u4k(tmp0_desc);
|
|
3228
3228
|
tmp1_output.j4m(tmp0_desc, 0, value.actions);
|
|
3229
3229
|
tmp1_output.v4k(tmp0_desc);
|
|
3230
3230
|
};
|
|
3231
3231
|
protoOf($serializer_0).i4h = function (encoder, value) {
|
|
3232
|
-
return this.
|
|
3232
|
+
return this.kew(encoder, value instanceof ActionsStateUpdateDto ? value : THROW_CCE());
|
|
3233
3233
|
};
|
|
3234
3234
|
protoOf($serializer_0).j4h = function (decoder) {
|
|
3235
|
-
var tmp0_desc = this.
|
|
3235
|
+
var tmp0_desc = this.jew_1;
|
|
3236
3236
|
var tmp1_flag = true;
|
|
3237
3237
|
var tmp2_index = 0;
|
|
3238
3238
|
var tmp3_bitMask0 = 0;
|
|
@@ -3260,7 +3260,7 @@
|
|
|
3260
3260
|
return ActionsStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
3261
3261
|
};
|
|
3262
3262
|
protoOf($serializer_0).h4h = function () {
|
|
3263
|
-
return this.
|
|
3263
|
+
return this.jew_1;
|
|
3264
3264
|
};
|
|
3265
3265
|
protoOf($serializer_0).a4t = function () {
|
|
3266
3266
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3276,7 +3276,7 @@
|
|
|
3276
3276
|
}
|
|
3277
3277
|
function ActionsStateUpdateDto_init_$Init$(seen0, actions, serializationConstructorMarker, $this) {
|
|
3278
3278
|
if (!(1 === (1 & seen0))) {
|
|
3279
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_0().
|
|
3279
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_0().jew_1);
|
|
3280
3280
|
}
|
|
3281
3281
|
$this.actions = actions;
|
|
3282
3282
|
return $this;
|
|
@@ -3356,12 +3356,12 @@
|
|
|
3356
3356
|
protoOf(TableStateUpdate).kf = function () {
|
|
3357
3357
|
return this.table;
|
|
3358
3358
|
};
|
|
3359
|
-
protoOf(TableStateUpdate).
|
|
3359
|
+
protoOf(TableStateUpdate).lew = function (table) {
|
|
3360
3360
|
return new TableStateUpdate(table);
|
|
3361
3361
|
};
|
|
3362
3362
|
protoOf(TableStateUpdate).copy = function (table, $super) {
|
|
3363
3363
|
table = table === VOID ? this.table : table;
|
|
3364
|
-
return $super === VOID ? this.
|
|
3364
|
+
return $super === VOID ? this.lew(table) : $super.lew.call(this, table);
|
|
3365
3365
|
};
|
|
3366
3366
|
protoOf(TableStateUpdate).toString = function () {
|
|
3367
3367
|
return 'TableStateUpdate(table=' + this.table.toString() + ')';
|
|
@@ -3388,12 +3388,12 @@
|
|
|
3388
3388
|
protoOf(ActionsStateUpdate).kf = function () {
|
|
3389
3389
|
return this.actions;
|
|
3390
3390
|
};
|
|
3391
|
-
protoOf(ActionsStateUpdate).
|
|
3391
|
+
protoOf(ActionsStateUpdate).mew = function (actions) {
|
|
3392
3392
|
return new ActionsStateUpdate(actions);
|
|
3393
3393
|
};
|
|
3394
3394
|
protoOf(ActionsStateUpdate).copy = function (actions, $super) {
|
|
3395
3395
|
actions = actions === VOID ? this.actions : actions;
|
|
3396
|
-
return $super === VOID ? this.
|
|
3396
|
+
return $super === VOID ? this.mew(actions) : $super.mew.call(this, actions);
|
|
3397
3397
|
};
|
|
3398
3398
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
3399
3399
|
return 'ActionsStateUpdate(actions=' + toString(this.actions) + ')';
|
|
@@ -3639,18 +3639,18 @@
|
|
|
3639
3639
|
function ToClientEventsObserver() {
|
|
3640
3640
|
}
|
|
3641
3641
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
3642
|
-
this.
|
|
3643
|
-
this.
|
|
3642
|
+
this.wew_1 = this$0;
|
|
3643
|
+
this.xew_1 = $actions;
|
|
3644
3644
|
CoroutineImpl.call(this, resultContinuation);
|
|
3645
3645
|
}
|
|
3646
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3647
|
-
var tmp = this.
|
|
3646
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).hex = function ($this$flow, $completion) {
|
|
3647
|
+
var tmp = this.iex($this$flow, $completion);
|
|
3648
3648
|
tmp.n9_1 = Unit_instance;
|
|
3649
3649
|
tmp.o9_1 = null;
|
|
3650
3650
|
return tmp.t9();
|
|
3651
3651
|
};
|
|
3652
3652
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).da = function (p1, $completion) {
|
|
3653
|
-
return this.
|
|
3653
|
+
return this.hex((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
3654
3654
|
};
|
|
3655
3655
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).t9 = function () {
|
|
3656
3656
|
var suspendResult = this.n9_1;
|
|
@@ -3661,26 +3661,26 @@
|
|
|
3661
3661
|
case 0:
|
|
3662
3662
|
this.m9_1 = 4;
|
|
3663
3663
|
var tmp_0 = this;
|
|
3664
|
-
tmp_0.
|
|
3665
|
-
this.
|
|
3664
|
+
tmp_0.zew_1 = this.wew_1.nex_1;
|
|
3665
|
+
this.aex_1 = this.zew_1;
|
|
3666
3666
|
var tmp_1 = this;
|
|
3667
|
-
tmp_1.
|
|
3668
|
-
this.
|
|
3669
|
-
this.
|
|
3667
|
+
tmp_1.bex_1 = transformToEmits(this.wew_1, this.xew_1);
|
|
3668
|
+
this.cex_1 = this.bex_1;
|
|
3669
|
+
this.dex_1 = this.cex_1.j();
|
|
3670
3670
|
this.l9_1 = 1;
|
|
3671
3671
|
continue $sm;
|
|
3672
3672
|
case 1:
|
|
3673
|
-
if (!this.
|
|
3673
|
+
if (!this.dex_1.k()) {
|
|
3674
3674
|
this.l9_1 = 3;
|
|
3675
3675
|
continue $sm;
|
|
3676
3676
|
}
|
|
3677
3677
|
|
|
3678
|
-
this.
|
|
3678
|
+
this.eex_1 = this.dex_1.l();
|
|
3679
3679
|
var tmp_2 = this;
|
|
3680
|
-
tmp_2.
|
|
3681
|
-
this.
|
|
3680
|
+
tmp_2.fex_1 = this.eex_1;
|
|
3681
|
+
this.gex_1 = this.fex_1;
|
|
3682
3682
|
this.l9_1 = 2;
|
|
3683
|
-
suspendResult = this.
|
|
3683
|
+
suspendResult = this.yew_1.g1c(this.gex_1, this);
|
|
3684
3684
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3685
3685
|
return suspendResult;
|
|
3686
3686
|
}
|
|
@@ -3690,11 +3690,11 @@
|
|
|
3690
3690
|
this.l9_1 = 1;
|
|
3691
3691
|
continue $sm;
|
|
3692
3692
|
case 3:
|
|
3693
|
-
var tmp0 = this.
|
|
3693
|
+
var tmp0 = this.wew_1.mex_1;
|
|
3694
3694
|
l$ret$1: do {
|
|
3695
3695
|
while (true) {
|
|
3696
3696
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
3697
|
-
var upd = cur - this.
|
|
3697
|
+
var upd = cur - this.xew_1.m() | 0;
|
|
3698
3698
|
if (tmp0.atomicfu$compareAndSet(cur, upd)) {
|
|
3699
3699
|
break l$ret$1;
|
|
3700
3700
|
}
|
|
@@ -3716,15 +3716,15 @@
|
|
|
3716
3716
|
}
|
|
3717
3717
|
while (true);
|
|
3718
3718
|
};
|
|
3719
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3720
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
3721
|
-
i.
|
|
3719
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).iex = function ($this$flow, completion) {
|
|
3720
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.wew_1, this.xew_1, completion);
|
|
3721
|
+
i.yew_1 = $this$flow;
|
|
3722
3722
|
return i;
|
|
3723
3723
|
};
|
|
3724
3724
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
3725
3725
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
3726
3726
|
var l = function ($this$flow, $completion) {
|
|
3727
|
-
return i.
|
|
3727
|
+
return i.hex($this$flow, $completion);
|
|
3728
3728
|
};
|
|
3729
3729
|
l.$arity = 1;
|
|
3730
3730
|
return l;
|
|
@@ -3794,29 +3794,29 @@
|
|
|
3794
3794
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
3795
3795
|
}
|
|
3796
3796
|
function mapFromGroupKey($this, _this__u8e3s4) {
|
|
3797
|
-
var tmp = $this.
|
|
3797
|
+
var tmp = $this.lex_1.u6w();
|
|
3798
3798
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3799
|
-
var this_0 = _this__u8e3s4.
|
|
3799
|
+
var this_0 = _this__u8e3s4.qex_1;
|
|
3800
3800
|
var tmp_0 = copyToArray(this_0);
|
|
3801
3801
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3802
|
-
var this_1 = _this__u8e3s4.
|
|
3802
|
+
var this_1 = _this__u8e3s4.rex_1;
|
|
3803
3803
|
var tmp$ret$1 = copyToArray(this_1);
|
|
3804
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
3804
|
+
return new ActionDeliveryPayload(_this__u8e3s4.pex_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.sex_1);
|
|
3805
3805
|
}
|
|
3806
3806
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
3807
|
-
this.
|
|
3808
|
-
this.
|
|
3809
|
-
this.
|
|
3810
|
-
this.
|
|
3807
|
+
this.pex_1 = tableId;
|
|
3808
|
+
this.qex_1 = includePlayers;
|
|
3809
|
+
this.rex_1 = excludePlayers;
|
|
3810
|
+
this.sex_1 = deliveryType;
|
|
3811
3811
|
}
|
|
3812
3812
|
protoOf(GroupKey).toString = function () {
|
|
3813
|
-
return 'GroupKey(tableId=' + this.
|
|
3813
|
+
return 'GroupKey(tableId=' + this.pex_1 + ', includePlayers=' + toString(this.qex_1) + ', excludePlayers=' + toString(this.rex_1) + ', deliveryType=' + this.sex_1.toString() + ')';
|
|
3814
3814
|
};
|
|
3815
3815
|
protoOf(GroupKey).hashCode = function () {
|
|
3816
|
-
var result = getStringHashCode(this.
|
|
3817
|
-
result = imul(result, 31) + hashCode(this.
|
|
3818
|
-
result = imul(result, 31) + hashCode(this.
|
|
3819
|
-
result = imul(result, 31) + this.
|
|
3816
|
+
var result = getStringHashCode(this.pex_1);
|
|
3817
|
+
result = imul(result, 31) + hashCode(this.qex_1) | 0;
|
|
3818
|
+
result = imul(result, 31) + hashCode(this.rex_1) | 0;
|
|
3819
|
+
result = imul(result, 31) + this.sex_1.hashCode() | 0;
|
|
3820
3820
|
return result;
|
|
3821
3821
|
};
|
|
3822
3822
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -3825,35 +3825,35 @@
|
|
|
3825
3825
|
if (!(other instanceof GroupKey))
|
|
3826
3826
|
return false;
|
|
3827
3827
|
var tmp0_other_with_cast = other instanceof GroupKey ? other : THROW_CCE();
|
|
3828
|
-
if (!(this.
|
|
3828
|
+
if (!(this.pex_1 === tmp0_other_with_cast.pex_1))
|
|
3829
3829
|
return false;
|
|
3830
|
-
if (!equals(this.
|
|
3830
|
+
if (!equals(this.qex_1, tmp0_other_with_cast.qex_1))
|
|
3831
3831
|
return false;
|
|
3832
|
-
if (!equals(this.
|
|
3832
|
+
if (!equals(this.rex_1, tmp0_other_with_cast.rex_1))
|
|
3833
3833
|
return false;
|
|
3834
|
-
if (!this.
|
|
3834
|
+
if (!this.sex_1.equals(tmp0_other_with_cast.sex_1))
|
|
3835
3835
|
return false;
|
|
3836
3836
|
return true;
|
|
3837
3837
|
};
|
|
3838
3838
|
function Companion_4() {
|
|
3839
|
-
this.
|
|
3839
|
+
this.tex_1 = 6;
|
|
3840
3840
|
}
|
|
3841
3841
|
var Companion_instance_12;
|
|
3842
3842
|
function Companion_getInstance_5() {
|
|
3843
3843
|
return Companion_instance_12;
|
|
3844
3844
|
}
|
|
3845
3845
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
3846
|
-
this.
|
|
3846
|
+
this.cey_1 = this$0;
|
|
3847
3847
|
CoroutineImpl.call(this, resultContinuation);
|
|
3848
3848
|
}
|
|
3849
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3850
|
-
var tmp = this.
|
|
3849
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).eey = function (actions, $completion) {
|
|
3850
|
+
var tmp = this.fey(actions, $completion);
|
|
3851
3851
|
tmp.n9_1 = Unit_instance;
|
|
3852
3852
|
tmp.o9_1 = null;
|
|
3853
3853
|
return tmp.t9();
|
|
3854
3854
|
};
|
|
3855
3855
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).da = function (p1, $completion) {
|
|
3856
|
-
return this.
|
|
3856
|
+
return this.eey((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
3857
3857
|
};
|
|
3858
3858
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).t9 = function () {
|
|
3859
3859
|
var suspendResult = this.n9_1;
|
|
@@ -3862,7 +3862,7 @@
|
|
|
3862
3862
|
var tmp = this.l9_1;
|
|
3863
3863
|
if (tmp === 0) {
|
|
3864
3864
|
this.m9_1 = 1;
|
|
3865
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
3865
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.cey_1, this.dey_1, null));
|
|
3866
3866
|
} else if (tmp === 1) {
|
|
3867
3867
|
throw this.o9_1;
|
|
3868
3868
|
}
|
|
@@ -3872,23 +3872,23 @@
|
|
|
3872
3872
|
}
|
|
3873
3873
|
while (true);
|
|
3874
3874
|
};
|
|
3875
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3876
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
3877
|
-
i.
|
|
3875
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).fey = function (actions, completion) {
|
|
3876
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.cey_1, completion);
|
|
3877
|
+
i.dey_1 = actions;
|
|
3878
3878
|
return i;
|
|
3879
3879
|
};
|
|
3880
3880
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
3881
3881
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
3882
3882
|
var l = function (actions, $completion) {
|
|
3883
|
-
return i.
|
|
3883
|
+
return i.eey(actions, $completion);
|
|
3884
3884
|
};
|
|
3885
3885
|
l.$arity = 1;
|
|
3886
3886
|
return l;
|
|
3887
3887
|
}
|
|
3888
3888
|
function $sentEventCOROUTINE$(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
3889
3889
|
CoroutineImpl.call(this, resultContinuation);
|
|
3890
|
-
this.
|
|
3891
|
-
this.
|
|
3890
|
+
this.pey_1 = _this__u8e3s4;
|
|
3891
|
+
this.qey_1 = fromEvent;
|
|
3892
3892
|
}
|
|
3893
3893
|
protoOf($sentEventCOROUTINE$).t9 = function () {
|
|
3894
3894
|
var suspendResult = this.n9_1;
|
|
@@ -3899,9 +3899,9 @@
|
|
|
3899
3899
|
case 0:
|
|
3900
3900
|
this.m9_1 = 2;
|
|
3901
3901
|
var tmp_0 = this;
|
|
3902
|
-
tmp_0.
|
|
3903
|
-
this.
|
|
3904
|
-
var tmp0 = this.
|
|
3902
|
+
tmp_0.rey_1 = this.pey_1.nex_1;
|
|
3903
|
+
this.sey_1 = this.rey_1;
|
|
3904
|
+
var tmp0 = this.pey_1.mex_1;
|
|
3905
3905
|
l$ret$1: do {
|
|
3906
3906
|
while (true) {
|
|
3907
3907
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
@@ -3913,7 +3913,7 @@
|
|
|
3913
3913
|
}
|
|
3914
3914
|
while (false);
|
|
3915
3915
|
this.l9_1 = 1;
|
|
3916
|
-
suspendResult = this.
|
|
3916
|
+
suspendResult = this.pey_1.oex_1.g1c(this.qey_1, this);
|
|
3917
3917
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3918
3918
|
return suspendResult;
|
|
3919
3919
|
}
|
|
@@ -3937,7 +3937,7 @@
|
|
|
3937
3937
|
};
|
|
3938
3938
|
function $waitForCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
3939
3939
|
CoroutineImpl.call(this, resultContinuation);
|
|
3940
|
-
this.
|
|
3940
|
+
this.bez_1 = _this__u8e3s4;
|
|
3941
3941
|
}
|
|
3942
3942
|
protoOf($waitForCOROUTINE$).t9 = function () {
|
|
3943
3943
|
var suspendResult = this.n9_1;
|
|
@@ -3948,13 +3948,13 @@
|
|
|
3948
3948
|
case 0:
|
|
3949
3949
|
this.m9_1 = 5;
|
|
3950
3950
|
var tmp_0 = this;
|
|
3951
|
-
tmp_0.
|
|
3952
|
-
this.
|
|
3953
|
-
this.
|
|
3951
|
+
tmp_0.cez_1 = this.bez_1.nex_1;
|
|
3952
|
+
this.dez_1 = this.cez_1;
|
|
3953
|
+
this.eez_1 = 0;
|
|
3954
3954
|
this.l9_1 = 1;
|
|
3955
3955
|
continue $sm;
|
|
3956
3956
|
case 1:
|
|
3957
|
-
if (!!(this.
|
|
3957
|
+
if (!!(this.bez_1.mex_1.kotlinx$atomicfu$value === 0)) {
|
|
3958
3958
|
this.l9_1 = 4;
|
|
3959
3959
|
continue $sm;
|
|
3960
3960
|
}
|
|
@@ -3967,9 +3967,9 @@
|
|
|
3967
3967
|
|
|
3968
3968
|
continue $sm;
|
|
3969
3969
|
case 2:
|
|
3970
|
-
this.
|
|
3971
|
-
if (this.
|
|
3972
|
-
this.
|
|
3970
|
+
this.eez_1 = this.eez_1 + 1 | 0;
|
|
3971
|
+
if (this.eez_1 > 6) {
|
|
3972
|
+
this.bez_1.kex_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.bez_1.mex_1.kotlinx$atomicfu$value);
|
|
3973
3973
|
this.l9_1 = 4;
|
|
3974
3974
|
continue $sm;
|
|
3975
3975
|
} else {
|
|
@@ -3997,16 +3997,16 @@
|
|
|
3997
3997
|
while (true);
|
|
3998
3998
|
};
|
|
3999
3999
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
4000
|
-
this.
|
|
4001
|
-
this.
|
|
4002
|
-
this.
|
|
4003
|
-
this.
|
|
4000
|
+
this.jex_1 = serverReduxConfig;
|
|
4001
|
+
this.kex_1 = logger;
|
|
4002
|
+
this.lex_1 = idsProvider;
|
|
4003
|
+
this.mex_1 = atomic$ref$1(0);
|
|
4004
4004
|
var tmp = this;
|
|
4005
4005
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
4006
|
-
tmp.
|
|
4007
|
-
this.
|
|
4006
|
+
tmp.nex_1 = get_atomicfu$reentrantLock();
|
|
4007
|
+
this.oex_1 = MutableSharedFlow();
|
|
4008
4008
|
}
|
|
4009
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4009
|
+
protoOf(ToClientEventsObserverImpl).new = function (fromEvent, $completion) {
|
|
4010
4010
|
var tmp = new $sentEventCOROUTINE$(this, fromEvent, $completion);
|
|
4011
4011
|
tmp.n9_1 = Unit_instance;
|
|
4012
4012
|
tmp.o9_1 = null;
|
|
@@ -4018,21 +4018,21 @@
|
|
|
4018
4018
|
tmp.o9_1 = null;
|
|
4019
4019
|
return tmp.t9();
|
|
4020
4020
|
};
|
|
4021
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4022
|
-
if (!this.
|
|
4023
|
-
return this.
|
|
4021
|
+
protoOf(ToClientEventsObserverImpl).rba = function () {
|
|
4022
|
+
if (!this.jex_1.enabledCombinedEvents) {
|
|
4023
|
+
return this.oex_1;
|
|
4024
4024
|
}
|
|
4025
|
-
var tmp = windowedByInterval(this.
|
|
4025
|
+
var tmp = windowedByInterval(this.oex_1, toLong(this.jex_1.combinedEventsIntervalMillis));
|
|
4026
4026
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
4027
4027
|
};
|
|
4028
4028
|
function UpdateServerConfigAction(serverConfig) {
|
|
4029
|
-
this.
|
|
4029
|
+
this.fez_1 = serverConfig;
|
|
4030
4030
|
}
|
|
4031
4031
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
4032
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
4032
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.fez_1.toString() + ')';
|
|
4033
4033
|
};
|
|
4034
4034
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
4035
|
-
return this.
|
|
4035
|
+
return this.fez_1.hashCode();
|
|
4036
4036
|
};
|
|
4037
4037
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
4038
4038
|
if (this === other)
|
|
@@ -4040,18 +4040,18 @@
|
|
|
4040
4040
|
if (!(other instanceof UpdateServerConfigAction))
|
|
4041
4041
|
return false;
|
|
4042
4042
|
var tmp0_other_with_cast = other instanceof UpdateServerConfigAction ? other : THROW_CCE();
|
|
4043
|
-
if (!this.
|
|
4043
|
+
if (!this.fez_1.equals(tmp0_other_with_cast.fez_1))
|
|
4044
4044
|
return false;
|
|
4045
4045
|
return true;
|
|
4046
4046
|
};
|
|
4047
4047
|
function AddSpectatorsAction(spectators) {
|
|
4048
|
-
this.
|
|
4048
|
+
this.gez_1 = spectators;
|
|
4049
4049
|
}
|
|
4050
4050
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
4051
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
4051
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.gez_1) + ')';
|
|
4052
4052
|
};
|
|
4053
4053
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
4054
|
-
return hashCode(this.
|
|
4054
|
+
return hashCode(this.gez_1);
|
|
4055
4055
|
};
|
|
4056
4056
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
4057
4057
|
if (this === other)
|
|
@@ -4059,18 +4059,18 @@
|
|
|
4059
4059
|
if (!(other instanceof AddSpectatorsAction))
|
|
4060
4060
|
return false;
|
|
4061
4061
|
var tmp0_other_with_cast = other instanceof AddSpectatorsAction ? other : THROW_CCE();
|
|
4062
|
-
if (!equals(this.
|
|
4062
|
+
if (!equals(this.gez_1, tmp0_other_with_cast.gez_1))
|
|
4063
4063
|
return false;
|
|
4064
4064
|
return true;
|
|
4065
4065
|
};
|
|
4066
4066
|
function RemoveSpectatorsAction(spectators) {
|
|
4067
|
-
this.
|
|
4067
|
+
this.hez_1 = spectators;
|
|
4068
4068
|
}
|
|
4069
4069
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
4070
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
4070
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.hez_1) + ')';
|
|
4071
4071
|
};
|
|
4072
4072
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
4073
|
-
return hashCode(this.
|
|
4073
|
+
return hashCode(this.hez_1);
|
|
4074
4074
|
};
|
|
4075
4075
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
4076
4076
|
if (this === other)
|
|
@@ -4078,105 +4078,105 @@
|
|
|
4078
4078
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
4079
4079
|
return false;
|
|
4080
4080
|
var tmp0_other_with_cast = other instanceof RemoveSpectatorsAction ? other : THROW_CCE();
|
|
4081
|
-
if (!equals(this.
|
|
4081
|
+
if (!equals(this.hez_1, tmp0_other_with_cast.hez_1))
|
|
4082
4082
|
return false;
|
|
4083
4083
|
return true;
|
|
4084
4084
|
};
|
|
4085
4085
|
function SpectatorsAction() {
|
|
4086
4086
|
}
|
|
4087
4087
|
function _get_asyncProvider__jbpyhw($this) {
|
|
4088
|
-
var tmp0 = $this.
|
|
4088
|
+
var tmp0 = $this.nez_1;
|
|
4089
4089
|
var tmp = KProperty1;
|
|
4090
4090
|
// Inline function 'kotlin.getValue' call
|
|
4091
4091
|
getPropertyCallableRef('asyncProvider', 1, tmp, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3_0(), null);
|
|
4092
4092
|
return tmp0.u();
|
|
4093
4093
|
}
|
|
4094
4094
|
function _get_logger__rkp4sl_0($this) {
|
|
4095
|
-
var tmp0 = $this.
|
|
4095
|
+
var tmp0 = $this.oez_1;
|
|
4096
4096
|
var tmp = KProperty1;
|
|
4097
4097
|
// Inline function 'kotlin.getValue' call
|
|
4098
4098
|
getPropertyCallableRef('logger', 1, tmp, ServerGameStoreContract$_get_logger_$ref_zbgw28_0(), null);
|
|
4099
4099
|
return tmp0.u();
|
|
4100
4100
|
}
|
|
4101
4101
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
4102
|
-
var tmp0 = $this.
|
|
4102
|
+
var tmp0 = $this.pez_1;
|
|
4103
4103
|
var tmp = KProperty1;
|
|
4104
4104
|
// Inline function 'kotlin.getValue' call
|
|
4105
4105
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8_0(), null);
|
|
4106
4106
|
return tmp0.u();
|
|
4107
4107
|
}
|
|
4108
4108
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
4109
|
-
var tmp0 = $this.
|
|
4109
|
+
var tmp0 = $this.qez_1;
|
|
4110
4110
|
var tmp = KProperty1;
|
|
4111
4111
|
// Inline function 'kotlin.getValue' call
|
|
4112
4112
|
getPropertyCallableRef('lastCardInteractor', 1, tmp, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh_0(), null);
|
|
4113
4113
|
return tmp0.u();
|
|
4114
4114
|
}
|
|
4115
4115
|
function _get_serverConfig__rk2g06($this) {
|
|
4116
|
-
var tmp0 = $this.
|
|
4116
|
+
var tmp0 = $this.rez_1;
|
|
4117
4117
|
var tmp = KProperty1;
|
|
4118
4118
|
// Inline function 'kotlin.getValue' call
|
|
4119
4119
|
getPropertyCallableRef('serverConfig', 1, tmp, ServerGameStoreContract$_get_serverConfig_$ref_bz2891_0(), null);
|
|
4120
4120
|
return tmp0.u();
|
|
4121
4121
|
}
|
|
4122
4122
|
function _get_logicConfig__52ww9d($this) {
|
|
4123
|
-
var tmp0 = $this.
|
|
4123
|
+
var tmp0 = $this.sez_1;
|
|
4124
4124
|
var tmp = KProperty1;
|
|
4125
4125
|
// Inline function 'kotlin.getValue' call
|
|
4126
4126
|
getPropertyCallableRef('logicConfig', 1, tmp, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi_0(), null);
|
|
4127
4127
|
return tmp0.u();
|
|
4128
4128
|
}
|
|
4129
4129
|
function _get_idsProvider__fnfajc_0($this) {
|
|
4130
|
-
var tmp0 = $this.
|
|
4130
|
+
var tmp0 = $this.tez_1;
|
|
4131
4131
|
var tmp = KProperty1;
|
|
4132
4132
|
// Inline function 'kotlin.getValue' call
|
|
4133
4133
|
getPropertyCallableRef('idsProvider', 1, tmp, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1_0(), null);
|
|
4134
4134
|
return tmp0.u();
|
|
4135
4135
|
}
|
|
4136
4136
|
function _get_botConfig__cpaxzc($this) {
|
|
4137
|
-
var tmp0 = $this.
|
|
4137
|
+
var tmp0 = $this.uez_1;
|
|
4138
4138
|
var tmp = KProperty1;
|
|
4139
4139
|
// Inline function 'kotlin.getValue' call
|
|
4140
4140
|
getPropertyCallableRef('botConfig', 1, tmp, ServerGameStoreContract$_get_botConfig_$ref_nebw1d_0(), null);
|
|
4141
4141
|
return tmp0.u();
|
|
4142
4142
|
}
|
|
4143
4143
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
4144
|
-
var tmp0 = $this.
|
|
4144
|
+
var tmp0 = $this.vez_1;
|
|
4145
4145
|
var tmp = KProperty1;
|
|
4146
4146
|
// Inline function 'kotlin.getValue' call
|
|
4147
4147
|
getPropertyCallableRef('scenePositionProvider', 1, tmp, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4_0(), null);
|
|
4148
4148
|
return tmp0.u();
|
|
4149
4149
|
}
|
|
4150
4150
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
4151
|
-
var tmp0 = $this.
|
|
4151
|
+
var tmp0 = $this.wez_1;
|
|
4152
4152
|
var tmp = KProperty1;
|
|
4153
4153
|
// Inline function 'kotlin.getValue' call
|
|
4154
4154
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p_0(), null);
|
|
4155
4155
|
return tmp0.u();
|
|
4156
4156
|
}
|
|
4157
4157
|
function _get_fromClientEventsObserver__a7vzd3_0($this) {
|
|
4158
|
-
var tmp0 = $this.
|
|
4158
|
+
var tmp0 = $this.xez_1;
|
|
4159
4159
|
var tmp = KProperty1;
|
|
4160
4160
|
// Inline function 'kotlin.getValue' call
|
|
4161
4161
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg_0(), null);
|
|
4162
4162
|
return tmp0.u();
|
|
4163
4163
|
}
|
|
4164
4164
|
function _get_dealerConfig__183ci8($this) {
|
|
4165
|
-
var tmp0 = $this.
|
|
4165
|
+
var tmp0 = $this.yez_1;
|
|
4166
4166
|
var tmp = KProperty1;
|
|
4167
4167
|
// Inline function 'kotlin.getValue' call
|
|
4168
4168
|
getPropertyCallableRef('dealerConfig', 1, tmp, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp_0(), null);
|
|
4169
4169
|
return tmp0.u();
|
|
4170
4170
|
}
|
|
4171
4171
|
function _get_poolProvider__tqti6a($this) {
|
|
4172
|
-
var tmp0 = $this.
|
|
4172
|
+
var tmp0 = $this.zez_1;
|
|
4173
4173
|
var tmp = KProperty1;
|
|
4174
4174
|
// Inline function 'kotlin.getValue' call
|
|
4175
4175
|
getPropertyCallableRef('poolProvider', 1, tmp, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3_0(), null);
|
|
4176
4176
|
return tmp0.u();
|
|
4177
4177
|
}
|
|
4178
4178
|
function _get_cardsDealerProvider__bekjpg($this) {
|
|
4179
|
-
var tmp0 = $this.
|
|
4179
|
+
var tmp0 = $this.af0_1;
|
|
4180
4180
|
var tmp = KProperty1;
|
|
4181
4181
|
// Inline function 'kotlin.getValue' call
|
|
4182
4182
|
getPropertyCallableRef('cardsDealerProvider', 1, tmp, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj_0(), null);
|
|
@@ -4331,11 +4331,11 @@
|
|
|
4331
4331
|
botGameStoreContract = botGameStoreContract === VOID ? new BotGameStoreContract(di) : botGameStoreContract;
|
|
4332
4332
|
gameMechanicStoreContract = gameMechanicStoreContract === VOID ? new GameMechanicStoreContract(di, null, true) : gameMechanicStoreContract;
|
|
4333
4333
|
fileLoggerStoreContract = fileLoggerStoreContract === VOID ? new FileLoggerStoreContract(di) : fileLoggerStoreContract;
|
|
4334
|
-
this.
|
|
4335
|
-
this.
|
|
4336
|
-
this.
|
|
4337
|
-
this.
|
|
4338
|
-
this.
|
|
4334
|
+
this.iez_1 = validationStoreContract;
|
|
4335
|
+
this.jez_1 = timersStoreContract;
|
|
4336
|
+
this.kez_1 = botGameStoreContract;
|
|
4337
|
+
this.lez_1 = gameMechanicStoreContract;
|
|
4338
|
+
this.mez_1 = fileLoggerStoreContract;
|
|
4339
4339
|
var tmp = this;
|
|
4340
4340
|
// Inline function 'org.kodein.di.instance' call
|
|
4341
4341
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4343,7 +4343,7 @@
|
|
|
4343
4343
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
4344
4344
|
var tmp_1 = Instance(di, tmp$ret$0, null);
|
|
4345
4345
|
var tmp_2 = KProperty1;
|
|
4346
|
-
tmp.
|
|
4346
|
+
tmp.nez_1 = tmp_1.a6i(this, getPropertyCallableRef('asyncProvider', 1, tmp_2, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3(), null));
|
|
4347
4347
|
var tmp_3 = this;
|
|
4348
4348
|
// Inline function 'org.kodein.di.instance' call
|
|
4349
4349
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4351,7 +4351,7 @@
|
|
|
4351
4351
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
4352
4352
|
var tmp_5 = Instance(di, tmp$ret$2, null);
|
|
4353
4353
|
var tmp_6 = KProperty1;
|
|
4354
|
-
tmp_3.
|
|
4354
|
+
tmp_3.oez_1 = tmp_5.a6i(this, getPropertyCallableRef('logger', 1, tmp_6, ServerGameStoreContract$_get_logger_$ref_zbgw28(), null));
|
|
4355
4355
|
var tmp_7 = this;
|
|
4356
4356
|
// Inline function 'org.kodein.di.instance' call
|
|
4357
4357
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4359,7 +4359,7 @@
|
|
|
4359
4359
|
var tmp$ret$4 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
4360
4360
|
var tmp_9 = Instance(di, tmp$ret$4, null);
|
|
4361
4361
|
var tmp_10 = KProperty1;
|
|
4362
|
-
tmp_7.
|
|
4362
|
+
tmp_7.pez_1 = tmp_9.a6i(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_10, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8(), null));
|
|
4363
4363
|
var tmp_11 = this;
|
|
4364
4364
|
// Inline function 'org.kodein.di.instance' call
|
|
4365
4365
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4367,7 +4367,7 @@
|
|
|
4367
4367
|
var tmp$ret$6 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
4368
4368
|
var tmp_13 = Instance(di, tmp$ret$6, null);
|
|
4369
4369
|
var tmp_14 = KProperty1;
|
|
4370
|
-
tmp_11.
|
|
4370
|
+
tmp_11.qez_1 = tmp_13.a6i(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_14, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh(), null));
|
|
4371
4371
|
var tmp_15 = this;
|
|
4372
4372
|
// Inline function 'org.kodein.di.instance' call
|
|
4373
4373
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4375,7 +4375,7 @@
|
|
|
4375
4375
|
var tmp$ret$8 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
4376
4376
|
var tmp_17 = Instance(di, tmp$ret$8, null);
|
|
4377
4377
|
var tmp_18 = KProperty1;
|
|
4378
|
-
tmp_15.
|
|
4378
|
+
tmp_15.rez_1 = tmp_17.a6i(this, getPropertyCallableRef('serverConfig', 1, tmp_18, ServerGameStoreContract$_get_serverConfig_$ref_bz2891(), null));
|
|
4379
4379
|
var tmp_19 = this;
|
|
4380
4380
|
// Inline function 'org.kodein.di.instance' call
|
|
4381
4381
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4383,7 +4383,7 @@
|
|
|
4383
4383
|
var tmp$ret$10 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
4384
4384
|
var tmp_21 = Instance(di, tmp$ret$10, null);
|
|
4385
4385
|
var tmp_22 = KProperty1;
|
|
4386
|
-
tmp_19.
|
|
4386
|
+
tmp_19.sez_1 = tmp_21.a6i(this, getPropertyCallableRef('logicConfig', 1, tmp_22, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi(), null));
|
|
4387
4387
|
var tmp_23 = this;
|
|
4388
4388
|
// Inline function 'org.kodein.di.instance' call
|
|
4389
4389
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4391,7 +4391,7 @@
|
|
|
4391
4391
|
var tmp$ret$12 = isInterface(tmp_24, TypeToken) ? tmp_24 : THROW_CCE();
|
|
4392
4392
|
var tmp_25 = Instance(di, tmp$ret$12, null);
|
|
4393
4393
|
var tmp_26 = KProperty1;
|
|
4394
|
-
tmp_23.
|
|
4394
|
+
tmp_23.tez_1 = tmp_25.a6i(this, getPropertyCallableRef('idsProvider', 1, tmp_26, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1(), null));
|
|
4395
4395
|
var tmp_27 = this;
|
|
4396
4396
|
// Inline function 'org.kodein.di.instance' call
|
|
4397
4397
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4399,7 +4399,7 @@
|
|
|
4399
4399
|
var tmp$ret$14 = isInterface(tmp_28, TypeToken) ? tmp_28 : THROW_CCE();
|
|
4400
4400
|
var tmp_29 = Instance(di, tmp$ret$14, null);
|
|
4401
4401
|
var tmp_30 = KProperty1;
|
|
4402
|
-
tmp_27.
|
|
4402
|
+
tmp_27.uez_1 = tmp_29.a6i(this, getPropertyCallableRef('botConfig', 1, tmp_30, ServerGameStoreContract$_get_botConfig_$ref_nebw1d(), null));
|
|
4403
4403
|
var tmp_31 = this;
|
|
4404
4404
|
// Inline function 'org.kodein.di.instance' call
|
|
4405
4405
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4407,7 +4407,7 @@
|
|
|
4407
4407
|
var tmp$ret$16 = isInterface(tmp_32, TypeToken) ? tmp_32 : THROW_CCE();
|
|
4408
4408
|
var tmp_33 = Instance(di, tmp$ret$16, null);
|
|
4409
4409
|
var tmp_34 = KProperty1;
|
|
4410
|
-
tmp_31.
|
|
4410
|
+
tmp_31.vez_1 = tmp_33.a6i(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_34, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4(), null));
|
|
4411
4411
|
var tmp_35 = this;
|
|
4412
4412
|
// Inline function 'org.kodein.di.instance' call
|
|
4413
4413
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4415,7 +4415,7 @@
|
|
|
4415
4415
|
var tmp$ret$18 = isInterface(tmp_36, TypeToken) ? tmp_36 : THROW_CCE();
|
|
4416
4416
|
var tmp_37 = Instance(di, tmp$ret$18, null);
|
|
4417
4417
|
var tmp_38 = KProperty1;
|
|
4418
|
-
tmp_35.
|
|
4418
|
+
tmp_35.wez_1 = tmp_37.a6i(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_38, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p(), null));
|
|
4419
4419
|
var tmp_39 = this;
|
|
4420
4420
|
// Inline function 'org.kodein.di.instance' call
|
|
4421
4421
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4423,7 +4423,7 @@
|
|
|
4423
4423
|
var tmp$ret$20 = isInterface(tmp_40, TypeToken) ? tmp_40 : THROW_CCE();
|
|
4424
4424
|
var tmp_41 = Instance(di, tmp$ret$20, null);
|
|
4425
4425
|
var tmp_42 = KProperty1;
|
|
4426
|
-
tmp_39.
|
|
4426
|
+
tmp_39.xez_1 = tmp_41.a6i(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_42, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg(), null));
|
|
4427
4427
|
var tmp_43 = this;
|
|
4428
4428
|
// Inline function 'org.kodein.di.instance' call
|
|
4429
4429
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4431,7 +4431,7 @@
|
|
|
4431
4431
|
var tmp$ret$22 = isInterface(tmp_44, TypeToken) ? tmp_44 : THROW_CCE();
|
|
4432
4432
|
var tmp_45 = Instance(di, tmp$ret$22, null);
|
|
4433
4433
|
var tmp_46 = KProperty1;
|
|
4434
|
-
tmp_43.
|
|
4434
|
+
tmp_43.yez_1 = tmp_45.a6i(this, getPropertyCallableRef('dealerConfig', 1, tmp_46, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp(), null));
|
|
4435
4435
|
var tmp_47 = this;
|
|
4436
4436
|
// Inline function 'org.kodein.di.instance' call
|
|
4437
4437
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4439,7 +4439,7 @@
|
|
|
4439
4439
|
var tmp$ret$24 = isInterface(tmp_48, TypeToken) ? tmp_48 : THROW_CCE();
|
|
4440
4440
|
var tmp_49 = Instance(di, tmp$ret$24, null);
|
|
4441
4441
|
var tmp_50 = KProperty1;
|
|
4442
|
-
tmp_47.
|
|
4442
|
+
tmp_47.zez_1 = tmp_49.a6i(this, getPropertyCallableRef('poolProvider', 1, tmp_50, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3(), null));
|
|
4443
4443
|
var tmp_51 = this;
|
|
4444
4444
|
// Inline function 'org.kodein.di.instance' call
|
|
4445
4445
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4447,13 +4447,13 @@
|
|
|
4447
4447
|
var tmp$ret$26 = isInterface(tmp_52, TypeToken) ? tmp_52 : THROW_CCE();
|
|
4448
4448
|
var tmp_53 = Instance(di, tmp$ret$26, null);
|
|
4449
4449
|
var tmp_54 = KProperty1;
|
|
4450
|
-
tmp_51.
|
|
4450
|
+
tmp_51.af0_1 = tmp_53.a6i(this, getPropertyCallableRef('cardsDealerProvider', 1, tmp_54, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj(), null));
|
|
4451
4451
|
}
|
|
4452
4452
|
protoOf(ServerGameStoreContract).t9q = function () {
|
|
4453
|
-
return plus(plus(plus(plus(plus(this.
|
|
4453
|
+
return plus(plus(plus(plus(plus(this.iez_1.t9q(), this.lez_1.t9q()), this.jez_1.t9q()), this.kez_1.t9q()), this.mez_1.t9q()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl_0(this))]));
|
|
4454
4454
|
};
|
|
4455
4455
|
protoOf(ServerGameStoreContract).u9q = function () {
|
|
4456
|
-
var tmp = plus(plus(plus(plus(plus(plus(plus(this.
|
|
4456
|
+
var tmp = plus(plus(plus(plus(plus(plus(plus(this.iez_1.u9q(), listOfNotNull(_get_serverConfig__rk2g06(this).finishGameWhenNotLiveStrategy.equals(FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance()) ? checkBotsMiddleware(_get_logger__rkp4sl_0(this)) : null)), this.lez_1.u9q()), this.jez_1.u9q()), this.kez_1.u9q()), this.mez_1.u9q()), 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))).z9s(), finishingGameWhenCantStartNewMiddleware()]));
|
|
4457
4457
|
var tmp_0 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this));
|
|
4458
4458
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
4459
4459
|
var tmp1_logger = _get_logger__rkp4sl_0(this);
|
|
@@ -4504,7 +4504,7 @@
|
|
|
4504
4504
|
return this.n70(store, next, action);
|
|
4505
4505
|
};
|
|
4506
4506
|
function ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
|
|
4507
|
-
this.
|
|
4507
|
+
this.df0_1 = this$0;
|
|
4508
4508
|
}
|
|
4509
4509
|
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).w6y = function (action) {
|
|
4510
4510
|
return action instanceof MechanicAction;
|
|
@@ -4515,7 +4515,7 @@
|
|
|
4515
4515
|
// Inline function 'kotlin.with' call
|
|
4516
4516
|
var tmp;
|
|
4517
4517
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
4518
|
-
var tmp0 = this.
|
|
4518
|
+
var tmp0 = this.df0_1;
|
|
4519
4519
|
var tmp2 = action_0.p8j_1;
|
|
4520
4520
|
var tmp4 = action_0.r8j_1;
|
|
4521
4521
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -4555,7 +4555,7 @@
|
|
|
4555
4555
|
var _iterator__ex2g4s_2 = destination_1.j();
|
|
4556
4556
|
while (_iterator__ex2g4s_2.k()) {
|
|
4557
4557
|
var element_0 = _iterator__ex2g4s_2.l();
|
|
4558
|
-
var tmp0_aid = tmp0.
|
|
4558
|
+
var tmp0_aid = tmp0.cf0_1.u6w();
|
|
4559
4559
|
// Inline function 'kotlin.collections.map' call
|
|
4560
4560
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4561
4561
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -4577,15 +4577,15 @@
|
|
|
4577
4577
|
tmp = destination_2;
|
|
4578
4578
|
} else {
|
|
4579
4579
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
4580
|
-
var tmp0_0 = this.
|
|
4580
|
+
var tmp0_0 = this.df0_1;
|
|
4581
4581
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4582
4582
|
var table = state.u77();
|
|
4583
|
-
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.
|
|
4583
|
+
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.cf0_1.u6w(), table.id, null);
|
|
4584
4584
|
var tmp$ret$21 = mapToClient_16(action_0, sendToPlayer_0);
|
|
4585
4585
|
tmp = listOfNotNull(tmp$ret$21);
|
|
4586
4586
|
} else {
|
|
4587
4587
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
4588
|
-
var tmp0_1 = this.
|
|
4588
|
+
var tmp0_1 = this.df0_1;
|
|
4589
4589
|
var tmp2_0 = action_0.v8j_1.id;
|
|
4590
4590
|
var tmp4_0 = action_0.gameCreatorPlayerId;
|
|
4591
4591
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -4625,7 +4625,7 @@
|
|
|
4625
4625
|
var _iterator__ex2g4s_7 = destination_6.j();
|
|
4626
4626
|
while (_iterator__ex2g4s_7.k()) {
|
|
4627
4627
|
var element_2 = _iterator__ex2g4s_7.l();
|
|
4628
|
-
var tmp0_aid_0 = tmp0_1.
|
|
4628
|
+
var tmp0_aid_0 = tmp0_1.cf0_1.u6w();
|
|
4629
4629
|
// Inline function 'kotlin.collections.map' call
|
|
4630
4630
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4631
4631
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -4647,39 +4647,39 @@
|
|
|
4647
4647
|
tmp = destination_7;
|
|
4648
4648
|
} else {
|
|
4649
4649
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
4650
|
-
var tmp0_2 = this.
|
|
4650
|
+
var tmp0_2 = this.df0_1;
|
|
4651
4651
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4652
4652
|
var table_0 = state.u77();
|
|
4653
|
-
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.
|
|
4653
|
+
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.cf0_1.u6w(), table_0.id, null);
|
|
4654
4654
|
var tmp$ret$44 = mapToClient_14(action_0, sendToPlayer_2);
|
|
4655
4655
|
tmp = listOfNotNull(tmp$ret$44);
|
|
4656
4656
|
} else {
|
|
4657
4657
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
4658
|
-
var tmp0_3 = this.
|
|
4658
|
+
var tmp0_3 = this.df0_1;
|
|
4659
4659
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4660
4660
|
var table_1 = state.u77();
|
|
4661
|
-
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.
|
|
4661
|
+
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.cf0_1.u6w(), table_1.id, null);
|
|
4662
4662
|
var tmp$ret$46 = mapToClient_13(action_0, sendToPlayer_3);
|
|
4663
4663
|
tmp = listOfNotNull(tmp$ret$46);
|
|
4664
4664
|
} else {
|
|
4665
4665
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
4666
|
-
var tmp0_4 = this.
|
|
4666
|
+
var tmp0_4 = this.df0_1;
|
|
4667
4667
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4668
4668
|
var table_2 = state.u77();
|
|
4669
|
-
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.
|
|
4669
|
+
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.cf0_1.u6w(), table_2.id, null);
|
|
4670
4670
|
var tmp$ret$48 = mapToClient_12(action_0, sendToPlayer_4);
|
|
4671
4671
|
tmp = listOfNotNull(tmp$ret$48);
|
|
4672
4672
|
} else {
|
|
4673
4673
|
if (action_0 instanceof ErrorAction) {
|
|
4674
|
-
var tmp0_5 = this.
|
|
4674
|
+
var tmp0_5 = this.df0_1;
|
|
4675
4675
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4676
4676
|
var table_3 = state.u77();
|
|
4677
|
-
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.
|
|
4677
|
+
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.cf0_1.u6w(), table_3.id, null);
|
|
4678
4678
|
var tmp$ret$50 = mapToClient_11(action_0, sendToPlayer_5);
|
|
4679
4679
|
tmp = listOfNotNull(tmp$ret$50);
|
|
4680
4680
|
} else {
|
|
4681
4681
|
if (action_0 instanceof SceneMechanicAction) {
|
|
4682
|
-
var tmp0_6 = this.
|
|
4682
|
+
var tmp0_6 = this.df0_1;
|
|
4683
4683
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4684
4684
|
var table_4 = state.u77();
|
|
4685
4685
|
var tmp2_1 = table_4.id;
|
|
@@ -4712,7 +4712,7 @@
|
|
|
4712
4712
|
var _iterator__ex2g4s_11 = destination_10.j();
|
|
4713
4713
|
while (_iterator__ex2g4s_11.k()) {
|
|
4714
4714
|
var element_4 = _iterator__ex2g4s_11.l();
|
|
4715
|
-
var tmp0_aid_1 = tmp0_6.
|
|
4715
|
+
var tmp0_aid_1 = tmp0_6.cf0_1.u6w();
|
|
4716
4716
|
// Inline function 'kotlin.collections.map' call
|
|
4717
4717
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4718
4718
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
|
|
@@ -4734,7 +4734,7 @@
|
|
|
4734
4734
|
tmp = destination_11;
|
|
4735
4735
|
} else {
|
|
4736
4736
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
4737
|
-
var tmp0_7 = this.
|
|
4737
|
+
var tmp0_7 = this.df0_1;
|
|
4738
4738
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4739
4739
|
var table_5 = state.u77();
|
|
4740
4740
|
var tmp2_2 = table_5.id;
|
|
@@ -4767,7 +4767,7 @@
|
|
|
4767
4767
|
var _iterator__ex2g4s_15 = destination_14.j();
|
|
4768
4768
|
while (_iterator__ex2g4s_15.k()) {
|
|
4769
4769
|
var element_6 = _iterator__ex2g4s_15.l();
|
|
4770
|
-
var tmp0_aid_2 = tmp0_7.
|
|
4770
|
+
var tmp0_aid_2 = tmp0_7.cf0_1.u6w();
|
|
4771
4771
|
// Inline function 'kotlin.collections.map' call
|
|
4772
4772
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4773
4773
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
|
|
@@ -4789,7 +4789,7 @@
|
|
|
4789
4789
|
tmp = destination_15;
|
|
4790
4790
|
} else {
|
|
4791
4791
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
4792
|
-
var tmp0_8 = this.
|
|
4792
|
+
var tmp0_8 = this.df0_1;
|
|
4793
4793
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4794
4794
|
var table_6 = state.u77();
|
|
4795
4795
|
var tmp2_3 = table_6.id;
|
|
@@ -4822,7 +4822,7 @@
|
|
|
4822
4822
|
var _iterator__ex2g4s_19 = destination_18.j();
|
|
4823
4823
|
while (_iterator__ex2g4s_19.k()) {
|
|
4824
4824
|
var element_8 = _iterator__ex2g4s_19.l();
|
|
4825
|
-
var tmp0_aid_3 = tmp0_8.
|
|
4825
|
+
var tmp0_aid_3 = tmp0_8.cf0_1.u6w();
|
|
4826
4826
|
// Inline function 'kotlin.collections.map' call
|
|
4827
4827
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4828
4828
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
|
|
@@ -4834,7 +4834,7 @@
|
|
|
4834
4834
|
}
|
|
4835
4835
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tmp2_3, tmp4_3, element_8, destination_20);
|
|
4836
4836
|
var tmp_0;
|
|
4837
|
-
if (this.
|
|
4837
|
+
if (this.df0_1.bf0_1.supportBackwardActions && getPlayer(state.u77().players, sendToPlayer_8.k7w_1).o7a_1.g7f_1) {
|
|
4838
4838
|
tmp_0 = null;
|
|
4839
4839
|
} else {
|
|
4840
4840
|
tmp_0 = mapToClient_8(action_0, sendToPlayer_8);
|
|
@@ -4850,72 +4850,72 @@
|
|
|
4850
4850
|
tmp = destination_19;
|
|
4851
4851
|
} else {
|
|
4852
4852
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
4853
|
-
var tmp0_9 = this.
|
|
4853
|
+
var tmp0_9 = this.df0_1;
|
|
4854
4854
|
var tmp2_4 = state.u77();
|
|
4855
4855
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4856
|
-
var exceptPlayerId = this.
|
|
4857
|
-
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.
|
|
4856
|
+
var exceptPlayerId = this.df0_1.bf0_1.supportBackwardActions ? action_0.v8k_1 : null;
|
|
4857
|
+
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.cf0_1.u6w(), tmp2_4.id, exceptPlayerId);
|
|
4858
4858
|
var tmp$ret$109 = mapToClient_7(action_0, sendToPlayer_9);
|
|
4859
4859
|
tmp = listOfNotNull(tmp$ret$109);
|
|
4860
4860
|
} else {
|
|
4861
4861
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
4862
|
-
var tmp0_10 = this.
|
|
4862
|
+
var tmp0_10 = this.df0_1;
|
|
4863
4863
|
var tmp2_5 = state.u77();
|
|
4864
4864
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4865
|
-
var exceptPlayerId_0 = this.
|
|
4866
|
-
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.
|
|
4865
|
+
var exceptPlayerId_0 = this.df0_1.bf0_1.supportBackwardActions ? action_0.z8k_1 : null;
|
|
4866
|
+
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.cf0_1.u6w(), tmp2_5.id, exceptPlayerId_0);
|
|
4867
4867
|
var tmp$ret$111 = mapToClient_6(action_0, sendToPlayer_10);
|
|
4868
4868
|
tmp = listOfNotNull(tmp$ret$111);
|
|
4869
4869
|
} else {
|
|
4870
4870
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
4871
|
-
var tmp0_11 = this.
|
|
4871
|
+
var tmp0_11 = this.df0_1;
|
|
4872
4872
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4873
4873
|
var table_7 = state.u77();
|
|
4874
|
-
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.
|
|
4874
|
+
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.cf0_1.u6w(), table_7.id, null);
|
|
4875
4875
|
var tmp$ret$113 = mapToClient_5(action_0, sendToPlayer_11);
|
|
4876
4876
|
tmp = listOfNotNull(tmp$ret$113);
|
|
4877
4877
|
} else {
|
|
4878
4878
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
4879
|
-
var tmp0_12 = this.
|
|
4879
|
+
var tmp0_12 = this.df0_1;
|
|
4880
4880
|
var tmp2_6 = state.u77();
|
|
4881
4881
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4882
|
-
var exceptPlayerId_1 = this.
|
|
4883
|
-
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.
|
|
4882
|
+
var exceptPlayerId_1 = this.df0_1.bf0_1.supportBackwardActions ? action_0.g8l_1 : null;
|
|
4883
|
+
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.cf0_1.u6w(), tmp2_6.id, exceptPlayerId_1);
|
|
4884
4884
|
var tmp$ret$115 = mapToClient_4(action_0, sendToPlayer_12);
|
|
4885
4885
|
tmp = listOfNotNull(tmp$ret$115);
|
|
4886
4886
|
} else {
|
|
4887
4887
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
4888
|
-
var tmp0_13 = this.
|
|
4888
|
+
var tmp0_13 = this.df0_1;
|
|
4889
4889
|
var tmp2_7 = state.u77();
|
|
4890
4890
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4891
|
-
var exceptPlayerId_2 = this.
|
|
4892
|
-
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.
|
|
4891
|
+
var exceptPlayerId_2 = this.df0_1.bf0_1.supportBackwardActions ? action_0.k8l_1 : null;
|
|
4892
|
+
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.cf0_1.u6w(), tmp2_7.id, exceptPlayerId_2);
|
|
4893
4893
|
var tmp$ret$117 = mapToClient_3(action_0, sendToPlayer_13);
|
|
4894
4894
|
tmp = listOfNotNull(tmp$ret$117);
|
|
4895
4895
|
} else {
|
|
4896
4896
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
4897
|
-
var tmp0_14 = this.
|
|
4897
|
+
var tmp0_14 = this.df0_1;
|
|
4898
4898
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4899
4899
|
var table_8 = state.u77();
|
|
4900
|
-
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.
|
|
4900
|
+
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.cf0_1.u6w(), table_8.id, null);
|
|
4901
4901
|
var tmp$ret$119 = mapToClient_2(action_0, sendToPlayer_14);
|
|
4902
4902
|
tmp = listOfNotNull(tmp$ret$119);
|
|
4903
4903
|
} else {
|
|
4904
4904
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
4905
|
-
var tmp0_15 = this.
|
|
4905
|
+
var tmp0_15 = this.df0_1;
|
|
4906
4906
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4907
4907
|
var table_9 = state.u77();
|
|
4908
|
-
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.
|
|
4908
|
+
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.cf0_1.u6w(), table_9.id, null);
|
|
4909
4909
|
var tmp$ret$121 = mapToClient_1(action_0, sendToPlayer_15);
|
|
4910
4910
|
tmp = listOfNotNull(tmp$ret$121);
|
|
4911
4911
|
} else {
|
|
4912
4912
|
if (action_0 instanceof MessageMechanicAction) {
|
|
4913
4913
|
var message = action_0.s8l_1;
|
|
4914
|
-
var tmp0_16 = this.
|
|
4914
|
+
var tmp0_16 = this.df0_1;
|
|
4915
4915
|
var tmp2_8 = state.u77();
|
|
4916
4916
|
var tmp_1;
|
|
4917
4917
|
var tmp_2;
|
|
4918
|
-
if (this.
|
|
4918
|
+
if (this.df0_1.bf0_1.supportBackwardActions) {
|
|
4919
4919
|
tmp_2 = isInterface(message, UserMessage);
|
|
4920
4920
|
} else {
|
|
4921
4921
|
tmp_2 = false;
|
|
@@ -4927,16 +4927,16 @@
|
|
|
4927
4927
|
}
|
|
4928
4928
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4929
4929
|
var exceptPlayerId_3 = tmp_1;
|
|
4930
|
-
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.
|
|
4930
|
+
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.cf0_1.u6w(), tmp2_8.id, exceptPlayerId_3);
|
|
4931
4931
|
var tmp$ret$123 = mapToClient_0(action_0, sendToPlayer_16);
|
|
4932
4932
|
tmp = listOfNotNull(tmp$ret$123);
|
|
4933
4933
|
} else {
|
|
4934
4934
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
4935
|
-
var tmp0_17 = this.
|
|
4935
|
+
var tmp0_17 = this.df0_1;
|
|
4936
4936
|
var tmp2_9 = state.u77();
|
|
4937
4937
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4938
4938
|
var exceptPlayerId_4 = action_0.playerId;
|
|
4939
|
-
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.
|
|
4939
|
+
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.cf0_1.u6w(), tmp2_9.id, exceptPlayerId_4);
|
|
4940
4940
|
var tmp$ret$125 = mapToClient(action_0, sendToPlayer_17);
|
|
4941
4941
|
tmp = listOfNotNull(tmp$ret$125);
|
|
4942
4942
|
} else {
|
|
@@ -4973,8 +4973,8 @@
|
|
|
4973
4973
|
return this.n70(store, next, action);
|
|
4974
4974
|
};
|
|
4975
4975
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
4976
|
-
this.
|
|
4977
|
-
this.
|
|
4976
|
+
this.bf0_1 = logicConfig;
|
|
4977
|
+
this.cf0_1 = idsProvider;
|
|
4978
4978
|
}
|
|
4979
4979
|
protoOf(ServerMapMechanicToClientActionMiddleware).z9s = function () {
|
|
4980
4980
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
@@ -4985,8 +4985,8 @@
|
|
|
4985
4985
|
return new sendToClientActionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, provider);
|
|
4986
4986
|
}
|
|
4987
4987
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
4988
|
-
this.
|
|
4989
|
-
this.
|
|
4988
|
+
this.mf0_1 = $provider;
|
|
4989
|
+
this.nf0_1 = $action;
|
|
4990
4990
|
CoroutineImpl.call(this, resultContinuation);
|
|
4991
4991
|
}
|
|
4992
4992
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).y1i = function ($this$launchDefault, $completion) {
|
|
@@ -5007,7 +5007,7 @@
|
|
|
5007
5007
|
case 0:
|
|
5008
5008
|
this.m9_1 = 2;
|
|
5009
5009
|
this.l9_1 = 1;
|
|
5010
|
-
suspendResult = this.
|
|
5010
|
+
suspendResult = this.mf0_1.new(this.nf0_1, this);
|
|
5011
5011
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5012
5012
|
return suspendResult;
|
|
5013
5013
|
}
|
|
@@ -5030,8 +5030,8 @@
|
|
|
5030
5030
|
while (true);
|
|
5031
5031
|
};
|
|
5032
5032
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).z1i = function ($this$launchDefault, completion) {
|
|
5033
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
5034
|
-
i.
|
|
5033
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.mf0_1, this.nf0_1, completion);
|
|
5034
|
+
i.of0_1 = $this$launchDefault;
|
|
5035
5035
|
return i;
|
|
5036
5036
|
};
|
|
5037
5037
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -5043,15 +5043,15 @@
|
|
|
5043
5043
|
return l;
|
|
5044
5044
|
}
|
|
5045
5045
|
function sendToClientActionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $provider) {
|
|
5046
|
-
this.
|
|
5047
|
-
this.
|
|
5046
|
+
this.pf0_1 = $asyncProvider;
|
|
5047
|
+
this.qf0_1 = $provider;
|
|
5048
5048
|
}
|
|
5049
5049
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).w6y = function (action) {
|
|
5050
5050
|
return action instanceof ToClientAction;
|
|
5051
5051
|
};
|
|
5052
5052
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).n70 = function (store, next, action) {
|
|
5053
5053
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
5054
|
-
this.
|
|
5054
|
+
this.pf0_1.q6v(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.qf0_1, action_0, null));
|
|
5055
5055
|
next(action_0);
|
|
5056
5056
|
};
|
|
5057
5057
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).v6y = function (store, next, action) {
|
|
@@ -5068,7 +5068,7 @@
|
|
|
5068
5068
|
};
|
|
5069
5069
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).pa1 = function (state, action) {
|
|
5070
5070
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
5071
|
-
return state.t9n(VOID, get_serverStatePayload(state).copy(action_0.
|
|
5071
|
+
return state.t9n(VOID, get_serverStatePayload(state).copy(action_0.fez_1));
|
|
5072
5072
|
};
|
|
5073
5073
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).o70 = function (state, action) {
|
|
5074
5074
|
return this.pa1((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
@@ -5093,7 +5093,7 @@
|
|
|
5093
5093
|
}
|
|
5094
5094
|
function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
|
|
5095
5095
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
5096
|
-
this.
|
|
5096
|
+
this.tf0_1 = logger;
|
|
5097
5097
|
}
|
|
5098
5098
|
protoOf(ServerMechanicLifecycleReducer).ba3 = function (state, action) {
|
|
5099
5099
|
var serverState = get_serverStatePayloadOrNull(state.f77_1);
|
|
@@ -5109,7 +5109,7 @@
|
|
|
5109
5109
|
var tmp9_tableOrNull = tmp0_$this.ia4(tmp1_tableId, tmp2_gameId, tmp4_config, tmp3_version, tmp5_users, tmp6_spectators, tmp7_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
|
|
5110
5110
|
var tmp;
|
|
5111
5111
|
if (serverState == null) {
|
|
5112
|
-
this.
|
|
5112
|
+
this.tf0_1.w(VOID, 'ServerPayload is not onStart');
|
|
5113
5113
|
tmp = Companion_instance_13.initial();
|
|
5114
5114
|
} else {
|
|
5115
5115
|
tmp = serverState;
|
|
@@ -5138,7 +5138,7 @@
|
|
|
5138
5138
|
return new spectatorsReducer$$inlined$reducerForActionType$1(logger);
|
|
5139
5139
|
}
|
|
5140
5140
|
function spectatorsReducer$$inlined$reducerForActionType$1($logger) {
|
|
5141
|
-
this.
|
|
5141
|
+
this.uf0_1 = $logger;
|
|
5142
5142
|
}
|
|
5143
5143
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).w6y = function (action) {
|
|
5144
5144
|
return isInterface(action, SpectatorsAction);
|
|
@@ -5149,7 +5149,7 @@
|
|
|
5149
5149
|
var tmp;
|
|
5150
5150
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
5151
5151
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5152
|
-
var tmp0 = action_0.
|
|
5152
|
+
var tmp0 = action_0.gez_1;
|
|
5153
5153
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5154
5154
|
var destination = ArrayList_init_$Create$_0();
|
|
5155
5155
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5168,9 +5168,9 @@
|
|
|
5168
5168
|
var tmp_0;
|
|
5169
5169
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5170
5170
|
if (!sameSpectators.p()) {
|
|
5171
|
-
this.
|
|
5171
|
+
this.uf0_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
5172
5172
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5173
|
-
var tmp0_0 = action_0.
|
|
5173
|
+
var tmp0_0 = action_0.gez_1;
|
|
5174
5174
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5175
5175
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
5176
5176
|
var _iterator__ex2g4s_0 = tmp0_0.j();
|
|
@@ -5205,7 +5205,7 @@
|
|
|
5205
5205
|
}
|
|
5206
5206
|
tmp_0 = destination_0;
|
|
5207
5207
|
} else {
|
|
5208
|
-
tmp_0 = action_0.
|
|
5208
|
+
tmp_0 = action_0.gez_1;
|
|
5209
5209
|
}
|
|
5210
5210
|
// Inline function 'kotlin.collections.map' call
|
|
5211
5211
|
var this_0 = tmp_0;
|
|
@@ -5222,7 +5222,7 @@
|
|
|
5222
5222
|
} else {
|
|
5223
5223
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
5224
5224
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5225
|
-
var tmp0_1 = action_0.
|
|
5225
|
+
var tmp0_1 = action_0.hez_1;
|
|
5226
5226
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5227
5227
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
5228
5228
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5241,9 +5241,9 @@
|
|
|
5241
5241
|
var tmp_2;
|
|
5242
5242
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5243
5243
|
if (!sameSpectators_0.p()) {
|
|
5244
|
-
this.
|
|
5244
|
+
this.uf0_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
5245
5245
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5246
|
-
var tmp0_2 = action_0.
|
|
5246
|
+
var tmp0_2 = action_0.hez_1;
|
|
5247
5247
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5248
5248
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
5249
5249
|
var _iterator__ex2g4s_4 = tmp0_2.j();
|
|
@@ -5278,7 +5278,7 @@
|
|
|
5278
5278
|
}
|
|
5279
5279
|
tmp_2 = destination_3;
|
|
5280
5280
|
} else {
|
|
5281
|
-
tmp_2 = action_0.
|
|
5281
|
+
tmp_2 = action_0.hez_1;
|
|
5282
5282
|
}
|
|
5283
5283
|
var spectatorsToRemove = toSet(tmp_2);
|
|
5284
5284
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -5327,12 +5327,12 @@
|
|
|
5327
5327
|
};
|
|
5328
5328
|
function Companion_5() {
|
|
5329
5329
|
}
|
|
5330
|
-
protoOf(Companion_5).
|
|
5330
|
+
protoOf(Companion_5).vf0 = function (config) {
|
|
5331
5331
|
return new ServerStatePayload(config);
|
|
5332
5332
|
};
|
|
5333
5333
|
protoOf(Companion_5).initial = function (config, $super) {
|
|
5334
5334
|
config = config === VOID ? Companion_instance_8.initial(null) : config;
|
|
5335
|
-
return $super === VOID ? this.
|
|
5335
|
+
return $super === VOID ? this.vf0(config) : $super.vf0.call(this, config);
|
|
5336
5336
|
};
|
|
5337
5337
|
var Companion_instance_13;
|
|
5338
5338
|
function Companion_getInstance_6() {
|
|
@@ -5347,12 +5347,12 @@
|
|
|
5347
5347
|
protoOf(ServerStatePayload).kf = function () {
|
|
5348
5348
|
return this.config;
|
|
5349
5349
|
};
|
|
5350
|
-
protoOf(ServerStatePayload).
|
|
5350
|
+
protoOf(ServerStatePayload).wf0 = function (config) {
|
|
5351
5351
|
return new ServerStatePayload(config);
|
|
5352
5352
|
};
|
|
5353
5353
|
protoOf(ServerStatePayload).copy = function (config, $super) {
|
|
5354
5354
|
config = config === VOID ? this.config : config;
|
|
5355
|
-
return $super === VOID ? this.
|
|
5355
|
+
return $super === VOID ? this.wf0(config) : $super.wf0.call(this, config);
|
|
5356
5356
|
};
|
|
5357
5357
|
protoOf(ServerStatePayload).toString = function () {
|
|
5358
5358
|
return 'ServerStatePayload(config=' + this.config.toString() + ')';
|
|
@@ -5400,14 +5400,14 @@
|
|
|
5400
5400
|
return new GameServerEngineControllerImpl(loggerCallback, randomOrgConfig);
|
|
5401
5401
|
}
|
|
5402
5402
|
function _get_logger__rkp4sl_1($this) {
|
|
5403
|
-
var tmp0 = $this.
|
|
5403
|
+
var tmp0 = $this.ff1_1;
|
|
5404
5404
|
var tmp = KProperty1;
|
|
5405
5405
|
// Inline function 'kotlin.getValue' call
|
|
5406
5406
|
getPropertyCallableRef('logger', 1, tmp, GameServerEngineControllerImpl$_get_logger_$ref_b9j0th(), null);
|
|
5407
5407
|
return tmp0.u();
|
|
5408
5408
|
}
|
|
5409
5409
|
function _get_di__ndbzja($this) {
|
|
5410
|
-
var tmp0 = $this.
|
|
5410
|
+
var tmp0 = $this.gf1_1;
|
|
5411
5411
|
var tmp = KProperty1;
|
|
5412
5412
|
// Inline function 'kotlin.getValue' call
|
|
5413
5413
|
getPropertyCallableRef('di', 1, tmp, GameServerEngineControllerImpl$_get_di_$ref_cvlqo6(), null);
|
|
@@ -5420,11 +5420,11 @@
|
|
|
5420
5420
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
5421
5421
|
return function () {
|
|
5422
5422
|
var tmp;
|
|
5423
|
-
if (this$0.
|
|
5423
|
+
if (this$0.df1_1 == null) {
|
|
5424
5424
|
tmp = null;
|
|
5425
5425
|
} else {
|
|
5426
5426
|
// Inline function 'kotlin.let' call
|
|
5427
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
5427
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.df1_1)]));
|
|
5428
5428
|
}
|
|
5429
5429
|
var tmp1_elvis_lhs = tmp;
|
|
5430
5430
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -5457,7 +5457,7 @@
|
|
|
5457
5457
|
tmp_0.d6g(tmp$ret$3);
|
|
5458
5458
|
$this$DI.h6c(jsonModule());
|
|
5459
5459
|
$this$DI.h6c(serverHelpersModule());
|
|
5460
|
-
$this$DI.h6c(randomOrgModule(this$0.
|
|
5460
|
+
$this$DI.h6c(randomOrgModule(this$0.ef1_1));
|
|
5461
5461
|
return Unit_instance;
|
|
5462
5462
|
};
|
|
5463
5463
|
}
|
|
@@ -5533,13 +5533,13 @@
|
|
|
5533
5533
|
};
|
|
5534
5534
|
}
|
|
5535
5535
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1($reducer) {
|
|
5536
|
-
this.
|
|
5536
|
+
this.nf1_1 = $reducer;
|
|
5537
5537
|
}
|
|
5538
5538
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).w6y = function (action) {
|
|
5539
5539
|
return isInterface(action, Action);
|
|
5540
5540
|
};
|
|
5541
5541
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).pa1 = function (state, action) {
|
|
5542
|
-
return this.
|
|
5542
|
+
return this.nf1_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
5543
5543
|
};
|
|
5544
5544
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).o70 = function (state, action) {
|
|
5545
5545
|
return this.pa1((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
@@ -5633,7 +5633,7 @@
|
|
|
5633
5633
|
// Inline function 'kotlin.let' call
|
|
5634
5634
|
$this$DI.h6c(tmp0_safe_receiver);
|
|
5635
5635
|
}
|
|
5636
|
-
$this$DI.h6c(dealerModule(this$0.randomPoolProvider, this$0.
|
|
5636
|
+
$this$DI.h6c(dealerModule(this$0.randomPoolProvider, this$0.ef1_1));
|
|
5637
5637
|
$this$DI.h6c(coreModule($coreConfig));
|
|
5638
5638
|
$this$DI.h6c(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $externalReducers, $externalMiddlewares));
|
|
5639
5639
|
return Unit_instance;
|
|
@@ -5642,13 +5642,13 @@
|
|
|
5642
5642
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
5643
5643
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
5644
5644
|
production = production === VOID ? true : production;
|
|
5645
|
-
this.
|
|
5646
|
-
this.
|
|
5645
|
+
this.df1_1 = loggerCallback;
|
|
5646
|
+
this.ef1_1 = randomOrgConfig;
|
|
5647
5647
|
AppEnvironment_getInstance().n76(production ? AppEnvironmentValue_PRODUCTION_getInstance() : AppEnvironmentValue_DEVELOPMENT_getInstance());
|
|
5648
5648
|
var tmp = this;
|
|
5649
|
-
tmp.
|
|
5649
|
+
tmp.ff1_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
5650
5650
|
var tmp_0 = this;
|
|
5651
|
-
tmp_0.
|
|
5651
|
+
tmp_0.gf1_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
5652
5652
|
var tmp_1 = this;
|
|
5653
5653
|
// Inline function 'org.kodein.di.instance' call
|
|
5654
5654
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -5657,7 +5657,7 @@
|
|
|
5657
5657
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5658
5658
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
5659
5659
|
var tmp_4 = KProperty1;
|
|
5660
|
-
tmp_1.
|
|
5660
|
+
tmp_1.hf1_1 = tmp_3.a6i(this, getPropertyCallableRef('parser', 1, tmp_4, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w(), null));
|
|
5661
5661
|
var tmp_5 = this;
|
|
5662
5662
|
// Inline function 'org.kodein.di.instance' call
|
|
5663
5663
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -5666,7 +5666,7 @@
|
|
|
5666
5666
|
var tmp$ret$2 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
5667
5667
|
var tmp_7 = Instance(this_1, tmp$ret$2, null);
|
|
5668
5668
|
var tmp_8 = KProperty1;
|
|
5669
|
-
tmp_5.
|
|
5669
|
+
tmp_5.if1_1 = tmp_7.a6i(this, getPropertyCallableRef('helper', 1, tmp_8, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f(), null));
|
|
5670
5670
|
var tmp_9 = this;
|
|
5671
5671
|
// Inline function 'org.kodein.di.instance' call
|
|
5672
5672
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -5675,7 +5675,7 @@
|
|
|
5675
5675
|
var tmp$ret$4 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
5676
5676
|
var tmp_11 = Instance(this_2, tmp$ret$4, null);
|
|
5677
5677
|
var tmp_12 = KProperty1;
|
|
5678
|
-
tmp_9.
|
|
5678
|
+
tmp_9.jf1_1 = tmp_11.a6i(this, getPropertyCallableRef('serverHelper', 1, tmp_12, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre(), null));
|
|
5679
5679
|
var tmp_13 = this;
|
|
5680
5680
|
// Inline function 'org.kodein.di.instance' call
|
|
5681
5681
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -5684,7 +5684,7 @@
|
|
|
5684
5684
|
var tmp$ret$6 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
5685
5685
|
var tmp_15 = Instance(this_3, tmp$ret$6, null);
|
|
5686
5686
|
var tmp_16 = KProperty1;
|
|
5687
|
-
tmp_13.
|
|
5687
|
+
tmp_13.kf1_1 = tmp_15.a6i(this, getPropertyCallableRef('resources', 1, tmp_16, GameServerEngineControllerImpl$_get_resources_$ref_dt6416(), null));
|
|
5688
5688
|
var tmp_17 = this;
|
|
5689
5689
|
// Inline function 'org.kodein.di.instance' call
|
|
5690
5690
|
var this_4 = _get_di__ndbzja(this);
|
|
@@ -5693,7 +5693,7 @@
|
|
|
5693
5693
|
var tmp$ret$8 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
5694
5694
|
var tmp_19 = Instance(this_4, tmp$ret$8, null);
|
|
5695
5695
|
var tmp_20 = KProperty1;
|
|
5696
|
-
tmp_17.
|
|
5696
|
+
tmp_17.lf1_1 = tmp_19.a6i(this, getPropertyCallableRef('test', 1, tmp_20, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5(), null));
|
|
5697
5697
|
var tmp_21 = this;
|
|
5698
5698
|
// Inline function 'org.kodein.di.instance' call
|
|
5699
5699
|
var this_5 = _get_di__ndbzja(this);
|
|
@@ -5702,45 +5702,45 @@
|
|
|
5702
5702
|
var tmp$ret$10 = isInterface(tmp_22, TypeToken) ? tmp_22 : THROW_CCE();
|
|
5703
5703
|
var tmp_23 = Instance(this_5, tmp$ret$10, null);
|
|
5704
5704
|
var tmp_24 = KProperty1;
|
|
5705
|
-
tmp_21.
|
|
5705
|
+
tmp_21.mf1_1 = tmp_23.a6i(this, getPropertyCallableRef('randomPoolProvider', 1, tmp_24, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl(), null));
|
|
5706
5706
|
}
|
|
5707
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5708
|
-
var tmp0 = this.
|
|
5707
|
+
protoOf(GameServerEngineControllerImpl).hee = function () {
|
|
5708
|
+
var tmp0 = this.hf1_1;
|
|
5709
5709
|
var tmp = KProperty1;
|
|
5710
5710
|
// Inline function 'kotlin.getValue' call
|
|
5711
5711
|
getPropertyCallableRef('parser', 1, tmp, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w_0(), null);
|
|
5712
5712
|
return tmp0.u();
|
|
5713
5713
|
};
|
|
5714
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5715
|
-
var tmp0 = this.
|
|
5714
|
+
protoOf(GameServerEngineControllerImpl).yf0 = function () {
|
|
5715
|
+
var tmp0 = this.if1_1;
|
|
5716
5716
|
var tmp = KProperty1;
|
|
5717
5717
|
// Inline function 'kotlin.getValue' call
|
|
5718
5718
|
getPropertyCallableRef('helper', 1, tmp, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f_0(), null);
|
|
5719
5719
|
return tmp0.u();
|
|
5720
5720
|
};
|
|
5721
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5722
|
-
var tmp0 = this.
|
|
5721
|
+
protoOf(GameServerEngineControllerImpl).zf0 = function () {
|
|
5722
|
+
var tmp0 = this.jf1_1;
|
|
5723
5723
|
var tmp = KProperty1;
|
|
5724
5724
|
// Inline function 'kotlin.getValue' call
|
|
5725
5725
|
getPropertyCallableRef('serverHelper', 1, tmp, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre_0(), null);
|
|
5726
5726
|
return tmp0.u();
|
|
5727
5727
|
};
|
|
5728
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5729
|
-
var tmp0 = this.
|
|
5728
|
+
protoOf(GameServerEngineControllerImpl).af1 = function () {
|
|
5729
|
+
var tmp0 = this.kf1_1;
|
|
5730
5730
|
var tmp = KProperty1;
|
|
5731
5731
|
// Inline function 'kotlin.getValue' call
|
|
5732
5732
|
getPropertyCallableRef('resources', 1, tmp, GameServerEngineControllerImpl$_get_resources_$ref_dt6416_0(), null);
|
|
5733
5733
|
return tmp0.u();
|
|
5734
5734
|
};
|
|
5735
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5736
|
-
var tmp0 = this.
|
|
5735
|
+
protoOf(GameServerEngineControllerImpl).xf0 = function () {
|
|
5736
|
+
var tmp0 = this.lf1_1;
|
|
5737
5737
|
var tmp = KProperty1;
|
|
5738
5738
|
// Inline function 'kotlin.getValue' call
|
|
5739
5739
|
getPropertyCallableRef('test', 1, tmp, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5_0(), null);
|
|
5740
5740
|
return tmp0.u();
|
|
5741
5741
|
};
|
|
5742
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5743
|
-
var tmp0 = this.
|
|
5742
|
+
protoOf(GameServerEngineControllerImpl).bf1 = function () {
|
|
5743
|
+
var tmp0 = this.mf1_1;
|
|
5744
5744
|
var tmp = KProperty1;
|
|
5745
5745
|
// Inline function 'kotlin.getValue' call
|
|
5746
5746
|
getPropertyCallableRef('randomPoolProvider', 1, tmp, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl_0(), null);
|
|
@@ -5752,7 +5752,7 @@
|
|
|
5752
5752
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
5753
5753
|
return this.createGameEngineWithLogic();
|
|
5754
5754
|
};
|
|
5755
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5755
|
+
protoOf(GameServerEngineControllerImpl).cf1 = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig) {
|
|
5756
5756
|
var combinedLogger = Companion_instance_6.zo();
|
|
5757
5757
|
var tmp;
|
|
5758
5758
|
if (coreConfig.fileLogsEnabled) {
|
|
@@ -5762,8 +5762,8 @@
|
|
|
5762
5762
|
}
|
|
5763
5763
|
var fileLoggerOutput = tmp;
|
|
5764
5764
|
var tmp_0;
|
|
5765
|
-
if (!(this.
|
|
5766
|
-
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.
|
|
5765
|
+
if (!(this.df1_1 == null)) {
|
|
5766
|
+
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.df1_1));
|
|
5767
5767
|
} else {
|
|
5768
5768
|
tmp_0 = null;
|
|
5769
5769
|
}
|
|
@@ -5824,7 +5824,7 @@
|
|
|
5824
5824
|
function TestHelper() {
|
|
5825
5825
|
}
|
|
5826
5826
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
5827
|
-
var tmp0 = $this.
|
|
5827
|
+
var tmp0 = $this.qf1_1;
|
|
5828
5828
|
var tmp = KProperty1;
|
|
5829
5829
|
// Inline function 'kotlin.getValue' call
|
|
5830
5830
|
getPropertyCallableRef('playerAnswerInteractor', 1, tmp, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy_0(), null);
|
|
@@ -5832,7 +5832,7 @@
|
|
|
5832
5832
|
}
|
|
5833
5833
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
5834
5834
|
return function ($this$singleton) {
|
|
5835
|
-
return this$0.
|
|
5835
|
+
return this$0.of1_1;
|
|
5836
5836
|
};
|
|
5837
5837
|
}
|
|
5838
5838
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -5871,19 +5871,19 @@
|
|
|
5871
5871
|
return emptyMap();
|
|
5872
5872
|
}
|
|
5873
5873
|
function TestHelperImpl(logger) {
|
|
5874
|
-
this.
|
|
5874
|
+
this.of1_1 = logger;
|
|
5875
5875
|
var tmp = this;
|
|
5876
5876
|
var tmp_0 = Companion_instance_3;
|
|
5877
|
-
tmp.
|
|
5877
|
+
tmp.pf1_1 = tmp_0.o6c(VOID, TestHelperImpl$di$lambda(this));
|
|
5878
5878
|
var tmp_1 = this;
|
|
5879
5879
|
// Inline function 'org.kodein.di.instance' call
|
|
5880
|
-
var this_0 = this.
|
|
5880
|
+
var this_0 = this.pf1_1;
|
|
5881
5881
|
// Inline function 'org.kodein.type.generic' call
|
|
5882
5882
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
5883
5883
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5884
5884
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
5885
5885
|
var tmp_4 = KProperty1;
|
|
5886
|
-
tmp_1.
|
|
5886
|
+
tmp_1.qf1_1 = tmp_3.a6i(this, getPropertyCallableRef('playerAnswerInteractor', 1, tmp_4, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy(), null));
|
|
5887
5887
|
}
|
|
5888
5888
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
5889
5889
|
return _get_playerAnswerInteractor__msggz1(this).q9e(playerId, table, botConfig);
|
|
@@ -6038,22 +6038,22 @@
|
|
|
6038
6038
|
});
|
|
6039
6039
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
6040
6040
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
6041
|
-
return this.
|
|
6041
|
+
return this.hee();
|
|
6042
6042
|
});
|
|
6043
6043
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
6044
|
-
return this.
|
|
6044
|
+
return this.yf0();
|
|
6045
6045
|
});
|
|
6046
6046
|
defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
|
|
6047
|
-
return this.
|
|
6047
|
+
return this.zf0();
|
|
6048
6048
|
});
|
|
6049
6049
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
6050
|
-
return this.
|
|
6050
|
+
return this.af1();
|
|
6051
6051
|
});
|
|
6052
6052
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
6053
|
-
return this.
|
|
6053
|
+
return this.xf0();
|
|
6054
6054
|
});
|
|
6055
6055
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
6056
|
-
return this.
|
|
6056
|
+
return this.bf1();
|
|
6057
6057
|
});
|
|
6058
6058
|
//endregion
|
|
6059
6059
|
//region block: init
|