client_plugin_logic_deb 1.8.333 → 1.8.334
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.d.ts +48 -27
- package/Logic_Debertz-client_plugin.js +2027 -2027
- package/Logic_Debertz-core.js +44 -44
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +9951 -9895
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +5544 -5469
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js +672 -670
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlinx-coroutines-core.js +1 -1
- package/package.json +1 -1
|
@@ -328,15 +328,15 @@
|
|
|
328
328
|
tmp = spectators;
|
|
329
329
|
}
|
|
330
330
|
spectators = tmp;
|
|
331
|
-
return this.
|
|
331
|
+
return this.ndt(roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
332
332
|
}
|
|
333
333
|
function roomOnDelete(newRid, $super) {
|
|
334
334
|
newRid = newRid === VOID ? null : newRid;
|
|
335
|
-
return this.
|
|
335
|
+
return this.odt(newRid);
|
|
336
336
|
}
|
|
337
337
|
function shutdown(reason, roomId, $super) {
|
|
338
338
|
roomId = roomId === VOID ? null : roomId;
|
|
339
|
-
return this.
|
|
339
|
+
return this.pdt(reason, roomId);
|
|
340
340
|
}
|
|
341
341
|
initMetadataForInterface(ServerGameEngineContract, 'ServerGameEngineContract', VOID, VOID, [GameStoreContract]);
|
|
342
342
|
initMetadataForClass(GameServer, 'GameServer', VOID, BaseGame, [BaseGame, ServerGameEngineContract]);
|
|
@@ -390,7 +390,7 @@
|
|
|
390
390
|
logicConfig = logicConfig === VOID ? new EngineLogicConfig() : logicConfig;
|
|
391
391
|
dealerConfig = dealerConfig === VOID ? new DealerConfig() : dealerConfig;
|
|
392
392
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
393
|
-
return this.
|
|
393
|
+
return this.edy(reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig);
|
|
394
394
|
}
|
|
395
395
|
initMetadataForInterface(GameEngineController, 'GameEngineController');
|
|
396
396
|
initMetadataForClass(_no_name_provided__qut3iv_7, VOID, VOID, VOID, [Reducer]);
|
|
@@ -401,17 +401,17 @@
|
|
|
401
401
|
initMetadataForClass(TestHelperImpl, 'TestHelperImpl', VOID, VOID, [TestHelper]);
|
|
402
402
|
//endregion
|
|
403
403
|
function GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation) {
|
|
404
|
-
this.
|
|
404
|
+
this.ldf_1 = $subscriber;
|
|
405
405
|
CoroutineImpl.call(this, resultContinuation);
|
|
406
406
|
}
|
|
407
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
408
|
-
var tmp = this.
|
|
407
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).ndf = function (it, $completion) {
|
|
408
|
+
var tmp = this.odf(it, $completion);
|
|
409
409
|
tmp.l9_1 = Unit_instance;
|
|
410
410
|
tmp.m9_1 = null;
|
|
411
411
|
return tmp.r9();
|
|
412
412
|
};
|
|
413
413
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).ba = function (p1, $completion) {
|
|
414
|
-
return this.
|
|
414
|
+
return this.ndf(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
|
|
415
415
|
};
|
|
416
416
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).r9 = function () {
|
|
417
417
|
var suspendResult = this.l9_1;
|
|
@@ -420,7 +420,7 @@
|
|
|
420
420
|
var tmp = this.j9_1;
|
|
421
421
|
if (tmp === 0) {
|
|
422
422
|
this.k9_1 = 1;
|
|
423
|
-
this.
|
|
423
|
+
this.ldf_1(this.mdf_1);
|
|
424
424
|
return Unit_instance;
|
|
425
425
|
} else if (tmp === 1) {
|
|
426
426
|
throw this.m9_1;
|
|
@@ -431,21 +431,21 @@
|
|
|
431
431
|
}
|
|
432
432
|
while (true);
|
|
433
433
|
};
|
|
434
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
435
|
-
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.
|
|
436
|
-
i.
|
|
434
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).odf = function (it, completion) {
|
|
435
|
+
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.ldf_1, completion);
|
|
436
|
+
i.mdf_1 = it;
|
|
437
437
|
return i;
|
|
438
438
|
};
|
|
439
439
|
function GameServer$subscribeToClientAction$slambda$slambda_0($subscriber, resultContinuation) {
|
|
440
440
|
var i = new GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation);
|
|
441
441
|
var l = function (it, $completion) {
|
|
442
|
-
return i.
|
|
442
|
+
return i.ndf(it, $completion);
|
|
443
443
|
};
|
|
444
444
|
l.$arity = 1;
|
|
445
445
|
return l;
|
|
446
446
|
}
|
|
447
447
|
function GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
448
|
-
this.
|
|
448
|
+
this.xdf_1 = $$this$unsafeFlow;
|
|
449
449
|
CoroutineImpl.call(this, resultContinuation);
|
|
450
450
|
}
|
|
451
451
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda).d1m = function (value, $completion) {
|
|
@@ -466,12 +466,12 @@
|
|
|
466
466
|
case 0:
|
|
467
467
|
this.k9_1 = 2;
|
|
468
468
|
var tmp_0 = this;
|
|
469
|
-
tmp_0.
|
|
469
|
+
tmp_0.zdf_1 = this.xdf_1;
|
|
470
470
|
var tmp_1 = this;
|
|
471
|
-
tmp_1.
|
|
471
|
+
tmp_1.adg_1 = this.ydf_1;
|
|
472
472
|
this.j9_1 = 1;
|
|
473
|
-
var it = this.
|
|
474
|
-
suspendResult = this.
|
|
473
|
+
var it = this.adg_1;
|
|
474
|
+
suspendResult = this.zdf_1.r18(new ActionsStateUpdate(it), this);
|
|
475
475
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
476
476
|
return suspendResult;
|
|
477
477
|
}
|
|
@@ -494,8 +494,8 @@
|
|
|
494
494
|
while (true);
|
|
495
495
|
};
|
|
496
496
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda).e1m = function (value, completion) {
|
|
497
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda(this.
|
|
498
|
-
i.
|
|
497
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda(this.xdf_1, completion);
|
|
498
|
+
i.ydf_1 = value;
|
|
499
499
|
return i;
|
|
500
500
|
};
|
|
501
501
|
function GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -508,8 +508,8 @@
|
|
|
508
508
|
}
|
|
509
509
|
function $collectCOROUTINE$0(_this__u8e3s4, collector, resultContinuation) {
|
|
510
510
|
CoroutineImpl.call(this, resultContinuation);
|
|
511
|
-
this.
|
|
512
|
-
this.
|
|
511
|
+
this.jdg_1 = _this__u8e3s4;
|
|
512
|
+
this.kdg_1 = collector;
|
|
513
513
|
}
|
|
514
514
|
protoOf($collectCOROUTINE$0).r9 = function () {
|
|
515
515
|
var suspendResult = this.l9_1;
|
|
@@ -520,10 +520,10 @@
|
|
|
520
520
|
case 0:
|
|
521
521
|
this.k9_1 = 2;
|
|
522
522
|
var tmp_0 = this;
|
|
523
|
-
tmp_0.
|
|
523
|
+
tmp_0.ldg_1 = this.kdg_1;
|
|
524
524
|
this.j9_1 = 1;
|
|
525
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda_0(this.
|
|
526
|
-
suspendResult = this.
|
|
525
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda_0(this.ldg_1, null);
|
|
526
|
+
suspendResult = this.jdg_1.mdg_1.n17(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
527
527
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
528
528
|
return suspendResult;
|
|
529
529
|
}
|
|
@@ -546,7 +546,7 @@
|
|
|
546
546
|
while (true);
|
|
547
547
|
};
|
|
548
548
|
function _no_name_provided__qut3iv($this) {
|
|
549
|
-
this.
|
|
549
|
+
this.mdg_1 = $this;
|
|
550
550
|
}
|
|
551
551
|
protoOf(_no_name_provided__qut3iv).s18 = function (collector, $completion) {
|
|
552
552
|
var tmp = new $collectCOROUTINE$0(this, collector, $completion);
|
|
@@ -558,18 +558,18 @@
|
|
|
558
558
|
return this.s18(collector, $completion);
|
|
559
559
|
};
|
|
560
560
|
function GameServer$subscribeServerStateUpdate$slambda$slambda$slambda($table, this$0, resultContinuation) {
|
|
561
|
-
this.
|
|
562
|
-
this.
|
|
561
|
+
this.vdg_1 = $table;
|
|
562
|
+
this.wdg_1 = this$0;
|
|
563
563
|
CoroutineImpl.call(this, resultContinuation);
|
|
564
564
|
}
|
|
565
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda).
|
|
566
|
-
var tmp = this.
|
|
565
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda).ydg = function ($this$flow, $completion) {
|
|
566
|
+
var tmp = this.zdg($this$flow, $completion);
|
|
567
567
|
tmp.l9_1 = Unit_instance;
|
|
568
568
|
tmp.m9_1 = null;
|
|
569
569
|
return tmp.r9();
|
|
570
570
|
};
|
|
571
571
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda).ba = function (p1, $completion) {
|
|
572
|
-
return this.
|
|
572
|
+
return this.ydg((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
573
573
|
};
|
|
574
574
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda).r9 = function () {
|
|
575
575
|
var suspendResult = this.l9_1;
|
|
@@ -580,7 +580,7 @@
|
|
|
580
580
|
case 0:
|
|
581
581
|
this.k9_1 = 3;
|
|
582
582
|
this.j9_1 = 1;
|
|
583
|
-
suspendResult = this.
|
|
583
|
+
suspendResult = this.xdg_1.r18(new TableStateUpdate(this.vdg_1), this);
|
|
584
584
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
585
585
|
return suspendResult;
|
|
586
586
|
}
|
|
@@ -588,8 +588,8 @@
|
|
|
588
588
|
continue $sm;
|
|
589
589
|
case 1:
|
|
590
590
|
this.j9_1 = 2;
|
|
591
|
-
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.
|
|
592
|
-
suspendResult = emitAll(this.
|
|
591
|
+
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.wdg_1).t92(), new Long(3000, 0));
|
|
592
|
+
suspendResult = emitAll(this.xdg_1, new _no_name_provided__qut3iv(this_0), this);
|
|
593
593
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
594
594
|
return suspendResult;
|
|
595
595
|
}
|
|
@@ -611,32 +611,32 @@
|
|
|
611
611
|
}
|
|
612
612
|
while (true);
|
|
613
613
|
};
|
|
614
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda).
|
|
615
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda$slambda(this.
|
|
616
|
-
i.
|
|
614
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda).zdg = function ($this$flow, completion) {
|
|
615
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda$slambda(this.vdg_1, this.wdg_1, completion);
|
|
616
|
+
i.xdg_1 = $this$flow;
|
|
617
617
|
return i;
|
|
618
618
|
};
|
|
619
619
|
function GameServer$subscribeServerStateUpdate$slambda$slambda$slambda_0($table, this$0, resultContinuation) {
|
|
620
620
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda$slambda($table, this$0, resultContinuation);
|
|
621
621
|
var l = function ($this$flow, $completion) {
|
|
622
|
-
return i.
|
|
622
|
+
return i.ydg($this$flow, $completion);
|
|
623
623
|
};
|
|
624
624
|
l.$arity = 1;
|
|
625
625
|
return l;
|
|
626
626
|
}
|
|
627
627
|
function GameServer$subscribeServerStateUpdate$slambda$slambda(this$0, resultContinuation) {
|
|
628
|
-
this.
|
|
628
|
+
this.idh_1 = this$0;
|
|
629
629
|
CoroutineImpl.call(this, resultContinuation);
|
|
630
630
|
}
|
|
631
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
632
|
-
var tmp = this.
|
|
631
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).ac3 = function ($this$transformLatest, it, $completion) {
|
|
632
|
+
var tmp = this.bc3($this$transformLatest, it, $completion);
|
|
633
633
|
tmp.l9_1 = Unit_instance;
|
|
634
634
|
tmp.m9_1 = null;
|
|
635
635
|
return tmp.r9();
|
|
636
636
|
};
|
|
637
637
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).ca = function (p1, p2, $completion) {
|
|
638
638
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
639
|
-
return this.
|
|
639
|
+
return this.ac3(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
640
640
|
};
|
|
641
641
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).r9 = function () {
|
|
642
642
|
var suspendResult = this.l9_1;
|
|
@@ -647,8 +647,8 @@
|
|
|
647
647
|
case 0:
|
|
648
648
|
this.k9_1 = 2;
|
|
649
649
|
this.j9_1 = 1;
|
|
650
|
-
var table = this.
|
|
651
|
-
suspendResult = emitAll(this.
|
|
650
|
+
var table = this.kdh_1;
|
|
651
|
+
suspendResult = emitAll(this.jdh_1, flow(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda_0(table, this.idh_1, null)), this);
|
|
652
652
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
653
653
|
return suspendResult;
|
|
654
654
|
}
|
|
@@ -670,32 +670,32 @@
|
|
|
670
670
|
}
|
|
671
671
|
while (true);
|
|
672
672
|
};
|
|
673
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
674
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.
|
|
675
|
-
i.
|
|
676
|
-
i.
|
|
673
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).bc3 = function ($this$transformLatest, it, completion) {
|
|
674
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.idh_1, completion);
|
|
675
|
+
i.jdh_1 = $this$transformLatest;
|
|
676
|
+
i.kdh_1 = it;
|
|
677
677
|
return i;
|
|
678
678
|
};
|
|
679
679
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_0(this$0, resultContinuation) {
|
|
680
680
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this$0, resultContinuation);
|
|
681
681
|
var l = function ($this$transformLatest, it, $completion) {
|
|
682
|
-
return i.
|
|
682
|
+
return i.ac3($this$transformLatest, it, $completion);
|
|
683
683
|
};
|
|
684
684
|
l.$arity = 2;
|
|
685
685
|
return l;
|
|
686
686
|
}
|
|
687
687
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_1($subscriber, resultContinuation) {
|
|
688
|
-
this.
|
|
688
|
+
this.tdh_1 = $subscriber;
|
|
689
689
|
CoroutineImpl.call(this, resultContinuation);
|
|
690
690
|
}
|
|
691
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda_1).
|
|
692
|
-
var tmp = this.
|
|
691
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda_1).vdh = function (it, $completion) {
|
|
692
|
+
var tmp = this.wdh(it, $completion);
|
|
693
693
|
tmp.l9_1 = Unit_instance;
|
|
694
694
|
tmp.m9_1 = null;
|
|
695
695
|
return tmp.r9();
|
|
696
696
|
};
|
|
697
697
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda_1).ba = function (p1, $completion) {
|
|
698
|
-
return this.
|
|
698
|
+
return this.vdh((!(p1 == null) ? isInterface(p1, ServerStateUpdate) : false) ? p1 : THROW_CCE(), $completion);
|
|
699
699
|
};
|
|
700
700
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda_1).r9 = function () {
|
|
701
701
|
var suspendResult = this.l9_1;
|
|
@@ -704,7 +704,7 @@
|
|
|
704
704
|
var tmp = this.j9_1;
|
|
705
705
|
if (tmp === 0) {
|
|
706
706
|
this.k9_1 = 1;
|
|
707
|
-
this.
|
|
707
|
+
this.tdh_1(this.udh_1);
|
|
708
708
|
return Unit_instance;
|
|
709
709
|
} else if (tmp === 1) {
|
|
710
710
|
throw this.m9_1;
|
|
@@ -715,21 +715,21 @@
|
|
|
715
715
|
}
|
|
716
716
|
while (true);
|
|
717
717
|
};
|
|
718
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda_1).
|
|
719
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda_1(this.
|
|
720
|
-
i.
|
|
718
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda_1).wdh = function (it, completion) {
|
|
719
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda_1(this.tdh_1, completion);
|
|
720
|
+
i.udh_1 = it;
|
|
721
721
|
return i;
|
|
722
722
|
};
|
|
723
723
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_2($subscriber, resultContinuation) {
|
|
724
724
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda_1($subscriber, resultContinuation);
|
|
725
725
|
var l = function (it, $completion) {
|
|
726
|
-
return i.
|
|
726
|
+
return i.vdh(it, $completion);
|
|
727
727
|
};
|
|
728
728
|
l.$arity = 1;
|
|
729
729
|
return l;
|
|
730
730
|
}
|
|
731
731
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
732
|
-
this.
|
|
732
|
+
this.fdi_1 = $$this$unsafeFlow;
|
|
733
733
|
CoroutineImpl.call(this, resultContinuation);
|
|
734
734
|
}
|
|
735
735
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).d1m = function (value, $completion) {
|
|
@@ -750,12 +750,12 @@
|
|
|
750
750
|
case 0:
|
|
751
751
|
this.k9_1 = 2;
|
|
752
752
|
var tmp_0 = this;
|
|
753
|
-
tmp_0.
|
|
753
|
+
tmp_0.hdi_1 = this.fdi_1;
|
|
754
754
|
var tmp_1 = this;
|
|
755
|
-
tmp_1.
|
|
755
|
+
tmp_1.idi_1 = this.gdi_1;
|
|
756
756
|
this.j9_1 = 1;
|
|
757
|
-
var state = this.
|
|
758
|
-
suspendResult = this.
|
|
757
|
+
var state = this.idi_1;
|
|
758
|
+
suspendResult = this.hdi_1.r18(state.i6x().gameInfo.roundNumberTotal, this);
|
|
759
759
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
760
760
|
return suspendResult;
|
|
761
761
|
}
|
|
@@ -778,8 +778,8 @@
|
|
|
778
778
|
while (true);
|
|
779
779
|
};
|
|
780
780
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).e1m = function (value, completion) {
|
|
781
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.
|
|
782
|
-
i.
|
|
781
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.fdi_1, completion);
|
|
782
|
+
i.gdi_1 = value;
|
|
783
783
|
return i;
|
|
784
784
|
};
|
|
785
785
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -792,8 +792,8 @@
|
|
|
792
792
|
}
|
|
793
793
|
function $collectCOROUTINE$1(_this__u8e3s4, collector, resultContinuation) {
|
|
794
794
|
CoroutineImpl.call(this, resultContinuation);
|
|
795
|
-
this.
|
|
796
|
-
this.
|
|
795
|
+
this.rdi_1 = _this__u8e3s4;
|
|
796
|
+
this.sdi_1 = collector;
|
|
797
797
|
}
|
|
798
798
|
protoOf($collectCOROUTINE$1).r9 = function () {
|
|
799
799
|
var suspendResult = this.l9_1;
|
|
@@ -804,10 +804,10 @@
|
|
|
804
804
|
case 0:
|
|
805
805
|
this.k9_1 = 2;
|
|
806
806
|
var tmp_0 = this;
|
|
807
|
-
tmp_0.
|
|
807
|
+
tmp_0.tdi_1 = this.sdi_1;
|
|
808
808
|
this.j9_1 = 1;
|
|
809
|
-
var tmp_1 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0(this.
|
|
810
|
-
suspendResult = this.
|
|
809
|
+
var tmp_1 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0(this.tdi_1, null);
|
|
810
|
+
suspendResult = this.rdi_1.udi_1.n17(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
811
811
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
812
812
|
return suspendResult;
|
|
813
813
|
}
|
|
@@ -830,7 +830,7 @@
|
|
|
830
830
|
while (true);
|
|
831
831
|
};
|
|
832
832
|
function GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
833
|
-
this.
|
|
833
|
+
this.ddj_1 = $$this$unsafeFlow;
|
|
834
834
|
CoroutineImpl.call(this, resultContinuation);
|
|
835
835
|
}
|
|
836
836
|
protoOf(GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda).d1m = function (value, $completion) {
|
|
@@ -854,33 +854,33 @@
|
|
|
854
854
|
continue $sm;
|
|
855
855
|
case 1:
|
|
856
856
|
var tmp_0 = this;
|
|
857
|
-
tmp_0.
|
|
857
|
+
tmp_0.gdj_1 = this.ddj_1;
|
|
858
858
|
var tmp_1 = this;
|
|
859
|
-
tmp_1.
|
|
859
|
+
tmp_1.hdj_1 = this.edj_1;
|
|
860
860
|
var tmp_2 = this;
|
|
861
|
-
tmp_2.
|
|
862
|
-
if (this.
|
|
863
|
-
this.
|
|
861
|
+
tmp_2.idj_1 = this.hdj_1.r6w_1;
|
|
862
|
+
if (this.idj_1 == null) {
|
|
863
|
+
this.fdj_1 = Unit_instance;
|
|
864
864
|
this.j9_1 = 4;
|
|
865
865
|
var tmp_3 = this;
|
|
866
866
|
continue $sm;
|
|
867
867
|
} else {
|
|
868
|
-
this.
|
|
868
|
+
this.jdj_1 = this.idj_1;
|
|
869
869
|
this.j9_1 = 2;
|
|
870
870
|
continue $sm;
|
|
871
871
|
}
|
|
872
872
|
|
|
873
873
|
case 2:
|
|
874
|
-
this.
|
|
874
|
+
this.kdj_1 = this.jdj_1;
|
|
875
875
|
this.j9_1 = 3;
|
|
876
|
-
suspendResult = this.
|
|
876
|
+
suspendResult = this.gdj_1.r18(this.kdj_1, this);
|
|
877
877
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
878
878
|
return suspendResult;
|
|
879
879
|
}
|
|
880
880
|
|
|
881
881
|
continue $sm;
|
|
882
882
|
case 3:
|
|
883
|
-
this.
|
|
883
|
+
this.fdj_1 = suspendResult;
|
|
884
884
|
if (false) {
|
|
885
885
|
this.j9_1 = 1;
|
|
886
886
|
continue $sm;
|
|
@@ -905,8 +905,8 @@
|
|
|
905
905
|
while (true);
|
|
906
906
|
};
|
|
907
907
|
protoOf(GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda).e1m = function (value, completion) {
|
|
908
|
-
var i = new GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda(this.
|
|
909
|
-
i.
|
|
908
|
+
var i = new GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda(this.ddj_1, completion);
|
|
909
|
+
i.edj_1 = value;
|
|
910
910
|
return i;
|
|
911
911
|
};
|
|
912
912
|
function GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -919,8 +919,8 @@
|
|
|
919
919
|
}
|
|
920
920
|
function $collectCOROUTINE$2(_this__u8e3s4, collector, resultContinuation) {
|
|
921
921
|
CoroutineImpl.call(this, resultContinuation);
|
|
922
|
-
this.
|
|
923
|
-
this.
|
|
922
|
+
this.tdj_1 = _this__u8e3s4;
|
|
923
|
+
this.udj_1 = collector;
|
|
924
924
|
}
|
|
925
925
|
protoOf($collectCOROUTINE$2).r9 = function () {
|
|
926
926
|
var suspendResult = this.l9_1;
|
|
@@ -931,10 +931,10 @@
|
|
|
931
931
|
case 0:
|
|
932
932
|
this.k9_1 = 2;
|
|
933
933
|
var tmp_0 = this;
|
|
934
|
-
tmp_0.
|
|
934
|
+
tmp_0.vdj_1 = this.udj_1;
|
|
935
935
|
this.j9_1 = 1;
|
|
936
|
-
var tmp_1 = GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda_0(this.
|
|
937
|
-
suspendResult = this.
|
|
936
|
+
var tmp_1 = GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda_0(this.vdj_1, null);
|
|
937
|
+
suspendResult = this.tdj_1.wdj_1.n17(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
938
938
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
939
939
|
return suspendResult;
|
|
940
940
|
}
|
|
@@ -957,7 +957,7 @@
|
|
|
957
957
|
while (true);
|
|
958
958
|
};
|
|
959
959
|
function _no_name_provided__qut3iv_0($this) {
|
|
960
|
-
this.
|
|
960
|
+
this.wdj_1 = $this;
|
|
961
961
|
}
|
|
962
962
|
protoOf(_no_name_provided__qut3iv_0).s18 = function (collector, $completion) {
|
|
963
963
|
var tmp = new $collectCOROUTINE$2(this, collector, $completion);
|
|
@@ -969,17 +969,17 @@
|
|
|
969
969
|
return this.s18(collector, $completion);
|
|
970
970
|
};
|
|
971
971
|
function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
|
|
972
|
-
this.
|
|
972
|
+
this.fdk_1 = $subscriber;
|
|
973
973
|
CoroutineImpl.call(this, resultContinuation);
|
|
974
974
|
}
|
|
975
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
976
|
-
var tmp = this.
|
|
975
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).hdk = function (it, $completion) {
|
|
976
|
+
var tmp = this.idk(it, $completion);
|
|
977
977
|
tmp.l9_1 = Unit_instance;
|
|
978
978
|
tmp.m9_1 = null;
|
|
979
979
|
return tmp.r9();
|
|
980
980
|
};
|
|
981
981
|
protoOf(GameServer$subscribeWith$slambda$slambda).ba = function (p1, $completion) {
|
|
982
|
-
return this.
|
|
982
|
+
return this.hdk(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
|
|
983
983
|
};
|
|
984
984
|
protoOf(GameServer$subscribeWith$slambda$slambda).r9 = function () {
|
|
985
985
|
var suspendResult = this.l9_1;
|
|
@@ -988,7 +988,7 @@
|
|
|
988
988
|
var tmp = this.j9_1;
|
|
989
989
|
if (tmp === 0) {
|
|
990
990
|
this.k9_1 = 1;
|
|
991
|
-
this.
|
|
991
|
+
this.fdk_1(this.gdk_1);
|
|
992
992
|
return Unit_instance;
|
|
993
993
|
} else if (tmp === 1) {
|
|
994
994
|
throw this.m9_1;
|
|
@@ -999,64 +999,64 @@
|
|
|
999
999
|
}
|
|
1000
1000
|
while (true);
|
|
1001
1001
|
};
|
|
1002
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1003
|
-
var i = new GameServer$subscribeWith$slambda$slambda(this.
|
|
1004
|
-
i.
|
|
1002
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).idk = function (it, completion) {
|
|
1003
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.fdk_1, completion);
|
|
1004
|
+
i.gdk_1 = it;
|
|
1005
1005
|
return i;
|
|
1006
1006
|
};
|
|
1007
1007
|
function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
|
|
1008
1008
|
var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
|
|
1009
1009
|
var l = function (it, $completion) {
|
|
1010
|
-
return i.
|
|
1010
|
+
return i.hdk(it, $completion);
|
|
1011
1011
|
};
|
|
1012
1012
|
l.$arity = 1;
|
|
1013
1013
|
return l;
|
|
1014
1014
|
}
|
|
1015
1015
|
function GameServer$roomOnCreate$1$updatedUsers$previousTeams$1($playerId) {
|
|
1016
|
-
this.
|
|
1016
|
+
this.jdk_1 = $playerId;
|
|
1017
1017
|
}
|
|
1018
1018
|
protoOf(GameServer$roomOnCreate$1$updatedUsers$previousTeams$1).s6e = function () {
|
|
1019
|
-
return this.
|
|
1019
|
+
return this.jdk_1;
|
|
1020
1020
|
};
|
|
1021
1021
|
function _get_logger__rkp4sl($this) {
|
|
1022
1022
|
// Inline function 'kotlin.getValue' call
|
|
1023
|
-
var this_0 = $this.
|
|
1023
|
+
var this_0 = $this.mdk_1;
|
|
1024
1024
|
logger$factory_0();
|
|
1025
1025
|
return this_0.u();
|
|
1026
1026
|
}
|
|
1027
1027
|
function _get_toClientEventsObserver__6rp51y($this) {
|
|
1028
1028
|
// Inline function 'kotlin.getValue' call
|
|
1029
|
-
var this_0 = $this.
|
|
1029
|
+
var this_0 = $this.ndk_1;
|
|
1030
1030
|
toClientEventsObserver$factory_0();
|
|
1031
1031
|
return this_0.u();
|
|
1032
1032
|
}
|
|
1033
1033
|
function _get_fromClientEventsObserver__a7vzd3($this) {
|
|
1034
1034
|
// Inline function 'kotlin.getValue' call
|
|
1035
|
-
var this_0 = $this.
|
|
1035
|
+
var this_0 = $this.odk_1;
|
|
1036
1036
|
fromClientEventsObserver$factory_0();
|
|
1037
1037
|
return this_0.u();
|
|
1038
1038
|
}
|
|
1039
1039
|
function _get_playerConnectionInteractor__si6cxf($this) {
|
|
1040
1040
|
// Inline function 'kotlin.getValue' call
|
|
1041
|
-
var this_0 = $this.
|
|
1041
|
+
var this_0 = $this.pdk_1;
|
|
1042
1042
|
playerConnectionInteractor$factory_0();
|
|
1043
1043
|
return this_0.u();
|
|
1044
1044
|
}
|
|
1045
1045
|
function _get_teamsLogicProvider__u10pm6($this) {
|
|
1046
1046
|
// Inline function 'kotlin.getValue' call
|
|
1047
|
-
var this_0 = $this.
|
|
1047
|
+
var this_0 = $this.qdk_1;
|
|
1048
1048
|
teamsLogicProvider$factory_0();
|
|
1049
1049
|
return this_0.u();
|
|
1050
1050
|
}
|
|
1051
1051
|
function _get_random__h29cgo($this) {
|
|
1052
1052
|
// Inline function 'kotlin.getValue' call
|
|
1053
|
-
var this_0 = $this.
|
|
1053
|
+
var this_0 = $this.rdk_1;
|
|
1054
1054
|
random$factory();
|
|
1055
1055
|
return this_0.u();
|
|
1056
1056
|
}
|
|
1057
1057
|
function _get_idsProvider__fnfajc($this) {
|
|
1058
1058
|
// Inline function 'kotlin.getValue' call
|
|
1059
|
-
var this_0 = $this.
|
|
1059
|
+
var this_0 = $this.sdk_1;
|
|
1060
1060
|
idsProvider$factory_0();
|
|
1061
1061
|
return this_0.u();
|
|
1062
1062
|
}
|
|
@@ -1070,20 +1070,20 @@
|
|
|
1070
1070
|
return transformLatest(this_0, GameServer$observeTableWhenRoundChanges$slambda_0(observeState, null));
|
|
1071
1071
|
}
|
|
1072
1072
|
function Companion() {
|
|
1073
|
-
this.
|
|
1073
|
+
this.udk_1 = 'GameEngine_API';
|
|
1074
1074
|
}
|
|
1075
1075
|
var Companion_instance_7;
|
|
1076
1076
|
function Companion_getInstance_0() {
|
|
1077
1077
|
return Companion_instance_7;
|
|
1078
1078
|
}
|
|
1079
1079
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
1080
|
-
this.
|
|
1080
|
+
this.vdk_1 = function_0;
|
|
1081
1081
|
}
|
|
1082
1082
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).r18 = function (value, $completion) {
|
|
1083
|
-
return this.
|
|
1083
|
+
return this.vdk_1(value, $completion);
|
|
1084
1084
|
};
|
|
1085
1085
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).t3 = function () {
|
|
1086
|
-
return this.
|
|
1086
|
+
return this.vdk_1;
|
|
1087
1087
|
};
|
|
1088
1088
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
1089
1089
|
var tmp;
|
|
@@ -1104,13 +1104,13 @@
|
|
|
1104
1104
|
return hashCode(this.t3());
|
|
1105
1105
|
};
|
|
1106
1106
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
1107
|
-
this.
|
|
1107
|
+
this.wdk_1 = function_0;
|
|
1108
1108
|
}
|
|
1109
1109
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).r18 = function (value, $completion) {
|
|
1110
|
-
return this.
|
|
1110
|
+
return this.wdk_1(value, $completion);
|
|
1111
1111
|
};
|
|
1112
1112
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).t3 = function () {
|
|
1113
|
-
return this.
|
|
1113
|
+
return this.wdk_1;
|
|
1114
1114
|
};
|
|
1115
1115
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
1116
1116
|
var tmp;
|
|
@@ -1131,13 +1131,13 @@
|
|
|
1131
1131
|
return hashCode(this.t3());
|
|
1132
1132
|
};
|
|
1133
1133
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
|
|
1134
|
-
this.
|
|
1134
|
+
this.xdk_1 = function_0;
|
|
1135
1135
|
}
|
|
1136
1136
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).r18 = function (value, $completion) {
|
|
1137
|
-
return this.
|
|
1137
|
+
return this.xdk_1(value, $completion);
|
|
1138
1138
|
};
|
|
1139
1139
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).t3 = function () {
|
|
1140
|
-
return this.
|
|
1140
|
+
return this.xdk_1;
|
|
1141
1141
|
};
|
|
1142
1142
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
|
|
1143
1143
|
var tmp;
|
|
@@ -1158,13 +1158,13 @@
|
|
|
1158
1158
|
return hashCode(this.t3());
|
|
1159
1159
|
};
|
|
1160
1160
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
|
|
1161
|
-
this.
|
|
1161
|
+
this.ydk_1 = function_0;
|
|
1162
1162
|
}
|
|
1163
1163
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).r18 = function (value, $completion) {
|
|
1164
|
-
return this.
|
|
1164
|
+
return this.ydk_1(value, $completion);
|
|
1165
1165
|
};
|
|
1166
1166
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).t3 = function () {
|
|
1167
|
-
return this.
|
|
1167
|
+
return this.ydk_1;
|
|
1168
1168
|
};
|
|
1169
1169
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
|
|
1170
1170
|
var tmp;
|
|
@@ -1190,8 +1190,8 @@
|
|
|
1190
1190
|
};
|
|
1191
1191
|
}
|
|
1192
1192
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
1193
|
-
this.
|
|
1194
|
-
this.
|
|
1193
|
+
this.hdl_1 = this$0;
|
|
1194
|
+
this.idl_1 = $subscriber;
|
|
1195
1195
|
CoroutineImpl.call(this, resultContinuation);
|
|
1196
1196
|
}
|
|
1197
1197
|
protoOf(GameServer$subscribeToClientAction$slambda).g1f = function ($this$launchDefault, $completion) {
|
|
@@ -1212,8 +1212,8 @@
|
|
|
1212
1212
|
case 0:
|
|
1213
1213
|
this.k9_1 = 2;
|
|
1214
1214
|
this.j9_1 = 1;
|
|
1215
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
1216
|
-
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.
|
|
1215
|
+
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.hdl_1).uaq();
|
|
1216
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.idl_1, null);
|
|
1217
1217
|
suspendResult = tmp_0.n17(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
1218
1218
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1219
1219
|
return suspendResult;
|
|
@@ -1237,8 +1237,8 @@
|
|
|
1237
1237
|
while (true);
|
|
1238
1238
|
};
|
|
1239
1239
|
protoOf(GameServer$subscribeToClientAction$slambda).h1f = function ($this$launchDefault, completion) {
|
|
1240
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
1241
|
-
i.
|
|
1240
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.hdl_1, this.idl_1, completion);
|
|
1241
|
+
i.jdl_1 = $this$launchDefault;
|
|
1242
1242
|
return i;
|
|
1243
1243
|
};
|
|
1244
1244
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1250,8 +1250,8 @@
|
|
|
1250
1250
|
return l;
|
|
1251
1251
|
}
|
|
1252
1252
|
function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
|
|
1253
|
-
this.
|
|
1254
|
-
this.
|
|
1253
|
+
this.sdl_1 = this$0;
|
|
1254
|
+
this.tdl_1 = $subscriber;
|
|
1255
1255
|
CoroutineImpl.call(this, resultContinuation);
|
|
1256
1256
|
}
|
|
1257
1257
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).g1f = function ($this$launchDefault, $completion) {
|
|
@@ -1272,9 +1272,9 @@
|
|
|
1272
1272
|
case 0:
|
|
1273
1273
|
this.k9_1 = 2;
|
|
1274
1274
|
this.j9_1 = 1;
|
|
1275
|
-
var this_0 = observeTableWhenRoundChanges(this.
|
|
1276
|
-
var tmp_0 = transformLatest(this_0, GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.
|
|
1277
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_2(this.
|
|
1275
|
+
var this_0 = observeTableWhenRoundChanges(this.sdl_1, this.sdl_1.q6w());
|
|
1276
|
+
var tmp_0 = transformLatest(this_0, GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.sdl_1, null));
|
|
1277
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_2(this.tdl_1, null);
|
|
1278
1278
|
suspendResult = tmp_0.n17(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
1279
1279
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1280
1280
|
return suspendResult;
|
|
@@ -1298,8 +1298,8 @@
|
|
|
1298
1298
|
while (true);
|
|
1299
1299
|
};
|
|
1300
1300
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).h1f = function ($this$launchDefault, completion) {
|
|
1301
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda(this.
|
|
1302
|
-
i.
|
|
1301
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda(this.sdl_1, this.tdl_1, completion);
|
|
1302
|
+
i.udl_1 = $this$launchDefault;
|
|
1303
1303
|
return i;
|
|
1304
1304
|
};
|
|
1305
1305
|
function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1311,7 +1311,7 @@
|
|
|
1311
1311
|
return l;
|
|
1312
1312
|
}
|
|
1313
1313
|
function _no_name_provided__qut3iv_1($this) {
|
|
1314
|
-
this.
|
|
1314
|
+
this.udi_1 = $this;
|
|
1315
1315
|
}
|
|
1316
1316
|
protoOf(_no_name_provided__qut3iv_1).s18 = function (collector, $completion) {
|
|
1317
1317
|
var tmp = new $collectCOROUTINE$1(this, collector, $completion);
|
|
@@ -1323,18 +1323,18 @@
|
|
|
1323
1323
|
return this.s18(collector, $completion);
|
|
1324
1324
|
};
|
|
1325
1325
|
function GameServer$observeTableWhenRoundChanges$slambda($observeState, resultContinuation) {
|
|
1326
|
-
this.
|
|
1326
|
+
this.ddm_1 = $observeState;
|
|
1327
1327
|
CoroutineImpl.call(this, resultContinuation);
|
|
1328
1328
|
}
|
|
1329
|
-
protoOf(GameServer$observeTableWhenRoundChanges$slambda).
|
|
1330
|
-
var tmp = this.
|
|
1329
|
+
protoOf(GameServer$observeTableWhenRoundChanges$slambda).ac3 = function ($this$transformLatest, it, $completion) {
|
|
1330
|
+
var tmp = this.bc3($this$transformLatest, it, $completion);
|
|
1331
1331
|
tmp.l9_1 = Unit_instance;
|
|
1332
1332
|
tmp.m9_1 = null;
|
|
1333
1333
|
return tmp.r9();
|
|
1334
1334
|
};
|
|
1335
1335
|
protoOf(GameServer$observeTableWhenRoundChanges$slambda).ca = function (p1, p2, $completion) {
|
|
1336
1336
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
1337
|
-
return this.
|
|
1337
|
+
return this.ac3(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
1338
1338
|
};
|
|
1339
1339
|
protoOf(GameServer$observeTableWhenRoundChanges$slambda).r9 = function () {
|
|
1340
1340
|
var suspendResult = this.l9_1;
|
|
@@ -1345,9 +1345,9 @@
|
|
|
1345
1345
|
case 0:
|
|
1346
1346
|
this.k9_1 = 2;
|
|
1347
1347
|
this.j9_1 = 1;
|
|
1348
|
-
this.
|
|
1349
|
-
var this_0 = this.
|
|
1350
|
-
suspendResult = emitAll(this.
|
|
1348
|
+
this.fdm_1;
|
|
1349
|
+
var this_0 = this.ddm_1;
|
|
1350
|
+
suspendResult = emitAll(this.edm_1, new _no_name_provided__qut3iv_0(this_0), this);
|
|
1351
1351
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1352
1352
|
return suspendResult;
|
|
1353
1353
|
}
|
|
@@ -1369,23 +1369,23 @@
|
|
|
1369
1369
|
}
|
|
1370
1370
|
while (true);
|
|
1371
1371
|
};
|
|
1372
|
-
protoOf(GameServer$observeTableWhenRoundChanges$slambda).
|
|
1373
|
-
var i = new GameServer$observeTableWhenRoundChanges$slambda(this.
|
|
1374
|
-
i.
|
|
1375
|
-
i.
|
|
1372
|
+
protoOf(GameServer$observeTableWhenRoundChanges$slambda).bc3 = function ($this$transformLatest, it, completion) {
|
|
1373
|
+
var i = new GameServer$observeTableWhenRoundChanges$slambda(this.ddm_1, completion);
|
|
1374
|
+
i.edm_1 = $this$transformLatest;
|
|
1375
|
+
i.fdm_1 = it;
|
|
1376
1376
|
return i;
|
|
1377
1377
|
};
|
|
1378
1378
|
function GameServer$observeTableWhenRoundChanges$slambda_0($observeState, resultContinuation) {
|
|
1379
1379
|
var i = new GameServer$observeTableWhenRoundChanges$slambda($observeState, resultContinuation);
|
|
1380
1380
|
var l = function ($this$transformLatest, it, $completion) {
|
|
1381
|
-
return i.
|
|
1381
|
+
return i.ac3($this$transformLatest, it, $completion);
|
|
1382
1382
|
};
|
|
1383
1383
|
l.$arity = 2;
|
|
1384
1384
|
return l;
|
|
1385
1385
|
}
|
|
1386
1386
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
1387
|
-
this.
|
|
1388
|
-
this.
|
|
1387
|
+
this.odm_1 = this$0;
|
|
1388
|
+
this.pdm_1 = $subscriber;
|
|
1389
1389
|
CoroutineImpl.call(this, resultContinuation);
|
|
1390
1390
|
}
|
|
1391
1391
|
protoOf(GameServer$subscribeWith$slambda).g1f = function ($this$launchDefault, $completion) {
|
|
@@ -1406,8 +1406,8 @@
|
|
|
1406
1406
|
case 0:
|
|
1407
1407
|
this.k9_1 = 2;
|
|
1408
1408
|
this.j9_1 = 1;
|
|
1409
|
-
var tmp_0 = distinctUntilChanged(this.
|
|
1410
|
-
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.
|
|
1409
|
+
var tmp_0 = distinctUntilChanged(this.odm_1.q6w());
|
|
1410
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.pdm_1, null);
|
|
1411
1411
|
suspendResult = tmp_0.n17(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_1), this);
|
|
1412
1412
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1413
1413
|
return suspendResult;
|
|
@@ -1431,8 +1431,8 @@
|
|
|
1431
1431
|
while (true);
|
|
1432
1432
|
};
|
|
1433
1433
|
protoOf(GameServer$subscribeWith$slambda).h1f = function ($this$launchDefault, completion) {
|
|
1434
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
1435
|
-
i.
|
|
1434
|
+
var i = new GameServer$subscribeWith$slambda(this.odm_1, this.pdm_1, completion);
|
|
1435
|
+
i.qdm_1 = $this$launchDefault;
|
|
1436
1436
|
return i;
|
|
1437
1437
|
};
|
|
1438
1438
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1444,18 +1444,18 @@
|
|
|
1444
1444
|
return l;
|
|
1445
1445
|
}
|
|
1446
1446
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
1447
|
-
this.
|
|
1447
|
+
this.zdm_1 = $action;
|
|
1448
1448
|
CoroutineImpl.call(this, resultContinuation);
|
|
1449
1449
|
}
|
|
1450
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
1451
|
-
var tmp = this.
|
|
1450
|
+
protoOf(GameServer$fromClientEvent$slambda).cbb = function ($this$dispatchAsync, store, $completion) {
|
|
1451
|
+
var tmp = this.dbb($this$dispatchAsync, store, $completion);
|
|
1452
1452
|
tmp.l9_1 = Unit_instance;
|
|
1453
1453
|
tmp.m9_1 = null;
|
|
1454
1454
|
return tmp.r9();
|
|
1455
1455
|
};
|
|
1456
1456
|
protoOf(GameServer$fromClientEvent$slambda).ca = function (p1, p2, $completion) {
|
|
1457
1457
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1458
|
-
return this.
|
|
1458
|
+
return this.cbb(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1459
1459
|
};
|
|
1460
1460
|
protoOf(GameServer$fromClientEvent$slambda).r9 = function () {
|
|
1461
1461
|
var suspendResult = this.l9_1;
|
|
@@ -1464,11 +1464,11 @@
|
|
|
1464
1464
|
var tmp = this.j9_1;
|
|
1465
1465
|
if (tmp === 0) {
|
|
1466
1466
|
this.k9_1 = 1;
|
|
1467
|
-
if (this.
|
|
1468
|
-
if (!get_isCreated(this.
|
|
1467
|
+
if (this.zdm_1 instanceof PlayerReadyFromClientAction)
|
|
1468
|
+
if (!get_isCreated(this.bdn_1.state)) {
|
|
1469
1469
|
return Unit_instance;
|
|
1470
1470
|
}
|
|
1471
|
-
this.
|
|
1471
|
+
this.bdn_1.dispatch(this.zdm_1);
|
|
1472
1472
|
return Unit_instance;
|
|
1473
1473
|
} else if (tmp === 1) {
|
|
1474
1474
|
throw this.m9_1;
|
|
@@ -1479,33 +1479,33 @@
|
|
|
1479
1479
|
}
|
|
1480
1480
|
while (true);
|
|
1481
1481
|
};
|
|
1482
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
1483
|
-
var i = new GameServer$fromClientEvent$slambda(this.
|
|
1484
|
-
i.
|
|
1485
|
-
i.
|
|
1482
|
+
protoOf(GameServer$fromClientEvent$slambda).dbb = function ($this$dispatchAsync, store, completion) {
|
|
1483
|
+
var i = new GameServer$fromClientEvent$slambda(this.zdm_1, completion);
|
|
1484
|
+
i.adn_1 = $this$dispatchAsync;
|
|
1485
|
+
i.bdn_1 = store;
|
|
1486
1486
|
return i;
|
|
1487
1487
|
};
|
|
1488
1488
|
function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
|
|
1489
1489
|
var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
|
|
1490
1490
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1491
|
-
return i.
|
|
1491
|
+
return i.cbb($this$dispatchAsync, store, $completion);
|
|
1492
1492
|
};
|
|
1493
1493
|
l.$arity = 2;
|
|
1494
1494
|
return l;
|
|
1495
1495
|
}
|
|
1496
1496
|
function GameServer$playerLostConnection$slambda($playerId, resultContinuation) {
|
|
1497
|
-
this.
|
|
1497
|
+
this.kdn_1 = $playerId;
|
|
1498
1498
|
CoroutineImpl.call(this, resultContinuation);
|
|
1499
1499
|
}
|
|
1500
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
1501
|
-
var tmp = this.
|
|
1500
|
+
protoOf(GameServer$playerLostConnection$slambda).cbb = function ($this$dispatchAsync, store, $completion) {
|
|
1501
|
+
var tmp = this.dbb($this$dispatchAsync, store, $completion);
|
|
1502
1502
|
tmp.l9_1 = Unit_instance;
|
|
1503
1503
|
tmp.m9_1 = null;
|
|
1504
1504
|
return tmp.r9();
|
|
1505
1505
|
};
|
|
1506
1506
|
protoOf(GameServer$playerLostConnection$slambda).ca = function (p1, p2, $completion) {
|
|
1507
1507
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1508
|
-
return this.
|
|
1508
|
+
return this.cbb(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1509
1509
|
};
|
|
1510
1510
|
protoOf(GameServer$playerLostConnection$slambda).r9 = function () {
|
|
1511
1511
|
var suspendResult = this.l9_1;
|
|
@@ -1514,12 +1514,12 @@
|
|
|
1514
1514
|
var tmp = this.j9_1;
|
|
1515
1515
|
if (tmp === 0) {
|
|
1516
1516
|
this.k9_1 = 1;
|
|
1517
|
-
if (!get_isCreated(this.
|
|
1517
|
+
if (!get_isCreated(this.mdn_1.state)) {
|
|
1518
1518
|
return Unit_instance;
|
|
1519
1519
|
}
|
|
1520
|
-
var tmp_0 = this.
|
|
1520
|
+
var tmp_0 = this.mdn_1.dispatch;
|
|
1521
1521
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
1522
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
1522
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.kdn_1));
|
|
1523
1523
|
return Unit_instance;
|
|
1524
1524
|
} else if (tmp === 1) {
|
|
1525
1525
|
throw this.m9_1;
|
|
@@ -1530,34 +1530,34 @@
|
|
|
1530
1530
|
}
|
|
1531
1531
|
while (true);
|
|
1532
1532
|
};
|
|
1533
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
1534
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
1535
|
-
i.
|
|
1536
|
-
i.
|
|
1533
|
+
protoOf(GameServer$playerLostConnection$slambda).dbb = function ($this$dispatchAsync, store, completion) {
|
|
1534
|
+
var i = new GameServer$playerLostConnection$slambda(this.kdn_1, completion);
|
|
1535
|
+
i.ldn_1 = $this$dispatchAsync;
|
|
1536
|
+
i.mdn_1 = store;
|
|
1537
1537
|
return i;
|
|
1538
1538
|
};
|
|
1539
1539
|
function GameServer$playerLostConnection$slambda_0($playerId, resultContinuation) {
|
|
1540
1540
|
var i = new GameServer$playerLostConnection$slambda($playerId, resultContinuation);
|
|
1541
1541
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1542
|
-
return i.
|
|
1542
|
+
return i.cbb($this$dispatchAsync, store, $completion);
|
|
1543
1543
|
};
|
|
1544
1544
|
l.$arity = 2;
|
|
1545
1545
|
return l;
|
|
1546
1546
|
}
|
|
1547
1547
|
function GameServer$playerLive$slambda(this$0, $playerId, resultContinuation) {
|
|
1548
|
-
this.
|
|
1549
|
-
this.
|
|
1548
|
+
this.vdn_1 = this$0;
|
|
1549
|
+
this.wdn_1 = $playerId;
|
|
1550
1550
|
CoroutineImpl.call(this, resultContinuation);
|
|
1551
1551
|
}
|
|
1552
|
-
protoOf(GameServer$playerLive$slambda).
|
|
1553
|
-
var tmp = this.
|
|
1552
|
+
protoOf(GameServer$playerLive$slambda).cbb = function ($this$dispatchAsync, store, $completion) {
|
|
1553
|
+
var tmp = this.dbb($this$dispatchAsync, store, $completion);
|
|
1554
1554
|
tmp.l9_1 = Unit_instance;
|
|
1555
1555
|
tmp.m9_1 = null;
|
|
1556
1556
|
return tmp.r9();
|
|
1557
1557
|
};
|
|
1558
1558
|
protoOf(GameServer$playerLive$slambda).ca = function (p1, p2, $completion) {
|
|
1559
1559
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1560
|
-
return this.
|
|
1560
|
+
return this.cbb(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1561
1561
|
};
|
|
1562
1562
|
protoOf(GameServer$playerLive$slambda).r9 = function () {
|
|
1563
1563
|
var suspendResult = this.l9_1;
|
|
@@ -1566,16 +1566,16 @@
|
|
|
1566
1566
|
var tmp = this.j9_1;
|
|
1567
1567
|
if (tmp === 0) {
|
|
1568
1568
|
this.k9_1 = 1;
|
|
1569
|
-
if (get_isFinished(this.
|
|
1569
|
+
if (get_isFinished(this.ydn_1.state) || get_isFinishing(this.ydn_1.state)) {
|
|
1570
1570
|
return Unit_instance;
|
|
1571
1571
|
}
|
|
1572
|
-
if (!get_isCreated(this.
|
|
1573
|
-
_get_logger__rkp4sl(this.
|
|
1572
|
+
if (!get_isCreated(this.ydn_1.state) || !this.vdn_1.r6f().j6x()) {
|
|
1573
|
+
_get_logger__rkp4sl(this.vdn_1).w('GameEngine_API', 'playerLive: ' + this.wdn_1 + ' before game is created');
|
|
1574
1574
|
return Unit_instance;
|
|
1575
1575
|
}
|
|
1576
|
-
var tmp_0 = this.
|
|
1576
|
+
var tmp_0 = this.ydn_1.dispatch;
|
|
1577
1577
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
1578
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
1578
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.wdn_1));
|
|
1579
1579
|
return Unit_instance;
|
|
1580
1580
|
} else if (tmp === 1) {
|
|
1581
1581
|
throw this.m9_1;
|
|
@@ -1586,34 +1586,34 @@
|
|
|
1586
1586
|
}
|
|
1587
1587
|
while (true);
|
|
1588
1588
|
};
|
|
1589
|
-
protoOf(GameServer$playerLive$slambda).
|
|
1590
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
1591
|
-
i.
|
|
1592
|
-
i.
|
|
1589
|
+
protoOf(GameServer$playerLive$slambda).dbb = function ($this$dispatchAsync, store, completion) {
|
|
1590
|
+
var i = new GameServer$playerLive$slambda(this.vdn_1, this.wdn_1, completion);
|
|
1591
|
+
i.xdn_1 = $this$dispatchAsync;
|
|
1592
|
+
i.ydn_1 = store;
|
|
1593
1593
|
return i;
|
|
1594
1594
|
};
|
|
1595
1595
|
function GameServer$playerLive$slambda_0(this$0, $playerId, resultContinuation) {
|
|
1596
1596
|
var i = new GameServer$playerLive$slambda(this$0, $playerId, resultContinuation);
|
|
1597
1597
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1598
|
-
return i.
|
|
1598
|
+
return i.cbb($this$dispatchAsync, store, $completion);
|
|
1599
1599
|
};
|
|
1600
1600
|
l.$arity = 2;
|
|
1601
1601
|
return l;
|
|
1602
1602
|
}
|
|
1603
1603
|
function GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation) {
|
|
1604
|
-
this.
|
|
1605
|
-
this.
|
|
1604
|
+
this.hdo_1 = this$0;
|
|
1605
|
+
this.ido_1 = $playerId;
|
|
1606
1606
|
CoroutineImpl.call(this, resultContinuation);
|
|
1607
1607
|
}
|
|
1608
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
1609
|
-
var tmp = this.
|
|
1608
|
+
protoOf(GameServer$playerLeft$slambda).cbb = function ($this$dispatchAsync, store, $completion) {
|
|
1609
|
+
var tmp = this.dbb($this$dispatchAsync, store, $completion);
|
|
1610
1610
|
tmp.l9_1 = Unit_instance;
|
|
1611
1611
|
tmp.m9_1 = null;
|
|
1612
1612
|
return tmp.r9();
|
|
1613
1613
|
};
|
|
1614
1614
|
protoOf(GameServer$playerLeft$slambda).ca = function (p1, p2, $completion) {
|
|
1615
1615
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1616
|
-
return this.
|
|
1616
|
+
return this.cbb(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1617
1617
|
};
|
|
1618
1618
|
protoOf(GameServer$playerLeft$slambda).r9 = function () {
|
|
1619
1619
|
var suspendResult = this.l9_1;
|
|
@@ -1622,16 +1622,16 @@
|
|
|
1622
1622
|
var tmp = this.j9_1;
|
|
1623
1623
|
if (tmp === 0) {
|
|
1624
1624
|
this.k9_1 = 1;
|
|
1625
|
-
if (get_isFinished(this.
|
|
1625
|
+
if (get_isFinished(this.kdo_1.state) || get_isFinishing(this.kdo_1.state)) {
|
|
1626
1626
|
return Unit_instance;
|
|
1627
1627
|
}
|
|
1628
|
-
if (!get_isCreated(this.
|
|
1629
|
-
_get_logger__rkp4sl(this.
|
|
1628
|
+
if (!get_isCreated(this.kdo_1.state) || !this.hdo_1.r6f().j6x()) {
|
|
1629
|
+
_get_logger__rkp4sl(this.hdo_1).w('GameEngine_API', 'playerLeft: ' + this.ido_1 + ' before game is created');
|
|
1630
1630
|
return Unit_instance;
|
|
1631
1631
|
}
|
|
1632
|
-
var tmp_0 = this.
|
|
1632
|
+
var tmp_0 = this.kdo_1.dispatch;
|
|
1633
1633
|
var tmp0_connectionState = PlayerConnectionState_LEFT_getInstance();
|
|
1634
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
1634
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.ido_1));
|
|
1635
1635
|
return Unit_instance;
|
|
1636
1636
|
} else if (tmp === 1) {
|
|
1637
1637
|
throw this.m9_1;
|
|
@@ -1642,39 +1642,39 @@
|
|
|
1642
1642
|
}
|
|
1643
1643
|
while (true);
|
|
1644
1644
|
};
|
|
1645
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
1646
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
1647
|
-
i.
|
|
1648
|
-
i.
|
|
1645
|
+
protoOf(GameServer$playerLeft$slambda).dbb = function ($this$dispatchAsync, store, completion) {
|
|
1646
|
+
var i = new GameServer$playerLeft$slambda(this.hdo_1, this.ido_1, completion);
|
|
1647
|
+
i.jdo_1 = $this$dispatchAsync;
|
|
1648
|
+
i.kdo_1 = store;
|
|
1649
1649
|
return i;
|
|
1650
1650
|
};
|
|
1651
1651
|
function GameServer$playerLeft$slambda_0(this$0, $playerId, resultContinuation) {
|
|
1652
1652
|
var i = new GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation);
|
|
1653
1653
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1654
|
-
return i.
|
|
1654
|
+
return i.cbb($this$dispatchAsync, store, $completion);
|
|
1655
1655
|
};
|
|
1656
1656
|
l.$arity = 2;
|
|
1657
1657
|
return l;
|
|
1658
1658
|
}
|
|
1659
1659
|
function GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
1660
|
-
this.
|
|
1661
|
-
this.
|
|
1662
|
-
this.
|
|
1663
|
-
this.
|
|
1664
|
-
this.
|
|
1665
|
-
this.
|
|
1666
|
-
this.
|
|
1660
|
+
this.tdo_1 = $usersArray;
|
|
1661
|
+
this.udo_1 = $config;
|
|
1662
|
+
this.vdo_1 = this$0;
|
|
1663
|
+
this.wdo_1 = $roomId;
|
|
1664
|
+
this.xdo_1 = $transition;
|
|
1665
|
+
this.ydo_1 = $gameCreatorId;
|
|
1666
|
+
this.zdo_1 = $spectators;
|
|
1667
1667
|
CoroutineImpl.call(this, resultContinuation);
|
|
1668
1668
|
}
|
|
1669
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
1670
|
-
var tmp = this.
|
|
1669
|
+
protoOf(GameServer$roomOnCreate$slambda).cbb = function ($this$dispatchAsync, store, $completion) {
|
|
1670
|
+
var tmp = this.dbb($this$dispatchAsync, store, $completion);
|
|
1671
1671
|
tmp.l9_1 = Unit_instance;
|
|
1672
1672
|
tmp.m9_1 = null;
|
|
1673
1673
|
return tmp.r9();
|
|
1674
1674
|
};
|
|
1675
1675
|
protoOf(GameServer$roomOnCreate$slambda).ca = function (p1, p2, $completion) {
|
|
1676
1676
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1677
|
-
return this.
|
|
1677
|
+
return this.cbb(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1678
1678
|
};
|
|
1679
1679
|
protoOf(GameServer$roomOnCreate$slambda).r9 = function () {
|
|
1680
1680
|
var suspendResult = this.l9_1;
|
|
@@ -1683,28 +1683,28 @@
|
|
|
1683
1683
|
var tmp = this.j9_1;
|
|
1684
1684
|
if (tmp === 0) {
|
|
1685
1685
|
this.k9_1 = 1;
|
|
1686
|
-
var users = toList(this.
|
|
1687
|
-
if (!(this.
|
|
1688
|
-
_get_logger__rkp4sl(this.
|
|
1689
|
-
this.
|
|
1686
|
+
var users = toList(this.tdo_1);
|
|
1687
|
+
if (!(this.udo_1.playersMode.count === users.m())) {
|
|
1688
|
+
_get_logger__rkp4sl(this.vdo_1).w('GameEngine_API', 'roomOnCreate: wrong player count for game ' + this.wdo_1 + ', config = ' + this.udo_1.toString() + ', users = ' + toString(users));
|
|
1689
|
+
this.bdp_1.dispatch(Companion_instance.fromTableWithAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.vdo_1.table.isGameFinished, this.vdo_1.table));
|
|
1690
1690
|
return Unit_instance;
|
|
1691
1691
|
}
|
|
1692
1692
|
var tmp_0;
|
|
1693
|
-
if (this.
|
|
1694
|
-
tmp_0 = _get_random__h29cgo(this.
|
|
1693
|
+
if (this.udo_1.mode.shufflePlayers && this.xdo_1 == null) {
|
|
1694
|
+
tmp_0 = _get_random__h29cgo(this.vdo_1).k60(toMutableList(users));
|
|
1695
1695
|
} else {
|
|
1696
|
-
var tmp0_safe_receiver = this.
|
|
1696
|
+
var tmp0_safe_receiver = this.xdo_1;
|
|
1697
1697
|
var previousPlayers = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.previousPlayers;
|
|
1698
1698
|
var tmp_1;
|
|
1699
|
-
if (!(previousPlayers == null) && this.
|
|
1700
|
-
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.
|
|
1699
|
+
if (!(previousPlayers == null) && this.udo_1.playersMode.isTeamGame) {
|
|
1700
|
+
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.vdo_1);
|
|
1701
1701
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(previousPlayers, 10));
|
|
1702
1702
|
var tmp0_iterator = previousPlayers.j();
|
|
1703
1703
|
while (tmp0_iterator.k()) {
|
|
1704
1704
|
var item = tmp0_iterator.l();
|
|
1705
1705
|
destination.e(new GameServer$roomOnCreate$1$updatedUsers$previousTeams$1(item));
|
|
1706
1706
|
}
|
|
1707
|
-
var previousTeams = tmp_2.
|
|
1707
|
+
var previousTeams = tmp_2.k92(destination);
|
|
1708
1708
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
1709
1709
|
var tmp0_iterator_0 = users.j();
|
|
1710
1710
|
while (tmp0_iterator_0.k()) {
|
|
@@ -1728,19 +1728,19 @@
|
|
|
1728
1728
|
destination_1.e(destination_2);
|
|
1729
1729
|
}
|
|
1730
1730
|
var updatedTeams = destination_1;
|
|
1731
|
-
tmp_1 = _get_teamsLogicProvider__u10pm6(this.
|
|
1731
|
+
tmp_1 = _get_teamsLogicProvider__u10pm6(this.vdo_1).o92(updatedTeams);
|
|
1732
1732
|
} else {
|
|
1733
1733
|
tmp_1 = users;
|
|
1734
1734
|
}
|
|
1735
1735
|
tmp_0 = tmp_1;
|
|
1736
1736
|
}
|
|
1737
1737
|
var updatedUsers = tmp_0;
|
|
1738
|
-
var gameCreatorUser = getPlayer(users, this.
|
|
1739
|
-
var tmp_3 = this.
|
|
1738
|
+
var gameCreatorUser = getPlayer(users, this.ydo_1);
|
|
1739
|
+
var tmp_3 = this.bdp_1.dispatch;
|
|
1740
1740
|
var tmp1_version = get_versionOrDefault(GameEngineConfig_instance);
|
|
1741
1741
|
var tmp2_users = sortWithItem(updatedUsers, gameCreatorUser);
|
|
1742
|
-
var tmp3_spectators = toList(this.
|
|
1743
|
-
tmp_3(new StartGameMechanicAction(this.
|
|
1742
|
+
var tmp3_spectators = toList(this.zdo_1);
|
|
1743
|
+
tmp_3(new StartGameMechanicAction(this.udo_1, this.wdo_1, tmp1_version, this.ydo_1, tmp2_users, VOID, tmp3_spectators));
|
|
1744
1744
|
return Unit_instance;
|
|
1745
1745
|
} else if (tmp === 1) {
|
|
1746
1746
|
throw this.m9_1;
|
|
@@ -1751,33 +1751,33 @@
|
|
|
1751
1751
|
}
|
|
1752
1752
|
while (true);
|
|
1753
1753
|
};
|
|
1754
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
1755
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
1756
|
-
i.
|
|
1757
|
-
i.
|
|
1754
|
+
protoOf(GameServer$roomOnCreate$slambda).dbb = function ($this$dispatchAsync, store, completion) {
|
|
1755
|
+
var i = new GameServer$roomOnCreate$slambda(this.tdo_1, this.udo_1, this.vdo_1, this.wdo_1, this.xdo_1, this.ydo_1, this.zdo_1, completion);
|
|
1756
|
+
i.adp_1 = $this$dispatchAsync;
|
|
1757
|
+
i.bdp_1 = store;
|
|
1758
1758
|
return i;
|
|
1759
1759
|
};
|
|
1760
1760
|
function GameServer$roomOnCreate$slambda_0($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
1761
1761
|
var i = new GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation);
|
|
1762
1762
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1763
|
-
return i.
|
|
1763
|
+
return i.cbb($this$dispatchAsync, store, $completion);
|
|
1764
1764
|
};
|
|
1765
1765
|
l.$arity = 2;
|
|
1766
1766
|
return l;
|
|
1767
1767
|
}
|
|
1768
1768
|
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
1769
|
-
this.
|
|
1769
|
+
this.kdp_1 = $state;
|
|
1770
1770
|
CoroutineImpl.call(this, resultContinuation);
|
|
1771
1771
|
}
|
|
1772
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
1773
|
-
var tmp = this.
|
|
1772
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).cbb = function ($this$dispatchAsync, store, $completion) {
|
|
1773
|
+
var tmp = this.dbb($this$dispatchAsync, store, $completion);
|
|
1774
1774
|
tmp.l9_1 = Unit_instance;
|
|
1775
1775
|
tmp.m9_1 = null;
|
|
1776
1776
|
return tmp.r9();
|
|
1777
1777
|
};
|
|
1778
1778
|
protoOf(GameServer$roomOnContinueFromState$slambda).ca = function (p1, p2, $completion) {
|
|
1779
1779
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1780
|
-
return this.
|
|
1780
|
+
return this.cbb(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1781
1781
|
};
|
|
1782
1782
|
protoOf(GameServer$roomOnContinueFromState$slambda).r9 = function () {
|
|
1783
1783
|
var suspendResult = this.l9_1;
|
|
@@ -1786,9 +1786,9 @@
|
|
|
1786
1786
|
var tmp = this.j9_1;
|
|
1787
1787
|
if (tmp === 0) {
|
|
1788
1788
|
this.k9_1 = 1;
|
|
1789
|
-
var tmp_0 = this.
|
|
1789
|
+
var tmp_0 = this.mdp_1.dispatch;
|
|
1790
1790
|
var tmp0_reason = new RestartRoundReason(null);
|
|
1791
|
-
var tmp1_table = this.
|
|
1791
|
+
var tmp1_table = this.kdp_1.table;
|
|
1792
1792
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
1793
1793
|
return Unit_instance;
|
|
1794
1794
|
} else if (tmp === 1) {
|
|
@@ -1800,33 +1800,33 @@
|
|
|
1800
1800
|
}
|
|
1801
1801
|
while (true);
|
|
1802
1802
|
};
|
|
1803
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
1804
|
-
var i = new GameServer$roomOnContinueFromState$slambda(this.
|
|
1805
|
-
i.
|
|
1806
|
-
i.
|
|
1803
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).dbb = function ($this$dispatchAsync, store, completion) {
|
|
1804
|
+
var i = new GameServer$roomOnContinueFromState$slambda(this.kdp_1, completion);
|
|
1805
|
+
i.ldp_1 = $this$dispatchAsync;
|
|
1806
|
+
i.mdp_1 = store;
|
|
1807
1807
|
return i;
|
|
1808
1808
|
};
|
|
1809
1809
|
function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
|
|
1810
1810
|
var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
|
|
1811
1811
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1812
|
-
return i.
|
|
1812
|
+
return i.cbb($this$dispatchAsync, store, $completion);
|
|
1813
1813
|
};
|
|
1814
1814
|
l.$arity = 2;
|
|
1815
1815
|
return l;
|
|
1816
1816
|
}
|
|
1817
1817
|
function GameServer$roomOnContinueFromState$slambda_1($state, resultContinuation) {
|
|
1818
|
-
this.
|
|
1818
|
+
this.vdp_1 = $state;
|
|
1819
1819
|
CoroutineImpl.call(this, resultContinuation);
|
|
1820
1820
|
}
|
|
1821
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
1822
|
-
var tmp = this.
|
|
1821
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).cbb = function ($this$dispatchAsync, store, $completion) {
|
|
1822
|
+
var tmp = this.dbb($this$dispatchAsync, store, $completion);
|
|
1823
1823
|
tmp.l9_1 = Unit_instance;
|
|
1824
1824
|
tmp.m9_1 = null;
|
|
1825
1825
|
return tmp.r9();
|
|
1826
1826
|
};
|
|
1827
1827
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).ca = function (p1, p2, $completion) {
|
|
1828
1828
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1829
|
-
return this.
|
|
1829
|
+
return this.cbb(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1830
1830
|
};
|
|
1831
1831
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).r9 = function () {
|
|
1832
1832
|
var suspendResult = this.l9_1;
|
|
@@ -1835,10 +1835,10 @@
|
|
|
1835
1835
|
var tmp = this.j9_1;
|
|
1836
1836
|
if (tmp === 0) {
|
|
1837
1837
|
this.k9_1 = 1;
|
|
1838
|
-
var tmp0_iterator = this.
|
|
1838
|
+
var tmp0_iterator = this.vdp_1.actions.j();
|
|
1839
1839
|
while (tmp0_iterator.k()) {
|
|
1840
1840
|
var element = tmp0_iterator.l();
|
|
1841
|
-
this.
|
|
1841
|
+
this.xdp_1.dispatch(element);
|
|
1842
1842
|
}
|
|
1843
1843
|
return Unit_instance;
|
|
1844
1844
|
} else if (tmp === 1) {
|
|
@@ -1850,35 +1850,35 @@
|
|
|
1850
1850
|
}
|
|
1851
1851
|
while (true);
|
|
1852
1852
|
};
|
|
1853
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
1854
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1(this.
|
|
1855
|
-
i.
|
|
1856
|
-
i.
|
|
1853
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).dbb = function ($this$dispatchAsync, store, completion) {
|
|
1854
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1(this.vdp_1, completion);
|
|
1855
|
+
i.wdp_1 = $this$dispatchAsync;
|
|
1856
|
+
i.xdp_1 = store;
|
|
1857
1857
|
return i;
|
|
1858
1858
|
};
|
|
1859
1859
|
function GameServer$roomOnContinueFromState$slambda_2($state, resultContinuation) {
|
|
1860
1860
|
var i = new GameServer$roomOnContinueFromState$slambda_1($state, resultContinuation);
|
|
1861
1861
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1862
|
-
return i.
|
|
1862
|
+
return i.cbb($this$dispatchAsync, store, $completion);
|
|
1863
1863
|
};
|
|
1864
1864
|
l.$arity = 2;
|
|
1865
1865
|
return l;
|
|
1866
1866
|
}
|
|
1867
1867
|
function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation) {
|
|
1868
|
-
this.
|
|
1869
|
-
this.
|
|
1870
|
-
this.
|
|
1868
|
+
this.gdq_1 = $tableLite;
|
|
1869
|
+
this.hdq_1 = $roomId;
|
|
1870
|
+
this.idq_1 = this$0;
|
|
1871
1871
|
CoroutineImpl.call(this, resultContinuation);
|
|
1872
1872
|
}
|
|
1873
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
1874
|
-
var tmp = this.
|
|
1873
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).cbb = function ($this$dispatchAsync, store, $completion) {
|
|
1874
|
+
var tmp = this.dbb($this$dispatchAsync, store, $completion);
|
|
1875
1875
|
tmp.l9_1 = Unit_instance;
|
|
1876
1876
|
tmp.m9_1 = null;
|
|
1877
1877
|
return tmp.r9();
|
|
1878
1878
|
};
|
|
1879
1879
|
protoOf(GameServer$roomOnContinueFromRound$slambda).ca = function (p1, p2, $completion) {
|
|
1880
1880
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1881
|
-
return this.
|
|
1881
|
+
return this.cbb(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1882
1882
|
};
|
|
1883
1883
|
protoOf(GameServer$roomOnContinueFromRound$slambda).r9 = function () {
|
|
1884
1884
|
var suspendResult = this.l9_1;
|
|
@@ -1887,9 +1887,9 @@
|
|
|
1887
1887
|
var tmp = this.j9_1;
|
|
1888
1888
|
if (tmp === 0) {
|
|
1889
1889
|
this.k9_1 = 1;
|
|
1890
|
-
var tmp_0 = this.
|
|
1891
|
-
var tmp0_reason = new RestartRoundReason(this.
|
|
1892
|
-
var tmp1_table = Companion_instance_0.restartRound(this.
|
|
1890
|
+
var tmp_0 = this.kdq_1.dispatch;
|
|
1891
|
+
var tmp0_reason = new RestartRoundReason(this.gdq_1.gameInfo.round.roundNumber);
|
|
1892
|
+
var tmp1_table = Companion_instance_0.restartRound(this.hdq_1, _get_idsProvider__fnfajc(this.idq_1).q6m(), get_versionOrDefault(GameEngineConfig_instance), this.gdq_1);
|
|
1893
1893
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
1894
1894
|
return Unit_instance;
|
|
1895
1895
|
} else if (tmp === 1) {
|
|
@@ -1901,16 +1901,16 @@
|
|
|
1901
1901
|
}
|
|
1902
1902
|
while (true);
|
|
1903
1903
|
};
|
|
1904
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
1905
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
1906
|
-
i.
|
|
1907
|
-
i.
|
|
1904
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).dbb = function ($this$dispatchAsync, store, completion) {
|
|
1905
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.gdq_1, this.hdq_1, this.idq_1, completion);
|
|
1906
|
+
i.jdq_1 = $this$dispatchAsync;
|
|
1907
|
+
i.kdq_1 = store;
|
|
1908
1908
|
return i;
|
|
1909
1909
|
};
|
|
1910
1910
|
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, resultContinuation) {
|
|
1911
1911
|
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation);
|
|
1912
1912
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1913
|
-
return i.
|
|
1913
|
+
return i.cbb($this$dispatchAsync, store, $completion);
|
|
1914
1914
|
};
|
|
1915
1915
|
l.$arity = 2;
|
|
1916
1916
|
return l;
|
|
@@ -1918,15 +1918,15 @@
|
|
|
1918
1918
|
function GameServer$roomOnContinueFromRound$slambda_1(resultContinuation) {
|
|
1919
1919
|
CoroutineImpl.call(this, resultContinuation);
|
|
1920
1920
|
}
|
|
1921
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
1922
|
-
var tmp = this.
|
|
1921
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).cbb = function ($this$dispatchAsync, store, $completion) {
|
|
1922
|
+
var tmp = this.dbb($this$dispatchAsync, store, $completion);
|
|
1923
1923
|
tmp.l9_1 = Unit_instance;
|
|
1924
1924
|
tmp.m9_1 = null;
|
|
1925
1925
|
return tmp.r9();
|
|
1926
1926
|
};
|
|
1927
1927
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).ca = function (p1, p2, $completion) {
|
|
1928
1928
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1929
|
-
return this.
|
|
1929
|
+
return this.cbb(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1930
1930
|
};
|
|
1931
1931
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).r9 = function () {
|
|
1932
1932
|
var suspendResult = this.l9_1;
|
|
@@ -1935,7 +1935,7 @@
|
|
|
1935
1935
|
var tmp = this.j9_1;
|
|
1936
1936
|
if (tmp === 0) {
|
|
1937
1937
|
this.k9_1 = 1;
|
|
1938
|
-
this.
|
|
1938
|
+
this.udq_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
1939
1939
|
return Unit_instance;
|
|
1940
1940
|
} else if (tmp === 1) {
|
|
1941
1941
|
throw this.m9_1;
|
|
@@ -1946,33 +1946,33 @@
|
|
|
1946
1946
|
}
|
|
1947
1947
|
while (true);
|
|
1948
1948
|
};
|
|
1949
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
1949
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).dbb = function ($this$dispatchAsync, store, completion) {
|
|
1950
1950
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
1951
|
-
i.
|
|
1952
|
-
i.
|
|
1951
|
+
i.tdq_1 = $this$dispatchAsync;
|
|
1952
|
+
i.udq_1 = store;
|
|
1953
1953
|
return i;
|
|
1954
1954
|
};
|
|
1955
1955
|
function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
|
|
1956
1956
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(resultContinuation);
|
|
1957
1957
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1958
|
-
return i.
|
|
1958
|
+
return i.cbb($this$dispatchAsync, store, $completion);
|
|
1959
1959
|
};
|
|
1960
1960
|
l.$arity = 2;
|
|
1961
1961
|
return l;
|
|
1962
1962
|
}
|
|
1963
1963
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
1964
|
-
this.
|
|
1964
|
+
this.ddr_1 = $spectators;
|
|
1965
1965
|
CoroutineImpl.call(this, resultContinuation);
|
|
1966
1966
|
}
|
|
1967
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
1968
|
-
var tmp = this.
|
|
1967
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).cbb = function ($this$dispatchAsync, store, $completion) {
|
|
1968
|
+
var tmp = this.dbb($this$dispatchAsync, store, $completion);
|
|
1969
1969
|
tmp.l9_1 = Unit_instance;
|
|
1970
1970
|
tmp.m9_1 = null;
|
|
1971
1971
|
return tmp.r9();
|
|
1972
1972
|
};
|
|
1973
1973
|
protoOf(GameServer$addSpectatorsToRoom$slambda).ca = function (p1, p2, $completion) {
|
|
1974
1974
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1975
|
-
return this.
|
|
1975
|
+
return this.cbb(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1976
1976
|
};
|
|
1977
1977
|
protoOf(GameServer$addSpectatorsToRoom$slambda).r9 = function () {
|
|
1978
1978
|
var suspendResult = this.l9_1;
|
|
@@ -1981,7 +1981,7 @@
|
|
|
1981
1981
|
var tmp = this.j9_1;
|
|
1982
1982
|
if (tmp === 0) {
|
|
1983
1983
|
this.k9_1 = 1;
|
|
1984
|
-
this.
|
|
1984
|
+
this.fdr_1.dispatch(new AddSpectatorsAction(toList(this.ddr_1)));
|
|
1985
1985
|
return Unit_instance;
|
|
1986
1986
|
} else if (tmp === 1) {
|
|
1987
1987
|
throw this.m9_1;
|
|
@@ -1992,33 +1992,33 @@
|
|
|
1992
1992
|
}
|
|
1993
1993
|
while (true);
|
|
1994
1994
|
};
|
|
1995
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
1996
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
1997
|
-
i.
|
|
1998
|
-
i.
|
|
1995
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).dbb = function ($this$dispatchAsync, store, completion) {
|
|
1996
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.ddr_1, completion);
|
|
1997
|
+
i.edr_1 = $this$dispatchAsync;
|
|
1998
|
+
i.fdr_1 = store;
|
|
1999
1999
|
return i;
|
|
2000
2000
|
};
|
|
2001
2001
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
2002
2002
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
2003
2003
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2004
|
-
return i.
|
|
2004
|
+
return i.cbb($this$dispatchAsync, store, $completion);
|
|
2005
2005
|
};
|
|
2006
2006
|
l.$arity = 2;
|
|
2007
2007
|
return l;
|
|
2008
2008
|
}
|
|
2009
2009
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
2010
|
-
this.
|
|
2010
|
+
this.odr_1 = $spectators;
|
|
2011
2011
|
CoroutineImpl.call(this, resultContinuation);
|
|
2012
2012
|
}
|
|
2013
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2014
|
-
var tmp = this.
|
|
2013
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).cbb = function ($this$dispatchAsync, store, $completion) {
|
|
2014
|
+
var tmp = this.dbb($this$dispatchAsync, store, $completion);
|
|
2015
2015
|
tmp.l9_1 = Unit_instance;
|
|
2016
2016
|
tmp.m9_1 = null;
|
|
2017
2017
|
return tmp.r9();
|
|
2018
2018
|
};
|
|
2019
2019
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).ca = function (p1, p2, $completion) {
|
|
2020
2020
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2021
|
-
return this.
|
|
2021
|
+
return this.cbb(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2022
2022
|
};
|
|
2023
2023
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).r9 = function () {
|
|
2024
2024
|
var suspendResult = this.l9_1;
|
|
@@ -2027,7 +2027,7 @@
|
|
|
2027
2027
|
var tmp = this.j9_1;
|
|
2028
2028
|
if (tmp === 0) {
|
|
2029
2029
|
this.k9_1 = 1;
|
|
2030
|
-
this.
|
|
2030
|
+
this.qdr_1.dispatch(new RemoveSpectatorsAction(toList(this.odr_1)));
|
|
2031
2031
|
return Unit_instance;
|
|
2032
2032
|
} else if (tmp === 1) {
|
|
2033
2033
|
throw this.m9_1;
|
|
@@ -2038,34 +2038,34 @@
|
|
|
2038
2038
|
}
|
|
2039
2039
|
while (true);
|
|
2040
2040
|
};
|
|
2041
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2042
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
2043
|
-
i.
|
|
2044
|
-
i.
|
|
2041
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).dbb = function ($this$dispatchAsync, store, completion) {
|
|
2042
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.odr_1, completion);
|
|
2043
|
+
i.pdr_1 = $this$dispatchAsync;
|
|
2044
|
+
i.qdr_1 = store;
|
|
2045
2045
|
return i;
|
|
2046
2046
|
};
|
|
2047
2047
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
2048
2048
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
2049
2049
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2050
|
-
return i.
|
|
2050
|
+
return i.cbb($this$dispatchAsync, store, $completion);
|
|
2051
2051
|
};
|
|
2052
2052
|
l.$arity = 2;
|
|
2053
2053
|
return l;
|
|
2054
2054
|
}
|
|
2055
2055
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
2056
|
-
this.
|
|
2057
|
-
this.
|
|
2056
|
+
this.zdr_1 = $playerId;
|
|
2057
|
+
this.ads_1 = this$0;
|
|
2058
2058
|
CoroutineImpl.call(this, resultContinuation);
|
|
2059
2059
|
}
|
|
2060
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2061
|
-
var tmp = this.
|
|
2060
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).cbb = function ($this$dispatchAsync, store, $completion) {
|
|
2061
|
+
var tmp = this.dbb($this$dispatchAsync, store, $completion);
|
|
2062
2062
|
tmp.l9_1 = Unit_instance;
|
|
2063
2063
|
tmp.m9_1 = null;
|
|
2064
2064
|
return tmp.r9();
|
|
2065
2065
|
};
|
|
2066
2066
|
protoOf(GameServer$roomRefreshPlayerState$slambda).ca = function (p1, p2, $completion) {
|
|
2067
2067
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2068
|
-
return this.
|
|
2068
|
+
return this.cbb(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2069
2069
|
};
|
|
2070
2070
|
protoOf(GameServer$roomRefreshPlayerState$slambda).r9 = function () {
|
|
2071
2071
|
var suspendResult = this.l9_1;
|
|
@@ -2074,14 +2074,14 @@
|
|
|
2074
2074
|
var tmp = this.j9_1;
|
|
2075
2075
|
if (tmp === 0) {
|
|
2076
2076
|
this.k9_1 = 1;
|
|
2077
|
-
var table = this.
|
|
2078
|
-
var player = getPlayer(table.players, this.
|
|
2077
|
+
var table = this.cds_1.state.i6x();
|
|
2078
|
+
var player = getPlayer(table.players, this.zdr_1);
|
|
2079
2079
|
if (player.g74_1.u6h().l6g_1.isLive) {
|
|
2080
|
-
this.
|
|
2080
|
+
this.cds_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.ads_1).q99(player, table));
|
|
2081
2081
|
} else {
|
|
2082
|
-
var tmp_0 = this.
|
|
2082
|
+
var tmp_0 = this.cds_1.dispatch;
|
|
2083
2083
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2084
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2084
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.zdr_1));
|
|
2085
2085
|
}
|
|
2086
2086
|
return Unit_instance;
|
|
2087
2087
|
} else if (tmp === 1) {
|
|
@@ -2093,34 +2093,34 @@
|
|
|
2093
2093
|
}
|
|
2094
2094
|
while (true);
|
|
2095
2095
|
};
|
|
2096
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2097
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
2098
|
-
i.
|
|
2099
|
-
i.
|
|
2096
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).dbb = function ($this$dispatchAsync, store, completion) {
|
|
2097
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.zdr_1, this.ads_1, completion);
|
|
2098
|
+
i.bds_1 = $this$dispatchAsync;
|
|
2099
|
+
i.cds_1 = store;
|
|
2100
2100
|
return i;
|
|
2101
2101
|
};
|
|
2102
2102
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
2103
2103
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
2104
2104
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2105
|
-
return i.
|
|
2105
|
+
return i.cbb($this$dispatchAsync, store, $completion);
|
|
2106
2106
|
};
|
|
2107
2107
|
l.$arity = 2;
|
|
2108
2108
|
return l;
|
|
2109
2109
|
}
|
|
2110
2110
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
2111
|
-
this.
|
|
2112
|
-
this.
|
|
2111
|
+
this.lds_1 = this$0;
|
|
2112
|
+
this.mds_1 = $newRid;
|
|
2113
2113
|
CoroutineImpl.call(this, resultContinuation);
|
|
2114
2114
|
}
|
|
2115
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2116
|
-
var tmp = this.
|
|
2115
|
+
protoOf(GameServer$roomOnDelete$slambda).cbb = function ($this$dispatchAsync, store, $completion) {
|
|
2116
|
+
var tmp = this.dbb($this$dispatchAsync, store, $completion);
|
|
2117
2117
|
tmp.l9_1 = Unit_instance;
|
|
2118
2118
|
tmp.m9_1 = null;
|
|
2119
2119
|
return tmp.r9();
|
|
2120
2120
|
};
|
|
2121
2121
|
protoOf(GameServer$roomOnDelete$slambda).ca = function (p1, p2, $completion) {
|
|
2122
2122
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2123
|
-
return this.
|
|
2123
|
+
return this.cbb(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2124
2124
|
};
|
|
2125
2125
|
protoOf(GameServer$roomOnDelete$slambda).r9 = function () {
|
|
2126
2126
|
var suspendResult = this.l9_1;
|
|
@@ -2129,27 +2129,27 @@
|
|
|
2129
2129
|
var tmp = this.j9_1;
|
|
2130
2130
|
if (tmp === 0) {
|
|
2131
2131
|
this.k9_1 = 1;
|
|
2132
|
-
var it = this.
|
|
2132
|
+
var it = this.lds_1.r6f().u6w_1;
|
|
2133
2133
|
var tmp_0;
|
|
2134
2134
|
if (it == null) {
|
|
2135
|
-
_get_logger__rkp4sl(this.
|
|
2135
|
+
_get_logger__rkp4sl(this.lds_1).w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
2136
2136
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
2137
2137
|
} else {
|
|
2138
2138
|
tmp_0 = it;
|
|
2139
2139
|
}
|
|
2140
2140
|
var terminationState = tmp_0;
|
|
2141
|
-
var gameTransition = terminationState.
|
|
2141
|
+
var gameTransition = terminationState.j8e_1;
|
|
2142
2142
|
var tmp_1;
|
|
2143
2143
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
2144
|
-
var tmp0_elvis_lhs = this.
|
|
2144
|
+
var tmp0_elvis_lhs = this.mds_1;
|
|
2145
2145
|
tmp_1 = gameTransition.copy(tmp0_elvis_lhs == null ? gameTransition.roomId : tmp0_elvis_lhs);
|
|
2146
2146
|
} else {
|
|
2147
2147
|
tmp_1 = gameTransition;
|
|
2148
2148
|
}
|
|
2149
2149
|
var transition = tmp_1;
|
|
2150
|
-
var tmp_2 = this.
|
|
2151
|
-
var tmp0_reason = terminationState.
|
|
2152
|
-
var tmp1_isGameFinished = this.
|
|
2150
|
+
var tmp_2 = this.ods_1.dispatch;
|
|
2151
|
+
var tmp0_reason = terminationState.i8e_1;
|
|
2152
|
+
var tmp1_isGameFinished = this.lds_1.r6f().i6x().isGameFinished;
|
|
2153
2153
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
2154
2154
|
return Unit_instance;
|
|
2155
2155
|
} else if (tmp === 1) {
|
|
@@ -2161,33 +2161,33 @@
|
|
|
2161
2161
|
}
|
|
2162
2162
|
while (true);
|
|
2163
2163
|
};
|
|
2164
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2165
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
2166
|
-
i.
|
|
2167
|
-
i.
|
|
2164
|
+
protoOf(GameServer$roomOnDelete$slambda).dbb = function ($this$dispatchAsync, store, completion) {
|
|
2165
|
+
var i = new GameServer$roomOnDelete$slambda(this.lds_1, this.mds_1, completion);
|
|
2166
|
+
i.nds_1 = $this$dispatchAsync;
|
|
2167
|
+
i.ods_1 = store;
|
|
2168
2168
|
return i;
|
|
2169
2169
|
};
|
|
2170
2170
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
2171
2171
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
2172
2172
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2173
|
-
return i.
|
|
2173
|
+
return i.cbb($this$dispatchAsync, store, $completion);
|
|
2174
2174
|
};
|
|
2175
2175
|
l.$arity = 2;
|
|
2176
2176
|
return l;
|
|
2177
2177
|
}
|
|
2178
2178
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
2179
|
-
this.
|
|
2179
|
+
this.xds_1 = $enabled;
|
|
2180
2180
|
CoroutineImpl.call(this, resultContinuation);
|
|
2181
2181
|
}
|
|
2182
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2183
|
-
var tmp = this.
|
|
2182
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).cbb = function ($this$dispatchAsync, store, $completion) {
|
|
2183
|
+
var tmp = this.dbb($this$dispatchAsync, store, $completion);
|
|
2184
2184
|
tmp.l9_1 = Unit_instance;
|
|
2185
2185
|
tmp.m9_1 = null;
|
|
2186
2186
|
return tmp.r9();
|
|
2187
2187
|
};
|
|
2188
2188
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).ca = function (p1, p2, $completion) {
|
|
2189
2189
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2190
|
-
return this.
|
|
2190
|
+
return this.cbb(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2191
2191
|
};
|
|
2192
2192
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).r9 = function () {
|
|
2193
2193
|
var suspendResult = this.l9_1;
|
|
@@ -2196,7 +2196,7 @@
|
|
|
2196
2196
|
var tmp = this.j9_1;
|
|
2197
2197
|
if (tmp === 0) {
|
|
2198
2198
|
this.k9_1 = 1;
|
|
2199
|
-
this.
|
|
2199
|
+
this.zds_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload(this.zds_1.state).config.copy(VOID, this.xds_1)));
|
|
2200
2200
|
return Unit_instance;
|
|
2201
2201
|
} else if (tmp === 1) {
|
|
2202
2202
|
throw this.m9_1;
|
|
@@ -2207,35 +2207,35 @@
|
|
|
2207
2207
|
}
|
|
2208
2208
|
while (true);
|
|
2209
2209
|
};
|
|
2210
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2211
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
2212
|
-
i.
|
|
2213
|
-
i.
|
|
2210
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).dbb = function ($this$dispatchAsync, store, completion) {
|
|
2211
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.xds_1, completion);
|
|
2212
|
+
i.yds_1 = $this$dispatchAsync;
|
|
2213
|
+
i.zds_1 = store;
|
|
2214
2214
|
return i;
|
|
2215
2215
|
};
|
|
2216
2216
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
2217
2217
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
2218
2218
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2219
|
-
return i.
|
|
2219
|
+
return i.cbb($this$dispatchAsync, store, $completion);
|
|
2220
2220
|
};
|
|
2221
2221
|
l.$arity = 2;
|
|
2222
2222
|
return l;
|
|
2223
2223
|
}
|
|
2224
2224
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
2225
|
-
this.
|
|
2226
|
-
this.
|
|
2227
|
-
this.
|
|
2225
|
+
this.idt_1 = $reason;
|
|
2226
|
+
this.jdt_1 = this$0;
|
|
2227
|
+
this.kdt_1 = $roomId;
|
|
2228
2228
|
CoroutineImpl.call(this, resultContinuation);
|
|
2229
2229
|
}
|
|
2230
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2231
|
-
var tmp = this.
|
|
2230
|
+
protoOf(GameServer$shutdown$slambda).cbb = function ($this$dispatchAsync, store, $completion) {
|
|
2231
|
+
var tmp = this.dbb($this$dispatchAsync, store, $completion);
|
|
2232
2232
|
tmp.l9_1 = Unit_instance;
|
|
2233
2233
|
tmp.m9_1 = null;
|
|
2234
2234
|
return tmp.r9();
|
|
2235
2235
|
};
|
|
2236
2236
|
protoOf(GameServer$shutdown$slambda).ca = function (p1, p2, $completion) {
|
|
2237
2237
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2238
|
-
return this.
|
|
2238
|
+
return this.cbb(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2239
2239
|
};
|
|
2240
2240
|
protoOf(GameServer$shutdown$slambda).r9 = function () {
|
|
2241
2241
|
var suspendResult = this.l9_1;
|
|
@@ -2244,11 +2244,11 @@
|
|
|
2244
2244
|
var tmp = this.j9_1;
|
|
2245
2245
|
if (tmp === 0) {
|
|
2246
2246
|
this.k9_1 = 1;
|
|
2247
|
-
var state = this.
|
|
2247
|
+
var state = this.mdt_1.store.state;
|
|
2248
2248
|
if (state.j6x()) {
|
|
2249
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
2249
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.idt_1, get_serverShutdownReasonMapping());
|
|
2250
2250
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
2251
|
-
var tmp_0 = this.
|
|
2251
|
+
var tmp_0 = this.mdt_1.dispatch;
|
|
2252
2252
|
var tmp_1 = Companion_instance;
|
|
2253
2253
|
var tmp_2;
|
|
2254
2254
|
switch (shutdownReason.r2_1) {
|
|
@@ -2262,10 +2262,12 @@
|
|
|
2262
2262
|
noWhenBranchMatchedException();
|
|
2263
2263
|
break;
|
|
2264
2264
|
}
|
|
2265
|
-
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.
|
|
2265
|
+
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.jdt_1.table.isGameFinished, this.jdt_1.table));
|
|
2266
2266
|
} else {
|
|
2267
|
-
_get_logger__rkp4sl(this.
|
|
2268
|
-
this.
|
|
2267
|
+
_get_logger__rkp4sl(this.jdt_1).w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.kdt_1);
|
|
2268
|
+
var tmp_3 = this.mdt_1.dispatch;
|
|
2269
|
+
var tmp2_safe_receiver = state.u6w_1;
|
|
2270
|
+
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.j8e_1));
|
|
2269
2271
|
}
|
|
2270
2272
|
return Unit_instance;
|
|
2271
2273
|
} else if (tmp === 1) {
|
|
@@ -2277,16 +2279,16 @@
|
|
|
2277
2279
|
}
|
|
2278
2280
|
while (true);
|
|
2279
2281
|
};
|
|
2280
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2281
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
2282
|
-
i.
|
|
2283
|
-
i.
|
|
2282
|
+
protoOf(GameServer$shutdown$slambda).dbb = function ($this$dispatchAsync, store, completion) {
|
|
2283
|
+
var i = new GameServer$shutdown$slambda(this.idt_1, this.jdt_1, this.kdt_1, completion);
|
|
2284
|
+
i.ldt_1 = $this$dispatchAsync;
|
|
2285
|
+
i.mdt_1 = store;
|
|
2284
2286
|
return i;
|
|
2285
2287
|
};
|
|
2286
2288
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
2287
2289
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
2288
2290
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2289
|
-
return i.
|
|
2291
|
+
return i.cbb($this$dispatchAsync, store, $completion);
|
|
2290
2292
|
};
|
|
2291
2293
|
l.$arity = 2;
|
|
2292
2294
|
return l;
|
|
@@ -2315,46 +2317,46 @@
|
|
|
2315
2317
|
// Inline function 'org.kodein.type.generic' call
|
|
2316
2318
|
var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
2317
2319
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
2318
|
-
tmp_1.
|
|
2320
|
+
tmp_1.mdk_1 = Instance(di, tmp$ret$2, null).w67(this, logger$factory());
|
|
2319
2321
|
var tmp_3 = this;
|
|
2320
2322
|
// Inline function 'org.kodein.di.instance' call
|
|
2321
2323
|
// Inline function 'org.kodein.type.generic' call
|
|
2322
2324
|
var tmp_4 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
|
|
2323
2325
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
2324
|
-
tmp_3.
|
|
2326
|
+
tmp_3.ndk_1 = Instance(di, tmp$ret$4, null).w67(this, toClientEventsObserver$factory());
|
|
2325
2327
|
var tmp_5 = this;
|
|
2326
2328
|
// Inline function 'org.kodein.di.instance' call
|
|
2327
2329
|
// Inline function 'org.kodein.type.generic' call
|
|
2328
2330
|
var tmp_6 = typeToken(createKType(getKClass(FromClientEventsObserver), arrayOf([]), false));
|
|
2329
2331
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
2330
|
-
tmp_5.
|
|
2332
|
+
tmp_5.odk_1 = Instance(di, tmp$ret$6, null).w67(this, fromClientEventsObserver$factory());
|
|
2331
2333
|
var tmp_7 = this;
|
|
2332
2334
|
// Inline function 'org.kodein.di.instance' call
|
|
2333
2335
|
// Inline function 'org.kodein.type.generic' call
|
|
2334
2336
|
var tmp_8 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
|
|
2335
2337
|
var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
2336
|
-
tmp_7.
|
|
2338
|
+
tmp_7.pdk_1 = Instance(di, tmp$ret$8, null).w67(this, playerConnectionInteractor$factory());
|
|
2337
2339
|
var tmp_9 = this;
|
|
2338
2340
|
// Inline function 'org.kodein.di.instance' call
|
|
2339
2341
|
// Inline function 'org.kodein.type.generic' call
|
|
2340
2342
|
var tmp_10 = typeToken(createKType(getKClass(TeamsLogicProvider), arrayOf([]), false));
|
|
2341
2343
|
var tmp$ret$10 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
2342
|
-
tmp_9.
|
|
2344
|
+
tmp_9.qdk_1 = Instance(di, tmp$ret$10, null).w67(this, teamsLogicProvider$factory());
|
|
2343
2345
|
var tmp_11 = this;
|
|
2344
|
-
tmp_11.
|
|
2346
|
+
tmp_11.rdk_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
2345
2347
|
var tmp_12 = this;
|
|
2346
2348
|
// Inline function 'org.kodein.di.instance' call
|
|
2347
2349
|
// Inline function 'org.kodein.type.generic' call
|
|
2348
2350
|
var tmp_13 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
2349
2351
|
var tmp$ret$12 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
2350
|
-
tmp_12.
|
|
2352
|
+
tmp_12.sdk_1 = Instance(di, tmp$ret$12, null).w67(this, idsProvider$factory());
|
|
2351
2353
|
var tmp_14 = this;
|
|
2352
|
-
var tmp0_externalMiddlewares = plus(storeContract.
|
|
2353
|
-
var tmp1_externalReducers = plus(storeContract.
|
|
2354
|
-
tmp_14.
|
|
2354
|
+
var tmp0_externalMiddlewares = plus(storeContract.v9f(), externalMiddlewares);
|
|
2355
|
+
var tmp1_externalReducers = plus(storeContract.u9f(), externalReducers);
|
|
2356
|
+
tmp_14.tdk_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
2355
2357
|
}
|
|
2356
2358
|
protoOf(GameServer).h6w = function () {
|
|
2357
|
-
return this.
|
|
2359
|
+
return this.tdk_1;
|
|
2358
2360
|
};
|
|
2359
2361
|
protoOf(GameServer).z5o = function () {
|
|
2360
2362
|
return this.r6f().i6x().id;
|
|
@@ -2382,55 +2384,55 @@
|
|
|
2382
2384
|
};
|
|
2383
2385
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
2384
2386
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
2385
|
-
this.
|
|
2387
|
+
this.tdk_1.h6x(GameServer$fromClientEvent$slambda_0(action, null));
|
|
2386
2388
|
};
|
|
2387
2389
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
2388
2390
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
2389
|
-
this.
|
|
2391
|
+
this.tdk_1.h6x(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
2390
2392
|
};
|
|
2391
2393
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
2392
2394
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLive: ' + playerId);
|
|
2393
|
-
this.
|
|
2395
|
+
this.tdk_1.h6x(GameServer$playerLive$slambda_0(this, playerId, null));
|
|
2394
2396
|
};
|
|
2395
2397
|
protoOf(GameServer).playerLeft = function (playerId) {
|
|
2396
2398
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
2397
|
-
this.
|
|
2399
|
+
this.tdk_1.h6x(GameServer$playerLeft$slambda_0(this, playerId, null));
|
|
2398
2400
|
};
|
|
2399
|
-
protoOf(GameServer).
|
|
2401
|
+
protoOf(GameServer).ndt = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
2400
2402
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
2401
|
-
this.
|
|
2403
|
+
this.tdk_1.h6x(GameServer$roomOnCreate$slambda_0(usersArray, config, this, roomId, transition, gameCreatorId, spectators, null));
|
|
2402
2404
|
};
|
|
2403
2405
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
2404
2406
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
2405
|
-
this.
|
|
2406
|
-
this.
|
|
2407
|
+
this.tdk_1.h6x(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
2408
|
+
this.tdk_1.h6x(GameServer$roomOnContinueFromState$slambda_2(state, null));
|
|
2407
2409
|
};
|
|
2408
2410
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
2409
2411
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
2410
|
-
this.
|
|
2411
|
-
this.
|
|
2412
|
+
this.tdk_1.h6x(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
2413
|
+
this.tdk_1.h6x(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
2412
2414
|
};
|
|
2413
2415
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
2414
|
-
this.
|
|
2416
|
+
this.tdk_1.h6x(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
2415
2417
|
};
|
|
2416
2418
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
2417
|
-
this.
|
|
2419
|
+
this.tdk_1.h6x(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
2418
2420
|
};
|
|
2419
2421
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
2420
2422
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
2421
|
-
this.
|
|
2423
|
+
this.tdk_1.h6x(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
2422
2424
|
};
|
|
2423
|
-
protoOf(GameServer).
|
|
2425
|
+
protoOf(GameServer).odt = function (newRid) {
|
|
2424
2426
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnDelete: ' + newRid);
|
|
2425
|
-
this.
|
|
2427
|
+
this.tdk_1.h6x(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
2426
2428
|
};
|
|
2427
2429
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
2428
2430
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
2429
|
-
this.
|
|
2431
|
+
this.tdk_1.h6x(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
2430
2432
|
};
|
|
2431
|
-
protoOf(GameServer).
|
|
2433
|
+
protoOf(GameServer).pdt = function (reason, roomId) {
|
|
2432
2434
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
2433
|
-
this.
|
|
2435
|
+
this.tdk_1.h6x(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
2434
2436
|
};
|
|
2435
2437
|
protoOf(GameServer).clear = function () {
|
|
2436
2438
|
return this.d2();
|
|
@@ -2546,10 +2548,10 @@
|
|
|
2546
2548
|
this.fromRound = fromRound;
|
|
2547
2549
|
this.canStartNewGame = canStartNewGame;
|
|
2548
2550
|
}
|
|
2549
|
-
protoOf(ServerConfig).
|
|
2551
|
+
protoOf(ServerConfig).qdt = function () {
|
|
2550
2552
|
return this.fromRound;
|
|
2551
2553
|
};
|
|
2552
|
-
protoOf(ServerConfig).
|
|
2554
|
+
protoOf(ServerConfig).rdt = function () {
|
|
2553
2555
|
return this.canStartNewGame;
|
|
2554
2556
|
};
|
|
2555
2557
|
protoOf(ServerConfig).ue = function () {
|
|
@@ -2558,13 +2560,13 @@
|
|
|
2558
2560
|
protoOf(ServerConfig).ve = function () {
|
|
2559
2561
|
return this.canStartNewGame;
|
|
2560
2562
|
};
|
|
2561
|
-
protoOf(ServerConfig).
|
|
2563
|
+
protoOf(ServerConfig).sdt = function (fromRound, canStartNewGame) {
|
|
2562
2564
|
return new ServerConfig(fromRound, canStartNewGame);
|
|
2563
2565
|
};
|
|
2564
2566
|
protoOf(ServerConfig).copy = function (fromRound, canStartNewGame, $super) {
|
|
2565
2567
|
fromRound = fromRound === VOID ? this.fromRound : fromRound;
|
|
2566
2568
|
canStartNewGame = canStartNewGame === VOID ? this.canStartNewGame : canStartNewGame;
|
|
2567
|
-
return this.
|
|
2569
|
+
return this.sdt(fromRound, canStartNewGame);
|
|
2568
2570
|
};
|
|
2569
2571
|
protoOf(ServerConfig).toString = function () {
|
|
2570
2572
|
return 'ServerConfig(fromRound=' + this.fromRound + ', canStartNewGame=' + this.canStartNewGame + ')';
|
|
@@ -2597,12 +2599,12 @@
|
|
|
2597
2599
|
protoOf(TableStateUpdate).ue = function () {
|
|
2598
2600
|
return this.table;
|
|
2599
2601
|
};
|
|
2600
|
-
protoOf(TableStateUpdate).
|
|
2602
|
+
protoOf(TableStateUpdate).tdt = function (table) {
|
|
2601
2603
|
return new TableStateUpdate(table);
|
|
2602
2604
|
};
|
|
2603
2605
|
protoOf(TableStateUpdate).copy = function (table, $super) {
|
|
2604
2606
|
table = table === VOID ? this.table : table;
|
|
2605
|
-
return this.
|
|
2607
|
+
return this.tdt(table);
|
|
2606
2608
|
};
|
|
2607
2609
|
protoOf(TableStateUpdate).toString = function () {
|
|
2608
2610
|
return 'TableStateUpdate(table=' + this.table.toString() + ')';
|
|
@@ -2623,18 +2625,18 @@
|
|
|
2623
2625
|
function ActionsStateUpdate(actions) {
|
|
2624
2626
|
this.actions = actions;
|
|
2625
2627
|
}
|
|
2626
|
-
protoOf(ActionsStateUpdate).
|
|
2628
|
+
protoOf(ActionsStateUpdate).b8v = function () {
|
|
2627
2629
|
return this.actions;
|
|
2628
2630
|
};
|
|
2629
2631
|
protoOf(ActionsStateUpdate).ue = function () {
|
|
2630
2632
|
return this.actions;
|
|
2631
2633
|
};
|
|
2632
|
-
protoOf(ActionsStateUpdate).
|
|
2634
|
+
protoOf(ActionsStateUpdate).udt = function (actions) {
|
|
2633
2635
|
return new ActionsStateUpdate(actions);
|
|
2634
2636
|
};
|
|
2635
2637
|
protoOf(ActionsStateUpdate).copy = function (actions, $super) {
|
|
2636
2638
|
actions = actions === VOID ? this.actions : actions;
|
|
2637
|
-
return this.
|
|
2639
|
+
return this.udt(actions);
|
|
2638
2640
|
};
|
|
2639
2641
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
2640
2642
|
return 'ActionsStateUpdate(actions=' + toString(this.actions) + ')';
|
|
@@ -2880,18 +2882,18 @@
|
|
|
2880
2882
|
function ToClientEventsObserver() {
|
|
2881
2883
|
}
|
|
2882
2884
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
2883
|
-
this.
|
|
2884
|
-
this.
|
|
2885
|
+
this.edu_1 = this$0;
|
|
2886
|
+
this.fdu_1 = $actions;
|
|
2885
2887
|
CoroutineImpl.call(this, resultContinuation);
|
|
2886
2888
|
}
|
|
2887
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
2888
|
-
var tmp = this.
|
|
2889
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).mdu = function ($this$flow, $completion) {
|
|
2890
|
+
var tmp = this.ndu($this$flow, $completion);
|
|
2889
2891
|
tmp.l9_1 = Unit_instance;
|
|
2890
2892
|
tmp.m9_1 = null;
|
|
2891
2893
|
return tmp.r9();
|
|
2892
2894
|
};
|
|
2893
2895
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).ba = function (p1, $completion) {
|
|
2894
|
-
return this.
|
|
2896
|
+
return this.mdu((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
2895
2897
|
};
|
|
2896
2898
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).r9 = function () {
|
|
2897
2899
|
var suspendResult = this.l9_1;
|
|
@@ -2902,23 +2904,23 @@
|
|
|
2902
2904
|
case 0:
|
|
2903
2905
|
this.k9_1 = 4;
|
|
2904
2906
|
var tmp_0 = this;
|
|
2905
|
-
tmp_0.
|
|
2907
|
+
tmp_0.hdu_1 = this.edu_1.sdu_1;
|
|
2906
2908
|
var tmp_1 = this;
|
|
2907
|
-
tmp_1.
|
|
2908
|
-
this.
|
|
2909
|
+
tmp_1.idu_1 = transformToEmits(this.edu_1, this.fdu_1);
|
|
2910
|
+
this.jdu_1 = this.idu_1.j();
|
|
2909
2911
|
this.j9_1 = 1;
|
|
2910
2912
|
continue $sm;
|
|
2911
2913
|
case 1:
|
|
2912
|
-
if (!this.
|
|
2914
|
+
if (!this.jdu_1.k()) {
|
|
2913
2915
|
this.j9_1 = 3;
|
|
2914
2916
|
continue $sm;
|
|
2915
2917
|
}
|
|
2916
2918
|
|
|
2917
|
-
this.
|
|
2919
|
+
this.kdu_1 = this.jdu_1.l();
|
|
2918
2920
|
var tmp_2 = this;
|
|
2919
|
-
tmp_2.
|
|
2921
|
+
tmp_2.ldu_1 = this.kdu_1;
|
|
2920
2922
|
this.j9_1 = 2;
|
|
2921
|
-
suspendResult = this.
|
|
2923
|
+
suspendResult = this.gdu_1.r18(this.ldu_1, this);
|
|
2922
2924
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2923
2925
|
return suspendResult;
|
|
2924
2926
|
}
|
|
@@ -2929,10 +2931,10 @@
|
|
|
2929
2931
|
continue $sm;
|
|
2930
2932
|
case 3:
|
|
2931
2933
|
l$ret$1: do {
|
|
2932
|
-
var this_0 = this.
|
|
2934
|
+
var this_0 = this.edu_1.rdu_1;
|
|
2933
2935
|
while (true) {
|
|
2934
2936
|
var cur = this_0.kotlinx$atomicfu$value;
|
|
2935
|
-
var upd = cur - this.
|
|
2937
|
+
var upd = cur - this.fdu_1.m() | 0;
|
|
2936
2938
|
if (this_0.atomicfu$compareAndSet(cur, upd)) {
|
|
2937
2939
|
break l$ret$1;
|
|
2938
2940
|
}
|
|
@@ -2954,15 +2956,15 @@
|
|
|
2954
2956
|
}
|
|
2955
2957
|
while (true);
|
|
2956
2958
|
};
|
|
2957
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
2958
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
2959
|
-
i.
|
|
2959
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).ndu = function ($this$flow, completion) {
|
|
2960
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.edu_1, this.fdu_1, completion);
|
|
2961
|
+
i.gdu_1 = $this$flow;
|
|
2960
2962
|
return i;
|
|
2961
2963
|
};
|
|
2962
2964
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
2963
2965
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
2964
2966
|
var l = function ($this$flow, $completion) {
|
|
2965
|
-
return i.
|
|
2967
|
+
return i.mdu($this$flow, $completion);
|
|
2966
2968
|
};
|
|
2967
2969
|
l.$arity = 1;
|
|
2968
2970
|
return l;
|
|
@@ -3035,29 +3037,29 @@
|
|
|
3035
3037
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
3036
3038
|
}
|
|
3037
3039
|
function mapFromGroupKey(_this__u8e3s4, $this) {
|
|
3038
|
-
var tmp = $this.
|
|
3040
|
+
var tmp = $this.qdu_1.q6m();
|
|
3039
3041
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3040
|
-
var this_0 = _this__u8e3s4.
|
|
3042
|
+
var this_0 = _this__u8e3s4.vdu_1;
|
|
3041
3043
|
var tmp_0 = copyToArray(this_0);
|
|
3042
3044
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3043
|
-
var this_1 = _this__u8e3s4.
|
|
3045
|
+
var this_1 = _this__u8e3s4.wdu_1;
|
|
3044
3046
|
var tmp$ret$1 = copyToArray(this_1);
|
|
3045
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
3047
|
+
return new ActionDeliveryPayload(_this__u8e3s4.udu_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.xdu_1);
|
|
3046
3048
|
}
|
|
3047
3049
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
3048
|
-
this.
|
|
3049
|
-
this.
|
|
3050
|
-
this.
|
|
3051
|
-
this.
|
|
3050
|
+
this.udu_1 = tableId;
|
|
3051
|
+
this.vdu_1 = includePlayers;
|
|
3052
|
+
this.wdu_1 = excludePlayers;
|
|
3053
|
+
this.xdu_1 = deliveryType;
|
|
3052
3054
|
}
|
|
3053
3055
|
protoOf(GroupKey).toString = function () {
|
|
3054
|
-
return 'GroupKey(tableId=' + this.
|
|
3056
|
+
return 'GroupKey(tableId=' + this.udu_1 + ', includePlayers=' + toString(this.vdu_1) + ', excludePlayers=' + toString(this.wdu_1) + ', deliveryType=' + this.xdu_1.toString() + ')';
|
|
3055
3057
|
};
|
|
3056
3058
|
protoOf(GroupKey).hashCode = function () {
|
|
3057
|
-
var result = getStringHashCode(this.
|
|
3058
|
-
result = imul(result, 31) + hashCode(this.
|
|
3059
|
-
result = imul(result, 31) + hashCode(this.
|
|
3060
|
-
result = imul(result, 31) + this.
|
|
3059
|
+
var result = getStringHashCode(this.udu_1);
|
|
3060
|
+
result = imul(result, 31) + hashCode(this.vdu_1) | 0;
|
|
3061
|
+
result = imul(result, 31) + hashCode(this.wdu_1) | 0;
|
|
3062
|
+
result = imul(result, 31) + this.xdu_1.hashCode() | 0;
|
|
3061
3063
|
return result;
|
|
3062
3064
|
};
|
|
3063
3065
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -3066,35 +3068,35 @@
|
|
|
3066
3068
|
if (!(other instanceof GroupKey))
|
|
3067
3069
|
return false;
|
|
3068
3070
|
var tmp0_other_with_cast = other instanceof GroupKey ? other : THROW_CCE();
|
|
3069
|
-
if (!(this.
|
|
3071
|
+
if (!(this.udu_1 === tmp0_other_with_cast.udu_1))
|
|
3070
3072
|
return false;
|
|
3071
|
-
if (!equals(this.
|
|
3073
|
+
if (!equals(this.vdu_1, tmp0_other_with_cast.vdu_1))
|
|
3072
3074
|
return false;
|
|
3073
|
-
if (!equals(this.
|
|
3075
|
+
if (!equals(this.wdu_1, tmp0_other_with_cast.wdu_1))
|
|
3074
3076
|
return false;
|
|
3075
|
-
if (!this.
|
|
3077
|
+
if (!this.xdu_1.equals(tmp0_other_with_cast.xdu_1))
|
|
3076
3078
|
return false;
|
|
3077
3079
|
return true;
|
|
3078
3080
|
};
|
|
3079
3081
|
function Companion_1() {
|
|
3080
|
-
this.
|
|
3082
|
+
this.ydu_1 = 6;
|
|
3081
3083
|
}
|
|
3082
3084
|
var Companion_instance_9;
|
|
3083
3085
|
function Companion_getInstance_2() {
|
|
3084
3086
|
return Companion_instance_9;
|
|
3085
3087
|
}
|
|
3086
3088
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
3087
|
-
this.
|
|
3089
|
+
this.hdv_1 = this$0;
|
|
3088
3090
|
CoroutineImpl.call(this, resultContinuation);
|
|
3089
3091
|
}
|
|
3090
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3091
|
-
var tmp = this.
|
|
3092
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).jdv = function (actions, $completion) {
|
|
3093
|
+
var tmp = this.kdv(actions, $completion);
|
|
3092
3094
|
tmp.l9_1 = Unit_instance;
|
|
3093
3095
|
tmp.m9_1 = null;
|
|
3094
3096
|
return tmp.r9();
|
|
3095
3097
|
};
|
|
3096
3098
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).ba = function (p1, $completion) {
|
|
3097
|
-
return this.
|
|
3099
|
+
return this.jdv((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
3098
3100
|
};
|
|
3099
3101
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).r9 = function () {
|
|
3100
3102
|
var suspendResult = this.l9_1;
|
|
@@ -3103,7 +3105,7 @@
|
|
|
3103
3105
|
var tmp = this.j9_1;
|
|
3104
3106
|
if (tmp === 0) {
|
|
3105
3107
|
this.k9_1 = 1;
|
|
3106
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
3108
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.hdv_1, this.idv_1, null));
|
|
3107
3109
|
} else if (tmp === 1) {
|
|
3108
3110
|
throw this.m9_1;
|
|
3109
3111
|
}
|
|
@@ -3113,23 +3115,23 @@
|
|
|
3113
3115
|
}
|
|
3114
3116
|
while (true);
|
|
3115
3117
|
};
|
|
3116
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3117
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
3118
|
-
i.
|
|
3118
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).kdv = function (actions, completion) {
|
|
3119
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.hdv_1, completion);
|
|
3120
|
+
i.idv_1 = actions;
|
|
3119
3121
|
return i;
|
|
3120
3122
|
};
|
|
3121
3123
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
3122
3124
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
3123
3125
|
var l = function (actions, $completion) {
|
|
3124
|
-
return i.
|
|
3126
|
+
return i.jdv(actions, $completion);
|
|
3125
3127
|
};
|
|
3126
3128
|
l.$arity = 1;
|
|
3127
3129
|
return l;
|
|
3128
3130
|
}
|
|
3129
3131
|
function $sentEventCOROUTINE$3(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
3130
3132
|
CoroutineImpl.call(this, resultContinuation);
|
|
3131
|
-
this.
|
|
3132
|
-
this.
|
|
3133
|
+
this.tdv_1 = _this__u8e3s4;
|
|
3134
|
+
this.udv_1 = fromEvent;
|
|
3133
3135
|
}
|
|
3134
3136
|
protoOf($sentEventCOROUTINE$3).r9 = function () {
|
|
3135
3137
|
var suspendResult = this.l9_1;
|
|
@@ -3140,9 +3142,9 @@
|
|
|
3140
3142
|
case 0:
|
|
3141
3143
|
this.k9_1 = 2;
|
|
3142
3144
|
var tmp_0 = this;
|
|
3143
|
-
tmp_0.
|
|
3145
|
+
tmp_0.vdv_1 = this.tdv_1.sdu_1;
|
|
3144
3146
|
l$ret$1: do {
|
|
3145
|
-
var this_0 = this.
|
|
3147
|
+
var this_0 = this.tdv_1.rdu_1;
|
|
3146
3148
|
while (true) {
|
|
3147
3149
|
var cur = this_0.kotlinx$atomicfu$value;
|
|
3148
3150
|
var upd = cur + 1 | 0;
|
|
@@ -3153,7 +3155,7 @@
|
|
|
3153
3155
|
}
|
|
3154
3156
|
while (false);
|
|
3155
3157
|
this.j9_1 = 1;
|
|
3156
|
-
suspendResult = this.
|
|
3158
|
+
suspendResult = this.tdv_1.tdu_1.r18(this.udv_1, this);
|
|
3157
3159
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3158
3160
|
return suspendResult;
|
|
3159
3161
|
}
|
|
@@ -3177,7 +3179,7 @@
|
|
|
3177
3179
|
};
|
|
3178
3180
|
function $waitForCOROUTINE$4(_this__u8e3s4, resultContinuation) {
|
|
3179
3181
|
CoroutineImpl.call(this, resultContinuation);
|
|
3180
|
-
this.
|
|
3182
|
+
this.edw_1 = _this__u8e3s4;
|
|
3181
3183
|
}
|
|
3182
3184
|
protoOf($waitForCOROUTINE$4).r9 = function () {
|
|
3183
3185
|
var suspendResult = this.l9_1;
|
|
@@ -3188,12 +3190,12 @@
|
|
|
3188
3190
|
case 0:
|
|
3189
3191
|
this.k9_1 = 5;
|
|
3190
3192
|
var tmp_0 = this;
|
|
3191
|
-
tmp_0.
|
|
3192
|
-
this.
|
|
3193
|
+
tmp_0.fdw_1 = this.edw_1.sdu_1;
|
|
3194
|
+
this.gdw_1 = 0;
|
|
3193
3195
|
this.j9_1 = 1;
|
|
3194
3196
|
continue $sm;
|
|
3195
3197
|
case 1:
|
|
3196
|
-
if (!!(this.
|
|
3198
|
+
if (!!(this.edw_1.rdu_1.kotlinx$atomicfu$value === 0)) {
|
|
3197
3199
|
this.j9_1 = 4;
|
|
3198
3200
|
continue $sm;
|
|
3199
3201
|
}
|
|
@@ -3206,9 +3208,9 @@
|
|
|
3206
3208
|
|
|
3207
3209
|
continue $sm;
|
|
3208
3210
|
case 2:
|
|
3209
|
-
this.
|
|
3210
|
-
if (this.
|
|
3211
|
-
this.
|
|
3211
|
+
this.gdw_1 = this.gdw_1 + 1 | 0;
|
|
3212
|
+
if (this.gdw_1 > 6) {
|
|
3213
|
+
this.edw_1.pdu_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.edw_1.rdu_1.kotlinx$atomicfu$value);
|
|
3212
3214
|
this.j9_1 = 4;
|
|
3213
3215
|
continue $sm;
|
|
3214
3216
|
} else {
|
|
@@ -3236,42 +3238,42 @@
|
|
|
3236
3238
|
while (true);
|
|
3237
3239
|
};
|
|
3238
3240
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
3239
|
-
this.
|
|
3240
|
-
this.
|
|
3241
|
-
this.
|
|
3242
|
-
this.
|
|
3241
|
+
this.odu_1 = serverReduxConfig;
|
|
3242
|
+
this.pdu_1 = logger;
|
|
3243
|
+
this.qdu_1 = idsProvider;
|
|
3244
|
+
this.rdu_1 = atomic$ref$1(0);
|
|
3243
3245
|
var tmp = this;
|
|
3244
3246
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
3245
|
-
tmp.
|
|
3246
|
-
this.
|
|
3247
|
+
tmp.sdu_1 = get_atomicfu$reentrantLock();
|
|
3248
|
+
this.tdu_1 = MutableSharedFlow();
|
|
3247
3249
|
}
|
|
3248
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3250
|
+
protoOf(ToClientEventsObserverImpl).vdt = function (fromEvent, $completion) {
|
|
3249
3251
|
var tmp = new $sentEventCOROUTINE$3(this, fromEvent, $completion);
|
|
3250
3252
|
tmp.l9_1 = Unit_instance;
|
|
3251
3253
|
tmp.m9_1 = null;
|
|
3252
3254
|
return tmp.r9();
|
|
3253
3255
|
};
|
|
3254
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3256
|
+
protoOf(ToClientEventsObserverImpl).w9o = function ($completion) {
|
|
3255
3257
|
var tmp = new $waitForCOROUTINE$4(this, $completion);
|
|
3256
3258
|
tmp.l9_1 = Unit_instance;
|
|
3257
3259
|
tmp.m9_1 = null;
|
|
3258
3260
|
return tmp.r9();
|
|
3259
3261
|
};
|
|
3260
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3261
|
-
if (!this.
|
|
3262
|
-
return this.
|
|
3262
|
+
protoOf(ToClientEventsObserverImpl).uaq = function () {
|
|
3263
|
+
if (!this.odu_1.enabledCombinedEvents) {
|
|
3264
|
+
return this.tdu_1;
|
|
3263
3265
|
}
|
|
3264
|
-
var tmp = windowedByInterval(this.
|
|
3266
|
+
var tmp = windowedByInterval(this.tdu_1, toLong(this.odu_1.combinedEventsPeriod));
|
|
3265
3267
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
3266
3268
|
};
|
|
3267
3269
|
function UpdateServerConfigAction(serverConfig) {
|
|
3268
|
-
this.
|
|
3270
|
+
this.hdw_1 = serverConfig;
|
|
3269
3271
|
}
|
|
3270
3272
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
3271
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
3273
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.hdw_1.toString() + ')';
|
|
3272
3274
|
};
|
|
3273
3275
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
3274
|
-
return this.
|
|
3276
|
+
return this.hdw_1.hashCode();
|
|
3275
3277
|
};
|
|
3276
3278
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
3277
3279
|
if (this === other)
|
|
@@ -3279,18 +3281,18 @@
|
|
|
3279
3281
|
if (!(other instanceof UpdateServerConfigAction))
|
|
3280
3282
|
return false;
|
|
3281
3283
|
var tmp0_other_with_cast = other instanceof UpdateServerConfigAction ? other : THROW_CCE();
|
|
3282
|
-
if (!this.
|
|
3284
|
+
if (!this.hdw_1.equals(tmp0_other_with_cast.hdw_1))
|
|
3283
3285
|
return false;
|
|
3284
3286
|
return true;
|
|
3285
3287
|
};
|
|
3286
3288
|
function AddSpectatorsAction(spectators) {
|
|
3287
|
-
this.
|
|
3289
|
+
this.idw_1 = spectators;
|
|
3288
3290
|
}
|
|
3289
3291
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
3290
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
3292
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.idw_1) + ')';
|
|
3291
3293
|
};
|
|
3292
3294
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
3293
|
-
return hashCode(this.
|
|
3295
|
+
return hashCode(this.idw_1);
|
|
3294
3296
|
};
|
|
3295
3297
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
3296
3298
|
if (this === other)
|
|
@@ -3298,18 +3300,18 @@
|
|
|
3298
3300
|
if (!(other instanceof AddSpectatorsAction))
|
|
3299
3301
|
return false;
|
|
3300
3302
|
var tmp0_other_with_cast = other instanceof AddSpectatorsAction ? other : THROW_CCE();
|
|
3301
|
-
if (!equals(this.
|
|
3303
|
+
if (!equals(this.idw_1, tmp0_other_with_cast.idw_1))
|
|
3302
3304
|
return false;
|
|
3303
3305
|
return true;
|
|
3304
3306
|
};
|
|
3305
3307
|
function RemoveSpectatorsAction(spectators) {
|
|
3306
|
-
this.
|
|
3308
|
+
this.jdw_1 = spectators;
|
|
3307
3309
|
}
|
|
3308
3310
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
3309
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
3311
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.jdw_1) + ')';
|
|
3310
3312
|
};
|
|
3311
3313
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
3312
|
-
return hashCode(this.
|
|
3314
|
+
return hashCode(this.jdw_1);
|
|
3313
3315
|
};
|
|
3314
3316
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
3315
3317
|
if (this === other)
|
|
@@ -3317,7 +3319,7 @@
|
|
|
3317
3319
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
3318
3320
|
return false;
|
|
3319
3321
|
var tmp0_other_with_cast = other instanceof RemoveSpectatorsAction ? other : THROW_CCE();
|
|
3320
|
-
if (!equals(this.
|
|
3322
|
+
if (!equals(this.jdw_1, tmp0_other_with_cast.jdw_1))
|
|
3321
3323
|
return false;
|
|
3322
3324
|
return true;
|
|
3323
3325
|
};
|
|
@@ -3325,85 +3327,85 @@
|
|
|
3325
3327
|
}
|
|
3326
3328
|
function _get_asyncProvider__jbpyhw($this) {
|
|
3327
3329
|
// Inline function 'kotlin.getValue' call
|
|
3328
|
-
var this_0 = $this.
|
|
3330
|
+
var this_0 = $this.pdw_1;
|
|
3329
3331
|
asyncProvider$factory_0();
|
|
3330
3332
|
return this_0.u();
|
|
3331
3333
|
}
|
|
3332
3334
|
function _get_logger__rkp4sl_0($this) {
|
|
3333
3335
|
// Inline function 'kotlin.getValue' call
|
|
3334
|
-
var this_0 = $this.
|
|
3336
|
+
var this_0 = $this.qdw_1;
|
|
3335
3337
|
logger$factory_2();
|
|
3336
3338
|
return this_0.u();
|
|
3337
3339
|
}
|
|
3338
3340
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
3339
3341
|
// Inline function 'kotlin.getValue' call
|
|
3340
|
-
var this_0 = $this.
|
|
3342
|
+
var this_0 = $this.rdw_1;
|
|
3341
3343
|
playerConnectionInteractor$factory_2();
|
|
3342
3344
|
return this_0.u();
|
|
3343
3345
|
}
|
|
3344
3346
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
3345
3347
|
// Inline function 'kotlin.getValue' call
|
|
3346
|
-
var this_0 = $this.
|
|
3348
|
+
var this_0 = $this.sdw_1;
|
|
3347
3349
|
lastCardInteractor$factory_0();
|
|
3348
3350
|
return this_0.u();
|
|
3349
3351
|
}
|
|
3350
3352
|
function _get_serverConfig__rk2g06($this) {
|
|
3351
3353
|
// Inline function 'kotlin.getValue' call
|
|
3352
|
-
var this_0 = $this.
|
|
3354
|
+
var this_0 = $this.tdw_1;
|
|
3353
3355
|
serverConfig$factory_0();
|
|
3354
3356
|
return this_0.u();
|
|
3355
3357
|
}
|
|
3356
3358
|
function _get_logicConfig__52ww9d($this) {
|
|
3357
3359
|
// Inline function 'kotlin.getValue' call
|
|
3358
|
-
var this_0 = $this.
|
|
3360
|
+
var this_0 = $this.udw_1;
|
|
3359
3361
|
logicConfig$factory_0();
|
|
3360
3362
|
return this_0.u();
|
|
3361
3363
|
}
|
|
3362
3364
|
function _get_idsProvider__fnfajc_0($this) {
|
|
3363
3365
|
// Inline function 'kotlin.getValue' call
|
|
3364
|
-
var this_0 = $this.
|
|
3366
|
+
var this_0 = $this.vdw_1;
|
|
3365
3367
|
idsProvider$factory_2();
|
|
3366
3368
|
return this_0.u();
|
|
3367
3369
|
}
|
|
3368
3370
|
function _get_botConfig__cpaxzc($this) {
|
|
3369
3371
|
// Inline function 'kotlin.getValue' call
|
|
3370
|
-
var this_0 = $this.
|
|
3372
|
+
var this_0 = $this.wdw_1;
|
|
3371
3373
|
botConfig$factory_0();
|
|
3372
3374
|
return this_0.u();
|
|
3373
3375
|
}
|
|
3374
3376
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
3375
3377
|
// Inline function 'kotlin.getValue' call
|
|
3376
|
-
var this_0 = $this.
|
|
3378
|
+
var this_0 = $this.xdw_1;
|
|
3377
3379
|
scenePositionProvider$factory_0();
|
|
3378
3380
|
return this_0.u();
|
|
3379
3381
|
}
|
|
3380
3382
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
3381
3383
|
// Inline function 'kotlin.getValue' call
|
|
3382
|
-
var this_0 = $this.
|
|
3384
|
+
var this_0 = $this.ydw_1;
|
|
3383
3385
|
toClientEventsObserver$factory_2();
|
|
3384
3386
|
return this_0.u();
|
|
3385
3387
|
}
|
|
3386
3388
|
function _get_fromClientEventsObserver__a7vzd3_0($this) {
|
|
3387
3389
|
// Inline function 'kotlin.getValue' call
|
|
3388
|
-
var this_0 = $this.
|
|
3390
|
+
var this_0 = $this.zdw_1;
|
|
3389
3391
|
fromClientEventsObserver$factory_2();
|
|
3390
3392
|
return this_0.u();
|
|
3391
3393
|
}
|
|
3392
3394
|
function _get_dealerConfig__183ci8($this) {
|
|
3393
3395
|
// Inline function 'kotlin.getValue' call
|
|
3394
|
-
var this_0 = $this.
|
|
3396
|
+
var this_0 = $this.adx_1;
|
|
3395
3397
|
dealerConfig$factory_0();
|
|
3396
3398
|
return this_0.u();
|
|
3397
3399
|
}
|
|
3398
3400
|
function _get_poolProvider__tqti6a($this) {
|
|
3399
3401
|
// Inline function 'kotlin.getValue' call
|
|
3400
|
-
var this_0 = $this.
|
|
3402
|
+
var this_0 = $this.bdx_1;
|
|
3401
3403
|
poolProvider$factory_0();
|
|
3402
3404
|
return this_0.u();
|
|
3403
3405
|
}
|
|
3404
3406
|
function _get_cardsDealerProvider__bekjpg($this) {
|
|
3405
3407
|
// Inline function 'kotlin.getValue' call
|
|
3406
|
-
var this_0 = $this.
|
|
3408
|
+
var this_0 = $this.cdx_1;
|
|
3407
3409
|
cardsDealerProvider$factory_0();
|
|
3408
3410
|
return this_0.u();
|
|
3409
3411
|
}
|
|
@@ -3416,101 +3418,101 @@
|
|
|
3416
3418
|
botGameStoreContract = botGameStoreContract === VOID ? new BotGameStoreContract(di) : botGameStoreContract;
|
|
3417
3419
|
gameMechanicStoreContract = gameMechanicStoreContract === VOID ? new GameMechanicStoreContract(di, null, true) : gameMechanicStoreContract;
|
|
3418
3420
|
fileLoggerStoreContract = fileLoggerStoreContract === VOID ? new FileLoggerStoreContract(di) : fileLoggerStoreContract;
|
|
3419
|
-
this.
|
|
3420
|
-
this.
|
|
3421
|
-
this.
|
|
3422
|
-
this.
|
|
3423
|
-
this.
|
|
3421
|
+
this.kdw_1 = validationStoreContract;
|
|
3422
|
+
this.ldw_1 = timersStoreContract;
|
|
3423
|
+
this.mdw_1 = botGameStoreContract;
|
|
3424
|
+
this.ndw_1 = gameMechanicStoreContract;
|
|
3425
|
+
this.odw_1 = fileLoggerStoreContract;
|
|
3424
3426
|
var tmp = this;
|
|
3425
3427
|
// Inline function 'org.kodein.di.instance' call
|
|
3426
3428
|
// Inline function 'org.kodein.type.generic' call
|
|
3427
3429
|
var tmp_0 = typeToken(createKType(getKClass(AsyncProvider), arrayOf([]), false));
|
|
3428
3430
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
3429
|
-
tmp.
|
|
3431
|
+
tmp.pdw_1 = Instance(di, tmp$ret$0, null).w67(this, asyncProvider$factory());
|
|
3430
3432
|
var tmp_1 = this;
|
|
3431
3433
|
// Inline function 'org.kodein.di.instance' call
|
|
3432
3434
|
// Inline function 'org.kodein.type.generic' call
|
|
3433
3435
|
var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
3434
3436
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
3435
|
-
tmp_1.
|
|
3437
|
+
tmp_1.qdw_1 = Instance(di, tmp$ret$2, null).w67(this, logger$factory_1());
|
|
3436
3438
|
var tmp_3 = this;
|
|
3437
3439
|
// Inline function 'org.kodein.di.instance' call
|
|
3438
3440
|
// Inline function 'org.kodein.type.generic' call
|
|
3439
3441
|
var tmp_4 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
|
|
3440
3442
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
3441
|
-
tmp_3.
|
|
3443
|
+
tmp_3.rdw_1 = Instance(di, tmp$ret$4, null).w67(this, playerConnectionInteractor$factory_1());
|
|
3442
3444
|
var tmp_5 = this;
|
|
3443
3445
|
// Inline function 'org.kodein.di.instance' call
|
|
3444
3446
|
// Inline function 'org.kodein.type.generic' call
|
|
3445
3447
|
var tmp_6 = typeToken(createKType(getKClass(LastCardInteractor), arrayOf([]), false));
|
|
3446
3448
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
3447
|
-
tmp_5.
|
|
3449
|
+
tmp_5.sdw_1 = Instance(di, tmp$ret$6, null).w67(this, lastCardInteractor$factory());
|
|
3448
3450
|
var tmp_7 = this;
|
|
3449
3451
|
// Inline function 'org.kodein.di.instance' call
|
|
3450
3452
|
// Inline function 'org.kodein.type.generic' call
|
|
3451
3453
|
var tmp_8 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
|
|
3452
3454
|
var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
3453
|
-
tmp_7.
|
|
3455
|
+
tmp_7.tdw_1 = Instance(di, tmp$ret$8, null).w67(this, serverConfig$factory());
|
|
3454
3456
|
var tmp_9 = this;
|
|
3455
3457
|
// Inline function 'org.kodein.di.instance' call
|
|
3456
3458
|
// Inline function 'org.kodein.type.generic' call
|
|
3457
3459
|
var tmp_10 = typeToken(createKType(getKClass(EngineLogicConfig), arrayOf([]), false));
|
|
3458
3460
|
var tmp$ret$10 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
3459
|
-
tmp_9.
|
|
3461
|
+
tmp_9.udw_1 = Instance(di, tmp$ret$10, null).w67(this, logicConfig$factory());
|
|
3460
3462
|
var tmp_11 = this;
|
|
3461
3463
|
// Inline function 'org.kodein.di.instance' call
|
|
3462
3464
|
// Inline function 'org.kodein.type.generic' call
|
|
3463
3465
|
var tmp_12 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
3464
3466
|
var tmp$ret$12 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
3465
|
-
tmp_11.
|
|
3467
|
+
tmp_11.vdw_1 = Instance(di, tmp$ret$12, null).w67(this, idsProvider$factory_1());
|
|
3466
3468
|
var tmp_13 = this;
|
|
3467
3469
|
// Inline function 'org.kodein.di.instance' call
|
|
3468
3470
|
// Inline function 'org.kodein.type.generic' call
|
|
3469
3471
|
var tmp_14 = typeToken(createKType(getKClass(EngineBotConfig), arrayOf([]), false));
|
|
3470
3472
|
var tmp$ret$14 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
3471
|
-
tmp_13.
|
|
3473
|
+
tmp_13.wdw_1 = Instance(di, tmp$ret$14, null).w67(this, botConfig$factory());
|
|
3472
3474
|
var tmp_15 = this;
|
|
3473
3475
|
// Inline function 'org.kodein.di.instance' call
|
|
3474
3476
|
// Inline function 'org.kodein.type.generic' call
|
|
3475
3477
|
var tmp_16 = typeToken(createKType(getKClass(ScenePositionProvider), arrayOf([]), false));
|
|
3476
3478
|
var tmp$ret$16 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
3477
|
-
tmp_15.
|
|
3479
|
+
tmp_15.xdw_1 = Instance(di, tmp$ret$16, null).w67(this, scenePositionProvider$factory());
|
|
3478
3480
|
var tmp_17 = this;
|
|
3479
3481
|
// Inline function 'org.kodein.di.instance' call
|
|
3480
3482
|
// Inline function 'org.kodein.type.generic' call
|
|
3481
3483
|
var tmp_18 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
|
|
3482
3484
|
var tmp$ret$18 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
3483
|
-
tmp_17.
|
|
3485
|
+
tmp_17.ydw_1 = Instance(di, tmp$ret$18, null).w67(this, toClientEventsObserver$factory_1());
|
|
3484
3486
|
var tmp_19 = this;
|
|
3485
3487
|
// Inline function 'org.kodein.di.instance' call
|
|
3486
3488
|
// Inline function 'org.kodein.type.generic' call
|
|
3487
3489
|
var tmp_20 = typeToken(createKType(getKClass(FromClientEventsObserver), arrayOf([]), false));
|
|
3488
3490
|
var tmp$ret$20 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
3489
|
-
tmp_19.
|
|
3491
|
+
tmp_19.zdw_1 = Instance(di, tmp$ret$20, null).w67(this, fromClientEventsObserver$factory_1());
|
|
3490
3492
|
var tmp_21 = this;
|
|
3491
3493
|
// Inline function 'org.kodein.di.instance' call
|
|
3492
3494
|
// Inline function 'org.kodein.type.generic' call
|
|
3493
3495
|
var tmp_22 = typeToken(createKType(getKClass(DealerConfig), arrayOf([]), false));
|
|
3494
3496
|
var tmp$ret$22 = isInterface(tmp_22, TypeToken) ? tmp_22 : THROW_CCE();
|
|
3495
|
-
tmp_21.
|
|
3497
|
+
tmp_21.adx_1 = Instance(di, tmp$ret$22, null).w67(this, dealerConfig$factory());
|
|
3496
3498
|
var tmp_23 = this;
|
|
3497
3499
|
// Inline function 'org.kodein.di.instance' call
|
|
3498
3500
|
// Inline function 'org.kodein.type.generic' call
|
|
3499
3501
|
var tmp_24 = typeToken(createKType(getKClass(RandomPoolProvider), arrayOf([]), false));
|
|
3500
3502
|
var tmp$ret$24 = isInterface(tmp_24, TypeToken) ? tmp_24 : THROW_CCE();
|
|
3501
|
-
tmp_23.
|
|
3503
|
+
tmp_23.bdx_1 = Instance(di, tmp$ret$24, null).w67(this, poolProvider$factory());
|
|
3502
3504
|
var tmp_25 = this;
|
|
3503
3505
|
// Inline function 'org.kodein.di.instance' call
|
|
3504
3506
|
// Inline function 'org.kodein.type.generic' call
|
|
3505
3507
|
var tmp_26 = typeToken(createKType(getKClass(CardsDealerProvider), arrayOf([]), false));
|
|
3506
3508
|
var tmp$ret$26 = isInterface(tmp_26, TypeToken) ? tmp_26 : THROW_CCE();
|
|
3507
|
-
tmp_25.
|
|
3509
|
+
tmp_25.cdx_1 = Instance(di, tmp$ret$26, null).w67(this, cardsDealerProvider$factory());
|
|
3508
3510
|
}
|
|
3509
|
-
protoOf(ServerGameStoreContract).
|
|
3510
|
-
return plus(plus(plus(plus(plus(this.
|
|
3511
|
+
protoOf(ServerGameStoreContract).u9f = function () {
|
|
3512
|
+
return plus(plus(plus(plus(plus(this.kdw_1.u9f(), this.ndw_1.u9f()), this.ldw_1.u9f()), this.mdw_1.u9f()), this.odw_1.u9f()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl_0(this))]));
|
|
3511
3513
|
};
|
|
3512
|
-
protoOf(ServerGameStoreContract).
|
|
3513
|
-
var tmp = plus(plus(plus(plus(plus(plus(plus(this.
|
|
3514
|
+
protoOf(ServerGameStoreContract).v9f = function () {
|
|
3515
|
+
var tmp = plus(plus(plus(plus(plus(plus(plus(this.kdw_1.v9f(), listOfNotNull(_get_serverConfig__rk2g06(this).finishGameIfAllBots ? checkBotsMiddleware(_get_logger__rkp4sl_0(this)) : null)), this.ndw_1.v9f()), this.ldw_1.v9f()), this.mdw_1.v9f()), this.odw_1.v9f()), 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))).a9i(), finishingGameWhenCantStartNewMiddleware()]));
|
|
3514
3516
|
var tmp_0 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this));
|
|
3515
3517
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
3516
3518
|
var tmp1_logger = _get_logger__rkp4sl_0(this);
|
|
@@ -3702,7 +3704,7 @@
|
|
|
3702
3704
|
return this.i6q(store, next, action);
|
|
3703
3705
|
};
|
|
3704
3706
|
function _no_name_provided__qut3iv_3(this$0) {
|
|
3705
|
-
this.
|
|
3707
|
+
this.fdx_1 = this$0;
|
|
3706
3708
|
}
|
|
3707
3709
|
protoOf(_no_name_provided__qut3iv_3).r6o = function (action) {
|
|
3708
3710
|
return action instanceof MechanicAction;
|
|
@@ -3716,11 +3718,11 @@
|
|
|
3716
3718
|
var tmp;
|
|
3717
3719
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
3718
3720
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3719
|
-
var this_0 = this.
|
|
3720
|
-
var tableId = action_0.
|
|
3721
|
-
var gameCreatorPlayerId = action_0.
|
|
3721
|
+
var this_0 = this.fdx_1;
|
|
3722
|
+
var tableId = action_0.t88_1;
|
|
3723
|
+
var gameCreatorPlayerId = action_0.v88_1;
|
|
3722
3724
|
// Inline function 'kotlin.collections.map' call
|
|
3723
|
-
var this_1 = action_0.
|
|
3725
|
+
var this_1 = action_0.w88_1;
|
|
3724
3726
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3725
3727
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
3726
3728
|
var tmp0_iterator = this_1.j();
|
|
@@ -3761,7 +3763,7 @@
|
|
|
3761
3763
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3762
3764
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3763
3765
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3764
|
-
var tmp0_aid = this_0.
|
|
3766
|
+
var tmp0_aid = this_0.edx_1.q6m();
|
|
3765
3767
|
// Inline function 'kotlin.collections.map' call
|
|
3766
3768
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3767
3769
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -3786,17 +3788,17 @@
|
|
|
3786
3788
|
} else {
|
|
3787
3789
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
3788
3790
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3789
|
-
var this_2 = this.
|
|
3791
|
+
var this_2 = this.fdx_1;
|
|
3790
3792
|
var table = state.i6x();
|
|
3791
3793
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3792
|
-
var sendToPlayer_0 = new RoomActionPayload(this_2.
|
|
3794
|
+
var sendToPlayer_0 = new RoomActionPayload(this_2.edx_1.q6m(), table.id, null);
|
|
3793
3795
|
var tmp$ret$18 = mapToClient_16(action_0, sendToPlayer_0);
|
|
3794
3796
|
tmp = listOfNotNull(tmp$ret$18);
|
|
3795
3797
|
} else {
|
|
3796
3798
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
3797
3799
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3798
|
-
var this_3 = this.
|
|
3799
|
-
var tableId_0 = action_0.
|
|
3800
|
+
var this_3 = this.fdx_1;
|
|
3801
|
+
var tableId_0 = action_0.z88_1.id;
|
|
3800
3802
|
var gameCreatorPlayerId_0 = action_0.gameCreatorPlayerId;
|
|
3801
3803
|
// Inline function 'kotlin.collections.map' call
|
|
3802
3804
|
var this_4 = action_0.users;
|
|
@@ -3840,7 +3842,7 @@
|
|
|
3840
3842
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3841
3843
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3842
3844
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3843
|
-
var tmp0_aid_0 = this_3.
|
|
3845
|
+
var tmp0_aid_0 = this_3.edx_1.q6m();
|
|
3844
3846
|
// Inline function 'kotlin.collections.map' call
|
|
3845
3847
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3846
3848
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -3865,43 +3867,43 @@
|
|
|
3865
3867
|
} else {
|
|
3866
3868
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
3867
3869
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3868
|
-
var this_5 = this.
|
|
3870
|
+
var this_5 = this.fdx_1;
|
|
3869
3871
|
var table_0 = state.i6x();
|
|
3870
3872
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3871
|
-
var sendToPlayer_2 = new RoomActionPayload(this_5.
|
|
3873
|
+
var sendToPlayer_2 = new RoomActionPayload(this_5.edx_1.q6m(), table_0.id, null);
|
|
3872
3874
|
var tmp$ret$38 = mapToClient_14(action_0, sendToPlayer_2);
|
|
3873
3875
|
tmp = listOfNotNull(tmp$ret$38);
|
|
3874
3876
|
} else {
|
|
3875
3877
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
3876
3878
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3877
|
-
var this_6 = this.
|
|
3879
|
+
var this_6 = this.fdx_1;
|
|
3878
3880
|
var table_1 = state.i6x();
|
|
3879
3881
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3880
|
-
var sendToPlayer_3 = new RoomActionPayload(this_6.
|
|
3882
|
+
var sendToPlayer_3 = new RoomActionPayload(this_6.edx_1.q6m(), table_1.id, null);
|
|
3881
3883
|
var tmp$ret$40 = mapToClient_13(action_0, sendToPlayer_3);
|
|
3882
3884
|
tmp = listOfNotNull(tmp$ret$40);
|
|
3883
3885
|
} else {
|
|
3884
3886
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
3885
3887
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3886
|
-
var this_7 = this.
|
|
3888
|
+
var this_7 = this.fdx_1;
|
|
3887
3889
|
var table_2 = state.i6x();
|
|
3888
3890
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3889
|
-
var sendToPlayer_4 = new RoomActionPayload(this_7.
|
|
3891
|
+
var sendToPlayer_4 = new RoomActionPayload(this_7.edx_1.q6m(), table_2.id, null);
|
|
3890
3892
|
var tmp$ret$42 = mapToClient_12(action_0, sendToPlayer_4);
|
|
3891
3893
|
tmp = listOfNotNull(tmp$ret$42);
|
|
3892
3894
|
} else {
|
|
3893
3895
|
if (action_0 instanceof ErrorAction) {
|
|
3894
3896
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3895
|
-
var this_8 = this.
|
|
3897
|
+
var this_8 = this.fdx_1;
|
|
3896
3898
|
var table_3 = state.i6x();
|
|
3897
3899
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3898
|
-
var sendToPlayer_5 = new RoomActionPayload(this_8.
|
|
3900
|
+
var sendToPlayer_5 = new RoomActionPayload(this_8.edx_1.q6m(), table_3.id, null);
|
|
3899
3901
|
var tmp$ret$44 = mapToClient_11(action_0, sendToPlayer_5);
|
|
3900
3902
|
tmp = listOfNotNull(tmp$ret$44);
|
|
3901
3903
|
} else {
|
|
3902
3904
|
if (action_0 instanceof SceneMechanicAction) {
|
|
3903
3905
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
3904
|
-
var this_9 = this.
|
|
3906
|
+
var this_9 = this.fdx_1;
|
|
3905
3907
|
var table_4 = state.i6x();
|
|
3906
3908
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3907
3909
|
var tableId_1 = table_4.id;
|
|
@@ -3938,7 +3940,7 @@
|
|
|
3938
3940
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3939
3941
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3940
3942
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3941
|
-
var tmp0_aid_1 = this_9.
|
|
3943
|
+
var tmp0_aid_1 = this_9.edx_1.q6m();
|
|
3942
3944
|
// Inline function 'kotlin.collections.map' call
|
|
3943
3945
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3944
3946
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
|
|
@@ -3963,7 +3965,7 @@
|
|
|
3963
3965
|
} else {
|
|
3964
3966
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
3965
3967
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
3966
|
-
var this_10 = this.
|
|
3968
|
+
var this_10 = this.fdx_1;
|
|
3967
3969
|
var table_5 = state.i6x();
|
|
3968
3970
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3969
3971
|
var tableId_2 = table_5.id;
|
|
@@ -4000,7 +4002,7 @@
|
|
|
4000
4002
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
4001
4003
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
4002
4004
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4003
|
-
var tmp0_aid_2 = this_10.
|
|
4005
|
+
var tmp0_aid_2 = this_10.edx_1.q6m();
|
|
4004
4006
|
// Inline function 'kotlin.collections.map' call
|
|
4005
4007
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4006
4008
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
|
|
@@ -4025,7 +4027,7 @@
|
|
|
4025
4027
|
} else {
|
|
4026
4028
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
4027
4029
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4028
|
-
var this_11 = this.
|
|
4030
|
+
var this_11 = this.fdx_1;
|
|
4029
4031
|
var table_6 = state.i6x();
|
|
4030
4032
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
4031
4033
|
var tableId_3 = table_6.id;
|
|
@@ -4062,7 +4064,7 @@
|
|
|
4062
4064
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
4063
4065
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
4064
4066
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4065
|
-
var tmp0_aid_3 = this_11.
|
|
4067
|
+
var tmp0_aid_3 = this_11.edx_1.q6m();
|
|
4066
4068
|
// Inline function 'kotlin.collections.map' call
|
|
4067
4069
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4068
4070
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
|
|
@@ -4075,7 +4077,7 @@
|
|
|
4075
4077
|
}
|
|
4076
4078
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tableId_3, gameCreatorPlayerId_3, element_8, destination_20);
|
|
4077
4079
|
var tmp_0;
|
|
4078
|
-
if (this.
|
|
4080
|
+
if (this.fdx_1.ddx_1.supportBackwardActions && getPlayer(state.i6x().players, sendToPlayer_8.q7l_1).i74_1.m74_1) {
|
|
4079
4081
|
tmp_0 = null;
|
|
4080
4082
|
} else {
|
|
4081
4083
|
tmp_0 = mapToClient_8(action_0, sendToPlayer_8);
|
|
@@ -4093,79 +4095,79 @@
|
|
|
4093
4095
|
} else {
|
|
4094
4096
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
4095
4097
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4096
|
-
var this_12 = this.
|
|
4098
|
+
var this_12 = this.fdx_1;
|
|
4097
4099
|
var table_7 = state.i6x();
|
|
4098
|
-
var exceptPlayerId = this.
|
|
4100
|
+
var exceptPlayerId = this.fdx_1.ddx_1.supportBackwardActions ? action_0.z89_1 : null;
|
|
4099
4101
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4100
|
-
var sendToPlayer_9 = new RoomActionPayload(this_12.
|
|
4102
|
+
var sendToPlayer_9 = new RoomActionPayload(this_12.edx_1.q6m(), table_7.id, exceptPlayerId);
|
|
4101
4103
|
var tmp$ret$94 = mapToClient_7(action_0, sendToPlayer_9);
|
|
4102
4104
|
tmp = listOfNotNull(tmp$ret$94);
|
|
4103
4105
|
} else {
|
|
4104
4106
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
4105
4107
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4106
|
-
var this_13 = this.
|
|
4108
|
+
var this_13 = this.fdx_1;
|
|
4107
4109
|
var table_8 = state.i6x();
|
|
4108
|
-
var exceptPlayerId_0 = this.
|
|
4110
|
+
var exceptPlayerId_0 = this.fdx_1.ddx_1.supportBackwardActions ? action_0.d8a_1 : null;
|
|
4109
4111
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4110
|
-
var sendToPlayer_10 = new RoomActionPayload(this_13.
|
|
4112
|
+
var sendToPlayer_10 = new RoomActionPayload(this_13.edx_1.q6m(), table_8.id, exceptPlayerId_0);
|
|
4111
4113
|
var tmp$ret$96 = mapToClient_6(action_0, sendToPlayer_10);
|
|
4112
4114
|
tmp = listOfNotNull(tmp$ret$96);
|
|
4113
4115
|
} else {
|
|
4114
4116
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
4115
4117
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4116
|
-
var this_14 = this.
|
|
4118
|
+
var this_14 = this.fdx_1;
|
|
4117
4119
|
var table_9 = state.i6x();
|
|
4118
4120
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4119
|
-
var sendToPlayer_11 = new RoomActionPayload(this_14.
|
|
4121
|
+
var sendToPlayer_11 = new RoomActionPayload(this_14.edx_1.q6m(), table_9.id, null);
|
|
4120
4122
|
var tmp$ret$98 = mapToClient_5(action_0, sendToPlayer_11);
|
|
4121
4123
|
tmp = listOfNotNull(tmp$ret$98);
|
|
4122
4124
|
} else {
|
|
4123
4125
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
4124
4126
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4125
|
-
var this_15 = this.
|
|
4127
|
+
var this_15 = this.fdx_1;
|
|
4126
4128
|
var table_10 = state.i6x();
|
|
4127
|
-
var exceptPlayerId_1 = this.
|
|
4129
|
+
var exceptPlayerId_1 = this.fdx_1.ddx_1.supportBackwardActions ? action_0.k8a_1 : null;
|
|
4128
4130
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4129
|
-
var sendToPlayer_12 = new RoomActionPayload(this_15.
|
|
4131
|
+
var sendToPlayer_12 = new RoomActionPayload(this_15.edx_1.q6m(), table_10.id, exceptPlayerId_1);
|
|
4130
4132
|
var tmp$ret$100 = mapToClient_4(action_0, sendToPlayer_12);
|
|
4131
4133
|
tmp = listOfNotNull(tmp$ret$100);
|
|
4132
4134
|
} else {
|
|
4133
4135
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
4134
4136
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4135
|
-
var this_16 = this.
|
|
4137
|
+
var this_16 = this.fdx_1;
|
|
4136
4138
|
var table_11 = state.i6x();
|
|
4137
|
-
var exceptPlayerId_2 = this.
|
|
4139
|
+
var exceptPlayerId_2 = this.fdx_1.ddx_1.supportBackwardActions ? action_0.o8a_1 : null;
|
|
4138
4140
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4139
|
-
var sendToPlayer_13 = new RoomActionPayload(this_16.
|
|
4141
|
+
var sendToPlayer_13 = new RoomActionPayload(this_16.edx_1.q6m(), table_11.id, exceptPlayerId_2);
|
|
4140
4142
|
var tmp$ret$102 = mapToClient_3(action_0, sendToPlayer_13);
|
|
4141
4143
|
tmp = listOfNotNull(tmp$ret$102);
|
|
4142
4144
|
} else {
|
|
4143
4145
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
4144
4146
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4145
|
-
var this_17 = this.
|
|
4147
|
+
var this_17 = this.fdx_1;
|
|
4146
4148
|
var table_12 = state.i6x();
|
|
4147
4149
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4148
|
-
var sendToPlayer_14 = new RoomActionPayload(this_17.
|
|
4150
|
+
var sendToPlayer_14 = new RoomActionPayload(this_17.edx_1.q6m(), table_12.id, null);
|
|
4149
4151
|
var tmp$ret$104 = mapToClient_2(action_0, sendToPlayer_14);
|
|
4150
4152
|
tmp = listOfNotNull(tmp$ret$104);
|
|
4151
4153
|
} else {
|
|
4152
4154
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
4153
4155
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4154
|
-
var this_18 = this.
|
|
4156
|
+
var this_18 = this.fdx_1;
|
|
4155
4157
|
var table_13 = state.i6x();
|
|
4156
4158
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4157
|
-
var sendToPlayer_15 = new RoomActionPayload(this_18.
|
|
4159
|
+
var sendToPlayer_15 = new RoomActionPayload(this_18.edx_1.q6m(), table_13.id, null);
|
|
4158
4160
|
var tmp$ret$106 = mapToClient_1(action_0, sendToPlayer_15);
|
|
4159
4161
|
tmp = listOfNotNull(tmp$ret$106);
|
|
4160
4162
|
} else {
|
|
4161
4163
|
if (action_0 instanceof MessageMechanicAction) {
|
|
4162
|
-
var message = action_0.
|
|
4164
|
+
var message = action_0.w8a_1;
|
|
4163
4165
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4164
|
-
var this_19 = this.
|
|
4166
|
+
var this_19 = this.fdx_1;
|
|
4165
4167
|
var table_14 = state.i6x();
|
|
4166
4168
|
var tmp_1;
|
|
4167
4169
|
var tmp_2;
|
|
4168
|
-
if (this.
|
|
4170
|
+
if (this.fdx_1.ddx_1.supportBackwardActions) {
|
|
4169
4171
|
tmp_2 = isInterface(message, UserMessage);
|
|
4170
4172
|
} else {
|
|
4171
4173
|
tmp_2 = false;
|
|
@@ -4177,17 +4179,17 @@
|
|
|
4177
4179
|
}
|
|
4178
4180
|
var exceptPlayerId_3 = tmp_1;
|
|
4179
4181
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4180
|
-
var sendToPlayer_16 = new RoomActionPayload(this_19.
|
|
4182
|
+
var sendToPlayer_16 = new RoomActionPayload(this_19.edx_1.q6m(), table_14.id, exceptPlayerId_3);
|
|
4181
4183
|
var tmp$ret$108 = mapToClient_0(action_0, sendToPlayer_16);
|
|
4182
4184
|
tmp = listOfNotNull(tmp$ret$108);
|
|
4183
4185
|
} else {
|
|
4184
4186
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
4185
4187
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4186
|
-
var this_20 = this.
|
|
4188
|
+
var this_20 = this.fdx_1;
|
|
4187
4189
|
var table_15 = state.i6x();
|
|
4188
4190
|
var exceptPlayerId_4 = action_0.playerId;
|
|
4189
4191
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4190
|
-
var sendToPlayer_17 = new RoomActionPayload(this_20.
|
|
4192
|
+
var sendToPlayer_17 = new RoomActionPayload(this_20.edx_1.q6m(), table_15.id, exceptPlayerId_4);
|
|
4191
4193
|
var tmp$ret$110 = mapToClient(action_0, sendToPlayer_17);
|
|
4192
4194
|
tmp = listOfNotNull(tmp$ret$110);
|
|
4193
4195
|
} else {
|
|
@@ -4225,10 +4227,10 @@
|
|
|
4225
4227
|
return this.i6q(store, next, action);
|
|
4226
4228
|
};
|
|
4227
4229
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
4228
|
-
this.
|
|
4229
|
-
this.
|
|
4230
|
+
this.ddx_1 = logicConfig;
|
|
4231
|
+
this.edx_1 = idsProvider;
|
|
4230
4232
|
}
|
|
4231
|
-
protoOf(ServerMapMechanicToClientActionMiddleware).
|
|
4233
|
+
protoOf(ServerMapMechanicToClientActionMiddleware).a9i = function () {
|
|
4232
4234
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
4233
4235
|
return new _no_name_provided__qut3iv_3(this);
|
|
4234
4236
|
};
|
|
@@ -4237,8 +4239,8 @@
|
|
|
4237
4239
|
return new _no_name_provided__qut3iv_4(asyncProvider, provider);
|
|
4238
4240
|
}
|
|
4239
4241
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
4240
|
-
this.
|
|
4241
|
-
this.
|
|
4242
|
+
this.odx_1 = $provider;
|
|
4243
|
+
this.pdx_1 = $action;
|
|
4242
4244
|
CoroutineImpl.call(this, resultContinuation);
|
|
4243
4245
|
}
|
|
4244
4246
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).g1f = function ($this$launchDefault, $completion) {
|
|
@@ -4259,7 +4261,7 @@
|
|
|
4259
4261
|
case 0:
|
|
4260
4262
|
this.k9_1 = 2;
|
|
4261
4263
|
this.j9_1 = 1;
|
|
4262
|
-
suspendResult = this.
|
|
4264
|
+
suspendResult = this.odx_1.vdt(this.pdx_1, this);
|
|
4263
4265
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4264
4266
|
return suspendResult;
|
|
4265
4267
|
}
|
|
@@ -4282,8 +4284,8 @@
|
|
|
4282
4284
|
while (true);
|
|
4283
4285
|
};
|
|
4284
4286
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).h1f = function ($this$launchDefault, completion) {
|
|
4285
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
4286
|
-
i.
|
|
4287
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.odx_1, this.pdx_1, completion);
|
|
4288
|
+
i.qdx_1 = $this$launchDefault;
|
|
4287
4289
|
return i;
|
|
4288
4290
|
};
|
|
4289
4291
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -4295,8 +4297,8 @@
|
|
|
4295
4297
|
return l;
|
|
4296
4298
|
}
|
|
4297
4299
|
function _no_name_provided__qut3iv_4($asyncProvider, $provider) {
|
|
4298
|
-
this.
|
|
4299
|
-
this.
|
|
4300
|
+
this.rdx_1 = $asyncProvider;
|
|
4301
|
+
this.sdx_1 = $provider;
|
|
4300
4302
|
}
|
|
4301
4303
|
protoOf(_no_name_provided__qut3iv_4).r6o = function (action) {
|
|
4302
4304
|
return action instanceof ToClientAction;
|
|
@@ -4304,7 +4306,7 @@
|
|
|
4304
4306
|
protoOf(_no_name_provided__qut3iv_4).i6q = function (store, next, action) {
|
|
4305
4307
|
// Inline function 'games.jass.logic.server.redux.middlewares.events.sendToClientActionMiddleware.<anonymous>' call
|
|
4306
4308
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
4307
|
-
this.
|
|
4309
|
+
this.rdx_1.n6l(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.sdx_1, action_0, null));
|
|
4308
4310
|
next(action_0);
|
|
4309
4311
|
};
|
|
4310
4312
|
protoOf(_no_name_provided__qut3iv_4).q6o = function (store, next, action) {
|
|
@@ -4319,13 +4321,13 @@
|
|
|
4319
4321
|
protoOf(_no_name_provided__qut3iv_5).r6o = function (action) {
|
|
4320
4322
|
return action instanceof UpdateServerConfigAction;
|
|
4321
4323
|
};
|
|
4322
|
-
protoOf(_no_name_provided__qut3iv_5).
|
|
4324
|
+
protoOf(_no_name_provided__qut3iv_5).o9q = function (state, action) {
|
|
4323
4325
|
// Inline function 'games.jass.logic.server.redux.reducers.serverConfigReducer.<anonymous>' call
|
|
4324
4326
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
4325
|
-
return state.
|
|
4327
|
+
return state.w9c(VOID, get_serverStatePayload(state).copy(action_0.hdw_1));
|
|
4326
4328
|
};
|
|
4327
4329
|
protoOf(_no_name_provided__qut3iv_5).j6q = function (state, action) {
|
|
4328
|
-
return this.
|
|
4330
|
+
return this.o9q((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
4329
4331
|
};
|
|
4330
4332
|
function ServerMechanicLifecycleReducer$onStart$lambda($action) {
|
|
4331
4333
|
return function (it) {
|
|
@@ -4338,7 +4340,7 @@
|
|
|
4338
4340
|
var tmp_2 = PlayerConnectionState_LIVE_getInstance();
|
|
4339
4341
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
4340
4342
|
Companion_getInstance();
|
|
4341
|
-
var this_0 = $action.
|
|
4343
|
+
var this_0 = $action.s88_1.timeoutTimeMillis;
|
|
4342
4344
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
4343
4345
|
tmp_0 = tmp_1.i6g(tmp_2, tmp$ret$0);
|
|
4344
4346
|
}
|
|
@@ -4347,57 +4349,57 @@
|
|
|
4347
4349
|
}
|
|
4348
4350
|
function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
|
|
4349
4351
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
4350
|
-
this.
|
|
4352
|
+
this.vdx_1 = logger;
|
|
4351
4353
|
}
|
|
4352
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
4354
|
+
protoOf(ServerMechanicLifecycleReducer).a9s = function (state, action) {
|
|
4353
4355
|
var serverState = get_serverStatePayloadOrNull(state.s6w_1);
|
|
4354
4356
|
var tmp8_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
4355
|
-
var tmp0_$this = this.
|
|
4356
|
-
var tmp1_tableId = action.
|
|
4357
|
-
var tmp2_gameId = action.
|
|
4358
|
-
var tmp3_version = action.
|
|
4359
|
-
var tmp4_config = action.
|
|
4360
|
-
var tmp5_users = action.
|
|
4357
|
+
var tmp0_$this = this.b9s_1;
|
|
4358
|
+
var tmp1_tableId = action.t88_1;
|
|
4359
|
+
var tmp2_gameId = action.t88_1;
|
|
4360
|
+
var tmp3_version = action.u88_1;
|
|
4361
|
+
var tmp4_config = action.s88_1;
|
|
4362
|
+
var tmp5_users = action.w88_1;
|
|
4361
4363
|
var tmp6_spectators = action.spectators;
|
|
4362
|
-
var tmp7_gameCreatorPlayerId = action.
|
|
4363
|
-
var tmp9_tableOrNull = tmp0_$this.
|
|
4364
|
+
var tmp7_gameCreatorPlayerId = action.v88_1;
|
|
4365
|
+
var tmp9_tableOrNull = tmp0_$this.h9t(tmp1_tableId, tmp2_gameId, tmp4_config, tmp3_version, tmp5_users, tmp6_spectators, tmp7_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
|
|
4364
4366
|
var tmp;
|
|
4365
4367
|
if (serverState == null) {
|
|
4366
|
-
this.
|
|
4368
|
+
this.vdx_1.w(VOID, 'ServerPayload is not onStart');
|
|
4367
4369
|
tmp = Companion_instance_10.initial();
|
|
4368
4370
|
} else {
|
|
4369
4371
|
tmp = serverState;
|
|
4370
4372
|
}
|
|
4371
4373
|
var tmp10_payload = tmp;
|
|
4372
|
-
return state.
|
|
4374
|
+
return state.w9c(tmp9_tableOrNull, tmp10_payload, tmp8_gameLifecycleState);
|
|
4373
4375
|
};
|
|
4374
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
4376
|
+
protoOf(ServerMechanicLifecycleReducer).y9r = function (state, action) {
|
|
4375
4377
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
4376
|
-
var tmp2_tableOrNull = action.
|
|
4378
|
+
var tmp2_tableOrNull = action.z88_1;
|
|
4377
4379
|
var tmp = Companion_instance_10;
|
|
4378
4380
|
var tmp_0 = get_serverStatePayload(state).config;
|
|
4379
|
-
var tmp_1 = action.
|
|
4381
|
+
var tmp_1 = action.a89_1;
|
|
4380
4382
|
var tmp0_safe_receiver = tmp_1 instanceof RestartRoundReason ? tmp_1 : null;
|
|
4381
4383
|
var tmp3_payload = tmp.initial(tmp_0.copy(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.c6e_1));
|
|
4382
|
-
return state.
|
|
4384
|
+
return state.w9c(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
|
|
4383
4385
|
};
|
|
4384
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
4385
|
-
this.
|
|
4386
|
+
protoOf(ServerMechanicLifecycleReducer).z9r = function (state, action) {
|
|
4387
|
+
this.c9s_1.c5v(action.previousGameId);
|
|
4386
4388
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
4387
|
-
var tmp1_tableOrNull = this.
|
|
4388
|
-
return state.
|
|
4389
|
+
var tmp1_tableOrNull = this.b9s_1.i9t(state.i6x(), action.gameId);
|
|
4390
|
+
return state.w9c(tmp1_tableOrNull, VOID, tmp0_gameLifecycleState);
|
|
4389
4391
|
};
|
|
4390
4392
|
function spectatorsReducer(logger) {
|
|
4391
4393
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
4392
4394
|
return new _no_name_provided__qut3iv_6(logger);
|
|
4393
4395
|
}
|
|
4394
4396
|
function _no_name_provided__qut3iv_6($logger) {
|
|
4395
|
-
this.
|
|
4397
|
+
this.wdx_1 = $logger;
|
|
4396
4398
|
}
|
|
4397
4399
|
protoOf(_no_name_provided__qut3iv_6).r6o = function (action) {
|
|
4398
4400
|
return isInterface(action, SpectatorsAction);
|
|
4399
4401
|
};
|
|
4400
|
-
protoOf(_no_name_provided__qut3iv_6).
|
|
4402
|
+
protoOf(_no_name_provided__qut3iv_6).o9q = function (state, action) {
|
|
4401
4403
|
// Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>' call
|
|
4402
4404
|
var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
|
|
4403
4405
|
var table = state.i6x();
|
|
@@ -4405,7 +4407,7 @@
|
|
|
4405
4407
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
4406
4408
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
4407
4409
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
4408
|
-
var this_0 = action_0.
|
|
4410
|
+
var this_0 = action_0.idw_1;
|
|
4409
4411
|
var destination = ArrayList_init_$Create$_0();
|
|
4410
4412
|
// Inline function 'kotlin.collections.forEach' call
|
|
4411
4413
|
var tmp0_iterator = this_0.j();
|
|
@@ -4427,10 +4429,10 @@
|
|
|
4427
4429
|
var tmp_0;
|
|
4428
4430
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
4429
4431
|
if (!sameSpectators.p()) {
|
|
4430
|
-
this.
|
|
4432
|
+
this.wdx_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
4431
4433
|
// Inline function 'kotlin.collections.filterNot' call
|
|
4432
4434
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
4433
|
-
var this_1 = action_0.
|
|
4435
|
+
var this_1 = action_0.idw_1;
|
|
4434
4436
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
4435
4437
|
var tmp0_iterator_0 = this_1.j();
|
|
4436
4438
|
while (tmp0_iterator_0.k()) {
|
|
@@ -4466,7 +4468,7 @@
|
|
|
4466
4468
|
}
|
|
4467
4469
|
tmp_0 = destination_0;
|
|
4468
4470
|
} else {
|
|
4469
|
-
tmp_0 = action_0.
|
|
4471
|
+
tmp_0 = action_0.idw_1;
|
|
4470
4472
|
}
|
|
4471
4473
|
var this_2 = tmp_0;
|
|
4472
4474
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -4479,12 +4481,12 @@
|
|
|
4479
4481
|
destination_1.e(tmp$ret$10);
|
|
4480
4482
|
}
|
|
4481
4483
|
var spectatorsToAdd = toSet(destination_1);
|
|
4482
|
-
tmp = state.
|
|
4484
|
+
tmp = state.w9c(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
|
|
4483
4485
|
} else {
|
|
4484
4486
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
4485
4487
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
4486
4488
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
4487
|
-
var this_3 = action_0.
|
|
4489
|
+
var this_3 = action_0.jdw_1;
|
|
4488
4490
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
4489
4491
|
// Inline function 'kotlin.collections.forEach' call
|
|
4490
4492
|
var tmp0_iterator_3 = this_3.j();
|
|
@@ -4505,10 +4507,10 @@
|
|
|
4505
4507
|
var tmp_2;
|
|
4506
4508
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
4507
4509
|
if (!sameSpectators_0.p()) {
|
|
4508
|
-
this.
|
|
4510
|
+
this.wdx_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
4509
4511
|
// Inline function 'kotlin.collections.filterNot' call
|
|
4510
4512
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
4511
|
-
var this_4 = action_0.
|
|
4513
|
+
var this_4 = action_0.jdw_1;
|
|
4512
4514
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
4513
4515
|
var tmp0_iterator_4 = this_4.j();
|
|
4514
4516
|
while (tmp0_iterator_4.k()) {
|
|
@@ -4544,7 +4546,7 @@
|
|
|
4544
4546
|
}
|
|
4545
4547
|
tmp_2 = destination_3;
|
|
4546
4548
|
} else {
|
|
4547
|
-
tmp_2 = action_0.
|
|
4549
|
+
tmp_2 = action_0.jdw_1;
|
|
4548
4550
|
}
|
|
4549
4551
|
var spectatorsToRemove = toSet(tmp_2);
|
|
4550
4552
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -4583,7 +4585,7 @@
|
|
|
4583
4585
|
destination_4.e(element_5);
|
|
4584
4586
|
}
|
|
4585
4587
|
}
|
|
4586
|
-
tmp = state.
|
|
4588
|
+
tmp = state.w9c(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
|
|
4587
4589
|
} else {
|
|
4588
4590
|
noWhenBranchMatchedException();
|
|
4589
4591
|
}
|
|
@@ -4591,16 +4593,16 @@
|
|
|
4591
4593
|
return tmp;
|
|
4592
4594
|
};
|
|
4593
4595
|
protoOf(_no_name_provided__qut3iv_6).j6q = function (state, action) {
|
|
4594
|
-
return this.
|
|
4596
|
+
return this.o9q((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
4595
4597
|
};
|
|
4596
4598
|
function Companion_2() {
|
|
4597
4599
|
}
|
|
4598
|
-
protoOf(Companion_2).
|
|
4600
|
+
protoOf(Companion_2).xdx = function (config) {
|
|
4599
4601
|
return new ServerStatePayload(config);
|
|
4600
4602
|
};
|
|
4601
4603
|
protoOf(Companion_2).initial = function (config, $super) {
|
|
4602
4604
|
config = config === VOID ? Companion_instance_8.initial(null) : config;
|
|
4603
|
-
return this.
|
|
4605
|
+
return this.xdx(config);
|
|
4604
4606
|
};
|
|
4605
4607
|
var Companion_instance_10;
|
|
4606
4608
|
function Companion_getInstance_3() {
|
|
@@ -4615,12 +4617,12 @@
|
|
|
4615
4617
|
protoOf(ServerStatePayload).ue = function () {
|
|
4616
4618
|
return this.config;
|
|
4617
4619
|
};
|
|
4618
|
-
protoOf(ServerStatePayload).
|
|
4620
|
+
protoOf(ServerStatePayload).ydx = function (config) {
|
|
4619
4621
|
return new ServerStatePayload(config);
|
|
4620
4622
|
};
|
|
4621
4623
|
protoOf(ServerStatePayload).copy = function (config, $super) {
|
|
4622
4624
|
config = config === VOID ? this.config : config;
|
|
4623
|
-
return this.
|
|
4625
|
+
return this.ydx(config);
|
|
4624
4626
|
};
|
|
4625
4627
|
protoOf(ServerStatePayload).toString = function () {
|
|
4626
4628
|
return 'ServerStatePayload(config=' + this.config.toString() + ')';
|
|
@@ -4672,13 +4674,13 @@
|
|
|
4672
4674
|
}
|
|
4673
4675
|
function _get_logger__rkp4sl_1($this) {
|
|
4674
4676
|
// Inline function 'kotlin.getValue' call
|
|
4675
|
-
var this_0 = $this.
|
|
4677
|
+
var this_0 = $this.hdy_1;
|
|
4676
4678
|
logger$factory_3();
|
|
4677
4679
|
return this_0.u();
|
|
4678
4680
|
}
|
|
4679
4681
|
function _get_di__ndbzja($this) {
|
|
4680
4682
|
// Inline function 'kotlin.getValue' call
|
|
4681
|
-
var this_0 = $this.
|
|
4683
|
+
var this_0 = $this.idy_1;
|
|
4682
4684
|
di$factory();
|
|
4683
4685
|
return this_0.u();
|
|
4684
4686
|
}
|
|
@@ -4689,13 +4691,13 @@
|
|
|
4689
4691
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
4690
4692
|
return function () {
|
|
4691
4693
|
var tmp;
|
|
4692
|
-
if (this$0.
|
|
4694
|
+
if (this$0.fdy_1 == null) {
|
|
4693
4695
|
tmp = null;
|
|
4694
4696
|
} else {
|
|
4695
4697
|
// Inline function 'kotlin.let' call
|
|
4696
4698
|
// Inline function 'kotlin.contracts.contract' call
|
|
4697
4699
|
// Inline function 'GameServerEngineControllerImpl.logger$delegate.<anonymous>.<anonymous>' call
|
|
4698
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
4700
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.fdy_1)]));
|
|
4699
4701
|
}
|
|
4700
4702
|
var tmp1_elvis_lhs = tmp;
|
|
4701
4703
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -4723,7 +4725,7 @@
|
|
|
4723
4725
|
tmp_0.z65(tmp$ret$3);
|
|
4724
4726
|
$this$DI.d62(jsonModule());
|
|
4725
4727
|
$this$DI.d62(serverHelpersModule());
|
|
4726
|
-
$this$DI.d62(randomOrgModule(this$0.
|
|
4728
|
+
$this$DI.d62(randomOrgModule(this$0.gdy_1));
|
|
4727
4729
|
return Unit_instance;
|
|
4728
4730
|
};
|
|
4729
4731
|
}
|
|
@@ -4734,16 +4736,16 @@
|
|
|
4734
4736
|
};
|
|
4735
4737
|
}
|
|
4736
4738
|
function _no_name_provided__qut3iv_7($item) {
|
|
4737
|
-
this.
|
|
4739
|
+
this.pdy_1 = $item;
|
|
4738
4740
|
}
|
|
4739
4741
|
protoOf(_no_name_provided__qut3iv_7).r6o = function (action) {
|
|
4740
4742
|
return isInterface(action, Action);
|
|
4741
4743
|
};
|
|
4742
|
-
protoOf(_no_name_provided__qut3iv_7).
|
|
4743
|
-
return this.
|
|
4744
|
+
protoOf(_no_name_provided__qut3iv_7).o9q = function (state, action) {
|
|
4745
|
+
return this.pdy_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
4744
4746
|
};
|
|
4745
4747
|
protoOf(_no_name_provided__qut3iv_7).j6q = function (state, action) {
|
|
4746
|
-
return this.
|
|
4748
|
+
return this.o9q((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
4747
4749
|
};
|
|
4748
4750
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($fileLoggerOutput) {
|
|
4749
4751
|
return function ($this$singleton) {
|
|
@@ -4800,7 +4802,7 @@
|
|
|
4800
4802
|
}
|
|
4801
4803
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0($gameServer) {
|
|
4802
4804
|
return function (it) {
|
|
4803
|
-
var tmp0_elvis_lhs = Companion_instance_4.
|
|
4805
|
+
var tmp0_elvis_lhs = Companion_instance_4.k9v(it);
|
|
4804
4806
|
var tmp;
|
|
4805
4807
|
if (tmp0_elvis_lhs == null) {
|
|
4806
4808
|
var tmp1_safe_receiver = $gameServer.r6f().r6w_1;
|
|
@@ -4813,7 +4815,7 @@
|
|
|
4813
4815
|
}
|
|
4814
4816
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1($gameServer) {
|
|
4815
4817
|
return function (it) {
|
|
4816
|
-
var tmp0_elvis_lhs = Companion_instance_5.
|
|
4818
|
+
var tmp0_elvis_lhs = Companion_instance_5.v9t(it);
|
|
4817
4819
|
var tmp;
|
|
4818
4820
|
if (tmp0_elvis_lhs == null) {
|
|
4819
4821
|
var tmp1_safe_receiver = $gameServer.r6f().r6w_1;
|
|
@@ -4835,7 +4837,7 @@
|
|
|
4835
4837
|
// Inline function 'kotlin.contracts.contract' call
|
|
4836
4838
|
$this$DI.d62(tmp0_safe_receiver);
|
|
4837
4839
|
}
|
|
4838
|
-
$this$DI.d62(dealerModule(this$0.randomPoolProvider, this$0.
|
|
4840
|
+
$this$DI.d62(dealerModule(this$0.randomPoolProvider, this$0.gdy_1));
|
|
4839
4841
|
$this$DI.d62(coreModule($coreConfig));
|
|
4840
4842
|
$this$DI.d62(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $externalReducers, $externalMiddlewares));
|
|
4841
4843
|
return Unit_instance;
|
|
@@ -4844,89 +4846,89 @@
|
|
|
4844
4846
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
4845
4847
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
4846
4848
|
production = production === VOID ? true : production;
|
|
4847
|
-
this.
|
|
4848
|
-
this.
|
|
4849
|
+
this.fdy_1 = loggerCallback;
|
|
4850
|
+
this.gdy_1 = randomOrgConfig;
|
|
4849
4851
|
AppEnvironment_getInstance().a6w(production ? AppEnvironmentValue_PRODUCTION_getInstance() : AppEnvironmentValue_DEVELOPMENT_getInstance());
|
|
4850
4852
|
var tmp = this;
|
|
4851
|
-
tmp.
|
|
4853
|
+
tmp.hdy_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
4852
4854
|
var tmp_0 = this;
|
|
4853
|
-
tmp_0.
|
|
4855
|
+
tmp_0.idy_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
4854
4856
|
var tmp_1 = this;
|
|
4855
4857
|
// Inline function 'org.kodein.di.instance' call
|
|
4856
4858
|
var this_0 = _get_di__ndbzja(this);
|
|
4857
4859
|
// Inline function 'org.kodein.type.generic' call
|
|
4858
4860
|
var tmp_2 = typeToken(createKType(getKClass(ParserHelper), arrayOf([]), false));
|
|
4859
4861
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
4860
|
-
tmp_1.
|
|
4862
|
+
tmp_1.jdy_1 = Instance(this_0, tmp$ret$0, null).w67(this, parser$factory());
|
|
4861
4863
|
var tmp_3 = this;
|
|
4862
4864
|
// Inline function 'org.kodein.di.instance' call
|
|
4863
4865
|
var this_1 = _get_di__ndbzja(this);
|
|
4864
4866
|
// Inline function 'org.kodein.type.generic' call
|
|
4865
4867
|
var tmp_4 = typeToken(createKType(getKClass(GameHelper), arrayOf([]), false));
|
|
4866
4868
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
4867
|
-
tmp_3.
|
|
4869
|
+
tmp_3.kdy_1 = Instance(this_1, tmp$ret$2, null).w67(this, helper$factory());
|
|
4868
4870
|
var tmp_5 = this;
|
|
4869
4871
|
// Inline function 'org.kodein.di.instance' call
|
|
4870
4872
|
var this_2 = _get_di__ndbzja(this);
|
|
4871
4873
|
// Inline function 'org.kodein.type.generic' call
|
|
4872
4874
|
var tmp_6 = typeToken(createKType(getKClass(GameServerHelper), arrayOf([]), false));
|
|
4873
4875
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
4874
|
-
tmp_5.
|
|
4876
|
+
tmp_5.ldy_1 = Instance(this_2, tmp$ret$4, null).w67(this, serverHelper$factory());
|
|
4875
4877
|
var tmp_7 = this;
|
|
4876
4878
|
// Inline function 'org.kodein.di.instance' call
|
|
4877
4879
|
var this_3 = _get_di__ndbzja(this);
|
|
4878
4880
|
// Inline function 'org.kodein.type.generic' call
|
|
4879
4881
|
var tmp_8 = typeToken(createKType(getKClass(GameResources), arrayOf([]), false));
|
|
4880
4882
|
var tmp$ret$6 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
4881
|
-
tmp_7.
|
|
4883
|
+
tmp_7.mdy_1 = Instance(this_3, tmp$ret$6, null).w67(this, resources$factory());
|
|
4882
4884
|
var tmp_9 = this;
|
|
4883
4885
|
// Inline function 'org.kodein.di.instance' call
|
|
4884
4886
|
var this_4 = _get_di__ndbzja(this);
|
|
4885
4887
|
// Inline function 'org.kodein.type.generic' call
|
|
4886
4888
|
var tmp_10 = typeToken(createKType(getKClass(TestHelper), arrayOf([]), false));
|
|
4887
4889
|
var tmp$ret$8 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
4888
|
-
tmp_9.
|
|
4890
|
+
tmp_9.ndy_1 = Instance(this_4, tmp$ret$8, null).w67(this, test$factory());
|
|
4889
4891
|
var tmp_11 = this;
|
|
4890
4892
|
// Inline function 'org.kodein.di.instance' call
|
|
4891
4893
|
var this_5 = _get_di__ndbzja(this);
|
|
4892
4894
|
// Inline function 'org.kodein.type.generic' call
|
|
4893
4895
|
var tmp_12 = typeToken(createKType(getKClass(RandomPoolProvider), arrayOf([]), false));
|
|
4894
4896
|
var tmp$ret$10 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
4895
|
-
tmp_11.
|
|
4897
|
+
tmp_11.ody_1 = Instance(this_5, tmp$ret$10, null).w67(this, randomPoolProvider$factory());
|
|
4896
4898
|
}
|
|
4897
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4899
|
+
protoOf(GameServerEngineControllerImpl).wde = function () {
|
|
4898
4900
|
// Inline function 'kotlin.getValue' call
|
|
4899
|
-
var this_0 = this.
|
|
4901
|
+
var this_0 = this.jdy_1;
|
|
4900
4902
|
parser$factory_0();
|
|
4901
4903
|
return this_0.u();
|
|
4902
4904
|
};
|
|
4903
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4905
|
+
protoOf(GameServerEngineControllerImpl).ady = function () {
|
|
4904
4906
|
// Inline function 'kotlin.getValue' call
|
|
4905
|
-
var this_0 = this.
|
|
4907
|
+
var this_0 = this.kdy_1;
|
|
4906
4908
|
helper$factory_0();
|
|
4907
4909
|
return this_0.u();
|
|
4908
4910
|
};
|
|
4909
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4911
|
+
protoOf(GameServerEngineControllerImpl).bdy = function () {
|
|
4910
4912
|
// Inline function 'kotlin.getValue' call
|
|
4911
|
-
var this_0 = this.
|
|
4913
|
+
var this_0 = this.ldy_1;
|
|
4912
4914
|
serverHelper$factory_0();
|
|
4913
4915
|
return this_0.u();
|
|
4914
4916
|
};
|
|
4915
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4917
|
+
protoOf(GameServerEngineControllerImpl).cdy = function () {
|
|
4916
4918
|
// Inline function 'kotlin.getValue' call
|
|
4917
|
-
var this_0 = this.
|
|
4919
|
+
var this_0 = this.mdy_1;
|
|
4918
4920
|
resources$factory_0();
|
|
4919
4921
|
return this_0.u();
|
|
4920
4922
|
};
|
|
4921
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4923
|
+
protoOf(GameServerEngineControllerImpl).zdx = function () {
|
|
4922
4924
|
// Inline function 'kotlin.getValue' call
|
|
4923
|
-
var this_0 = this.
|
|
4925
|
+
var this_0 = this.ndy_1;
|
|
4924
4926
|
test$factory_0();
|
|
4925
4927
|
return this_0.u();
|
|
4926
4928
|
};
|
|
4927
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4929
|
+
protoOf(GameServerEngineControllerImpl).ddy = function () {
|
|
4928
4930
|
// Inline function 'kotlin.getValue' call
|
|
4929
|
-
var this_0 = this.
|
|
4931
|
+
var this_0 = this.ody_1;
|
|
4930
4932
|
randomPoolProvider$factory_0();
|
|
4931
4933
|
return this_0.u();
|
|
4932
4934
|
};
|
|
@@ -4936,7 +4938,7 @@
|
|
|
4936
4938
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
4937
4939
|
return this.createGameEngineWithLogic();
|
|
4938
4940
|
};
|
|
4939
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4941
|
+
protoOf(GameServerEngineControllerImpl).edy = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig) {
|
|
4940
4942
|
var combinedLogger = Companion_instance_6.fn();
|
|
4941
4943
|
var tmp;
|
|
4942
4944
|
if (coreConfig.fileLogsEnabled) {
|
|
@@ -4946,8 +4948,8 @@
|
|
|
4946
4948
|
}
|
|
4947
4949
|
var fileLoggerOutput = tmp;
|
|
4948
4950
|
var tmp_0;
|
|
4949
|
-
if (!(this.
|
|
4950
|
-
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.
|
|
4951
|
+
if (!(this.fdy_1 == null)) {
|
|
4952
|
+
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.fdy_1));
|
|
4951
4953
|
} else {
|
|
4952
4954
|
tmp_0 = null;
|
|
4953
4955
|
}
|
|
@@ -4990,12 +4992,12 @@
|
|
|
4990
4992
|
var gameServer = tmp_1.n63(tmp$ret$7, null);
|
|
4991
4993
|
if (!(fileLoggerOutput == null)) {
|
|
4992
4994
|
var tmp_3 = fileLoggerOutput;
|
|
4993
|
-
tmp_3.
|
|
4995
|
+
tmp_3.z9u_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0(gameServer);
|
|
4994
4996
|
combinedLogger.hn(fileLoggerOutput);
|
|
4995
4997
|
}
|
|
4996
4998
|
if (!(callbackWrapperLoggerOutput == null)) {
|
|
4997
4999
|
var tmp_4 = callbackWrapperLoggerOutput;
|
|
4998
|
-
tmp_4.
|
|
5000
|
+
tmp_4.x9t_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1(gameServer);
|
|
4999
5001
|
combinedLogger.hn(callbackWrapperLoggerOutput);
|
|
5000
5002
|
}
|
|
5001
5003
|
return gameServer;
|
|
@@ -5081,13 +5083,13 @@
|
|
|
5081
5083
|
}
|
|
5082
5084
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
5083
5085
|
// Inline function 'kotlin.getValue' call
|
|
5084
|
-
var this_0 = $this.
|
|
5086
|
+
var this_0 = $this.sdy_1;
|
|
5085
5087
|
playerAnswerInteractor$factory_0();
|
|
5086
5088
|
return this_0.u();
|
|
5087
5089
|
}
|
|
5088
5090
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
5089
5091
|
return function ($this$singleton) {
|
|
5090
|
-
return this$0.
|
|
5092
|
+
return this$0.qdy_1;
|
|
5091
5093
|
};
|
|
5092
5094
|
}
|
|
5093
5095
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -5116,20 +5118,20 @@
|
|
|
5116
5118
|
return emptyMap();
|
|
5117
5119
|
}
|
|
5118
5120
|
function TestHelperImpl(logger) {
|
|
5119
|
-
this.
|
|
5121
|
+
this.qdy_1 = logger;
|
|
5120
5122
|
var tmp = this;
|
|
5121
5123
|
var tmp_0 = Companion_instance_3;
|
|
5122
|
-
tmp.
|
|
5124
|
+
tmp.rdy_1 = tmp_0.k62(VOID, TestHelperImpl$di$lambda(this));
|
|
5123
5125
|
var tmp_1 = this;
|
|
5124
5126
|
// Inline function 'org.kodein.di.instance' call
|
|
5125
|
-
var this_0 = this.
|
|
5127
|
+
var this_0 = this.rdy_1;
|
|
5126
5128
|
// Inline function 'org.kodein.type.generic' call
|
|
5127
5129
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
5128
5130
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5129
|
-
tmp_1.
|
|
5131
|
+
tmp_1.sdy_1 = Instance(this_0, tmp$ret$0, null).w67(this, playerAnswerInteractor$factory());
|
|
5130
5132
|
}
|
|
5131
5133
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
5132
|
-
return _get_playerAnswerInteractor__msggz1(this).
|
|
5134
|
+
return _get_playerAnswerInteractor__msggz1(this).r93(playerId, table, botConfig);
|
|
5133
5135
|
};
|
|
5134
5136
|
protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
|
|
5135
5137
|
var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
|
|
@@ -5137,7 +5139,7 @@
|
|
|
5137
5139
|
var tmp$ret$0;
|
|
5138
5140
|
$l$block_0: {
|
|
5139
5141
|
// Inline function 'kotlin.collections.any' call
|
|
5140
|
-
var this_0 = mechanicAction.
|
|
5142
|
+
var this_0 = mechanicAction.z9e();
|
|
5141
5143
|
var tmp;
|
|
5142
5144
|
if (isInterface(this_0, Collection)) {
|
|
5143
5145
|
tmp = this_0.p();
|
|
@@ -5170,7 +5172,7 @@
|
|
|
5170
5172
|
var tmp$ret$0;
|
|
5171
5173
|
$l$block_0: {
|
|
5172
5174
|
// Inline function 'kotlin.collections.any' call
|
|
5173
|
-
var this_0 = action.
|
|
5175
|
+
var this_0 = action.z9e();
|
|
5174
5176
|
var tmp;
|
|
5175
5177
|
if (isInterface(this_0, Collection)) {
|
|
5176
5178
|
tmp = this_0.p();
|
|
@@ -5291,22 +5293,22 @@
|
|
|
5291
5293
|
});
|
|
5292
5294
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
5293
5295
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
5294
|
-
return this.
|
|
5296
|
+
return this.wde();
|
|
5295
5297
|
});
|
|
5296
5298
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
5297
|
-
return this.
|
|
5299
|
+
return this.ady();
|
|
5298
5300
|
});
|
|
5299
5301
|
defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
|
|
5300
|
-
return this.
|
|
5302
|
+
return this.bdy();
|
|
5301
5303
|
});
|
|
5302
5304
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
5303
|
-
return this.
|
|
5305
|
+
return this.cdy();
|
|
5304
5306
|
});
|
|
5305
5307
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
5306
|
-
return this.
|
|
5308
|
+
return this.zdx();
|
|
5307
5309
|
});
|
|
5308
5310
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
5309
|
-
return this.
|
|
5311
|
+
return this.ddy();
|
|
5310
5312
|
});
|
|
5311
5313
|
//endregion
|
|
5312
5314
|
//region block: init
|