raspberry_games_server_game_logic 1.8.305 → 1.8.306
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1 -1
- package/Logic_Debertz-core.js +1 -1
- package/Logic_Debertz-engine.js +2251 -2247
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.d.ts +1 -0
- package/Logic_Debertz-game_server.js +681 -681
- package/kotlin-kotlin-stdlib.js +4 -4
- package/kotlinx-coroutines-core.js +2 -2
- package/package.json +1 -1
|
@@ -323,15 +323,15 @@
|
|
|
323
323
|
tmp = spectators;
|
|
324
324
|
}
|
|
325
325
|
spectators = tmp;
|
|
326
|
-
return this.
|
|
326
|
+
return this.h9w(roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
327
327
|
}
|
|
328
328
|
function roomOnDelete(newRid, $super) {
|
|
329
329
|
newRid = newRid === VOID ? null : newRid;
|
|
330
|
-
return this.
|
|
330
|
+
return this.i9w(newRid);
|
|
331
331
|
}
|
|
332
332
|
function shutdown(reason, roomId, $super) {
|
|
333
333
|
roomId = roomId === VOID ? null : roomId;
|
|
334
|
-
return this.
|
|
334
|
+
return this.j9w(reason, roomId);
|
|
335
335
|
}
|
|
336
336
|
initMetadataForInterface(ServerGameEngineContract, 'ServerGameEngineContract', VOID, VOID, [GameStoreContract]);
|
|
337
337
|
initMetadataForClass(GameServer, 'GameServer', VOID, BaseGame, [BaseGame, ServerGameEngineContract]);
|
|
@@ -385,7 +385,7 @@
|
|
|
385
385
|
logicConfig = logicConfig === VOID ? new EngineLogicConfig() : logicConfig;
|
|
386
386
|
dealerConfig = dealerConfig === VOID ? new DealerConfig() : dealerConfig;
|
|
387
387
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
388
|
-
return this.
|
|
388
|
+
return this.xa0(reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig);
|
|
389
389
|
}
|
|
390
390
|
initMetadataForInterface(GameEngineController, 'GameEngineController');
|
|
391
391
|
initMetadataForClass(_no_name_provided__qut3iv_7, VOID, VOID, VOID, [Reducer]);
|
|
@@ -394,17 +394,17 @@
|
|
|
394
394
|
initMetadataForClass(TestHelperImpl, 'TestHelperImpl', VOID, VOID, [TestHelper]);
|
|
395
395
|
//endregion
|
|
396
396
|
function GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation) {
|
|
397
|
-
this.
|
|
397
|
+
this.v9h_1 = $subscriber;
|
|
398
398
|
CoroutineImpl.call(this, resultContinuation);
|
|
399
399
|
}
|
|
400
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
401
|
-
var tmp = this.
|
|
400
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).x9h = function (it, $completion) {
|
|
401
|
+
var tmp = this.y9h(it, $completion);
|
|
402
402
|
tmp.h9_1 = Unit_instance;
|
|
403
403
|
tmp.i9_1 = null;
|
|
404
404
|
return tmp.n9();
|
|
405
405
|
};
|
|
406
406
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).x9 = function (p1, $completion) {
|
|
407
|
-
return this.
|
|
407
|
+
return this.x9h(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
|
|
408
408
|
};
|
|
409
409
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).n9 = function () {
|
|
410
410
|
var suspendResult = this.h9_1;
|
|
@@ -413,7 +413,7 @@
|
|
|
413
413
|
var tmp = this.f9_1;
|
|
414
414
|
if (tmp === 0) {
|
|
415
415
|
this.g9_1 = 1;
|
|
416
|
-
this.
|
|
416
|
+
this.v9h_1(this.w9h_1);
|
|
417
417
|
return Unit_instance;
|
|
418
418
|
} else if (tmp === 1) {
|
|
419
419
|
throw this.i9_1;
|
|
@@ -424,21 +424,21 @@
|
|
|
424
424
|
}
|
|
425
425
|
while (true);
|
|
426
426
|
};
|
|
427
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
428
|
-
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.
|
|
429
|
-
i.
|
|
427
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).y9h = function (it, completion) {
|
|
428
|
+
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.v9h_1, completion);
|
|
429
|
+
i.w9h_1 = it;
|
|
430
430
|
return i;
|
|
431
431
|
};
|
|
432
432
|
function GameServer$subscribeToClientAction$slambda$slambda_0($subscriber, resultContinuation) {
|
|
433
433
|
var i = new GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation);
|
|
434
434
|
var l = function (it, $completion) {
|
|
435
|
-
return i.
|
|
435
|
+
return i.x9h(it, $completion);
|
|
436
436
|
};
|
|
437
437
|
l.$arity = 1;
|
|
438
438
|
return l;
|
|
439
439
|
}
|
|
440
440
|
function GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
441
|
-
this.
|
|
441
|
+
this.h9i_1 = $$this$unsafeFlow;
|
|
442
442
|
CoroutineImpl.call(this, resultContinuation);
|
|
443
443
|
}
|
|
444
444
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda).w1h = function (value, $completion) {
|
|
@@ -459,12 +459,12 @@
|
|
|
459
459
|
case 0:
|
|
460
460
|
this.g9_1 = 2;
|
|
461
461
|
var tmp_0 = this;
|
|
462
|
-
tmp_0.
|
|
462
|
+
tmp_0.j9i_1 = this.h9i_1;
|
|
463
463
|
var tmp_1 = this;
|
|
464
|
-
tmp_1.
|
|
464
|
+
tmp_1.k9i_1 = this.i9i_1;
|
|
465
465
|
this.f9_1 = 1;
|
|
466
|
-
var it = this.
|
|
467
|
-
suspendResult = this.
|
|
466
|
+
var it = this.k9i_1;
|
|
467
|
+
suspendResult = this.j9i_1.d18(new ActionsStateUpdate(it), this);
|
|
468
468
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
469
469
|
return suspendResult;
|
|
470
470
|
}
|
|
@@ -487,8 +487,8 @@
|
|
|
487
487
|
while (true);
|
|
488
488
|
};
|
|
489
489
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda).x1h = function (value, completion) {
|
|
490
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda(this.
|
|
491
|
-
i.
|
|
490
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda(this.h9i_1, completion);
|
|
491
|
+
i.i9i_1 = value;
|
|
492
492
|
return i;
|
|
493
493
|
};
|
|
494
494
|
function GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -501,8 +501,8 @@
|
|
|
501
501
|
}
|
|
502
502
|
function $collectCOROUTINE$0(_this__u8e3s4, collector, resultContinuation) {
|
|
503
503
|
CoroutineImpl.call(this, resultContinuation);
|
|
504
|
-
this.
|
|
505
|
-
this.
|
|
504
|
+
this.t9i_1 = _this__u8e3s4;
|
|
505
|
+
this.u9i_1 = collector;
|
|
506
506
|
}
|
|
507
507
|
protoOf($collectCOROUTINE$0).n9 = function () {
|
|
508
508
|
var suspendResult = this.h9_1;
|
|
@@ -513,10 +513,10 @@
|
|
|
513
513
|
case 0:
|
|
514
514
|
this.g9_1 = 2;
|
|
515
515
|
var tmp_0 = this;
|
|
516
|
-
tmp_0.
|
|
516
|
+
tmp_0.v9i_1 = this.u9i_1;
|
|
517
517
|
this.f9_1 = 1;
|
|
518
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda_0(this.
|
|
519
|
-
suspendResult = this.
|
|
518
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda_0(this.v9i_1, null);
|
|
519
|
+
suspendResult = this.t9i_1.w9i_1.a17(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
520
520
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
521
521
|
return suspendResult;
|
|
522
522
|
}
|
|
@@ -539,7 +539,7 @@
|
|
|
539
539
|
while (true);
|
|
540
540
|
};
|
|
541
541
|
function _no_name_provided__qut3iv($this) {
|
|
542
|
-
this.
|
|
542
|
+
this.w9i_1 = $this;
|
|
543
543
|
}
|
|
544
544
|
protoOf(_no_name_provided__qut3iv).e18 = function (collector, $completion) {
|
|
545
545
|
var tmp = new $collectCOROUTINE$0(this, collector, $completion);
|
|
@@ -551,18 +551,18 @@
|
|
|
551
551
|
return this.e18(collector, $completion);
|
|
552
552
|
};
|
|
553
553
|
function GameServer$subscribeServerStateUpdate$slambda$slambda$slambda($table, this$0, resultContinuation) {
|
|
554
|
-
this.
|
|
555
|
-
this.
|
|
554
|
+
this.f9j_1 = $table;
|
|
555
|
+
this.g9j_1 = this$0;
|
|
556
556
|
CoroutineImpl.call(this, resultContinuation);
|
|
557
557
|
}
|
|
558
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda).
|
|
559
|
-
var tmp = this.
|
|
558
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda).i9j = function ($this$flow, $completion) {
|
|
559
|
+
var tmp = this.j9j($this$flow, $completion);
|
|
560
560
|
tmp.h9_1 = Unit_instance;
|
|
561
561
|
tmp.i9_1 = null;
|
|
562
562
|
return tmp.n9();
|
|
563
563
|
};
|
|
564
564
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda).x9 = function (p1, $completion) {
|
|
565
|
-
return this.
|
|
565
|
+
return this.i9j((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
566
566
|
};
|
|
567
567
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda).n9 = function () {
|
|
568
568
|
var suspendResult = this.h9_1;
|
|
@@ -573,7 +573,7 @@
|
|
|
573
573
|
case 0:
|
|
574
574
|
this.g9_1 = 3;
|
|
575
575
|
this.f9_1 = 1;
|
|
576
|
-
suspendResult = this.
|
|
576
|
+
suspendResult = this.h9j_1.d18(new TableStateUpdate(this.f9j_1), this);
|
|
577
577
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
578
578
|
return suspendResult;
|
|
579
579
|
}
|
|
@@ -581,8 +581,8 @@
|
|
|
581
581
|
continue $sm;
|
|
582
582
|
case 1:
|
|
583
583
|
this.f9_1 = 2;
|
|
584
|
-
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.
|
|
585
|
-
suspendResult = emitAll(this.
|
|
584
|
+
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.g9j_1).n8m(), new Long(150, 0));
|
|
585
|
+
suspendResult = emitAll(this.h9j_1, new _no_name_provided__qut3iv(this_0), this);
|
|
586
586
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
587
587
|
return suspendResult;
|
|
588
588
|
}
|
|
@@ -604,32 +604,32 @@
|
|
|
604
604
|
}
|
|
605
605
|
while (true);
|
|
606
606
|
};
|
|
607
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda).
|
|
608
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda$slambda(this.
|
|
609
|
-
i.
|
|
607
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda).j9j = function ($this$flow, completion) {
|
|
608
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda$slambda(this.f9j_1, this.g9j_1, completion);
|
|
609
|
+
i.h9j_1 = $this$flow;
|
|
610
610
|
return i;
|
|
611
611
|
};
|
|
612
612
|
function GameServer$subscribeServerStateUpdate$slambda$slambda$slambda_0($table, this$0, resultContinuation) {
|
|
613
613
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda$slambda($table, this$0, resultContinuation);
|
|
614
614
|
var l = function ($this$flow, $completion) {
|
|
615
|
-
return i.
|
|
615
|
+
return i.i9j($this$flow, $completion);
|
|
616
616
|
};
|
|
617
617
|
l.$arity = 1;
|
|
618
618
|
return l;
|
|
619
619
|
}
|
|
620
620
|
function GameServer$subscribeServerStateUpdate$slambda$slambda(this$0, resultContinuation) {
|
|
621
|
-
this.
|
|
621
|
+
this.s9j_1 = this$0;
|
|
622
622
|
CoroutineImpl.call(this, resultContinuation);
|
|
623
623
|
}
|
|
624
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
625
|
-
var tmp = this.
|
|
624
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).v9j = function ($this$transformLatest, it, $completion) {
|
|
625
|
+
var tmp = this.w9j($this$transformLatest, it, $completion);
|
|
626
626
|
tmp.h9_1 = Unit_instance;
|
|
627
627
|
tmp.i9_1 = null;
|
|
628
628
|
return tmp.n9();
|
|
629
629
|
};
|
|
630
630
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).y9 = function (p1, p2, $completion) {
|
|
631
631
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
632
|
-
return this.
|
|
632
|
+
return this.v9j(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
633
633
|
};
|
|
634
634
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).n9 = function () {
|
|
635
635
|
var suspendResult = this.h9_1;
|
|
@@ -640,8 +640,8 @@
|
|
|
640
640
|
case 0:
|
|
641
641
|
this.g9_1 = 2;
|
|
642
642
|
this.f9_1 = 1;
|
|
643
|
-
var table = this.
|
|
644
|
-
suspendResult = emitAll(this.
|
|
643
|
+
var table = this.u9j_1;
|
|
644
|
+
suspendResult = emitAll(this.t9j_1, flow(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda_0(table, this.s9j_1, null)), this);
|
|
645
645
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
646
646
|
return suspendResult;
|
|
647
647
|
}
|
|
@@ -663,32 +663,32 @@
|
|
|
663
663
|
}
|
|
664
664
|
while (true);
|
|
665
665
|
};
|
|
666
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
667
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.
|
|
668
|
-
i.
|
|
669
|
-
i.
|
|
666
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).w9j = function ($this$transformLatest, it, completion) {
|
|
667
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.s9j_1, completion);
|
|
668
|
+
i.t9j_1 = $this$transformLatest;
|
|
669
|
+
i.u9j_1 = it;
|
|
670
670
|
return i;
|
|
671
671
|
};
|
|
672
672
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_0(this$0, resultContinuation) {
|
|
673
673
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this$0, resultContinuation);
|
|
674
674
|
var l = function ($this$transformLatest, it, $completion) {
|
|
675
|
-
return i.
|
|
675
|
+
return i.v9j($this$transformLatest, it, $completion);
|
|
676
676
|
};
|
|
677
677
|
l.$arity = 2;
|
|
678
678
|
return l;
|
|
679
679
|
}
|
|
680
680
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_1($subscriber, resultContinuation) {
|
|
681
|
-
this.
|
|
681
|
+
this.f9k_1 = $subscriber;
|
|
682
682
|
CoroutineImpl.call(this, resultContinuation);
|
|
683
683
|
}
|
|
684
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda_1).
|
|
685
|
-
var tmp = this.
|
|
684
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda_1).h9k = function (it, $completion) {
|
|
685
|
+
var tmp = this.i9k(it, $completion);
|
|
686
686
|
tmp.h9_1 = Unit_instance;
|
|
687
687
|
tmp.i9_1 = null;
|
|
688
688
|
return tmp.n9();
|
|
689
689
|
};
|
|
690
690
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda_1).x9 = function (p1, $completion) {
|
|
691
|
-
return this.
|
|
691
|
+
return this.h9k((!(p1 == null) ? isInterface(p1, ServerStateUpdate) : false) ? p1 : THROW_CCE(), $completion);
|
|
692
692
|
};
|
|
693
693
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda_1).n9 = function () {
|
|
694
694
|
var suspendResult = this.h9_1;
|
|
@@ -697,7 +697,7 @@
|
|
|
697
697
|
var tmp = this.f9_1;
|
|
698
698
|
if (tmp === 0) {
|
|
699
699
|
this.g9_1 = 1;
|
|
700
|
-
this.
|
|
700
|
+
this.f9k_1(this.g9k_1);
|
|
701
701
|
return Unit_instance;
|
|
702
702
|
} else if (tmp === 1) {
|
|
703
703
|
throw this.i9_1;
|
|
@@ -708,21 +708,21 @@
|
|
|
708
708
|
}
|
|
709
709
|
while (true);
|
|
710
710
|
};
|
|
711
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda_1).
|
|
712
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda_1(this.
|
|
713
|
-
i.
|
|
711
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda_1).i9k = function (it, completion) {
|
|
712
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda_1(this.f9k_1, completion);
|
|
713
|
+
i.g9k_1 = it;
|
|
714
714
|
return i;
|
|
715
715
|
};
|
|
716
716
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_2($subscriber, resultContinuation) {
|
|
717
717
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda_1($subscriber, resultContinuation);
|
|
718
718
|
var l = function (it, $completion) {
|
|
719
|
-
return i.
|
|
719
|
+
return i.h9k(it, $completion);
|
|
720
720
|
};
|
|
721
721
|
l.$arity = 1;
|
|
722
722
|
return l;
|
|
723
723
|
}
|
|
724
724
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
725
|
-
this.
|
|
725
|
+
this.r9k_1 = $$this$unsafeFlow;
|
|
726
726
|
CoroutineImpl.call(this, resultContinuation);
|
|
727
727
|
}
|
|
728
728
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).w1h = function (value, $completion) {
|
|
@@ -743,12 +743,12 @@
|
|
|
743
743
|
case 0:
|
|
744
744
|
this.g9_1 = 2;
|
|
745
745
|
var tmp_0 = this;
|
|
746
|
-
tmp_0.
|
|
746
|
+
tmp_0.t9k_1 = this.r9k_1;
|
|
747
747
|
var tmp_1 = this;
|
|
748
|
-
tmp_1.
|
|
748
|
+
tmp_1.u9k_1 = this.s9k_1;
|
|
749
749
|
this.f9_1 = 1;
|
|
750
|
-
var state = this.
|
|
751
|
-
suspendResult = this.
|
|
750
|
+
var state = this.u9k_1;
|
|
751
|
+
suspendResult = this.t9k_1.d18(state.l6r().gameInfo.roundNumberTotal, this);
|
|
752
752
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
753
753
|
return suspendResult;
|
|
754
754
|
}
|
|
@@ -771,8 +771,8 @@
|
|
|
771
771
|
while (true);
|
|
772
772
|
};
|
|
773
773
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).x1h = function (value, completion) {
|
|
774
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.
|
|
775
|
-
i.
|
|
774
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.r9k_1, completion);
|
|
775
|
+
i.s9k_1 = value;
|
|
776
776
|
return i;
|
|
777
777
|
};
|
|
778
778
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -785,8 +785,8 @@
|
|
|
785
785
|
}
|
|
786
786
|
function $collectCOROUTINE$1(_this__u8e3s4, collector, resultContinuation) {
|
|
787
787
|
CoroutineImpl.call(this, resultContinuation);
|
|
788
|
-
this.
|
|
789
|
-
this.
|
|
788
|
+
this.d9l_1 = _this__u8e3s4;
|
|
789
|
+
this.e9l_1 = collector;
|
|
790
790
|
}
|
|
791
791
|
protoOf($collectCOROUTINE$1).n9 = function () {
|
|
792
792
|
var suspendResult = this.h9_1;
|
|
@@ -797,10 +797,10 @@
|
|
|
797
797
|
case 0:
|
|
798
798
|
this.g9_1 = 2;
|
|
799
799
|
var tmp_0 = this;
|
|
800
|
-
tmp_0.
|
|
800
|
+
tmp_0.f9l_1 = this.e9l_1;
|
|
801
801
|
this.f9_1 = 1;
|
|
802
|
-
var tmp_1 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0(this.
|
|
803
|
-
suspendResult = this.
|
|
802
|
+
var tmp_1 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0(this.f9l_1, null);
|
|
803
|
+
suspendResult = this.d9l_1.g9l_1.a17(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
804
804
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
805
805
|
return suspendResult;
|
|
806
806
|
}
|
|
@@ -823,7 +823,7 @@
|
|
|
823
823
|
while (true);
|
|
824
824
|
};
|
|
825
825
|
function GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
826
|
-
this.
|
|
826
|
+
this.p9l_1 = $$this$unsafeFlow;
|
|
827
827
|
CoroutineImpl.call(this, resultContinuation);
|
|
828
828
|
}
|
|
829
829
|
protoOf(GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda).w1h = function (value, $completion) {
|
|
@@ -847,33 +847,33 @@
|
|
|
847
847
|
continue $sm;
|
|
848
848
|
case 1:
|
|
849
849
|
var tmp_0 = this;
|
|
850
|
-
tmp_0.
|
|
850
|
+
tmp_0.s9l_1 = this.p9l_1;
|
|
851
851
|
var tmp_1 = this;
|
|
852
|
-
tmp_1.
|
|
852
|
+
tmp_1.t9l_1 = this.q9l_1;
|
|
853
853
|
var tmp_2 = this;
|
|
854
|
-
tmp_2.
|
|
855
|
-
if (this.
|
|
856
|
-
this.
|
|
854
|
+
tmp_2.u9l_1 = this.t9l_1.j6q_1;
|
|
855
|
+
if (this.u9l_1 == null) {
|
|
856
|
+
this.r9l_1 = Unit_instance;
|
|
857
857
|
this.f9_1 = 4;
|
|
858
858
|
var tmp_3 = this;
|
|
859
859
|
continue $sm;
|
|
860
860
|
} else {
|
|
861
|
-
this.
|
|
861
|
+
this.v9l_1 = this.u9l_1;
|
|
862
862
|
this.f9_1 = 2;
|
|
863
863
|
continue $sm;
|
|
864
864
|
}
|
|
865
865
|
|
|
866
866
|
case 2:
|
|
867
|
-
this.
|
|
867
|
+
this.w9l_1 = this.v9l_1;
|
|
868
868
|
this.f9_1 = 3;
|
|
869
|
-
suspendResult = this.
|
|
869
|
+
suspendResult = this.s9l_1.d18(this.w9l_1, this);
|
|
870
870
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
871
871
|
return suspendResult;
|
|
872
872
|
}
|
|
873
873
|
|
|
874
874
|
continue $sm;
|
|
875
875
|
case 3:
|
|
876
|
-
this.
|
|
876
|
+
this.r9l_1 = suspendResult;
|
|
877
877
|
if (false) {
|
|
878
878
|
this.f9_1 = 1;
|
|
879
879
|
continue $sm;
|
|
@@ -898,8 +898,8 @@
|
|
|
898
898
|
while (true);
|
|
899
899
|
};
|
|
900
900
|
protoOf(GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda).x1h = function (value, completion) {
|
|
901
|
-
var i = new GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda(this.
|
|
902
|
-
i.
|
|
901
|
+
var i = new GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda(this.p9l_1, completion);
|
|
902
|
+
i.q9l_1 = value;
|
|
903
903
|
return i;
|
|
904
904
|
};
|
|
905
905
|
function GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -912,8 +912,8 @@
|
|
|
912
912
|
}
|
|
913
913
|
function $collectCOROUTINE$2(_this__u8e3s4, collector, resultContinuation) {
|
|
914
914
|
CoroutineImpl.call(this, resultContinuation);
|
|
915
|
-
this.
|
|
916
|
-
this.
|
|
915
|
+
this.f9m_1 = _this__u8e3s4;
|
|
916
|
+
this.g9m_1 = collector;
|
|
917
917
|
}
|
|
918
918
|
protoOf($collectCOROUTINE$2).n9 = function () {
|
|
919
919
|
var suspendResult = this.h9_1;
|
|
@@ -924,10 +924,10 @@
|
|
|
924
924
|
case 0:
|
|
925
925
|
this.g9_1 = 2;
|
|
926
926
|
var tmp_0 = this;
|
|
927
|
-
tmp_0.
|
|
927
|
+
tmp_0.h9m_1 = this.g9m_1;
|
|
928
928
|
this.f9_1 = 1;
|
|
929
|
-
var tmp_1 = GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda_0(this.
|
|
930
|
-
suspendResult = this.
|
|
929
|
+
var tmp_1 = GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda_0(this.h9m_1, null);
|
|
930
|
+
suspendResult = this.f9m_1.i9m_1.a17(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
931
931
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
932
932
|
return suspendResult;
|
|
933
933
|
}
|
|
@@ -950,7 +950,7 @@
|
|
|
950
950
|
while (true);
|
|
951
951
|
};
|
|
952
952
|
function _no_name_provided__qut3iv_0($this) {
|
|
953
|
-
this.
|
|
953
|
+
this.i9m_1 = $this;
|
|
954
954
|
}
|
|
955
955
|
protoOf(_no_name_provided__qut3iv_0).e18 = function (collector, $completion) {
|
|
956
956
|
var tmp = new $collectCOROUTINE$2(this, collector, $completion);
|
|
@@ -962,17 +962,17 @@
|
|
|
962
962
|
return this.e18(collector, $completion);
|
|
963
963
|
};
|
|
964
964
|
function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
|
|
965
|
-
this.
|
|
965
|
+
this.r9m_1 = $subscriber;
|
|
966
966
|
CoroutineImpl.call(this, resultContinuation);
|
|
967
967
|
}
|
|
968
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
969
|
-
var tmp = this.
|
|
968
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).t9m = function (it, $completion) {
|
|
969
|
+
var tmp = this.u9m(it, $completion);
|
|
970
970
|
tmp.h9_1 = Unit_instance;
|
|
971
971
|
tmp.i9_1 = null;
|
|
972
972
|
return tmp.n9();
|
|
973
973
|
};
|
|
974
974
|
protoOf(GameServer$subscribeWith$slambda$slambda).x9 = function (p1, $completion) {
|
|
975
|
-
return this.
|
|
975
|
+
return this.t9m(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
|
|
976
976
|
};
|
|
977
977
|
protoOf(GameServer$subscribeWith$slambda$slambda).n9 = function () {
|
|
978
978
|
var suspendResult = this.h9_1;
|
|
@@ -981,7 +981,7 @@
|
|
|
981
981
|
var tmp = this.f9_1;
|
|
982
982
|
if (tmp === 0) {
|
|
983
983
|
this.g9_1 = 1;
|
|
984
|
-
this.
|
|
984
|
+
this.r9m_1(this.s9m_1);
|
|
985
985
|
return Unit_instance;
|
|
986
986
|
} else if (tmp === 1) {
|
|
987
987
|
throw this.i9_1;
|
|
@@ -992,64 +992,64 @@
|
|
|
992
992
|
}
|
|
993
993
|
while (true);
|
|
994
994
|
};
|
|
995
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
996
|
-
var i = new GameServer$subscribeWith$slambda$slambda(this.
|
|
997
|
-
i.
|
|
995
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).u9m = function (it, completion) {
|
|
996
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.r9m_1, completion);
|
|
997
|
+
i.s9m_1 = it;
|
|
998
998
|
return i;
|
|
999
999
|
};
|
|
1000
1000
|
function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
|
|
1001
1001
|
var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
|
|
1002
1002
|
var l = function (it, $completion) {
|
|
1003
|
-
return i.
|
|
1003
|
+
return i.t9m(it, $completion);
|
|
1004
1004
|
};
|
|
1005
1005
|
l.$arity = 1;
|
|
1006
1006
|
return l;
|
|
1007
1007
|
}
|
|
1008
1008
|
function GameServer$roomOnCreate$1$updatedUsers$previousTeams$1($playerId) {
|
|
1009
|
-
this.
|
|
1009
|
+
this.v9m_1 = $playerId;
|
|
1010
1010
|
}
|
|
1011
1011
|
protoOf(GameServer$roomOnCreate$1$updatedUsers$previousTeams$1).e6a = function () {
|
|
1012
|
-
return this.
|
|
1012
|
+
return this.v9m_1;
|
|
1013
1013
|
};
|
|
1014
1014
|
function _get_logger__rkp4sl($this) {
|
|
1015
1015
|
// Inline function 'kotlin.getValue' call
|
|
1016
|
-
var this_0 = $this.
|
|
1016
|
+
var this_0 = $this.y9m_1;
|
|
1017
1017
|
logger$factory_0();
|
|
1018
1018
|
return this_0.u();
|
|
1019
1019
|
}
|
|
1020
1020
|
function _get_toClientEventsObserver__6rp51y($this) {
|
|
1021
1021
|
// Inline function 'kotlin.getValue' call
|
|
1022
|
-
var this_0 = $this.
|
|
1022
|
+
var this_0 = $this.z9m_1;
|
|
1023
1023
|
toClientEventsObserver$factory_0();
|
|
1024
1024
|
return this_0.u();
|
|
1025
1025
|
}
|
|
1026
1026
|
function _get_fromClientEventsObserver__a7vzd3($this) {
|
|
1027
1027
|
// Inline function 'kotlin.getValue' call
|
|
1028
|
-
var this_0 = $this.
|
|
1028
|
+
var this_0 = $this.a9n_1;
|
|
1029
1029
|
fromClientEventsObserver$factory_0();
|
|
1030
1030
|
return this_0.u();
|
|
1031
1031
|
}
|
|
1032
1032
|
function _get_playerConnectionInteractor__si6cxf($this) {
|
|
1033
1033
|
// Inline function 'kotlin.getValue' call
|
|
1034
|
-
var this_0 = $this.
|
|
1034
|
+
var this_0 = $this.b9n_1;
|
|
1035
1035
|
playerConnectionInteractor$factory_0();
|
|
1036
1036
|
return this_0.u();
|
|
1037
1037
|
}
|
|
1038
1038
|
function _get_teamsLogicProvider__u10pm6($this) {
|
|
1039
1039
|
// Inline function 'kotlin.getValue' call
|
|
1040
|
-
var this_0 = $this.
|
|
1040
|
+
var this_0 = $this.c9n_1;
|
|
1041
1041
|
teamsLogicProvider$factory_0();
|
|
1042
1042
|
return this_0.u();
|
|
1043
1043
|
}
|
|
1044
1044
|
function _get_random__h29cgo($this) {
|
|
1045
1045
|
// Inline function 'kotlin.getValue' call
|
|
1046
|
-
var this_0 = $this.
|
|
1046
|
+
var this_0 = $this.d9n_1;
|
|
1047
1047
|
random$factory();
|
|
1048
1048
|
return this_0.u();
|
|
1049
1049
|
}
|
|
1050
1050
|
function _get_idsProvider__fnfajc($this) {
|
|
1051
1051
|
// Inline function 'kotlin.getValue' call
|
|
1052
|
-
var this_0 = $this.
|
|
1052
|
+
var this_0 = $this.e9n_1;
|
|
1053
1053
|
idsProvider$factory_0();
|
|
1054
1054
|
return this_0.u();
|
|
1055
1055
|
}
|
|
@@ -1063,20 +1063,20 @@
|
|
|
1063
1063
|
return transformLatest(this_0, GameServer$observeTableWhenRoundChanges$slambda_0(observeState, null));
|
|
1064
1064
|
}
|
|
1065
1065
|
function Companion() {
|
|
1066
|
-
this.
|
|
1066
|
+
this.g9n_1 = 'GameEngine_API';
|
|
1067
1067
|
}
|
|
1068
1068
|
var Companion_instance_7;
|
|
1069
1069
|
function Companion_getInstance_0() {
|
|
1070
1070
|
return Companion_instance_7;
|
|
1071
1071
|
}
|
|
1072
1072
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
1073
|
-
this.
|
|
1073
|
+
this.h9n_1 = function_0;
|
|
1074
1074
|
}
|
|
1075
1075
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).d18 = function (value, $completion) {
|
|
1076
|
-
return this.
|
|
1076
|
+
return this.h9n_1(value, $completion);
|
|
1077
1077
|
};
|
|
1078
1078
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).p3 = function () {
|
|
1079
|
-
return this.
|
|
1079
|
+
return this.h9n_1;
|
|
1080
1080
|
};
|
|
1081
1081
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
1082
1082
|
var tmp;
|
|
@@ -1097,13 +1097,13 @@
|
|
|
1097
1097
|
return hashCode(this.p3());
|
|
1098
1098
|
};
|
|
1099
1099
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
1100
|
-
this.
|
|
1100
|
+
this.i9n_1 = function_0;
|
|
1101
1101
|
}
|
|
1102
1102
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).d18 = function (value, $completion) {
|
|
1103
|
-
return this.
|
|
1103
|
+
return this.i9n_1(value, $completion);
|
|
1104
1104
|
};
|
|
1105
1105
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).p3 = function () {
|
|
1106
|
-
return this.
|
|
1106
|
+
return this.i9n_1;
|
|
1107
1107
|
};
|
|
1108
1108
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
1109
1109
|
var tmp;
|
|
@@ -1124,13 +1124,13 @@
|
|
|
1124
1124
|
return hashCode(this.p3());
|
|
1125
1125
|
};
|
|
1126
1126
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
|
|
1127
|
-
this.
|
|
1127
|
+
this.j9n_1 = function_0;
|
|
1128
1128
|
}
|
|
1129
1129
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).d18 = function (value, $completion) {
|
|
1130
|
-
return this.
|
|
1130
|
+
return this.j9n_1(value, $completion);
|
|
1131
1131
|
};
|
|
1132
1132
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).p3 = function () {
|
|
1133
|
-
return this.
|
|
1133
|
+
return this.j9n_1;
|
|
1134
1134
|
};
|
|
1135
1135
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
|
|
1136
1136
|
var tmp;
|
|
@@ -1151,13 +1151,13 @@
|
|
|
1151
1151
|
return hashCode(this.p3());
|
|
1152
1152
|
};
|
|
1153
1153
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
|
|
1154
|
-
this.
|
|
1154
|
+
this.k9n_1 = function_0;
|
|
1155
1155
|
}
|
|
1156
1156
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).d18 = function (value, $completion) {
|
|
1157
|
-
return this.
|
|
1157
|
+
return this.k9n_1(value, $completion);
|
|
1158
1158
|
};
|
|
1159
1159
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).p3 = function () {
|
|
1160
|
-
return this.
|
|
1160
|
+
return this.k9n_1;
|
|
1161
1161
|
};
|
|
1162
1162
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
|
|
1163
1163
|
var tmp;
|
|
@@ -1183,8 +1183,8 @@
|
|
|
1183
1183
|
};
|
|
1184
1184
|
}
|
|
1185
1185
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
1186
|
-
this.
|
|
1187
|
-
this.
|
|
1186
|
+
this.t9n_1 = this$0;
|
|
1187
|
+
this.u9n_1 = $subscriber;
|
|
1188
1188
|
CoroutineImpl.call(this, resultContinuation);
|
|
1189
1189
|
}
|
|
1190
1190
|
protoOf(GameServer$subscribeToClientAction$slambda).y1d = function ($this$launchDefault, $completion) {
|
|
@@ -1205,8 +1205,8 @@
|
|
|
1205
1205
|
case 0:
|
|
1206
1206
|
this.g9_1 = 2;
|
|
1207
1207
|
this.f9_1 = 1;
|
|
1208
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
1209
|
-
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.
|
|
1208
|
+
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.t9n_1).w9n();
|
|
1209
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.u9n_1, null);
|
|
1210
1210
|
suspendResult = tmp_0.a17(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
1211
1211
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1212
1212
|
return suspendResult;
|
|
@@ -1230,8 +1230,8 @@
|
|
|
1230
1230
|
while (true);
|
|
1231
1231
|
};
|
|
1232
1232
|
protoOf(GameServer$subscribeToClientAction$slambda).z1d = function ($this$launchDefault, completion) {
|
|
1233
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
1234
|
-
i.
|
|
1233
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.t9n_1, this.u9n_1, completion);
|
|
1234
|
+
i.v9n_1 = $this$launchDefault;
|
|
1235
1235
|
return i;
|
|
1236
1236
|
};
|
|
1237
1237
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1243,8 +1243,8 @@
|
|
|
1243
1243
|
return l;
|
|
1244
1244
|
}
|
|
1245
1245
|
function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
|
|
1246
|
-
this.
|
|
1247
|
-
this.
|
|
1246
|
+
this.f9o_1 = this$0;
|
|
1247
|
+
this.g9o_1 = $subscriber;
|
|
1248
1248
|
CoroutineImpl.call(this, resultContinuation);
|
|
1249
1249
|
}
|
|
1250
1250
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).y1d = function ($this$launchDefault, $completion) {
|
|
@@ -1265,9 +1265,9 @@
|
|
|
1265
1265
|
case 0:
|
|
1266
1266
|
this.g9_1 = 2;
|
|
1267
1267
|
this.f9_1 = 1;
|
|
1268
|
-
var this_0 = observeTableWhenRoundChanges(this.
|
|
1269
|
-
var tmp_0 = transformLatest(this_0, GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.
|
|
1270
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_2(this.
|
|
1268
|
+
var this_0 = observeTableWhenRoundChanges(this.f9o_1, this.f9o_1.i6q());
|
|
1269
|
+
var tmp_0 = transformLatest(this_0, GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.f9o_1, null));
|
|
1270
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_2(this.g9o_1, null);
|
|
1271
1271
|
suspendResult = tmp_0.a17(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
1272
1272
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1273
1273
|
return suspendResult;
|
|
@@ -1291,8 +1291,8 @@
|
|
|
1291
1291
|
while (true);
|
|
1292
1292
|
};
|
|
1293
1293
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).z1d = function ($this$launchDefault, completion) {
|
|
1294
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda(this.
|
|
1295
|
-
i.
|
|
1294
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda(this.f9o_1, this.g9o_1, completion);
|
|
1295
|
+
i.h9o_1 = $this$launchDefault;
|
|
1296
1296
|
return i;
|
|
1297
1297
|
};
|
|
1298
1298
|
function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1304,7 +1304,7 @@
|
|
|
1304
1304
|
return l;
|
|
1305
1305
|
}
|
|
1306
1306
|
function _no_name_provided__qut3iv_1($this) {
|
|
1307
|
-
this.
|
|
1307
|
+
this.g9l_1 = $this;
|
|
1308
1308
|
}
|
|
1309
1309
|
protoOf(_no_name_provided__qut3iv_1).e18 = function (collector, $completion) {
|
|
1310
1310
|
var tmp = new $collectCOROUTINE$1(this, collector, $completion);
|
|
@@ -1316,18 +1316,18 @@
|
|
|
1316
1316
|
return this.e18(collector, $completion);
|
|
1317
1317
|
};
|
|
1318
1318
|
function GameServer$observeTableWhenRoundChanges$slambda($observeState, resultContinuation) {
|
|
1319
|
-
this.
|
|
1319
|
+
this.q9o_1 = $observeState;
|
|
1320
1320
|
CoroutineImpl.call(this, resultContinuation);
|
|
1321
1321
|
}
|
|
1322
|
-
protoOf(GameServer$observeTableWhenRoundChanges$slambda).
|
|
1323
|
-
var tmp = this.
|
|
1322
|
+
protoOf(GameServer$observeTableWhenRoundChanges$slambda).v9j = function ($this$transformLatest, it, $completion) {
|
|
1323
|
+
var tmp = this.w9j($this$transformLatest, it, $completion);
|
|
1324
1324
|
tmp.h9_1 = Unit_instance;
|
|
1325
1325
|
tmp.i9_1 = null;
|
|
1326
1326
|
return tmp.n9();
|
|
1327
1327
|
};
|
|
1328
1328
|
protoOf(GameServer$observeTableWhenRoundChanges$slambda).y9 = function (p1, p2, $completion) {
|
|
1329
1329
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
1330
|
-
return this.
|
|
1330
|
+
return this.v9j(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
1331
1331
|
};
|
|
1332
1332
|
protoOf(GameServer$observeTableWhenRoundChanges$slambda).n9 = function () {
|
|
1333
1333
|
var suspendResult = this.h9_1;
|
|
@@ -1338,9 +1338,9 @@
|
|
|
1338
1338
|
case 0:
|
|
1339
1339
|
this.g9_1 = 2;
|
|
1340
1340
|
this.f9_1 = 1;
|
|
1341
|
-
this.
|
|
1342
|
-
var this_0 = this.
|
|
1343
|
-
suspendResult = emitAll(this.
|
|
1341
|
+
this.s9o_1;
|
|
1342
|
+
var this_0 = this.q9o_1;
|
|
1343
|
+
suspendResult = emitAll(this.r9o_1, new _no_name_provided__qut3iv_0(this_0), this);
|
|
1344
1344
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1345
1345
|
return suspendResult;
|
|
1346
1346
|
}
|
|
@@ -1362,23 +1362,23 @@
|
|
|
1362
1362
|
}
|
|
1363
1363
|
while (true);
|
|
1364
1364
|
};
|
|
1365
|
-
protoOf(GameServer$observeTableWhenRoundChanges$slambda).
|
|
1366
|
-
var i = new GameServer$observeTableWhenRoundChanges$slambda(this.
|
|
1367
|
-
i.
|
|
1368
|
-
i.
|
|
1365
|
+
protoOf(GameServer$observeTableWhenRoundChanges$slambda).w9j = function ($this$transformLatest, it, completion) {
|
|
1366
|
+
var i = new GameServer$observeTableWhenRoundChanges$slambda(this.q9o_1, completion);
|
|
1367
|
+
i.r9o_1 = $this$transformLatest;
|
|
1368
|
+
i.s9o_1 = it;
|
|
1369
1369
|
return i;
|
|
1370
1370
|
};
|
|
1371
1371
|
function GameServer$observeTableWhenRoundChanges$slambda_0($observeState, resultContinuation) {
|
|
1372
1372
|
var i = new GameServer$observeTableWhenRoundChanges$slambda($observeState, resultContinuation);
|
|
1373
1373
|
var l = function ($this$transformLatest, it, $completion) {
|
|
1374
|
-
return i.
|
|
1374
|
+
return i.v9j($this$transformLatest, it, $completion);
|
|
1375
1375
|
};
|
|
1376
1376
|
l.$arity = 2;
|
|
1377
1377
|
return l;
|
|
1378
1378
|
}
|
|
1379
1379
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
1380
|
-
this.
|
|
1381
|
-
this.
|
|
1380
|
+
this.b9p_1 = this$0;
|
|
1381
|
+
this.c9p_1 = $subscriber;
|
|
1382
1382
|
CoroutineImpl.call(this, resultContinuation);
|
|
1383
1383
|
}
|
|
1384
1384
|
protoOf(GameServer$subscribeWith$slambda).y1d = function ($this$launchDefault, $completion) {
|
|
@@ -1399,8 +1399,8 @@
|
|
|
1399
1399
|
case 0:
|
|
1400
1400
|
this.g9_1 = 2;
|
|
1401
1401
|
this.f9_1 = 1;
|
|
1402
|
-
var tmp_0 = distinctUntilChanged(this.
|
|
1403
|
-
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.
|
|
1402
|
+
var tmp_0 = distinctUntilChanged(this.b9p_1.i6q());
|
|
1403
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.c9p_1, null);
|
|
1404
1404
|
suspendResult = tmp_0.a17(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_1), this);
|
|
1405
1405
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1406
1406
|
return suspendResult;
|
|
@@ -1424,8 +1424,8 @@
|
|
|
1424
1424
|
while (true);
|
|
1425
1425
|
};
|
|
1426
1426
|
protoOf(GameServer$subscribeWith$slambda).z1d = function ($this$launchDefault, completion) {
|
|
1427
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
1428
|
-
i.
|
|
1427
|
+
var i = new GameServer$subscribeWith$slambda(this.b9p_1, this.c9p_1, completion);
|
|
1428
|
+
i.d9p_1 = $this$launchDefault;
|
|
1429
1429
|
return i;
|
|
1430
1430
|
};
|
|
1431
1431
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1437,18 +1437,18 @@
|
|
|
1437
1437
|
return l;
|
|
1438
1438
|
}
|
|
1439
1439
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
1440
|
-
this.
|
|
1440
|
+
this.m9p_1 = $action;
|
|
1441
1441
|
CoroutineImpl.call(this, resultContinuation);
|
|
1442
1442
|
}
|
|
1443
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
1444
|
-
var tmp = this.
|
|
1443
|
+
protoOf(GameServer$fromClientEvent$slambda).p9p = function ($this$dispatchAsync, store, $completion) {
|
|
1444
|
+
var tmp = this.q9p($this$dispatchAsync, store, $completion);
|
|
1445
1445
|
tmp.h9_1 = Unit_instance;
|
|
1446
1446
|
tmp.i9_1 = null;
|
|
1447
1447
|
return tmp.n9();
|
|
1448
1448
|
};
|
|
1449
1449
|
protoOf(GameServer$fromClientEvent$slambda).y9 = function (p1, p2, $completion) {
|
|
1450
1450
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1451
|
-
return this.
|
|
1451
|
+
return this.p9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1452
1452
|
};
|
|
1453
1453
|
protoOf(GameServer$fromClientEvent$slambda).n9 = function () {
|
|
1454
1454
|
var suspendResult = this.h9_1;
|
|
@@ -1457,11 +1457,11 @@
|
|
|
1457
1457
|
var tmp = this.f9_1;
|
|
1458
1458
|
if (tmp === 0) {
|
|
1459
1459
|
this.g9_1 = 1;
|
|
1460
|
-
if (this.
|
|
1461
|
-
if (!get_isCreated(this.
|
|
1460
|
+
if (this.m9p_1 instanceof PlayerReadyFromClientAction)
|
|
1461
|
+
if (!get_isCreated(this.o9p_1.state)) {
|
|
1462
1462
|
return Unit_instance;
|
|
1463
1463
|
}
|
|
1464
|
-
this.
|
|
1464
|
+
this.o9p_1.dispatch(this.m9p_1);
|
|
1465
1465
|
return Unit_instance;
|
|
1466
1466
|
} else if (tmp === 1) {
|
|
1467
1467
|
throw this.i9_1;
|
|
@@ -1472,33 +1472,33 @@
|
|
|
1472
1472
|
}
|
|
1473
1473
|
while (true);
|
|
1474
1474
|
};
|
|
1475
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
1476
|
-
var i = new GameServer$fromClientEvent$slambda(this.
|
|
1477
|
-
i.
|
|
1478
|
-
i.
|
|
1475
|
+
protoOf(GameServer$fromClientEvent$slambda).q9p = function ($this$dispatchAsync, store, completion) {
|
|
1476
|
+
var i = new GameServer$fromClientEvent$slambda(this.m9p_1, completion);
|
|
1477
|
+
i.n9p_1 = $this$dispatchAsync;
|
|
1478
|
+
i.o9p_1 = store;
|
|
1479
1479
|
return i;
|
|
1480
1480
|
};
|
|
1481
1481
|
function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
|
|
1482
1482
|
var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
|
|
1483
1483
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1484
|
-
return i.
|
|
1484
|
+
return i.p9p($this$dispatchAsync, store, $completion);
|
|
1485
1485
|
};
|
|
1486
1486
|
l.$arity = 2;
|
|
1487
1487
|
return l;
|
|
1488
1488
|
}
|
|
1489
1489
|
function GameServer$playerLostConnection$slambda($playerId, resultContinuation) {
|
|
1490
|
-
this.
|
|
1490
|
+
this.z9p_1 = $playerId;
|
|
1491
1491
|
CoroutineImpl.call(this, resultContinuation);
|
|
1492
1492
|
}
|
|
1493
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
1494
|
-
var tmp = this.
|
|
1493
|
+
protoOf(GameServer$playerLostConnection$slambda).p9p = function ($this$dispatchAsync, store, $completion) {
|
|
1494
|
+
var tmp = this.q9p($this$dispatchAsync, store, $completion);
|
|
1495
1495
|
tmp.h9_1 = Unit_instance;
|
|
1496
1496
|
tmp.i9_1 = null;
|
|
1497
1497
|
return tmp.n9();
|
|
1498
1498
|
};
|
|
1499
1499
|
protoOf(GameServer$playerLostConnection$slambda).y9 = function (p1, p2, $completion) {
|
|
1500
1500
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1501
|
-
return this.
|
|
1501
|
+
return this.p9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1502
1502
|
};
|
|
1503
1503
|
protoOf(GameServer$playerLostConnection$slambda).n9 = function () {
|
|
1504
1504
|
var suspendResult = this.h9_1;
|
|
@@ -1507,12 +1507,12 @@
|
|
|
1507
1507
|
var tmp = this.f9_1;
|
|
1508
1508
|
if (tmp === 0) {
|
|
1509
1509
|
this.g9_1 = 1;
|
|
1510
|
-
if (!get_isCreated(this.
|
|
1510
|
+
if (!get_isCreated(this.b9q_1.state)) {
|
|
1511
1511
|
return Unit_instance;
|
|
1512
1512
|
}
|
|
1513
|
-
var tmp_0 = this.
|
|
1513
|
+
var tmp_0 = this.b9q_1.dispatch;
|
|
1514
1514
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
1515
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
1515
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.z9p_1));
|
|
1516
1516
|
return Unit_instance;
|
|
1517
1517
|
} else if (tmp === 1) {
|
|
1518
1518
|
throw this.i9_1;
|
|
@@ -1523,34 +1523,34 @@
|
|
|
1523
1523
|
}
|
|
1524
1524
|
while (true);
|
|
1525
1525
|
};
|
|
1526
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
1527
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
1528
|
-
i.
|
|
1529
|
-
i.
|
|
1526
|
+
protoOf(GameServer$playerLostConnection$slambda).q9p = function ($this$dispatchAsync, store, completion) {
|
|
1527
|
+
var i = new GameServer$playerLostConnection$slambda(this.z9p_1, completion);
|
|
1528
|
+
i.a9q_1 = $this$dispatchAsync;
|
|
1529
|
+
i.b9q_1 = store;
|
|
1530
1530
|
return i;
|
|
1531
1531
|
};
|
|
1532
1532
|
function GameServer$playerLostConnection$slambda_0($playerId, resultContinuation) {
|
|
1533
1533
|
var i = new GameServer$playerLostConnection$slambda($playerId, resultContinuation);
|
|
1534
1534
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1535
|
-
return i.
|
|
1535
|
+
return i.p9p($this$dispatchAsync, store, $completion);
|
|
1536
1536
|
};
|
|
1537
1537
|
l.$arity = 2;
|
|
1538
1538
|
return l;
|
|
1539
1539
|
}
|
|
1540
1540
|
function GameServer$playerLive$slambda(this$0, $playerId, resultContinuation) {
|
|
1541
|
-
this.
|
|
1542
|
-
this.
|
|
1541
|
+
this.k9q_1 = this$0;
|
|
1542
|
+
this.l9q_1 = $playerId;
|
|
1543
1543
|
CoroutineImpl.call(this, resultContinuation);
|
|
1544
1544
|
}
|
|
1545
|
-
protoOf(GameServer$playerLive$slambda).
|
|
1546
|
-
var tmp = this.
|
|
1545
|
+
protoOf(GameServer$playerLive$slambda).p9p = function ($this$dispatchAsync, store, $completion) {
|
|
1546
|
+
var tmp = this.q9p($this$dispatchAsync, store, $completion);
|
|
1547
1547
|
tmp.h9_1 = Unit_instance;
|
|
1548
1548
|
tmp.i9_1 = null;
|
|
1549
1549
|
return tmp.n9();
|
|
1550
1550
|
};
|
|
1551
1551
|
protoOf(GameServer$playerLive$slambda).y9 = function (p1, p2, $completion) {
|
|
1552
1552
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1553
|
-
return this.
|
|
1553
|
+
return this.p9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1554
1554
|
};
|
|
1555
1555
|
protoOf(GameServer$playerLive$slambda).n9 = function () {
|
|
1556
1556
|
var suspendResult = this.h9_1;
|
|
@@ -1559,12 +1559,12 @@
|
|
|
1559
1559
|
var tmp = this.f9_1;
|
|
1560
1560
|
if (tmp === 0) {
|
|
1561
1561
|
this.g9_1 = 1;
|
|
1562
|
-
if (!get_isCreated(this.
|
|
1562
|
+
if (!get_isCreated(this.n9q_1.state) || !this.k9q_1.d6b().m6r()) {
|
|
1563
1563
|
return Unit_instance;
|
|
1564
1564
|
}
|
|
1565
|
-
var tmp_0 = this.
|
|
1565
|
+
var tmp_0 = this.n9q_1.dispatch;
|
|
1566
1566
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
1567
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
1567
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.l9q_1));
|
|
1568
1568
|
return Unit_instance;
|
|
1569
1569
|
} else if (tmp === 1) {
|
|
1570
1570
|
throw this.i9_1;
|
|
@@ -1575,34 +1575,34 @@
|
|
|
1575
1575
|
}
|
|
1576
1576
|
while (true);
|
|
1577
1577
|
};
|
|
1578
|
-
protoOf(GameServer$playerLive$slambda).
|
|
1579
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
1580
|
-
i.
|
|
1581
|
-
i.
|
|
1578
|
+
protoOf(GameServer$playerLive$slambda).q9p = function ($this$dispatchAsync, store, completion) {
|
|
1579
|
+
var i = new GameServer$playerLive$slambda(this.k9q_1, this.l9q_1, completion);
|
|
1580
|
+
i.m9q_1 = $this$dispatchAsync;
|
|
1581
|
+
i.n9q_1 = store;
|
|
1582
1582
|
return i;
|
|
1583
1583
|
};
|
|
1584
1584
|
function GameServer$playerLive$slambda_0(this$0, $playerId, resultContinuation) {
|
|
1585
1585
|
var i = new GameServer$playerLive$slambda(this$0, $playerId, resultContinuation);
|
|
1586
1586
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1587
|
-
return i.
|
|
1587
|
+
return i.p9p($this$dispatchAsync, store, $completion);
|
|
1588
1588
|
};
|
|
1589
1589
|
l.$arity = 2;
|
|
1590
1590
|
return l;
|
|
1591
1591
|
}
|
|
1592
1592
|
function GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation) {
|
|
1593
|
-
this.
|
|
1594
|
-
this.
|
|
1593
|
+
this.w9q_1 = this$0;
|
|
1594
|
+
this.x9q_1 = $playerId;
|
|
1595
1595
|
CoroutineImpl.call(this, resultContinuation);
|
|
1596
1596
|
}
|
|
1597
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
1598
|
-
var tmp = this.
|
|
1597
|
+
protoOf(GameServer$playerLeft$slambda).p9p = function ($this$dispatchAsync, store, $completion) {
|
|
1598
|
+
var tmp = this.q9p($this$dispatchAsync, store, $completion);
|
|
1599
1599
|
tmp.h9_1 = Unit_instance;
|
|
1600
1600
|
tmp.i9_1 = null;
|
|
1601
1601
|
return tmp.n9();
|
|
1602
1602
|
};
|
|
1603
1603
|
protoOf(GameServer$playerLeft$slambda).y9 = function (p1, p2, $completion) {
|
|
1604
1604
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1605
|
-
return this.
|
|
1605
|
+
return this.p9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1606
1606
|
};
|
|
1607
1607
|
protoOf(GameServer$playerLeft$slambda).n9 = function () {
|
|
1608
1608
|
var suspendResult = this.h9_1;
|
|
@@ -1611,13 +1611,13 @@
|
|
|
1611
1611
|
var tmp = this.f9_1;
|
|
1612
1612
|
if (tmp === 0) {
|
|
1613
1613
|
this.g9_1 = 1;
|
|
1614
|
-
if (!get_isCreated(this.
|
|
1615
|
-
_get_logger__rkp4sl(this.
|
|
1614
|
+
if (!get_isCreated(this.z9q_1.state) || !this.w9q_1.d6b().m6r()) {
|
|
1615
|
+
_get_logger__rkp4sl(this.w9q_1).w('GameEngine_API', 'playerLeft: ' + this.x9q_1 + ' called before the game start');
|
|
1616
1616
|
return Unit_instance;
|
|
1617
1617
|
}
|
|
1618
|
-
var tmp_0 = this.
|
|
1618
|
+
var tmp_0 = this.z9q_1.dispatch;
|
|
1619
1619
|
var tmp0_connectionState = PlayerConnectionState_LEFT_getInstance();
|
|
1620
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
1620
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.x9q_1));
|
|
1621
1621
|
return Unit_instance;
|
|
1622
1622
|
} else if (tmp === 1) {
|
|
1623
1623
|
throw this.i9_1;
|
|
@@ -1628,39 +1628,39 @@
|
|
|
1628
1628
|
}
|
|
1629
1629
|
while (true);
|
|
1630
1630
|
};
|
|
1631
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
1632
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
1633
|
-
i.
|
|
1634
|
-
i.
|
|
1631
|
+
protoOf(GameServer$playerLeft$slambda).q9p = function ($this$dispatchAsync, store, completion) {
|
|
1632
|
+
var i = new GameServer$playerLeft$slambda(this.w9q_1, this.x9q_1, completion);
|
|
1633
|
+
i.y9q_1 = $this$dispatchAsync;
|
|
1634
|
+
i.z9q_1 = store;
|
|
1635
1635
|
return i;
|
|
1636
1636
|
};
|
|
1637
1637
|
function GameServer$playerLeft$slambda_0(this$0, $playerId, resultContinuation) {
|
|
1638
1638
|
var i = new GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation);
|
|
1639
1639
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1640
|
-
return i.
|
|
1640
|
+
return i.p9p($this$dispatchAsync, store, $completion);
|
|
1641
1641
|
};
|
|
1642
1642
|
l.$arity = 2;
|
|
1643
1643
|
return l;
|
|
1644
1644
|
}
|
|
1645
1645
|
function GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
1646
|
-
this.
|
|
1647
|
-
this.
|
|
1648
|
-
this.
|
|
1649
|
-
this.
|
|
1650
|
-
this.
|
|
1651
|
-
this.
|
|
1652
|
-
this.
|
|
1646
|
+
this.i9r_1 = $usersArray;
|
|
1647
|
+
this.j9r_1 = $config;
|
|
1648
|
+
this.k9r_1 = this$0;
|
|
1649
|
+
this.l9r_1 = $roomId;
|
|
1650
|
+
this.m9r_1 = $transition;
|
|
1651
|
+
this.n9r_1 = $gameCreatorId;
|
|
1652
|
+
this.o9r_1 = $spectators;
|
|
1653
1653
|
CoroutineImpl.call(this, resultContinuation);
|
|
1654
1654
|
}
|
|
1655
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
1656
|
-
var tmp = this.
|
|
1655
|
+
protoOf(GameServer$roomOnCreate$slambda).p9p = function ($this$dispatchAsync, store, $completion) {
|
|
1656
|
+
var tmp = this.q9p($this$dispatchAsync, store, $completion);
|
|
1657
1657
|
tmp.h9_1 = Unit_instance;
|
|
1658
1658
|
tmp.i9_1 = null;
|
|
1659
1659
|
return tmp.n9();
|
|
1660
1660
|
};
|
|
1661
1661
|
protoOf(GameServer$roomOnCreate$slambda).y9 = function (p1, p2, $completion) {
|
|
1662
1662
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1663
|
-
return this.
|
|
1663
|
+
return this.p9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1664
1664
|
};
|
|
1665
1665
|
protoOf(GameServer$roomOnCreate$slambda).n9 = function () {
|
|
1666
1666
|
var suspendResult = this.h9_1;
|
|
@@ -1669,28 +1669,28 @@
|
|
|
1669
1669
|
var tmp = this.f9_1;
|
|
1670
1670
|
if (tmp === 0) {
|
|
1671
1671
|
this.g9_1 = 1;
|
|
1672
|
-
var users = toList(this.
|
|
1673
|
-
if (!(this.
|
|
1674
|
-
_get_logger__rkp4sl(this.
|
|
1675
|
-
this.
|
|
1672
|
+
var users = toList(this.i9r_1);
|
|
1673
|
+
if (!(this.j9r_1.playersMode.count === users.m())) {
|
|
1674
|
+
_get_logger__rkp4sl(this.k9r_1).w('GameEngine_API', 'roomOnCreate: wrong player count for game ' + this.l9r_1 + ', config = ' + this.j9r_1.toString() + ', users = ' + toString(users));
|
|
1675
|
+
this.q9r_1.dispatch(Companion_instance.withAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.k9r_1.table.isGameFinished, this.k9r_1.table));
|
|
1676
1676
|
return Unit_instance;
|
|
1677
1677
|
}
|
|
1678
1678
|
var tmp_0;
|
|
1679
|
-
if (this.
|
|
1680
|
-
tmp_0 = _get_random__h29cgo(this.
|
|
1679
|
+
if (this.j9r_1.mode.shufflePlayers && this.m9r_1 == null) {
|
|
1680
|
+
tmp_0 = _get_random__h29cgo(this.k9r_1).z5v(toMutableList(users));
|
|
1681
1681
|
} else {
|
|
1682
|
-
var tmp0_safe_receiver = this.
|
|
1682
|
+
var tmp0_safe_receiver = this.m9r_1;
|
|
1683
1683
|
var previousPlayers = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.previousPlayers;
|
|
1684
1684
|
var tmp_1;
|
|
1685
|
-
if (!(previousPlayers == null) && this.
|
|
1686
|
-
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.
|
|
1685
|
+
if (!(previousPlayers == null) && this.j9r_1.playersMode.isTeamGame) {
|
|
1686
|
+
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.k9r_1);
|
|
1687
1687
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(previousPlayers, 10));
|
|
1688
1688
|
var tmp0_iterator = previousPlayers.j();
|
|
1689
1689
|
while (tmp0_iterator.k()) {
|
|
1690
1690
|
var item = tmp0_iterator.l();
|
|
1691
1691
|
destination.e(new GameServer$roomOnCreate$1$updatedUsers$previousTeams$1(item));
|
|
1692
1692
|
}
|
|
1693
|
-
var previousTeams = tmp_2.
|
|
1693
|
+
var previousTeams = tmp_2.e8m(destination);
|
|
1694
1694
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
1695
1695
|
var tmp0_iterator_0 = users.j();
|
|
1696
1696
|
while (tmp0_iterator_0.k()) {
|
|
@@ -1714,19 +1714,19 @@
|
|
|
1714
1714
|
destination_1.e(destination_2);
|
|
1715
1715
|
}
|
|
1716
1716
|
var updatedTeams = destination_1;
|
|
1717
|
-
tmp_1 = _get_teamsLogicProvider__u10pm6(this.
|
|
1717
|
+
tmp_1 = _get_teamsLogicProvider__u10pm6(this.k9r_1).i8m(updatedTeams);
|
|
1718
1718
|
} else {
|
|
1719
1719
|
tmp_1 = users;
|
|
1720
1720
|
}
|
|
1721
1721
|
tmp_0 = tmp_1;
|
|
1722
1722
|
}
|
|
1723
1723
|
var updatedUsers = tmp_0;
|
|
1724
|
-
var gameCreatorUser = getPlayer(users, this.
|
|
1725
|
-
var tmp_3 = this.
|
|
1724
|
+
var gameCreatorUser = getPlayer(users, this.n9r_1);
|
|
1725
|
+
var tmp_3 = this.q9r_1.dispatch;
|
|
1726
1726
|
var tmp1_version = GameEngineConfig_instance.version;
|
|
1727
1727
|
var tmp2_users = sortWithItem(updatedUsers, gameCreatorUser);
|
|
1728
|
-
var tmp3_spectators = toList(this.
|
|
1729
|
-
tmp_3(new StartGameMechanicAction(this.
|
|
1728
|
+
var tmp3_spectators = toList(this.o9r_1);
|
|
1729
|
+
tmp_3(new StartGameMechanicAction(this.j9r_1, this.l9r_1, tmp1_version, this.n9r_1, tmp2_users, VOID, tmp3_spectators));
|
|
1730
1730
|
return Unit_instance;
|
|
1731
1731
|
} else if (tmp === 1) {
|
|
1732
1732
|
throw this.i9_1;
|
|
@@ -1737,33 +1737,33 @@
|
|
|
1737
1737
|
}
|
|
1738
1738
|
while (true);
|
|
1739
1739
|
};
|
|
1740
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
1741
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
1742
|
-
i.
|
|
1743
|
-
i.
|
|
1740
|
+
protoOf(GameServer$roomOnCreate$slambda).q9p = function ($this$dispatchAsync, store, completion) {
|
|
1741
|
+
var i = new GameServer$roomOnCreate$slambda(this.i9r_1, this.j9r_1, this.k9r_1, this.l9r_1, this.m9r_1, this.n9r_1, this.o9r_1, completion);
|
|
1742
|
+
i.p9r_1 = $this$dispatchAsync;
|
|
1743
|
+
i.q9r_1 = store;
|
|
1744
1744
|
return i;
|
|
1745
1745
|
};
|
|
1746
1746
|
function GameServer$roomOnCreate$slambda_0($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
1747
1747
|
var i = new GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation);
|
|
1748
1748
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1749
|
-
return i.
|
|
1749
|
+
return i.p9p($this$dispatchAsync, store, $completion);
|
|
1750
1750
|
};
|
|
1751
1751
|
l.$arity = 2;
|
|
1752
1752
|
return l;
|
|
1753
1753
|
}
|
|
1754
1754
|
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
1755
|
-
this.
|
|
1755
|
+
this.z9r_1 = $state;
|
|
1756
1756
|
CoroutineImpl.call(this, resultContinuation);
|
|
1757
1757
|
}
|
|
1758
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
1759
|
-
var tmp = this.
|
|
1758
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).p9p = function ($this$dispatchAsync, store, $completion) {
|
|
1759
|
+
var tmp = this.q9p($this$dispatchAsync, store, $completion);
|
|
1760
1760
|
tmp.h9_1 = Unit_instance;
|
|
1761
1761
|
tmp.i9_1 = null;
|
|
1762
1762
|
return tmp.n9();
|
|
1763
1763
|
};
|
|
1764
1764
|
protoOf(GameServer$roomOnContinueFromState$slambda).y9 = function (p1, p2, $completion) {
|
|
1765
1765
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1766
|
-
return this.
|
|
1766
|
+
return this.p9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1767
1767
|
};
|
|
1768
1768
|
protoOf(GameServer$roomOnContinueFromState$slambda).n9 = function () {
|
|
1769
1769
|
var suspendResult = this.h9_1;
|
|
@@ -1772,9 +1772,9 @@
|
|
|
1772
1772
|
var tmp = this.f9_1;
|
|
1773
1773
|
if (tmp === 0) {
|
|
1774
1774
|
this.g9_1 = 1;
|
|
1775
|
-
var tmp_0 = this.
|
|
1775
|
+
var tmp_0 = this.b9s_1.dispatch;
|
|
1776
1776
|
var tmp0_reason = new RestartRoundReason(null);
|
|
1777
|
-
var tmp1_table = this.
|
|
1777
|
+
var tmp1_table = this.z9r_1.table;
|
|
1778
1778
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
1779
1779
|
return Unit_instance;
|
|
1780
1780
|
} else if (tmp === 1) {
|
|
@@ -1786,33 +1786,33 @@
|
|
|
1786
1786
|
}
|
|
1787
1787
|
while (true);
|
|
1788
1788
|
};
|
|
1789
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
1790
|
-
var i = new GameServer$roomOnContinueFromState$slambda(this.
|
|
1791
|
-
i.
|
|
1792
|
-
i.
|
|
1789
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).q9p = function ($this$dispatchAsync, store, completion) {
|
|
1790
|
+
var i = new GameServer$roomOnContinueFromState$slambda(this.z9r_1, completion);
|
|
1791
|
+
i.a9s_1 = $this$dispatchAsync;
|
|
1792
|
+
i.b9s_1 = store;
|
|
1793
1793
|
return i;
|
|
1794
1794
|
};
|
|
1795
1795
|
function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
|
|
1796
1796
|
var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
|
|
1797
1797
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1798
|
-
return i.
|
|
1798
|
+
return i.p9p($this$dispatchAsync, store, $completion);
|
|
1799
1799
|
};
|
|
1800
1800
|
l.$arity = 2;
|
|
1801
1801
|
return l;
|
|
1802
1802
|
}
|
|
1803
1803
|
function GameServer$roomOnContinueFromState$slambda_1($state, resultContinuation) {
|
|
1804
|
-
this.
|
|
1804
|
+
this.k9s_1 = $state;
|
|
1805
1805
|
CoroutineImpl.call(this, resultContinuation);
|
|
1806
1806
|
}
|
|
1807
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
1808
|
-
var tmp = this.
|
|
1807
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).p9p = function ($this$dispatchAsync, store, $completion) {
|
|
1808
|
+
var tmp = this.q9p($this$dispatchAsync, store, $completion);
|
|
1809
1809
|
tmp.h9_1 = Unit_instance;
|
|
1810
1810
|
tmp.i9_1 = null;
|
|
1811
1811
|
return tmp.n9();
|
|
1812
1812
|
};
|
|
1813
1813
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).y9 = function (p1, p2, $completion) {
|
|
1814
1814
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1815
|
-
return this.
|
|
1815
|
+
return this.p9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1816
1816
|
};
|
|
1817
1817
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).n9 = function () {
|
|
1818
1818
|
var suspendResult = this.h9_1;
|
|
@@ -1821,10 +1821,10 @@
|
|
|
1821
1821
|
var tmp = this.f9_1;
|
|
1822
1822
|
if (tmp === 0) {
|
|
1823
1823
|
this.g9_1 = 1;
|
|
1824
|
-
var tmp0_iterator = this.
|
|
1824
|
+
var tmp0_iterator = this.k9s_1.actions.j();
|
|
1825
1825
|
while (tmp0_iterator.k()) {
|
|
1826
1826
|
var element = tmp0_iterator.l();
|
|
1827
|
-
this.
|
|
1827
|
+
this.m9s_1.dispatch(element);
|
|
1828
1828
|
}
|
|
1829
1829
|
return Unit_instance;
|
|
1830
1830
|
} else if (tmp === 1) {
|
|
@@ -1836,35 +1836,35 @@
|
|
|
1836
1836
|
}
|
|
1837
1837
|
while (true);
|
|
1838
1838
|
};
|
|
1839
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
1840
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1(this.
|
|
1841
|
-
i.
|
|
1842
|
-
i.
|
|
1839
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).q9p = function ($this$dispatchAsync, store, completion) {
|
|
1840
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1(this.k9s_1, completion);
|
|
1841
|
+
i.l9s_1 = $this$dispatchAsync;
|
|
1842
|
+
i.m9s_1 = store;
|
|
1843
1843
|
return i;
|
|
1844
1844
|
};
|
|
1845
1845
|
function GameServer$roomOnContinueFromState$slambda_2($state, resultContinuation) {
|
|
1846
1846
|
var i = new GameServer$roomOnContinueFromState$slambda_1($state, resultContinuation);
|
|
1847
1847
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1848
|
-
return i.
|
|
1848
|
+
return i.p9p($this$dispatchAsync, store, $completion);
|
|
1849
1849
|
};
|
|
1850
1850
|
l.$arity = 2;
|
|
1851
1851
|
return l;
|
|
1852
1852
|
}
|
|
1853
1853
|
function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation) {
|
|
1854
|
-
this.
|
|
1855
|
-
this.
|
|
1856
|
-
this.
|
|
1854
|
+
this.v9s_1 = $tableLite;
|
|
1855
|
+
this.w9s_1 = $roomId;
|
|
1856
|
+
this.x9s_1 = this$0;
|
|
1857
1857
|
CoroutineImpl.call(this, resultContinuation);
|
|
1858
1858
|
}
|
|
1859
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
1860
|
-
var tmp = this.
|
|
1859
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).p9p = function ($this$dispatchAsync, store, $completion) {
|
|
1860
|
+
var tmp = this.q9p($this$dispatchAsync, store, $completion);
|
|
1861
1861
|
tmp.h9_1 = Unit_instance;
|
|
1862
1862
|
tmp.i9_1 = null;
|
|
1863
1863
|
return tmp.n9();
|
|
1864
1864
|
};
|
|
1865
1865
|
protoOf(GameServer$roomOnContinueFromRound$slambda).y9 = function (p1, p2, $completion) {
|
|
1866
1866
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1867
|
-
return this.
|
|
1867
|
+
return this.p9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1868
1868
|
};
|
|
1869
1869
|
protoOf(GameServer$roomOnContinueFromRound$slambda).n9 = function () {
|
|
1870
1870
|
var suspendResult = this.h9_1;
|
|
@@ -1873,9 +1873,9 @@
|
|
|
1873
1873
|
var tmp = this.f9_1;
|
|
1874
1874
|
if (tmp === 0) {
|
|
1875
1875
|
this.g9_1 = 1;
|
|
1876
|
-
var tmp_0 = this.
|
|
1877
|
-
var tmp0_reason = new RestartRoundReason(this.
|
|
1878
|
-
var tmp1_table = Companion_instance_0.restartRound(this.
|
|
1876
|
+
var tmp_0 = this.z9s_1.dispatch;
|
|
1877
|
+
var tmp0_reason = new RestartRoundReason(this.v9s_1.gameInfo.round.roundNumber);
|
|
1878
|
+
var tmp1_table = Companion_instance_0.restartRound(this.w9s_1, _get_idsProvider__fnfajc(this.x9s_1).r6h(), GameEngineConfig_instance.version, this.v9s_1);
|
|
1879
1879
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
1880
1880
|
return Unit_instance;
|
|
1881
1881
|
} else if (tmp === 1) {
|
|
@@ -1887,16 +1887,16 @@
|
|
|
1887
1887
|
}
|
|
1888
1888
|
while (true);
|
|
1889
1889
|
};
|
|
1890
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
1891
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
1892
|
-
i.
|
|
1893
|
-
i.
|
|
1890
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).q9p = function ($this$dispatchAsync, store, completion) {
|
|
1891
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.v9s_1, this.w9s_1, this.x9s_1, completion);
|
|
1892
|
+
i.y9s_1 = $this$dispatchAsync;
|
|
1893
|
+
i.z9s_1 = store;
|
|
1894
1894
|
return i;
|
|
1895
1895
|
};
|
|
1896
1896
|
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, resultContinuation) {
|
|
1897
1897
|
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation);
|
|
1898
1898
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1899
|
-
return i.
|
|
1899
|
+
return i.p9p($this$dispatchAsync, store, $completion);
|
|
1900
1900
|
};
|
|
1901
1901
|
l.$arity = 2;
|
|
1902
1902
|
return l;
|
|
@@ -1904,15 +1904,15 @@
|
|
|
1904
1904
|
function GameServer$roomOnContinueFromRound$slambda_1(resultContinuation) {
|
|
1905
1905
|
CoroutineImpl.call(this, resultContinuation);
|
|
1906
1906
|
}
|
|
1907
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
1908
|
-
var tmp = this.
|
|
1907
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).p9p = function ($this$dispatchAsync, store, $completion) {
|
|
1908
|
+
var tmp = this.q9p($this$dispatchAsync, store, $completion);
|
|
1909
1909
|
tmp.h9_1 = Unit_instance;
|
|
1910
1910
|
tmp.i9_1 = null;
|
|
1911
1911
|
return tmp.n9();
|
|
1912
1912
|
};
|
|
1913
1913
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).y9 = function (p1, p2, $completion) {
|
|
1914
1914
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1915
|
-
return this.
|
|
1915
|
+
return this.p9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1916
1916
|
};
|
|
1917
1917
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).n9 = function () {
|
|
1918
1918
|
var suspendResult = this.h9_1;
|
|
@@ -1921,7 +1921,7 @@
|
|
|
1921
1921
|
var tmp = this.f9_1;
|
|
1922
1922
|
if (tmp === 0) {
|
|
1923
1923
|
this.g9_1 = 1;
|
|
1924
|
-
this.
|
|
1924
|
+
this.j9t_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
1925
1925
|
return Unit_instance;
|
|
1926
1926
|
} else if (tmp === 1) {
|
|
1927
1927
|
throw this.i9_1;
|
|
@@ -1932,33 +1932,33 @@
|
|
|
1932
1932
|
}
|
|
1933
1933
|
while (true);
|
|
1934
1934
|
};
|
|
1935
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
1935
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).q9p = function ($this$dispatchAsync, store, completion) {
|
|
1936
1936
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
1937
|
-
i.
|
|
1938
|
-
i.
|
|
1937
|
+
i.i9t_1 = $this$dispatchAsync;
|
|
1938
|
+
i.j9t_1 = store;
|
|
1939
1939
|
return i;
|
|
1940
1940
|
};
|
|
1941
1941
|
function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
|
|
1942
1942
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(resultContinuation);
|
|
1943
1943
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1944
|
-
return i.
|
|
1944
|
+
return i.p9p($this$dispatchAsync, store, $completion);
|
|
1945
1945
|
};
|
|
1946
1946
|
l.$arity = 2;
|
|
1947
1947
|
return l;
|
|
1948
1948
|
}
|
|
1949
1949
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
1950
|
-
this.
|
|
1950
|
+
this.s9t_1 = $spectators;
|
|
1951
1951
|
CoroutineImpl.call(this, resultContinuation);
|
|
1952
1952
|
}
|
|
1953
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
1954
|
-
var tmp = this.
|
|
1953
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).p9p = function ($this$dispatchAsync, store, $completion) {
|
|
1954
|
+
var tmp = this.q9p($this$dispatchAsync, store, $completion);
|
|
1955
1955
|
tmp.h9_1 = Unit_instance;
|
|
1956
1956
|
tmp.i9_1 = null;
|
|
1957
1957
|
return tmp.n9();
|
|
1958
1958
|
};
|
|
1959
1959
|
protoOf(GameServer$addSpectatorsToRoom$slambda).y9 = function (p1, p2, $completion) {
|
|
1960
1960
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1961
|
-
return this.
|
|
1961
|
+
return this.p9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1962
1962
|
};
|
|
1963
1963
|
protoOf(GameServer$addSpectatorsToRoom$slambda).n9 = function () {
|
|
1964
1964
|
var suspendResult = this.h9_1;
|
|
@@ -1967,7 +1967,7 @@
|
|
|
1967
1967
|
var tmp = this.f9_1;
|
|
1968
1968
|
if (tmp === 0) {
|
|
1969
1969
|
this.g9_1 = 1;
|
|
1970
|
-
this.
|
|
1970
|
+
this.u9t_1.dispatch(new AddSpectatorsAction(toList(this.s9t_1)));
|
|
1971
1971
|
return Unit_instance;
|
|
1972
1972
|
} else if (tmp === 1) {
|
|
1973
1973
|
throw this.i9_1;
|
|
@@ -1978,33 +1978,33 @@
|
|
|
1978
1978
|
}
|
|
1979
1979
|
while (true);
|
|
1980
1980
|
};
|
|
1981
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
1982
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
1983
|
-
i.
|
|
1984
|
-
i.
|
|
1981
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).q9p = function ($this$dispatchAsync, store, completion) {
|
|
1982
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.s9t_1, completion);
|
|
1983
|
+
i.t9t_1 = $this$dispatchAsync;
|
|
1984
|
+
i.u9t_1 = store;
|
|
1985
1985
|
return i;
|
|
1986
1986
|
};
|
|
1987
1987
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
1988
1988
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
1989
1989
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1990
|
-
return i.
|
|
1990
|
+
return i.p9p($this$dispatchAsync, store, $completion);
|
|
1991
1991
|
};
|
|
1992
1992
|
l.$arity = 2;
|
|
1993
1993
|
return l;
|
|
1994
1994
|
}
|
|
1995
1995
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
1996
|
-
this.
|
|
1996
|
+
this.d9u_1 = $spectators;
|
|
1997
1997
|
CoroutineImpl.call(this, resultContinuation);
|
|
1998
1998
|
}
|
|
1999
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2000
|
-
var tmp = this.
|
|
1999
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).p9p = function ($this$dispatchAsync, store, $completion) {
|
|
2000
|
+
var tmp = this.q9p($this$dispatchAsync, store, $completion);
|
|
2001
2001
|
tmp.h9_1 = Unit_instance;
|
|
2002
2002
|
tmp.i9_1 = null;
|
|
2003
2003
|
return tmp.n9();
|
|
2004
2004
|
};
|
|
2005
2005
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).y9 = function (p1, p2, $completion) {
|
|
2006
2006
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2007
|
-
return this.
|
|
2007
|
+
return this.p9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2008
2008
|
};
|
|
2009
2009
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).n9 = function () {
|
|
2010
2010
|
var suspendResult = this.h9_1;
|
|
@@ -2013,7 +2013,7 @@
|
|
|
2013
2013
|
var tmp = this.f9_1;
|
|
2014
2014
|
if (tmp === 0) {
|
|
2015
2015
|
this.g9_1 = 1;
|
|
2016
|
-
this.
|
|
2016
|
+
this.f9u_1.dispatch(new RemoveSpectatorsAction(toList(this.d9u_1)));
|
|
2017
2017
|
return Unit_instance;
|
|
2018
2018
|
} else if (tmp === 1) {
|
|
2019
2019
|
throw this.i9_1;
|
|
@@ -2024,34 +2024,34 @@
|
|
|
2024
2024
|
}
|
|
2025
2025
|
while (true);
|
|
2026
2026
|
};
|
|
2027
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2028
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
2029
|
-
i.
|
|
2030
|
-
i.
|
|
2027
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).q9p = function ($this$dispatchAsync, store, completion) {
|
|
2028
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.d9u_1, completion);
|
|
2029
|
+
i.e9u_1 = $this$dispatchAsync;
|
|
2030
|
+
i.f9u_1 = store;
|
|
2031
2031
|
return i;
|
|
2032
2032
|
};
|
|
2033
2033
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
2034
2034
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
2035
2035
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2036
|
-
return i.
|
|
2036
|
+
return i.p9p($this$dispatchAsync, store, $completion);
|
|
2037
2037
|
};
|
|
2038
2038
|
l.$arity = 2;
|
|
2039
2039
|
return l;
|
|
2040
2040
|
}
|
|
2041
2041
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
2042
|
-
this.
|
|
2043
|
-
this.
|
|
2042
|
+
this.o9u_1 = $playerId;
|
|
2043
|
+
this.p9u_1 = this$0;
|
|
2044
2044
|
CoroutineImpl.call(this, resultContinuation);
|
|
2045
2045
|
}
|
|
2046
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2047
|
-
var tmp = this.
|
|
2046
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).p9p = function ($this$dispatchAsync, store, $completion) {
|
|
2047
|
+
var tmp = this.q9p($this$dispatchAsync, store, $completion);
|
|
2048
2048
|
tmp.h9_1 = Unit_instance;
|
|
2049
2049
|
tmp.i9_1 = null;
|
|
2050
2050
|
return tmp.n9();
|
|
2051
2051
|
};
|
|
2052
2052
|
protoOf(GameServer$roomRefreshPlayerState$slambda).y9 = function (p1, p2, $completion) {
|
|
2053
2053
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2054
|
-
return this.
|
|
2054
|
+
return this.p9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2055
2055
|
};
|
|
2056
2056
|
protoOf(GameServer$roomRefreshPlayerState$slambda).n9 = function () {
|
|
2057
2057
|
var suspendResult = this.h9_1;
|
|
@@ -2060,14 +2060,14 @@
|
|
|
2060
2060
|
var tmp = this.f9_1;
|
|
2061
2061
|
if (tmp === 0) {
|
|
2062
2062
|
this.g9_1 = 1;
|
|
2063
|
-
var table = this.
|
|
2064
|
-
var player = getPlayer(table.players, this.
|
|
2063
|
+
var table = this.r9u_1.state.l6r();
|
|
2064
|
+
var player = getPlayer(table.players, this.o9u_1);
|
|
2065
2065
|
if (player.g6x_1.g6d().x6b_1.isLive) {
|
|
2066
|
-
this.
|
|
2066
|
+
this.r9u_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.p9u_1).c8t(player, table));
|
|
2067
2067
|
} else {
|
|
2068
|
-
var tmp_0 = this.
|
|
2068
|
+
var tmp_0 = this.r9u_1.dispatch;
|
|
2069
2069
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2070
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2070
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.o9u_1));
|
|
2071
2071
|
}
|
|
2072
2072
|
return Unit_instance;
|
|
2073
2073
|
} else if (tmp === 1) {
|
|
@@ -2079,34 +2079,34 @@
|
|
|
2079
2079
|
}
|
|
2080
2080
|
while (true);
|
|
2081
2081
|
};
|
|
2082
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2083
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
2084
|
-
i.
|
|
2085
|
-
i.
|
|
2082
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).q9p = function ($this$dispatchAsync, store, completion) {
|
|
2083
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.o9u_1, this.p9u_1, completion);
|
|
2084
|
+
i.q9u_1 = $this$dispatchAsync;
|
|
2085
|
+
i.r9u_1 = store;
|
|
2086
2086
|
return i;
|
|
2087
2087
|
};
|
|
2088
2088
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
2089
2089
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
2090
2090
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2091
|
-
return i.
|
|
2091
|
+
return i.p9p($this$dispatchAsync, store, $completion);
|
|
2092
2092
|
};
|
|
2093
2093
|
l.$arity = 2;
|
|
2094
2094
|
return l;
|
|
2095
2095
|
}
|
|
2096
2096
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
2097
|
-
this.
|
|
2098
|
-
this.
|
|
2097
|
+
this.a9v_1 = this$0;
|
|
2098
|
+
this.b9v_1 = $newRid;
|
|
2099
2099
|
CoroutineImpl.call(this, resultContinuation);
|
|
2100
2100
|
}
|
|
2101
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2102
|
-
var tmp = this.
|
|
2101
|
+
protoOf(GameServer$roomOnDelete$slambda).p9p = function ($this$dispatchAsync, store, $completion) {
|
|
2102
|
+
var tmp = this.q9p($this$dispatchAsync, store, $completion);
|
|
2103
2103
|
tmp.h9_1 = Unit_instance;
|
|
2104
2104
|
tmp.i9_1 = null;
|
|
2105
2105
|
return tmp.n9();
|
|
2106
2106
|
};
|
|
2107
2107
|
protoOf(GameServer$roomOnDelete$slambda).y9 = function (p1, p2, $completion) {
|
|
2108
2108
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2109
|
-
return this.
|
|
2109
|
+
return this.p9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2110
2110
|
};
|
|
2111
2111
|
protoOf(GameServer$roomOnDelete$slambda).n9 = function () {
|
|
2112
2112
|
var suspendResult = this.h9_1;
|
|
@@ -2115,27 +2115,27 @@
|
|
|
2115
2115
|
var tmp = this.f9_1;
|
|
2116
2116
|
if (tmp === 0) {
|
|
2117
2117
|
this.g9_1 = 1;
|
|
2118
|
-
var it = this.
|
|
2118
|
+
var it = this.a9v_1.d6b().m6q_1;
|
|
2119
2119
|
var tmp_0;
|
|
2120
2120
|
if (it == null) {
|
|
2121
|
-
_get_logger__rkp4sl(this.
|
|
2121
|
+
_get_logger__rkp4sl(this.a9v_1).w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
2122
2122
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
2123
2123
|
} else {
|
|
2124
2124
|
tmp_0 = it;
|
|
2125
2125
|
}
|
|
2126
2126
|
var terminationState = tmp_0;
|
|
2127
|
-
var gameTransition = terminationState.
|
|
2127
|
+
var gameTransition = terminationState.g8x_1;
|
|
2128
2128
|
var tmp_1;
|
|
2129
2129
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
2130
|
-
var tmp0_elvis_lhs = this.
|
|
2130
|
+
var tmp0_elvis_lhs = this.b9v_1;
|
|
2131
2131
|
tmp_1 = gameTransition.copy(tmp0_elvis_lhs == null ? gameTransition.roomId : tmp0_elvis_lhs);
|
|
2132
2132
|
} else {
|
|
2133
2133
|
tmp_1 = gameTransition;
|
|
2134
2134
|
}
|
|
2135
2135
|
var transition = tmp_1;
|
|
2136
|
-
var tmp_2 = this.
|
|
2137
|
-
var tmp0_reason = terminationState.
|
|
2138
|
-
var tmp1_isGameFinished = this.
|
|
2136
|
+
var tmp_2 = this.d9v_1.dispatch;
|
|
2137
|
+
var tmp0_reason = terminationState.f8x_1;
|
|
2138
|
+
var tmp1_isGameFinished = this.a9v_1.d6b().l6r().isGameFinished;
|
|
2139
2139
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
2140
2140
|
return Unit_instance;
|
|
2141
2141
|
} else if (tmp === 1) {
|
|
@@ -2147,33 +2147,33 @@
|
|
|
2147
2147
|
}
|
|
2148
2148
|
while (true);
|
|
2149
2149
|
};
|
|
2150
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2151
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
2152
|
-
i.
|
|
2153
|
-
i.
|
|
2150
|
+
protoOf(GameServer$roomOnDelete$slambda).q9p = function ($this$dispatchAsync, store, completion) {
|
|
2151
|
+
var i = new GameServer$roomOnDelete$slambda(this.a9v_1, this.b9v_1, completion);
|
|
2152
|
+
i.c9v_1 = $this$dispatchAsync;
|
|
2153
|
+
i.d9v_1 = store;
|
|
2154
2154
|
return i;
|
|
2155
2155
|
};
|
|
2156
2156
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
2157
2157
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
2158
2158
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2159
|
-
return i.
|
|
2159
|
+
return i.p9p($this$dispatchAsync, store, $completion);
|
|
2160
2160
|
};
|
|
2161
2161
|
l.$arity = 2;
|
|
2162
2162
|
return l;
|
|
2163
2163
|
}
|
|
2164
2164
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
2165
|
-
this.
|
|
2165
|
+
this.m9v_1 = $enabled;
|
|
2166
2166
|
CoroutineImpl.call(this, resultContinuation);
|
|
2167
2167
|
}
|
|
2168
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2169
|
-
var tmp = this.
|
|
2168
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).p9p = function ($this$dispatchAsync, store, $completion) {
|
|
2169
|
+
var tmp = this.q9p($this$dispatchAsync, store, $completion);
|
|
2170
2170
|
tmp.h9_1 = Unit_instance;
|
|
2171
2171
|
tmp.i9_1 = null;
|
|
2172
2172
|
return tmp.n9();
|
|
2173
2173
|
};
|
|
2174
2174
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).y9 = function (p1, p2, $completion) {
|
|
2175
2175
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2176
|
-
return this.
|
|
2176
|
+
return this.p9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2177
2177
|
};
|
|
2178
2178
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).n9 = function () {
|
|
2179
2179
|
var suspendResult = this.h9_1;
|
|
@@ -2182,7 +2182,7 @@
|
|
|
2182
2182
|
var tmp = this.f9_1;
|
|
2183
2183
|
if (tmp === 0) {
|
|
2184
2184
|
this.g9_1 = 1;
|
|
2185
|
-
this.
|
|
2185
|
+
this.o9v_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload_0(this.o9v_1.state).p9v_1.s9v(VOID, this.m9v_1)));
|
|
2186
2186
|
return Unit_instance;
|
|
2187
2187
|
} else if (tmp === 1) {
|
|
2188
2188
|
throw this.i9_1;
|
|
@@ -2193,35 +2193,35 @@
|
|
|
2193
2193
|
}
|
|
2194
2194
|
while (true);
|
|
2195
2195
|
};
|
|
2196
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2197
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
2198
|
-
i.
|
|
2199
|
-
i.
|
|
2196
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).q9p = function ($this$dispatchAsync, store, completion) {
|
|
2197
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.m9v_1, completion);
|
|
2198
|
+
i.n9v_1 = $this$dispatchAsync;
|
|
2199
|
+
i.o9v_1 = store;
|
|
2200
2200
|
return i;
|
|
2201
2201
|
};
|
|
2202
2202
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
2203
2203
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
2204
2204
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2205
|
-
return i.
|
|
2205
|
+
return i.p9p($this$dispatchAsync, store, $completion);
|
|
2206
2206
|
};
|
|
2207
2207
|
l.$arity = 2;
|
|
2208
2208
|
return l;
|
|
2209
2209
|
}
|
|
2210
2210
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
2211
|
-
this.
|
|
2212
|
-
this.
|
|
2213
|
-
this.
|
|
2211
|
+
this.b9w_1 = $reason;
|
|
2212
|
+
this.c9w_1 = this$0;
|
|
2213
|
+
this.d9w_1 = $roomId;
|
|
2214
2214
|
CoroutineImpl.call(this, resultContinuation);
|
|
2215
2215
|
}
|
|
2216
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2217
|
-
var tmp = this.
|
|
2216
|
+
protoOf(GameServer$shutdown$slambda).p9p = function ($this$dispatchAsync, store, $completion) {
|
|
2217
|
+
var tmp = this.q9p($this$dispatchAsync, store, $completion);
|
|
2218
2218
|
tmp.h9_1 = Unit_instance;
|
|
2219
2219
|
tmp.i9_1 = null;
|
|
2220
2220
|
return tmp.n9();
|
|
2221
2221
|
};
|
|
2222
2222
|
protoOf(GameServer$shutdown$slambda).y9 = function (p1, p2, $completion) {
|
|
2223
2223
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2224
|
-
return this.
|
|
2224
|
+
return this.p9p(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2225
2225
|
};
|
|
2226
2226
|
protoOf(GameServer$shutdown$slambda).n9 = function () {
|
|
2227
2227
|
var suspendResult = this.h9_1;
|
|
@@ -2230,11 +2230,11 @@
|
|
|
2230
2230
|
var tmp = this.f9_1;
|
|
2231
2231
|
if (tmp === 0) {
|
|
2232
2232
|
this.g9_1 = 1;
|
|
2233
|
-
var state = this.
|
|
2233
|
+
var state = this.f9w_1.store.state;
|
|
2234
2234
|
if (state.m6r()) {
|
|
2235
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
2235
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.b9w_1, get_serverShutdownReasonMapping());
|
|
2236
2236
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
2237
|
-
var tmp_0 = this.
|
|
2237
|
+
var tmp_0 = this.f9w_1.dispatch;
|
|
2238
2238
|
var tmp_1 = Companion_instance;
|
|
2239
2239
|
var tmp_2;
|
|
2240
2240
|
switch (shutdownReason.o2_1) {
|
|
@@ -2248,10 +2248,10 @@
|
|
|
2248
2248
|
noWhenBranchMatchedException();
|
|
2249
2249
|
break;
|
|
2250
2250
|
}
|
|
2251
|
-
tmp_0(tmp_1.withAnalytics(tmp_2, this.
|
|
2251
|
+
tmp_0(tmp_1.withAnalytics(tmp_2, this.c9w_1.table.isGameFinished, this.c9w_1.table));
|
|
2252
2252
|
} else {
|
|
2253
|
-
_get_logger__rkp4sl(this.
|
|
2254
|
-
this.
|
|
2253
|
+
_get_logger__rkp4sl(this.c9w_1).w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.d9w_1);
|
|
2254
|
+
this.f9w_1.dispatch(new ClearAction());
|
|
2255
2255
|
}
|
|
2256
2256
|
return Unit_instance;
|
|
2257
2257
|
} else if (tmp === 1) {
|
|
@@ -2263,22 +2263,22 @@
|
|
|
2263
2263
|
}
|
|
2264
2264
|
while (true);
|
|
2265
2265
|
};
|
|
2266
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2267
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
2268
|
-
i.
|
|
2269
|
-
i.
|
|
2266
|
+
protoOf(GameServer$shutdown$slambda).q9p = function ($this$dispatchAsync, store, completion) {
|
|
2267
|
+
var i = new GameServer$shutdown$slambda(this.b9w_1, this.c9w_1, this.d9w_1, completion);
|
|
2268
|
+
i.e9w_1 = $this$dispatchAsync;
|
|
2269
|
+
i.f9w_1 = store;
|
|
2270
2270
|
return i;
|
|
2271
2271
|
};
|
|
2272
2272
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
2273
2273
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
2274
2274
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2275
|
-
return i.
|
|
2275
|
+
return i.p9p($this$dispatchAsync, store, $completion);
|
|
2276
2276
|
};
|
|
2277
2277
|
l.$arity = 2;
|
|
2278
2278
|
return l;
|
|
2279
2279
|
}
|
|
2280
2280
|
function GameServer(di, tag, storeContract, preloadedState, externalReducers, externalMiddlewares) {
|
|
2281
|
-
preloadedState = preloadedState === VOID ? new AppState(VOID, Companion_instance_10.
|
|
2281
|
+
preloadedState = preloadedState === VOID ? new AppState(VOID, Companion_instance_10.g9w()) : preloadedState;
|
|
2282
2282
|
var tmp;
|
|
2283
2283
|
if (externalReducers === VOID) {
|
|
2284
2284
|
// Inline function 'kotlin.collections.listOf' call
|
|
@@ -2301,46 +2301,46 @@
|
|
|
2301
2301
|
// Inline function 'org.kodein.type.generic' call
|
|
2302
2302
|
var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
2303
2303
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
2304
|
-
tmp_1.
|
|
2304
|
+
tmp_1.y9m_1 = Instance(di, tmp$ret$2, null).l63(this, logger$factory());
|
|
2305
2305
|
var tmp_3 = this;
|
|
2306
2306
|
// Inline function 'org.kodein.di.instance' call
|
|
2307
2307
|
// Inline function 'org.kodein.type.generic' call
|
|
2308
2308
|
var tmp_4 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
|
|
2309
2309
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
2310
|
-
tmp_3.
|
|
2310
|
+
tmp_3.z9m_1 = Instance(di, tmp$ret$4, null).l63(this, toClientEventsObserver$factory());
|
|
2311
2311
|
var tmp_5 = this;
|
|
2312
2312
|
// Inline function 'org.kodein.di.instance' call
|
|
2313
2313
|
// Inline function 'org.kodein.type.generic' call
|
|
2314
2314
|
var tmp_6 = typeToken(createKType(getKClass(FromClientEventsObserver), arrayOf([]), false));
|
|
2315
2315
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
2316
|
-
tmp_5.
|
|
2316
|
+
tmp_5.a9n_1 = Instance(di, tmp$ret$6, null).l63(this, fromClientEventsObserver$factory());
|
|
2317
2317
|
var tmp_7 = this;
|
|
2318
2318
|
// Inline function 'org.kodein.di.instance' call
|
|
2319
2319
|
// Inline function 'org.kodein.type.generic' call
|
|
2320
2320
|
var tmp_8 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
|
|
2321
2321
|
var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
2322
|
-
tmp_7.
|
|
2322
|
+
tmp_7.b9n_1 = Instance(di, tmp$ret$8, null).l63(this, playerConnectionInteractor$factory());
|
|
2323
2323
|
var tmp_9 = this;
|
|
2324
2324
|
// Inline function 'org.kodein.di.instance' call
|
|
2325
2325
|
// Inline function 'org.kodein.type.generic' call
|
|
2326
2326
|
var tmp_10 = typeToken(createKType(getKClass(TeamsLogicProvider), arrayOf([]), false));
|
|
2327
2327
|
var tmp$ret$10 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
2328
|
-
tmp_9.
|
|
2328
|
+
tmp_9.c9n_1 = Instance(di, tmp$ret$10, null).l63(this, teamsLogicProvider$factory());
|
|
2329
2329
|
var tmp_11 = this;
|
|
2330
|
-
tmp_11.
|
|
2330
|
+
tmp_11.d9n_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
2331
2331
|
var tmp_12 = this;
|
|
2332
2332
|
// Inline function 'org.kodein.di.instance' call
|
|
2333
2333
|
// Inline function 'org.kodein.type.generic' call
|
|
2334
2334
|
var tmp_13 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
2335
2335
|
var tmp$ret$12 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
2336
|
-
tmp_12.
|
|
2336
|
+
tmp_12.e9n_1 = Instance(di, tmp$ret$12, null).l63(this, idsProvider$factory());
|
|
2337
2337
|
var tmp_14 = this;
|
|
2338
|
-
var tmp0_externalMiddlewares = plus(storeContract.
|
|
2339
|
-
var tmp1_externalReducers = plus(storeContract.
|
|
2340
|
-
tmp_14.
|
|
2338
|
+
var tmp0_externalMiddlewares = plus(storeContract.r91(), externalMiddlewares);
|
|
2339
|
+
var tmp1_externalReducers = plus(storeContract.q91(), externalReducers);
|
|
2340
|
+
tmp_14.f9n_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
2341
2341
|
}
|
|
2342
2342
|
protoOf(GameServer).y6p = function () {
|
|
2343
|
-
return this.
|
|
2343
|
+
return this.f9n_1;
|
|
2344
2344
|
};
|
|
2345
2345
|
protoOf(GameServer).s5k = function () {
|
|
2346
2346
|
return this.d6b().l6r().id;
|
|
@@ -2368,55 +2368,55 @@
|
|
|
2368
2368
|
};
|
|
2369
2369
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
2370
2370
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
2371
|
-
this.
|
|
2371
|
+
this.f9n_1.k6r(GameServer$fromClientEvent$slambda_0(action, null));
|
|
2372
2372
|
};
|
|
2373
2373
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
2374
2374
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
2375
|
-
this.
|
|
2375
|
+
this.f9n_1.k6r(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
2376
2376
|
};
|
|
2377
2377
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
2378
2378
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLive: ' + playerId);
|
|
2379
|
-
this.
|
|
2379
|
+
this.f9n_1.k6r(GameServer$playerLive$slambda_0(this, playerId, null));
|
|
2380
2380
|
};
|
|
2381
2381
|
protoOf(GameServer).playerLeft = function (playerId) {
|
|
2382
2382
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
2383
|
-
this.
|
|
2383
|
+
this.f9n_1.k6r(GameServer$playerLeft$slambda_0(this, playerId, null));
|
|
2384
2384
|
};
|
|
2385
|
-
protoOf(GameServer).
|
|
2385
|
+
protoOf(GameServer).h9w = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
2386
2386
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
2387
|
-
this.
|
|
2387
|
+
this.f9n_1.k6r(GameServer$roomOnCreate$slambda_0(usersArray, config, this, roomId, transition, gameCreatorId, spectators, null));
|
|
2388
2388
|
};
|
|
2389
2389
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
2390
2390
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
2391
|
-
this.
|
|
2392
|
-
this.
|
|
2391
|
+
this.f9n_1.k6r(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
2392
|
+
this.f9n_1.k6r(GameServer$roomOnContinueFromState$slambda_2(state, null));
|
|
2393
2393
|
};
|
|
2394
2394
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
2395
2395
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
2396
|
-
this.
|
|
2397
|
-
this.
|
|
2396
|
+
this.f9n_1.k6r(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
2397
|
+
this.f9n_1.k6r(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
2398
2398
|
};
|
|
2399
2399
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
2400
|
-
this.
|
|
2400
|
+
this.f9n_1.k6r(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
2401
2401
|
};
|
|
2402
2402
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
2403
|
-
this.
|
|
2403
|
+
this.f9n_1.k6r(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
2404
2404
|
};
|
|
2405
2405
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
2406
2406
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
2407
|
-
this.
|
|
2407
|
+
this.f9n_1.k6r(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
2408
2408
|
};
|
|
2409
|
-
protoOf(GameServer).
|
|
2409
|
+
protoOf(GameServer).i9w = function (newRid) {
|
|
2410
2410
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnDelete: ' + newRid);
|
|
2411
|
-
this.
|
|
2411
|
+
this.f9n_1.k6r(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
2412
2412
|
};
|
|
2413
2413
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
2414
2414
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
2415
|
-
this.
|
|
2415
|
+
this.f9n_1.k6r(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
2416
2416
|
};
|
|
2417
|
-
protoOf(GameServer).
|
|
2417
|
+
protoOf(GameServer).j9w = function (reason, roomId) {
|
|
2418
2418
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
2419
|
-
this.
|
|
2419
|
+
this.f9n_1.k6r(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
2420
2420
|
};
|
|
2421
2421
|
protoOf(GameServer).clear = function () {
|
|
2422
2422
|
return this.a2();
|
|
@@ -2521,7 +2521,7 @@
|
|
|
2521
2521
|
}
|
|
2522
2522
|
function Companion_0() {
|
|
2523
2523
|
}
|
|
2524
|
-
protoOf(Companion_0).
|
|
2524
|
+
protoOf(Companion_0).k9w = function (fromRound) {
|
|
2525
2525
|
return new ServerConfig(fromRound, true);
|
|
2526
2526
|
};
|
|
2527
2527
|
var Companion_instance_8;
|
|
@@ -2529,23 +2529,23 @@
|
|
|
2529
2529
|
return Companion_instance_8;
|
|
2530
2530
|
}
|
|
2531
2531
|
function ServerConfig(fromRound, canStartNewGame) {
|
|
2532
|
-
this.
|
|
2533
|
-
this.
|
|
2532
|
+
this.q9v_1 = fromRound;
|
|
2533
|
+
this.r9v_1 = canStartNewGame;
|
|
2534
2534
|
}
|
|
2535
|
-
protoOf(ServerConfig).
|
|
2535
|
+
protoOf(ServerConfig).l9w = function (fromRound, canStartNewGame) {
|
|
2536
2536
|
return new ServerConfig(fromRound, canStartNewGame);
|
|
2537
2537
|
};
|
|
2538
|
-
protoOf(ServerConfig).
|
|
2539
|
-
fromRound = fromRound === VOID ? this.
|
|
2540
|
-
canStartNewGame = canStartNewGame === VOID ? this.
|
|
2541
|
-
return $super === VOID ? this.
|
|
2538
|
+
protoOf(ServerConfig).s9v = function (fromRound, canStartNewGame, $super) {
|
|
2539
|
+
fromRound = fromRound === VOID ? this.q9v_1 : fromRound;
|
|
2540
|
+
canStartNewGame = canStartNewGame === VOID ? this.r9v_1 : canStartNewGame;
|
|
2541
|
+
return $super === VOID ? this.l9w(fromRound, canStartNewGame) : $super.l9w.call(this, fromRound, canStartNewGame);
|
|
2542
2542
|
};
|
|
2543
2543
|
protoOf(ServerConfig).toString = function () {
|
|
2544
|
-
return 'ServerConfig(fromRound=' + this.
|
|
2544
|
+
return 'ServerConfig(fromRound=' + this.q9v_1 + ', canStartNewGame=' + this.r9v_1 + ')';
|
|
2545
2545
|
};
|
|
2546
2546
|
protoOf(ServerConfig).hashCode = function () {
|
|
2547
|
-
var result = this.
|
|
2548
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
2547
|
+
var result = this.q9v_1 == null ? 0 : this.q9v_1;
|
|
2548
|
+
result = imul(result, 31) + getBooleanHashCode(this.r9v_1) | 0;
|
|
2549
2549
|
return result;
|
|
2550
2550
|
};
|
|
2551
2551
|
protoOf(ServerConfig).equals = function (other) {
|
|
@@ -2554,9 +2554,9 @@
|
|
|
2554
2554
|
if (!(other instanceof ServerConfig))
|
|
2555
2555
|
return false;
|
|
2556
2556
|
var tmp0_other_with_cast = other instanceof ServerConfig ? other : THROW_CCE();
|
|
2557
|
-
if (!(this.
|
|
2557
|
+
if (!(this.q9v_1 == tmp0_other_with_cast.q9v_1))
|
|
2558
2558
|
return false;
|
|
2559
|
-
if (!(this.
|
|
2559
|
+
if (!(this.r9v_1 === tmp0_other_with_cast.r9v_1))
|
|
2560
2560
|
return false;
|
|
2561
2561
|
return true;
|
|
2562
2562
|
};
|
|
@@ -2571,12 +2571,12 @@
|
|
|
2571
2571
|
protoOf(TableStateUpdate).qe = function () {
|
|
2572
2572
|
return this.table;
|
|
2573
2573
|
};
|
|
2574
|
-
protoOf(TableStateUpdate).
|
|
2574
|
+
protoOf(TableStateUpdate).m9w = function (table) {
|
|
2575
2575
|
return new TableStateUpdate(table);
|
|
2576
2576
|
};
|
|
2577
2577
|
protoOf(TableStateUpdate).copy = function (table, $super) {
|
|
2578
2578
|
table = table === VOID ? this.table : table;
|
|
2579
|
-
return this.
|
|
2579
|
+
return this.m9w(table);
|
|
2580
2580
|
};
|
|
2581
2581
|
protoOf(TableStateUpdate).toString = function () {
|
|
2582
2582
|
return 'TableStateUpdate(table=' + this.table.toString() + ')';
|
|
@@ -2603,12 +2603,12 @@
|
|
|
2603
2603
|
protoOf(ActionsStateUpdate).qe = function () {
|
|
2604
2604
|
return this.actions;
|
|
2605
2605
|
};
|
|
2606
|
-
protoOf(ActionsStateUpdate).
|
|
2606
|
+
protoOf(ActionsStateUpdate).n9w = function (actions) {
|
|
2607
2607
|
return new ActionsStateUpdate(actions);
|
|
2608
2608
|
};
|
|
2609
2609
|
protoOf(ActionsStateUpdate).copy = function (actions, $super) {
|
|
2610
2610
|
actions = actions === VOID ? this.actions : actions;
|
|
2611
|
-
return this.
|
|
2611
|
+
return this.n9w(actions);
|
|
2612
2612
|
};
|
|
2613
2613
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
2614
2614
|
return 'ActionsStateUpdate(actions=' + toString(this.actions) + ')';
|
|
@@ -2854,18 +2854,18 @@
|
|
|
2854
2854
|
function ToClientEventsObserver() {
|
|
2855
2855
|
}
|
|
2856
2856
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
2857
|
-
this.
|
|
2858
|
-
this.
|
|
2857
|
+
this.x9w_1 = this$0;
|
|
2858
|
+
this.y9w_1 = $actions;
|
|
2859
2859
|
CoroutineImpl.call(this, resultContinuation);
|
|
2860
2860
|
}
|
|
2861
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
2862
|
-
var tmp = this.
|
|
2861
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).f9x = function ($this$flow, $completion) {
|
|
2862
|
+
var tmp = this.g9x($this$flow, $completion);
|
|
2863
2863
|
tmp.h9_1 = Unit_instance;
|
|
2864
2864
|
tmp.i9_1 = null;
|
|
2865
2865
|
return tmp.n9();
|
|
2866
2866
|
};
|
|
2867
2867
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).x9 = function (p1, $completion) {
|
|
2868
|
-
return this.
|
|
2868
|
+
return this.f9x((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
2869
2869
|
};
|
|
2870
2870
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).n9 = function () {
|
|
2871
2871
|
var suspendResult = this.h9_1;
|
|
@@ -2876,23 +2876,23 @@
|
|
|
2876
2876
|
case 0:
|
|
2877
2877
|
this.g9_1 = 4;
|
|
2878
2878
|
var tmp_0 = this;
|
|
2879
|
-
tmp_0.
|
|
2879
|
+
tmp_0.a9x_1 = this.x9w_1.l9x_1;
|
|
2880
2880
|
var tmp_1 = this;
|
|
2881
|
-
tmp_1.
|
|
2882
|
-
this.
|
|
2881
|
+
tmp_1.b9x_1 = transformToEmits(this.x9w_1, this.y9w_1);
|
|
2882
|
+
this.c9x_1 = this.b9x_1.j();
|
|
2883
2883
|
this.f9_1 = 1;
|
|
2884
2884
|
continue $sm;
|
|
2885
2885
|
case 1:
|
|
2886
|
-
if (!this.
|
|
2886
|
+
if (!this.c9x_1.k()) {
|
|
2887
2887
|
this.f9_1 = 3;
|
|
2888
2888
|
continue $sm;
|
|
2889
2889
|
}
|
|
2890
2890
|
|
|
2891
|
-
this.
|
|
2891
|
+
this.d9x_1 = this.c9x_1.l();
|
|
2892
2892
|
var tmp_2 = this;
|
|
2893
|
-
tmp_2.
|
|
2893
|
+
tmp_2.e9x_1 = this.d9x_1;
|
|
2894
2894
|
this.f9_1 = 2;
|
|
2895
|
-
suspendResult = this.
|
|
2895
|
+
suspendResult = this.z9w_1.d18(this.e9x_1, this);
|
|
2896
2896
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2897
2897
|
return suspendResult;
|
|
2898
2898
|
}
|
|
@@ -2903,10 +2903,10 @@
|
|
|
2903
2903
|
continue $sm;
|
|
2904
2904
|
case 3:
|
|
2905
2905
|
l$ret$1: do {
|
|
2906
|
-
var this_0 = this.
|
|
2906
|
+
var this_0 = this.x9w_1.k9x_1;
|
|
2907
2907
|
while (true) {
|
|
2908
2908
|
var cur = this_0.kotlinx$atomicfu$value;
|
|
2909
|
-
var upd = cur - this.
|
|
2909
|
+
var upd = cur - this.y9w_1.m() | 0;
|
|
2910
2910
|
if (this_0.atomicfu$compareAndSet(cur, upd)) {
|
|
2911
2911
|
break l$ret$1;
|
|
2912
2912
|
}
|
|
@@ -2928,15 +2928,15 @@
|
|
|
2928
2928
|
}
|
|
2929
2929
|
while (true);
|
|
2930
2930
|
};
|
|
2931
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
2932
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
2933
|
-
i.
|
|
2931
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).g9x = function ($this$flow, completion) {
|
|
2932
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.x9w_1, this.y9w_1, completion);
|
|
2933
|
+
i.z9w_1 = $this$flow;
|
|
2934
2934
|
return i;
|
|
2935
2935
|
};
|
|
2936
2936
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
2937
2937
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
2938
2938
|
var l = function ($this$flow, $completion) {
|
|
2939
|
-
return i.
|
|
2939
|
+
return i.f9x($this$flow, $completion);
|
|
2940
2940
|
};
|
|
2941
2941
|
l.$arity = 1;
|
|
2942
2942
|
return l;
|
|
@@ -3009,29 +3009,29 @@
|
|
|
3009
3009
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
3010
3010
|
}
|
|
3011
3011
|
function mapFromGroupKey(_this__u8e3s4, $this) {
|
|
3012
|
-
var tmp = $this.
|
|
3012
|
+
var tmp = $this.j9x_1.r6h();
|
|
3013
3013
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3014
|
-
var this_0 = _this__u8e3s4.
|
|
3014
|
+
var this_0 = _this__u8e3s4.o9x_1;
|
|
3015
3015
|
var tmp_0 = copyToArray(this_0);
|
|
3016
3016
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3017
|
-
var this_1 = _this__u8e3s4.
|
|
3017
|
+
var this_1 = _this__u8e3s4.p9x_1;
|
|
3018
3018
|
var tmp$ret$1 = copyToArray(this_1);
|
|
3019
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
3019
|
+
return new ActionDeliveryPayload(_this__u8e3s4.n9x_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.q9x_1);
|
|
3020
3020
|
}
|
|
3021
3021
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
3022
|
-
this.
|
|
3023
|
-
this.
|
|
3024
|
-
this.
|
|
3025
|
-
this.
|
|
3022
|
+
this.n9x_1 = tableId;
|
|
3023
|
+
this.o9x_1 = includePlayers;
|
|
3024
|
+
this.p9x_1 = excludePlayers;
|
|
3025
|
+
this.q9x_1 = deliveryType;
|
|
3026
3026
|
}
|
|
3027
3027
|
protoOf(GroupKey).toString = function () {
|
|
3028
|
-
return 'GroupKey(tableId=' + this.
|
|
3028
|
+
return 'GroupKey(tableId=' + this.n9x_1 + ', includePlayers=' + toString(this.o9x_1) + ', excludePlayers=' + toString(this.p9x_1) + ', deliveryType=' + this.q9x_1.toString() + ')';
|
|
3029
3029
|
};
|
|
3030
3030
|
protoOf(GroupKey).hashCode = function () {
|
|
3031
|
-
var result = getStringHashCode(this.
|
|
3032
|
-
result = imul(result, 31) + hashCode(this.
|
|
3033
|
-
result = imul(result, 31) + hashCode(this.
|
|
3034
|
-
result = imul(result, 31) + this.
|
|
3031
|
+
var result = getStringHashCode(this.n9x_1);
|
|
3032
|
+
result = imul(result, 31) + hashCode(this.o9x_1) | 0;
|
|
3033
|
+
result = imul(result, 31) + hashCode(this.p9x_1) | 0;
|
|
3034
|
+
result = imul(result, 31) + this.q9x_1.hashCode() | 0;
|
|
3035
3035
|
return result;
|
|
3036
3036
|
};
|
|
3037
3037
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -3040,35 +3040,35 @@
|
|
|
3040
3040
|
if (!(other instanceof GroupKey))
|
|
3041
3041
|
return false;
|
|
3042
3042
|
var tmp0_other_with_cast = other instanceof GroupKey ? other : THROW_CCE();
|
|
3043
|
-
if (!(this.
|
|
3043
|
+
if (!(this.n9x_1 === tmp0_other_with_cast.n9x_1))
|
|
3044
3044
|
return false;
|
|
3045
|
-
if (!equals(this.
|
|
3045
|
+
if (!equals(this.o9x_1, tmp0_other_with_cast.o9x_1))
|
|
3046
3046
|
return false;
|
|
3047
|
-
if (!equals(this.
|
|
3047
|
+
if (!equals(this.p9x_1, tmp0_other_with_cast.p9x_1))
|
|
3048
3048
|
return false;
|
|
3049
|
-
if (!this.
|
|
3049
|
+
if (!this.q9x_1.equals(tmp0_other_with_cast.q9x_1))
|
|
3050
3050
|
return false;
|
|
3051
3051
|
return true;
|
|
3052
3052
|
};
|
|
3053
3053
|
function Companion_1() {
|
|
3054
|
-
this.
|
|
3054
|
+
this.r9x_1 = 6;
|
|
3055
3055
|
}
|
|
3056
3056
|
var Companion_instance_9;
|
|
3057
3057
|
function Companion_getInstance_2() {
|
|
3058
3058
|
return Companion_instance_9;
|
|
3059
3059
|
}
|
|
3060
3060
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
3061
|
-
this.
|
|
3061
|
+
this.a9y_1 = this$0;
|
|
3062
3062
|
CoroutineImpl.call(this, resultContinuation);
|
|
3063
3063
|
}
|
|
3064
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3065
|
-
var tmp = this.
|
|
3064
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).c9y = function (actions, $completion) {
|
|
3065
|
+
var tmp = this.d9y(actions, $completion);
|
|
3066
3066
|
tmp.h9_1 = Unit_instance;
|
|
3067
3067
|
tmp.i9_1 = null;
|
|
3068
3068
|
return tmp.n9();
|
|
3069
3069
|
};
|
|
3070
3070
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).x9 = function (p1, $completion) {
|
|
3071
|
-
return this.
|
|
3071
|
+
return this.c9y((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
3072
3072
|
};
|
|
3073
3073
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).n9 = function () {
|
|
3074
3074
|
var suspendResult = this.h9_1;
|
|
@@ -3077,7 +3077,7 @@
|
|
|
3077
3077
|
var tmp = this.f9_1;
|
|
3078
3078
|
if (tmp === 0) {
|
|
3079
3079
|
this.g9_1 = 1;
|
|
3080
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
3080
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.a9y_1, this.b9y_1, null));
|
|
3081
3081
|
} else if (tmp === 1) {
|
|
3082
3082
|
throw this.i9_1;
|
|
3083
3083
|
}
|
|
@@ -3087,23 +3087,23 @@
|
|
|
3087
3087
|
}
|
|
3088
3088
|
while (true);
|
|
3089
3089
|
};
|
|
3090
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3091
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
3092
|
-
i.
|
|
3090
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).d9y = function (actions, completion) {
|
|
3091
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.a9y_1, completion);
|
|
3092
|
+
i.b9y_1 = actions;
|
|
3093
3093
|
return i;
|
|
3094
3094
|
};
|
|
3095
3095
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
3096
3096
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
3097
3097
|
var l = function (actions, $completion) {
|
|
3098
|
-
return i.
|
|
3098
|
+
return i.c9y(actions, $completion);
|
|
3099
3099
|
};
|
|
3100
3100
|
l.$arity = 1;
|
|
3101
3101
|
return l;
|
|
3102
3102
|
}
|
|
3103
3103
|
function $sentEventCOROUTINE$3(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
3104
3104
|
CoroutineImpl.call(this, resultContinuation);
|
|
3105
|
-
this.
|
|
3106
|
-
this.
|
|
3105
|
+
this.m9y_1 = _this__u8e3s4;
|
|
3106
|
+
this.n9y_1 = fromEvent;
|
|
3107
3107
|
}
|
|
3108
3108
|
protoOf($sentEventCOROUTINE$3).n9 = function () {
|
|
3109
3109
|
var suspendResult = this.h9_1;
|
|
@@ -3114,9 +3114,9 @@
|
|
|
3114
3114
|
case 0:
|
|
3115
3115
|
this.g9_1 = 2;
|
|
3116
3116
|
var tmp_0 = this;
|
|
3117
|
-
tmp_0.
|
|
3117
|
+
tmp_0.o9y_1 = this.m9y_1.l9x_1;
|
|
3118
3118
|
l$ret$1: do {
|
|
3119
|
-
var this_0 = this.
|
|
3119
|
+
var this_0 = this.m9y_1.k9x_1;
|
|
3120
3120
|
while (true) {
|
|
3121
3121
|
var cur = this_0.kotlinx$atomicfu$value;
|
|
3122
3122
|
var upd = cur + 1 | 0;
|
|
@@ -3127,7 +3127,7 @@
|
|
|
3127
3127
|
}
|
|
3128
3128
|
while (false);
|
|
3129
3129
|
this.f9_1 = 1;
|
|
3130
|
-
suspendResult = this.
|
|
3130
|
+
suspendResult = this.m9y_1.m9x_1.d18(this.n9y_1, this);
|
|
3131
3131
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3132
3132
|
return suspendResult;
|
|
3133
3133
|
}
|
|
@@ -3151,7 +3151,7 @@
|
|
|
3151
3151
|
};
|
|
3152
3152
|
function $waitForCOROUTINE$4(_this__u8e3s4, resultContinuation) {
|
|
3153
3153
|
CoroutineImpl.call(this, resultContinuation);
|
|
3154
|
-
this.
|
|
3154
|
+
this.x9y_1 = _this__u8e3s4;
|
|
3155
3155
|
}
|
|
3156
3156
|
protoOf($waitForCOROUTINE$4).n9 = function () {
|
|
3157
3157
|
var suspendResult = this.h9_1;
|
|
@@ -3162,12 +3162,12 @@
|
|
|
3162
3162
|
case 0:
|
|
3163
3163
|
this.g9_1 = 5;
|
|
3164
3164
|
var tmp_0 = this;
|
|
3165
|
-
tmp_0.
|
|
3166
|
-
this.
|
|
3165
|
+
tmp_0.y9y_1 = this.x9y_1.l9x_1;
|
|
3166
|
+
this.z9y_1 = 0;
|
|
3167
3167
|
this.f9_1 = 1;
|
|
3168
3168
|
continue $sm;
|
|
3169
3169
|
case 1:
|
|
3170
|
-
if (!!(this.
|
|
3170
|
+
if (!!(this.x9y_1.k9x_1.kotlinx$atomicfu$value === 0)) {
|
|
3171
3171
|
this.f9_1 = 4;
|
|
3172
3172
|
continue $sm;
|
|
3173
3173
|
}
|
|
@@ -3180,9 +3180,9 @@
|
|
|
3180
3180
|
|
|
3181
3181
|
continue $sm;
|
|
3182
3182
|
case 2:
|
|
3183
|
-
this.
|
|
3184
|
-
if (this.
|
|
3185
|
-
this.
|
|
3183
|
+
this.z9y_1 = this.z9y_1 + 1 | 0;
|
|
3184
|
+
if (this.z9y_1 > 6) {
|
|
3185
|
+
this.x9y_1.i9x_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.x9y_1.k9x_1.kotlinx$atomicfu$value);
|
|
3186
3186
|
this.f9_1 = 4;
|
|
3187
3187
|
continue $sm;
|
|
3188
3188
|
} else {
|
|
@@ -3210,42 +3210,42 @@
|
|
|
3210
3210
|
while (true);
|
|
3211
3211
|
};
|
|
3212
3212
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
3213
|
-
this.
|
|
3214
|
-
this.
|
|
3215
|
-
this.
|
|
3216
|
-
this.
|
|
3213
|
+
this.h9x_1 = serverReduxConfig;
|
|
3214
|
+
this.i9x_1 = logger;
|
|
3215
|
+
this.j9x_1 = idsProvider;
|
|
3216
|
+
this.k9x_1 = atomic$ref$1(0);
|
|
3217
3217
|
var tmp = this;
|
|
3218
3218
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
3219
|
-
tmp.
|
|
3220
|
-
this.
|
|
3219
|
+
tmp.l9x_1 = get_atomicfu$reentrantLock();
|
|
3220
|
+
this.m9x_1 = MutableSharedFlow();
|
|
3221
3221
|
}
|
|
3222
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3222
|
+
protoOf(ToClientEventsObserverImpl).o9w = function (fromEvent, $completion) {
|
|
3223
3223
|
var tmp = new $sentEventCOROUTINE$3(this, fromEvent, $completion);
|
|
3224
3224
|
tmp.h9_1 = Unit_instance;
|
|
3225
3225
|
tmp.i9_1 = null;
|
|
3226
3226
|
return tmp.n9();
|
|
3227
3227
|
};
|
|
3228
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3228
|
+
protoOf(ToClientEventsObserverImpl).u99 = function ($completion) {
|
|
3229
3229
|
var tmp = new $waitForCOROUTINE$4(this, $completion);
|
|
3230
3230
|
tmp.h9_1 = Unit_instance;
|
|
3231
3231
|
tmp.i9_1 = null;
|
|
3232
3232
|
return tmp.n9();
|
|
3233
3233
|
};
|
|
3234
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3235
|
-
if (!this.
|
|
3236
|
-
return this.
|
|
3234
|
+
protoOf(ToClientEventsObserverImpl).w9n = function () {
|
|
3235
|
+
if (!this.h9x_1.enabledCombinedEvents) {
|
|
3236
|
+
return this.m9x_1;
|
|
3237
3237
|
}
|
|
3238
|
-
var tmp = windowedByInterval(this.
|
|
3238
|
+
var tmp = windowedByInterval(this.m9x_1, toLong(this.h9x_1.combinedEventsPeriod));
|
|
3239
3239
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
3240
3240
|
};
|
|
3241
3241
|
function UpdateServerConfigAction(serverConfig) {
|
|
3242
|
-
this.
|
|
3242
|
+
this.a9z_1 = serverConfig;
|
|
3243
3243
|
}
|
|
3244
3244
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
3245
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
3245
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.a9z_1.toString() + ')';
|
|
3246
3246
|
};
|
|
3247
3247
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
3248
|
-
return this.
|
|
3248
|
+
return this.a9z_1.hashCode();
|
|
3249
3249
|
};
|
|
3250
3250
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
3251
3251
|
if (this === other)
|
|
@@ -3253,20 +3253,20 @@
|
|
|
3253
3253
|
if (!(other instanceof UpdateServerConfigAction))
|
|
3254
3254
|
return false;
|
|
3255
3255
|
var tmp0_other_with_cast = other instanceof UpdateServerConfigAction ? other : THROW_CCE();
|
|
3256
|
-
if (!this.
|
|
3256
|
+
if (!this.a9z_1.equals(tmp0_other_with_cast.a9z_1))
|
|
3257
3257
|
return false;
|
|
3258
3258
|
return true;
|
|
3259
3259
|
};
|
|
3260
3260
|
function SpectatorsAction() {
|
|
3261
3261
|
}
|
|
3262
3262
|
function AddSpectatorsAction(spectators) {
|
|
3263
|
-
this.
|
|
3263
|
+
this.b9z_1 = spectators;
|
|
3264
3264
|
}
|
|
3265
3265
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
3266
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
3266
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.b9z_1) + ')';
|
|
3267
3267
|
};
|
|
3268
3268
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
3269
|
-
return hashCode(this.
|
|
3269
|
+
return hashCode(this.b9z_1);
|
|
3270
3270
|
};
|
|
3271
3271
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
3272
3272
|
if (this === other)
|
|
@@ -3274,18 +3274,18 @@
|
|
|
3274
3274
|
if (!(other instanceof AddSpectatorsAction))
|
|
3275
3275
|
return false;
|
|
3276
3276
|
var tmp0_other_with_cast = other instanceof AddSpectatorsAction ? other : THROW_CCE();
|
|
3277
|
-
if (!equals(this.
|
|
3277
|
+
if (!equals(this.b9z_1, tmp0_other_with_cast.b9z_1))
|
|
3278
3278
|
return false;
|
|
3279
3279
|
return true;
|
|
3280
3280
|
};
|
|
3281
3281
|
function RemoveSpectatorsAction(spectators) {
|
|
3282
|
-
this.
|
|
3282
|
+
this.c9z_1 = spectators;
|
|
3283
3283
|
}
|
|
3284
3284
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
3285
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
3285
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.c9z_1) + ')';
|
|
3286
3286
|
};
|
|
3287
3287
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
3288
|
-
return hashCode(this.
|
|
3288
|
+
return hashCode(this.c9z_1);
|
|
3289
3289
|
};
|
|
3290
3290
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
3291
3291
|
if (this === other)
|
|
@@ -3293,91 +3293,91 @@
|
|
|
3293
3293
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
3294
3294
|
return false;
|
|
3295
3295
|
var tmp0_other_with_cast = other instanceof RemoveSpectatorsAction ? other : THROW_CCE();
|
|
3296
|
-
if (!equals(this.
|
|
3296
|
+
if (!equals(this.c9z_1, tmp0_other_with_cast.c9z_1))
|
|
3297
3297
|
return false;
|
|
3298
3298
|
return true;
|
|
3299
3299
|
};
|
|
3300
3300
|
function _get_asyncProvider__jbpyhw($this) {
|
|
3301
3301
|
// Inline function 'kotlin.getValue' call
|
|
3302
|
-
var this_0 = $this.
|
|
3302
|
+
var this_0 = $this.i9z_1;
|
|
3303
3303
|
asyncProvider$factory_0();
|
|
3304
3304
|
return this_0.u();
|
|
3305
3305
|
}
|
|
3306
3306
|
function _get_logger__rkp4sl_0($this) {
|
|
3307
3307
|
// Inline function 'kotlin.getValue' call
|
|
3308
|
-
var this_0 = $this.
|
|
3308
|
+
var this_0 = $this.j9z_1;
|
|
3309
3309
|
logger$factory_2();
|
|
3310
3310
|
return this_0.u();
|
|
3311
3311
|
}
|
|
3312
3312
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
3313
3313
|
// Inline function 'kotlin.getValue' call
|
|
3314
|
-
var this_0 = $this.
|
|
3314
|
+
var this_0 = $this.k9z_1;
|
|
3315
3315
|
playerConnectionInteractor$factory_2();
|
|
3316
3316
|
return this_0.u();
|
|
3317
3317
|
}
|
|
3318
3318
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
3319
3319
|
// Inline function 'kotlin.getValue' call
|
|
3320
|
-
var this_0 = $this.
|
|
3320
|
+
var this_0 = $this.l9z_1;
|
|
3321
3321
|
lastCardInteractor$factory_0();
|
|
3322
3322
|
return this_0.u();
|
|
3323
3323
|
}
|
|
3324
3324
|
function _get_serverConfig__rk2g06($this) {
|
|
3325
3325
|
// Inline function 'kotlin.getValue' call
|
|
3326
|
-
var this_0 = $this.
|
|
3326
|
+
var this_0 = $this.m9z_1;
|
|
3327
3327
|
serverConfig$factory_0();
|
|
3328
3328
|
return this_0.u();
|
|
3329
3329
|
}
|
|
3330
3330
|
function _get_logicConfig__52ww9d($this) {
|
|
3331
3331
|
// Inline function 'kotlin.getValue' call
|
|
3332
|
-
var this_0 = $this.
|
|
3332
|
+
var this_0 = $this.n9z_1;
|
|
3333
3333
|
logicConfig$factory_0();
|
|
3334
3334
|
return this_0.u();
|
|
3335
3335
|
}
|
|
3336
3336
|
function _get_idsProvider__fnfajc_0($this) {
|
|
3337
3337
|
// Inline function 'kotlin.getValue' call
|
|
3338
|
-
var this_0 = $this.
|
|
3338
|
+
var this_0 = $this.o9z_1;
|
|
3339
3339
|
idsProvider$factory_2();
|
|
3340
3340
|
return this_0.u();
|
|
3341
3341
|
}
|
|
3342
3342
|
function _get_botConfig__cpaxzc($this) {
|
|
3343
3343
|
// Inline function 'kotlin.getValue' call
|
|
3344
|
-
var this_0 = $this.
|
|
3344
|
+
var this_0 = $this.p9z_1;
|
|
3345
3345
|
botConfig$factory_0();
|
|
3346
3346
|
return this_0.u();
|
|
3347
3347
|
}
|
|
3348
3348
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
3349
3349
|
// Inline function 'kotlin.getValue' call
|
|
3350
|
-
var this_0 = $this.
|
|
3350
|
+
var this_0 = $this.q9z_1;
|
|
3351
3351
|
scenePositionProvider$factory_0();
|
|
3352
3352
|
return this_0.u();
|
|
3353
3353
|
}
|
|
3354
3354
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
3355
3355
|
// Inline function 'kotlin.getValue' call
|
|
3356
|
-
var this_0 = $this.
|
|
3356
|
+
var this_0 = $this.r9z_1;
|
|
3357
3357
|
toClientEventsObserver$factory_2();
|
|
3358
3358
|
return this_0.u();
|
|
3359
3359
|
}
|
|
3360
3360
|
function _get_fromClientEventsObserver__a7vzd3_0($this) {
|
|
3361
3361
|
// Inline function 'kotlin.getValue' call
|
|
3362
|
-
var this_0 = $this.
|
|
3362
|
+
var this_0 = $this.s9z_1;
|
|
3363
3363
|
fromClientEventsObserver$factory_2();
|
|
3364
3364
|
return this_0.u();
|
|
3365
3365
|
}
|
|
3366
3366
|
function _get_dealerConfig__183ci8($this) {
|
|
3367
3367
|
// Inline function 'kotlin.getValue' call
|
|
3368
|
-
var this_0 = $this.
|
|
3368
|
+
var this_0 = $this.t9z_1;
|
|
3369
3369
|
dealerConfig$factory_0();
|
|
3370
3370
|
return this_0.u();
|
|
3371
3371
|
}
|
|
3372
3372
|
function _get_poolProvider__tqti6a($this) {
|
|
3373
3373
|
// Inline function 'kotlin.getValue' call
|
|
3374
|
-
var this_0 = $this.
|
|
3374
|
+
var this_0 = $this.u9z_1;
|
|
3375
3375
|
poolProvider$factory_0();
|
|
3376
3376
|
return this_0.u();
|
|
3377
3377
|
}
|
|
3378
3378
|
function _get_cardsDealerProvider__bekjpg($this) {
|
|
3379
3379
|
// Inline function 'kotlin.getValue' call
|
|
3380
|
-
var this_0 = $this.
|
|
3380
|
+
var this_0 = $this.v9z_1;
|
|
3381
3381
|
cardsDealerProvider$factory_0();
|
|
3382
3382
|
return this_0.u();
|
|
3383
3383
|
}
|
|
@@ -3390,101 +3390,101 @@
|
|
|
3390
3390
|
botGameStoreContract = botGameStoreContract === VOID ? new BotGameStoreContract(di) : botGameStoreContract;
|
|
3391
3391
|
gameMechanicStoreContract = gameMechanicStoreContract === VOID ? new GameMechanicStoreContract(di, null, true) : gameMechanicStoreContract;
|
|
3392
3392
|
fileLoggerStoreContract = fileLoggerStoreContract === VOID ? new FileLoggerStoreContract(di) : fileLoggerStoreContract;
|
|
3393
|
-
this.
|
|
3394
|
-
this.
|
|
3395
|
-
this.
|
|
3396
|
-
this.
|
|
3397
|
-
this.
|
|
3393
|
+
this.d9z_1 = validationStoreContract;
|
|
3394
|
+
this.e9z_1 = timersStoreContract;
|
|
3395
|
+
this.f9z_1 = botGameStoreContract;
|
|
3396
|
+
this.g9z_1 = gameMechanicStoreContract;
|
|
3397
|
+
this.h9z_1 = fileLoggerStoreContract;
|
|
3398
3398
|
var tmp = this;
|
|
3399
3399
|
// Inline function 'org.kodein.di.instance' call
|
|
3400
3400
|
// Inline function 'org.kodein.type.generic' call
|
|
3401
3401
|
var tmp_0 = typeToken(createKType(getKClass(AsyncProvider), arrayOf([]), false));
|
|
3402
3402
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
3403
|
-
tmp.
|
|
3403
|
+
tmp.i9z_1 = Instance(di, tmp$ret$0, null).l63(this, asyncProvider$factory());
|
|
3404
3404
|
var tmp_1 = this;
|
|
3405
3405
|
// Inline function 'org.kodein.di.instance' call
|
|
3406
3406
|
// Inline function 'org.kodein.type.generic' call
|
|
3407
3407
|
var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
|
|
3408
3408
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
3409
|
-
tmp_1.
|
|
3409
|
+
tmp_1.j9z_1 = Instance(di, tmp$ret$2, null).l63(this, logger$factory_1());
|
|
3410
3410
|
var tmp_3 = this;
|
|
3411
3411
|
// Inline function 'org.kodein.di.instance' call
|
|
3412
3412
|
// Inline function 'org.kodein.type.generic' call
|
|
3413
3413
|
var tmp_4 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
|
|
3414
3414
|
var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
3415
|
-
tmp_3.
|
|
3415
|
+
tmp_3.k9z_1 = Instance(di, tmp$ret$4, null).l63(this, playerConnectionInteractor$factory_1());
|
|
3416
3416
|
var tmp_5 = this;
|
|
3417
3417
|
// Inline function 'org.kodein.di.instance' call
|
|
3418
3418
|
// Inline function 'org.kodein.type.generic' call
|
|
3419
3419
|
var tmp_6 = typeToken(createKType(getKClass(LastCardInteractor), arrayOf([]), false));
|
|
3420
3420
|
var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
3421
|
-
tmp_5.
|
|
3421
|
+
tmp_5.l9z_1 = Instance(di, tmp$ret$6, null).l63(this, lastCardInteractor$factory());
|
|
3422
3422
|
var tmp_7 = this;
|
|
3423
3423
|
// Inline function 'org.kodein.di.instance' call
|
|
3424
3424
|
// Inline function 'org.kodein.type.generic' call
|
|
3425
3425
|
var tmp_8 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
|
|
3426
3426
|
var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
3427
|
-
tmp_7.
|
|
3427
|
+
tmp_7.m9z_1 = Instance(di, tmp$ret$8, null).l63(this, serverConfig$factory());
|
|
3428
3428
|
var tmp_9 = this;
|
|
3429
3429
|
// Inline function 'org.kodein.di.instance' call
|
|
3430
3430
|
// Inline function 'org.kodein.type.generic' call
|
|
3431
3431
|
var tmp_10 = typeToken(createKType(getKClass(EngineLogicConfig), arrayOf([]), false));
|
|
3432
3432
|
var tmp$ret$10 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
3433
|
-
tmp_9.
|
|
3433
|
+
tmp_9.n9z_1 = Instance(di, tmp$ret$10, null).l63(this, logicConfig$factory());
|
|
3434
3434
|
var tmp_11 = this;
|
|
3435
3435
|
// Inline function 'org.kodein.di.instance' call
|
|
3436
3436
|
// Inline function 'org.kodein.type.generic' call
|
|
3437
3437
|
var tmp_12 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
|
|
3438
3438
|
var tmp$ret$12 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
3439
|
-
tmp_11.
|
|
3439
|
+
tmp_11.o9z_1 = Instance(di, tmp$ret$12, null).l63(this, idsProvider$factory_1());
|
|
3440
3440
|
var tmp_13 = this;
|
|
3441
3441
|
// Inline function 'org.kodein.di.instance' call
|
|
3442
3442
|
// Inline function 'org.kodein.type.generic' call
|
|
3443
3443
|
var tmp_14 = typeToken(createKType(getKClass(EngineBotConfig), arrayOf([]), false));
|
|
3444
3444
|
var tmp$ret$14 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
3445
|
-
tmp_13.
|
|
3445
|
+
tmp_13.p9z_1 = Instance(di, tmp$ret$14, null).l63(this, botConfig$factory());
|
|
3446
3446
|
var tmp_15 = this;
|
|
3447
3447
|
// Inline function 'org.kodein.di.instance' call
|
|
3448
3448
|
// Inline function 'org.kodein.type.generic' call
|
|
3449
3449
|
var tmp_16 = typeToken(createKType(getKClass(ScenePositionProvider), arrayOf([]), false));
|
|
3450
3450
|
var tmp$ret$16 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
3451
|
-
tmp_15.
|
|
3451
|
+
tmp_15.q9z_1 = Instance(di, tmp$ret$16, null).l63(this, scenePositionProvider$factory());
|
|
3452
3452
|
var tmp_17 = this;
|
|
3453
3453
|
// Inline function 'org.kodein.di.instance' call
|
|
3454
3454
|
// Inline function 'org.kodein.type.generic' call
|
|
3455
3455
|
var tmp_18 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
|
|
3456
3456
|
var tmp$ret$18 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
3457
|
-
tmp_17.
|
|
3457
|
+
tmp_17.r9z_1 = Instance(di, tmp$ret$18, null).l63(this, toClientEventsObserver$factory_1());
|
|
3458
3458
|
var tmp_19 = this;
|
|
3459
3459
|
// Inline function 'org.kodein.di.instance' call
|
|
3460
3460
|
// Inline function 'org.kodein.type.generic' call
|
|
3461
3461
|
var tmp_20 = typeToken(createKType(getKClass(FromClientEventsObserver), arrayOf([]), false));
|
|
3462
3462
|
var tmp$ret$20 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
3463
|
-
tmp_19.
|
|
3463
|
+
tmp_19.s9z_1 = Instance(di, tmp$ret$20, null).l63(this, fromClientEventsObserver$factory_1());
|
|
3464
3464
|
var tmp_21 = this;
|
|
3465
3465
|
// Inline function 'org.kodein.di.instance' call
|
|
3466
3466
|
// Inline function 'org.kodein.type.generic' call
|
|
3467
3467
|
var tmp_22 = typeToken(createKType(getKClass(DealerConfig), arrayOf([]), false));
|
|
3468
3468
|
var tmp$ret$22 = isInterface(tmp_22, TypeToken) ? tmp_22 : THROW_CCE();
|
|
3469
|
-
tmp_21.
|
|
3469
|
+
tmp_21.t9z_1 = Instance(di, tmp$ret$22, null).l63(this, dealerConfig$factory());
|
|
3470
3470
|
var tmp_23 = this;
|
|
3471
3471
|
// Inline function 'org.kodein.di.instance' call
|
|
3472
3472
|
// Inline function 'org.kodein.type.generic' call
|
|
3473
3473
|
var tmp_24 = typeToken(createKType(getKClass(RandomPoolProvider), arrayOf([]), false));
|
|
3474
3474
|
var tmp$ret$24 = isInterface(tmp_24, TypeToken) ? tmp_24 : THROW_CCE();
|
|
3475
|
-
tmp_23.
|
|
3475
|
+
tmp_23.u9z_1 = Instance(di, tmp$ret$24, null).l63(this, poolProvider$factory());
|
|
3476
3476
|
var tmp_25 = this;
|
|
3477
3477
|
// Inline function 'org.kodein.di.instance' call
|
|
3478
3478
|
// Inline function 'org.kodein.type.generic' call
|
|
3479
3479
|
var tmp_26 = typeToken(createKType(getKClass(CardsDealerProvider), arrayOf([]), false));
|
|
3480
3480
|
var tmp$ret$26 = isInterface(tmp_26, TypeToken) ? tmp_26 : THROW_CCE();
|
|
3481
|
-
tmp_25.
|
|
3481
|
+
tmp_25.v9z_1 = Instance(di, tmp$ret$26, null).l63(this, cardsDealerProvider$factory());
|
|
3482
3482
|
}
|
|
3483
|
-
protoOf(ServerGameStoreContract).
|
|
3484
|
-
return plus(plus(plus(plus(plus(this.
|
|
3483
|
+
protoOf(ServerGameStoreContract).q91 = function () {
|
|
3484
|
+
return plus(plus(plus(plus(plus(this.d9z_1.q91(), this.e9z_1.q91()), this.f9z_1.q91()), this.g9z_1.q91()), this.h9z_1.q91()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl_0(this))]));
|
|
3485
3485
|
};
|
|
3486
|
-
protoOf(ServerGameStoreContract).
|
|
3487
|
-
var tmp = plus(plus(plus(plus(plus(plus(plus(this.
|
|
3486
|
+
protoOf(ServerGameStoreContract).r91 = function () {
|
|
3487
|
+
var tmp = plus(plus(plus(plus(plus(plus(plus(this.d9z_1.r91(), listOfNotNull(_get_serverConfig__rk2g06(this).finishGameIfAllBots ? checkBotsMiddleware(_get_logger__rkp4sl_0(this)) : null)), this.e9z_1.r91()), this.f9z_1.r91()), this.g9z_1.r91()), this.h9z_1.r91()), 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))).k93(), finishingGameWhenCantStartNewMiddleware()]));
|
|
3488
3488
|
var tmp_0 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this));
|
|
3489
3489
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
3490
3490
|
var tmp1_logger = _get_logger__rkp4sl_0(this);
|
|
@@ -3659,7 +3659,7 @@
|
|
|
3659
3659
|
var action_0 = action instanceof RoundEndedAction ? action : THROW_CCE();
|
|
3660
3660
|
next(action_0);
|
|
3661
3661
|
var state = store.state;
|
|
3662
|
-
if (!get_serverStatePayload_0(state).
|
|
3662
|
+
if (!get_serverStatePayload_0(state).p9v_1.r9v_1 && action_0.isGameFinished) {
|
|
3663
3663
|
store.dispatch(Companion_instance.withAnalytics(new GameFinishedReason(Reason_DEPLOY_getInstance()), true, state.j6q_1));
|
|
3664
3664
|
}
|
|
3665
3665
|
};
|
|
@@ -3667,7 +3667,7 @@
|
|
|
3667
3667
|
return this.f6l(store, next, action);
|
|
3668
3668
|
};
|
|
3669
3669
|
function _no_name_provided__qut3iv_3(this$0) {
|
|
3670
|
-
this.
|
|
3670
|
+
this.y9z_1 = this$0;
|
|
3671
3671
|
}
|
|
3672
3672
|
protoOf(_no_name_provided__qut3iv_3).o6j = function (action) {
|
|
3673
3673
|
return action instanceof MechanicAction;
|
|
@@ -3681,11 +3681,11 @@
|
|
|
3681
3681
|
var tmp;
|
|
3682
3682
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
3683
3683
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3684
|
-
var this_0 = this.
|
|
3685
|
-
var tableId = action_0.
|
|
3686
|
-
var gameCreatorPlayerId = action_0.
|
|
3684
|
+
var this_0 = this.y9z_1;
|
|
3685
|
+
var tableId = action_0.d8y_1;
|
|
3686
|
+
var gameCreatorPlayerId = action_0.f8y_1;
|
|
3687
3687
|
// Inline function 'kotlin.collections.map' call
|
|
3688
|
-
var this_1 = action_0.
|
|
3688
|
+
var this_1 = action_0.g8y_1;
|
|
3689
3689
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3690
3690
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
3691
3691
|
var tmp0_iterator = this_1.j();
|
|
@@ -3726,7 +3726,7 @@
|
|
|
3726
3726
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3727
3727
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3728
3728
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3729
|
-
var tmp0_aid = this_0.
|
|
3729
|
+
var tmp0_aid = this_0.x9z_1.r6h();
|
|
3730
3730
|
// Inline function 'kotlin.collections.map' call
|
|
3731
3731
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3732
3732
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -3751,17 +3751,17 @@
|
|
|
3751
3751
|
} else {
|
|
3752
3752
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
3753
3753
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3754
|
-
var this_2 = this.
|
|
3754
|
+
var this_2 = this.y9z_1;
|
|
3755
3755
|
var table = state.l6r();
|
|
3756
3756
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3757
|
-
var sendToPlayer_0 = new RoomActionPayload(this_2.
|
|
3757
|
+
var sendToPlayer_0 = new RoomActionPayload(this_2.x9z_1.r6h(), table.id, null);
|
|
3758
3758
|
var tmp$ret$18 = mapToClient_16(action_0, sendToPlayer_0);
|
|
3759
3759
|
tmp = listOfNotNull(tmp$ret$18);
|
|
3760
3760
|
} else {
|
|
3761
3761
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
3762
3762
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3763
|
-
var this_3 = this.
|
|
3764
|
-
var tableId_0 = action_0.
|
|
3763
|
+
var this_3 = this.y9z_1;
|
|
3764
|
+
var tableId_0 = action_0.j8y_1.id;
|
|
3765
3765
|
var gameCreatorPlayerId_0 = action_0.gameCreatorPlayerId;
|
|
3766
3766
|
// Inline function 'kotlin.collections.map' call
|
|
3767
3767
|
var this_4 = action_0.users;
|
|
@@ -3805,7 +3805,7 @@
|
|
|
3805
3805
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3806
3806
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3807
3807
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3808
|
-
var tmp0_aid_0 = this_3.
|
|
3808
|
+
var tmp0_aid_0 = this_3.x9z_1.r6h();
|
|
3809
3809
|
// Inline function 'kotlin.collections.map' call
|
|
3810
3810
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3811
3811
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -3830,43 +3830,43 @@
|
|
|
3830
3830
|
} else {
|
|
3831
3831
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
3832
3832
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3833
|
-
var this_5 = this.
|
|
3833
|
+
var this_5 = this.y9z_1;
|
|
3834
3834
|
var table_0 = state.l6r();
|
|
3835
3835
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3836
|
-
var sendToPlayer_2 = new RoomActionPayload(this_5.
|
|
3836
|
+
var sendToPlayer_2 = new RoomActionPayload(this_5.x9z_1.r6h(), table_0.id, null);
|
|
3837
3837
|
var tmp$ret$38 = mapToClient_14(action_0, sendToPlayer_2);
|
|
3838
3838
|
tmp = listOfNotNull(tmp$ret$38);
|
|
3839
3839
|
} else {
|
|
3840
3840
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
3841
3841
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3842
|
-
var this_6 = this.
|
|
3842
|
+
var this_6 = this.y9z_1;
|
|
3843
3843
|
var table_1 = state.l6r();
|
|
3844
3844
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3845
|
-
var sendToPlayer_3 = new RoomActionPayload(this_6.
|
|
3845
|
+
var sendToPlayer_3 = new RoomActionPayload(this_6.x9z_1.r6h(), table_1.id, null);
|
|
3846
3846
|
var tmp$ret$40 = mapToClient_13(action_0, sendToPlayer_3);
|
|
3847
3847
|
tmp = listOfNotNull(tmp$ret$40);
|
|
3848
3848
|
} else {
|
|
3849
3849
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
3850
3850
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3851
|
-
var this_7 = this.
|
|
3851
|
+
var this_7 = this.y9z_1;
|
|
3852
3852
|
var table_2 = state.l6r();
|
|
3853
3853
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3854
|
-
var sendToPlayer_4 = new RoomActionPayload(this_7.
|
|
3854
|
+
var sendToPlayer_4 = new RoomActionPayload(this_7.x9z_1.r6h(), table_2.id, null);
|
|
3855
3855
|
var tmp$ret$42 = mapToClient_12(action_0, sendToPlayer_4);
|
|
3856
3856
|
tmp = listOfNotNull(tmp$ret$42);
|
|
3857
3857
|
} else {
|
|
3858
3858
|
if (action_0 instanceof ErrorAction) {
|
|
3859
3859
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
3860
|
-
var this_8 = this.
|
|
3860
|
+
var this_8 = this.y9z_1;
|
|
3861
3861
|
var table_3 = state.l6r();
|
|
3862
3862
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3863
|
-
var sendToPlayer_5 = new RoomActionPayload(this_8.
|
|
3863
|
+
var sendToPlayer_5 = new RoomActionPayload(this_8.x9z_1.r6h(), table_3.id, null);
|
|
3864
3864
|
var tmp$ret$44 = mapToClient_11(action_0, sendToPlayer_5);
|
|
3865
3865
|
tmp = listOfNotNull(tmp$ret$44);
|
|
3866
3866
|
} else {
|
|
3867
3867
|
if (action_0 instanceof SceneMechanicAction) {
|
|
3868
3868
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
3869
|
-
var this_9 = this.
|
|
3869
|
+
var this_9 = this.y9z_1;
|
|
3870
3870
|
var table_4 = state.l6r();
|
|
3871
3871
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3872
3872
|
var tableId_1 = table_4.id;
|
|
@@ -3903,7 +3903,7 @@
|
|
|
3903
3903
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3904
3904
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3905
3905
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3906
|
-
var tmp0_aid_1 = this_9.
|
|
3906
|
+
var tmp0_aid_1 = this_9.x9z_1.r6h();
|
|
3907
3907
|
// Inline function 'kotlin.collections.map' call
|
|
3908
3908
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3909
3909
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
|
|
@@ -3928,7 +3928,7 @@
|
|
|
3928
3928
|
} else {
|
|
3929
3929
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
3930
3930
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
3931
|
-
var this_10 = this.
|
|
3931
|
+
var this_10 = this.y9z_1;
|
|
3932
3932
|
var table_5 = state.l6r();
|
|
3933
3933
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3934
3934
|
var tableId_2 = table_5.id;
|
|
@@ -3965,7 +3965,7 @@
|
|
|
3965
3965
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
3966
3966
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
3967
3967
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
3968
|
-
var tmp0_aid_2 = this_10.
|
|
3968
|
+
var tmp0_aid_2 = this_10.x9z_1.r6h();
|
|
3969
3969
|
// Inline function 'kotlin.collections.map' call
|
|
3970
3970
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3971
3971
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
|
|
@@ -3990,7 +3990,7 @@
|
|
|
3990
3990
|
} else {
|
|
3991
3991
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
3992
3992
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
3993
|
-
var this_11 = this.
|
|
3993
|
+
var this_11 = this.y9z_1;
|
|
3994
3994
|
var table_6 = state.l6r();
|
|
3995
3995
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
|
|
3996
3996
|
var tableId_3 = table_6.id;
|
|
@@ -4027,7 +4027,7 @@
|
|
|
4027
4027
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
4028
4028
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
|
|
4029
4029
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4030
|
-
var tmp0_aid_3 = this_11.
|
|
4030
|
+
var tmp0_aid_3 = this_11.x9z_1.r6h();
|
|
4031
4031
|
// Inline function 'kotlin.collections.map' call
|
|
4032
4032
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4033
4033
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
|
|
@@ -4040,7 +4040,7 @@
|
|
|
4040
4040
|
}
|
|
4041
4041
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tableId_3, gameCreatorPlayerId_3, element_8, destination_20);
|
|
4042
4042
|
var tmp_0;
|
|
4043
|
-
if (this.w9z_1.
|
|
4043
|
+
if (this.y9z_1.w9z_1.supportBackwardActions && getPlayer(state.l6r().players, sendToPlayer_8.g7e_1).i6x_1.m6x_1) {
|
|
4044
4044
|
tmp_0 = null;
|
|
4045
4045
|
} else {
|
|
4046
4046
|
tmp_0 = mapToClient_8(action_0, sendToPlayer_8);
|
|
@@ -4058,79 +4058,79 @@
|
|
|
4058
4058
|
} else {
|
|
4059
4059
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
4060
4060
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4061
|
-
var this_12 = this.
|
|
4061
|
+
var this_12 = this.y9z_1;
|
|
4062
4062
|
var table_7 = state.l6r();
|
|
4063
|
-
var exceptPlayerId = this.w9z_1.
|
|
4063
|
+
var exceptPlayerId = this.y9z_1.w9z_1.supportBackwardActions ? action_0.d8z_1 : null;
|
|
4064
4064
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4065
|
-
var sendToPlayer_9 = new RoomActionPayload(this_12.
|
|
4065
|
+
var sendToPlayer_9 = new RoomActionPayload(this_12.x9z_1.r6h(), table_7.id, exceptPlayerId);
|
|
4066
4066
|
var tmp$ret$94 = mapToClient_7(action_0, sendToPlayer_9);
|
|
4067
4067
|
tmp = listOfNotNull(tmp$ret$94);
|
|
4068
4068
|
} else {
|
|
4069
4069
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
4070
4070
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4071
|
-
var this_13 = this.
|
|
4071
|
+
var this_13 = this.y9z_1;
|
|
4072
4072
|
var table_8 = state.l6r();
|
|
4073
|
-
var exceptPlayerId_0 = this.w9z_1.
|
|
4073
|
+
var exceptPlayerId_0 = this.y9z_1.w9z_1.supportBackwardActions ? action_0.z8t_1 : null;
|
|
4074
4074
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4075
|
-
var sendToPlayer_10 = new RoomActionPayload(this_13.
|
|
4075
|
+
var sendToPlayer_10 = new RoomActionPayload(this_13.x9z_1.r6h(), table_8.id, exceptPlayerId_0);
|
|
4076
4076
|
var tmp$ret$96 = mapToClient_6(action_0, sendToPlayer_10);
|
|
4077
4077
|
tmp = listOfNotNull(tmp$ret$96);
|
|
4078
4078
|
} else {
|
|
4079
4079
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
4080
4080
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4081
|
-
var this_14 = this.
|
|
4081
|
+
var this_14 = this.y9z_1;
|
|
4082
4082
|
var table_9 = state.l6r();
|
|
4083
4083
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4084
|
-
var sendToPlayer_11 = new RoomActionPayload(this_14.
|
|
4084
|
+
var sendToPlayer_11 = new RoomActionPayload(this_14.x9z_1.r6h(), table_9.id, null);
|
|
4085
4085
|
var tmp$ret$98 = mapToClient_5(action_0, sendToPlayer_11);
|
|
4086
4086
|
tmp = listOfNotNull(tmp$ret$98);
|
|
4087
4087
|
} else {
|
|
4088
4088
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
4089
4089
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4090
|
-
var this_15 = this.
|
|
4090
|
+
var this_15 = this.y9z_1;
|
|
4091
4091
|
var table_10 = state.l6r();
|
|
4092
|
-
var exceptPlayerId_1 = this.w9z_1.
|
|
4092
|
+
var exceptPlayerId_1 = this.y9z_1.w9z_1.supportBackwardActions ? action_0.j8z_1 : null;
|
|
4093
4093
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4094
|
-
var sendToPlayer_12 = new RoomActionPayload(this_15.
|
|
4094
|
+
var sendToPlayer_12 = new RoomActionPayload(this_15.x9z_1.r6h(), table_10.id, exceptPlayerId_1);
|
|
4095
4095
|
var tmp$ret$100 = mapToClient_4(action_0, sendToPlayer_12);
|
|
4096
4096
|
tmp = listOfNotNull(tmp$ret$100);
|
|
4097
4097
|
} else {
|
|
4098
4098
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
4099
4099
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4100
|
-
var this_16 = this.
|
|
4100
|
+
var this_16 = this.y9z_1;
|
|
4101
4101
|
var table_11 = state.l6r();
|
|
4102
|
-
var exceptPlayerId_2 = this.w9z_1.
|
|
4102
|
+
var exceptPlayerId_2 = this.y9z_1.w9z_1.supportBackwardActions ? action_0.e8u_1 : null;
|
|
4103
4103
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4104
|
-
var sendToPlayer_13 = new RoomActionPayload(this_16.
|
|
4104
|
+
var sendToPlayer_13 = new RoomActionPayload(this_16.x9z_1.r6h(), table_11.id, exceptPlayerId_2);
|
|
4105
4105
|
var tmp$ret$102 = mapToClient_3(action_0, sendToPlayer_13);
|
|
4106
4106
|
tmp = listOfNotNull(tmp$ret$102);
|
|
4107
4107
|
} else {
|
|
4108
4108
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
4109
4109
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4110
|
-
var this_17 = this.
|
|
4110
|
+
var this_17 = this.y9z_1;
|
|
4111
4111
|
var table_12 = state.l6r();
|
|
4112
4112
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4113
|
-
var sendToPlayer_14 = new RoomActionPayload(this_17.
|
|
4113
|
+
var sendToPlayer_14 = new RoomActionPayload(this_17.x9z_1.r6h(), table_12.id, null);
|
|
4114
4114
|
var tmp$ret$104 = mapToClient_2(action_0, sendToPlayer_14);
|
|
4115
4115
|
tmp = listOfNotNull(tmp$ret$104);
|
|
4116
4116
|
} else {
|
|
4117
4117
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
4118
4118
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4119
|
-
var this_18 = this.
|
|
4119
|
+
var this_18 = this.y9z_1;
|
|
4120
4120
|
var table_13 = state.l6r();
|
|
4121
4121
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4122
|
-
var sendToPlayer_15 = new RoomActionPayload(this_18.
|
|
4122
|
+
var sendToPlayer_15 = new RoomActionPayload(this_18.x9z_1.r6h(), table_13.id, null);
|
|
4123
4123
|
var tmp$ret$106 = mapToClient_1(action_0, sendToPlayer_15);
|
|
4124
4124
|
tmp = listOfNotNull(tmp$ret$106);
|
|
4125
4125
|
} else {
|
|
4126
4126
|
if (action_0 instanceof MessageMechanicAction) {
|
|
4127
|
-
var message = action_0.
|
|
4127
|
+
var message = action_0.n8z_1;
|
|
4128
4128
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4129
|
-
var this_19 = this.
|
|
4129
|
+
var this_19 = this.y9z_1;
|
|
4130
4130
|
var table_14 = state.l6r();
|
|
4131
4131
|
var tmp_1;
|
|
4132
4132
|
var tmp_2;
|
|
4133
|
-
if (this.w9z_1.
|
|
4133
|
+
if (this.y9z_1.w9z_1.supportBackwardActions) {
|
|
4134
4134
|
tmp_2 = isInterface(message, UserMessage);
|
|
4135
4135
|
} else {
|
|
4136
4136
|
tmp_2 = false;
|
|
@@ -4142,17 +4142,17 @@
|
|
|
4142
4142
|
}
|
|
4143
4143
|
var exceptPlayerId_3 = tmp_1;
|
|
4144
4144
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4145
|
-
var sendToPlayer_16 = new RoomActionPayload(this_19.
|
|
4145
|
+
var sendToPlayer_16 = new RoomActionPayload(this_19.x9z_1.r6h(), table_14.id, exceptPlayerId_3);
|
|
4146
4146
|
var tmp$ret$108 = mapToClient_0(action_0, sendToPlayer_16);
|
|
4147
4147
|
tmp = listOfNotNull(tmp$ret$108);
|
|
4148
4148
|
} else {
|
|
4149
4149
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
4150
4150
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4151
|
-
var this_20 = this.
|
|
4151
|
+
var this_20 = this.y9z_1;
|
|
4152
4152
|
var table_15 = state.l6r();
|
|
4153
4153
|
var exceptPlayerId_4 = action_0.playerId;
|
|
4154
4154
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
4155
|
-
var sendToPlayer_17 = new RoomActionPayload(this_20.
|
|
4155
|
+
var sendToPlayer_17 = new RoomActionPayload(this_20.x9z_1.r6h(), table_15.id, exceptPlayerId_4);
|
|
4156
4156
|
var tmp$ret$110 = mapToClient(action_0, sendToPlayer_17);
|
|
4157
4157
|
tmp = listOfNotNull(tmp$ret$110);
|
|
4158
4158
|
} else {
|
|
@@ -4190,10 +4190,10 @@
|
|
|
4190
4190
|
return this.f6l(store, next, action);
|
|
4191
4191
|
};
|
|
4192
4192
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
4193
|
-
this.
|
|
4194
|
-
this.
|
|
4193
|
+
this.w9z_1 = logicConfig;
|
|
4194
|
+
this.x9z_1 = idsProvider;
|
|
4195
4195
|
}
|
|
4196
|
-
protoOf(ServerMapMechanicToClientActionMiddleware).
|
|
4196
|
+
protoOf(ServerMapMechanicToClientActionMiddleware).k93 = function () {
|
|
4197
4197
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
4198
4198
|
return new _no_name_provided__qut3iv_3(this);
|
|
4199
4199
|
};
|
|
@@ -4202,8 +4202,8 @@
|
|
|
4202
4202
|
return new _no_name_provided__qut3iv_4(asyncProvider, provider);
|
|
4203
4203
|
}
|
|
4204
4204
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
4205
|
-
this.
|
|
4206
|
-
this.
|
|
4205
|
+
this.ha0_1 = $provider;
|
|
4206
|
+
this.ia0_1 = $action;
|
|
4207
4207
|
CoroutineImpl.call(this, resultContinuation);
|
|
4208
4208
|
}
|
|
4209
4209
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).y1d = function ($this$launchDefault, $completion) {
|
|
@@ -4224,7 +4224,7 @@
|
|
|
4224
4224
|
case 0:
|
|
4225
4225
|
this.g9_1 = 2;
|
|
4226
4226
|
this.f9_1 = 1;
|
|
4227
|
-
suspendResult = this.
|
|
4227
|
+
suspendResult = this.ha0_1.o9w(this.ia0_1, this);
|
|
4228
4228
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4229
4229
|
return suspendResult;
|
|
4230
4230
|
}
|
|
@@ -4247,8 +4247,8 @@
|
|
|
4247
4247
|
while (true);
|
|
4248
4248
|
};
|
|
4249
4249
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).z1d = function ($this$launchDefault, completion) {
|
|
4250
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
4251
|
-
i.
|
|
4250
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.ha0_1, this.ia0_1, completion);
|
|
4251
|
+
i.ja0_1 = $this$launchDefault;
|
|
4252
4252
|
return i;
|
|
4253
4253
|
};
|
|
4254
4254
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -4260,8 +4260,8 @@
|
|
|
4260
4260
|
return l;
|
|
4261
4261
|
}
|
|
4262
4262
|
function _no_name_provided__qut3iv_4($asyncProvider, $provider) {
|
|
4263
|
-
this.
|
|
4264
|
-
this.
|
|
4263
|
+
this.ka0_1 = $asyncProvider;
|
|
4264
|
+
this.la0_1 = $provider;
|
|
4265
4265
|
}
|
|
4266
4266
|
protoOf(_no_name_provided__qut3iv_4).o6j = function (action) {
|
|
4267
4267
|
return action instanceof ToClientAction;
|
|
@@ -4269,7 +4269,7 @@
|
|
|
4269
4269
|
protoOf(_no_name_provided__qut3iv_4).f6l = function (store, next, action) {
|
|
4270
4270
|
// Inline function 'games.jass.logic.server.redux.middlewares.events.sendToClientActionMiddleware.<anonymous>' call
|
|
4271
4271
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
4272
|
-
this.
|
|
4272
|
+
this.ka0_1.o6g(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.la0_1, action_0, null));
|
|
4273
4273
|
next(action_0);
|
|
4274
4274
|
};
|
|
4275
4275
|
protoOf(_no_name_provided__qut3iv_4).n6j = function (store, next, action) {
|
|
@@ -4284,13 +4284,13 @@
|
|
|
4284
4284
|
protoOf(_no_name_provided__qut3iv_5).o6j = function (action) {
|
|
4285
4285
|
return action instanceof UpdateServerConfigAction;
|
|
4286
4286
|
};
|
|
4287
|
-
protoOf(_no_name_provided__qut3iv_5).
|
|
4287
|
+
protoOf(_no_name_provided__qut3iv_5).m9b = function (state, action) {
|
|
4288
4288
|
// Inline function 'games.jass.logic.server.redux.reducers.serverConfigReducer.<anonymous>' call
|
|
4289
4289
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
4290
|
-
return state.
|
|
4290
|
+
return state.e8x(VOID, get_serverStatePayload_0(state).ma0(action_0.a9z_1));
|
|
4291
4291
|
};
|
|
4292
4292
|
protoOf(_no_name_provided__qut3iv_5).g6l = function (state, action) {
|
|
4293
|
-
return this.
|
|
4293
|
+
return this.m9b((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
4294
4294
|
};
|
|
4295
4295
|
function ServerMechanicLifecycleReducer$onStart$lambda($action) {
|
|
4296
4296
|
return function (it) {
|
|
@@ -4303,7 +4303,7 @@
|
|
|
4303
4303
|
var tmp_2 = PlayerConnectionState_LIVE_getInstance();
|
|
4304
4304
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
4305
4305
|
Companion_getInstance();
|
|
4306
|
-
var this_0 = $action.
|
|
4306
|
+
var this_0 = $action.c8y_1.timeoutTimeMillis;
|
|
4307
4307
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
4308
4308
|
tmp_0 = tmp_1.u6b(tmp_2, tmp$ret$0);
|
|
4309
4309
|
}
|
|
@@ -4312,57 +4312,57 @@
|
|
|
4312
4312
|
}
|
|
4313
4313
|
function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
|
|
4314
4314
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
4315
|
-
this.
|
|
4315
|
+
this.pa0_1 = logger;
|
|
4316
4316
|
}
|
|
4317
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
4317
|
+
protoOf(ServerMechanicLifecycleReducer).y9c = function (state, action) {
|
|
4318
4318
|
var serverState = get_serverStatePayloadOrNull(state.k6q_1);
|
|
4319
4319
|
var tmp8_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
4320
|
-
var tmp0_$this = this.
|
|
4321
|
-
var tmp1_tableId = action.
|
|
4322
|
-
var tmp2_gameId = action.
|
|
4323
|
-
var tmp3_version = action.
|
|
4324
|
-
var tmp4_config = action.
|
|
4325
|
-
var tmp5_users = action.
|
|
4320
|
+
var tmp0_$this = this.z9c_1;
|
|
4321
|
+
var tmp1_tableId = action.d8y_1;
|
|
4322
|
+
var tmp2_gameId = action.d8y_1;
|
|
4323
|
+
var tmp3_version = action.e8y_1;
|
|
4324
|
+
var tmp4_config = action.c8y_1;
|
|
4325
|
+
var tmp5_users = action.g8y_1;
|
|
4326
4326
|
var tmp6_spectators = action.spectators;
|
|
4327
|
-
var tmp7_gameCreatorPlayerId = action.
|
|
4328
|
-
var tmp9_tableOrNull = tmp0_$this.
|
|
4327
|
+
var tmp7_gameCreatorPlayerId = action.f8y_1;
|
|
4328
|
+
var tmp9_tableOrNull = tmp0_$this.e9e(tmp1_tableId, tmp2_gameId, tmp4_config, tmp3_version, tmp5_users, tmp6_spectators, tmp7_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
|
|
4329
4329
|
var tmp;
|
|
4330
4330
|
if (serverState == null) {
|
|
4331
|
-
this.
|
|
4332
|
-
tmp = Companion_instance_10.
|
|
4331
|
+
this.pa0_1.w(VOID, 'ServerPayload is not onStart');
|
|
4332
|
+
tmp = Companion_instance_10.g9w();
|
|
4333
4333
|
} else {
|
|
4334
4334
|
tmp = serverState;
|
|
4335
4335
|
}
|
|
4336
4336
|
var tmp10_payload = tmp;
|
|
4337
|
-
return state.
|
|
4337
|
+
return state.e8x(tmp9_tableOrNull, tmp10_payload, tmp8_gameLifecycleState);
|
|
4338
4338
|
};
|
|
4339
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
4339
|
+
protoOf(ServerMechanicLifecycleReducer).w9c = function (state, action) {
|
|
4340
4340
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
4341
|
-
var tmp2_tableOrNull = action.
|
|
4341
|
+
var tmp2_tableOrNull = action.j8y_1;
|
|
4342
4342
|
var tmp = Companion_instance_10;
|
|
4343
|
-
var tmp_0 = get_serverStatePayload_0(state).
|
|
4344
|
-
var tmp_1 = action.
|
|
4343
|
+
var tmp_0 = get_serverStatePayload_0(state).p9v_1;
|
|
4344
|
+
var tmp_1 = action.k8y_1;
|
|
4345
4345
|
var tmp0_safe_receiver = tmp_1 instanceof RestartRoundReason ? tmp_1 : null;
|
|
4346
|
-
var tmp3_payload = tmp.
|
|
4347
|
-
return state.
|
|
4346
|
+
var tmp3_payload = tmp.qa0(tmp_0.s9v(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l69_1));
|
|
4347
|
+
return state.e8x(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
|
|
4348
4348
|
};
|
|
4349
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
4350
|
-
this.
|
|
4349
|
+
protoOf(ServerMechanicLifecycleReducer).x9c = function (state, action) {
|
|
4350
|
+
this.a9d_1.v5q(action.previousGameId);
|
|
4351
4351
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
4352
|
-
var tmp1_tableOrNull = this.
|
|
4353
|
-
return state.
|
|
4352
|
+
var tmp1_tableOrNull = this.z9c_1.f9e(state.l6r(), action.gameId);
|
|
4353
|
+
return state.e8x(tmp1_tableOrNull, VOID, tmp0_gameLifecycleState);
|
|
4354
4354
|
};
|
|
4355
4355
|
function spectatorsReducer(logger) {
|
|
4356
4356
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
4357
4357
|
return new _no_name_provided__qut3iv_6(logger);
|
|
4358
4358
|
}
|
|
4359
4359
|
function _no_name_provided__qut3iv_6($logger) {
|
|
4360
|
-
this.
|
|
4360
|
+
this.ra0_1 = $logger;
|
|
4361
4361
|
}
|
|
4362
4362
|
protoOf(_no_name_provided__qut3iv_6).o6j = function (action) {
|
|
4363
4363
|
return isInterface(action, SpectatorsAction);
|
|
4364
4364
|
};
|
|
4365
|
-
protoOf(_no_name_provided__qut3iv_6).
|
|
4365
|
+
protoOf(_no_name_provided__qut3iv_6).m9b = function (state, action) {
|
|
4366
4366
|
// Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>' call
|
|
4367
4367
|
var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
|
|
4368
4368
|
var table = state.l6r();
|
|
@@ -4370,7 +4370,7 @@
|
|
|
4370
4370
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
4371
4371
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
4372
4372
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
4373
|
-
var this_0 = action_0.
|
|
4373
|
+
var this_0 = action_0.b9z_1;
|
|
4374
4374
|
var destination = ArrayList_init_$Create$_0();
|
|
4375
4375
|
// Inline function 'kotlin.collections.forEach' call
|
|
4376
4376
|
var tmp0_iterator = this_0.j();
|
|
@@ -4392,10 +4392,10 @@
|
|
|
4392
4392
|
var tmp_0;
|
|
4393
4393
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
4394
4394
|
if (!sameSpectators.p()) {
|
|
4395
|
-
this.
|
|
4395
|
+
this.ra0_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
4396
4396
|
// Inline function 'kotlin.collections.filterNot' call
|
|
4397
4397
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
4398
|
-
var this_1 = action_0.
|
|
4398
|
+
var this_1 = action_0.b9z_1;
|
|
4399
4399
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
4400
4400
|
var tmp0_iterator_0 = this_1.j();
|
|
4401
4401
|
while (tmp0_iterator_0.k()) {
|
|
@@ -4431,7 +4431,7 @@
|
|
|
4431
4431
|
}
|
|
4432
4432
|
tmp_0 = destination_0;
|
|
4433
4433
|
} else {
|
|
4434
|
-
tmp_0 = action_0.
|
|
4434
|
+
tmp_0 = action_0.b9z_1;
|
|
4435
4435
|
}
|
|
4436
4436
|
var this_2 = tmp_0;
|
|
4437
4437
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -4444,12 +4444,12 @@
|
|
|
4444
4444
|
destination_1.e(tmp$ret$10);
|
|
4445
4445
|
}
|
|
4446
4446
|
var spectatorsToAdd = toSet(destination_1);
|
|
4447
|
-
tmp = state.
|
|
4447
|
+
tmp = state.e8x(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
|
|
4448
4448
|
} else {
|
|
4449
4449
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
4450
4450
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
4451
4451
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
4452
|
-
var this_3 = action_0.
|
|
4452
|
+
var this_3 = action_0.c9z_1;
|
|
4453
4453
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
4454
4454
|
// Inline function 'kotlin.collections.forEach' call
|
|
4455
4455
|
var tmp0_iterator_3 = this_3.j();
|
|
@@ -4470,10 +4470,10 @@
|
|
|
4470
4470
|
var tmp_2;
|
|
4471
4471
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
4472
4472
|
if (!sameSpectators_0.p()) {
|
|
4473
|
-
this.
|
|
4473
|
+
this.ra0_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
4474
4474
|
// Inline function 'kotlin.collections.filterNot' call
|
|
4475
4475
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
4476
|
-
var this_4 = action_0.
|
|
4476
|
+
var this_4 = action_0.c9z_1;
|
|
4477
4477
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
4478
4478
|
var tmp0_iterator_4 = this_4.j();
|
|
4479
4479
|
while (tmp0_iterator_4.k()) {
|
|
@@ -4509,7 +4509,7 @@
|
|
|
4509
4509
|
}
|
|
4510
4510
|
tmp_2 = destination_3;
|
|
4511
4511
|
} else {
|
|
4512
|
-
tmp_2 = action_0.
|
|
4512
|
+
tmp_2 = action_0.c9z_1;
|
|
4513
4513
|
}
|
|
4514
4514
|
var spectatorsToRemove = toSet(tmp_2);
|
|
4515
4515
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -4548,7 +4548,7 @@
|
|
|
4548
4548
|
destination_4.e(element_5);
|
|
4549
4549
|
}
|
|
4550
4550
|
}
|
|
4551
|
-
tmp = state.
|
|
4551
|
+
tmp = state.e8x(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
|
|
4552
4552
|
} else {
|
|
4553
4553
|
noWhenBranchMatchedException();
|
|
4554
4554
|
}
|
|
@@ -4556,32 +4556,32 @@
|
|
|
4556
4556
|
return tmp;
|
|
4557
4557
|
};
|
|
4558
4558
|
protoOf(_no_name_provided__qut3iv_6).g6l = function (state, action) {
|
|
4559
|
-
return this.
|
|
4559
|
+
return this.m9b((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
4560
4560
|
};
|
|
4561
4561
|
function Companion_2() {
|
|
4562
4562
|
}
|
|
4563
|
-
protoOf(Companion_2).
|
|
4563
|
+
protoOf(Companion_2).qa0 = function (config) {
|
|
4564
4564
|
return new ServerStatePayload(config);
|
|
4565
4565
|
};
|
|
4566
|
-
protoOf(Companion_2).
|
|
4567
|
-
config = config === VOID ? Companion_instance_8.
|
|
4568
|
-
return $super === VOID ? this.
|
|
4566
|
+
protoOf(Companion_2).g9w = function (config, $super) {
|
|
4567
|
+
config = config === VOID ? Companion_instance_8.k9w(null) : config;
|
|
4568
|
+
return $super === VOID ? this.qa0(config) : $super.qa0.call(this, config);
|
|
4569
4569
|
};
|
|
4570
4570
|
var Companion_instance_10;
|
|
4571
4571
|
function Companion_getInstance_3() {
|
|
4572
4572
|
return Companion_instance_10;
|
|
4573
4573
|
}
|
|
4574
4574
|
function ServerStatePayload(config) {
|
|
4575
|
-
this.
|
|
4575
|
+
this.p9v_1 = config;
|
|
4576
4576
|
}
|
|
4577
|
-
protoOf(ServerStatePayload).
|
|
4577
|
+
protoOf(ServerStatePayload).ma0 = function (config) {
|
|
4578
4578
|
return new ServerStatePayload(config);
|
|
4579
4579
|
};
|
|
4580
4580
|
protoOf(ServerStatePayload).toString = function () {
|
|
4581
|
-
return 'ServerStatePayload(config=' + this.
|
|
4581
|
+
return 'ServerStatePayload(config=' + this.p9v_1.toString() + ')';
|
|
4582
4582
|
};
|
|
4583
4583
|
protoOf(ServerStatePayload).hashCode = function () {
|
|
4584
|
-
return this.
|
|
4584
|
+
return this.p9v_1.hashCode();
|
|
4585
4585
|
};
|
|
4586
4586
|
protoOf(ServerStatePayload).equals = function (other) {
|
|
4587
4587
|
if (this === other)
|
|
@@ -4589,7 +4589,7 @@
|
|
|
4589
4589
|
if (!(other instanceof ServerStatePayload))
|
|
4590
4590
|
return false;
|
|
4591
4591
|
var tmp0_other_with_cast = other instanceof ServerStatePayload ? other : THROW_CCE();
|
|
4592
|
-
if (!this.
|
|
4592
|
+
if (!this.p9v_1.equals(tmp0_other_with_cast.p9v_1))
|
|
4593
4593
|
return false;
|
|
4594
4594
|
return true;
|
|
4595
4595
|
};
|
|
@@ -4627,13 +4627,13 @@
|
|
|
4627
4627
|
}
|
|
4628
4628
|
function _get_logger__rkp4sl_1($this) {
|
|
4629
4629
|
// Inline function 'kotlin.getValue' call
|
|
4630
|
-
var this_0 = $this.
|
|
4630
|
+
var this_0 = $this.aa1_1;
|
|
4631
4631
|
logger$factory_3();
|
|
4632
4632
|
return this_0.u();
|
|
4633
4633
|
}
|
|
4634
4634
|
function _get_di__ndbzja($this) {
|
|
4635
4635
|
// Inline function 'kotlin.getValue' call
|
|
4636
|
-
var this_0 = $this.
|
|
4636
|
+
var this_0 = $this.ba1_1;
|
|
4637
4637
|
di$factory();
|
|
4638
4638
|
return this_0.u();
|
|
4639
4639
|
}
|
|
@@ -4644,13 +4644,13 @@
|
|
|
4644
4644
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
4645
4645
|
return function () {
|
|
4646
4646
|
var tmp;
|
|
4647
|
-
if (this$0.
|
|
4647
|
+
if (this$0.ya0_1 == null) {
|
|
4648
4648
|
tmp = null;
|
|
4649
4649
|
} else {
|
|
4650
4650
|
// Inline function 'kotlin.let' call
|
|
4651
4651
|
// Inline function 'kotlin.contracts.contract' call
|
|
4652
4652
|
// Inline function 'GameServerEngineControllerImpl.logger$delegate.<anonymous>.<anonymous>' call
|
|
4653
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
4653
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.ya0_1)]));
|
|
4654
4654
|
}
|
|
4655
4655
|
var tmp1_elvis_lhs = tmp;
|
|
4656
4656
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -4678,7 +4678,7 @@
|
|
|
4678
4678
|
tmp_0.o61(tmp$ret$3);
|
|
4679
4679
|
$this$DI.s5x(jsonModule());
|
|
4680
4680
|
$this$DI.s5x(serverHelpersModule());
|
|
4681
|
-
$this$DI.s5x(randomOrgModule(this$0.
|
|
4681
|
+
$this$DI.s5x(randomOrgModule(this$0.za0_1));
|
|
4682
4682
|
return Unit_instance;
|
|
4683
4683
|
};
|
|
4684
4684
|
}
|
|
@@ -4689,16 +4689,16 @@
|
|
|
4689
4689
|
};
|
|
4690
4690
|
}
|
|
4691
4691
|
function _no_name_provided__qut3iv_7($item) {
|
|
4692
|
-
this.
|
|
4692
|
+
this.ha1_1 = $item;
|
|
4693
4693
|
}
|
|
4694
4694
|
protoOf(_no_name_provided__qut3iv_7).o6j = function (action) {
|
|
4695
4695
|
return isInterface(action, Action);
|
|
4696
4696
|
};
|
|
4697
|
-
protoOf(_no_name_provided__qut3iv_7).
|
|
4698
|
-
return this.
|
|
4697
|
+
protoOf(_no_name_provided__qut3iv_7).m9b = function (state, action) {
|
|
4698
|
+
return this.ha1_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
4699
4699
|
};
|
|
4700
4700
|
protoOf(_no_name_provided__qut3iv_7).g6l = function (state, action) {
|
|
4701
|
-
return this.
|
|
4701
|
+
return this.m9b((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
4702
4702
|
};
|
|
4703
4703
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($fileLoggerOutput) {
|
|
4704
4704
|
return function ($this$singleton) {
|
|
@@ -4755,7 +4755,7 @@
|
|
|
4755
4755
|
}
|
|
4756
4756
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0($gameServer) {
|
|
4757
4757
|
return function (it) {
|
|
4758
|
-
var tmp0_elvis_lhs = Companion_instance_4.
|
|
4758
|
+
var tmp0_elvis_lhs = Companion_instance_4.h9g(it);
|
|
4759
4759
|
var tmp;
|
|
4760
4760
|
if (tmp0_elvis_lhs == null) {
|
|
4761
4761
|
var tmp1_safe_receiver = $gameServer.d6b().j6q_1;
|
|
@@ -4768,7 +4768,7 @@
|
|
|
4768
4768
|
}
|
|
4769
4769
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1($gameServer) {
|
|
4770
4770
|
return function (it) {
|
|
4771
|
-
var tmp0_elvis_lhs = Companion_instance_5.
|
|
4771
|
+
var tmp0_elvis_lhs = Companion_instance_5.s9e(it);
|
|
4772
4772
|
var tmp;
|
|
4773
4773
|
if (tmp0_elvis_lhs == null) {
|
|
4774
4774
|
var tmp1_safe_receiver = $gameServer.d6b().j6q_1;
|
|
@@ -4790,7 +4790,7 @@
|
|
|
4790
4790
|
// Inline function 'kotlin.contracts.contract' call
|
|
4791
4791
|
$this$DI.s5x(tmp0_safe_receiver);
|
|
4792
4792
|
}
|
|
4793
|
-
$this$DI.s5x(dealerModule(this$0.randomPoolProvider, this$0.
|
|
4793
|
+
$this$DI.s5x(dealerModule(this$0.randomPoolProvider, this$0.za0_1));
|
|
4794
4794
|
$this$DI.s5x(coreModule($coreConfig));
|
|
4795
4795
|
$this$DI.s5x(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $externalReducers, $externalMiddlewares));
|
|
4796
4796
|
return Unit_instance;
|
|
@@ -4799,76 +4799,76 @@
|
|
|
4799
4799
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
4800
4800
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
4801
4801
|
production = production === VOID ? true : production;
|
|
4802
|
-
this.
|
|
4803
|
-
this.
|
|
4802
|
+
this.ya0_1 = loggerCallback;
|
|
4803
|
+
this.za0_1 = randomOrgConfig;
|
|
4804
4804
|
AppEnvironment_getInstance().r6p(production ? AppEnvironmentValue_PRODUCTION_getInstance() : AppEnvironmentValue_DEVELOPMENT_getInstance());
|
|
4805
4805
|
var tmp = this;
|
|
4806
|
-
tmp.
|
|
4806
|
+
tmp.aa1_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
4807
4807
|
var tmp_0 = this;
|
|
4808
|
-
tmp_0.
|
|
4808
|
+
tmp_0.ba1_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
4809
4809
|
var tmp_1 = this;
|
|
4810
4810
|
// Inline function 'org.kodein.di.instance' call
|
|
4811
4811
|
var this_0 = _get_di__ndbzja(this);
|
|
4812
4812
|
// Inline function 'org.kodein.type.generic' call
|
|
4813
4813
|
var tmp_2 = typeToken(createKType(getKClass(ParserHelper), arrayOf([]), false));
|
|
4814
4814
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
4815
|
-
tmp_1.
|
|
4815
|
+
tmp_1.ca1_1 = Instance(this_0, tmp$ret$0, null).l63(this, parser$factory());
|
|
4816
4816
|
var tmp_3 = this;
|
|
4817
4817
|
// Inline function 'org.kodein.di.instance' call
|
|
4818
4818
|
var this_1 = _get_di__ndbzja(this);
|
|
4819
4819
|
// Inline function 'org.kodein.type.generic' call
|
|
4820
4820
|
var tmp_4 = typeToken(createKType(getKClass(GameHelper), arrayOf([]), false));
|
|
4821
4821
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
4822
|
-
tmp_3.
|
|
4822
|
+
tmp_3.da1_1 = Instance(this_1, tmp$ret$2, null).l63(this, helper$factory());
|
|
4823
4823
|
var tmp_5 = this;
|
|
4824
4824
|
// Inline function 'org.kodein.di.instance' call
|
|
4825
4825
|
var this_2 = _get_di__ndbzja(this);
|
|
4826
4826
|
// Inline function 'org.kodein.type.generic' call
|
|
4827
4827
|
var tmp_6 = typeToken(createKType(getKClass(GameResources), arrayOf([]), false));
|
|
4828
4828
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
4829
|
-
tmp_5.
|
|
4829
|
+
tmp_5.ea1_1 = Instance(this_2, tmp$ret$4, null).l63(this, resources$factory());
|
|
4830
4830
|
var tmp_7 = this;
|
|
4831
4831
|
// Inline function 'org.kodein.di.instance' call
|
|
4832
4832
|
var this_3 = _get_di__ndbzja(this);
|
|
4833
4833
|
// Inline function 'org.kodein.type.generic' call
|
|
4834
4834
|
var tmp_8 = typeToken(createKType(getKClass(TestHelper), arrayOf([]), false));
|
|
4835
4835
|
var tmp$ret$6 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
4836
|
-
tmp_7.
|
|
4836
|
+
tmp_7.fa1_1 = Instance(this_3, tmp$ret$6, null).l63(this, test$factory());
|
|
4837
4837
|
var tmp_9 = this;
|
|
4838
4838
|
// Inline function 'org.kodein.di.instance' call
|
|
4839
4839
|
var this_4 = _get_di__ndbzja(this);
|
|
4840
4840
|
// Inline function 'org.kodein.type.generic' call
|
|
4841
4841
|
var tmp_10 = typeToken(createKType(getKClass(RandomPoolProvider), arrayOf([]), false));
|
|
4842
4842
|
var tmp$ret$8 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
4843
|
-
tmp_9.
|
|
4843
|
+
tmp_9.ga1_1 = Instance(this_4, tmp$ret$8, null).l63(this, randomPoolProvider$factory());
|
|
4844
4844
|
}
|
|
4845
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4845
|
+
protoOf(GameServerEngineControllerImpl).sa0 = function () {
|
|
4846
4846
|
// Inline function 'kotlin.getValue' call
|
|
4847
|
-
var this_0 = this.
|
|
4847
|
+
var this_0 = this.ca1_1;
|
|
4848
4848
|
parser$factory_0();
|
|
4849
4849
|
return this_0.u();
|
|
4850
4850
|
};
|
|
4851
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4851
|
+
protoOf(GameServerEngineControllerImpl).ua0 = function () {
|
|
4852
4852
|
// Inline function 'kotlin.getValue' call
|
|
4853
|
-
var this_0 = this.
|
|
4853
|
+
var this_0 = this.da1_1;
|
|
4854
4854
|
helper$factory_0();
|
|
4855
4855
|
return this_0.u();
|
|
4856
4856
|
};
|
|
4857
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4857
|
+
protoOf(GameServerEngineControllerImpl).va0 = function () {
|
|
4858
4858
|
// Inline function 'kotlin.getValue' call
|
|
4859
|
-
var this_0 = this.
|
|
4859
|
+
var this_0 = this.ea1_1;
|
|
4860
4860
|
resources$factory_0();
|
|
4861
4861
|
return this_0.u();
|
|
4862
4862
|
};
|
|
4863
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4863
|
+
protoOf(GameServerEngineControllerImpl).ta0 = function () {
|
|
4864
4864
|
// Inline function 'kotlin.getValue' call
|
|
4865
|
-
var this_0 = this.
|
|
4865
|
+
var this_0 = this.fa1_1;
|
|
4866
4866
|
test$factory_0();
|
|
4867
4867
|
return this_0.u();
|
|
4868
4868
|
};
|
|
4869
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4869
|
+
protoOf(GameServerEngineControllerImpl).wa0 = function () {
|
|
4870
4870
|
// Inline function 'kotlin.getValue' call
|
|
4871
|
-
var this_0 = this.
|
|
4871
|
+
var this_0 = this.ga1_1;
|
|
4872
4872
|
randomPoolProvider$factory_0();
|
|
4873
4873
|
return this_0.u();
|
|
4874
4874
|
};
|
|
@@ -4878,7 +4878,7 @@
|
|
|
4878
4878
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
4879
4879
|
return this.createGameEngineWithLogic();
|
|
4880
4880
|
};
|
|
4881
|
-
protoOf(GameServerEngineControllerImpl).
|
|
4881
|
+
protoOf(GameServerEngineControllerImpl).xa0 = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig) {
|
|
4882
4882
|
var combinedLogger = Companion_instance_6.rm();
|
|
4883
4883
|
var tmp;
|
|
4884
4884
|
if (coreConfig.fileLogsEnabled) {
|
|
@@ -4888,8 +4888,8 @@
|
|
|
4888
4888
|
}
|
|
4889
4889
|
var fileLoggerOutput = tmp;
|
|
4890
4890
|
var tmp_0;
|
|
4891
|
-
if (!(this.
|
|
4892
|
-
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.
|
|
4891
|
+
if (!(this.ya0_1 == null)) {
|
|
4892
|
+
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.ya0_1));
|
|
4893
4893
|
} else {
|
|
4894
4894
|
tmp_0 = null;
|
|
4895
4895
|
}
|
|
@@ -4932,12 +4932,12 @@
|
|
|
4932
4932
|
var gameServer = tmp_1.c5z(tmp$ret$7, null);
|
|
4933
4933
|
if (!(fileLoggerOutput == null)) {
|
|
4934
4934
|
var tmp_3 = fileLoggerOutput;
|
|
4935
|
-
tmp_3.
|
|
4935
|
+
tmp_3.w9f_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0(gameServer);
|
|
4936
4936
|
combinedLogger.tm(fileLoggerOutput);
|
|
4937
4937
|
}
|
|
4938
4938
|
if (!(callbackWrapperLoggerOutput == null)) {
|
|
4939
4939
|
var tmp_4 = callbackWrapperLoggerOutput;
|
|
4940
|
-
tmp_4.
|
|
4940
|
+
tmp_4.u9e_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1(gameServer);
|
|
4941
4941
|
combinedLogger.tm(callbackWrapperLoggerOutput);
|
|
4942
4942
|
}
|
|
4943
4943
|
return gameServer;
|
|
@@ -5006,13 +5006,13 @@
|
|
|
5006
5006
|
}
|
|
5007
5007
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
5008
5008
|
// Inline function 'kotlin.getValue' call
|
|
5009
|
-
var this_0 = $this.
|
|
5009
|
+
var this_0 = $this.ka1_1;
|
|
5010
5010
|
playerAnswerInteractor$factory_0();
|
|
5011
5011
|
return this_0.u();
|
|
5012
5012
|
}
|
|
5013
5013
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
5014
5014
|
return function ($this$singleton) {
|
|
5015
|
-
return this$0.
|
|
5015
|
+
return this$0.ia1_1;
|
|
5016
5016
|
};
|
|
5017
5017
|
}
|
|
5018
5018
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -5041,20 +5041,20 @@
|
|
|
5041
5041
|
return emptyMap();
|
|
5042
5042
|
}
|
|
5043
5043
|
function TestHelperImpl(logger) {
|
|
5044
|
-
this.
|
|
5044
|
+
this.ia1_1 = logger;
|
|
5045
5045
|
var tmp = this;
|
|
5046
5046
|
var tmp_0 = Companion_instance_3;
|
|
5047
|
-
tmp.
|
|
5047
|
+
tmp.ja1_1 = tmp_0.z5x(VOID, TestHelperImpl$di$lambda(this));
|
|
5048
5048
|
var tmp_1 = this;
|
|
5049
5049
|
// Inline function 'org.kodein.di.instance' call
|
|
5050
|
-
var this_0 = this.
|
|
5050
|
+
var this_0 = this.ja1_1;
|
|
5051
5051
|
// Inline function 'org.kodein.type.generic' call
|
|
5052
5052
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
5053
5053
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5054
|
-
tmp_1.
|
|
5054
|
+
tmp_1.ka1_1 = Instance(this_0, tmp$ret$0, null).l63(this, playerAnswerInteractor$factory());
|
|
5055
5055
|
}
|
|
5056
5056
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
5057
|
-
return _get_playerAnswerInteractor__msggz1(this).
|
|
5057
|
+
return _get_playerAnswerInteractor__msggz1(this).d8n(playerId, table, botConfig);
|
|
5058
5058
|
};
|
|
5059
5059
|
protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
|
|
5060
5060
|
var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
|
|
@@ -5062,7 +5062,7 @@
|
|
|
5062
5062
|
var tmp$ret$0;
|
|
5063
5063
|
$l$block_0: {
|
|
5064
5064
|
// Inline function 'kotlin.collections.any' call
|
|
5065
|
-
var this_0 = mechanicAction.
|
|
5065
|
+
var this_0 = mechanicAction.w90();
|
|
5066
5066
|
var tmp;
|
|
5067
5067
|
if (isInterface(this_0, Collection)) {
|
|
5068
5068
|
tmp = this_0.p();
|
|
@@ -5095,7 +5095,7 @@
|
|
|
5095
5095
|
var tmp$ret$0;
|
|
5096
5096
|
$l$block_0: {
|
|
5097
5097
|
// Inline function 'kotlin.collections.any' call
|
|
5098
|
-
var this_0 = action.
|
|
5098
|
+
var this_0 = action.w90();
|
|
5099
5099
|
var tmp;
|
|
5100
5100
|
if (isInterface(this_0, Collection)) {
|
|
5101
5101
|
tmp = this_0.p();
|
|
@@ -5198,19 +5198,19 @@
|
|
|
5198
5198
|
});
|
|
5199
5199
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
5200
5200
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
5201
|
-
return this.
|
|
5201
|
+
return this.sa0();
|
|
5202
5202
|
});
|
|
5203
5203
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
5204
|
-
return this.
|
|
5204
|
+
return this.ua0();
|
|
5205
5205
|
});
|
|
5206
5206
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
5207
|
-
return this.
|
|
5207
|
+
return this.va0();
|
|
5208
5208
|
});
|
|
5209
5209
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
5210
|
-
return this.
|
|
5210
|
+
return this.ta0();
|
|
5211
5211
|
});
|
|
5212
5212
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
5213
|
-
return this.
|
|
5213
|
+
return this.wa0();
|
|
5214
5214
|
});
|
|
5215
5215
|
//endregion
|
|
5216
5216
|
//region block: init
|