client_plugin_logic_deb 1.8.320 → 1.8.321
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1 -1
- package/Logic_Debertz-client_plugin.js +1919 -1919
- package/Logic_Debertz-core.js +1 -1
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +483 -456
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js +535 -535
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +6 -6
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +2 -2
- package/package.json +1 -1
|
@@ -326,15 +326,15 @@
|
|
|
326
326
|
tmp = spectators;
|
|
327
327
|
}
|
|
328
328
|
spectators = tmp;
|
|
329
|
-
return this.
|
|
329
|
+
return this.kdt(roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
330
330
|
}
|
|
331
331
|
function roomOnDelete(newRid, $super) {
|
|
332
332
|
newRid = newRid === VOID ? null : newRid;
|
|
333
|
-
return this.
|
|
333
|
+
return this.ldt(newRid);
|
|
334
334
|
}
|
|
335
335
|
function shutdown(reason, roomId, $super) {
|
|
336
336
|
roomId = roomId === VOID ? null : roomId;
|
|
337
|
-
return this.
|
|
337
|
+
return this.mdt(reason, roomId);
|
|
338
338
|
}
|
|
339
339
|
initMetadataForInterface(ServerGameEngineContract, 'ServerGameEngineContract', VOID, VOID, [GameStoreContract]);
|
|
340
340
|
initMetadataForClass(GameServer, 'GameServer', VOID, BaseGame, [BaseGame, ServerGameEngineContract]);
|
|
@@ -388,7 +388,7 @@
|
|
|
388
388
|
logicConfig = logicConfig === VOID ? new EngineLogicConfig() : logicConfig;
|
|
389
389
|
dealerConfig = dealerConfig === VOID ? new DealerConfig() : dealerConfig;
|
|
390
390
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
391
|
-
return this.
|
|
391
|
+
return this.bdy(reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig);
|
|
392
392
|
}
|
|
393
393
|
initMetadataForInterface(GameEngineController, 'GameEngineController');
|
|
394
394
|
initMetadataForClass(_no_name_provided__qut3iv_7, VOID, VOID, VOID, [Reducer]);
|
|
@@ -399,17 +399,17 @@
|
|
|
399
399
|
initMetadataForClass(TestHelperImpl, 'TestHelperImpl', VOID, VOID, [TestHelper]);
|
|
400
400
|
//endregion
|
|
401
401
|
function GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation) {
|
|
402
|
-
this.
|
|
402
|
+
this.idf_1 = $subscriber;
|
|
403
403
|
CoroutineImpl.call(this, resultContinuation);
|
|
404
404
|
}
|
|
405
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
406
|
-
var tmp = this.
|
|
405
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).kdf = function (it, $completion) {
|
|
406
|
+
var tmp = this.ldf(it, $completion);
|
|
407
407
|
tmp.l9_1 = Unit_instance;
|
|
408
408
|
tmp.m9_1 = null;
|
|
409
409
|
return tmp.r9();
|
|
410
410
|
};
|
|
411
411
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).ba = function (p1, $completion) {
|
|
412
|
-
return this.
|
|
412
|
+
return this.kdf(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
|
|
413
413
|
};
|
|
414
414
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).r9 = function () {
|
|
415
415
|
var suspendResult = this.l9_1;
|
|
@@ -418,7 +418,7 @@
|
|
|
418
418
|
var tmp = this.j9_1;
|
|
419
419
|
if (tmp === 0) {
|
|
420
420
|
this.k9_1 = 1;
|
|
421
|
-
this.
|
|
421
|
+
this.idf_1(this.jdf_1);
|
|
422
422
|
return Unit_instance;
|
|
423
423
|
} else if (tmp === 1) {
|
|
424
424
|
throw this.m9_1;
|
|
@@ -429,21 +429,21 @@
|
|
|
429
429
|
}
|
|
430
430
|
while (true);
|
|
431
431
|
};
|
|
432
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
433
|
-
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.
|
|
434
|
-
i.
|
|
432
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).ldf = function (it, completion) {
|
|
433
|
+
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.idf_1, completion);
|
|
434
|
+
i.jdf_1 = it;
|
|
435
435
|
return i;
|
|
436
436
|
};
|
|
437
437
|
function GameServer$subscribeToClientAction$slambda$slambda_0($subscriber, resultContinuation) {
|
|
438
438
|
var i = new GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation);
|
|
439
439
|
var l = function (it, $completion) {
|
|
440
|
-
return i.
|
|
440
|
+
return i.kdf(it, $completion);
|
|
441
441
|
};
|
|
442
442
|
l.$arity = 1;
|
|
443
443
|
return l;
|
|
444
444
|
}
|
|
445
445
|
function GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
446
|
-
this.
|
|
446
|
+
this.udf_1 = $$this$unsafeFlow;
|
|
447
447
|
CoroutineImpl.call(this, resultContinuation);
|
|
448
448
|
}
|
|
449
449
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda).d1m = function (value, $completion) {
|
|
@@ -464,12 +464,12 @@
|
|
|
464
464
|
case 0:
|
|
465
465
|
this.k9_1 = 2;
|
|
466
466
|
var tmp_0 = this;
|
|
467
|
-
tmp_0.
|
|
467
|
+
tmp_0.wdf_1 = this.udf_1;
|
|
468
468
|
var tmp_1 = this;
|
|
469
|
-
tmp_1.
|
|
469
|
+
tmp_1.xdf_1 = this.vdf_1;
|
|
470
470
|
this.j9_1 = 1;
|
|
471
|
-
var it = this.
|
|
472
|
-
suspendResult = this.
|
|
471
|
+
var it = this.xdf_1;
|
|
472
|
+
suspendResult = this.wdf_1.r18(new ActionsStateUpdate(it), this);
|
|
473
473
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
474
474
|
return suspendResult;
|
|
475
475
|
}
|
|
@@ -492,8 +492,8 @@
|
|
|
492
492
|
while (true);
|
|
493
493
|
};
|
|
494
494
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda).e1m = function (value, completion) {
|
|
495
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda(this.
|
|
496
|
-
i.
|
|
495
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda(this.udf_1, completion);
|
|
496
|
+
i.vdf_1 = value;
|
|
497
497
|
return i;
|
|
498
498
|
};
|
|
499
499
|
function GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -506,8 +506,8 @@
|
|
|
506
506
|
}
|
|
507
507
|
function $collectCOROUTINE$0(_this__u8e3s4, collector, resultContinuation) {
|
|
508
508
|
CoroutineImpl.call(this, resultContinuation);
|
|
509
|
-
this.
|
|
510
|
-
this.
|
|
509
|
+
this.gdg_1 = _this__u8e3s4;
|
|
510
|
+
this.hdg_1 = collector;
|
|
511
511
|
}
|
|
512
512
|
protoOf($collectCOROUTINE$0).r9 = function () {
|
|
513
513
|
var suspendResult = this.l9_1;
|
|
@@ -518,10 +518,10 @@
|
|
|
518
518
|
case 0:
|
|
519
519
|
this.k9_1 = 2;
|
|
520
520
|
var tmp_0 = this;
|
|
521
|
-
tmp_0.
|
|
521
|
+
tmp_0.idg_1 = this.hdg_1;
|
|
522
522
|
this.j9_1 = 1;
|
|
523
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda_0(this.
|
|
524
|
-
suspendResult = this.
|
|
523
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda_0(this.idg_1, null);
|
|
524
|
+
suspendResult = this.gdg_1.jdg_1.n17(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
525
525
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
526
526
|
return suspendResult;
|
|
527
527
|
}
|
|
@@ -544,7 +544,7 @@
|
|
|
544
544
|
while (true);
|
|
545
545
|
};
|
|
546
546
|
function _no_name_provided__qut3iv($this) {
|
|
547
|
-
this.
|
|
547
|
+
this.jdg_1 = $this;
|
|
548
548
|
}
|
|
549
549
|
protoOf(_no_name_provided__qut3iv).s18 = function (collector, $completion) {
|
|
550
550
|
var tmp = new $collectCOROUTINE$0(this, collector, $completion);
|
|
@@ -556,18 +556,18 @@
|
|
|
556
556
|
return this.s18(collector, $completion);
|
|
557
557
|
};
|
|
558
558
|
function GameServer$subscribeServerStateUpdate$slambda$slambda$slambda($table, this$0, resultContinuation) {
|
|
559
|
-
this.
|
|
560
|
-
this.
|
|
559
|
+
this.sdg_1 = $table;
|
|
560
|
+
this.tdg_1 = this$0;
|
|
561
561
|
CoroutineImpl.call(this, resultContinuation);
|
|
562
562
|
}
|
|
563
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda).
|
|
564
|
-
var tmp = this.
|
|
563
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda).vdg = function ($this$flow, $completion) {
|
|
564
|
+
var tmp = this.wdg($this$flow, $completion);
|
|
565
565
|
tmp.l9_1 = Unit_instance;
|
|
566
566
|
tmp.m9_1 = null;
|
|
567
567
|
return tmp.r9();
|
|
568
568
|
};
|
|
569
569
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda).ba = function (p1, $completion) {
|
|
570
|
-
return this.
|
|
570
|
+
return this.vdg((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
571
571
|
};
|
|
572
572
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda).r9 = function () {
|
|
573
573
|
var suspendResult = this.l9_1;
|
|
@@ -578,7 +578,7 @@
|
|
|
578
578
|
case 0:
|
|
579
579
|
this.k9_1 = 3;
|
|
580
580
|
this.j9_1 = 1;
|
|
581
|
-
suspendResult = this.
|
|
581
|
+
suspendResult = this.udg_1.r18(new TableStateUpdate(this.sdg_1), this);
|
|
582
582
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
583
583
|
return suspendResult;
|
|
584
584
|
}
|
|
@@ -586,8 +586,8 @@
|
|
|
586
586
|
continue $sm;
|
|
587
587
|
case 1:
|
|
588
588
|
this.j9_1 = 2;
|
|
589
|
-
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.
|
|
590
|
-
suspendResult = emitAll(this.
|
|
589
|
+
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.tdg_1).r92(), new Long(3000, 0));
|
|
590
|
+
suspendResult = emitAll(this.udg_1, new _no_name_provided__qut3iv(this_0), this);
|
|
591
591
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
592
592
|
return suspendResult;
|
|
593
593
|
}
|
|
@@ -609,21 +609,21 @@
|
|
|
609
609
|
}
|
|
610
610
|
while (true);
|
|
611
611
|
};
|
|
612
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda).
|
|
613
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda$slambda(this.
|
|
614
|
-
i.
|
|
612
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda).wdg = function ($this$flow, completion) {
|
|
613
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda$slambda(this.sdg_1, this.tdg_1, completion);
|
|
614
|
+
i.udg_1 = $this$flow;
|
|
615
615
|
return i;
|
|
616
616
|
};
|
|
617
617
|
function GameServer$subscribeServerStateUpdate$slambda$slambda$slambda_0($table, this$0, resultContinuation) {
|
|
618
618
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda$slambda($table, this$0, resultContinuation);
|
|
619
619
|
var l = function ($this$flow, $completion) {
|
|
620
|
-
return i.
|
|
620
|
+
return i.vdg($this$flow, $completion);
|
|
621
621
|
};
|
|
622
622
|
l.$arity = 1;
|
|
623
623
|
return l;
|
|
624
624
|
}
|
|
625
625
|
function GameServer$subscribeServerStateUpdate$slambda$slambda(this$0, resultContinuation) {
|
|
626
|
-
this.
|
|
626
|
+
this.fdh_1 = this$0;
|
|
627
627
|
CoroutineImpl.call(this, resultContinuation);
|
|
628
628
|
}
|
|
629
629
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).xc2 = function ($this$transformLatest, it, $completion) {
|
|
@@ -645,8 +645,8 @@
|
|
|
645
645
|
case 0:
|
|
646
646
|
this.k9_1 = 2;
|
|
647
647
|
this.j9_1 = 1;
|
|
648
|
-
var table = this.
|
|
649
|
-
suspendResult = emitAll(this.
|
|
648
|
+
var table = this.hdh_1;
|
|
649
|
+
suspendResult = emitAll(this.gdh_1, flow(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda_0(table, this.fdh_1, null)), this);
|
|
650
650
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
651
651
|
return suspendResult;
|
|
652
652
|
}
|
|
@@ -669,9 +669,9 @@
|
|
|
669
669
|
while (true);
|
|
670
670
|
};
|
|
671
671
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).yc2 = function ($this$transformLatest, it, completion) {
|
|
672
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.
|
|
673
|
-
i.
|
|
674
|
-
i.
|
|
672
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.fdh_1, completion);
|
|
673
|
+
i.gdh_1 = $this$transformLatest;
|
|
674
|
+
i.hdh_1 = it;
|
|
675
675
|
return i;
|
|
676
676
|
};
|
|
677
677
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_0(this$0, resultContinuation) {
|
|
@@ -683,17 +683,17 @@
|
|
|
683
683
|
return l;
|
|
684
684
|
}
|
|
685
685
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_1($subscriber, resultContinuation) {
|
|
686
|
-
this.
|
|
686
|
+
this.qdh_1 = $subscriber;
|
|
687
687
|
CoroutineImpl.call(this, resultContinuation);
|
|
688
688
|
}
|
|
689
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda_1).
|
|
690
|
-
var tmp = this.
|
|
689
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda_1).sdh = function (it, $completion) {
|
|
690
|
+
var tmp = this.tdh(it, $completion);
|
|
691
691
|
tmp.l9_1 = Unit_instance;
|
|
692
692
|
tmp.m9_1 = null;
|
|
693
693
|
return tmp.r9();
|
|
694
694
|
};
|
|
695
695
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda_1).ba = function (p1, $completion) {
|
|
696
|
-
return this.
|
|
696
|
+
return this.sdh((!(p1 == null) ? isInterface(p1, ServerStateUpdate) : false) ? p1 : THROW_CCE(), $completion);
|
|
697
697
|
};
|
|
698
698
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda_1).r9 = function () {
|
|
699
699
|
var suspendResult = this.l9_1;
|
|
@@ -702,7 +702,7 @@
|
|
|
702
702
|
var tmp = this.j9_1;
|
|
703
703
|
if (tmp === 0) {
|
|
704
704
|
this.k9_1 = 1;
|
|
705
|
-
this.
|
|
705
|
+
this.qdh_1(this.rdh_1);
|
|
706
706
|
return Unit_instance;
|
|
707
707
|
} else if (tmp === 1) {
|
|
708
708
|
throw this.m9_1;
|
|
@@ -713,21 +713,21 @@
|
|
|
713
713
|
}
|
|
714
714
|
while (true);
|
|
715
715
|
};
|
|
716
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda_1).
|
|
717
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda_1(this.
|
|
718
|
-
i.
|
|
716
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda_1).tdh = function (it, completion) {
|
|
717
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda_1(this.qdh_1, completion);
|
|
718
|
+
i.rdh_1 = it;
|
|
719
719
|
return i;
|
|
720
720
|
};
|
|
721
721
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_2($subscriber, resultContinuation) {
|
|
722
722
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda_1($subscriber, resultContinuation);
|
|
723
723
|
var l = function (it, $completion) {
|
|
724
|
-
return i.
|
|
724
|
+
return i.sdh(it, $completion);
|
|
725
725
|
};
|
|
726
726
|
l.$arity = 1;
|
|
727
727
|
return l;
|
|
728
728
|
}
|
|
729
729
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
730
|
-
this.
|
|
730
|
+
this.cdi_1 = $$this$unsafeFlow;
|
|
731
731
|
CoroutineImpl.call(this, resultContinuation);
|
|
732
732
|
}
|
|
733
733
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).d1m = function (value, $completion) {
|
|
@@ -748,12 +748,12 @@
|
|
|
748
748
|
case 0:
|
|
749
749
|
this.k9_1 = 2;
|
|
750
750
|
var tmp_0 = this;
|
|
751
|
-
tmp_0.
|
|
751
|
+
tmp_0.edi_1 = this.cdi_1;
|
|
752
752
|
var tmp_1 = this;
|
|
753
|
-
tmp_1.
|
|
753
|
+
tmp_1.fdi_1 = this.ddi_1;
|
|
754
754
|
this.j9_1 = 1;
|
|
755
|
-
var state = this.
|
|
756
|
-
suspendResult = this.
|
|
755
|
+
var state = this.fdi_1;
|
|
756
|
+
suspendResult = this.edi_1.r18(state.i6x().gameInfo.roundNumberTotal, this);
|
|
757
757
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
758
758
|
return suspendResult;
|
|
759
759
|
}
|
|
@@ -776,8 +776,8 @@
|
|
|
776
776
|
while (true);
|
|
777
777
|
};
|
|
778
778
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).e1m = function (value, completion) {
|
|
779
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.
|
|
780
|
-
i.
|
|
779
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.cdi_1, completion);
|
|
780
|
+
i.ddi_1 = value;
|
|
781
781
|
return i;
|
|
782
782
|
};
|
|
783
783
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -790,8 +790,8 @@
|
|
|
790
790
|
}
|
|
791
791
|
function $collectCOROUTINE$1(_this__u8e3s4, collector, resultContinuation) {
|
|
792
792
|
CoroutineImpl.call(this, resultContinuation);
|
|
793
|
-
this.
|
|
794
|
-
this.
|
|
793
|
+
this.odi_1 = _this__u8e3s4;
|
|
794
|
+
this.pdi_1 = collector;
|
|
795
795
|
}
|
|
796
796
|
protoOf($collectCOROUTINE$1).r9 = function () {
|
|
797
797
|
var suspendResult = this.l9_1;
|
|
@@ -802,10 +802,10 @@
|
|
|
802
802
|
case 0:
|
|
803
803
|
this.k9_1 = 2;
|
|
804
804
|
var tmp_0 = this;
|
|
805
|
-
tmp_0.
|
|
805
|
+
tmp_0.qdi_1 = this.pdi_1;
|
|
806
806
|
this.j9_1 = 1;
|
|
807
|
-
var tmp_1 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0(this.
|
|
808
|
-
suspendResult = this.
|
|
807
|
+
var tmp_1 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0(this.qdi_1, null);
|
|
808
|
+
suspendResult = this.odi_1.rdi_1.n17(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
809
809
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
810
810
|
return suspendResult;
|
|
811
811
|
}
|
|
@@ -828,7 +828,7 @@
|
|
|
828
828
|
while (true);
|
|
829
829
|
};
|
|
830
830
|
function GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
831
|
-
this.
|
|
831
|
+
this.adj_1 = $$this$unsafeFlow;
|
|
832
832
|
CoroutineImpl.call(this, resultContinuation);
|
|
833
833
|
}
|
|
834
834
|
protoOf(GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda).d1m = function (value, $completion) {
|
|
@@ -852,33 +852,33 @@
|
|
|
852
852
|
continue $sm;
|
|
853
853
|
case 1:
|
|
854
854
|
var tmp_0 = this;
|
|
855
|
-
tmp_0.
|
|
855
|
+
tmp_0.ddj_1 = this.adj_1;
|
|
856
856
|
var tmp_1 = this;
|
|
857
|
-
tmp_1.
|
|
857
|
+
tmp_1.edj_1 = this.bdj_1;
|
|
858
858
|
var tmp_2 = this;
|
|
859
|
-
tmp_2.
|
|
860
|
-
if (this.
|
|
861
|
-
this.
|
|
859
|
+
tmp_2.fdj_1 = this.edj_1.r6w_1;
|
|
860
|
+
if (this.fdj_1 == null) {
|
|
861
|
+
this.cdj_1 = Unit_instance;
|
|
862
862
|
this.j9_1 = 4;
|
|
863
863
|
var tmp_3 = this;
|
|
864
864
|
continue $sm;
|
|
865
865
|
} else {
|
|
866
|
-
this.
|
|
866
|
+
this.gdj_1 = this.fdj_1;
|
|
867
867
|
this.j9_1 = 2;
|
|
868
868
|
continue $sm;
|
|
869
869
|
}
|
|
870
870
|
|
|
871
871
|
case 2:
|
|
872
|
-
this.
|
|
872
|
+
this.hdj_1 = this.gdj_1;
|
|
873
873
|
this.j9_1 = 3;
|
|
874
|
-
suspendResult = this.
|
|
874
|
+
suspendResult = this.ddj_1.r18(this.hdj_1, this);
|
|
875
875
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
876
876
|
return suspendResult;
|
|
877
877
|
}
|
|
878
878
|
|
|
879
879
|
continue $sm;
|
|
880
880
|
case 3:
|
|
881
|
-
this.
|
|
881
|
+
this.cdj_1 = suspendResult;
|
|
882
882
|
if (false) {
|
|
883
883
|
this.j9_1 = 1;
|
|
884
884
|
continue $sm;
|
|
@@ -903,8 +903,8 @@
|
|
|
903
903
|
while (true);
|
|
904
904
|
};
|
|
905
905
|
protoOf(GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda).e1m = function (value, completion) {
|
|
906
|
-
var i = new GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda(this.
|
|
907
|
-
i.
|
|
906
|
+
var i = new GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda(this.adj_1, completion);
|
|
907
|
+
i.bdj_1 = value;
|
|
908
908
|
return i;
|
|
909
909
|
};
|
|
910
910
|
function GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -917,8 +917,8 @@
|
|
|
917
917
|
}
|
|
918
918
|
function $collectCOROUTINE$2(_this__u8e3s4, collector, resultContinuation) {
|
|
919
919
|
CoroutineImpl.call(this, resultContinuation);
|
|
920
|
-
this.
|
|
921
|
-
this.
|
|
920
|
+
this.qdj_1 = _this__u8e3s4;
|
|
921
|
+
this.rdj_1 = collector;
|
|
922
922
|
}
|
|
923
923
|
protoOf($collectCOROUTINE$2).r9 = function () {
|
|
924
924
|
var suspendResult = this.l9_1;
|
|
@@ -929,10 +929,10 @@
|
|
|
929
929
|
case 0:
|
|
930
930
|
this.k9_1 = 2;
|
|
931
931
|
var tmp_0 = this;
|
|
932
|
-
tmp_0.
|
|
932
|
+
tmp_0.sdj_1 = this.rdj_1;
|
|
933
933
|
this.j9_1 = 1;
|
|
934
|
-
var tmp_1 = GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda_0(this.
|
|
935
|
-
suspendResult = this.
|
|
934
|
+
var tmp_1 = GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda_0(this.sdj_1, null);
|
|
935
|
+
suspendResult = this.qdj_1.tdj_1.n17(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
936
936
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
937
937
|
return suspendResult;
|
|
938
938
|
}
|
|
@@ -955,7 +955,7 @@
|
|
|
955
955
|
while (true);
|
|
956
956
|
};
|
|
957
957
|
function _no_name_provided__qut3iv_0($this) {
|
|
958
|
-
this.
|
|
958
|
+
this.tdj_1 = $this;
|
|
959
959
|
}
|
|
960
960
|
protoOf(_no_name_provided__qut3iv_0).s18 = function (collector, $completion) {
|
|
961
961
|
var tmp = new $collectCOROUTINE$2(this, collector, $completion);
|
|
@@ -967,17 +967,17 @@
|
|
|
967
967
|
return this.s18(collector, $completion);
|
|
968
968
|
};
|
|
969
969
|
function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
|
|
970
|
-
this.
|
|
970
|
+
this.cdk_1 = $subscriber;
|
|
971
971
|
CoroutineImpl.call(this, resultContinuation);
|
|
972
972
|
}
|
|
973
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
974
|
-
var tmp = this.
|
|
973
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).edk = function (it, $completion) {
|
|
974
|
+
var tmp = this.fdk(it, $completion);
|
|
975
975
|
tmp.l9_1 = Unit_instance;
|
|
976
976
|
tmp.m9_1 = null;
|
|
977
977
|
return tmp.r9();
|
|
978
978
|
};
|
|
979
979
|
protoOf(GameServer$subscribeWith$slambda$slambda).ba = function (p1, $completion) {
|
|
980
|
-
return this.
|
|
980
|
+
return this.edk(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
|
|
981
981
|
};
|
|
982
982
|
protoOf(GameServer$subscribeWith$slambda$slambda).r9 = function () {
|
|
983
983
|
var suspendResult = this.l9_1;
|
|
@@ -986,7 +986,7 @@
|
|
|
986
986
|
var tmp = this.j9_1;
|
|
987
987
|
if (tmp === 0) {
|
|
988
988
|
this.k9_1 = 1;
|
|
989
|
-
this.
|
|
989
|
+
this.cdk_1(this.ddk_1);
|
|
990
990
|
return Unit_instance;
|
|
991
991
|
} else if (tmp === 1) {
|
|
992
992
|
throw this.m9_1;
|
|
@@ -997,64 +997,64 @@
|
|
|
997
997
|
}
|
|
998
998
|
while (true);
|
|
999
999
|
};
|
|
1000
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1001
|
-
var i = new GameServer$subscribeWith$slambda$slambda(this.
|
|
1002
|
-
i.
|
|
1000
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).fdk = function (it, completion) {
|
|
1001
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.cdk_1, completion);
|
|
1002
|
+
i.ddk_1 = it;
|
|
1003
1003
|
return i;
|
|
1004
1004
|
};
|
|
1005
1005
|
function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
|
|
1006
1006
|
var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
|
|
1007
1007
|
var l = function (it, $completion) {
|
|
1008
|
-
return i.
|
|
1008
|
+
return i.edk(it, $completion);
|
|
1009
1009
|
};
|
|
1010
1010
|
l.$arity = 1;
|
|
1011
1011
|
return l;
|
|
1012
1012
|
}
|
|
1013
1013
|
function GameServer$roomOnCreate$1$updatedUsers$previousTeams$1($playerId) {
|
|
1014
|
-
this.
|
|
1014
|
+
this.gdk_1 = $playerId;
|
|
1015
1015
|
}
|
|
1016
1016
|
protoOf(GameServer$roomOnCreate$1$updatedUsers$previousTeams$1).s6e = function () {
|
|
1017
|
-
return this.
|
|
1017
|
+
return this.gdk_1;
|
|
1018
1018
|
};
|
|
1019
1019
|
function _get_logger__rkp4sl($this) {
|
|
1020
1020
|
// Inline function 'kotlin.getValue' call
|
|
1021
|
-
var this_0 = $this.
|
|
1021
|
+
var this_0 = $this.jdk_1;
|
|
1022
1022
|
logger$factory_0();
|
|
1023
1023
|
return this_0.u();
|
|
1024
1024
|
}
|
|
1025
1025
|
function _get_toClientEventsObserver__6rp51y($this) {
|
|
1026
1026
|
// Inline function 'kotlin.getValue' call
|
|
1027
|
-
var this_0 = $this.
|
|
1027
|
+
var this_0 = $this.kdk_1;
|
|
1028
1028
|
toClientEventsObserver$factory_0();
|
|
1029
1029
|
return this_0.u();
|
|
1030
1030
|
}
|
|
1031
1031
|
function _get_fromClientEventsObserver__a7vzd3($this) {
|
|
1032
1032
|
// Inline function 'kotlin.getValue' call
|
|
1033
|
-
var this_0 = $this.
|
|
1033
|
+
var this_0 = $this.ldk_1;
|
|
1034
1034
|
fromClientEventsObserver$factory_0();
|
|
1035
1035
|
return this_0.u();
|
|
1036
1036
|
}
|
|
1037
1037
|
function _get_playerConnectionInteractor__si6cxf($this) {
|
|
1038
1038
|
// Inline function 'kotlin.getValue' call
|
|
1039
|
-
var this_0 = $this.
|
|
1039
|
+
var this_0 = $this.mdk_1;
|
|
1040
1040
|
playerConnectionInteractor$factory_0();
|
|
1041
1041
|
return this_0.u();
|
|
1042
1042
|
}
|
|
1043
1043
|
function _get_teamsLogicProvider__u10pm6($this) {
|
|
1044
1044
|
// Inline function 'kotlin.getValue' call
|
|
1045
|
-
var this_0 = $this.
|
|
1045
|
+
var this_0 = $this.ndk_1;
|
|
1046
1046
|
teamsLogicProvider$factory_0();
|
|
1047
1047
|
return this_0.u();
|
|
1048
1048
|
}
|
|
1049
1049
|
function _get_random__h29cgo($this) {
|
|
1050
1050
|
// Inline function 'kotlin.getValue' call
|
|
1051
|
-
var this_0 = $this.
|
|
1051
|
+
var this_0 = $this.odk_1;
|
|
1052
1052
|
random$factory();
|
|
1053
1053
|
return this_0.u();
|
|
1054
1054
|
}
|
|
1055
1055
|
function _get_idsProvider__fnfajc($this) {
|
|
1056
1056
|
// Inline function 'kotlin.getValue' call
|
|
1057
|
-
var this_0 = $this.
|
|
1057
|
+
var this_0 = $this.pdk_1;
|
|
1058
1058
|
idsProvider$factory_0();
|
|
1059
1059
|
return this_0.u();
|
|
1060
1060
|
}
|
|
@@ -1068,20 +1068,20 @@
|
|
|
1068
1068
|
return transformLatest(this_0, GameServer$observeTableWhenRoundChanges$slambda_0(observeState, null));
|
|
1069
1069
|
}
|
|
1070
1070
|
function Companion() {
|
|
1071
|
-
this.
|
|
1071
|
+
this.rdk_1 = 'GameEngine_API';
|
|
1072
1072
|
}
|
|
1073
1073
|
var Companion_instance_7;
|
|
1074
1074
|
function Companion_getInstance_0() {
|
|
1075
1075
|
return Companion_instance_7;
|
|
1076
1076
|
}
|
|
1077
1077
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
1078
|
-
this.
|
|
1078
|
+
this.sdk_1 = function_0;
|
|
1079
1079
|
}
|
|
1080
1080
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).r18 = function (value, $completion) {
|
|
1081
|
-
return this.
|
|
1081
|
+
return this.sdk_1(value, $completion);
|
|
1082
1082
|
};
|
|
1083
1083
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).t3 = function () {
|
|
1084
|
-
return this.
|
|
1084
|
+
return this.sdk_1;
|
|
1085
1085
|
};
|
|
1086
1086
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
1087
1087
|
var tmp;
|
|
@@ -1102,13 +1102,13 @@
|
|
|
1102
1102
|
return hashCode(this.t3());
|
|
1103
1103
|
};
|
|
1104
1104
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
1105
|
-
this.
|
|
1105
|
+
this.tdk_1 = function_0;
|
|
1106
1106
|
}
|
|
1107
1107
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).r18 = function (value, $completion) {
|
|
1108
|
-
return this.
|
|
1108
|
+
return this.tdk_1(value, $completion);
|
|
1109
1109
|
};
|
|
1110
1110
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).t3 = function () {
|
|
1111
|
-
return this.
|
|
1111
|
+
return this.tdk_1;
|
|
1112
1112
|
};
|
|
1113
1113
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
1114
1114
|
var tmp;
|
|
@@ -1129,13 +1129,13 @@
|
|
|
1129
1129
|
return hashCode(this.t3());
|
|
1130
1130
|
};
|
|
1131
1131
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
|
|
1132
|
-
this.
|
|
1132
|
+
this.udk_1 = function_0;
|
|
1133
1133
|
}
|
|
1134
1134
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).r18 = function (value, $completion) {
|
|
1135
|
-
return this.
|
|
1135
|
+
return this.udk_1(value, $completion);
|
|
1136
1136
|
};
|
|
1137
1137
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).t3 = function () {
|
|
1138
|
-
return this.
|
|
1138
|
+
return this.udk_1;
|
|
1139
1139
|
};
|
|
1140
1140
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
|
|
1141
1141
|
var tmp;
|
|
@@ -1156,13 +1156,13 @@
|
|
|
1156
1156
|
return hashCode(this.t3());
|
|
1157
1157
|
};
|
|
1158
1158
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
|
|
1159
|
-
this.
|
|
1159
|
+
this.vdk_1 = function_0;
|
|
1160
1160
|
}
|
|
1161
1161
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).r18 = function (value, $completion) {
|
|
1162
|
-
return this.
|
|
1162
|
+
return this.vdk_1(value, $completion);
|
|
1163
1163
|
};
|
|
1164
1164
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).t3 = function () {
|
|
1165
|
-
return this.
|
|
1165
|
+
return this.vdk_1;
|
|
1166
1166
|
};
|
|
1167
1167
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
|
|
1168
1168
|
var tmp;
|
|
@@ -1188,8 +1188,8 @@
|
|
|
1188
1188
|
};
|
|
1189
1189
|
}
|
|
1190
1190
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
1191
|
-
this.
|
|
1192
|
-
this.
|
|
1191
|
+
this.edl_1 = this$0;
|
|
1192
|
+
this.fdl_1 = $subscriber;
|
|
1193
1193
|
CoroutineImpl.call(this, resultContinuation);
|
|
1194
1194
|
}
|
|
1195
1195
|
protoOf(GameServer$subscribeToClientAction$slambda).g1f = function ($this$launchDefault, $completion) {
|
|
@@ -1210,8 +1210,8 @@
|
|
|
1210
1210
|
case 0:
|
|
1211
1211
|
this.k9_1 = 2;
|
|
1212
1212
|
this.j9_1 = 1;
|
|
1213
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
1214
|
-
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.
|
|
1213
|
+
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.edl_1).saq();
|
|
1214
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.fdl_1, null);
|
|
1215
1215
|
suspendResult = tmp_0.n17(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
1216
1216
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1217
1217
|
return suspendResult;
|
|
@@ -1235,8 +1235,8 @@
|
|
|
1235
1235
|
while (true);
|
|
1236
1236
|
};
|
|
1237
1237
|
protoOf(GameServer$subscribeToClientAction$slambda).h1f = function ($this$launchDefault, completion) {
|
|
1238
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
1239
|
-
i.
|
|
1238
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.edl_1, this.fdl_1, completion);
|
|
1239
|
+
i.gdl_1 = $this$launchDefault;
|
|
1240
1240
|
return i;
|
|
1241
1241
|
};
|
|
1242
1242
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1248,8 +1248,8 @@
|
|
|
1248
1248
|
return l;
|
|
1249
1249
|
}
|
|
1250
1250
|
function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
|
|
1251
|
-
this.
|
|
1252
|
-
this.
|
|
1251
|
+
this.pdl_1 = this$0;
|
|
1252
|
+
this.qdl_1 = $subscriber;
|
|
1253
1253
|
CoroutineImpl.call(this, resultContinuation);
|
|
1254
1254
|
}
|
|
1255
1255
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).g1f = function ($this$launchDefault, $completion) {
|
|
@@ -1270,9 +1270,9 @@
|
|
|
1270
1270
|
case 0:
|
|
1271
1271
|
this.k9_1 = 2;
|
|
1272
1272
|
this.j9_1 = 1;
|
|
1273
|
-
var this_0 = observeTableWhenRoundChanges(this.
|
|
1274
|
-
var tmp_0 = transformLatest(this_0, GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.
|
|
1275
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_2(this.
|
|
1273
|
+
var this_0 = observeTableWhenRoundChanges(this.pdl_1, this.pdl_1.q6w());
|
|
1274
|
+
var tmp_0 = transformLatest(this_0, GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.pdl_1, null));
|
|
1275
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_2(this.qdl_1, null);
|
|
1276
1276
|
suspendResult = tmp_0.n17(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
1277
1277
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1278
1278
|
return suspendResult;
|
|
@@ -1296,8 +1296,8 @@
|
|
|
1296
1296
|
while (true);
|
|
1297
1297
|
};
|
|
1298
1298
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).h1f = function ($this$launchDefault, completion) {
|
|
1299
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda(this.
|
|
1300
|
-
i.
|
|
1299
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda(this.pdl_1, this.qdl_1, completion);
|
|
1300
|
+
i.rdl_1 = $this$launchDefault;
|
|
1301
1301
|
return i;
|
|
1302
1302
|
};
|
|
1303
1303
|
function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1309,7 +1309,7 @@
|
|
|
1309
1309
|
return l;
|
|
1310
1310
|
}
|
|
1311
1311
|
function _no_name_provided__qut3iv_1($this) {
|
|
1312
|
-
this.
|
|
1312
|
+
this.rdi_1 = $this;
|
|
1313
1313
|
}
|
|
1314
1314
|
protoOf(_no_name_provided__qut3iv_1).s18 = function (collector, $completion) {
|
|
1315
1315
|
var tmp = new $collectCOROUTINE$1(this, collector, $completion);
|
|
@@ -1321,7 +1321,7 @@
|
|
|
1321
1321
|
return this.s18(collector, $completion);
|
|
1322
1322
|
};
|
|
1323
1323
|
function GameServer$observeTableWhenRoundChanges$slambda($observeState, resultContinuation) {
|
|
1324
|
-
this.
|
|
1324
|
+
this.adm_1 = $observeState;
|
|
1325
1325
|
CoroutineImpl.call(this, resultContinuation);
|
|
1326
1326
|
}
|
|
1327
1327
|
protoOf(GameServer$observeTableWhenRoundChanges$slambda).xc2 = function ($this$transformLatest, it, $completion) {
|
|
@@ -1343,9 +1343,9 @@
|
|
|
1343
1343
|
case 0:
|
|
1344
1344
|
this.k9_1 = 2;
|
|
1345
1345
|
this.j9_1 = 1;
|
|
1346
|
-
this.
|
|
1347
|
-
var this_0 = this.
|
|
1348
|
-
suspendResult = emitAll(this.
|
|
1346
|
+
this.cdm_1;
|
|
1347
|
+
var this_0 = this.adm_1;
|
|
1348
|
+
suspendResult = emitAll(this.bdm_1, new _no_name_provided__qut3iv_0(this_0), this);
|
|
1349
1349
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1350
1350
|
return suspendResult;
|
|
1351
1351
|
}
|
|
@@ -1368,9 +1368,9 @@
|
|
|
1368
1368
|
while (true);
|
|
1369
1369
|
};
|
|
1370
1370
|
protoOf(GameServer$observeTableWhenRoundChanges$slambda).yc2 = function ($this$transformLatest, it, completion) {
|
|
1371
|
-
var i = new GameServer$observeTableWhenRoundChanges$slambda(this.
|
|
1372
|
-
i.
|
|
1373
|
-
i.
|
|
1371
|
+
var i = new GameServer$observeTableWhenRoundChanges$slambda(this.adm_1, completion);
|
|
1372
|
+
i.bdm_1 = $this$transformLatest;
|
|
1373
|
+
i.cdm_1 = it;
|
|
1374
1374
|
return i;
|
|
1375
1375
|
};
|
|
1376
1376
|
function GameServer$observeTableWhenRoundChanges$slambda_0($observeState, resultContinuation) {
|
|
@@ -1382,8 +1382,8 @@
|
|
|
1382
1382
|
return l;
|
|
1383
1383
|
}
|
|
1384
1384
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
1385
|
-
this.
|
|
1386
|
-
this.
|
|
1385
|
+
this.ldm_1 = this$0;
|
|
1386
|
+
this.mdm_1 = $subscriber;
|
|
1387
1387
|
CoroutineImpl.call(this, resultContinuation);
|
|
1388
1388
|
}
|
|
1389
1389
|
protoOf(GameServer$subscribeWith$slambda).g1f = function ($this$launchDefault, $completion) {
|
|
@@ -1404,8 +1404,8 @@
|
|
|
1404
1404
|
case 0:
|
|
1405
1405
|
this.k9_1 = 2;
|
|
1406
1406
|
this.j9_1 = 1;
|
|
1407
|
-
var tmp_0 = distinctUntilChanged(this.
|
|
1408
|
-
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.
|
|
1407
|
+
var tmp_0 = distinctUntilChanged(this.ldm_1.q6w());
|
|
1408
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.mdm_1, null);
|
|
1409
1409
|
suspendResult = tmp_0.n17(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_1), this);
|
|
1410
1410
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1411
1411
|
return suspendResult;
|
|
@@ -1429,8 +1429,8 @@
|
|
|
1429
1429
|
while (true);
|
|
1430
1430
|
};
|
|
1431
1431
|
protoOf(GameServer$subscribeWith$slambda).h1f = function ($this$launchDefault, completion) {
|
|
1432
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
1433
|
-
i.
|
|
1432
|
+
var i = new GameServer$subscribeWith$slambda(this.ldm_1, this.mdm_1, completion);
|
|
1433
|
+
i.ndm_1 = $this$launchDefault;
|
|
1434
1434
|
return i;
|
|
1435
1435
|
};
|
|
1436
1436
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1442,7 +1442,7 @@
|
|
|
1442
1442
|
return l;
|
|
1443
1443
|
}
|
|
1444
1444
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
1445
|
-
this.
|
|
1445
|
+
this.wdm_1 = $action;
|
|
1446
1446
|
CoroutineImpl.call(this, resultContinuation);
|
|
1447
1447
|
}
|
|
1448
1448
|
protoOf(GameServer$fromClientEvent$slambda).abb = function ($this$dispatchAsync, store, $completion) {
|
|
@@ -1462,11 +1462,11 @@
|
|
|
1462
1462
|
var tmp = this.j9_1;
|
|
1463
1463
|
if (tmp === 0) {
|
|
1464
1464
|
this.k9_1 = 1;
|
|
1465
|
-
if (this.
|
|
1466
|
-
if (!get_isCreated(this.
|
|
1465
|
+
if (this.wdm_1 instanceof PlayerReadyFromClientAction)
|
|
1466
|
+
if (!get_isCreated(this.ydm_1.state)) {
|
|
1467
1467
|
return Unit_instance;
|
|
1468
1468
|
}
|
|
1469
|
-
this.
|
|
1469
|
+
this.ydm_1.dispatch(this.wdm_1);
|
|
1470
1470
|
return Unit_instance;
|
|
1471
1471
|
} else if (tmp === 1) {
|
|
1472
1472
|
throw this.m9_1;
|
|
@@ -1478,9 +1478,9 @@
|
|
|
1478
1478
|
while (true);
|
|
1479
1479
|
};
|
|
1480
1480
|
protoOf(GameServer$fromClientEvent$slambda).bbb = function ($this$dispatchAsync, store, completion) {
|
|
1481
|
-
var i = new GameServer$fromClientEvent$slambda(this.
|
|
1482
|
-
i.
|
|
1483
|
-
i.
|
|
1481
|
+
var i = new GameServer$fromClientEvent$slambda(this.wdm_1, completion);
|
|
1482
|
+
i.xdm_1 = $this$dispatchAsync;
|
|
1483
|
+
i.ydm_1 = store;
|
|
1484
1484
|
return i;
|
|
1485
1485
|
};
|
|
1486
1486
|
function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
|
|
@@ -1492,7 +1492,7 @@
|
|
|
1492
1492
|
return l;
|
|
1493
1493
|
}
|
|
1494
1494
|
function GameServer$playerLostConnection$slambda($playerId, resultContinuation) {
|
|
1495
|
-
this.
|
|
1495
|
+
this.hdn_1 = $playerId;
|
|
1496
1496
|
CoroutineImpl.call(this, resultContinuation);
|
|
1497
1497
|
}
|
|
1498
1498
|
protoOf(GameServer$playerLostConnection$slambda).abb = function ($this$dispatchAsync, store, $completion) {
|
|
@@ -1512,12 +1512,12 @@
|
|
|
1512
1512
|
var tmp = this.j9_1;
|
|
1513
1513
|
if (tmp === 0) {
|
|
1514
1514
|
this.k9_1 = 1;
|
|
1515
|
-
if (!get_isCreated(this.
|
|
1515
|
+
if (!get_isCreated(this.jdn_1.state)) {
|
|
1516
1516
|
return Unit_instance;
|
|
1517
1517
|
}
|
|
1518
|
-
var tmp_0 = this.
|
|
1518
|
+
var tmp_0 = this.jdn_1.dispatch;
|
|
1519
1519
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
1520
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
1520
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.hdn_1));
|
|
1521
1521
|
return Unit_instance;
|
|
1522
1522
|
} else if (tmp === 1) {
|
|
1523
1523
|
throw this.m9_1;
|
|
@@ -1529,9 +1529,9 @@
|
|
|
1529
1529
|
while (true);
|
|
1530
1530
|
};
|
|
1531
1531
|
protoOf(GameServer$playerLostConnection$slambda).bbb = function ($this$dispatchAsync, store, completion) {
|
|
1532
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
1533
|
-
i.
|
|
1534
|
-
i.
|
|
1532
|
+
var i = new GameServer$playerLostConnection$slambda(this.hdn_1, completion);
|
|
1533
|
+
i.idn_1 = $this$dispatchAsync;
|
|
1534
|
+
i.jdn_1 = store;
|
|
1535
1535
|
return i;
|
|
1536
1536
|
};
|
|
1537
1537
|
function GameServer$playerLostConnection$slambda_0($playerId, resultContinuation) {
|
|
@@ -1543,8 +1543,8 @@
|
|
|
1543
1543
|
return l;
|
|
1544
1544
|
}
|
|
1545
1545
|
function GameServer$playerLive$slambda(this$0, $playerId, resultContinuation) {
|
|
1546
|
-
this.
|
|
1547
|
-
this.
|
|
1546
|
+
this.sdn_1 = this$0;
|
|
1547
|
+
this.tdn_1 = $playerId;
|
|
1548
1548
|
CoroutineImpl.call(this, resultContinuation);
|
|
1549
1549
|
}
|
|
1550
1550
|
protoOf(GameServer$playerLive$slambda).abb = function ($this$dispatchAsync, store, $completion) {
|
|
@@ -1564,16 +1564,16 @@
|
|
|
1564
1564
|
var tmp = this.j9_1;
|
|
1565
1565
|
if (tmp === 0) {
|
|
1566
1566
|
this.k9_1 = 1;
|
|
1567
|
-
if (get_isFinished(this.
|
|
1567
|
+
if (get_isFinished(this.vdn_1.state) || get_isFinishing(this.vdn_1.state)) {
|
|
1568
1568
|
return Unit_instance;
|
|
1569
1569
|
}
|
|
1570
|
-
if (!get_isCreated(this.
|
|
1571
|
-
_get_logger__rkp4sl(this.
|
|
1570
|
+
if (!get_isCreated(this.vdn_1.state) || !this.sdn_1.r6f().j6x()) {
|
|
1571
|
+
_get_logger__rkp4sl(this.sdn_1).w('GameEngine_API', 'playerLive: ' + this.tdn_1 + ' before game is created');
|
|
1572
1572
|
return Unit_instance;
|
|
1573
1573
|
}
|
|
1574
|
-
var tmp_0 = this.
|
|
1574
|
+
var tmp_0 = this.vdn_1.dispatch;
|
|
1575
1575
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
1576
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
1576
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.tdn_1));
|
|
1577
1577
|
return Unit_instance;
|
|
1578
1578
|
} else if (tmp === 1) {
|
|
1579
1579
|
throw this.m9_1;
|
|
@@ -1585,9 +1585,9 @@
|
|
|
1585
1585
|
while (true);
|
|
1586
1586
|
};
|
|
1587
1587
|
protoOf(GameServer$playerLive$slambda).bbb = function ($this$dispatchAsync, store, completion) {
|
|
1588
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
1589
|
-
i.
|
|
1590
|
-
i.
|
|
1588
|
+
var i = new GameServer$playerLive$slambda(this.sdn_1, this.tdn_1, completion);
|
|
1589
|
+
i.udn_1 = $this$dispatchAsync;
|
|
1590
|
+
i.vdn_1 = store;
|
|
1591
1591
|
return i;
|
|
1592
1592
|
};
|
|
1593
1593
|
function GameServer$playerLive$slambda_0(this$0, $playerId, resultContinuation) {
|
|
@@ -1599,8 +1599,8 @@
|
|
|
1599
1599
|
return l;
|
|
1600
1600
|
}
|
|
1601
1601
|
function GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation) {
|
|
1602
|
-
this.
|
|
1603
|
-
this.
|
|
1602
|
+
this.edo_1 = this$0;
|
|
1603
|
+
this.fdo_1 = $playerId;
|
|
1604
1604
|
CoroutineImpl.call(this, resultContinuation);
|
|
1605
1605
|
}
|
|
1606
1606
|
protoOf(GameServer$playerLeft$slambda).abb = function ($this$dispatchAsync, store, $completion) {
|
|
@@ -1620,16 +1620,16 @@
|
|
|
1620
1620
|
var tmp = this.j9_1;
|
|
1621
1621
|
if (tmp === 0) {
|
|
1622
1622
|
this.k9_1 = 1;
|
|
1623
|
-
if (get_isFinished(this.
|
|
1623
|
+
if (get_isFinished(this.hdo_1.state) || get_isFinishing(this.hdo_1.state)) {
|
|
1624
1624
|
return Unit_instance;
|
|
1625
1625
|
}
|
|
1626
|
-
if (!get_isCreated(this.
|
|
1627
|
-
_get_logger__rkp4sl(this.
|
|
1626
|
+
if (!get_isCreated(this.hdo_1.state) || !this.edo_1.r6f().j6x()) {
|
|
1627
|
+
_get_logger__rkp4sl(this.edo_1).w('GameEngine_API', 'playerLeft: ' + this.fdo_1 + ' before game is created');
|
|
1628
1628
|
return Unit_instance;
|
|
1629
1629
|
}
|
|
1630
|
-
var tmp_0 = this.
|
|
1630
|
+
var tmp_0 = this.hdo_1.dispatch;
|
|
1631
1631
|
var tmp0_connectionState = PlayerConnectionState_LEFT_getInstance();
|
|
1632
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
1632
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.fdo_1));
|
|
1633
1633
|
return Unit_instance;
|
|
1634
1634
|
} else if (tmp === 1) {
|
|
1635
1635
|
throw this.m9_1;
|
|
@@ -1641,9 +1641,9 @@
|
|
|
1641
1641
|
while (true);
|
|
1642
1642
|
};
|
|
1643
1643
|
protoOf(GameServer$playerLeft$slambda).bbb = function ($this$dispatchAsync, store, completion) {
|
|
1644
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
1645
|
-
i.
|
|
1646
|
-
i.
|
|
1644
|
+
var i = new GameServer$playerLeft$slambda(this.edo_1, this.fdo_1, completion);
|
|
1645
|
+
i.gdo_1 = $this$dispatchAsync;
|
|
1646
|
+
i.hdo_1 = store;
|
|
1647
1647
|
return i;
|
|
1648
1648
|
};
|
|
1649
1649
|
function GameServer$playerLeft$slambda_0(this$0, $playerId, resultContinuation) {
|
|
@@ -1655,13 +1655,13 @@
|
|
|
1655
1655
|
return l;
|
|
1656
1656
|
}
|
|
1657
1657
|
function GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
1658
|
-
this.
|
|
1659
|
-
this.
|
|
1660
|
-
this.
|
|
1661
|
-
this.
|
|
1662
|
-
this.
|
|
1663
|
-
this.
|
|
1664
|
-
this.
|
|
1658
|
+
this.qdo_1 = $usersArray;
|
|
1659
|
+
this.rdo_1 = $config;
|
|
1660
|
+
this.sdo_1 = this$0;
|
|
1661
|
+
this.tdo_1 = $roomId;
|
|
1662
|
+
this.udo_1 = $transition;
|
|
1663
|
+
this.vdo_1 = $gameCreatorId;
|
|
1664
|
+
this.wdo_1 = $spectators;
|
|
1665
1665
|
CoroutineImpl.call(this, resultContinuation);
|
|
1666
1666
|
}
|
|
1667
1667
|
protoOf(GameServer$roomOnCreate$slambda).abb = function ($this$dispatchAsync, store, $completion) {
|
|
@@ -1681,21 +1681,21 @@
|
|
|
1681
1681
|
var tmp = this.j9_1;
|
|
1682
1682
|
if (tmp === 0) {
|
|
1683
1683
|
this.k9_1 = 1;
|
|
1684
|
-
var users = toList(this.
|
|
1685
|
-
if (!(this.
|
|
1686
|
-
_get_logger__rkp4sl(this.
|
|
1687
|
-
this.
|
|
1684
|
+
var users = toList(this.qdo_1);
|
|
1685
|
+
if (!(this.rdo_1.playersMode.count === users.m())) {
|
|
1686
|
+
_get_logger__rkp4sl(this.sdo_1).w('GameEngine_API', 'roomOnCreate: wrong player count for game ' + this.tdo_1 + ', config = ' + this.rdo_1.toString() + ', users = ' + toString(users));
|
|
1687
|
+
this.ydo_1.dispatch(Companion_instance.withAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.sdo_1.table.isGameFinished, this.sdo_1.table));
|
|
1688
1688
|
return Unit_instance;
|
|
1689
1689
|
}
|
|
1690
1690
|
var tmp_0;
|
|
1691
|
-
if (this.
|
|
1692
|
-
tmp_0 = _get_random__h29cgo(this.
|
|
1691
|
+
if (this.rdo_1.mode.shufflePlayers && this.udo_1 == null) {
|
|
1692
|
+
tmp_0 = _get_random__h29cgo(this.sdo_1).k60(toMutableList(users));
|
|
1693
1693
|
} else {
|
|
1694
|
-
var tmp0_safe_receiver = this.
|
|
1694
|
+
var tmp0_safe_receiver = this.udo_1;
|
|
1695
1695
|
var previousPlayers = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.previousPlayers;
|
|
1696
1696
|
var tmp_1;
|
|
1697
|
-
if (!(previousPlayers == null) && this.
|
|
1698
|
-
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.
|
|
1697
|
+
if (!(previousPlayers == null) && this.rdo_1.playersMode.isTeamGame) {
|
|
1698
|
+
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.sdo_1);
|
|
1699
1699
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(previousPlayers, 10));
|
|
1700
1700
|
var tmp0_iterator = previousPlayers.j();
|
|
1701
1701
|
while (tmp0_iterator.k()) {
|
|
@@ -1726,19 +1726,19 @@
|
|
|
1726
1726
|
destination_1.e(destination_2);
|
|
1727
1727
|
}
|
|
1728
1728
|
var updatedTeams = destination_1;
|
|
1729
|
-
tmp_1 = _get_teamsLogicProvider__u10pm6(this.
|
|
1729
|
+
tmp_1 = _get_teamsLogicProvider__u10pm6(this.sdo_1).m92(updatedTeams);
|
|
1730
1730
|
} else {
|
|
1731
1731
|
tmp_1 = users;
|
|
1732
1732
|
}
|
|
1733
1733
|
tmp_0 = tmp_1;
|
|
1734
1734
|
}
|
|
1735
1735
|
var updatedUsers = tmp_0;
|
|
1736
|
-
var gameCreatorUser = getPlayer(users, this.
|
|
1737
|
-
var tmp_3 = this.
|
|
1736
|
+
var gameCreatorUser = getPlayer(users, this.vdo_1);
|
|
1737
|
+
var tmp_3 = this.ydo_1.dispatch;
|
|
1738
1738
|
var tmp1_version = get_versionOrDefault(GameEngineConfig_instance);
|
|
1739
1739
|
var tmp2_users = sortWithItem(updatedUsers, gameCreatorUser);
|
|
1740
|
-
var tmp3_spectators = toList(this.
|
|
1741
|
-
tmp_3(new StartGameMechanicAction(this.
|
|
1740
|
+
var tmp3_spectators = toList(this.wdo_1);
|
|
1741
|
+
tmp_3(new StartGameMechanicAction(this.rdo_1, this.tdo_1, tmp1_version, this.vdo_1, tmp2_users, VOID, tmp3_spectators));
|
|
1742
1742
|
return Unit_instance;
|
|
1743
1743
|
} else if (tmp === 1) {
|
|
1744
1744
|
throw this.m9_1;
|
|
@@ -1750,9 +1750,9 @@
|
|
|
1750
1750
|
while (true);
|
|
1751
1751
|
};
|
|
1752
1752
|
protoOf(GameServer$roomOnCreate$slambda).bbb = function ($this$dispatchAsync, store, completion) {
|
|
1753
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
1754
|
-
i.
|
|
1755
|
-
i.
|
|
1753
|
+
var i = new GameServer$roomOnCreate$slambda(this.qdo_1, this.rdo_1, this.sdo_1, this.tdo_1, this.udo_1, this.vdo_1, this.wdo_1, completion);
|
|
1754
|
+
i.xdo_1 = $this$dispatchAsync;
|
|
1755
|
+
i.ydo_1 = store;
|
|
1756
1756
|
return i;
|
|
1757
1757
|
};
|
|
1758
1758
|
function GameServer$roomOnCreate$slambda_0($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
@@ -1764,7 +1764,7 @@
|
|
|
1764
1764
|
return l;
|
|
1765
1765
|
}
|
|
1766
1766
|
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
1767
|
-
this.
|
|
1767
|
+
this.hdp_1 = $state;
|
|
1768
1768
|
CoroutineImpl.call(this, resultContinuation);
|
|
1769
1769
|
}
|
|
1770
1770
|
protoOf(GameServer$roomOnContinueFromState$slambda).abb = function ($this$dispatchAsync, store, $completion) {
|
|
@@ -1784,9 +1784,9 @@
|
|
|
1784
1784
|
var tmp = this.j9_1;
|
|
1785
1785
|
if (tmp === 0) {
|
|
1786
1786
|
this.k9_1 = 1;
|
|
1787
|
-
var tmp_0 = this.
|
|
1787
|
+
var tmp_0 = this.jdp_1.dispatch;
|
|
1788
1788
|
var tmp0_reason = new RestartRoundReason(null);
|
|
1789
|
-
var tmp1_table = this.
|
|
1789
|
+
var tmp1_table = this.hdp_1.table;
|
|
1790
1790
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
1791
1791
|
return Unit_instance;
|
|
1792
1792
|
} else if (tmp === 1) {
|
|
@@ -1799,9 +1799,9 @@
|
|
|
1799
1799
|
while (true);
|
|
1800
1800
|
};
|
|
1801
1801
|
protoOf(GameServer$roomOnContinueFromState$slambda).bbb = function ($this$dispatchAsync, store, completion) {
|
|
1802
|
-
var i = new GameServer$roomOnContinueFromState$slambda(this.
|
|
1803
|
-
i.
|
|
1804
|
-
i.
|
|
1802
|
+
var i = new GameServer$roomOnContinueFromState$slambda(this.hdp_1, completion);
|
|
1803
|
+
i.idp_1 = $this$dispatchAsync;
|
|
1804
|
+
i.jdp_1 = store;
|
|
1805
1805
|
return i;
|
|
1806
1806
|
};
|
|
1807
1807
|
function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
|
|
@@ -1813,7 +1813,7 @@
|
|
|
1813
1813
|
return l;
|
|
1814
1814
|
}
|
|
1815
1815
|
function GameServer$roomOnContinueFromState$slambda_1($state, resultContinuation) {
|
|
1816
|
-
this.
|
|
1816
|
+
this.sdp_1 = $state;
|
|
1817
1817
|
CoroutineImpl.call(this, resultContinuation);
|
|
1818
1818
|
}
|
|
1819
1819
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).abb = function ($this$dispatchAsync, store, $completion) {
|
|
@@ -1833,10 +1833,10 @@
|
|
|
1833
1833
|
var tmp = this.j9_1;
|
|
1834
1834
|
if (tmp === 0) {
|
|
1835
1835
|
this.k9_1 = 1;
|
|
1836
|
-
var tmp0_iterator = this.
|
|
1836
|
+
var tmp0_iterator = this.sdp_1.actions.j();
|
|
1837
1837
|
while (tmp0_iterator.k()) {
|
|
1838
1838
|
var element = tmp0_iterator.l();
|
|
1839
|
-
this.
|
|
1839
|
+
this.udp_1.dispatch(element);
|
|
1840
1840
|
}
|
|
1841
1841
|
return Unit_instance;
|
|
1842
1842
|
} else if (tmp === 1) {
|
|
@@ -1849,9 +1849,9 @@
|
|
|
1849
1849
|
while (true);
|
|
1850
1850
|
};
|
|
1851
1851
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).bbb = function ($this$dispatchAsync, store, completion) {
|
|
1852
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1(this.
|
|
1853
|
-
i.
|
|
1854
|
-
i.
|
|
1852
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1(this.sdp_1, completion);
|
|
1853
|
+
i.tdp_1 = $this$dispatchAsync;
|
|
1854
|
+
i.udp_1 = store;
|
|
1855
1855
|
return i;
|
|
1856
1856
|
};
|
|
1857
1857
|
function GameServer$roomOnContinueFromState$slambda_2($state, resultContinuation) {
|
|
@@ -1863,9 +1863,9 @@
|
|
|
1863
1863
|
return l;
|
|
1864
1864
|
}
|
|
1865
1865
|
function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation) {
|
|
1866
|
-
this.
|
|
1867
|
-
this.
|
|
1868
|
-
this.
|
|
1866
|
+
this.ddq_1 = $tableLite;
|
|
1867
|
+
this.edq_1 = $roomId;
|
|
1868
|
+
this.fdq_1 = this$0;
|
|
1869
1869
|
CoroutineImpl.call(this, resultContinuation);
|
|
1870
1870
|
}
|
|
1871
1871
|
protoOf(GameServer$roomOnContinueFromRound$slambda).abb = function ($this$dispatchAsync, store, $completion) {
|
|
@@ -1885,9 +1885,9 @@
|
|
|
1885
1885
|
var tmp = this.j9_1;
|
|
1886
1886
|
if (tmp === 0) {
|
|
1887
1887
|
this.k9_1 = 1;
|
|
1888
|
-
var tmp_0 = this.
|
|
1889
|
-
var tmp0_reason = new RestartRoundReason(this.
|
|
1890
|
-
var tmp1_table = Companion_instance_0.restartRound(this.
|
|
1888
|
+
var tmp_0 = this.hdq_1.dispatch;
|
|
1889
|
+
var tmp0_reason = new RestartRoundReason(this.ddq_1.gameInfo.round.roundNumber);
|
|
1890
|
+
var tmp1_table = Companion_instance_0.restartRound(this.edq_1, _get_idsProvider__fnfajc(this.fdq_1).q6m(), get_versionOrDefault(GameEngineConfig_instance), this.ddq_1);
|
|
1891
1891
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
1892
1892
|
return Unit_instance;
|
|
1893
1893
|
} else if (tmp === 1) {
|
|
@@ -1900,9 +1900,9 @@
|
|
|
1900
1900
|
while (true);
|
|
1901
1901
|
};
|
|
1902
1902
|
protoOf(GameServer$roomOnContinueFromRound$slambda).bbb = function ($this$dispatchAsync, store, completion) {
|
|
1903
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
1904
|
-
i.
|
|
1905
|
-
i.
|
|
1903
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.ddq_1, this.edq_1, this.fdq_1, completion);
|
|
1904
|
+
i.gdq_1 = $this$dispatchAsync;
|
|
1905
|
+
i.hdq_1 = store;
|
|
1906
1906
|
return i;
|
|
1907
1907
|
};
|
|
1908
1908
|
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, resultContinuation) {
|
|
@@ -1933,7 +1933,7 @@
|
|
|
1933
1933
|
var tmp = this.j9_1;
|
|
1934
1934
|
if (tmp === 0) {
|
|
1935
1935
|
this.k9_1 = 1;
|
|
1936
|
-
this.
|
|
1936
|
+
this.rdq_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
1937
1937
|
return Unit_instance;
|
|
1938
1938
|
} else if (tmp === 1) {
|
|
1939
1939
|
throw this.m9_1;
|
|
@@ -1946,8 +1946,8 @@
|
|
|
1946
1946
|
};
|
|
1947
1947
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).bbb = function ($this$dispatchAsync, store, completion) {
|
|
1948
1948
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
1949
|
-
i.
|
|
1950
|
-
i.
|
|
1949
|
+
i.qdq_1 = $this$dispatchAsync;
|
|
1950
|
+
i.rdq_1 = store;
|
|
1951
1951
|
return i;
|
|
1952
1952
|
};
|
|
1953
1953
|
function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
|
|
@@ -1959,7 +1959,7 @@
|
|
|
1959
1959
|
return l;
|
|
1960
1960
|
}
|
|
1961
1961
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
1962
|
-
this.
|
|
1962
|
+
this.adr_1 = $spectators;
|
|
1963
1963
|
CoroutineImpl.call(this, resultContinuation);
|
|
1964
1964
|
}
|
|
1965
1965
|
protoOf(GameServer$addSpectatorsToRoom$slambda).abb = function ($this$dispatchAsync, store, $completion) {
|
|
@@ -1979,7 +1979,7 @@
|
|
|
1979
1979
|
var tmp = this.j9_1;
|
|
1980
1980
|
if (tmp === 0) {
|
|
1981
1981
|
this.k9_1 = 1;
|
|
1982
|
-
this.
|
|
1982
|
+
this.cdr_1.dispatch(new AddSpectatorsAction(toList(this.adr_1)));
|
|
1983
1983
|
return Unit_instance;
|
|
1984
1984
|
} else if (tmp === 1) {
|
|
1985
1985
|
throw this.m9_1;
|
|
@@ -1991,9 +1991,9 @@
|
|
|
1991
1991
|
while (true);
|
|
1992
1992
|
};
|
|
1993
1993
|
protoOf(GameServer$addSpectatorsToRoom$slambda).bbb = function ($this$dispatchAsync, store, completion) {
|
|
1994
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
1995
|
-
i.
|
|
1996
|
-
i.
|
|
1994
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.adr_1, completion);
|
|
1995
|
+
i.bdr_1 = $this$dispatchAsync;
|
|
1996
|
+
i.cdr_1 = store;
|
|
1997
1997
|
return i;
|
|
1998
1998
|
};
|
|
1999
1999
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
@@ -2005,7 +2005,7 @@
|
|
|
2005
2005
|
return l;
|
|
2006
2006
|
}
|
|
2007
2007
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
2008
|
-
this.
|
|
2008
|
+
this.ldr_1 = $spectators;
|
|
2009
2009
|
CoroutineImpl.call(this, resultContinuation);
|
|
2010
2010
|
}
|
|
2011
2011
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).abb = function ($this$dispatchAsync, store, $completion) {
|
|
@@ -2025,7 +2025,7 @@
|
|
|
2025
2025
|
var tmp = this.j9_1;
|
|
2026
2026
|
if (tmp === 0) {
|
|
2027
2027
|
this.k9_1 = 1;
|
|
2028
|
-
this.
|
|
2028
|
+
this.ndr_1.dispatch(new RemoveSpectatorsAction(toList(this.ldr_1)));
|
|
2029
2029
|
return Unit_instance;
|
|
2030
2030
|
} else if (tmp === 1) {
|
|
2031
2031
|
throw this.m9_1;
|
|
@@ -2037,9 +2037,9 @@
|
|
|
2037
2037
|
while (true);
|
|
2038
2038
|
};
|
|
2039
2039
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).bbb = function ($this$dispatchAsync, store, completion) {
|
|
2040
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
2041
|
-
i.
|
|
2042
|
-
i.
|
|
2040
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.ldr_1, completion);
|
|
2041
|
+
i.mdr_1 = $this$dispatchAsync;
|
|
2042
|
+
i.ndr_1 = store;
|
|
2043
2043
|
return i;
|
|
2044
2044
|
};
|
|
2045
2045
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
@@ -2051,8 +2051,8 @@
|
|
|
2051
2051
|
return l;
|
|
2052
2052
|
}
|
|
2053
2053
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
2054
|
-
this.
|
|
2055
|
-
this.
|
|
2054
|
+
this.wdr_1 = $playerId;
|
|
2055
|
+
this.xdr_1 = this$0;
|
|
2056
2056
|
CoroutineImpl.call(this, resultContinuation);
|
|
2057
2057
|
}
|
|
2058
2058
|
protoOf(GameServer$roomRefreshPlayerState$slambda).abb = function ($this$dispatchAsync, store, $completion) {
|
|
@@ -2072,14 +2072,14 @@
|
|
|
2072
2072
|
var tmp = this.j9_1;
|
|
2073
2073
|
if (tmp === 0) {
|
|
2074
2074
|
this.k9_1 = 1;
|
|
2075
|
-
var table = this.
|
|
2076
|
-
var player = getPlayer(table.players, this.
|
|
2075
|
+
var table = this.zdr_1.state.i6x();
|
|
2076
|
+
var player = getPlayer(table.players, this.wdr_1);
|
|
2077
2077
|
if (player.g74_1.u6h().l6g_1.isLive) {
|
|
2078
|
-
this.
|
|
2078
|
+
this.zdr_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.xdr_1).o99(player, table));
|
|
2079
2079
|
} else {
|
|
2080
|
-
var tmp_0 = this.
|
|
2080
|
+
var tmp_0 = this.zdr_1.dispatch;
|
|
2081
2081
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2082
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2082
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.wdr_1));
|
|
2083
2083
|
}
|
|
2084
2084
|
return Unit_instance;
|
|
2085
2085
|
} else if (tmp === 1) {
|
|
@@ -2092,9 +2092,9 @@
|
|
|
2092
2092
|
while (true);
|
|
2093
2093
|
};
|
|
2094
2094
|
protoOf(GameServer$roomRefreshPlayerState$slambda).bbb = function ($this$dispatchAsync, store, completion) {
|
|
2095
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
2096
|
-
i.
|
|
2097
|
-
i.
|
|
2095
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.wdr_1, this.xdr_1, completion);
|
|
2096
|
+
i.ydr_1 = $this$dispatchAsync;
|
|
2097
|
+
i.zdr_1 = store;
|
|
2098
2098
|
return i;
|
|
2099
2099
|
};
|
|
2100
2100
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
@@ -2106,8 +2106,8 @@
|
|
|
2106
2106
|
return l;
|
|
2107
2107
|
}
|
|
2108
2108
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
2109
|
-
this.
|
|
2110
|
-
this.
|
|
2109
|
+
this.ids_1 = this$0;
|
|
2110
|
+
this.jds_1 = $newRid;
|
|
2111
2111
|
CoroutineImpl.call(this, resultContinuation);
|
|
2112
2112
|
}
|
|
2113
2113
|
protoOf(GameServer$roomOnDelete$slambda).abb = function ($this$dispatchAsync, store, $completion) {
|
|
@@ -2127,10 +2127,10 @@
|
|
|
2127
2127
|
var tmp = this.j9_1;
|
|
2128
2128
|
if (tmp === 0) {
|
|
2129
2129
|
this.k9_1 = 1;
|
|
2130
|
-
var it = this.
|
|
2130
|
+
var it = this.ids_1.r6f().u6w_1;
|
|
2131
2131
|
var tmp_0;
|
|
2132
2132
|
if (it == null) {
|
|
2133
|
-
_get_logger__rkp4sl(this.
|
|
2133
|
+
_get_logger__rkp4sl(this.ids_1).w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
2134
2134
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
2135
2135
|
} else {
|
|
2136
2136
|
tmp_0 = it;
|
|
@@ -2139,15 +2139,15 @@
|
|
|
2139
2139
|
var gameTransition = terminationState.h8e_1;
|
|
2140
2140
|
var tmp_1;
|
|
2141
2141
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
2142
|
-
var tmp0_elvis_lhs = this.
|
|
2142
|
+
var tmp0_elvis_lhs = this.jds_1;
|
|
2143
2143
|
tmp_1 = gameTransition.copy(tmp0_elvis_lhs == null ? gameTransition.roomId : tmp0_elvis_lhs);
|
|
2144
2144
|
} else {
|
|
2145
2145
|
tmp_1 = gameTransition;
|
|
2146
2146
|
}
|
|
2147
2147
|
var transition = tmp_1;
|
|
2148
|
-
var tmp_2 = this.
|
|
2148
|
+
var tmp_2 = this.lds_1.dispatch;
|
|
2149
2149
|
var tmp0_reason = terminationState.g8e_1;
|
|
2150
|
-
var tmp1_isGameFinished = this.
|
|
2150
|
+
var tmp1_isGameFinished = this.ids_1.r6f().i6x().isGameFinished;
|
|
2151
2151
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
2152
2152
|
return Unit_instance;
|
|
2153
2153
|
} else if (tmp === 1) {
|
|
@@ -2160,9 +2160,9 @@
|
|
|
2160
2160
|
while (true);
|
|
2161
2161
|
};
|
|
2162
2162
|
protoOf(GameServer$roomOnDelete$slambda).bbb = function ($this$dispatchAsync, store, completion) {
|
|
2163
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
2164
|
-
i.
|
|
2165
|
-
i.
|
|
2163
|
+
var i = new GameServer$roomOnDelete$slambda(this.ids_1, this.jds_1, completion);
|
|
2164
|
+
i.kds_1 = $this$dispatchAsync;
|
|
2165
|
+
i.lds_1 = store;
|
|
2166
2166
|
return i;
|
|
2167
2167
|
};
|
|
2168
2168
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
@@ -2174,7 +2174,7 @@
|
|
|
2174
2174
|
return l;
|
|
2175
2175
|
}
|
|
2176
2176
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
2177
|
-
this.
|
|
2177
|
+
this.uds_1 = $enabled;
|
|
2178
2178
|
CoroutineImpl.call(this, resultContinuation);
|
|
2179
2179
|
}
|
|
2180
2180
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).abb = function ($this$dispatchAsync, store, $completion) {
|
|
@@ -2194,7 +2194,7 @@
|
|
|
2194
2194
|
var tmp = this.j9_1;
|
|
2195
2195
|
if (tmp === 0) {
|
|
2196
2196
|
this.k9_1 = 1;
|
|
2197
|
-
this.
|
|
2197
|
+
this.wds_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload(this.wds_1.state).config.copy(VOID, this.uds_1)));
|
|
2198
2198
|
return Unit_instance;
|
|
2199
2199
|
} else if (tmp === 1) {
|
|
2200
2200
|
throw this.m9_1;
|
|
@@ -2206,9 +2206,9 @@
|
|
|
2206
2206
|
while (true);
|
|
2207
2207
|
};
|
|
2208
2208
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).bbb = function ($this$dispatchAsync, store, completion) {
|
|
2209
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
2210
|
-
i.
|
|
2211
|
-
i.
|
|
2209
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.uds_1, completion);
|
|
2210
|
+
i.vds_1 = $this$dispatchAsync;
|
|
2211
|
+
i.wds_1 = store;
|
|
2212
2212
|
return i;
|
|
2213
2213
|
};
|
|
2214
2214
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
@@ -2220,9 +2220,9 @@
|
|
|
2220
2220
|
return l;
|
|
2221
2221
|
}
|
|
2222
2222
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
2223
|
-
this.
|
|
2224
|
-
this.
|
|
2225
|
-
this.
|
|
2223
|
+
this.fdt_1 = $reason;
|
|
2224
|
+
this.gdt_1 = this$0;
|
|
2225
|
+
this.hdt_1 = $roomId;
|
|
2226
2226
|
CoroutineImpl.call(this, resultContinuation);
|
|
2227
2227
|
}
|
|
2228
2228
|
protoOf(GameServer$shutdown$slambda).abb = function ($this$dispatchAsync, store, $completion) {
|
|
@@ -2242,11 +2242,11 @@
|
|
|
2242
2242
|
var tmp = this.j9_1;
|
|
2243
2243
|
if (tmp === 0) {
|
|
2244
2244
|
this.k9_1 = 1;
|
|
2245
|
-
var state = this.
|
|
2245
|
+
var state = this.jdt_1.store.state;
|
|
2246
2246
|
if (state.j6x()) {
|
|
2247
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
2247
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.fdt_1, get_serverShutdownReasonMapping());
|
|
2248
2248
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
2249
|
-
var tmp_0 = this.
|
|
2249
|
+
var tmp_0 = this.jdt_1.dispatch;
|
|
2250
2250
|
var tmp_1 = Companion_instance;
|
|
2251
2251
|
var tmp_2;
|
|
2252
2252
|
switch (shutdownReason.r2_1) {
|
|
@@ -2260,10 +2260,10 @@
|
|
|
2260
2260
|
noWhenBranchMatchedException();
|
|
2261
2261
|
break;
|
|
2262
2262
|
}
|
|
2263
|
-
tmp_0(tmp_1.withAnalytics(tmp_2, this.
|
|
2263
|
+
tmp_0(tmp_1.withAnalytics(tmp_2, this.gdt_1.table.isGameFinished, this.gdt_1.table));
|
|
2264
2264
|
} else {
|
|
2265
|
-
_get_logger__rkp4sl(this.
|
|
2266
|
-
this.
|
|
2265
|
+
_get_logger__rkp4sl(this.gdt_1).w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.hdt_1);
|
|
2266
|
+
this.jdt_1.dispatch(new ClearAction());
|
|
2267
2267
|
}
|
|
2268
2268
|
return Unit_instance;
|
|
2269
2269
|
} else if (tmp === 1) {
|
|
@@ -2276,9 +2276,9 @@
|
|
|
2276
2276
|
while (true);
|
|
2277
2277
|
};
|
|
2278
2278
|
protoOf(GameServer$shutdown$slambda).bbb = function ($this$dispatchAsync, store, completion) {
|
|
2279
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
2280
|
-
i.
|
|
2281
|
-
i.
|
|
2279
|
+
var i = new GameServer$shutdown$slambda(this.fdt_1, this.gdt_1, this.hdt_1, completion);
|
|
2280
|
+
i.idt_1 = $this$dispatchAsync;
|
|
2281
|
+
i.jdt_1 = store;
|
|
2282
2282
|
return i;
|
|
2283
2283
|
};
|
|
2284
2284
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
@@ -2313,46 +2313,46 @@
|
|
|
2313
2313
|
// Inline function 'org.kodein.type.generic' call
|
|
2314
2314
|
var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
2315
2315
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
2316
|
-
tmp_1.
|
|
2316
|
+
tmp_1.jdk_1 = Instance(di, tmp$ret$2, null).w67(this, logger$factory());
|
|
2317
2317
|
var tmp_3 = this;
|
|
2318
2318
|
// Inline function 'org.kodein.di.instance' call
|
|
2319
2319
|
// Inline function 'org.kodein.type.generic' call
|
|
2320
2320
|
var tmp_4 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
|
|
2321
2321
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
2322
|
-
tmp_3.
|
|
2322
|
+
tmp_3.kdk_1 = Instance(di, tmp$ret$4, null).w67(this, toClientEventsObserver$factory());
|
|
2323
2323
|
var tmp_5 = this;
|
|
2324
2324
|
// Inline function 'org.kodein.di.instance' call
|
|
2325
2325
|
// Inline function 'org.kodein.type.generic' call
|
|
2326
2326
|
var tmp_6 = typeToken(createKType(getKClass(FromClientEventsObserver), arrayOf([]), false));
|
|
2327
2327
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
2328
|
-
tmp_5.
|
|
2328
|
+
tmp_5.ldk_1 = Instance(di, tmp$ret$6, null).w67(this, fromClientEventsObserver$factory());
|
|
2329
2329
|
var tmp_7 = this;
|
|
2330
2330
|
// Inline function 'org.kodein.di.instance' call
|
|
2331
2331
|
// Inline function 'org.kodein.type.generic' call
|
|
2332
2332
|
var tmp_8 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
|
|
2333
2333
|
var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
2334
|
-
tmp_7.
|
|
2334
|
+
tmp_7.mdk_1 = Instance(di, tmp$ret$8, null).w67(this, playerConnectionInteractor$factory());
|
|
2335
2335
|
var tmp_9 = this;
|
|
2336
2336
|
// Inline function 'org.kodein.di.instance' call
|
|
2337
2337
|
// Inline function 'org.kodein.type.generic' call
|
|
2338
2338
|
var tmp_10 = typeToken(createKType(getKClass(TeamsLogicProvider), arrayOf([]), false));
|
|
2339
2339
|
var tmp$ret$10 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
2340
|
-
tmp_9.
|
|
2340
|
+
tmp_9.ndk_1 = Instance(di, tmp$ret$10, null).w67(this, teamsLogicProvider$factory());
|
|
2341
2341
|
var tmp_11 = this;
|
|
2342
|
-
tmp_11.
|
|
2342
|
+
tmp_11.odk_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
2343
2343
|
var tmp_12 = this;
|
|
2344
2344
|
// Inline function 'org.kodein.di.instance' call
|
|
2345
2345
|
// Inline function 'org.kodein.type.generic' call
|
|
2346
2346
|
var tmp_13 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
2347
2347
|
var tmp$ret$12 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
2348
|
-
tmp_12.
|
|
2348
|
+
tmp_12.pdk_1 = Instance(di, tmp$ret$12, null).w67(this, idsProvider$factory());
|
|
2349
2349
|
var tmp_14 = this;
|
|
2350
2350
|
var tmp0_externalMiddlewares = plus(storeContract.t9f(), externalMiddlewares);
|
|
2351
2351
|
var tmp1_externalReducers = plus(storeContract.s9f(), externalReducers);
|
|
2352
|
-
tmp_14.
|
|
2352
|
+
tmp_14.qdk_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
2353
2353
|
}
|
|
2354
2354
|
protoOf(GameServer).h6w = function () {
|
|
2355
|
-
return this.
|
|
2355
|
+
return this.qdk_1;
|
|
2356
2356
|
};
|
|
2357
2357
|
protoOf(GameServer).z5o = function () {
|
|
2358
2358
|
return this.r6f().i6x().id;
|
|
@@ -2380,55 +2380,55 @@
|
|
|
2380
2380
|
};
|
|
2381
2381
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
2382
2382
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
2383
|
-
this.
|
|
2383
|
+
this.qdk_1.h6x(GameServer$fromClientEvent$slambda_0(action, null));
|
|
2384
2384
|
};
|
|
2385
2385
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
2386
2386
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
2387
|
-
this.
|
|
2387
|
+
this.qdk_1.h6x(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
2388
2388
|
};
|
|
2389
2389
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
2390
2390
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLive: ' + playerId);
|
|
2391
|
-
this.
|
|
2391
|
+
this.qdk_1.h6x(GameServer$playerLive$slambda_0(this, playerId, null));
|
|
2392
2392
|
};
|
|
2393
2393
|
protoOf(GameServer).playerLeft = function (playerId) {
|
|
2394
2394
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
2395
|
-
this.
|
|
2395
|
+
this.qdk_1.h6x(GameServer$playerLeft$slambda_0(this, playerId, null));
|
|
2396
2396
|
};
|
|
2397
|
-
protoOf(GameServer).
|
|
2397
|
+
protoOf(GameServer).kdt = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
2398
2398
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
2399
|
-
this.
|
|
2399
|
+
this.qdk_1.h6x(GameServer$roomOnCreate$slambda_0(usersArray, config, this, roomId, transition, gameCreatorId, spectators, null));
|
|
2400
2400
|
};
|
|
2401
2401
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
2402
2402
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
2403
|
-
this.
|
|
2404
|
-
this.
|
|
2403
|
+
this.qdk_1.h6x(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
2404
|
+
this.qdk_1.h6x(GameServer$roomOnContinueFromState$slambda_2(state, null));
|
|
2405
2405
|
};
|
|
2406
2406
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
2407
2407
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
2408
|
-
this.
|
|
2409
|
-
this.
|
|
2408
|
+
this.qdk_1.h6x(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
2409
|
+
this.qdk_1.h6x(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
2410
2410
|
};
|
|
2411
2411
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
2412
|
-
this.
|
|
2412
|
+
this.qdk_1.h6x(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
2413
2413
|
};
|
|
2414
2414
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
2415
|
-
this.
|
|
2415
|
+
this.qdk_1.h6x(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
2416
2416
|
};
|
|
2417
2417
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
2418
2418
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
2419
|
-
this.
|
|
2419
|
+
this.qdk_1.h6x(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
2420
2420
|
};
|
|
2421
|
-
protoOf(GameServer).
|
|
2421
|
+
protoOf(GameServer).ldt = function (newRid) {
|
|
2422
2422
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnDelete: ' + newRid);
|
|
2423
|
-
this.
|
|
2423
|
+
this.qdk_1.h6x(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
2424
2424
|
};
|
|
2425
2425
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
2426
2426
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
2427
|
-
this.
|
|
2427
|
+
this.qdk_1.h6x(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
2428
2428
|
};
|
|
2429
|
-
protoOf(GameServer).
|
|
2429
|
+
protoOf(GameServer).mdt = function (reason, roomId) {
|
|
2430
2430
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
2431
|
-
this.
|
|
2431
|
+
this.qdk_1.h6x(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
2432
2432
|
};
|
|
2433
2433
|
protoOf(GameServer).clear = function () {
|
|
2434
2434
|
return this.d2();
|
|
@@ -2544,10 +2544,10 @@
|
|
|
2544
2544
|
this.fromRound = fromRound;
|
|
2545
2545
|
this.canStartNewGame = canStartNewGame;
|
|
2546
2546
|
}
|
|
2547
|
-
protoOf(ServerConfig).
|
|
2547
|
+
protoOf(ServerConfig).ndt = function () {
|
|
2548
2548
|
return this.fromRound;
|
|
2549
2549
|
};
|
|
2550
|
-
protoOf(ServerConfig).
|
|
2550
|
+
protoOf(ServerConfig).odt = function () {
|
|
2551
2551
|
return this.canStartNewGame;
|
|
2552
2552
|
};
|
|
2553
2553
|
protoOf(ServerConfig).ue = function () {
|
|
@@ -2556,13 +2556,13 @@
|
|
|
2556
2556
|
protoOf(ServerConfig).ve = function () {
|
|
2557
2557
|
return this.canStartNewGame;
|
|
2558
2558
|
};
|
|
2559
|
-
protoOf(ServerConfig).
|
|
2559
|
+
protoOf(ServerConfig).pdt = function (fromRound, canStartNewGame) {
|
|
2560
2560
|
return new ServerConfig(fromRound, canStartNewGame);
|
|
2561
2561
|
};
|
|
2562
2562
|
protoOf(ServerConfig).copy = function (fromRound, canStartNewGame, $super) {
|
|
2563
2563
|
fromRound = fromRound === VOID ? this.fromRound : fromRound;
|
|
2564
2564
|
canStartNewGame = canStartNewGame === VOID ? this.canStartNewGame : canStartNewGame;
|
|
2565
|
-
return this.
|
|
2565
|
+
return this.pdt(fromRound, canStartNewGame);
|
|
2566
2566
|
};
|
|
2567
2567
|
protoOf(ServerConfig).toString = function () {
|
|
2568
2568
|
return 'ServerConfig(fromRound=' + this.fromRound + ', canStartNewGame=' + this.canStartNewGame + ')';
|
|
@@ -2595,12 +2595,12 @@
|
|
|
2595
2595
|
protoOf(TableStateUpdate).ue = function () {
|
|
2596
2596
|
return this.table;
|
|
2597
2597
|
};
|
|
2598
|
-
protoOf(TableStateUpdate).
|
|
2598
|
+
protoOf(TableStateUpdate).qdt = function (table) {
|
|
2599
2599
|
return new TableStateUpdate(table);
|
|
2600
2600
|
};
|
|
2601
2601
|
protoOf(TableStateUpdate).copy = function (table, $super) {
|
|
2602
2602
|
table = table === VOID ? this.table : table;
|
|
2603
|
-
return this.
|
|
2603
|
+
return this.qdt(table);
|
|
2604
2604
|
};
|
|
2605
2605
|
protoOf(TableStateUpdate).toString = function () {
|
|
2606
2606
|
return 'TableStateUpdate(table=' + this.table.toString() + ')';
|
|
@@ -2627,12 +2627,12 @@
|
|
|
2627
2627
|
protoOf(ActionsStateUpdate).ue = function () {
|
|
2628
2628
|
return this.actions;
|
|
2629
2629
|
};
|
|
2630
|
-
protoOf(ActionsStateUpdate).
|
|
2630
|
+
protoOf(ActionsStateUpdate).rdt = function (actions) {
|
|
2631
2631
|
return new ActionsStateUpdate(actions);
|
|
2632
2632
|
};
|
|
2633
2633
|
protoOf(ActionsStateUpdate).copy = function (actions, $super) {
|
|
2634
2634
|
actions = actions === VOID ? this.actions : actions;
|
|
2635
|
-
return this.
|
|
2635
|
+
return this.rdt(actions);
|
|
2636
2636
|
};
|
|
2637
2637
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
2638
2638
|
return 'ActionsStateUpdate(actions=' + toString(this.actions) + ')';
|
|
@@ -2878,18 +2878,18 @@
|
|
|
2878
2878
|
function ToClientEventsObserver() {
|
|
2879
2879
|
}
|
|
2880
2880
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
2881
|
-
this.
|
|
2882
|
-
this.
|
|
2881
|
+
this.bdu_1 = this$0;
|
|
2882
|
+
this.cdu_1 = $actions;
|
|
2883
2883
|
CoroutineImpl.call(this, resultContinuation);
|
|
2884
2884
|
}
|
|
2885
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
2886
|
-
var tmp = this.
|
|
2885
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).jdu = function ($this$flow, $completion) {
|
|
2886
|
+
var tmp = this.kdu($this$flow, $completion);
|
|
2887
2887
|
tmp.l9_1 = Unit_instance;
|
|
2888
2888
|
tmp.m9_1 = null;
|
|
2889
2889
|
return tmp.r9();
|
|
2890
2890
|
};
|
|
2891
2891
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).ba = function (p1, $completion) {
|
|
2892
|
-
return this.
|
|
2892
|
+
return this.jdu((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
2893
2893
|
};
|
|
2894
2894
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).r9 = function () {
|
|
2895
2895
|
var suspendResult = this.l9_1;
|
|
@@ -2900,23 +2900,23 @@
|
|
|
2900
2900
|
case 0:
|
|
2901
2901
|
this.k9_1 = 4;
|
|
2902
2902
|
var tmp_0 = this;
|
|
2903
|
-
tmp_0.
|
|
2903
|
+
tmp_0.edu_1 = this.bdu_1.pdu_1;
|
|
2904
2904
|
var tmp_1 = this;
|
|
2905
|
-
tmp_1.
|
|
2906
|
-
this.
|
|
2905
|
+
tmp_1.fdu_1 = transformToEmits(this.bdu_1, this.cdu_1);
|
|
2906
|
+
this.gdu_1 = this.fdu_1.j();
|
|
2907
2907
|
this.j9_1 = 1;
|
|
2908
2908
|
continue $sm;
|
|
2909
2909
|
case 1:
|
|
2910
|
-
if (!this.
|
|
2910
|
+
if (!this.gdu_1.k()) {
|
|
2911
2911
|
this.j9_1 = 3;
|
|
2912
2912
|
continue $sm;
|
|
2913
2913
|
}
|
|
2914
2914
|
|
|
2915
|
-
this.
|
|
2915
|
+
this.hdu_1 = this.gdu_1.l();
|
|
2916
2916
|
var tmp_2 = this;
|
|
2917
|
-
tmp_2.
|
|
2917
|
+
tmp_2.idu_1 = this.hdu_1;
|
|
2918
2918
|
this.j9_1 = 2;
|
|
2919
|
-
suspendResult = this.
|
|
2919
|
+
suspendResult = this.ddu_1.r18(this.idu_1, this);
|
|
2920
2920
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2921
2921
|
return suspendResult;
|
|
2922
2922
|
}
|
|
@@ -2927,10 +2927,10 @@
|
|
|
2927
2927
|
continue $sm;
|
|
2928
2928
|
case 3:
|
|
2929
2929
|
l$ret$1: do {
|
|
2930
|
-
var this_0 = this.
|
|
2930
|
+
var this_0 = this.bdu_1.odu_1;
|
|
2931
2931
|
while (true) {
|
|
2932
2932
|
var cur = this_0.kotlinx$atomicfu$value;
|
|
2933
|
-
var upd = cur - this.
|
|
2933
|
+
var upd = cur - this.cdu_1.m() | 0;
|
|
2934
2934
|
if (this_0.atomicfu$compareAndSet(cur, upd)) {
|
|
2935
2935
|
break l$ret$1;
|
|
2936
2936
|
}
|
|
@@ -2952,15 +2952,15 @@
|
|
|
2952
2952
|
}
|
|
2953
2953
|
while (true);
|
|
2954
2954
|
};
|
|
2955
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
2956
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
2957
|
-
i.
|
|
2955
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).kdu = function ($this$flow, completion) {
|
|
2956
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.bdu_1, this.cdu_1, completion);
|
|
2957
|
+
i.ddu_1 = $this$flow;
|
|
2958
2958
|
return i;
|
|
2959
2959
|
};
|
|
2960
2960
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
2961
2961
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
2962
2962
|
var l = function ($this$flow, $completion) {
|
|
2963
|
-
return i.
|
|
2963
|
+
return i.jdu($this$flow, $completion);
|
|
2964
2964
|
};
|
|
2965
2965
|
l.$arity = 1;
|
|
2966
2966
|
return l;
|
|
@@ -3033,29 +3033,29 @@
|
|
|
3033
3033
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
3034
3034
|
}
|
|
3035
3035
|
function mapFromGroupKey(_this__u8e3s4, $this) {
|
|
3036
|
-
var tmp = $this.
|
|
3036
|
+
var tmp = $this.ndu_1.q6m();
|
|
3037
3037
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3038
|
-
var this_0 = _this__u8e3s4.
|
|
3038
|
+
var this_0 = _this__u8e3s4.sdu_1;
|
|
3039
3039
|
var tmp_0 = copyToArray(this_0);
|
|
3040
3040
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3041
|
-
var this_1 = _this__u8e3s4.
|
|
3041
|
+
var this_1 = _this__u8e3s4.tdu_1;
|
|
3042
3042
|
var tmp$ret$1 = copyToArray(this_1);
|
|
3043
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
3043
|
+
return new ActionDeliveryPayload(_this__u8e3s4.rdu_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.udu_1);
|
|
3044
3044
|
}
|
|
3045
3045
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
3046
|
-
this.
|
|
3047
|
-
this.
|
|
3048
|
-
this.
|
|
3049
|
-
this.
|
|
3046
|
+
this.rdu_1 = tableId;
|
|
3047
|
+
this.sdu_1 = includePlayers;
|
|
3048
|
+
this.tdu_1 = excludePlayers;
|
|
3049
|
+
this.udu_1 = deliveryType;
|
|
3050
3050
|
}
|
|
3051
3051
|
protoOf(GroupKey).toString = function () {
|
|
3052
|
-
return 'GroupKey(tableId=' + this.
|
|
3052
|
+
return 'GroupKey(tableId=' + this.rdu_1 + ', includePlayers=' + toString(this.sdu_1) + ', excludePlayers=' + toString(this.tdu_1) + ', deliveryType=' + this.udu_1.toString() + ')';
|
|
3053
3053
|
};
|
|
3054
3054
|
protoOf(GroupKey).hashCode = function () {
|
|
3055
|
-
var result = getStringHashCode(this.
|
|
3056
|
-
result = imul(result, 31) + hashCode(this.
|
|
3057
|
-
result = imul(result, 31) + hashCode(this.
|
|
3058
|
-
result = imul(result, 31) + this.
|
|
3055
|
+
var result = getStringHashCode(this.rdu_1);
|
|
3056
|
+
result = imul(result, 31) + hashCode(this.sdu_1) | 0;
|
|
3057
|
+
result = imul(result, 31) + hashCode(this.tdu_1) | 0;
|
|
3058
|
+
result = imul(result, 31) + this.udu_1.hashCode() | 0;
|
|
3059
3059
|
return result;
|
|
3060
3060
|
};
|
|
3061
3061
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -3064,35 +3064,35 @@
|
|
|
3064
3064
|
if (!(other instanceof GroupKey))
|
|
3065
3065
|
return false;
|
|
3066
3066
|
var tmp0_other_with_cast = other instanceof GroupKey ? other : THROW_CCE();
|
|
3067
|
-
if (!(this.
|
|
3067
|
+
if (!(this.rdu_1 === tmp0_other_with_cast.rdu_1))
|
|
3068
3068
|
return false;
|
|
3069
|
-
if (!equals(this.
|
|
3069
|
+
if (!equals(this.sdu_1, tmp0_other_with_cast.sdu_1))
|
|
3070
3070
|
return false;
|
|
3071
|
-
if (!equals(this.
|
|
3071
|
+
if (!equals(this.tdu_1, tmp0_other_with_cast.tdu_1))
|
|
3072
3072
|
return false;
|
|
3073
|
-
if (!this.
|
|
3073
|
+
if (!this.udu_1.equals(tmp0_other_with_cast.udu_1))
|
|
3074
3074
|
return false;
|
|
3075
3075
|
return true;
|
|
3076
3076
|
};
|
|
3077
3077
|
function Companion_1() {
|
|
3078
|
-
this.
|
|
3078
|
+
this.vdu_1 = 6;
|
|
3079
3079
|
}
|
|
3080
3080
|
var Companion_instance_9;
|
|
3081
3081
|
function Companion_getInstance_2() {
|
|
3082
3082
|
return Companion_instance_9;
|
|
3083
3083
|
}
|
|
3084
3084
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
3085
|
-
this.
|
|
3085
|
+
this.edv_1 = this$0;
|
|
3086
3086
|
CoroutineImpl.call(this, resultContinuation);
|
|
3087
3087
|
}
|
|
3088
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3089
|
-
var tmp = this.
|
|
3088
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).gdv = function (actions, $completion) {
|
|
3089
|
+
var tmp = this.hdv(actions, $completion);
|
|
3090
3090
|
tmp.l9_1 = Unit_instance;
|
|
3091
3091
|
tmp.m9_1 = null;
|
|
3092
3092
|
return tmp.r9();
|
|
3093
3093
|
};
|
|
3094
3094
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).ba = function (p1, $completion) {
|
|
3095
|
-
return this.
|
|
3095
|
+
return this.gdv((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
3096
3096
|
};
|
|
3097
3097
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).r9 = function () {
|
|
3098
3098
|
var suspendResult = this.l9_1;
|
|
@@ -3101,7 +3101,7 @@
|
|
|
3101
3101
|
var tmp = this.j9_1;
|
|
3102
3102
|
if (tmp === 0) {
|
|
3103
3103
|
this.k9_1 = 1;
|
|
3104
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
3104
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.edv_1, this.fdv_1, null));
|
|
3105
3105
|
} else if (tmp === 1) {
|
|
3106
3106
|
throw this.m9_1;
|
|
3107
3107
|
}
|
|
@@ -3111,23 +3111,23 @@
|
|
|
3111
3111
|
}
|
|
3112
3112
|
while (true);
|
|
3113
3113
|
};
|
|
3114
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3115
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
3116
|
-
i.
|
|
3114
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).hdv = function (actions, completion) {
|
|
3115
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.edv_1, completion);
|
|
3116
|
+
i.fdv_1 = actions;
|
|
3117
3117
|
return i;
|
|
3118
3118
|
};
|
|
3119
3119
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
3120
3120
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
3121
3121
|
var l = function (actions, $completion) {
|
|
3122
|
-
return i.
|
|
3122
|
+
return i.gdv(actions, $completion);
|
|
3123
3123
|
};
|
|
3124
3124
|
l.$arity = 1;
|
|
3125
3125
|
return l;
|
|
3126
3126
|
}
|
|
3127
3127
|
function $sentEventCOROUTINE$3(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
3128
3128
|
CoroutineImpl.call(this, resultContinuation);
|
|
3129
|
-
this.
|
|
3130
|
-
this.
|
|
3129
|
+
this.qdv_1 = _this__u8e3s4;
|
|
3130
|
+
this.rdv_1 = fromEvent;
|
|
3131
3131
|
}
|
|
3132
3132
|
protoOf($sentEventCOROUTINE$3).r9 = function () {
|
|
3133
3133
|
var suspendResult = this.l9_1;
|
|
@@ -3138,9 +3138,9 @@
|
|
|
3138
3138
|
case 0:
|
|
3139
3139
|
this.k9_1 = 2;
|
|
3140
3140
|
var tmp_0 = this;
|
|
3141
|
-
tmp_0.
|
|
3141
|
+
tmp_0.sdv_1 = this.qdv_1.pdu_1;
|
|
3142
3142
|
l$ret$1: do {
|
|
3143
|
-
var this_0 = this.
|
|
3143
|
+
var this_0 = this.qdv_1.odu_1;
|
|
3144
3144
|
while (true) {
|
|
3145
3145
|
var cur = this_0.kotlinx$atomicfu$value;
|
|
3146
3146
|
var upd = cur + 1 | 0;
|
|
@@ -3151,7 +3151,7 @@
|
|
|
3151
3151
|
}
|
|
3152
3152
|
while (false);
|
|
3153
3153
|
this.j9_1 = 1;
|
|
3154
|
-
suspendResult = this.
|
|
3154
|
+
suspendResult = this.qdv_1.qdu_1.r18(this.rdv_1, this);
|
|
3155
3155
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3156
3156
|
return suspendResult;
|
|
3157
3157
|
}
|
|
@@ -3175,7 +3175,7 @@
|
|
|
3175
3175
|
};
|
|
3176
3176
|
function $waitForCOROUTINE$4(_this__u8e3s4, resultContinuation) {
|
|
3177
3177
|
CoroutineImpl.call(this, resultContinuation);
|
|
3178
|
-
this.
|
|
3178
|
+
this.bdw_1 = _this__u8e3s4;
|
|
3179
3179
|
}
|
|
3180
3180
|
protoOf($waitForCOROUTINE$4).r9 = function () {
|
|
3181
3181
|
var suspendResult = this.l9_1;
|
|
@@ -3186,12 +3186,12 @@
|
|
|
3186
3186
|
case 0:
|
|
3187
3187
|
this.k9_1 = 5;
|
|
3188
3188
|
var tmp_0 = this;
|
|
3189
|
-
tmp_0.
|
|
3190
|
-
this.
|
|
3189
|
+
tmp_0.cdw_1 = this.bdw_1.pdu_1;
|
|
3190
|
+
this.ddw_1 = 0;
|
|
3191
3191
|
this.j9_1 = 1;
|
|
3192
3192
|
continue $sm;
|
|
3193
3193
|
case 1:
|
|
3194
|
-
if (!!(this.
|
|
3194
|
+
if (!!(this.bdw_1.odu_1.kotlinx$atomicfu$value === 0)) {
|
|
3195
3195
|
this.j9_1 = 4;
|
|
3196
3196
|
continue $sm;
|
|
3197
3197
|
}
|
|
@@ -3204,9 +3204,9 @@
|
|
|
3204
3204
|
|
|
3205
3205
|
continue $sm;
|
|
3206
3206
|
case 2:
|
|
3207
|
-
this.
|
|
3208
|
-
if (this.
|
|
3209
|
-
this.
|
|
3207
|
+
this.ddw_1 = this.ddw_1 + 1 | 0;
|
|
3208
|
+
if (this.ddw_1 > 6) {
|
|
3209
|
+
this.bdw_1.mdu_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.bdw_1.odu_1.kotlinx$atomicfu$value);
|
|
3210
3210
|
this.j9_1 = 4;
|
|
3211
3211
|
continue $sm;
|
|
3212
3212
|
} else {
|
|
@@ -3234,16 +3234,16 @@
|
|
|
3234
3234
|
while (true);
|
|
3235
3235
|
};
|
|
3236
3236
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
3237
|
-
this.
|
|
3238
|
-
this.
|
|
3239
|
-
this.
|
|
3240
|
-
this.
|
|
3237
|
+
this.ldu_1 = serverReduxConfig;
|
|
3238
|
+
this.mdu_1 = logger;
|
|
3239
|
+
this.ndu_1 = idsProvider;
|
|
3240
|
+
this.odu_1 = atomic$ref$1(0);
|
|
3241
3241
|
var tmp = this;
|
|
3242
3242
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
3243
|
-
tmp.
|
|
3244
|
-
this.
|
|
3243
|
+
tmp.pdu_1 = get_atomicfu$reentrantLock();
|
|
3244
|
+
this.qdu_1 = MutableSharedFlow();
|
|
3245
3245
|
}
|
|
3246
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3246
|
+
protoOf(ToClientEventsObserverImpl).sdt = function (fromEvent, $completion) {
|
|
3247
3247
|
var tmp = new $sentEventCOROUTINE$3(this, fromEvent, $completion);
|
|
3248
3248
|
tmp.l9_1 = Unit_instance;
|
|
3249
3249
|
tmp.m9_1 = null;
|
|
@@ -3256,20 +3256,20 @@
|
|
|
3256
3256
|
return tmp.r9();
|
|
3257
3257
|
};
|
|
3258
3258
|
protoOf(ToClientEventsObserverImpl).saq = function () {
|
|
3259
|
-
if (!this.
|
|
3260
|
-
return this.
|
|
3259
|
+
if (!this.ldu_1.enabledCombinedEvents) {
|
|
3260
|
+
return this.qdu_1;
|
|
3261
3261
|
}
|
|
3262
|
-
var tmp = windowedByInterval(this.
|
|
3262
|
+
var tmp = windowedByInterval(this.qdu_1, toLong(this.ldu_1.combinedEventsPeriod));
|
|
3263
3263
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
3264
3264
|
};
|
|
3265
3265
|
function UpdateServerConfigAction(serverConfig) {
|
|
3266
|
-
this.
|
|
3266
|
+
this.edw_1 = serverConfig;
|
|
3267
3267
|
}
|
|
3268
3268
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
3269
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
3269
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.edw_1.toString() + ')';
|
|
3270
3270
|
};
|
|
3271
3271
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
3272
|
-
return this.
|
|
3272
|
+
return this.edw_1.hashCode();
|
|
3273
3273
|
};
|
|
3274
3274
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
3275
3275
|
if (this === other)
|
|
@@ -3277,18 +3277,18 @@
|
|
|
3277
3277
|
if (!(other instanceof UpdateServerConfigAction))
|
|
3278
3278
|
return false;
|
|
3279
3279
|
var tmp0_other_with_cast = other instanceof UpdateServerConfigAction ? other : THROW_CCE();
|
|
3280
|
-
if (!this.
|
|
3280
|
+
if (!this.edw_1.equals(tmp0_other_with_cast.edw_1))
|
|
3281
3281
|
return false;
|
|
3282
3282
|
return true;
|
|
3283
3283
|
};
|
|
3284
3284
|
function AddSpectatorsAction(spectators) {
|
|
3285
|
-
this.
|
|
3285
|
+
this.fdw_1 = spectators;
|
|
3286
3286
|
}
|
|
3287
3287
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
3288
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
3288
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.fdw_1) + ')';
|
|
3289
3289
|
};
|
|
3290
3290
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
3291
|
-
return hashCode(this.
|
|
3291
|
+
return hashCode(this.fdw_1);
|
|
3292
3292
|
};
|
|
3293
3293
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
3294
3294
|
if (this === other)
|
|
@@ -3296,18 +3296,18 @@
|
|
|
3296
3296
|
if (!(other instanceof AddSpectatorsAction))
|
|
3297
3297
|
return false;
|
|
3298
3298
|
var tmp0_other_with_cast = other instanceof AddSpectatorsAction ? other : THROW_CCE();
|
|
3299
|
-
if (!equals(this.
|
|
3299
|
+
if (!equals(this.fdw_1, tmp0_other_with_cast.fdw_1))
|
|
3300
3300
|
return false;
|
|
3301
3301
|
return true;
|
|
3302
3302
|
};
|
|
3303
3303
|
function RemoveSpectatorsAction(spectators) {
|
|
3304
|
-
this.
|
|
3304
|
+
this.gdw_1 = spectators;
|
|
3305
3305
|
}
|
|
3306
3306
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
3307
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
3307
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.gdw_1) + ')';
|
|
3308
3308
|
};
|
|
3309
3309
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
3310
|
-
return hashCode(this.
|
|
3310
|
+
return hashCode(this.gdw_1);
|
|
3311
3311
|
};
|
|
3312
3312
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
3313
3313
|
if (this === other)
|
|
@@ -3315,7 +3315,7 @@
|
|
|
3315
3315
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
3316
3316
|
return false;
|
|
3317
3317
|
var tmp0_other_with_cast = other instanceof RemoveSpectatorsAction ? other : THROW_CCE();
|
|
3318
|
-
if (!equals(this.
|
|
3318
|
+
if (!equals(this.gdw_1, tmp0_other_with_cast.gdw_1))
|
|
3319
3319
|
return false;
|
|
3320
3320
|
return true;
|
|
3321
3321
|
};
|
|
@@ -3323,85 +3323,85 @@
|
|
|
3323
3323
|
}
|
|
3324
3324
|
function _get_asyncProvider__jbpyhw($this) {
|
|
3325
3325
|
// Inline function 'kotlin.getValue' call
|
|
3326
|
-
var this_0 = $this.
|
|
3326
|
+
var this_0 = $this.mdw_1;
|
|
3327
3327
|
asyncProvider$factory_0();
|
|
3328
3328
|
return this_0.u();
|
|
3329
3329
|
}
|
|
3330
3330
|
function _get_logger__rkp4sl_0($this) {
|
|
3331
3331
|
// Inline function 'kotlin.getValue' call
|
|
3332
|
-
var this_0 = $this.
|
|
3332
|
+
var this_0 = $this.ndw_1;
|
|
3333
3333
|
logger$factory_2();
|
|
3334
3334
|
return this_0.u();
|
|
3335
3335
|
}
|
|
3336
3336
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
3337
3337
|
// Inline function 'kotlin.getValue' call
|
|
3338
|
-
var this_0 = $this.
|
|
3338
|
+
var this_0 = $this.odw_1;
|
|
3339
3339
|
playerConnectionInteractor$factory_2();
|
|
3340
3340
|
return this_0.u();
|
|
3341
3341
|
}
|
|
3342
3342
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
3343
3343
|
// Inline function 'kotlin.getValue' call
|
|
3344
|
-
var this_0 = $this.
|
|
3344
|
+
var this_0 = $this.pdw_1;
|
|
3345
3345
|
lastCardInteractor$factory_0();
|
|
3346
3346
|
return this_0.u();
|
|
3347
3347
|
}
|
|
3348
3348
|
function _get_serverConfig__rk2g06($this) {
|
|
3349
3349
|
// Inline function 'kotlin.getValue' call
|
|
3350
|
-
var this_0 = $this.
|
|
3350
|
+
var this_0 = $this.qdw_1;
|
|
3351
3351
|
serverConfig$factory_0();
|
|
3352
3352
|
return this_0.u();
|
|
3353
3353
|
}
|
|
3354
3354
|
function _get_logicConfig__52ww9d($this) {
|
|
3355
3355
|
// Inline function 'kotlin.getValue' call
|
|
3356
|
-
var this_0 = $this.
|
|
3356
|
+
var this_0 = $this.rdw_1;
|
|
3357
3357
|
logicConfig$factory_0();
|
|
3358
3358
|
return this_0.u();
|
|
3359
3359
|
}
|
|
3360
3360
|
function _get_idsProvider__fnfajc_0($this) {
|
|
3361
3361
|
// Inline function 'kotlin.getValue' call
|
|
3362
|
-
var this_0 = $this.
|
|
3362
|
+
var this_0 = $this.sdw_1;
|
|
3363
3363
|
idsProvider$factory_2();
|
|
3364
3364
|
return this_0.u();
|
|
3365
3365
|
}
|
|
3366
3366
|
function _get_botConfig__cpaxzc($this) {
|
|
3367
3367
|
// Inline function 'kotlin.getValue' call
|
|
3368
|
-
var this_0 = $this.
|
|
3368
|
+
var this_0 = $this.tdw_1;
|
|
3369
3369
|
botConfig$factory_0();
|
|
3370
3370
|
return this_0.u();
|
|
3371
3371
|
}
|
|
3372
3372
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
3373
3373
|
// Inline function 'kotlin.getValue' call
|
|
3374
|
-
var this_0 = $this.
|
|
3374
|
+
var this_0 = $this.udw_1;
|
|
3375
3375
|
scenePositionProvider$factory_0();
|
|
3376
3376
|
return this_0.u();
|
|
3377
3377
|
}
|
|
3378
3378
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
3379
3379
|
// Inline function 'kotlin.getValue' call
|
|
3380
|
-
var this_0 = $this.
|
|
3380
|
+
var this_0 = $this.vdw_1;
|
|
3381
3381
|
toClientEventsObserver$factory_2();
|
|
3382
3382
|
return this_0.u();
|
|
3383
3383
|
}
|
|
3384
3384
|
function _get_fromClientEventsObserver__a7vzd3_0($this) {
|
|
3385
3385
|
// Inline function 'kotlin.getValue' call
|
|
3386
|
-
var this_0 = $this.
|
|
3386
|
+
var this_0 = $this.wdw_1;
|
|
3387
3387
|
fromClientEventsObserver$factory_2();
|
|
3388
3388
|
return this_0.u();
|
|
3389
3389
|
}
|
|
3390
3390
|
function _get_dealerConfig__183ci8($this) {
|
|
3391
3391
|
// Inline function 'kotlin.getValue' call
|
|
3392
|
-
var this_0 = $this.
|
|
3392
|
+
var this_0 = $this.xdw_1;
|
|
3393
3393
|
dealerConfig$factory_0();
|
|
3394
3394
|
return this_0.u();
|
|
3395
3395
|
}
|
|
3396
3396
|
function _get_poolProvider__tqti6a($this) {
|
|
3397
3397
|
// Inline function 'kotlin.getValue' call
|
|
3398
|
-
var this_0 = $this.
|
|
3398
|
+
var this_0 = $this.ydw_1;
|
|
3399
3399
|
poolProvider$factory_0();
|
|
3400
3400
|
return this_0.u();
|
|
3401
3401
|
}
|
|
3402
3402
|
function _get_cardsDealerProvider__bekjpg($this) {
|
|
3403
3403
|
// Inline function 'kotlin.getValue' call
|
|
3404
|
-
var this_0 = $this.
|
|
3404
|
+
var this_0 = $this.zdw_1;
|
|
3405
3405
|
cardsDealerProvider$factory_0();
|
|
3406
3406
|
return this_0.u();
|
|
3407
3407
|
}
|
|
@@ -3414,101 +3414,101 @@
|
|
|
3414
3414
|
botGameStoreContract = botGameStoreContract === VOID ? new BotGameStoreContract(di) : botGameStoreContract;
|
|
3415
3415
|
gameMechanicStoreContract = gameMechanicStoreContract === VOID ? new GameMechanicStoreContract(di, null, true) : gameMechanicStoreContract;
|
|
3416
3416
|
fileLoggerStoreContract = fileLoggerStoreContract === VOID ? new FileLoggerStoreContract(di) : fileLoggerStoreContract;
|
|
3417
|
-
this.
|
|
3418
|
-
this.
|
|
3419
|
-
this.
|
|
3420
|
-
this.
|
|
3421
|
-
this.
|
|
3417
|
+
this.hdw_1 = validationStoreContract;
|
|
3418
|
+
this.idw_1 = timersStoreContract;
|
|
3419
|
+
this.jdw_1 = botGameStoreContract;
|
|
3420
|
+
this.kdw_1 = gameMechanicStoreContract;
|
|
3421
|
+
this.ldw_1 = fileLoggerStoreContract;
|
|
3422
3422
|
var tmp = this;
|
|
3423
3423
|
// Inline function 'org.kodein.di.instance' call
|
|
3424
3424
|
// Inline function 'org.kodein.type.generic' call
|
|
3425
3425
|
var tmp_0 = typeToken(createKType(getKClass(AsyncProvider), arrayOf([]), false));
|
|
3426
3426
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
3427
|
-
tmp.
|
|
3427
|
+
tmp.mdw_1 = Instance(di, tmp$ret$0, null).w67(this, asyncProvider$factory());
|
|
3428
3428
|
var tmp_1 = this;
|
|
3429
3429
|
// Inline function 'org.kodein.di.instance' call
|
|
3430
3430
|
// Inline function 'org.kodein.type.generic' call
|
|
3431
3431
|
var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
3432
3432
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
3433
|
-
tmp_1.
|
|
3433
|
+
tmp_1.ndw_1 = Instance(di, tmp$ret$2, null).w67(this, logger$factory_1());
|
|
3434
3434
|
var tmp_3 = this;
|
|
3435
3435
|
// Inline function 'org.kodein.di.instance' call
|
|
3436
3436
|
// Inline function 'org.kodein.type.generic' call
|
|
3437
3437
|
var tmp_4 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
|
|
3438
3438
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
3439
|
-
tmp_3.
|
|
3439
|
+
tmp_3.odw_1 = Instance(di, tmp$ret$4, null).w67(this, playerConnectionInteractor$factory_1());
|
|
3440
3440
|
var tmp_5 = this;
|
|
3441
3441
|
// Inline function 'org.kodein.di.instance' call
|
|
3442
3442
|
// Inline function 'org.kodein.type.generic' call
|
|
3443
3443
|
var tmp_6 = typeToken(createKType(getKClass(LastCardInteractor), arrayOf([]), false));
|
|
3444
3444
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
3445
|
-
tmp_5.
|
|
3445
|
+
tmp_5.pdw_1 = Instance(di, tmp$ret$6, null).w67(this, lastCardInteractor$factory());
|
|
3446
3446
|
var tmp_7 = this;
|
|
3447
3447
|
// Inline function 'org.kodein.di.instance' call
|
|
3448
3448
|
// Inline function 'org.kodein.type.generic' call
|
|
3449
3449
|
var tmp_8 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
|
|
3450
3450
|
var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
3451
|
-
tmp_7.
|
|
3451
|
+
tmp_7.qdw_1 = Instance(di, tmp$ret$8, null).w67(this, serverConfig$factory());
|
|
3452
3452
|
var tmp_9 = this;
|
|
3453
3453
|
// Inline function 'org.kodein.di.instance' call
|
|
3454
3454
|
// Inline function 'org.kodein.type.generic' call
|
|
3455
3455
|
var tmp_10 = typeToken(createKType(getKClass(EngineLogicConfig), arrayOf([]), false));
|
|
3456
3456
|
var tmp$ret$10 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
3457
|
-
tmp_9.
|
|
3457
|
+
tmp_9.rdw_1 = Instance(di, tmp$ret$10, null).w67(this, logicConfig$factory());
|
|
3458
3458
|
var tmp_11 = this;
|
|
3459
3459
|
// Inline function 'org.kodein.di.instance' call
|
|
3460
3460
|
// Inline function 'org.kodein.type.generic' call
|
|
3461
3461
|
var tmp_12 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
3462
3462
|
var tmp$ret$12 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
3463
|
-
tmp_11.
|
|
3463
|
+
tmp_11.sdw_1 = Instance(di, tmp$ret$12, null).w67(this, idsProvider$factory_1());
|
|
3464
3464
|
var tmp_13 = this;
|
|
3465
3465
|
// Inline function 'org.kodein.di.instance' call
|
|
3466
3466
|
// Inline function 'org.kodein.type.generic' call
|
|
3467
3467
|
var tmp_14 = typeToken(createKType(getKClass(EngineBotConfig), arrayOf([]), false));
|
|
3468
3468
|
var tmp$ret$14 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
3469
|
-
tmp_13.
|
|
3469
|
+
tmp_13.tdw_1 = Instance(di, tmp$ret$14, null).w67(this, botConfig$factory());
|
|
3470
3470
|
var tmp_15 = this;
|
|
3471
3471
|
// Inline function 'org.kodein.di.instance' call
|
|
3472
3472
|
// Inline function 'org.kodein.type.generic' call
|
|
3473
3473
|
var tmp_16 = typeToken(createKType(getKClass(ScenePositionProvider), arrayOf([]), false));
|
|
3474
3474
|
var tmp$ret$16 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
3475
|
-
tmp_15.
|
|
3475
|
+
tmp_15.udw_1 = Instance(di, tmp$ret$16, null).w67(this, scenePositionProvider$factory());
|
|
3476
3476
|
var tmp_17 = this;
|
|
3477
3477
|
// Inline function 'org.kodein.di.instance' call
|
|
3478
3478
|
// Inline function 'org.kodein.type.generic' call
|
|
3479
3479
|
var tmp_18 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
|
|
3480
3480
|
var tmp$ret$18 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
3481
|
-
tmp_17.
|
|
3481
|
+
tmp_17.vdw_1 = Instance(di, tmp$ret$18, null).w67(this, toClientEventsObserver$factory_1());
|
|
3482
3482
|
var tmp_19 = this;
|
|
3483
3483
|
// Inline function 'org.kodein.di.instance' call
|
|
3484
3484
|
// Inline function 'org.kodein.type.generic' call
|
|
3485
3485
|
var tmp_20 = typeToken(createKType(getKClass(FromClientEventsObserver), arrayOf([]), false));
|
|
3486
3486
|
var tmp$ret$20 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
3487
|
-
tmp_19.
|
|
3487
|
+
tmp_19.wdw_1 = Instance(di, tmp$ret$20, null).w67(this, fromClientEventsObserver$factory_1());
|
|
3488
3488
|
var tmp_21 = this;
|
|
3489
3489
|
// Inline function 'org.kodein.di.instance' call
|
|
3490
3490
|
// Inline function 'org.kodein.type.generic' call
|
|
3491
3491
|
var tmp_22 = typeToken(createKType(getKClass(DealerConfig), arrayOf([]), false));
|
|
3492
3492
|
var tmp$ret$22 = isInterface(tmp_22, TypeToken) ? tmp_22 : THROW_CCE();
|
|
3493
|
-
tmp_21.
|
|
3493
|
+
tmp_21.xdw_1 = Instance(di, tmp$ret$22, null).w67(this, dealerConfig$factory());
|
|
3494
3494
|
var tmp_23 = this;
|
|
3495
3495
|
// Inline function 'org.kodein.di.instance' call
|
|
3496
3496
|
// Inline function 'org.kodein.type.generic' call
|
|
3497
3497
|
var tmp_24 = typeToken(createKType(getKClass(RandomPoolProvider), arrayOf([]), false));
|
|
3498
3498
|
var tmp$ret$24 = isInterface(tmp_24, TypeToken) ? tmp_24 : THROW_CCE();
|
|
3499
|
-
tmp_23.
|
|
3499
|
+
tmp_23.ydw_1 = Instance(di, tmp$ret$24, null).w67(this, poolProvider$factory());
|
|
3500
3500
|
var tmp_25 = this;
|
|
3501
3501
|
// Inline function 'org.kodein.di.instance' call
|
|
3502
3502
|
// Inline function 'org.kodein.type.generic' call
|
|
3503
3503
|
var tmp_26 = typeToken(createKType(getKClass(CardsDealerProvider), arrayOf([]), false));
|
|
3504
3504
|
var tmp$ret$26 = isInterface(tmp_26, TypeToken) ? tmp_26 : THROW_CCE();
|
|
3505
|
-
tmp_25.
|
|
3505
|
+
tmp_25.zdw_1 = Instance(di, tmp$ret$26, null).w67(this, cardsDealerProvider$factory());
|
|
3506
3506
|
}
|
|
3507
3507
|
protoOf(ServerGameStoreContract).s9f = function () {
|
|
3508
|
-
return plus(plus(plus(plus(plus(this.
|
|
3508
|
+
return plus(plus(plus(plus(plus(this.hdw_1.s9f(), this.kdw_1.s9f()), this.idw_1.s9f()), this.jdw_1.s9f()), this.ldw_1.s9f()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl_0(this))]));
|
|
3509
3509
|
};
|
|
3510
3510
|
protoOf(ServerGameStoreContract).t9f = function () {
|
|
3511
|
-
var tmp = plus(plus(plus(plus(plus(plus(plus(this.
|
|
3511
|
+
var tmp = plus(plus(plus(plus(plus(plus(plus(this.hdw_1.t9f(), listOfNotNull(_get_serverConfig__rk2g06(this).finishGameIfAllBots ? checkBotsMiddleware(_get_logger__rkp4sl_0(this)) : null)), this.kdw_1.t9f()), this.idw_1.t9f()), this.jdw_1.t9f()), this.ldw_1.t9f()), 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))).y9h(), finishingGameWhenCantStartNewMiddleware()]));
|
|
3512
3512
|
var tmp_0 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this));
|
|
3513
3513
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
3514
3514
|
var tmp1_logger = _get_logger__rkp4sl_0(this);
|
|
@@ -3691,7 +3691,7 @@
|
|
|
3691
3691
|
return this.i6q(store, next, action);
|
|
3692
3692
|
};
|
|
3693
3693
|
function _no_name_provided__qut3iv_3(this$0) {
|
|
3694
|
-
this.
|
|
3694
|
+
this.cdx_1 = this$0;
|
|
3695
3695
|
}
|
|
3696
3696
|
protoOf(_no_name_provided__qut3iv_3).r6o = function (action) {
|
|
3697
3697
|
return action instanceof MechanicAction;
|
|
@@ -3705,7 +3705,7 @@
|
|
|
3705
3705
|
var tmp;
|
|
3706
3706
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
3707
3707
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3708
|
-
var this_0 = this.
|
|
3708
|
+
var this_0 = this.cdx_1;
|
|
3709
3709
|
var tableId = action_0.r88_1;
|
|
3710
3710
|
var gameCreatorPlayerId = action_0.t88_1;
|
|
3711
3711
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -3750,7 +3750,7 @@
|
|
|
3750
3750
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3751
3751
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3752
3752
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3753
|
-
var tmp0_aid = this_0.
|
|
3753
|
+
var tmp0_aid = this_0.bdx_1.q6m();
|
|
3754
3754
|
// Inline function 'kotlin.collections.map' call
|
|
3755
3755
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3756
3756
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -3775,16 +3775,16 @@
|
|
|
3775
3775
|
} else {
|
|
3776
3776
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
3777
3777
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3778
|
-
var this_2 = this.
|
|
3778
|
+
var this_2 = this.cdx_1;
|
|
3779
3779
|
var table = state.i6x();
|
|
3780
3780
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3781
|
-
var sendToPlayer_0 = new RoomActionPayload(this_2.
|
|
3781
|
+
var sendToPlayer_0 = new RoomActionPayload(this_2.bdx_1.q6m(), table.id, null);
|
|
3782
3782
|
var tmp$ret$18 = mapToClient_16(action_0, sendToPlayer_0);
|
|
3783
3783
|
tmp = listOfNotNull(tmp$ret$18);
|
|
3784
3784
|
} else {
|
|
3785
3785
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
3786
3786
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3787
|
-
var this_3 = this.
|
|
3787
|
+
var this_3 = this.cdx_1;
|
|
3788
3788
|
var tableId_0 = action_0.x88_1.id;
|
|
3789
3789
|
var gameCreatorPlayerId_0 = action_0.gameCreatorPlayerId;
|
|
3790
3790
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -3829,7 +3829,7 @@
|
|
|
3829
3829
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3830
3830
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3831
3831
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3832
|
-
var tmp0_aid_0 = this_3.
|
|
3832
|
+
var tmp0_aid_0 = this_3.bdx_1.q6m();
|
|
3833
3833
|
// Inline function 'kotlin.collections.map' call
|
|
3834
3834
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3835
3835
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -3854,43 +3854,43 @@
|
|
|
3854
3854
|
} else {
|
|
3855
3855
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
3856
3856
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3857
|
-
var this_5 = this.
|
|
3857
|
+
var this_5 = this.cdx_1;
|
|
3858
3858
|
var table_0 = state.i6x();
|
|
3859
3859
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3860
|
-
var sendToPlayer_2 = new RoomActionPayload(this_5.
|
|
3860
|
+
var sendToPlayer_2 = new RoomActionPayload(this_5.bdx_1.q6m(), table_0.id, null);
|
|
3861
3861
|
var tmp$ret$38 = mapToClient_14(action_0, sendToPlayer_2);
|
|
3862
3862
|
tmp = listOfNotNull(tmp$ret$38);
|
|
3863
3863
|
} else {
|
|
3864
3864
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
3865
3865
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3866
|
-
var this_6 = this.
|
|
3866
|
+
var this_6 = this.cdx_1;
|
|
3867
3867
|
var table_1 = state.i6x();
|
|
3868
3868
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3869
|
-
var sendToPlayer_3 = new RoomActionPayload(this_6.
|
|
3869
|
+
var sendToPlayer_3 = new RoomActionPayload(this_6.bdx_1.q6m(), table_1.id, null);
|
|
3870
3870
|
var tmp$ret$40 = mapToClient_13(action_0, sendToPlayer_3);
|
|
3871
3871
|
tmp = listOfNotNull(tmp$ret$40);
|
|
3872
3872
|
} else {
|
|
3873
3873
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
3874
3874
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3875
|
-
var this_7 = this.
|
|
3875
|
+
var this_7 = this.cdx_1;
|
|
3876
3876
|
var table_2 = state.i6x();
|
|
3877
3877
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3878
|
-
var sendToPlayer_4 = new RoomActionPayload(this_7.
|
|
3878
|
+
var sendToPlayer_4 = new RoomActionPayload(this_7.bdx_1.q6m(), table_2.id, null);
|
|
3879
3879
|
var tmp$ret$42 = mapToClient_12(action_0, sendToPlayer_4);
|
|
3880
3880
|
tmp = listOfNotNull(tmp$ret$42);
|
|
3881
3881
|
} else {
|
|
3882
3882
|
if (action_0 instanceof ErrorAction) {
|
|
3883
3883
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3884
|
-
var this_8 = this.
|
|
3884
|
+
var this_8 = this.cdx_1;
|
|
3885
3885
|
var table_3 = state.i6x();
|
|
3886
3886
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3887
|
-
var sendToPlayer_5 = new RoomActionPayload(this_8.
|
|
3887
|
+
var sendToPlayer_5 = new RoomActionPayload(this_8.bdx_1.q6m(), table_3.id, null);
|
|
3888
3888
|
var tmp$ret$44 = mapToClient_11(action_0, sendToPlayer_5);
|
|
3889
3889
|
tmp = listOfNotNull(tmp$ret$44);
|
|
3890
3890
|
} else {
|
|
3891
3891
|
if (action_0 instanceof SceneMechanicAction) {
|
|
3892
3892
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
3893
|
-
var this_9 = this.
|
|
3893
|
+
var this_9 = this.cdx_1;
|
|
3894
3894
|
var table_4 = state.i6x();
|
|
3895
3895
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3896
3896
|
var tableId_1 = table_4.id;
|
|
@@ -3927,7 +3927,7 @@
|
|
|
3927
3927
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3928
3928
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3929
3929
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3930
|
-
var tmp0_aid_1 = this_9.
|
|
3930
|
+
var tmp0_aid_1 = this_9.bdx_1.q6m();
|
|
3931
3931
|
// Inline function 'kotlin.collections.map' call
|
|
3932
3932
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3933
3933
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
|
|
@@ -3952,7 +3952,7 @@
|
|
|
3952
3952
|
} else {
|
|
3953
3953
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
3954
3954
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
3955
|
-
var this_10 = this.
|
|
3955
|
+
var this_10 = this.cdx_1;
|
|
3956
3956
|
var table_5 = state.i6x();
|
|
3957
3957
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3958
3958
|
var tableId_2 = table_5.id;
|
|
@@ -3989,7 +3989,7 @@
|
|
|
3989
3989
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3990
3990
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3991
3991
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3992
|
-
var tmp0_aid_2 = this_10.
|
|
3992
|
+
var tmp0_aid_2 = this_10.bdx_1.q6m();
|
|
3993
3993
|
// Inline function 'kotlin.collections.map' call
|
|
3994
3994
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3995
3995
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
|
|
@@ -4014,7 +4014,7 @@
|
|
|
4014
4014
|
} else {
|
|
4015
4015
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
4016
4016
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4017
|
-
var this_11 = this.
|
|
4017
|
+
var this_11 = this.cdx_1;
|
|
4018
4018
|
var table_6 = state.i6x();
|
|
4019
4019
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
4020
4020
|
var tableId_3 = table_6.id;
|
|
@@ -4051,7 +4051,7 @@
|
|
|
4051
4051
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
4052
4052
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
4053
4053
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4054
|
-
var tmp0_aid_3 = this_11.
|
|
4054
|
+
var tmp0_aid_3 = this_11.bdx_1.q6m();
|
|
4055
4055
|
// Inline function 'kotlin.collections.map' call
|
|
4056
4056
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4057
4057
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
|
|
@@ -4064,7 +4064,7 @@
|
|
|
4064
4064
|
}
|
|
4065
4065
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tableId_3, gameCreatorPlayerId_3, element_8, destination_20);
|
|
4066
4066
|
var tmp_0;
|
|
4067
|
-
if (this.adx_1.
|
|
4067
|
+
if (this.cdx_1.adx_1.supportBackwardActions && getPlayer(state.i6x().players, sendToPlayer_8.o7l_1).i74_1.m74_1) {
|
|
4068
4068
|
tmp_0 = null;
|
|
4069
4069
|
} else {
|
|
4070
4070
|
tmp_0 = mapToClient_8(action_0, sendToPlayer_8);
|
|
@@ -4082,79 +4082,79 @@
|
|
|
4082
4082
|
} else {
|
|
4083
4083
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
4084
4084
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4085
|
-
var this_12 = this.
|
|
4085
|
+
var this_12 = this.cdx_1;
|
|
4086
4086
|
var table_7 = state.i6x();
|
|
4087
|
-
var exceptPlayerId = this.adx_1.
|
|
4087
|
+
var exceptPlayerId = this.cdx_1.adx_1.supportBackwardActions ? action_0.x89_1 : null;
|
|
4088
4088
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4089
|
-
var sendToPlayer_9 = new RoomActionPayload(this_12.
|
|
4089
|
+
var sendToPlayer_9 = new RoomActionPayload(this_12.bdx_1.q6m(), table_7.id, exceptPlayerId);
|
|
4090
4090
|
var tmp$ret$94 = mapToClient_7(action_0, sendToPlayer_9);
|
|
4091
4091
|
tmp = listOfNotNull(tmp$ret$94);
|
|
4092
4092
|
} else {
|
|
4093
4093
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
4094
4094
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4095
|
-
var this_13 = this.
|
|
4095
|
+
var this_13 = this.cdx_1;
|
|
4096
4096
|
var table_8 = state.i6x();
|
|
4097
|
-
var exceptPlayerId_0 = this.adx_1.
|
|
4097
|
+
var exceptPlayerId_0 = this.cdx_1.adx_1.supportBackwardActions ? action_0.b8a_1 : null;
|
|
4098
4098
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4099
|
-
var sendToPlayer_10 = new RoomActionPayload(this_13.
|
|
4099
|
+
var sendToPlayer_10 = new RoomActionPayload(this_13.bdx_1.q6m(), table_8.id, exceptPlayerId_0);
|
|
4100
4100
|
var tmp$ret$96 = mapToClient_6(action_0, sendToPlayer_10);
|
|
4101
4101
|
tmp = listOfNotNull(tmp$ret$96);
|
|
4102
4102
|
} else {
|
|
4103
4103
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
4104
4104
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4105
|
-
var this_14 = this.
|
|
4105
|
+
var this_14 = this.cdx_1;
|
|
4106
4106
|
var table_9 = state.i6x();
|
|
4107
4107
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4108
|
-
var sendToPlayer_11 = new RoomActionPayload(this_14.
|
|
4108
|
+
var sendToPlayer_11 = new RoomActionPayload(this_14.bdx_1.q6m(), table_9.id, null);
|
|
4109
4109
|
var tmp$ret$98 = mapToClient_5(action_0, sendToPlayer_11);
|
|
4110
4110
|
tmp = listOfNotNull(tmp$ret$98);
|
|
4111
4111
|
} else {
|
|
4112
4112
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
4113
4113
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4114
|
-
var this_15 = this.
|
|
4114
|
+
var this_15 = this.cdx_1;
|
|
4115
4115
|
var table_10 = state.i6x();
|
|
4116
|
-
var exceptPlayerId_1 = this.adx_1.
|
|
4116
|
+
var exceptPlayerId_1 = this.cdx_1.adx_1.supportBackwardActions ? action_0.i8a_1 : null;
|
|
4117
4117
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4118
|
-
var sendToPlayer_12 = new RoomActionPayload(this_15.
|
|
4118
|
+
var sendToPlayer_12 = new RoomActionPayload(this_15.bdx_1.q6m(), table_10.id, exceptPlayerId_1);
|
|
4119
4119
|
var tmp$ret$100 = mapToClient_4(action_0, sendToPlayer_12);
|
|
4120
4120
|
tmp = listOfNotNull(tmp$ret$100);
|
|
4121
4121
|
} else {
|
|
4122
4122
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
4123
4123
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4124
|
-
var this_16 = this.
|
|
4124
|
+
var this_16 = this.cdx_1;
|
|
4125
4125
|
var table_11 = state.i6x();
|
|
4126
|
-
var exceptPlayerId_2 = this.adx_1.
|
|
4126
|
+
var exceptPlayerId_2 = this.cdx_1.adx_1.supportBackwardActions ? action_0.m8a_1 : null;
|
|
4127
4127
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4128
|
-
var sendToPlayer_13 = new RoomActionPayload(this_16.
|
|
4128
|
+
var sendToPlayer_13 = new RoomActionPayload(this_16.bdx_1.q6m(), table_11.id, exceptPlayerId_2);
|
|
4129
4129
|
var tmp$ret$102 = mapToClient_3(action_0, sendToPlayer_13);
|
|
4130
4130
|
tmp = listOfNotNull(tmp$ret$102);
|
|
4131
4131
|
} else {
|
|
4132
4132
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
4133
4133
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4134
|
-
var this_17 = this.
|
|
4134
|
+
var this_17 = this.cdx_1;
|
|
4135
4135
|
var table_12 = state.i6x();
|
|
4136
4136
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4137
|
-
var sendToPlayer_14 = new RoomActionPayload(this_17.
|
|
4137
|
+
var sendToPlayer_14 = new RoomActionPayload(this_17.bdx_1.q6m(), table_12.id, null);
|
|
4138
4138
|
var tmp$ret$104 = mapToClient_2(action_0, sendToPlayer_14);
|
|
4139
4139
|
tmp = listOfNotNull(tmp$ret$104);
|
|
4140
4140
|
} else {
|
|
4141
4141
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
4142
4142
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4143
|
-
var this_18 = this.
|
|
4143
|
+
var this_18 = this.cdx_1;
|
|
4144
4144
|
var table_13 = state.i6x();
|
|
4145
4145
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4146
|
-
var sendToPlayer_15 = new RoomActionPayload(this_18.
|
|
4146
|
+
var sendToPlayer_15 = new RoomActionPayload(this_18.bdx_1.q6m(), table_13.id, null);
|
|
4147
4147
|
var tmp$ret$106 = mapToClient_1(action_0, sendToPlayer_15);
|
|
4148
4148
|
tmp = listOfNotNull(tmp$ret$106);
|
|
4149
4149
|
} else {
|
|
4150
4150
|
if (action_0 instanceof MessageMechanicAction) {
|
|
4151
4151
|
var message = action_0.u8a_1;
|
|
4152
4152
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4153
|
-
var this_19 = this.
|
|
4153
|
+
var this_19 = this.cdx_1;
|
|
4154
4154
|
var table_14 = state.i6x();
|
|
4155
4155
|
var tmp_1;
|
|
4156
4156
|
var tmp_2;
|
|
4157
|
-
if (this.adx_1.
|
|
4157
|
+
if (this.cdx_1.adx_1.supportBackwardActions) {
|
|
4158
4158
|
tmp_2 = isInterface(message, UserMessage);
|
|
4159
4159
|
} else {
|
|
4160
4160
|
tmp_2 = false;
|
|
@@ -4166,17 +4166,17 @@
|
|
|
4166
4166
|
}
|
|
4167
4167
|
var exceptPlayerId_3 = tmp_1;
|
|
4168
4168
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4169
|
-
var sendToPlayer_16 = new RoomActionPayload(this_19.
|
|
4169
|
+
var sendToPlayer_16 = new RoomActionPayload(this_19.bdx_1.q6m(), table_14.id, exceptPlayerId_3);
|
|
4170
4170
|
var tmp$ret$108 = mapToClient_0(action_0, sendToPlayer_16);
|
|
4171
4171
|
tmp = listOfNotNull(tmp$ret$108);
|
|
4172
4172
|
} else {
|
|
4173
4173
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
4174
4174
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4175
|
-
var this_20 = this.
|
|
4175
|
+
var this_20 = this.cdx_1;
|
|
4176
4176
|
var table_15 = state.i6x();
|
|
4177
4177
|
var exceptPlayerId_4 = action_0.playerId;
|
|
4178
4178
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4179
|
-
var sendToPlayer_17 = new RoomActionPayload(this_20.
|
|
4179
|
+
var sendToPlayer_17 = new RoomActionPayload(this_20.bdx_1.q6m(), table_15.id, exceptPlayerId_4);
|
|
4180
4180
|
var tmp$ret$110 = mapToClient(action_0, sendToPlayer_17);
|
|
4181
4181
|
tmp = listOfNotNull(tmp$ret$110);
|
|
4182
4182
|
} else {
|
|
@@ -4214,8 +4214,8 @@
|
|
|
4214
4214
|
return this.i6q(store, next, action);
|
|
4215
4215
|
};
|
|
4216
4216
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
4217
|
-
this.
|
|
4218
|
-
this.
|
|
4217
|
+
this.adx_1 = logicConfig;
|
|
4218
|
+
this.bdx_1 = idsProvider;
|
|
4219
4219
|
}
|
|
4220
4220
|
protoOf(ServerMapMechanicToClientActionMiddleware).y9h = function () {
|
|
4221
4221
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
@@ -4226,8 +4226,8 @@
|
|
|
4226
4226
|
return new _no_name_provided__qut3iv_4(asyncProvider, provider);
|
|
4227
4227
|
}
|
|
4228
4228
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
4229
|
-
this.
|
|
4230
|
-
this.
|
|
4229
|
+
this.ldx_1 = $provider;
|
|
4230
|
+
this.mdx_1 = $action;
|
|
4231
4231
|
CoroutineImpl.call(this, resultContinuation);
|
|
4232
4232
|
}
|
|
4233
4233
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).g1f = function ($this$launchDefault, $completion) {
|
|
@@ -4248,7 +4248,7 @@
|
|
|
4248
4248
|
case 0:
|
|
4249
4249
|
this.k9_1 = 2;
|
|
4250
4250
|
this.j9_1 = 1;
|
|
4251
|
-
suspendResult = this.
|
|
4251
|
+
suspendResult = this.ldx_1.sdt(this.mdx_1, this);
|
|
4252
4252
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4253
4253
|
return suspendResult;
|
|
4254
4254
|
}
|
|
@@ -4271,8 +4271,8 @@
|
|
|
4271
4271
|
while (true);
|
|
4272
4272
|
};
|
|
4273
4273
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).h1f = function ($this$launchDefault, completion) {
|
|
4274
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
4275
|
-
i.
|
|
4274
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.ldx_1, this.mdx_1, completion);
|
|
4275
|
+
i.ndx_1 = $this$launchDefault;
|
|
4276
4276
|
return i;
|
|
4277
4277
|
};
|
|
4278
4278
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -4284,8 +4284,8 @@
|
|
|
4284
4284
|
return l;
|
|
4285
4285
|
}
|
|
4286
4286
|
function _no_name_provided__qut3iv_4($asyncProvider, $provider) {
|
|
4287
|
-
this.
|
|
4288
|
-
this.
|
|
4287
|
+
this.odx_1 = $asyncProvider;
|
|
4288
|
+
this.pdx_1 = $provider;
|
|
4289
4289
|
}
|
|
4290
4290
|
protoOf(_no_name_provided__qut3iv_4).r6o = function (action) {
|
|
4291
4291
|
return action instanceof ToClientAction;
|
|
@@ -4293,7 +4293,7 @@
|
|
|
4293
4293
|
protoOf(_no_name_provided__qut3iv_4).i6q = function (store, next, action) {
|
|
4294
4294
|
// Inline function 'games.jass.logic.server.redux.middlewares.events.sendToClientActionMiddleware.<anonymous>' call
|
|
4295
4295
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
4296
|
-
this.
|
|
4296
|
+
this.odx_1.n6l(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.pdx_1, action_0, null));
|
|
4297
4297
|
next(action_0);
|
|
4298
4298
|
};
|
|
4299
4299
|
protoOf(_no_name_provided__qut3iv_4).q6o = function (store, next, action) {
|
|
@@ -4311,7 +4311,7 @@
|
|
|
4311
4311
|
protoOf(_no_name_provided__qut3iv_5).m9q = function (state, action) {
|
|
4312
4312
|
// Inline function 'games.jass.logic.server.redux.reducers.serverConfigReducer.<anonymous>' call
|
|
4313
4313
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
4314
|
-
return state.u9c(VOID, get_serverStatePayload(state).copy(action_0.
|
|
4314
|
+
return state.u9c(VOID, get_serverStatePayload(state).copy(action_0.edw_1));
|
|
4315
4315
|
};
|
|
4316
4316
|
protoOf(_no_name_provided__qut3iv_5).j6q = function (state, action) {
|
|
4317
4317
|
return this.m9q((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
@@ -4336,7 +4336,7 @@
|
|
|
4336
4336
|
}
|
|
4337
4337
|
function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
|
|
4338
4338
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
4339
|
-
this.
|
|
4339
|
+
this.sdx_1 = logger;
|
|
4340
4340
|
}
|
|
4341
4341
|
protoOf(ServerMechanicLifecycleReducer).y9r = function (state, action) {
|
|
4342
4342
|
var serverState = get_serverStatePayloadOrNull(state.s6w_1);
|
|
@@ -4352,7 +4352,7 @@
|
|
|
4352
4352
|
var tmp9_tableOrNull = tmp0_$this.f9t(tmp1_tableId, tmp2_gameId, tmp4_config, tmp3_version, tmp5_users, tmp6_spectators, tmp7_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
|
|
4353
4353
|
var tmp;
|
|
4354
4354
|
if (serverState == null) {
|
|
4355
|
-
this.
|
|
4355
|
+
this.sdx_1.w(VOID, 'ServerPayload is not onStart');
|
|
4356
4356
|
tmp = Companion_instance_10.initial();
|
|
4357
4357
|
} else {
|
|
4358
4358
|
tmp = serverState;
|
|
@@ -4381,7 +4381,7 @@
|
|
|
4381
4381
|
return new _no_name_provided__qut3iv_6(logger);
|
|
4382
4382
|
}
|
|
4383
4383
|
function _no_name_provided__qut3iv_6($logger) {
|
|
4384
|
-
this.
|
|
4384
|
+
this.tdx_1 = $logger;
|
|
4385
4385
|
}
|
|
4386
4386
|
protoOf(_no_name_provided__qut3iv_6).r6o = function (action) {
|
|
4387
4387
|
return isInterface(action, SpectatorsAction);
|
|
@@ -4394,7 +4394,7 @@
|
|
|
4394
4394
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
4395
4395
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
4396
4396
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
4397
|
-
var this_0 = action_0.
|
|
4397
|
+
var this_0 = action_0.fdw_1;
|
|
4398
4398
|
var destination = ArrayList_init_$Create$_0();
|
|
4399
4399
|
// Inline function 'kotlin.collections.forEach' call
|
|
4400
4400
|
var tmp0_iterator = this_0.j();
|
|
@@ -4416,10 +4416,10 @@
|
|
|
4416
4416
|
var tmp_0;
|
|
4417
4417
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
4418
4418
|
if (!sameSpectators.p()) {
|
|
4419
|
-
this.
|
|
4419
|
+
this.tdx_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
4420
4420
|
// Inline function 'kotlin.collections.filterNot' call
|
|
4421
4421
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
4422
|
-
var this_1 = action_0.
|
|
4422
|
+
var this_1 = action_0.fdw_1;
|
|
4423
4423
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
4424
4424
|
var tmp0_iterator_0 = this_1.j();
|
|
4425
4425
|
while (tmp0_iterator_0.k()) {
|
|
@@ -4455,7 +4455,7 @@
|
|
|
4455
4455
|
}
|
|
4456
4456
|
tmp_0 = destination_0;
|
|
4457
4457
|
} else {
|
|
4458
|
-
tmp_0 = action_0.
|
|
4458
|
+
tmp_0 = action_0.fdw_1;
|
|
4459
4459
|
}
|
|
4460
4460
|
var this_2 = tmp_0;
|
|
4461
4461
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -4473,7 +4473,7 @@
|
|
|
4473
4473
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
4474
4474
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
4475
4475
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
4476
|
-
var this_3 = action_0.
|
|
4476
|
+
var this_3 = action_0.gdw_1;
|
|
4477
4477
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
4478
4478
|
// Inline function 'kotlin.collections.forEach' call
|
|
4479
4479
|
var tmp0_iterator_3 = this_3.j();
|
|
@@ -4494,10 +4494,10 @@
|
|
|
4494
4494
|
var tmp_2;
|
|
4495
4495
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
4496
4496
|
if (!sameSpectators_0.p()) {
|
|
4497
|
-
this.
|
|
4497
|
+
this.tdx_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
4498
4498
|
// Inline function 'kotlin.collections.filterNot' call
|
|
4499
4499
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
4500
|
-
var this_4 = action_0.
|
|
4500
|
+
var this_4 = action_0.gdw_1;
|
|
4501
4501
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
4502
4502
|
var tmp0_iterator_4 = this_4.j();
|
|
4503
4503
|
while (tmp0_iterator_4.k()) {
|
|
@@ -4533,7 +4533,7 @@
|
|
|
4533
4533
|
}
|
|
4534
4534
|
tmp_2 = destination_3;
|
|
4535
4535
|
} else {
|
|
4536
|
-
tmp_2 = action_0.
|
|
4536
|
+
tmp_2 = action_0.gdw_1;
|
|
4537
4537
|
}
|
|
4538
4538
|
var spectatorsToRemove = toSet(tmp_2);
|
|
4539
4539
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -4584,12 +4584,12 @@
|
|
|
4584
4584
|
};
|
|
4585
4585
|
function Companion_2() {
|
|
4586
4586
|
}
|
|
4587
|
-
protoOf(Companion_2).
|
|
4587
|
+
protoOf(Companion_2).udx = function (config) {
|
|
4588
4588
|
return new ServerStatePayload(config);
|
|
4589
4589
|
};
|
|
4590
4590
|
protoOf(Companion_2).initial = function (config, $super) {
|
|
4591
4591
|
config = config === VOID ? Companion_instance_8.initial(null) : config;
|
|
4592
|
-
return this.
|
|
4592
|
+
return this.udx(config);
|
|
4593
4593
|
};
|
|
4594
4594
|
var Companion_instance_10;
|
|
4595
4595
|
function Companion_getInstance_3() {
|
|
@@ -4604,12 +4604,12 @@
|
|
|
4604
4604
|
protoOf(ServerStatePayload).ue = function () {
|
|
4605
4605
|
return this.config;
|
|
4606
4606
|
};
|
|
4607
|
-
protoOf(ServerStatePayload).
|
|
4607
|
+
protoOf(ServerStatePayload).vdx = function (config) {
|
|
4608
4608
|
return new ServerStatePayload(config);
|
|
4609
4609
|
};
|
|
4610
4610
|
protoOf(ServerStatePayload).copy = function (config, $super) {
|
|
4611
4611
|
config = config === VOID ? this.config : config;
|
|
4612
|
-
return this.
|
|
4612
|
+
return this.vdx(config);
|
|
4613
4613
|
};
|
|
4614
4614
|
protoOf(ServerStatePayload).toString = function () {
|
|
4615
4615
|
return 'ServerStatePayload(config=' + this.config.toString() + ')';
|
|
@@ -4661,13 +4661,13 @@
|
|
|
4661
4661
|
}
|
|
4662
4662
|
function _get_logger__rkp4sl_1($this) {
|
|
4663
4663
|
// Inline function 'kotlin.getValue' call
|
|
4664
|
-
var this_0 = $this.
|
|
4664
|
+
var this_0 = $this.edy_1;
|
|
4665
4665
|
logger$factory_3();
|
|
4666
4666
|
return this_0.u();
|
|
4667
4667
|
}
|
|
4668
4668
|
function _get_di__ndbzja($this) {
|
|
4669
4669
|
// Inline function 'kotlin.getValue' call
|
|
4670
|
-
var this_0 = $this.
|
|
4670
|
+
var this_0 = $this.fdy_1;
|
|
4671
4671
|
di$factory();
|
|
4672
4672
|
return this_0.u();
|
|
4673
4673
|
}
|
|
@@ -4678,13 +4678,13 @@
|
|
|
4678
4678
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
4679
4679
|
return function () {
|
|
4680
4680
|
var tmp;
|
|
4681
|
-
if (this$0.
|
|
4681
|
+
if (this$0.cdy_1 == null) {
|
|
4682
4682
|
tmp = null;
|
|
4683
4683
|
} else {
|
|
4684
4684
|
// Inline function 'kotlin.let' call
|
|
4685
4685
|
// Inline function 'kotlin.contracts.contract' call
|
|
4686
4686
|
// Inline function 'GameServerEngineControllerImpl.logger$delegate.<anonymous>.<anonymous>' call
|
|
4687
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
4687
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.cdy_1)]));
|
|
4688
4688
|
}
|
|
4689
4689
|
var tmp1_elvis_lhs = tmp;
|
|
4690
4690
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -4712,7 +4712,7 @@
|
|
|
4712
4712
|
tmp_0.z65(tmp$ret$3);
|
|
4713
4713
|
$this$DI.d62(jsonModule());
|
|
4714
4714
|
$this$DI.d62(serverHelpersModule());
|
|
4715
|
-
$this$DI.d62(randomOrgModule(this$0.
|
|
4715
|
+
$this$DI.d62(randomOrgModule(this$0.ddy_1));
|
|
4716
4716
|
return Unit_instance;
|
|
4717
4717
|
};
|
|
4718
4718
|
}
|
|
@@ -4723,13 +4723,13 @@
|
|
|
4723
4723
|
};
|
|
4724
4724
|
}
|
|
4725
4725
|
function _no_name_provided__qut3iv_7($item) {
|
|
4726
|
-
this.
|
|
4726
|
+
this.mdy_1 = $item;
|
|
4727
4727
|
}
|
|
4728
4728
|
protoOf(_no_name_provided__qut3iv_7).r6o = function (action) {
|
|
4729
4729
|
return isInterface(action, Action);
|
|
4730
4730
|
};
|
|
4731
4731
|
protoOf(_no_name_provided__qut3iv_7).m9q = function (state, action) {
|
|
4732
|
-
return this.
|
|
4732
|
+
return this.mdy_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
4733
4733
|
};
|
|
4734
4734
|
protoOf(_no_name_provided__qut3iv_7).j6q = function (state, action) {
|
|
4735
4735
|
return this.m9q((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
@@ -4824,7 +4824,7 @@
|
|
|
4824
4824
|
// Inline function 'kotlin.contracts.contract' call
|
|
4825
4825
|
$this$DI.d62(tmp0_safe_receiver);
|
|
4826
4826
|
}
|
|
4827
|
-
$this$DI.d62(dealerModule(this$0.randomPoolProvider, this$0.
|
|
4827
|
+
$this$DI.d62(dealerModule(this$0.randomPoolProvider, this$0.ddy_1));
|
|
4828
4828
|
$this$DI.d62(coreModule($coreConfig));
|
|
4829
4829
|
$this$DI.d62(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $externalReducers, $externalMiddlewares));
|
|
4830
4830
|
return Unit_instance;
|
|
@@ -4833,89 +4833,89 @@
|
|
|
4833
4833
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
4834
4834
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
4835
4835
|
production = production === VOID ? true : production;
|
|
4836
|
-
this.
|
|
4837
|
-
this.
|
|
4836
|
+
this.cdy_1 = loggerCallback;
|
|
4837
|
+
this.ddy_1 = randomOrgConfig;
|
|
4838
4838
|
AppEnvironment_getInstance().a6w(production ? AppEnvironmentValue_PRODUCTION_getInstance() : AppEnvironmentValue_DEVELOPMENT_getInstance());
|
|
4839
4839
|
var tmp = this;
|
|
4840
|
-
tmp.
|
|
4840
|
+
tmp.edy_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
4841
4841
|
var tmp_0 = this;
|
|
4842
|
-
tmp_0.
|
|
4842
|
+
tmp_0.fdy_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
4843
4843
|
var tmp_1 = this;
|
|
4844
4844
|
// Inline function 'org.kodein.di.instance' call
|
|
4845
4845
|
var this_0 = _get_di__ndbzja(this);
|
|
4846
4846
|
// Inline function 'org.kodein.type.generic' call
|
|
4847
4847
|
var tmp_2 = typeToken(createKType(getKClass(ParserHelper), arrayOf([]), false));
|
|
4848
4848
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
4849
|
-
tmp_1.
|
|
4849
|
+
tmp_1.gdy_1 = Instance(this_0, tmp$ret$0, null).w67(this, parser$factory());
|
|
4850
4850
|
var tmp_3 = this;
|
|
4851
4851
|
// Inline function 'org.kodein.di.instance' call
|
|
4852
4852
|
var this_1 = _get_di__ndbzja(this);
|
|
4853
4853
|
// Inline function 'org.kodein.type.generic' call
|
|
4854
4854
|
var tmp_4 = typeToken(createKType(getKClass(GameHelper), arrayOf([]), false));
|
|
4855
4855
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
4856
|
-
tmp_3.
|
|
4856
|
+
tmp_3.hdy_1 = Instance(this_1, tmp$ret$2, null).w67(this, helper$factory());
|
|
4857
4857
|
var tmp_5 = this;
|
|
4858
4858
|
// Inline function 'org.kodein.di.instance' call
|
|
4859
4859
|
var this_2 = _get_di__ndbzja(this);
|
|
4860
4860
|
// Inline function 'org.kodein.type.generic' call
|
|
4861
4861
|
var tmp_6 = typeToken(createKType(getKClass(GameServerHelper), arrayOf([]), false));
|
|
4862
4862
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
4863
|
-
tmp_5.
|
|
4863
|
+
tmp_5.idy_1 = Instance(this_2, tmp$ret$4, null).w67(this, serverHelper$factory());
|
|
4864
4864
|
var tmp_7 = this;
|
|
4865
4865
|
// Inline function 'org.kodein.di.instance' call
|
|
4866
4866
|
var this_3 = _get_di__ndbzja(this);
|
|
4867
4867
|
// Inline function 'org.kodein.type.generic' call
|
|
4868
4868
|
var tmp_8 = typeToken(createKType(getKClass(GameResources), arrayOf([]), false));
|
|
4869
4869
|
var tmp$ret$6 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
4870
|
-
tmp_7.
|
|
4870
|
+
tmp_7.jdy_1 = Instance(this_3, tmp$ret$6, null).w67(this, resources$factory());
|
|
4871
4871
|
var tmp_9 = this;
|
|
4872
4872
|
// Inline function 'org.kodein.di.instance' call
|
|
4873
4873
|
var this_4 = _get_di__ndbzja(this);
|
|
4874
4874
|
// Inline function 'org.kodein.type.generic' call
|
|
4875
4875
|
var tmp_10 = typeToken(createKType(getKClass(TestHelper), arrayOf([]), false));
|
|
4876
4876
|
var tmp$ret$8 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
4877
|
-
tmp_9.
|
|
4877
|
+
tmp_9.kdy_1 = Instance(this_4, tmp$ret$8, null).w67(this, test$factory());
|
|
4878
4878
|
var tmp_11 = this;
|
|
4879
4879
|
// Inline function 'org.kodein.di.instance' call
|
|
4880
4880
|
var this_5 = _get_di__ndbzja(this);
|
|
4881
4881
|
// Inline function 'org.kodein.type.generic' call
|
|
4882
4882
|
var tmp_12 = typeToken(createKType(getKClass(RandomPoolProvider), arrayOf([]), false));
|
|
4883
4883
|
var tmp$ret$10 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
4884
|
-
tmp_11.
|
|
4884
|
+
tmp_11.ldy_1 = Instance(this_5, tmp$ret$10, null).w67(this, randomPoolProvider$factory());
|
|
4885
4885
|
}
|
|
4886
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4886
|
+
protoOf(GameServerEngineControllerImpl).tde = function () {
|
|
4887
4887
|
// Inline function 'kotlin.getValue' call
|
|
4888
|
-
var this_0 = this.
|
|
4888
|
+
var this_0 = this.gdy_1;
|
|
4889
4889
|
parser$factory_0();
|
|
4890
4890
|
return this_0.u();
|
|
4891
4891
|
};
|
|
4892
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4892
|
+
protoOf(GameServerEngineControllerImpl).xdx = function () {
|
|
4893
4893
|
// Inline function 'kotlin.getValue' call
|
|
4894
|
-
var this_0 = this.
|
|
4894
|
+
var this_0 = this.hdy_1;
|
|
4895
4895
|
helper$factory_0();
|
|
4896
4896
|
return this_0.u();
|
|
4897
4897
|
};
|
|
4898
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4898
|
+
protoOf(GameServerEngineControllerImpl).ydx = function () {
|
|
4899
4899
|
// Inline function 'kotlin.getValue' call
|
|
4900
|
-
var this_0 = this.
|
|
4900
|
+
var this_0 = this.idy_1;
|
|
4901
4901
|
serverHelper$factory_0();
|
|
4902
4902
|
return this_0.u();
|
|
4903
4903
|
};
|
|
4904
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4904
|
+
protoOf(GameServerEngineControllerImpl).zdx = function () {
|
|
4905
4905
|
// Inline function 'kotlin.getValue' call
|
|
4906
|
-
var this_0 = this.
|
|
4906
|
+
var this_0 = this.jdy_1;
|
|
4907
4907
|
resources$factory_0();
|
|
4908
4908
|
return this_0.u();
|
|
4909
4909
|
};
|
|
4910
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4910
|
+
protoOf(GameServerEngineControllerImpl).wdx = function () {
|
|
4911
4911
|
// Inline function 'kotlin.getValue' call
|
|
4912
|
-
var this_0 = this.
|
|
4912
|
+
var this_0 = this.kdy_1;
|
|
4913
4913
|
test$factory_0();
|
|
4914
4914
|
return this_0.u();
|
|
4915
4915
|
};
|
|
4916
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4916
|
+
protoOf(GameServerEngineControllerImpl).ady = function () {
|
|
4917
4917
|
// Inline function 'kotlin.getValue' call
|
|
4918
|
-
var this_0 = this.
|
|
4918
|
+
var this_0 = this.ldy_1;
|
|
4919
4919
|
randomPoolProvider$factory_0();
|
|
4920
4920
|
return this_0.u();
|
|
4921
4921
|
};
|
|
@@ -4925,7 +4925,7 @@
|
|
|
4925
4925
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
4926
4926
|
return this.createGameEngineWithLogic();
|
|
4927
4927
|
};
|
|
4928
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4928
|
+
protoOf(GameServerEngineControllerImpl).bdy = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig) {
|
|
4929
4929
|
var combinedLogger = Companion_instance_6.fn();
|
|
4930
4930
|
var tmp;
|
|
4931
4931
|
if (coreConfig.fileLogsEnabled) {
|
|
@@ -4935,8 +4935,8 @@
|
|
|
4935
4935
|
}
|
|
4936
4936
|
var fileLoggerOutput = tmp;
|
|
4937
4937
|
var tmp_0;
|
|
4938
|
-
if (!(this.
|
|
4939
|
-
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.
|
|
4938
|
+
if (!(this.cdy_1 == null)) {
|
|
4939
|
+
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.cdy_1));
|
|
4940
4940
|
} else {
|
|
4941
4941
|
tmp_0 = null;
|
|
4942
4942
|
}
|
|
@@ -5070,13 +5070,13 @@
|
|
|
5070
5070
|
}
|
|
5071
5071
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
5072
5072
|
// Inline function 'kotlin.getValue' call
|
|
5073
|
-
var this_0 = $this.
|
|
5073
|
+
var this_0 = $this.pdy_1;
|
|
5074
5074
|
playerAnswerInteractor$factory_0();
|
|
5075
5075
|
return this_0.u();
|
|
5076
5076
|
}
|
|
5077
5077
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
5078
5078
|
return function ($this$singleton) {
|
|
5079
|
-
return this$0.
|
|
5079
|
+
return this$0.ndy_1;
|
|
5080
5080
|
};
|
|
5081
5081
|
}
|
|
5082
5082
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -5105,17 +5105,17 @@
|
|
|
5105
5105
|
return emptyMap();
|
|
5106
5106
|
}
|
|
5107
5107
|
function TestHelperImpl(logger) {
|
|
5108
|
-
this.
|
|
5108
|
+
this.ndy_1 = logger;
|
|
5109
5109
|
var tmp = this;
|
|
5110
5110
|
var tmp_0 = Companion_instance_3;
|
|
5111
|
-
tmp.
|
|
5111
|
+
tmp.ody_1 = tmp_0.k62(VOID, TestHelperImpl$di$lambda(this));
|
|
5112
5112
|
var tmp_1 = this;
|
|
5113
5113
|
// Inline function 'org.kodein.di.instance' call
|
|
5114
|
-
var this_0 = this.
|
|
5114
|
+
var this_0 = this.ody_1;
|
|
5115
5115
|
// Inline function 'org.kodein.type.generic' call
|
|
5116
5116
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
5117
5117
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5118
|
-
tmp_1.
|
|
5118
|
+
tmp_1.pdy_1 = Instance(this_0, tmp$ret$0, null).w67(this, playerAnswerInteractor$factory());
|
|
5119
5119
|
}
|
|
5120
5120
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
5121
5121
|
return _get_playerAnswerInteractor__msggz1(this).p93(playerId, table, botConfig);
|
|
@@ -5280,22 +5280,22 @@
|
|
|
5280
5280
|
});
|
|
5281
5281
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
5282
5282
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
5283
|
-
return this.
|
|
5283
|
+
return this.tde();
|
|
5284
5284
|
});
|
|
5285
5285
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
5286
|
-
return this.
|
|
5286
|
+
return this.xdx();
|
|
5287
5287
|
});
|
|
5288
5288
|
defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
|
|
5289
|
-
return this.
|
|
5289
|
+
return this.ydx();
|
|
5290
5290
|
});
|
|
5291
5291
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
5292
|
-
return this.
|
|
5292
|
+
return this.zdx();
|
|
5293
5293
|
});
|
|
5294
5294
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
5295
|
-
return this.
|
|
5295
|
+
return this.wdx();
|
|
5296
5296
|
});
|
|
5297
5297
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
5298
|
-
return this.
|
|
5298
|
+
return this.ady();
|
|
5299
5299
|
});
|
|
5300
5300
|
//endregion
|
|
5301
5301
|
//region block: init
|