raspberry_games_server_game_logic 1.8.367 → 1.8.369
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/Logic_Debertz-core.js +1 -1
- package/Logic_Debertz-engine.js +687 -640
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.js +682 -682
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlinx-coroutines-core.js +8 -8
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -358,10 +358,10 @@
|
|
|
358
358
|
spectators = tmp;
|
|
359
359
|
var tmp_0;
|
|
360
360
|
if ($super === VOID) {
|
|
361
|
-
this.
|
|
361
|
+
this.u9t(roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
362
362
|
tmp_0 = Unit_instance;
|
|
363
363
|
} else {
|
|
364
|
-
tmp_0 = $super.
|
|
364
|
+
tmp_0 = $super.u9t.call(this, roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
365
365
|
}
|
|
366
366
|
return tmp_0;
|
|
367
367
|
}
|
|
@@ -369,10 +369,10 @@
|
|
|
369
369
|
newRid = newRid === VOID ? null : newRid;
|
|
370
370
|
var tmp;
|
|
371
371
|
if ($super === VOID) {
|
|
372
|
-
this.
|
|
372
|
+
this.v9t(newRid);
|
|
373
373
|
tmp = Unit_instance;
|
|
374
374
|
} else {
|
|
375
|
-
tmp = $super.
|
|
375
|
+
tmp = $super.v9t.call(this, newRid);
|
|
376
376
|
}
|
|
377
377
|
return tmp;
|
|
378
378
|
}
|
|
@@ -380,10 +380,10 @@
|
|
|
380
380
|
roomId = roomId === VOID ? null : roomId;
|
|
381
381
|
var tmp;
|
|
382
382
|
if ($super === VOID) {
|
|
383
|
-
this.
|
|
383
|
+
this.w9t(reason, roomId);
|
|
384
384
|
tmp = Unit_instance;
|
|
385
385
|
} else {
|
|
386
|
-
tmp = $super.
|
|
386
|
+
tmp = $super.w9t.call(this, reason, roomId);
|
|
387
387
|
}
|
|
388
388
|
return tmp;
|
|
389
389
|
}
|
|
@@ -448,7 +448,7 @@
|
|
|
448
448
|
dealerConfig = dealerConfig === VOID ? new DealerConfig() : dealerConfig;
|
|
449
449
|
ratingConfig = ratingConfig === VOID ? new RatingConfig() : ratingConfig;
|
|
450
450
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
451
|
-
return $super === VOID ? this.
|
|
451
|
+
return $super === VOID ? this.k9y(reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig) : $super.k9y.call(this, reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig);
|
|
452
452
|
}
|
|
453
453
|
initMetadataForInterface(GameEngineController, 'GameEngineController');
|
|
454
454
|
initMetadataForClass(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1, VOID, VOID, VOID, [Reducer]);
|
|
@@ -459,17 +459,17 @@
|
|
|
459
459
|
initMetadataForClass(TestHelperImpl, 'TestHelperImpl', VOID, VOID, [TestHelper]);
|
|
460
460
|
//endregion
|
|
461
461
|
function GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation) {
|
|
462
|
-
this.
|
|
462
|
+
this.o9d_1 = $subscriber;
|
|
463
463
|
CoroutineImpl.call(this, resultContinuation);
|
|
464
464
|
}
|
|
465
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
466
|
-
var tmp = this.
|
|
465
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).q9d = function (it, $completion) {
|
|
466
|
+
var tmp = this.r9d(it, $completion);
|
|
467
467
|
tmp.t8_1 = Unit_instance;
|
|
468
468
|
tmp.u8_1 = null;
|
|
469
469
|
return tmp.z8();
|
|
470
470
|
};
|
|
471
471
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).h9 = function (p1, $completion) {
|
|
472
|
-
return this.
|
|
472
|
+
return this.q9d(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
|
|
473
473
|
};
|
|
474
474
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).z8 = function () {
|
|
475
475
|
var suspendResult = this.t8_1;
|
|
@@ -478,7 +478,7 @@
|
|
|
478
478
|
var tmp = this.r8_1;
|
|
479
479
|
if (tmp === 0) {
|
|
480
480
|
this.s8_1 = 1;
|
|
481
|
-
this.
|
|
481
|
+
this.o9d_1(this.p9d_1);
|
|
482
482
|
return Unit_instance;
|
|
483
483
|
} else if (tmp === 1) {
|
|
484
484
|
throw this.u8_1;
|
|
@@ -489,31 +489,31 @@
|
|
|
489
489
|
}
|
|
490
490
|
while (true);
|
|
491
491
|
};
|
|
492
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
493
|
-
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.
|
|
494
|
-
i.
|
|
492
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).r9d = function (it, completion) {
|
|
493
|
+
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.o9d_1, completion);
|
|
494
|
+
i.p9d_1 = it;
|
|
495
495
|
return i;
|
|
496
496
|
};
|
|
497
497
|
function GameServer$subscribeToClientAction$slambda$slambda_0($subscriber, resultContinuation) {
|
|
498
498
|
var i = new GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation);
|
|
499
499
|
var l = function (it, $completion) {
|
|
500
|
-
return i.
|
|
500
|
+
return i.q9d(it, $completion);
|
|
501
501
|
};
|
|
502
502
|
l.$arity = 1;
|
|
503
503
|
return l;
|
|
504
504
|
}
|
|
505
505
|
function GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation) {
|
|
506
|
-
this.
|
|
506
|
+
this.a9e_1 = $subscriber;
|
|
507
507
|
CoroutineImpl.call(this, resultContinuation);
|
|
508
508
|
}
|
|
509
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
510
|
-
var tmp = this.
|
|
509
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).c9e = function (it, $completion) {
|
|
510
|
+
var tmp = this.d9e(it, $completion);
|
|
511
511
|
tmp.t8_1 = Unit_instance;
|
|
512
512
|
tmp.u8_1 = null;
|
|
513
513
|
return tmp.z8();
|
|
514
514
|
};
|
|
515
515
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).h9 = function (p1, $completion) {
|
|
516
|
-
return this.
|
|
516
|
+
return this.c9e((!(p1 == null) ? isInterface(p1, ServerStateUpdate) : false) ? p1 : THROW_CCE(), $completion);
|
|
517
517
|
};
|
|
518
518
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).z8 = function () {
|
|
519
519
|
var suspendResult = this.t8_1;
|
|
@@ -522,7 +522,7 @@
|
|
|
522
522
|
var tmp = this.r8_1;
|
|
523
523
|
if (tmp === 0) {
|
|
524
524
|
this.s8_1 = 1;
|
|
525
|
-
this.
|
|
525
|
+
this.a9e_1(this.b9e_1);
|
|
526
526
|
return Unit_instance;
|
|
527
527
|
} else if (tmp === 1) {
|
|
528
528
|
throw this.u8_1;
|
|
@@ -533,22 +533,22 @@
|
|
|
533
533
|
}
|
|
534
534
|
while (true);
|
|
535
535
|
};
|
|
536
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
537
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.
|
|
538
|
-
i.
|
|
536
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).d9e = function (it, completion) {
|
|
537
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.a9e_1, completion);
|
|
538
|
+
i.b9e_1 = it;
|
|
539
539
|
return i;
|
|
540
540
|
};
|
|
541
541
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_0($subscriber, resultContinuation) {
|
|
542
542
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation);
|
|
543
543
|
var l = function (it, $completion) {
|
|
544
|
-
return i.
|
|
544
|
+
return i.c9e(it, $completion);
|
|
545
545
|
};
|
|
546
546
|
l.$arity = 1;
|
|
547
547
|
return l;
|
|
548
548
|
}
|
|
549
549
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
|
|
550
|
-
this.
|
|
551
|
-
this.
|
|
550
|
+
this.m9e_1 = $$this$unsafeFlow;
|
|
551
|
+
this.n9e_1 = this$0;
|
|
552
552
|
CoroutineImpl.call(this, resultContinuation);
|
|
553
553
|
}
|
|
554
554
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).u2h = function (value, $completion) {
|
|
@@ -568,10 +568,10 @@
|
|
|
568
568
|
switch (tmp) {
|
|
569
569
|
case 0:
|
|
570
570
|
this.s8_1 = 2;
|
|
571
|
-
var tmp0 = this.
|
|
572
|
-
var value = this.
|
|
571
|
+
var tmp0 = this.m9e_1;
|
|
572
|
+
var value = this.o9e_1;
|
|
573
573
|
this.r8_1 = 1;
|
|
574
|
-
suspendResult = tmp0.l28(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.
|
|
574
|
+
suspendResult = tmp0.l28(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.n9e_1)), this);
|
|
575
575
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
576
576
|
return suspendResult;
|
|
577
577
|
}
|
|
@@ -594,8 +594,8 @@
|
|
|
594
594
|
while (true);
|
|
595
595
|
};
|
|
596
596
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).v2h = function (value, completion) {
|
|
597
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.
|
|
598
|
-
i.
|
|
597
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.m9e_1, this.n9e_1, completion);
|
|
598
|
+
i.o9e_1 = value;
|
|
599
599
|
return i;
|
|
600
600
|
};
|
|
601
601
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
@@ -608,8 +608,8 @@
|
|
|
608
608
|
}
|
|
609
609
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
610
610
|
CoroutineImpl.call(this, resultContinuation);
|
|
611
|
-
this.
|
|
612
|
-
this.
|
|
611
|
+
this.x9e_1 = _this__u8e3s4;
|
|
612
|
+
this.y9e_1 = collector;
|
|
613
613
|
}
|
|
614
614
|
protoOf($collectCOROUTINE$).z8 = function () {
|
|
615
615
|
var suspendResult = this.t8_1;
|
|
@@ -619,10 +619,10 @@
|
|
|
619
619
|
switch (tmp) {
|
|
620
620
|
case 0:
|
|
621
621
|
this.s8_1 = 2;
|
|
622
|
-
var $this$unsafeFlow = this.
|
|
622
|
+
var $this$unsafeFlow = this.y9e_1;
|
|
623
623
|
this.r8_1 = 1;
|
|
624
|
-
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
625
|
-
suspendResult = this.
|
|
624
|
+
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.x9e_1.a9f_1, null);
|
|
625
|
+
suspendResult = this.x9e_1.z9e_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_0), this);
|
|
626
626
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
627
627
|
return suspendResult;
|
|
628
628
|
}
|
|
@@ -645,8 +645,8 @@
|
|
|
645
645
|
while (true);
|
|
646
646
|
};
|
|
647
647
|
function GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1($this, this$0) {
|
|
648
|
-
this.
|
|
649
|
-
this.
|
|
648
|
+
this.z9e_1 = $this;
|
|
649
|
+
this.a9f_1 = this$0;
|
|
650
650
|
}
|
|
651
651
|
protoOf(GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1).m28 = function (collector, $completion) {
|
|
652
652
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
@@ -658,17 +658,17 @@
|
|
|
658
658
|
return this.m28(collector, $completion);
|
|
659
659
|
};
|
|
660
660
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation) {
|
|
661
|
-
this.
|
|
661
|
+
this.j9f_1 = $subscriber;
|
|
662
662
|
CoroutineImpl.call(this, resultContinuation);
|
|
663
663
|
}
|
|
664
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
665
|
-
var tmp = this.
|
|
664
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).l9f = function (it, $completion) {
|
|
665
|
+
var tmp = this.m9f(it, $completion);
|
|
666
666
|
tmp.t8_1 = Unit_instance;
|
|
667
667
|
tmp.u8_1 = null;
|
|
668
668
|
return tmp.z8();
|
|
669
669
|
};
|
|
670
670
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).h9 = function (p1, $completion) {
|
|
671
|
-
return this.
|
|
671
|
+
return this.l9f((!(p1 == null) ? isInterface(p1, ServerStateUpdateDto) : false) ? p1 : THROW_CCE(), $completion);
|
|
672
672
|
};
|
|
673
673
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).z8 = function () {
|
|
674
674
|
var suspendResult = this.t8_1;
|
|
@@ -677,7 +677,7 @@
|
|
|
677
677
|
var tmp = this.r8_1;
|
|
678
678
|
if (tmp === 0) {
|
|
679
679
|
this.s8_1 = 1;
|
|
680
|
-
this.
|
|
680
|
+
this.j9f_1(this.k9f_1);
|
|
681
681
|
return Unit_instance;
|
|
682
682
|
} else if (tmp === 1) {
|
|
683
683
|
throw this.u8_1;
|
|
@@ -688,21 +688,21 @@
|
|
|
688
688
|
}
|
|
689
689
|
while (true);
|
|
690
690
|
};
|
|
691
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
692
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.
|
|
693
|
-
i.
|
|
691
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).m9f = function (it, completion) {
|
|
692
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.j9f_1, completion);
|
|
693
|
+
i.k9f_1 = it;
|
|
694
694
|
return i;
|
|
695
695
|
};
|
|
696
696
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda_0($subscriber, resultContinuation) {
|
|
697
697
|
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation);
|
|
698
698
|
var l = function (it, $completion) {
|
|
699
|
-
return i.
|
|
699
|
+
return i.l9f(it, $completion);
|
|
700
700
|
};
|
|
701
701
|
l.$arity = 1;
|
|
702
702
|
return l;
|
|
703
703
|
}
|
|
704
704
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
705
|
-
this.
|
|
705
|
+
this.v9f_1 = $$this$unsafeFlow;
|
|
706
706
|
CoroutineImpl.call(this, resultContinuation);
|
|
707
707
|
}
|
|
708
708
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).u2h = function (value, $completion) {
|
|
@@ -722,8 +722,8 @@
|
|
|
722
722
|
switch (tmp) {
|
|
723
723
|
case 0:
|
|
724
724
|
this.s8_1 = 2;
|
|
725
|
-
var tmp0 = this.
|
|
726
|
-
var value = this.
|
|
725
|
+
var tmp0 = this.v9f_1;
|
|
726
|
+
var value = this.w9f_1;
|
|
727
727
|
this.r8_1 = 1;
|
|
728
728
|
suspendResult = tmp0.l28(new ActionsStateUpdate(value), this);
|
|
729
729
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -748,8 +748,8 @@
|
|
|
748
748
|
while (true);
|
|
749
749
|
};
|
|
750
750
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).v2h = function (value, completion) {
|
|
751
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.
|
|
752
|
-
i.
|
|
751
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.v9f_1, completion);
|
|
752
|
+
i.w9f_1 = value;
|
|
753
753
|
return i;
|
|
754
754
|
};
|
|
755
755
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -762,8 +762,8 @@
|
|
|
762
762
|
}
|
|
763
763
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
764
764
|
CoroutineImpl.call(this, resultContinuation);
|
|
765
|
-
this.
|
|
766
|
-
this.
|
|
765
|
+
this.f9g_1 = _this__u8e3s4;
|
|
766
|
+
this.g9g_1 = collector;
|
|
767
767
|
}
|
|
768
768
|
protoOf($collectCOROUTINE$_0).z8 = function () {
|
|
769
769
|
var suspendResult = this.t8_1;
|
|
@@ -773,10 +773,10 @@
|
|
|
773
773
|
switch (tmp) {
|
|
774
774
|
case 0:
|
|
775
775
|
this.s8_1 = 2;
|
|
776
|
-
var $this$unsafeFlow = this.
|
|
776
|
+
var $this$unsafeFlow = this.g9g_1;
|
|
777
777
|
this.r8_1 = 1;
|
|
778
778
|
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, null);
|
|
779
|
-
suspendResult = this.
|
|
779
|
+
suspendResult = this.f9g_1.h9g_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
|
|
780
780
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
781
781
|
return suspendResult;
|
|
782
782
|
}
|
|
@@ -799,7 +799,7 @@
|
|
|
799
799
|
while (true);
|
|
800
800
|
};
|
|
801
801
|
function _no_name_provided__qut3iv($this) {
|
|
802
|
-
this.
|
|
802
|
+
this.h9g_1 = $this;
|
|
803
803
|
}
|
|
804
804
|
protoOf(_no_name_provided__qut3iv).m28 = function (collector, $completion) {
|
|
805
805
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
@@ -811,18 +811,18 @@
|
|
|
811
811
|
return this.m28(collector, $completion);
|
|
812
812
|
};
|
|
813
813
|
function GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation) {
|
|
814
|
-
this.
|
|
815
|
-
this.
|
|
814
|
+
this.q9g_1 = $table;
|
|
815
|
+
this.r9g_1 = this$0;
|
|
816
816
|
CoroutineImpl.call(this, resultContinuation);
|
|
817
817
|
}
|
|
818
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
819
|
-
var tmp = this.
|
|
818
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).t9g = function ($this$flow, $completion) {
|
|
819
|
+
var tmp = this.u9g($this$flow, $completion);
|
|
820
820
|
tmp.t8_1 = Unit_instance;
|
|
821
821
|
tmp.u8_1 = null;
|
|
822
822
|
return tmp.z8();
|
|
823
823
|
};
|
|
824
824
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).h9 = function (p1, $completion) {
|
|
825
|
-
return this.
|
|
825
|
+
return this.t9g((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
826
826
|
};
|
|
827
827
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).z8 = function () {
|
|
828
828
|
var suspendResult = this.t8_1;
|
|
@@ -833,7 +833,7 @@
|
|
|
833
833
|
case 0:
|
|
834
834
|
this.s8_1 = 3;
|
|
835
835
|
this.r8_1 = 1;
|
|
836
|
-
suspendResult = this.
|
|
836
|
+
suspendResult = this.s9g_1.l28(new TableStateUpdate(this.q9g_1), this);
|
|
837
837
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
838
838
|
return suspendResult;
|
|
839
839
|
}
|
|
@@ -841,8 +841,8 @@
|
|
|
841
841
|
continue $sm;
|
|
842
842
|
case 1:
|
|
843
843
|
this.r8_1 = 2;
|
|
844
|
-
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.
|
|
845
|
-
suspendResult = emitAll(this.
|
|
844
|
+
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.r9g_1).l8i(), fromInt(_get_serverReduxConfig__rprcrm(this.r9g_1).serverStateUpdateIntervalMillis));
|
|
845
|
+
suspendResult = emitAll(this.s9g_1, new _no_name_provided__qut3iv(this_0), this);
|
|
846
846
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
847
847
|
return suspendResult;
|
|
848
848
|
}
|
|
@@ -864,21 +864,21 @@
|
|
|
864
864
|
}
|
|
865
865
|
while (true);
|
|
866
866
|
};
|
|
867
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
868
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.
|
|
869
|
-
i.
|
|
867
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).u9g = function ($this$flow, completion) {
|
|
868
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.q9g_1, this.r9g_1, completion);
|
|
869
|
+
i.s9g_1 = $this$flow;
|
|
870
870
|
return i;
|
|
871
871
|
};
|
|
872
872
|
function GameServer$observeTableStateUpdates$slambda$slambda_0($table, this$0, resultContinuation) {
|
|
873
873
|
var i = new GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation);
|
|
874
874
|
var l = function ($this$flow, $completion) {
|
|
875
|
-
return i.
|
|
875
|
+
return i.t9g($this$flow, $completion);
|
|
876
876
|
};
|
|
877
877
|
l.$arity = 1;
|
|
878
878
|
return l;
|
|
879
879
|
}
|
|
880
880
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
881
|
-
this.
|
|
881
|
+
this.d9h_1 = $$this$unsafeFlow;
|
|
882
882
|
CoroutineImpl.call(this, resultContinuation);
|
|
883
883
|
}
|
|
884
884
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).u2h = function (value, $completion) {
|
|
@@ -899,28 +899,28 @@
|
|
|
899
899
|
case 0:
|
|
900
900
|
this.s8_1 = 5;
|
|
901
901
|
var tmp_0 = this;
|
|
902
|
-
tmp_0.
|
|
902
|
+
tmp_0.i9h_1 = this.d9h_1;
|
|
903
903
|
var tmp_1 = this;
|
|
904
|
-
tmp_1.
|
|
904
|
+
tmp_1.h9h_1 = this.e9h_1;
|
|
905
905
|
this.r8_1 = 1;
|
|
906
906
|
continue $sm;
|
|
907
907
|
case 1:
|
|
908
|
-
this.
|
|
909
|
-
var tmp0_elvis_lhs = this.
|
|
908
|
+
this.f9h_1 = this.i9h_1;
|
|
909
|
+
var tmp0_elvis_lhs = this.h9h_1.r6l_1;
|
|
910
910
|
if (tmp0_elvis_lhs == null) {
|
|
911
911
|
this.r8_1 = 4;
|
|
912
912
|
var tmp_2 = this;
|
|
913
913
|
continue $sm;
|
|
914
914
|
} else {
|
|
915
|
-
this.
|
|
915
|
+
this.g9h_1 = tmp0_elvis_lhs;
|
|
916
916
|
this.r8_1 = 2;
|
|
917
917
|
continue $sm;
|
|
918
918
|
}
|
|
919
919
|
|
|
920
920
|
case 2:
|
|
921
|
-
var transformed = this.
|
|
921
|
+
var transformed = this.g9h_1;
|
|
922
922
|
this.r8_1 = 3;
|
|
923
|
-
suspendResult = this.
|
|
923
|
+
suspendResult = this.f9h_1.l28(transformed, this);
|
|
924
924
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
925
925
|
return suspendResult;
|
|
926
926
|
}
|
|
@@ -951,8 +951,8 @@
|
|
|
951
951
|
while (true);
|
|
952
952
|
};
|
|
953
953
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).v2h = function (value, completion) {
|
|
954
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.
|
|
955
|
-
i.
|
|
954
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.d9h_1, completion);
|
|
955
|
+
i.e9h_1 = value;
|
|
956
956
|
return i;
|
|
957
957
|
};
|
|
958
958
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -965,8 +965,8 @@
|
|
|
965
965
|
}
|
|
966
966
|
function $collectCOROUTINE$_1(_this__u8e3s4, collector, resultContinuation) {
|
|
967
967
|
CoroutineImpl.call(this, resultContinuation);
|
|
968
|
-
this.
|
|
969
|
-
this.
|
|
968
|
+
this.r9h_1 = _this__u8e3s4;
|
|
969
|
+
this.s9h_1 = collector;
|
|
970
970
|
}
|
|
971
971
|
protoOf($collectCOROUTINE$_1).z8 = function () {
|
|
972
972
|
var suspendResult = this.t8_1;
|
|
@@ -976,10 +976,10 @@
|
|
|
976
976
|
switch (tmp) {
|
|
977
977
|
case 0:
|
|
978
978
|
this.s8_1 = 2;
|
|
979
|
-
var $this$unsafeFlow = this.
|
|
979
|
+
var $this$unsafeFlow = this.s9h_1;
|
|
980
980
|
this.r8_1 = 1;
|
|
981
981
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($this$unsafeFlow, null);
|
|
982
|
-
suspendResult = this.
|
|
982
|
+
suspendResult = this.r9h_1.t9h_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
983
983
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
984
984
|
return suspendResult;
|
|
985
985
|
}
|
|
@@ -1002,7 +1002,7 @@
|
|
|
1002
1002
|
while (true);
|
|
1003
1003
|
};
|
|
1004
1004
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_1($$this$unsafeFlow, resultContinuation) {
|
|
1005
|
-
this.
|
|
1005
|
+
this.c9i_1 = $$this$unsafeFlow;
|
|
1006
1006
|
CoroutineImpl.call(this, resultContinuation);
|
|
1007
1007
|
}
|
|
1008
1008
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).u2h = function (value, $completion) {
|
|
@@ -1022,8 +1022,8 @@
|
|
|
1022
1022
|
switch (tmp) {
|
|
1023
1023
|
case 0:
|
|
1024
1024
|
this.s8_1 = 2;
|
|
1025
|
-
var tmp0 = this.
|
|
1026
|
-
var value = this.
|
|
1025
|
+
var tmp0 = this.c9i_1;
|
|
1026
|
+
var value = this.d9i_1;
|
|
1027
1027
|
this.r8_1 = 1;
|
|
1028
1028
|
suspendResult = tmp0.l28(to(value.gameInfo.roundNumberTotal, value), this);
|
|
1029
1029
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1048,8 +1048,8 @@
|
|
|
1048
1048
|
while (true);
|
|
1049
1049
|
};
|
|
1050
1050
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).v2h = function (value, completion) {
|
|
1051
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.
|
|
1052
|
-
i.
|
|
1051
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.c9i_1, completion);
|
|
1052
|
+
i.d9i_1 = value;
|
|
1053
1053
|
return i;
|
|
1054
1054
|
};
|
|
1055
1055
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1062,8 +1062,8 @@
|
|
|
1062
1062
|
}
|
|
1063
1063
|
function $collectCOROUTINE$_2(_this__u8e3s4, collector, resultContinuation) {
|
|
1064
1064
|
CoroutineImpl.call(this, resultContinuation);
|
|
1065
|
-
this.
|
|
1066
|
-
this.
|
|
1065
|
+
this.m9i_1 = _this__u8e3s4;
|
|
1066
|
+
this.n9i_1 = collector;
|
|
1067
1067
|
}
|
|
1068
1068
|
protoOf($collectCOROUTINE$_2).z8 = function () {
|
|
1069
1069
|
var suspendResult = this.t8_1;
|
|
@@ -1073,10 +1073,10 @@
|
|
|
1073
1073
|
switch (tmp) {
|
|
1074
1074
|
case 0:
|
|
1075
1075
|
this.s8_1 = 2;
|
|
1076
|
-
var $this$unsafeFlow = this.
|
|
1076
|
+
var $this$unsafeFlow = this.n9i_1;
|
|
1077
1077
|
this.r8_1 = 1;
|
|
1078
1078
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($this$unsafeFlow, null);
|
|
1079
|
-
suspendResult = this.
|
|
1079
|
+
suspendResult = this.m9i_1.o9i_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1080
1080
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1081
1081
|
return suspendResult;
|
|
1082
1082
|
}
|
|
@@ -1099,7 +1099,7 @@
|
|
|
1099
1099
|
while (true);
|
|
1100
1100
|
};
|
|
1101
1101
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_3($$this$unsafeFlow, resultContinuation) {
|
|
1102
|
-
this.
|
|
1102
|
+
this.x9i_1 = $$this$unsafeFlow;
|
|
1103
1103
|
CoroutineImpl.call(this, resultContinuation);
|
|
1104
1104
|
}
|
|
1105
1105
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).u2h = function (value, $completion) {
|
|
@@ -1119,8 +1119,8 @@
|
|
|
1119
1119
|
switch (tmp) {
|
|
1120
1120
|
case 0:
|
|
1121
1121
|
this.s8_1 = 2;
|
|
1122
|
-
var tmp0 = this.
|
|
1123
|
-
var value = this.
|
|
1122
|
+
var tmp0 = this.x9i_1;
|
|
1123
|
+
var value = this.y9i_1;
|
|
1124
1124
|
this.r8_1 = 1;
|
|
1125
1125
|
suspendResult = tmp0.l28(value.me_1, this);
|
|
1126
1126
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1145,8 +1145,8 @@
|
|
|
1145
1145
|
while (true);
|
|
1146
1146
|
};
|
|
1147
1147
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).v2h = function (value, completion) {
|
|
1148
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.
|
|
1149
|
-
i.
|
|
1148
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.x9i_1, completion);
|
|
1149
|
+
i.y9i_1 = value;
|
|
1150
1150
|
return i;
|
|
1151
1151
|
};
|
|
1152
1152
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1159,8 +1159,8 @@
|
|
|
1159
1159
|
}
|
|
1160
1160
|
function $collectCOROUTINE$_3(_this__u8e3s4, collector, resultContinuation) {
|
|
1161
1161
|
CoroutineImpl.call(this, resultContinuation);
|
|
1162
|
-
this.
|
|
1163
|
-
this.
|
|
1162
|
+
this.h9j_1 = _this__u8e3s4;
|
|
1163
|
+
this.i9j_1 = collector;
|
|
1164
1164
|
}
|
|
1165
1165
|
protoOf($collectCOROUTINE$_3).z8 = function () {
|
|
1166
1166
|
var suspendResult = this.t8_1;
|
|
@@ -1170,10 +1170,10 @@
|
|
|
1170
1170
|
switch (tmp) {
|
|
1171
1171
|
case 0:
|
|
1172
1172
|
this.s8_1 = 2;
|
|
1173
|
-
var $this$unsafeFlow = this.
|
|
1173
|
+
var $this$unsafeFlow = this.i9j_1;
|
|
1174
1174
|
this.r8_1 = 1;
|
|
1175
1175
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($this$unsafeFlow, null);
|
|
1176
|
-
suspendResult = this.
|
|
1176
|
+
suspendResult = this.h9j_1.j9j_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1177
1177
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1178
1178
|
return suspendResult;
|
|
1179
1179
|
}
|
|
@@ -1196,17 +1196,17 @@
|
|
|
1196
1196
|
while (true);
|
|
1197
1197
|
};
|
|
1198
1198
|
function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
|
|
1199
|
-
this.
|
|
1199
|
+
this.s9j_1 = $subscriber;
|
|
1200
1200
|
CoroutineImpl.call(this, resultContinuation);
|
|
1201
1201
|
}
|
|
1202
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1203
|
-
var tmp = this.
|
|
1202
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).u9j = function (it, $completion) {
|
|
1203
|
+
var tmp = this.v9j(it, $completion);
|
|
1204
1204
|
tmp.t8_1 = Unit_instance;
|
|
1205
1205
|
tmp.u8_1 = null;
|
|
1206
1206
|
return tmp.z8();
|
|
1207
1207
|
};
|
|
1208
1208
|
protoOf(GameServer$subscribeWith$slambda$slambda).h9 = function (p1, $completion) {
|
|
1209
|
-
return this.
|
|
1209
|
+
return this.u9j(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
|
|
1210
1210
|
};
|
|
1211
1211
|
protoOf(GameServer$subscribeWith$slambda$slambda).z8 = function () {
|
|
1212
1212
|
var suspendResult = this.t8_1;
|
|
@@ -1215,7 +1215,7 @@
|
|
|
1215
1215
|
var tmp = this.r8_1;
|
|
1216
1216
|
if (tmp === 0) {
|
|
1217
1217
|
this.s8_1 = 1;
|
|
1218
|
-
this.
|
|
1218
|
+
this.s9j_1(this.t9j_1);
|
|
1219
1219
|
return Unit_instance;
|
|
1220
1220
|
} else if (tmp === 1) {
|
|
1221
1221
|
throw this.u8_1;
|
|
@@ -1226,83 +1226,83 @@
|
|
|
1226
1226
|
}
|
|
1227
1227
|
while (true);
|
|
1228
1228
|
};
|
|
1229
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1230
|
-
var i = new GameServer$subscribeWith$slambda$slambda(this.
|
|
1231
|
-
i.
|
|
1229
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).v9j = function (it, completion) {
|
|
1230
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.s9j_1, completion);
|
|
1231
|
+
i.t9j_1 = it;
|
|
1232
1232
|
return i;
|
|
1233
1233
|
};
|
|
1234
1234
|
function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
|
|
1235
1235
|
var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
|
|
1236
1236
|
var l = function (it, $completion) {
|
|
1237
|
-
return i.
|
|
1237
|
+
return i.u9j(it, $completion);
|
|
1238
1238
|
};
|
|
1239
1239
|
l.$arity = 1;
|
|
1240
1240
|
return l;
|
|
1241
1241
|
}
|
|
1242
1242
|
function GameServer$roomOnCreate$2$updatedUsers$previousTeams$1($playerId) {
|
|
1243
|
-
this.
|
|
1243
|
+
this.w9j_1 = $playerId;
|
|
1244
1244
|
}
|
|
1245
1245
|
protoOf(GameServer$roomOnCreate$2$updatedUsers$previousTeams$1).t65 = function () {
|
|
1246
|
-
return this.
|
|
1246
|
+
return this.w9j_1;
|
|
1247
1247
|
};
|
|
1248
1248
|
function _get_logger__rkp4sl($this) {
|
|
1249
|
-
var tmp0 = $this.
|
|
1249
|
+
var tmp0 = $this.z9j_1;
|
|
1250
1250
|
var tmp = KProperty1;
|
|
1251
1251
|
// Inline function 'kotlin.getValue' call
|
|
1252
1252
|
getPropertyCallableRef('logger', 1, tmp, GameServer$_get_logger_$ref_fogce1_0(), null);
|
|
1253
1253
|
return tmp0.w();
|
|
1254
1254
|
}
|
|
1255
1255
|
function _get_toClientEventsObserver__6rp51y($this) {
|
|
1256
|
-
var tmp0 = $this.
|
|
1256
|
+
var tmp0 = $this.a9k_1;
|
|
1257
1257
|
var tmp = KProperty1;
|
|
1258
1258
|
// Inline function 'kotlin.getValue' call
|
|
1259
1259
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, GameServer$_get_toClientEventsObserver_$ref_utir8s_0(), null);
|
|
1260
1260
|
return tmp0.w();
|
|
1261
1261
|
}
|
|
1262
1262
|
function _get_fromClientEventsObserver__a7vzd3($this) {
|
|
1263
|
-
var tmp0 = $this.
|
|
1263
|
+
var tmp0 = $this.b9k_1;
|
|
1264
1264
|
var tmp = KProperty1;
|
|
1265
1265
|
// Inline function 'kotlin.getValue' call
|
|
1266
1266
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, GameServer$_get_fromClientEventsObserver_$ref_nf1g79_0(), null);
|
|
1267
1267
|
return tmp0.w();
|
|
1268
1268
|
}
|
|
1269
1269
|
function _get_playerConnectionInteractor__si6cxf($this) {
|
|
1270
|
-
var tmp0 = $this.
|
|
1270
|
+
var tmp0 = $this.c9k_1;
|
|
1271
1271
|
var tmp = KProperty1;
|
|
1272
1272
|
// Inline function 'kotlin.getValue' call
|
|
1273
1273
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, GameServer$_get_playerConnectionInteractor_$ref_of8tan_0(), null);
|
|
1274
1274
|
return tmp0.w();
|
|
1275
1275
|
}
|
|
1276
1276
|
function _get_teamsLogicProvider__u10pm6($this) {
|
|
1277
|
-
var tmp0 = $this.
|
|
1277
|
+
var tmp0 = $this.d9k_1;
|
|
1278
1278
|
var tmp = KProperty1;
|
|
1279
1279
|
// Inline function 'kotlin.getValue' call
|
|
1280
1280
|
getPropertyCallableRef('teamsLogicProvider', 1, tmp, GameServer$_get_teamsLogicProvider_$ref_b7y54g_0(), null);
|
|
1281
1281
|
return tmp0.w();
|
|
1282
1282
|
}
|
|
1283
1283
|
function _get_random__h29cgo($this) {
|
|
1284
|
-
var tmp0 = $this.
|
|
1284
|
+
var tmp0 = $this.e9k_1;
|
|
1285
1285
|
var tmp = KProperty1;
|
|
1286
1286
|
// Inline function 'kotlin.getValue' call
|
|
1287
1287
|
getPropertyCallableRef('random', 1, tmp, GameServer$_get_random_$ref_fottnq(), null);
|
|
1288
1288
|
return tmp0.w();
|
|
1289
1289
|
}
|
|
1290
1290
|
function _get_idsProvider__fnfajc($this) {
|
|
1291
|
-
var tmp0 = $this.
|
|
1291
|
+
var tmp0 = $this.f9k_1;
|
|
1292
1292
|
var tmp = KProperty1;
|
|
1293
1293
|
// Inline function 'kotlin.getValue' call
|
|
1294
1294
|
getPropertyCallableRef('idsProvider', 1, tmp, GameServer$_get_idsProvider_$ref_89s908_0(), null);
|
|
1295
1295
|
return tmp0.w();
|
|
1296
1296
|
}
|
|
1297
1297
|
function _get_serverReduxConfig__rprcrm($this) {
|
|
1298
|
-
var tmp0 = $this.
|
|
1298
|
+
var tmp0 = $this.g9k_1;
|
|
1299
1299
|
var tmp = KProperty1;
|
|
1300
1300
|
// Inline function 'kotlin.getValue' call
|
|
1301
1301
|
getPropertyCallableRef('serverReduxConfig', 1, tmp, GameServer$_get_serverReduxConfig_$ref_7h6jq6_0(), null);
|
|
1302
1302
|
return tmp0.w();
|
|
1303
1303
|
}
|
|
1304
1304
|
function _get_encoderDecoderProvider__qqgrji($this) {
|
|
1305
|
-
var tmp0 = $this.
|
|
1305
|
+
var tmp0 = $this.h9k_1;
|
|
1306
1306
|
var tmp = KProperty1;
|
|
1307
1307
|
// Inline function 'kotlin.getValue' call
|
|
1308
1308
|
getPropertyCallableRef('encoderDecoderProvider', 1, tmp, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8_0(), null);
|
|
@@ -1329,20 +1329,20 @@
|
|
|
1329
1329
|
return new GameServer$observeTableWhenRoundChanges$$inlined$map$2(this_1);
|
|
1330
1330
|
}
|
|
1331
1331
|
function Companion() {
|
|
1332
|
-
this.
|
|
1332
|
+
this.j9k_1 = 'GameEngine_API';
|
|
1333
1333
|
}
|
|
1334
1334
|
var Companion_instance_7;
|
|
1335
1335
|
function Companion_getInstance_0() {
|
|
1336
1336
|
return Companion_instance_7;
|
|
1337
1337
|
}
|
|
1338
1338
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
1339
|
-
this.
|
|
1339
|
+
this.k9k_1 = function_0;
|
|
1340
1340
|
}
|
|
1341
1341
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).l28 = function (value, $completion) {
|
|
1342
|
-
return this.
|
|
1342
|
+
return this.k9k_1(value, $completion);
|
|
1343
1343
|
};
|
|
1344
1344
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).a3 = function () {
|
|
1345
|
-
return this.
|
|
1345
|
+
return this.k9k_1;
|
|
1346
1346
|
};
|
|
1347
1347
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
1348
1348
|
var tmp;
|
|
@@ -1363,13 +1363,13 @@
|
|
|
1363
1363
|
return hashCode(this.a3());
|
|
1364
1364
|
};
|
|
1365
1365
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
1366
|
-
this.
|
|
1366
|
+
this.l9k_1 = function_0;
|
|
1367
1367
|
}
|
|
1368
1368
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).l28 = function (value, $completion) {
|
|
1369
|
-
return this.
|
|
1369
|
+
return this.l9k_1(value, $completion);
|
|
1370
1370
|
};
|
|
1371
1371
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).a3 = function () {
|
|
1372
|
-
return this.
|
|
1372
|
+
return this.l9k_1;
|
|
1373
1373
|
};
|
|
1374
1374
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
1375
1375
|
var tmp;
|
|
@@ -1390,13 +1390,13 @@
|
|
|
1390
1390
|
return hashCode(this.a3());
|
|
1391
1391
|
};
|
|
1392
1392
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
|
|
1393
|
-
this.
|
|
1393
|
+
this.m9k_1 = function_0;
|
|
1394
1394
|
}
|
|
1395
1395
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).l28 = function (value, $completion) {
|
|
1396
|
-
return this.
|
|
1396
|
+
return this.m9k_1(value, $completion);
|
|
1397
1397
|
};
|
|
1398
1398
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).a3 = function () {
|
|
1399
|
-
return this.
|
|
1399
|
+
return this.m9k_1;
|
|
1400
1400
|
};
|
|
1401
1401
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
|
|
1402
1402
|
var tmp;
|
|
@@ -1417,13 +1417,13 @@
|
|
|
1417
1417
|
return hashCode(this.a3());
|
|
1418
1418
|
};
|
|
1419
1419
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
|
|
1420
|
-
this.
|
|
1420
|
+
this.n9k_1 = function_0;
|
|
1421
1421
|
}
|
|
1422
1422
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).l28 = function (value, $completion) {
|
|
1423
|
-
return this.
|
|
1423
|
+
return this.n9k_1(value, $completion);
|
|
1424
1424
|
};
|
|
1425
1425
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).a3 = function () {
|
|
1426
|
-
return this.
|
|
1426
|
+
return this.n9k_1;
|
|
1427
1427
|
};
|
|
1428
1428
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
|
|
1429
1429
|
var tmp;
|
|
@@ -1444,13 +1444,13 @@
|
|
|
1444
1444
|
return hashCode(this.a3());
|
|
1445
1445
|
};
|
|
1446
1446
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_3(function_0) {
|
|
1447
|
-
this.
|
|
1447
|
+
this.o9k_1 = function_0;
|
|
1448
1448
|
}
|
|
1449
1449
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).l28 = function (value, $completion) {
|
|
1450
|
-
return this.
|
|
1450
|
+
return this.o9k_1(value, $completion);
|
|
1451
1451
|
};
|
|
1452
1452
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).a3 = function () {
|
|
1453
|
-
return this.
|
|
1453
|
+
return this.o9k_1;
|
|
1454
1454
|
};
|
|
1455
1455
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).equals = function (other) {
|
|
1456
1456
|
var tmp;
|
|
@@ -1471,13 +1471,13 @@
|
|
|
1471
1471
|
return hashCode(this.a3());
|
|
1472
1472
|
};
|
|
1473
1473
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_4(function_0) {
|
|
1474
|
-
this.
|
|
1474
|
+
this.p9k_1 = function_0;
|
|
1475
1475
|
}
|
|
1476
1476
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).l28 = function (value, $completion) {
|
|
1477
|
-
return this.
|
|
1477
|
+
return this.p9k_1(value, $completion);
|
|
1478
1478
|
};
|
|
1479
1479
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).a3 = function () {
|
|
1480
|
-
return this.
|
|
1480
|
+
return this.p9k_1;
|
|
1481
1481
|
};
|
|
1482
1482
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).equals = function (other) {
|
|
1483
1483
|
var tmp;
|
|
@@ -1588,8 +1588,8 @@
|
|
|
1588
1588
|
};
|
|
1589
1589
|
}
|
|
1590
1590
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
1591
|
-
this.
|
|
1592
|
-
this.
|
|
1591
|
+
this.y9k_1 = this$0;
|
|
1592
|
+
this.z9k_1 = $subscriber;
|
|
1593
1593
|
CoroutineImpl.call(this, resultContinuation);
|
|
1594
1594
|
}
|
|
1595
1595
|
protoOf(GameServer$subscribeToClientAction$slambda).z2c = function ($this$launchDefault, $completion) {
|
|
@@ -1610,8 +1610,8 @@
|
|
|
1610
1610
|
case 0:
|
|
1611
1611
|
this.s8_1 = 2;
|
|
1612
1612
|
this.r8_1 = 1;
|
|
1613
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
1614
|
-
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.
|
|
1613
|
+
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.y9k_1).b9l();
|
|
1614
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.z9k_1, null);
|
|
1615
1615
|
suspendResult = tmp_0.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
1616
1616
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1617
1617
|
return suspendResult;
|
|
@@ -1635,8 +1635,8 @@
|
|
|
1635
1635
|
while (true);
|
|
1636
1636
|
};
|
|
1637
1637
|
protoOf(GameServer$subscribeToClientAction$slambda).a2d = function ($this$launchDefault, completion) {
|
|
1638
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
1639
|
-
i.
|
|
1638
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.y9k_1, this.z9k_1, completion);
|
|
1639
|
+
i.a9l_1 = $this$launchDefault;
|
|
1640
1640
|
return i;
|
|
1641
1641
|
};
|
|
1642
1642
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1648,8 +1648,8 @@
|
|
|
1648
1648
|
return l;
|
|
1649
1649
|
}
|
|
1650
1650
|
function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
|
|
1651
|
-
this.
|
|
1652
|
-
this.
|
|
1651
|
+
this.k9l_1 = this$0;
|
|
1652
|
+
this.l9l_1 = $subscriber;
|
|
1653
1653
|
CoroutineImpl.call(this, resultContinuation);
|
|
1654
1654
|
}
|
|
1655
1655
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).z2c = function ($this$launchDefault, $completion) {
|
|
@@ -1670,8 +1670,8 @@
|
|
|
1670
1670
|
case 0:
|
|
1671
1671
|
this.s8_1 = 2;
|
|
1672
1672
|
this.r8_1 = 1;
|
|
1673
|
-
var tmp_0 = observeTableStateUpdates(this.
|
|
1674
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.
|
|
1673
|
+
var tmp_0 = observeTableStateUpdates(this.k9l_1);
|
|
1674
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.l9l_1, null);
|
|
1675
1675
|
suspendResult = tmp_0.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
1676
1676
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1677
1677
|
return suspendResult;
|
|
@@ -1695,8 +1695,8 @@
|
|
|
1695
1695
|
while (true);
|
|
1696
1696
|
};
|
|
1697
1697
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).a2d = function ($this$launchDefault, completion) {
|
|
1698
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda(this.
|
|
1699
|
-
i.
|
|
1698
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda(this.k9l_1, this.l9l_1, completion);
|
|
1699
|
+
i.m9l_1 = $this$launchDefault;
|
|
1700
1700
|
return i;
|
|
1701
1701
|
};
|
|
1702
1702
|
function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1708,8 +1708,8 @@
|
|
|
1708
1708
|
return l;
|
|
1709
1709
|
}
|
|
1710
1710
|
function GameServer$subscribeServerStateUpdateJson$slambda(this$0, $subscriber, resultContinuation) {
|
|
1711
|
-
this.
|
|
1712
|
-
this.
|
|
1711
|
+
this.v9l_1 = this$0;
|
|
1712
|
+
this.w9l_1 = $subscriber;
|
|
1713
1713
|
CoroutineImpl.call(this, resultContinuation);
|
|
1714
1714
|
}
|
|
1715
1715
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).z2c = function ($this$launchDefault, $completion) {
|
|
@@ -1730,9 +1730,9 @@
|
|
|
1730
1730
|
case 0:
|
|
1731
1731
|
this.s8_1 = 2;
|
|
1732
1732
|
this.r8_1 = 1;
|
|
1733
|
-
var this_0 = observeTableStateUpdates(this.
|
|
1734
|
-
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.
|
|
1735
|
-
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.
|
|
1733
|
+
var this_0 = observeTableStateUpdates(this.v9l_1);
|
|
1734
|
+
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.v9l_1);
|
|
1735
|
+
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.w9l_1, null);
|
|
1736
1736
|
suspendResult = tmp_0.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
1737
1737
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1738
1738
|
return suspendResult;
|
|
@@ -1756,8 +1756,8 @@
|
|
|
1756
1756
|
while (true);
|
|
1757
1757
|
};
|
|
1758
1758
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).a2d = function ($this$launchDefault, completion) {
|
|
1759
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.
|
|
1760
|
-
i.
|
|
1759
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.v9l_1, this.w9l_1, completion);
|
|
1760
|
+
i.x9l_1 = $this$launchDefault;
|
|
1761
1761
|
return i;
|
|
1762
1762
|
};
|
|
1763
1763
|
function GameServer$subscribeServerStateUpdateJson$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1769,18 +1769,18 @@
|
|
|
1769
1769
|
return l;
|
|
1770
1770
|
}
|
|
1771
1771
|
function GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation) {
|
|
1772
|
-
this.
|
|
1772
|
+
this.g9m_1 = this$0;
|
|
1773
1773
|
CoroutineImpl.call(this, resultContinuation);
|
|
1774
1774
|
}
|
|
1775
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
1776
|
-
var tmp = this.
|
|
1775
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).j9m = function ($this$transformLatest, it, $completion) {
|
|
1776
|
+
var tmp = this.k9m($this$transformLatest, it, $completion);
|
|
1777
1777
|
tmp.t8_1 = Unit_instance;
|
|
1778
1778
|
tmp.u8_1 = null;
|
|
1779
1779
|
return tmp.z8();
|
|
1780
1780
|
};
|
|
1781
1781
|
protoOf(GameServer$observeTableStateUpdates$slambda).i9 = function (p1, p2, $completion) {
|
|
1782
1782
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
1783
|
-
return this.
|
|
1783
|
+
return this.j9m(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
1784
1784
|
};
|
|
1785
1785
|
protoOf(GameServer$observeTableStateUpdates$slambda).z8 = function () {
|
|
1786
1786
|
var suspendResult = this.t8_1;
|
|
@@ -1791,8 +1791,8 @@
|
|
|
1791
1791
|
case 0:
|
|
1792
1792
|
this.s8_1 = 2;
|
|
1793
1793
|
this.r8_1 = 1;
|
|
1794
|
-
var table = this.
|
|
1795
|
-
suspendResult = emitAll(this.
|
|
1794
|
+
var table = this.i9m_1;
|
|
1795
|
+
suspendResult = emitAll(this.h9m_1, flow(GameServer$observeTableStateUpdates$slambda$slambda_0(table, this.g9m_1, null)), this);
|
|
1796
1796
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1797
1797
|
return suspendResult;
|
|
1798
1798
|
}
|
|
@@ -1814,22 +1814,22 @@
|
|
|
1814
1814
|
}
|
|
1815
1815
|
while (true);
|
|
1816
1816
|
};
|
|
1817
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
1818
|
-
var i = new GameServer$observeTableStateUpdates$slambda(this.
|
|
1819
|
-
i.
|
|
1820
|
-
i.
|
|
1817
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).k9m = function ($this$transformLatest, it, completion) {
|
|
1818
|
+
var i = new GameServer$observeTableStateUpdates$slambda(this.g9m_1, completion);
|
|
1819
|
+
i.h9m_1 = $this$transformLatest;
|
|
1820
|
+
i.i9m_1 = it;
|
|
1821
1821
|
return i;
|
|
1822
1822
|
};
|
|
1823
1823
|
function GameServer$observeTableStateUpdates$slambda_0(this$0, resultContinuation) {
|
|
1824
1824
|
var i = new GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation);
|
|
1825
1825
|
var l = function ($this$transformLatest, it, $completion) {
|
|
1826
|
-
return i.
|
|
1826
|
+
return i.j9m($this$transformLatest, it, $completion);
|
|
1827
1827
|
};
|
|
1828
1828
|
l.$arity = 2;
|
|
1829
1829
|
return l;
|
|
1830
1830
|
}
|
|
1831
1831
|
function GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1($this) {
|
|
1832
|
-
this.
|
|
1832
|
+
this.t9h_1 = $this;
|
|
1833
1833
|
}
|
|
1834
1834
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1).m28 = function (collector, $completion) {
|
|
1835
1835
|
var tmp = new $collectCOROUTINE$_1(this, collector, $completion);
|
|
@@ -1841,7 +1841,7 @@
|
|
|
1841
1841
|
return this.m28(collector, $completion);
|
|
1842
1842
|
};
|
|
1843
1843
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$1($this) {
|
|
1844
|
-
this.
|
|
1844
|
+
this.o9i_1 = $this;
|
|
1845
1845
|
}
|
|
1846
1846
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$1).m28 = function (collector, $completion) {
|
|
1847
1847
|
var tmp = new $collectCOROUTINE$_2(this, collector, $completion);
|
|
@@ -1856,7 +1856,7 @@
|
|
|
1856
1856
|
return old.le_1 === new_0.le_1;
|
|
1857
1857
|
}
|
|
1858
1858
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$2($this) {
|
|
1859
|
-
this.
|
|
1859
|
+
this.j9j_1 = $this;
|
|
1860
1860
|
}
|
|
1861
1861
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$2).m28 = function (collector, $completion) {
|
|
1862
1862
|
var tmp = new $collectCOROUTINE$_3(this, collector, $completion);
|
|
@@ -1868,8 +1868,8 @@
|
|
|
1868
1868
|
return this.m28(collector, $completion);
|
|
1869
1869
|
};
|
|
1870
1870
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
1871
|
-
this.
|
|
1872
|
-
this.
|
|
1871
|
+
this.t9m_1 = this$0;
|
|
1872
|
+
this.u9m_1 = $subscriber;
|
|
1873
1873
|
CoroutineImpl.call(this, resultContinuation);
|
|
1874
1874
|
}
|
|
1875
1875
|
protoOf(GameServer$subscribeWith$slambda).z2c = function ($this$launchDefault, $completion) {
|
|
@@ -1890,8 +1890,8 @@
|
|
|
1890
1890
|
case 0:
|
|
1891
1891
|
this.s8_1 = 2;
|
|
1892
1892
|
this.r8_1 = 1;
|
|
1893
|
-
var tmp_0 = distinctUntilChanged_0(this.
|
|
1894
|
-
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.
|
|
1893
|
+
var tmp_0 = distinctUntilChanged_0(this.t9m_1.q6l());
|
|
1894
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.u9m_1, null);
|
|
1895
1895
|
suspendResult = tmp_0.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_4(tmp_1), this);
|
|
1896
1896
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1897
1897
|
return suspendResult;
|
|
@@ -1915,8 +1915,8 @@
|
|
|
1915
1915
|
while (true);
|
|
1916
1916
|
};
|
|
1917
1917
|
protoOf(GameServer$subscribeWith$slambda).a2d = function ($this$launchDefault, completion) {
|
|
1918
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
1919
|
-
i.
|
|
1918
|
+
var i = new GameServer$subscribeWith$slambda(this.t9m_1, this.u9m_1, completion);
|
|
1919
|
+
i.v9m_1 = $this$launchDefault;
|
|
1920
1920
|
return i;
|
|
1921
1921
|
};
|
|
1922
1922
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1928,18 +1928,18 @@
|
|
|
1928
1928
|
return l;
|
|
1929
1929
|
}
|
|
1930
1930
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
1931
|
-
this.
|
|
1931
|
+
this.e9n_1 = $action;
|
|
1932
1932
|
CoroutineImpl.call(this, resultContinuation);
|
|
1933
1933
|
}
|
|
1934
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
1935
|
-
var tmp = this.
|
|
1934
|
+
protoOf(GameServer$fromClientEvent$slambda).h9n = function ($this$dispatchAsync, store, $completion) {
|
|
1935
|
+
var tmp = this.i9n($this$dispatchAsync, store, $completion);
|
|
1936
1936
|
tmp.t8_1 = Unit_instance;
|
|
1937
1937
|
tmp.u8_1 = null;
|
|
1938
1938
|
return tmp.z8();
|
|
1939
1939
|
};
|
|
1940
1940
|
protoOf(GameServer$fromClientEvent$slambda).i9 = function (p1, p2, $completion) {
|
|
1941
1941
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1942
|
-
return this.
|
|
1942
|
+
return this.h9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1943
1943
|
};
|
|
1944
1944
|
protoOf(GameServer$fromClientEvent$slambda).z8 = function () {
|
|
1945
1945
|
var suspendResult = this.t8_1;
|
|
@@ -1948,11 +1948,11 @@
|
|
|
1948
1948
|
var tmp = this.r8_1;
|
|
1949
1949
|
if (tmp === 0) {
|
|
1950
1950
|
this.s8_1 = 1;
|
|
1951
|
-
if (this.
|
|
1952
|
-
if (!get_isCreated(this.
|
|
1951
|
+
if (this.e9n_1 instanceof PlayerReadyFromClientAction)
|
|
1952
|
+
if (!get_isCreated(this.g9n_1.state)) {
|
|
1953
1953
|
return Unit_instance;
|
|
1954
1954
|
}
|
|
1955
|
-
this.
|
|
1955
|
+
this.g9n_1.dispatch(this.e9n_1);
|
|
1956
1956
|
return Unit_instance;
|
|
1957
1957
|
} else if (tmp === 1) {
|
|
1958
1958
|
throw this.u8_1;
|
|
@@ -1963,33 +1963,33 @@
|
|
|
1963
1963
|
}
|
|
1964
1964
|
while (true);
|
|
1965
1965
|
};
|
|
1966
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
1967
|
-
var i = new GameServer$fromClientEvent$slambda(this.
|
|
1968
|
-
i.
|
|
1969
|
-
i.
|
|
1966
|
+
protoOf(GameServer$fromClientEvent$slambda).i9n = function ($this$dispatchAsync, store, completion) {
|
|
1967
|
+
var i = new GameServer$fromClientEvent$slambda(this.e9n_1, completion);
|
|
1968
|
+
i.f9n_1 = $this$dispatchAsync;
|
|
1969
|
+
i.g9n_1 = store;
|
|
1970
1970
|
return i;
|
|
1971
1971
|
};
|
|
1972
1972
|
function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
|
|
1973
1973
|
var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
|
|
1974
1974
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1975
|
-
return i.
|
|
1975
|
+
return i.h9n($this$dispatchAsync, store, $completion);
|
|
1976
1976
|
};
|
|
1977
1977
|
l.$arity = 2;
|
|
1978
1978
|
return l;
|
|
1979
1979
|
}
|
|
1980
1980
|
function GameServer$playerLostConnection$slambda($playerId, resultContinuation) {
|
|
1981
|
-
this.
|
|
1981
|
+
this.r9n_1 = $playerId;
|
|
1982
1982
|
CoroutineImpl.call(this, resultContinuation);
|
|
1983
1983
|
}
|
|
1984
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
1985
|
-
var tmp = this.
|
|
1984
|
+
protoOf(GameServer$playerLostConnection$slambda).h9n = function ($this$dispatchAsync, store, $completion) {
|
|
1985
|
+
var tmp = this.i9n($this$dispatchAsync, store, $completion);
|
|
1986
1986
|
tmp.t8_1 = Unit_instance;
|
|
1987
1987
|
tmp.u8_1 = null;
|
|
1988
1988
|
return tmp.z8();
|
|
1989
1989
|
};
|
|
1990
1990
|
protoOf(GameServer$playerLostConnection$slambda).i9 = function (p1, p2, $completion) {
|
|
1991
1991
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1992
|
-
return this.
|
|
1992
|
+
return this.h9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1993
1993
|
};
|
|
1994
1994
|
protoOf(GameServer$playerLostConnection$slambda).z8 = function () {
|
|
1995
1995
|
var suspendResult = this.t8_1;
|
|
@@ -1998,12 +1998,12 @@
|
|
|
1998
1998
|
var tmp = this.r8_1;
|
|
1999
1999
|
if (tmp === 0) {
|
|
2000
2000
|
this.s8_1 = 1;
|
|
2001
|
-
if (!get_isCreated(this.
|
|
2001
|
+
if (!get_isCreated(this.t9n_1.state)) {
|
|
2002
2002
|
return Unit_instance;
|
|
2003
2003
|
}
|
|
2004
|
-
var tmp_0 = this.
|
|
2004
|
+
var tmp_0 = this.t9n_1.dispatch;
|
|
2005
2005
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
2006
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2006
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.r9n_1));
|
|
2007
2007
|
return Unit_instance;
|
|
2008
2008
|
} else if (tmp === 1) {
|
|
2009
2009
|
throw this.u8_1;
|
|
@@ -2014,34 +2014,34 @@
|
|
|
2014
2014
|
}
|
|
2015
2015
|
while (true);
|
|
2016
2016
|
};
|
|
2017
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2018
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
2019
|
-
i.
|
|
2020
|
-
i.
|
|
2017
|
+
protoOf(GameServer$playerLostConnection$slambda).i9n = function ($this$dispatchAsync, store, completion) {
|
|
2018
|
+
var i = new GameServer$playerLostConnection$slambda(this.r9n_1, completion);
|
|
2019
|
+
i.s9n_1 = $this$dispatchAsync;
|
|
2020
|
+
i.t9n_1 = store;
|
|
2021
2021
|
return i;
|
|
2022
2022
|
};
|
|
2023
2023
|
function GameServer$playerLostConnection$slambda_0($playerId, resultContinuation) {
|
|
2024
2024
|
var i = new GameServer$playerLostConnection$slambda($playerId, resultContinuation);
|
|
2025
2025
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2026
|
-
return i.
|
|
2026
|
+
return i.h9n($this$dispatchAsync, store, $completion);
|
|
2027
2027
|
};
|
|
2028
2028
|
l.$arity = 2;
|
|
2029
2029
|
return l;
|
|
2030
2030
|
}
|
|
2031
2031
|
function GameServer$playerLive$slambda(this$0, $playerId, resultContinuation) {
|
|
2032
|
-
this.
|
|
2033
|
-
this.
|
|
2032
|
+
this.c9o_1 = this$0;
|
|
2033
|
+
this.d9o_1 = $playerId;
|
|
2034
2034
|
CoroutineImpl.call(this, resultContinuation);
|
|
2035
2035
|
}
|
|
2036
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2037
|
-
var tmp = this.
|
|
2036
|
+
protoOf(GameServer$playerLive$slambda).h9n = function ($this$dispatchAsync, store, $completion) {
|
|
2037
|
+
var tmp = this.i9n($this$dispatchAsync, store, $completion);
|
|
2038
2038
|
tmp.t8_1 = Unit_instance;
|
|
2039
2039
|
tmp.u8_1 = null;
|
|
2040
2040
|
return tmp.z8();
|
|
2041
2041
|
};
|
|
2042
2042
|
protoOf(GameServer$playerLive$slambda).i9 = function (p1, p2, $completion) {
|
|
2043
2043
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2044
|
-
return this.
|
|
2044
|
+
return this.h9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2045
2045
|
};
|
|
2046
2046
|
protoOf(GameServer$playerLive$slambda).z8 = function () {
|
|
2047
2047
|
var suspendResult = this.t8_1;
|
|
@@ -2050,16 +2050,16 @@
|
|
|
2050
2050
|
var tmp = this.r8_1;
|
|
2051
2051
|
if (tmp === 0) {
|
|
2052
2052
|
this.s8_1 = 1;
|
|
2053
|
-
if (get_isFinished(this.
|
|
2053
|
+
if (get_isFinished(this.f9o_1.state) || get_isFinishing(this.f9o_1.state)) {
|
|
2054
2054
|
return Unit_instance;
|
|
2055
2055
|
}
|
|
2056
|
-
if (!get_isCreated(this.
|
|
2057
|
-
_get_logger__rkp4sl(this.
|
|
2056
|
+
if (!get_isCreated(this.f9o_1.state) || !this.c9o_1.s66().i6m()) {
|
|
2057
|
+
_get_logger__rkp4sl(this.c9o_1).w('GameEngine_API', 'playerLive: ' + this.d9o_1 + ' before game is created');
|
|
2058
2058
|
return Unit_instance;
|
|
2059
2059
|
}
|
|
2060
|
-
var tmp_0 = this.
|
|
2060
|
+
var tmp_0 = this.f9o_1.dispatch;
|
|
2061
2061
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2062
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2062
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.d9o_1));
|
|
2063
2063
|
return Unit_instance;
|
|
2064
2064
|
} else if (tmp === 1) {
|
|
2065
2065
|
throw this.u8_1;
|
|
@@ -2070,34 +2070,34 @@
|
|
|
2070
2070
|
}
|
|
2071
2071
|
while (true);
|
|
2072
2072
|
};
|
|
2073
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2074
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
2075
|
-
i.
|
|
2076
|
-
i.
|
|
2073
|
+
protoOf(GameServer$playerLive$slambda).i9n = function ($this$dispatchAsync, store, completion) {
|
|
2074
|
+
var i = new GameServer$playerLive$slambda(this.c9o_1, this.d9o_1, completion);
|
|
2075
|
+
i.e9o_1 = $this$dispatchAsync;
|
|
2076
|
+
i.f9o_1 = store;
|
|
2077
2077
|
return i;
|
|
2078
2078
|
};
|
|
2079
2079
|
function GameServer$playerLive$slambda_0(this$0, $playerId, resultContinuation) {
|
|
2080
2080
|
var i = new GameServer$playerLive$slambda(this$0, $playerId, resultContinuation);
|
|
2081
2081
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2082
|
-
return i.
|
|
2082
|
+
return i.h9n($this$dispatchAsync, store, $completion);
|
|
2083
2083
|
};
|
|
2084
2084
|
l.$arity = 2;
|
|
2085
2085
|
return l;
|
|
2086
2086
|
}
|
|
2087
2087
|
function GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation) {
|
|
2088
|
-
this.
|
|
2089
|
-
this.
|
|
2088
|
+
this.o9o_1 = this$0;
|
|
2089
|
+
this.p9o_1 = $playerId;
|
|
2090
2090
|
CoroutineImpl.call(this, resultContinuation);
|
|
2091
2091
|
}
|
|
2092
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2093
|
-
var tmp = this.
|
|
2092
|
+
protoOf(GameServer$playerLeft$slambda).h9n = function ($this$dispatchAsync, store, $completion) {
|
|
2093
|
+
var tmp = this.i9n($this$dispatchAsync, store, $completion);
|
|
2094
2094
|
tmp.t8_1 = Unit_instance;
|
|
2095
2095
|
tmp.u8_1 = null;
|
|
2096
2096
|
return tmp.z8();
|
|
2097
2097
|
};
|
|
2098
2098
|
protoOf(GameServer$playerLeft$slambda).i9 = function (p1, p2, $completion) {
|
|
2099
2099
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2100
|
-
return this.
|
|
2100
|
+
return this.h9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2101
2101
|
};
|
|
2102
2102
|
protoOf(GameServer$playerLeft$slambda).z8 = function () {
|
|
2103
2103
|
var suspendResult = this.t8_1;
|
|
@@ -2106,16 +2106,16 @@
|
|
|
2106
2106
|
var tmp = this.r8_1;
|
|
2107
2107
|
if (tmp === 0) {
|
|
2108
2108
|
this.s8_1 = 1;
|
|
2109
|
-
if (get_isFinished(this.
|
|
2109
|
+
if (get_isFinished(this.r9o_1.state) || get_isFinishing(this.r9o_1.state)) {
|
|
2110
2110
|
return Unit_instance;
|
|
2111
2111
|
}
|
|
2112
|
-
if (!get_isCreated(this.
|
|
2113
|
-
_get_logger__rkp4sl(this.
|
|
2112
|
+
if (!get_isCreated(this.r9o_1.state) || !this.o9o_1.s66().i6m()) {
|
|
2113
|
+
_get_logger__rkp4sl(this.o9o_1).w('GameEngine_API', 'playerLeft: ' + this.p9o_1 + ' before game is created');
|
|
2114
2114
|
return Unit_instance;
|
|
2115
2115
|
}
|
|
2116
|
-
var tmp_0 = this.
|
|
2116
|
+
var tmp_0 = this.r9o_1.dispatch;
|
|
2117
2117
|
var tmp0_connectionState = PlayerConnectionState_LEFT_getInstance();
|
|
2118
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2118
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.p9o_1));
|
|
2119
2119
|
return Unit_instance;
|
|
2120
2120
|
} else if (tmp === 1) {
|
|
2121
2121
|
throw this.u8_1;
|
|
@@ -2126,39 +2126,39 @@
|
|
|
2126
2126
|
}
|
|
2127
2127
|
while (true);
|
|
2128
2128
|
};
|
|
2129
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2130
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
2131
|
-
i.
|
|
2132
|
-
i.
|
|
2129
|
+
protoOf(GameServer$playerLeft$slambda).i9n = function ($this$dispatchAsync, store, completion) {
|
|
2130
|
+
var i = new GameServer$playerLeft$slambda(this.o9o_1, this.p9o_1, completion);
|
|
2131
|
+
i.q9o_1 = $this$dispatchAsync;
|
|
2132
|
+
i.r9o_1 = store;
|
|
2133
2133
|
return i;
|
|
2134
2134
|
};
|
|
2135
2135
|
function GameServer$playerLeft$slambda_0(this$0, $playerId, resultContinuation) {
|
|
2136
2136
|
var i = new GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation);
|
|
2137
2137
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2138
|
-
return i.
|
|
2138
|
+
return i.h9n($this$dispatchAsync, store, $completion);
|
|
2139
2139
|
};
|
|
2140
2140
|
l.$arity = 2;
|
|
2141
2141
|
return l;
|
|
2142
2142
|
}
|
|
2143
2143
|
function GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2144
|
-
this.
|
|
2145
|
-
this.
|
|
2146
|
-
this.
|
|
2147
|
-
this.
|
|
2148
|
-
this.
|
|
2149
|
-
this.
|
|
2150
|
-
this.
|
|
2144
|
+
this.a9p_1 = $usersArray;
|
|
2145
|
+
this.b9p_1 = $config;
|
|
2146
|
+
this.c9p_1 = this$0;
|
|
2147
|
+
this.d9p_1 = $roomId;
|
|
2148
|
+
this.e9p_1 = $transition;
|
|
2149
|
+
this.f9p_1 = $gameCreatorId;
|
|
2150
|
+
this.g9p_1 = $spectators;
|
|
2151
2151
|
CoroutineImpl.call(this, resultContinuation);
|
|
2152
2152
|
}
|
|
2153
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2154
|
-
var tmp = this.
|
|
2153
|
+
protoOf(GameServer$roomOnCreate$slambda).h9n = function ($this$dispatchAsync, store, $completion) {
|
|
2154
|
+
var tmp = this.i9n($this$dispatchAsync, store, $completion);
|
|
2155
2155
|
tmp.t8_1 = Unit_instance;
|
|
2156
2156
|
tmp.u8_1 = null;
|
|
2157
2157
|
return tmp.z8();
|
|
2158
2158
|
};
|
|
2159
2159
|
protoOf(GameServer$roomOnCreate$slambda).i9 = function (p1, p2, $completion) {
|
|
2160
2160
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2161
|
-
return this.
|
|
2161
|
+
return this.h9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2162
2162
|
};
|
|
2163
2163
|
protoOf(GameServer$roomOnCreate$slambda).z8 = function () {
|
|
2164
2164
|
var suspendResult = this.t8_1;
|
|
@@ -2167,21 +2167,21 @@
|
|
|
2167
2167
|
var tmp = this.r8_1;
|
|
2168
2168
|
if (tmp === 0) {
|
|
2169
2169
|
this.s8_1 = 1;
|
|
2170
|
-
var users = toList(this.
|
|
2171
|
-
if (!(this.
|
|
2172
|
-
_get_logger__rkp4sl(this.
|
|
2173
|
-
this.
|
|
2170
|
+
var users = toList(this.a9p_1);
|
|
2171
|
+
if (!(this.b9p_1.playersMode.count === users.o())) {
|
|
2172
|
+
_get_logger__rkp4sl(this.c9p_1).w('GameEngine_API', 'roomOnCreate: wrong player count for game ' + this.d9p_1 + ', config = ' + this.b9p_1.toString() + ', users = ' + toString(users));
|
|
2173
|
+
this.i9p_1.dispatch(Companion_instance.fromTableWithAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.c9p_1.table.isGameFinished, this.c9p_1.table));
|
|
2174
2174
|
return Unit_instance;
|
|
2175
2175
|
}
|
|
2176
2176
|
var tmp_0;
|
|
2177
|
-
if (this.
|
|
2178
|
-
tmp_0 = _get_random__h29cgo(this.
|
|
2177
|
+
if (this.b9p_1.mode.shufflePlayers && this.e9p_1 == null) {
|
|
2178
|
+
tmp_0 = _get_random__h29cgo(this.c9p_1).o5d(toMutableList(users));
|
|
2179
2179
|
} else {
|
|
2180
|
-
var tmp0_safe_receiver = this.
|
|
2180
|
+
var tmp0_safe_receiver = this.e9p_1;
|
|
2181
2181
|
var previousPlayers = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.previousPlayers;
|
|
2182
2182
|
var tmp_1;
|
|
2183
|
-
if (!(previousPlayers == null) && this.
|
|
2184
|
-
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.
|
|
2183
|
+
if (!(previousPlayers == null) && this.b9p_1.playersMode.isTeamGame) {
|
|
2184
|
+
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.c9p_1);
|
|
2185
2185
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(previousPlayers, 10));
|
|
2186
2186
|
var _iterator__ex2g4s = previousPlayers.l();
|
|
2187
2187
|
while (_iterator__ex2g4s.m()) {
|
|
@@ -2212,19 +2212,19 @@
|
|
|
2212
2212
|
destination_1.j(destination_2);
|
|
2213
2213
|
}
|
|
2214
2214
|
var updatedTeams = destination_1;
|
|
2215
|
-
tmp_1 = _get_teamsLogicProvider__u10pm6(this.
|
|
2215
|
+
tmp_1 = _get_teamsLogicProvider__u10pm6(this.c9p_1).g8i(updatedTeams);
|
|
2216
2216
|
} else {
|
|
2217
2217
|
tmp_1 = users;
|
|
2218
2218
|
}
|
|
2219
2219
|
tmp_0 = tmp_1;
|
|
2220
2220
|
}
|
|
2221
2221
|
var updatedUsers = tmp_0;
|
|
2222
|
-
var gameCreatorUser = getPlayer(users, this.
|
|
2223
|
-
var tmp_3 = this.
|
|
2222
|
+
var gameCreatorUser = getPlayer(users, this.f9p_1);
|
|
2223
|
+
var tmp_3 = this.i9p_1.dispatch;
|
|
2224
2224
|
var tmp1_version = get_versionOrDefault(GameEngineConfig_instance);
|
|
2225
2225
|
var tmp2_users = sortWithItem(updatedUsers, gameCreatorUser);
|
|
2226
|
-
var tmp3_spectators = toList(this.
|
|
2227
|
-
tmp_3(new StartGameMechanicAction(this.
|
|
2226
|
+
var tmp3_spectators = toList(this.g9p_1);
|
|
2227
|
+
tmp_3(new StartGameMechanicAction(this.b9p_1, this.d9p_1, tmp1_version, this.f9p_1, tmp2_users, VOID, tmp3_spectators));
|
|
2228
2228
|
return Unit_instance;
|
|
2229
2229
|
} else if (tmp === 1) {
|
|
2230
2230
|
throw this.u8_1;
|
|
@@ -2235,33 +2235,33 @@
|
|
|
2235
2235
|
}
|
|
2236
2236
|
while (true);
|
|
2237
2237
|
};
|
|
2238
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2239
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
2240
|
-
i.
|
|
2241
|
-
i.
|
|
2238
|
+
protoOf(GameServer$roomOnCreate$slambda).i9n = function ($this$dispatchAsync, store, completion) {
|
|
2239
|
+
var i = new GameServer$roomOnCreate$slambda(this.a9p_1, this.b9p_1, this.c9p_1, this.d9p_1, this.e9p_1, this.f9p_1, this.g9p_1, completion);
|
|
2240
|
+
i.h9p_1 = $this$dispatchAsync;
|
|
2241
|
+
i.i9p_1 = store;
|
|
2242
2242
|
return i;
|
|
2243
2243
|
};
|
|
2244
2244
|
function GameServer$roomOnCreate$slambda_0($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2245
2245
|
var i = new GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation);
|
|
2246
2246
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2247
|
-
return i.
|
|
2247
|
+
return i.h9n($this$dispatchAsync, store, $completion);
|
|
2248
2248
|
};
|
|
2249
2249
|
l.$arity = 2;
|
|
2250
2250
|
return l;
|
|
2251
2251
|
}
|
|
2252
2252
|
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
2253
|
-
this.
|
|
2253
|
+
this.r9p_1 = $state;
|
|
2254
2254
|
CoroutineImpl.call(this, resultContinuation);
|
|
2255
2255
|
}
|
|
2256
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2257
|
-
var tmp = this.
|
|
2256
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).h9n = function ($this$dispatchAsync, store, $completion) {
|
|
2257
|
+
var tmp = this.i9n($this$dispatchAsync, store, $completion);
|
|
2258
2258
|
tmp.t8_1 = Unit_instance;
|
|
2259
2259
|
tmp.u8_1 = null;
|
|
2260
2260
|
return tmp.z8();
|
|
2261
2261
|
};
|
|
2262
2262
|
protoOf(GameServer$roomOnContinueFromState$slambda).i9 = function (p1, p2, $completion) {
|
|
2263
2263
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2264
|
-
return this.
|
|
2264
|
+
return this.h9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2265
2265
|
};
|
|
2266
2266
|
protoOf(GameServer$roomOnContinueFromState$slambda).z8 = function () {
|
|
2267
2267
|
var suspendResult = this.t8_1;
|
|
@@ -2270,9 +2270,9 @@
|
|
|
2270
2270
|
var tmp = this.r8_1;
|
|
2271
2271
|
if (tmp === 0) {
|
|
2272
2272
|
this.s8_1 = 1;
|
|
2273
|
-
var tmp_0 = this.
|
|
2273
|
+
var tmp_0 = this.t9p_1.dispatch;
|
|
2274
2274
|
var tmp0_reason = new RestartRoundReason(null);
|
|
2275
|
-
var tmp1_table = this.
|
|
2275
|
+
var tmp1_table = this.r9p_1.table;
|
|
2276
2276
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2277
2277
|
return Unit_instance;
|
|
2278
2278
|
} else if (tmp === 1) {
|
|
@@ -2284,33 +2284,33 @@
|
|
|
2284
2284
|
}
|
|
2285
2285
|
while (true);
|
|
2286
2286
|
};
|
|
2287
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2288
|
-
var i = new GameServer$roomOnContinueFromState$slambda(this.
|
|
2289
|
-
i.
|
|
2290
|
-
i.
|
|
2287
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).i9n = function ($this$dispatchAsync, store, completion) {
|
|
2288
|
+
var i = new GameServer$roomOnContinueFromState$slambda(this.r9p_1, completion);
|
|
2289
|
+
i.s9p_1 = $this$dispatchAsync;
|
|
2290
|
+
i.t9p_1 = store;
|
|
2291
2291
|
return i;
|
|
2292
2292
|
};
|
|
2293
2293
|
function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
|
|
2294
2294
|
var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
|
|
2295
2295
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2296
|
-
return i.
|
|
2296
|
+
return i.h9n($this$dispatchAsync, store, $completion);
|
|
2297
2297
|
};
|
|
2298
2298
|
l.$arity = 2;
|
|
2299
2299
|
return l;
|
|
2300
2300
|
}
|
|
2301
2301
|
function GameServer$roomOnContinueFromState$slambda_1($state, resultContinuation) {
|
|
2302
|
-
this.
|
|
2302
|
+
this.c9q_1 = $state;
|
|
2303
2303
|
CoroutineImpl.call(this, resultContinuation);
|
|
2304
2304
|
}
|
|
2305
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2306
|
-
var tmp = this.
|
|
2305
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).h9n = function ($this$dispatchAsync, store, $completion) {
|
|
2306
|
+
var tmp = this.i9n($this$dispatchAsync, store, $completion);
|
|
2307
2307
|
tmp.t8_1 = Unit_instance;
|
|
2308
2308
|
tmp.u8_1 = null;
|
|
2309
2309
|
return tmp.z8();
|
|
2310
2310
|
};
|
|
2311
2311
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).i9 = function (p1, p2, $completion) {
|
|
2312
2312
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2313
|
-
return this.
|
|
2313
|
+
return this.h9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2314
2314
|
};
|
|
2315
2315
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).z8 = function () {
|
|
2316
2316
|
var suspendResult = this.t8_1;
|
|
@@ -2319,10 +2319,10 @@
|
|
|
2319
2319
|
var tmp = this.r8_1;
|
|
2320
2320
|
if (tmp === 0) {
|
|
2321
2321
|
this.s8_1 = 1;
|
|
2322
|
-
var _iterator__ex2g4s = this.
|
|
2322
|
+
var _iterator__ex2g4s = this.c9q_1.actions.l();
|
|
2323
2323
|
while (_iterator__ex2g4s.m()) {
|
|
2324
2324
|
var element = _iterator__ex2g4s.n();
|
|
2325
|
-
this.
|
|
2325
|
+
this.e9q_1.dispatch(element);
|
|
2326
2326
|
}
|
|
2327
2327
|
return Unit_instance;
|
|
2328
2328
|
} else if (tmp === 1) {
|
|
@@ -2334,35 +2334,35 @@
|
|
|
2334
2334
|
}
|
|
2335
2335
|
while (true);
|
|
2336
2336
|
};
|
|
2337
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2338
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1(this.
|
|
2339
|
-
i.
|
|
2340
|
-
i.
|
|
2337
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).i9n = function ($this$dispatchAsync, store, completion) {
|
|
2338
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1(this.c9q_1, completion);
|
|
2339
|
+
i.d9q_1 = $this$dispatchAsync;
|
|
2340
|
+
i.e9q_1 = store;
|
|
2341
2341
|
return i;
|
|
2342
2342
|
};
|
|
2343
2343
|
function GameServer$roomOnContinueFromState$slambda_2($state, resultContinuation) {
|
|
2344
2344
|
var i = new GameServer$roomOnContinueFromState$slambda_1($state, resultContinuation);
|
|
2345
2345
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2346
|
-
return i.
|
|
2346
|
+
return i.h9n($this$dispatchAsync, store, $completion);
|
|
2347
2347
|
};
|
|
2348
2348
|
l.$arity = 2;
|
|
2349
2349
|
return l;
|
|
2350
2350
|
}
|
|
2351
2351
|
function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation) {
|
|
2352
|
-
this.
|
|
2353
|
-
this.
|
|
2354
|
-
this.
|
|
2352
|
+
this.n9q_1 = $tableLite;
|
|
2353
|
+
this.o9q_1 = $roomId;
|
|
2354
|
+
this.p9q_1 = this$0;
|
|
2355
2355
|
CoroutineImpl.call(this, resultContinuation);
|
|
2356
2356
|
}
|
|
2357
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2358
|
-
var tmp = this.
|
|
2357
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).h9n = function ($this$dispatchAsync, store, $completion) {
|
|
2358
|
+
var tmp = this.i9n($this$dispatchAsync, store, $completion);
|
|
2359
2359
|
tmp.t8_1 = Unit_instance;
|
|
2360
2360
|
tmp.u8_1 = null;
|
|
2361
2361
|
return tmp.z8();
|
|
2362
2362
|
};
|
|
2363
2363
|
protoOf(GameServer$roomOnContinueFromRound$slambda).i9 = function (p1, p2, $completion) {
|
|
2364
2364
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2365
|
-
return this.
|
|
2365
|
+
return this.h9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2366
2366
|
};
|
|
2367
2367
|
protoOf(GameServer$roomOnContinueFromRound$slambda).z8 = function () {
|
|
2368
2368
|
var suspendResult = this.t8_1;
|
|
@@ -2371,9 +2371,9 @@
|
|
|
2371
2371
|
var tmp = this.r8_1;
|
|
2372
2372
|
if (tmp === 0) {
|
|
2373
2373
|
this.s8_1 = 1;
|
|
2374
|
-
var tmp_0 = this.
|
|
2375
|
-
var tmp0_reason = new RestartRoundReason(this.
|
|
2376
|
-
var tmp1_table = Companion_instance_0.restartRound(this.
|
|
2374
|
+
var tmp_0 = this.r9q_1.dispatch;
|
|
2375
|
+
var tmp0_reason = new RestartRoundReason(this.n9q_1.gameInfo.round.roundNumber);
|
|
2376
|
+
var tmp1_table = Companion_instance_0.restartRound(this.o9q_1, _get_idsProvider__fnfajc(this.p9q_1).h6d(), get_versionOrDefault(GameEngineConfig_instance), this.n9q_1);
|
|
2377
2377
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2378
2378
|
return Unit_instance;
|
|
2379
2379
|
} else if (tmp === 1) {
|
|
@@ -2385,16 +2385,16 @@
|
|
|
2385
2385
|
}
|
|
2386
2386
|
while (true);
|
|
2387
2387
|
};
|
|
2388
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2389
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
2390
|
-
i.
|
|
2391
|
-
i.
|
|
2388
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).i9n = function ($this$dispatchAsync, store, completion) {
|
|
2389
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.n9q_1, this.o9q_1, this.p9q_1, completion);
|
|
2390
|
+
i.q9q_1 = $this$dispatchAsync;
|
|
2391
|
+
i.r9q_1 = store;
|
|
2392
2392
|
return i;
|
|
2393
2393
|
};
|
|
2394
2394
|
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, resultContinuation) {
|
|
2395
2395
|
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation);
|
|
2396
2396
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2397
|
-
return i.
|
|
2397
|
+
return i.h9n($this$dispatchAsync, store, $completion);
|
|
2398
2398
|
};
|
|
2399
2399
|
l.$arity = 2;
|
|
2400
2400
|
return l;
|
|
@@ -2402,15 +2402,15 @@
|
|
|
2402
2402
|
function GameServer$roomOnContinueFromRound$slambda_1(resultContinuation) {
|
|
2403
2403
|
CoroutineImpl.call(this, resultContinuation);
|
|
2404
2404
|
}
|
|
2405
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2406
|
-
var tmp = this.
|
|
2405
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).h9n = function ($this$dispatchAsync, store, $completion) {
|
|
2406
|
+
var tmp = this.i9n($this$dispatchAsync, store, $completion);
|
|
2407
2407
|
tmp.t8_1 = Unit_instance;
|
|
2408
2408
|
tmp.u8_1 = null;
|
|
2409
2409
|
return tmp.z8();
|
|
2410
2410
|
};
|
|
2411
2411
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).i9 = function (p1, p2, $completion) {
|
|
2412
2412
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2413
|
-
return this.
|
|
2413
|
+
return this.h9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2414
2414
|
};
|
|
2415
2415
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).z8 = function () {
|
|
2416
2416
|
var suspendResult = this.t8_1;
|
|
@@ -2419,7 +2419,7 @@
|
|
|
2419
2419
|
var tmp = this.r8_1;
|
|
2420
2420
|
if (tmp === 0) {
|
|
2421
2421
|
this.s8_1 = 1;
|
|
2422
|
-
this.
|
|
2422
|
+
this.b9r_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
2423
2423
|
return Unit_instance;
|
|
2424
2424
|
} else if (tmp === 1) {
|
|
2425
2425
|
throw this.u8_1;
|
|
@@ -2430,33 +2430,33 @@
|
|
|
2430
2430
|
}
|
|
2431
2431
|
while (true);
|
|
2432
2432
|
};
|
|
2433
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2433
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).i9n = function ($this$dispatchAsync, store, completion) {
|
|
2434
2434
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
2435
|
-
i.
|
|
2436
|
-
i.
|
|
2435
|
+
i.a9r_1 = $this$dispatchAsync;
|
|
2436
|
+
i.b9r_1 = store;
|
|
2437
2437
|
return i;
|
|
2438
2438
|
};
|
|
2439
2439
|
function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
|
|
2440
2440
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(resultContinuation);
|
|
2441
2441
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2442
|
-
return i.
|
|
2442
|
+
return i.h9n($this$dispatchAsync, store, $completion);
|
|
2443
2443
|
};
|
|
2444
2444
|
l.$arity = 2;
|
|
2445
2445
|
return l;
|
|
2446
2446
|
}
|
|
2447
2447
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
2448
|
-
this.
|
|
2448
|
+
this.k9r_1 = $spectators;
|
|
2449
2449
|
CoroutineImpl.call(this, resultContinuation);
|
|
2450
2450
|
}
|
|
2451
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2452
|
-
var tmp = this.
|
|
2451
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).h9n = function ($this$dispatchAsync, store, $completion) {
|
|
2452
|
+
var tmp = this.i9n($this$dispatchAsync, store, $completion);
|
|
2453
2453
|
tmp.t8_1 = Unit_instance;
|
|
2454
2454
|
tmp.u8_1 = null;
|
|
2455
2455
|
return tmp.z8();
|
|
2456
2456
|
};
|
|
2457
2457
|
protoOf(GameServer$addSpectatorsToRoom$slambda).i9 = function (p1, p2, $completion) {
|
|
2458
2458
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2459
|
-
return this.
|
|
2459
|
+
return this.h9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2460
2460
|
};
|
|
2461
2461
|
protoOf(GameServer$addSpectatorsToRoom$slambda).z8 = function () {
|
|
2462
2462
|
var suspendResult = this.t8_1;
|
|
@@ -2465,7 +2465,7 @@
|
|
|
2465
2465
|
var tmp = this.r8_1;
|
|
2466
2466
|
if (tmp === 0) {
|
|
2467
2467
|
this.s8_1 = 1;
|
|
2468
|
-
this.
|
|
2468
|
+
this.m9r_1.dispatch(new AddSpectatorsAction(toList(this.k9r_1)));
|
|
2469
2469
|
return Unit_instance;
|
|
2470
2470
|
} else if (tmp === 1) {
|
|
2471
2471
|
throw this.u8_1;
|
|
@@ -2476,33 +2476,33 @@
|
|
|
2476
2476
|
}
|
|
2477
2477
|
while (true);
|
|
2478
2478
|
};
|
|
2479
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2480
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
2481
|
-
i.
|
|
2482
|
-
i.
|
|
2479
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).i9n = function ($this$dispatchAsync, store, completion) {
|
|
2480
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.k9r_1, completion);
|
|
2481
|
+
i.l9r_1 = $this$dispatchAsync;
|
|
2482
|
+
i.m9r_1 = store;
|
|
2483
2483
|
return i;
|
|
2484
2484
|
};
|
|
2485
2485
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
2486
2486
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
2487
2487
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2488
|
-
return i.
|
|
2488
|
+
return i.h9n($this$dispatchAsync, store, $completion);
|
|
2489
2489
|
};
|
|
2490
2490
|
l.$arity = 2;
|
|
2491
2491
|
return l;
|
|
2492
2492
|
}
|
|
2493
2493
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
2494
|
-
this.
|
|
2494
|
+
this.v9r_1 = $spectators;
|
|
2495
2495
|
CoroutineImpl.call(this, resultContinuation);
|
|
2496
2496
|
}
|
|
2497
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2498
|
-
var tmp = this.
|
|
2497
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).h9n = function ($this$dispatchAsync, store, $completion) {
|
|
2498
|
+
var tmp = this.i9n($this$dispatchAsync, store, $completion);
|
|
2499
2499
|
tmp.t8_1 = Unit_instance;
|
|
2500
2500
|
tmp.u8_1 = null;
|
|
2501
2501
|
return tmp.z8();
|
|
2502
2502
|
};
|
|
2503
2503
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).i9 = function (p1, p2, $completion) {
|
|
2504
2504
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2505
|
-
return this.
|
|
2505
|
+
return this.h9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2506
2506
|
};
|
|
2507
2507
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).z8 = function () {
|
|
2508
2508
|
var suspendResult = this.t8_1;
|
|
@@ -2511,7 +2511,7 @@
|
|
|
2511
2511
|
var tmp = this.r8_1;
|
|
2512
2512
|
if (tmp === 0) {
|
|
2513
2513
|
this.s8_1 = 1;
|
|
2514
|
-
this.
|
|
2514
|
+
this.x9r_1.dispatch(new RemoveSpectatorsAction(toList(this.v9r_1)));
|
|
2515
2515
|
return Unit_instance;
|
|
2516
2516
|
} else if (tmp === 1) {
|
|
2517
2517
|
throw this.u8_1;
|
|
@@ -2522,34 +2522,34 @@
|
|
|
2522
2522
|
}
|
|
2523
2523
|
while (true);
|
|
2524
2524
|
};
|
|
2525
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2526
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
2527
|
-
i.
|
|
2528
|
-
i.
|
|
2525
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).i9n = function ($this$dispatchAsync, store, completion) {
|
|
2526
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.v9r_1, completion);
|
|
2527
|
+
i.w9r_1 = $this$dispatchAsync;
|
|
2528
|
+
i.x9r_1 = store;
|
|
2529
2529
|
return i;
|
|
2530
2530
|
};
|
|
2531
2531
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
2532
2532
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
2533
2533
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2534
|
-
return i.
|
|
2534
|
+
return i.h9n($this$dispatchAsync, store, $completion);
|
|
2535
2535
|
};
|
|
2536
2536
|
l.$arity = 2;
|
|
2537
2537
|
return l;
|
|
2538
2538
|
}
|
|
2539
2539
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
2540
|
-
this.
|
|
2541
|
-
this.
|
|
2540
|
+
this.g9s_1 = $playerId;
|
|
2541
|
+
this.h9s_1 = this$0;
|
|
2542
2542
|
CoroutineImpl.call(this, resultContinuation);
|
|
2543
2543
|
}
|
|
2544
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2545
|
-
var tmp = this.
|
|
2544
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).h9n = function ($this$dispatchAsync, store, $completion) {
|
|
2545
|
+
var tmp = this.i9n($this$dispatchAsync, store, $completion);
|
|
2546
2546
|
tmp.t8_1 = Unit_instance;
|
|
2547
2547
|
tmp.u8_1 = null;
|
|
2548
2548
|
return tmp.z8();
|
|
2549
2549
|
};
|
|
2550
2550
|
protoOf(GameServer$roomRefreshPlayerState$slambda).i9 = function (p1, p2, $completion) {
|
|
2551
2551
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2552
|
-
return this.
|
|
2552
|
+
return this.h9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2553
2553
|
};
|
|
2554
2554
|
protoOf(GameServer$roomRefreshPlayerState$slambda).z8 = function () {
|
|
2555
2555
|
var suspendResult = this.t8_1;
|
|
@@ -2558,14 +2558,14 @@
|
|
|
2558
2558
|
var tmp = this.r8_1;
|
|
2559
2559
|
if (tmp === 0) {
|
|
2560
2560
|
this.s8_1 = 1;
|
|
2561
|
-
var table = this.
|
|
2562
|
-
var player = getPlayer(table.players, this.
|
|
2561
|
+
var table = this.j9s_1.state.h6m();
|
|
2562
|
+
var player = getPlayer(table.players, this.g9s_1);
|
|
2563
2563
|
if (player.s6p_1.v68().m67_1.isLive) {
|
|
2564
|
-
this.
|
|
2564
|
+
this.j9s_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.h9s_1).w8o(player, table));
|
|
2565
2565
|
} else {
|
|
2566
|
-
var tmp_0 = this.
|
|
2566
|
+
var tmp_0 = this.j9s_1.dispatch;
|
|
2567
2567
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2568
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2568
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.g9s_1));
|
|
2569
2569
|
}
|
|
2570
2570
|
return Unit_instance;
|
|
2571
2571
|
} else if (tmp === 1) {
|
|
@@ -2577,34 +2577,34 @@
|
|
|
2577
2577
|
}
|
|
2578
2578
|
while (true);
|
|
2579
2579
|
};
|
|
2580
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2581
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
2582
|
-
i.
|
|
2583
|
-
i.
|
|
2580
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).i9n = function ($this$dispatchAsync, store, completion) {
|
|
2581
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.g9s_1, this.h9s_1, completion);
|
|
2582
|
+
i.i9s_1 = $this$dispatchAsync;
|
|
2583
|
+
i.j9s_1 = store;
|
|
2584
2584
|
return i;
|
|
2585
2585
|
};
|
|
2586
2586
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
2587
2587
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
2588
2588
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2589
|
-
return i.
|
|
2589
|
+
return i.h9n($this$dispatchAsync, store, $completion);
|
|
2590
2590
|
};
|
|
2591
2591
|
l.$arity = 2;
|
|
2592
2592
|
return l;
|
|
2593
2593
|
}
|
|
2594
2594
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
2595
|
-
this.
|
|
2596
|
-
this.
|
|
2595
|
+
this.s9s_1 = this$0;
|
|
2596
|
+
this.t9s_1 = $newRid;
|
|
2597
2597
|
CoroutineImpl.call(this, resultContinuation);
|
|
2598
2598
|
}
|
|
2599
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2600
|
-
var tmp = this.
|
|
2599
|
+
protoOf(GameServer$roomOnDelete$slambda).h9n = function ($this$dispatchAsync, store, $completion) {
|
|
2600
|
+
var tmp = this.i9n($this$dispatchAsync, store, $completion);
|
|
2601
2601
|
tmp.t8_1 = Unit_instance;
|
|
2602
2602
|
tmp.u8_1 = null;
|
|
2603
2603
|
return tmp.z8();
|
|
2604
2604
|
};
|
|
2605
2605
|
protoOf(GameServer$roomOnDelete$slambda).i9 = function (p1, p2, $completion) {
|
|
2606
2606
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2607
|
-
return this.
|
|
2607
|
+
return this.h9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2608
2608
|
};
|
|
2609
2609
|
protoOf(GameServer$roomOnDelete$slambda).z8 = function () {
|
|
2610
2610
|
var suspendResult = this.t8_1;
|
|
@@ -2613,10 +2613,10 @@
|
|
|
2613
2613
|
var tmp = this.r8_1;
|
|
2614
2614
|
if (tmp === 0) {
|
|
2615
2615
|
this.s8_1 = 1;
|
|
2616
|
-
var it = this.
|
|
2616
|
+
var it = this.s9s_1.s66().t6l_1;
|
|
2617
2617
|
var tmp_0;
|
|
2618
2618
|
if (it == null) {
|
|
2619
|
-
_get_logger__rkp4sl(this.
|
|
2619
|
+
_get_logger__rkp4sl(this.s9s_1).w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
2620
2620
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
2621
2621
|
} else {
|
|
2622
2622
|
tmp_0 = it;
|
|
@@ -2625,15 +2625,15 @@
|
|
|
2625
2625
|
var gameTransition = terminationState.t8s_1;
|
|
2626
2626
|
var tmp_1;
|
|
2627
2627
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
2628
|
-
var tmp0_elvis_lhs = this.
|
|
2628
|
+
var tmp0_elvis_lhs = this.t9s_1;
|
|
2629
2629
|
tmp_1 = gameTransition.copy(tmp0_elvis_lhs == null ? gameTransition.roomId : tmp0_elvis_lhs);
|
|
2630
2630
|
} else {
|
|
2631
2631
|
tmp_1 = gameTransition;
|
|
2632
2632
|
}
|
|
2633
2633
|
var transition = tmp_1;
|
|
2634
|
-
var tmp_2 = this.
|
|
2634
|
+
var tmp_2 = this.v9s_1.dispatch;
|
|
2635
2635
|
var tmp0_reason = terminationState.s8s_1;
|
|
2636
|
-
var tmp1_isGameFinished = this.
|
|
2636
|
+
var tmp1_isGameFinished = this.s9s_1.s66().h6m().isGameFinished;
|
|
2637
2637
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
2638
2638
|
return Unit_instance;
|
|
2639
2639
|
} else if (tmp === 1) {
|
|
@@ -2645,33 +2645,33 @@
|
|
|
2645
2645
|
}
|
|
2646
2646
|
while (true);
|
|
2647
2647
|
};
|
|
2648
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2649
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
2650
|
-
i.
|
|
2651
|
-
i.
|
|
2648
|
+
protoOf(GameServer$roomOnDelete$slambda).i9n = function ($this$dispatchAsync, store, completion) {
|
|
2649
|
+
var i = new GameServer$roomOnDelete$slambda(this.s9s_1, this.t9s_1, completion);
|
|
2650
|
+
i.u9s_1 = $this$dispatchAsync;
|
|
2651
|
+
i.v9s_1 = store;
|
|
2652
2652
|
return i;
|
|
2653
2653
|
};
|
|
2654
2654
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
2655
2655
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
2656
2656
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2657
|
-
return i.
|
|
2657
|
+
return i.h9n($this$dispatchAsync, store, $completion);
|
|
2658
2658
|
};
|
|
2659
2659
|
l.$arity = 2;
|
|
2660
2660
|
return l;
|
|
2661
2661
|
}
|
|
2662
2662
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
2663
|
-
this.
|
|
2663
|
+
this.e9t_1 = $enabled;
|
|
2664
2664
|
CoroutineImpl.call(this, resultContinuation);
|
|
2665
2665
|
}
|
|
2666
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2667
|
-
var tmp = this.
|
|
2666
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).h9n = function ($this$dispatchAsync, store, $completion) {
|
|
2667
|
+
var tmp = this.i9n($this$dispatchAsync, store, $completion);
|
|
2668
2668
|
tmp.t8_1 = Unit_instance;
|
|
2669
2669
|
tmp.u8_1 = null;
|
|
2670
2670
|
return tmp.z8();
|
|
2671
2671
|
};
|
|
2672
2672
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).i9 = function (p1, p2, $completion) {
|
|
2673
2673
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2674
|
-
return this.
|
|
2674
|
+
return this.h9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2675
2675
|
};
|
|
2676
2676
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).z8 = function () {
|
|
2677
2677
|
var suspendResult = this.t8_1;
|
|
@@ -2680,7 +2680,7 @@
|
|
|
2680
2680
|
var tmp = this.r8_1;
|
|
2681
2681
|
if (tmp === 0) {
|
|
2682
2682
|
this.s8_1 = 1;
|
|
2683
|
-
this.
|
|
2683
|
+
this.g9t_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload_0(this.g9t_1.state).config.copy(VOID, this.e9t_1)));
|
|
2684
2684
|
return Unit_instance;
|
|
2685
2685
|
} else if (tmp === 1) {
|
|
2686
2686
|
throw this.u8_1;
|
|
@@ -2691,35 +2691,35 @@
|
|
|
2691
2691
|
}
|
|
2692
2692
|
while (true);
|
|
2693
2693
|
};
|
|
2694
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2695
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
2696
|
-
i.
|
|
2697
|
-
i.
|
|
2694
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).i9n = function ($this$dispatchAsync, store, completion) {
|
|
2695
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.e9t_1, completion);
|
|
2696
|
+
i.f9t_1 = $this$dispatchAsync;
|
|
2697
|
+
i.g9t_1 = store;
|
|
2698
2698
|
return i;
|
|
2699
2699
|
};
|
|
2700
2700
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
2701
2701
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
2702
2702
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2703
|
-
return i.
|
|
2703
|
+
return i.h9n($this$dispatchAsync, store, $completion);
|
|
2704
2704
|
};
|
|
2705
2705
|
l.$arity = 2;
|
|
2706
2706
|
return l;
|
|
2707
2707
|
}
|
|
2708
2708
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
2709
|
-
this.
|
|
2710
|
-
this.
|
|
2711
|
-
this.
|
|
2709
|
+
this.p9t_1 = $reason;
|
|
2710
|
+
this.q9t_1 = this$0;
|
|
2711
|
+
this.r9t_1 = $roomId;
|
|
2712
2712
|
CoroutineImpl.call(this, resultContinuation);
|
|
2713
2713
|
}
|
|
2714
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2715
|
-
var tmp = this.
|
|
2714
|
+
protoOf(GameServer$shutdown$slambda).h9n = function ($this$dispatchAsync, store, $completion) {
|
|
2715
|
+
var tmp = this.i9n($this$dispatchAsync, store, $completion);
|
|
2716
2716
|
tmp.t8_1 = Unit_instance;
|
|
2717
2717
|
tmp.u8_1 = null;
|
|
2718
2718
|
return tmp.z8();
|
|
2719
2719
|
};
|
|
2720
2720
|
protoOf(GameServer$shutdown$slambda).i9 = function (p1, p2, $completion) {
|
|
2721
2721
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2722
|
-
return this.
|
|
2722
|
+
return this.h9n(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2723
2723
|
};
|
|
2724
2724
|
protoOf(GameServer$shutdown$slambda).z8 = function () {
|
|
2725
2725
|
var suspendResult = this.t8_1;
|
|
@@ -2728,11 +2728,11 @@
|
|
|
2728
2728
|
var tmp = this.r8_1;
|
|
2729
2729
|
if (tmp === 0) {
|
|
2730
2730
|
this.s8_1 = 1;
|
|
2731
|
-
var state = this.
|
|
2731
|
+
var state = this.t9t_1.store.state;
|
|
2732
2732
|
if (state.i6m()) {
|
|
2733
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
2733
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.p9t_1, get_serverShutdownReasonMapping());
|
|
2734
2734
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
2735
|
-
var tmp_0 = this.
|
|
2735
|
+
var tmp_0 = this.t9t_1.dispatch;
|
|
2736
2736
|
var tmp_1 = Companion_instance;
|
|
2737
2737
|
var tmp_2;
|
|
2738
2738
|
switch (shutdownReason.p2_1) {
|
|
@@ -2746,10 +2746,10 @@
|
|
|
2746
2746
|
noWhenBranchMatchedException();
|
|
2747
2747
|
break;
|
|
2748
2748
|
}
|
|
2749
|
-
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.
|
|
2749
|
+
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.q9t_1.table.isGameFinished, this.q9t_1.table));
|
|
2750
2750
|
} else {
|
|
2751
|
-
_get_logger__rkp4sl(this.
|
|
2752
|
-
var tmp_3 = this.
|
|
2751
|
+
_get_logger__rkp4sl(this.q9t_1).w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.r9t_1);
|
|
2752
|
+
var tmp_3 = this.t9t_1.dispatch;
|
|
2753
2753
|
var tmp2_safe_receiver = state.t6l_1;
|
|
2754
2754
|
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.t8s_1));
|
|
2755
2755
|
}
|
|
@@ -2763,16 +2763,16 @@
|
|
|
2763
2763
|
}
|
|
2764
2764
|
while (true);
|
|
2765
2765
|
};
|
|
2766
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2767
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
2768
|
-
i.
|
|
2769
|
-
i.
|
|
2766
|
+
protoOf(GameServer$shutdown$slambda).i9n = function ($this$dispatchAsync, store, completion) {
|
|
2767
|
+
var i = new GameServer$shutdown$slambda(this.p9t_1, this.q9t_1, this.r9t_1, completion);
|
|
2768
|
+
i.s9t_1 = $this$dispatchAsync;
|
|
2769
|
+
i.t9t_1 = store;
|
|
2770
2770
|
return i;
|
|
2771
2771
|
};
|
|
2772
2772
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
2773
2773
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
2774
2774
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2775
|
-
return i.
|
|
2775
|
+
return i.h9n($this$dispatchAsync, store, $completion);
|
|
2776
2776
|
};
|
|
2777
2777
|
l.$arity = 2;
|
|
2778
2778
|
return l;
|
|
@@ -2803,7 +2803,7 @@
|
|
|
2803
2803
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
2804
2804
|
var tmp_3 = Instance(di, tmp$ret$2, null);
|
|
2805
2805
|
var tmp_4 = KProperty1;
|
|
2806
|
-
tmp_1.
|
|
2806
|
+
tmp_1.z9j_1 = tmp_3.u64(this, getPropertyCallableRef('logger', 1, tmp_4, GameServer$_get_logger_$ref_fogce1(), null));
|
|
2807
2807
|
var tmp_5 = this;
|
|
2808
2808
|
// Inline function 'org.kodein.di.instance' call
|
|
2809
2809
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2811,7 +2811,7 @@
|
|
|
2811
2811
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
2812
2812
|
var tmp_7 = Instance(di, tmp$ret$4, null);
|
|
2813
2813
|
var tmp_8 = KProperty1;
|
|
2814
|
-
tmp_5.
|
|
2814
|
+
tmp_5.a9k_1 = tmp_7.u64(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_8, GameServer$_get_toClientEventsObserver_$ref_utir8s(), null));
|
|
2815
2815
|
var tmp_9 = this;
|
|
2816
2816
|
// Inline function 'org.kodein.di.instance' call
|
|
2817
2817
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2819,7 +2819,7 @@
|
|
|
2819
2819
|
var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
2820
2820
|
var tmp_11 = Instance(di, tmp$ret$6, null);
|
|
2821
2821
|
var tmp_12 = KProperty1;
|
|
2822
|
-
tmp_9.
|
|
2822
|
+
tmp_9.b9k_1 = tmp_11.u64(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_12, GameServer$_get_fromClientEventsObserver_$ref_nf1g79(), null));
|
|
2823
2823
|
var tmp_13 = this;
|
|
2824
2824
|
// Inline function 'org.kodein.di.instance' call
|
|
2825
2825
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2827,7 +2827,7 @@
|
|
|
2827
2827
|
var tmp$ret$8 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
2828
2828
|
var tmp_15 = Instance(di, tmp$ret$8, null);
|
|
2829
2829
|
var tmp_16 = KProperty1;
|
|
2830
|
-
tmp_13.
|
|
2830
|
+
tmp_13.c9k_1 = tmp_15.u64(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_16, GameServer$_get_playerConnectionInteractor_$ref_of8tan(), null));
|
|
2831
2831
|
var tmp_17 = this;
|
|
2832
2832
|
// Inline function 'org.kodein.di.instance' call
|
|
2833
2833
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2835,9 +2835,9 @@
|
|
|
2835
2835
|
var tmp$ret$10 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
2836
2836
|
var tmp_19 = Instance(di, tmp$ret$10, null);
|
|
2837
2837
|
var tmp_20 = KProperty1;
|
|
2838
|
-
tmp_17.
|
|
2838
|
+
tmp_17.d9k_1 = tmp_19.u64(this, getPropertyCallableRef('teamsLogicProvider', 1, tmp_20, GameServer$_get_teamsLogicProvider_$ref_b7y54g(), null));
|
|
2839
2839
|
var tmp_21 = this;
|
|
2840
|
-
tmp_21.
|
|
2840
|
+
tmp_21.e9k_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
2841
2841
|
var tmp_22 = this;
|
|
2842
2842
|
// Inline function 'org.kodein.di.instance' call
|
|
2843
2843
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2845,7 +2845,7 @@
|
|
|
2845
2845
|
var tmp$ret$12 = isInterface(tmp_23, TypeToken) ? tmp_23 : THROW_CCE();
|
|
2846
2846
|
var tmp_24 = Instance(di, tmp$ret$12, null);
|
|
2847
2847
|
var tmp_25 = KProperty1;
|
|
2848
|
-
tmp_22.
|
|
2848
|
+
tmp_22.f9k_1 = tmp_24.u64(this, getPropertyCallableRef('idsProvider', 1, tmp_25, GameServer$_get_idsProvider_$ref_89s908(), null));
|
|
2849
2849
|
var tmp_26 = this;
|
|
2850
2850
|
// Inline function 'org.kodein.di.instance' call
|
|
2851
2851
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2853,7 +2853,7 @@
|
|
|
2853
2853
|
var tmp$ret$14 = isInterface(tmp_27, TypeToken) ? tmp_27 : THROW_CCE();
|
|
2854
2854
|
var tmp_28 = Instance(di, tmp$ret$14, null);
|
|
2855
2855
|
var tmp_29 = KProperty1;
|
|
2856
|
-
tmp_26.
|
|
2856
|
+
tmp_26.g9k_1 = tmp_28.u64(this, getPropertyCallableRef('serverReduxConfig', 1, tmp_29, GameServer$_get_serverReduxConfig_$ref_7h6jq6(), null));
|
|
2857
2857
|
var tmp_30 = this;
|
|
2858
2858
|
// Inline function 'org.kodein.di.instance' call
|
|
2859
2859
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2861,14 +2861,14 @@
|
|
|
2861
2861
|
var tmp$ret$16 = isInterface(tmp_31, TypeToken) ? tmp_31 : THROW_CCE();
|
|
2862
2862
|
var tmp_32 = Instance(di, tmp$ret$16, null);
|
|
2863
2863
|
var tmp_33 = KProperty1;
|
|
2864
|
-
tmp_30.
|
|
2864
|
+
tmp_30.h9k_1 = tmp_32.u64(this, getPropertyCallableRef('encoderDecoderProvider', 1, tmp_33, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8(), null));
|
|
2865
2865
|
var tmp_34 = this;
|
|
2866
2866
|
var tmp0_externalMiddlewares = plus(storeContract.e8x(), externalMiddlewares);
|
|
2867
2867
|
var tmp1_externalReducers = plus(storeContract.d8x(), externalReducers);
|
|
2868
|
-
tmp_34.
|
|
2868
|
+
tmp_34.i9k_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
2869
2869
|
}
|
|
2870
2870
|
protoOf(GameServer).h6l = function () {
|
|
2871
|
-
return this.
|
|
2871
|
+
return this.i9k_1;
|
|
2872
2872
|
};
|
|
2873
2873
|
protoOf(GameServer).w53 = function () {
|
|
2874
2874
|
return this.s66().h6m().id;
|
|
@@ -2900,55 +2900,55 @@
|
|
|
2900
2900
|
};
|
|
2901
2901
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
2902
2902
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
2903
|
-
this.
|
|
2903
|
+
this.i9k_1.g6m(GameServer$fromClientEvent$slambda_0(action, null));
|
|
2904
2904
|
};
|
|
2905
2905
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
2906
2906
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
2907
|
-
this.
|
|
2907
|
+
this.i9k_1.g6m(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
2908
2908
|
};
|
|
2909
2909
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
2910
2910
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLive: ' + playerId);
|
|
2911
|
-
this.
|
|
2911
|
+
this.i9k_1.g6m(GameServer$playerLive$slambda_0(this, playerId, null));
|
|
2912
2912
|
};
|
|
2913
2913
|
protoOf(GameServer).playerLeft = function (playerId) {
|
|
2914
2914
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
2915
|
-
this.
|
|
2915
|
+
this.i9k_1.g6m(GameServer$playerLeft$slambda_0(this, playerId, null));
|
|
2916
2916
|
};
|
|
2917
|
-
protoOf(GameServer).
|
|
2917
|
+
protoOf(GameServer).u9t = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
2918
2918
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
2919
|
-
this.
|
|
2919
|
+
this.i9k_1.g6m(GameServer$roomOnCreate$slambda_0(usersArray, config, this, roomId, transition, gameCreatorId, spectators, null));
|
|
2920
2920
|
};
|
|
2921
2921
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
2922
2922
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
2923
|
-
this.
|
|
2924
|
-
this.
|
|
2923
|
+
this.i9k_1.g6m(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
2924
|
+
this.i9k_1.g6m(GameServer$roomOnContinueFromState$slambda_2(state, null));
|
|
2925
2925
|
};
|
|
2926
2926
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
2927
2927
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
2928
|
-
this.
|
|
2929
|
-
this.
|
|
2928
|
+
this.i9k_1.g6m(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
2929
|
+
this.i9k_1.g6m(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
2930
2930
|
};
|
|
2931
2931
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
2932
|
-
this.
|
|
2932
|
+
this.i9k_1.g6m(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
2933
2933
|
};
|
|
2934
2934
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
2935
|
-
this.
|
|
2935
|
+
this.i9k_1.g6m(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
2936
2936
|
};
|
|
2937
2937
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
2938
2938
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
2939
|
-
this.
|
|
2939
|
+
this.i9k_1.g6m(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
2940
2940
|
};
|
|
2941
|
-
protoOf(GameServer).
|
|
2941
|
+
protoOf(GameServer).v9t = function (newRid) {
|
|
2942
2942
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnDelete: ' + newRid);
|
|
2943
|
-
this.
|
|
2943
|
+
this.i9k_1.g6m(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
2944
2944
|
};
|
|
2945
2945
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
2946
2946
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
2947
|
-
this.
|
|
2947
|
+
this.i9k_1.g6m(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
2948
2948
|
};
|
|
2949
|
-
protoOf(GameServer).
|
|
2949
|
+
protoOf(GameServer).w9t = function (reason, roomId) {
|
|
2950
2950
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
2951
|
-
this.
|
|
2951
|
+
this.i9k_1.g6m(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
2952
2952
|
};
|
|
2953
2953
|
protoOf(GameServer).clear = function () {
|
|
2954
2954
|
return this.h2();
|
|
@@ -2999,10 +2999,10 @@
|
|
|
2999
2999
|
this.fromRound = fromRound;
|
|
3000
3000
|
this.canStartNewGame = canStartNewGame;
|
|
3001
3001
|
}
|
|
3002
|
-
protoOf(ServerConfig).
|
|
3002
|
+
protoOf(ServerConfig).x9t = function () {
|
|
3003
3003
|
return this.fromRound;
|
|
3004
3004
|
};
|
|
3005
|
-
protoOf(ServerConfig).
|
|
3005
|
+
protoOf(ServerConfig).y9t = function () {
|
|
3006
3006
|
return this.canStartNewGame;
|
|
3007
3007
|
};
|
|
3008
3008
|
protoOf(ServerConfig).ne = function () {
|
|
@@ -3011,13 +3011,13 @@
|
|
|
3011
3011
|
protoOf(ServerConfig).oe = function () {
|
|
3012
3012
|
return this.canStartNewGame;
|
|
3013
3013
|
};
|
|
3014
|
-
protoOf(ServerConfig).
|
|
3014
|
+
protoOf(ServerConfig).z9t = function (fromRound, canStartNewGame) {
|
|
3015
3015
|
return new ServerConfig(fromRound, canStartNewGame);
|
|
3016
3016
|
};
|
|
3017
3017
|
protoOf(ServerConfig).copy = function (fromRound, canStartNewGame, $super) {
|
|
3018
3018
|
fromRound = fromRound === VOID ? this.fromRound : fromRound;
|
|
3019
3019
|
canStartNewGame = canStartNewGame === VOID ? this.canStartNewGame : canStartNewGame;
|
|
3020
|
-
return $super === VOID ? this.
|
|
3020
|
+
return $super === VOID ? this.z9t(fromRound, canStartNewGame) : $super.z9t.call(this, fromRound, canStartNewGame);
|
|
3021
3021
|
};
|
|
3022
3022
|
protoOf(ServerConfig).toString = function () {
|
|
3023
3023
|
return 'ServerConfig(fromRound=' + this.fromRound + ', canStartNewGame=' + this.canStartNewGame + ')';
|
|
@@ -3078,19 +3078,19 @@
|
|
|
3078
3078
|
$serializer_instance = this;
|
|
3079
3079
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.TableStateUpdateDto', this, 1);
|
|
3080
3080
|
tmp0_serialDesc.gz('table', false);
|
|
3081
|
-
this.
|
|
3081
|
+
this.a9u_1 = tmp0_serialDesc;
|
|
3082
3082
|
}
|
|
3083
|
-
protoOf($serializer).
|
|
3084
|
-
var tmp0_desc = this.
|
|
3083
|
+
protoOf($serializer).b9u = function (encoder, value) {
|
|
3084
|
+
var tmp0_desc = this.a9u_1;
|
|
3085
3085
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3086
3086
|
tmp1_output.dt(tmp0_desc, 0, value.table);
|
|
3087
3087
|
tmp1_output.pr(tmp0_desc);
|
|
3088
3088
|
};
|
|
3089
3089
|
protoOf($serializer).co = function (encoder, value) {
|
|
3090
|
-
return this.
|
|
3090
|
+
return this.b9u(encoder, value instanceof TableStateUpdateDto ? value : THROW_CCE());
|
|
3091
3091
|
};
|
|
3092
3092
|
protoOf($serializer).do = function (decoder) {
|
|
3093
|
-
var tmp0_desc = this.
|
|
3093
|
+
var tmp0_desc = this.a9u_1;
|
|
3094
3094
|
var tmp1_flag = true;
|
|
3095
3095
|
var tmp2_index = 0;
|
|
3096
3096
|
var tmp3_bitMask0 = 0;
|
|
@@ -3118,7 +3118,7 @@
|
|
|
3118
3118
|
return TableStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
3119
3119
|
};
|
|
3120
3120
|
protoOf($serializer).bo = function () {
|
|
3121
|
-
return this.
|
|
3121
|
+
return this.a9u_1;
|
|
3122
3122
|
};
|
|
3123
3123
|
protoOf($serializer).vz = function () {
|
|
3124
3124
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3134,7 +3134,7 @@
|
|
|
3134
3134
|
}
|
|
3135
3135
|
function TableStateUpdateDto_init_$Init$(seen0, table, serializationConstructorMarker, $this) {
|
|
3136
3136
|
if (!(1 === (1 & seen0))) {
|
|
3137
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance().
|
|
3137
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance().a9u_1);
|
|
3138
3138
|
}
|
|
3139
3139
|
$this.table = table;
|
|
3140
3140
|
return $this;
|
|
@@ -3186,19 +3186,19 @@
|
|
|
3186
3186
|
$serializer_instance_0 = this;
|
|
3187
3187
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.ActionsStateUpdateDto', this, 1);
|
|
3188
3188
|
tmp0_serialDesc.gz('actions', false);
|
|
3189
|
-
this.
|
|
3189
|
+
this.c9u_1 = tmp0_serialDesc;
|
|
3190
3190
|
}
|
|
3191
|
-
protoOf($serializer_0).
|
|
3192
|
-
var tmp0_desc = this.
|
|
3191
|
+
protoOf($serializer_0).d9u = function (encoder, value) {
|
|
3192
|
+
var tmp0_desc = this.c9u_1;
|
|
3193
3193
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3194
3194
|
tmp1_output.dt(tmp0_desc, 0, value.actions);
|
|
3195
3195
|
tmp1_output.pr(tmp0_desc);
|
|
3196
3196
|
};
|
|
3197
3197
|
protoOf($serializer_0).co = function (encoder, value) {
|
|
3198
|
-
return this.
|
|
3198
|
+
return this.d9u(encoder, value instanceof ActionsStateUpdateDto ? value : THROW_CCE());
|
|
3199
3199
|
};
|
|
3200
3200
|
protoOf($serializer_0).do = function (decoder) {
|
|
3201
|
-
var tmp0_desc = this.
|
|
3201
|
+
var tmp0_desc = this.c9u_1;
|
|
3202
3202
|
var tmp1_flag = true;
|
|
3203
3203
|
var tmp2_index = 0;
|
|
3204
3204
|
var tmp3_bitMask0 = 0;
|
|
@@ -3226,7 +3226,7 @@
|
|
|
3226
3226
|
return ActionsStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
3227
3227
|
};
|
|
3228
3228
|
protoOf($serializer_0).bo = function () {
|
|
3229
|
-
return this.
|
|
3229
|
+
return this.c9u_1;
|
|
3230
3230
|
};
|
|
3231
3231
|
protoOf($serializer_0).vz = function () {
|
|
3232
3232
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3242,7 +3242,7 @@
|
|
|
3242
3242
|
}
|
|
3243
3243
|
function ActionsStateUpdateDto_init_$Init$(seen0, actions, serializationConstructorMarker, $this) {
|
|
3244
3244
|
if (!(1 === (1 & seen0))) {
|
|
3245
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_0().
|
|
3245
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_0().c9u_1);
|
|
3246
3246
|
}
|
|
3247
3247
|
$this.actions = actions;
|
|
3248
3248
|
return $this;
|
|
@@ -3321,12 +3321,12 @@
|
|
|
3321
3321
|
protoOf(TableStateUpdate).ne = function () {
|
|
3322
3322
|
return this.table;
|
|
3323
3323
|
};
|
|
3324
|
-
protoOf(TableStateUpdate).
|
|
3324
|
+
protoOf(TableStateUpdate).e9u = function (table) {
|
|
3325
3325
|
return new TableStateUpdate(table);
|
|
3326
3326
|
};
|
|
3327
3327
|
protoOf(TableStateUpdate).copy = function (table, $super) {
|
|
3328
3328
|
table = table === VOID ? this.table : table;
|
|
3329
|
-
return $super === VOID ? this.
|
|
3329
|
+
return $super === VOID ? this.e9u(table) : $super.e9u.call(this, table);
|
|
3330
3330
|
};
|
|
3331
3331
|
protoOf(TableStateUpdate).toString = function () {
|
|
3332
3332
|
return 'TableStateUpdate(table=' + this.table.toString() + ')';
|
|
@@ -3352,12 +3352,12 @@
|
|
|
3352
3352
|
protoOf(ActionsStateUpdate).ne = function () {
|
|
3353
3353
|
return this.actions;
|
|
3354
3354
|
};
|
|
3355
|
-
protoOf(ActionsStateUpdate).
|
|
3355
|
+
protoOf(ActionsStateUpdate).f9u = function (actions) {
|
|
3356
3356
|
return new ActionsStateUpdate(actions);
|
|
3357
3357
|
};
|
|
3358
3358
|
protoOf(ActionsStateUpdate).copy = function (actions, $super) {
|
|
3359
3359
|
actions = actions === VOID ? this.actions : actions;
|
|
3360
|
-
return $super === VOID ? this.
|
|
3360
|
+
return $super === VOID ? this.f9u(actions) : $super.f9u.call(this, actions);
|
|
3361
3361
|
};
|
|
3362
3362
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
3363
3363
|
return 'ActionsStateUpdate(actions=' + toString(this.actions) + ')';
|
|
@@ -3602,18 +3602,18 @@
|
|
|
3602
3602
|
function ToClientEventsObserver() {
|
|
3603
3603
|
}
|
|
3604
3604
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
3605
|
-
this.
|
|
3606
|
-
this.
|
|
3605
|
+
this.p9u_1 = this$0;
|
|
3606
|
+
this.q9u_1 = $actions;
|
|
3607
3607
|
CoroutineImpl.call(this, resultContinuation);
|
|
3608
3608
|
}
|
|
3609
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3610
|
-
var tmp = this.
|
|
3609
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).t9u = function ($this$flow, $completion) {
|
|
3610
|
+
var tmp = this.u9u($this$flow, $completion);
|
|
3611
3611
|
tmp.t8_1 = Unit_instance;
|
|
3612
3612
|
tmp.u8_1 = null;
|
|
3613
3613
|
return tmp.z8();
|
|
3614
3614
|
};
|
|
3615
3615
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).h9 = function (p1, $completion) {
|
|
3616
|
-
return this.
|
|
3616
|
+
return this.t9u((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
3617
3617
|
};
|
|
3618
3618
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).z8 = function () {
|
|
3619
3619
|
var suspendResult = this.t8_1;
|
|
@@ -3623,19 +3623,19 @@
|
|
|
3623
3623
|
switch (tmp) {
|
|
3624
3624
|
case 0:
|
|
3625
3625
|
this.s8_1 = 4;
|
|
3626
|
-
this.
|
|
3627
|
-
this.
|
|
3626
|
+
this.p9u_1.z9u_1;
|
|
3627
|
+
this.s9u_1 = transformToEmits(this.p9u_1, this.q9u_1).l();
|
|
3628
3628
|
this.r8_1 = 1;
|
|
3629
3629
|
continue $sm;
|
|
3630
3630
|
case 1:
|
|
3631
|
-
if (!this.
|
|
3631
|
+
if (!this.s9u_1.m()) {
|
|
3632
3632
|
this.r8_1 = 3;
|
|
3633
3633
|
continue $sm;
|
|
3634
3634
|
}
|
|
3635
3635
|
|
|
3636
|
-
var element = this.
|
|
3636
|
+
var element = this.s9u_1.n();
|
|
3637
3637
|
this.r8_1 = 2;
|
|
3638
|
-
suspendResult = this.
|
|
3638
|
+
suspendResult = this.r9u_1.l28(element, this);
|
|
3639
3639
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3640
3640
|
return suspendResult;
|
|
3641
3641
|
}
|
|
@@ -3645,11 +3645,11 @@
|
|
|
3645
3645
|
this.r8_1 = 1;
|
|
3646
3646
|
continue $sm;
|
|
3647
3647
|
case 3:
|
|
3648
|
-
var tmp0 = this.
|
|
3648
|
+
var tmp0 = this.p9u_1.y9u_1;
|
|
3649
3649
|
l$ret$1: do {
|
|
3650
3650
|
while (true) {
|
|
3651
3651
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
3652
|
-
var upd = cur - this.
|
|
3652
|
+
var upd = cur - this.q9u_1.o() | 0;
|
|
3653
3653
|
if (tmp0.atomicfu$compareAndSet(cur, upd)) {
|
|
3654
3654
|
break l$ret$1;
|
|
3655
3655
|
}
|
|
@@ -3671,15 +3671,15 @@
|
|
|
3671
3671
|
}
|
|
3672
3672
|
while (true);
|
|
3673
3673
|
};
|
|
3674
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3675
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
3676
|
-
i.
|
|
3674
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).u9u = function ($this$flow, completion) {
|
|
3675
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.p9u_1, this.q9u_1, completion);
|
|
3676
|
+
i.r9u_1 = $this$flow;
|
|
3677
3677
|
return i;
|
|
3678
3678
|
};
|
|
3679
3679
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
3680
3680
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
3681
3681
|
var l = function ($this$flow, $completion) {
|
|
3682
|
-
return i.
|
|
3682
|
+
return i.t9u($this$flow, $completion);
|
|
3683
3683
|
};
|
|
3684
3684
|
l.$arity = 1;
|
|
3685
3685
|
return l;
|
|
@@ -3749,29 +3749,29 @@
|
|
|
3749
3749
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
3750
3750
|
}
|
|
3751
3751
|
function mapFromGroupKey($this, _this__u8e3s4) {
|
|
3752
|
-
var tmp = $this.
|
|
3752
|
+
var tmp = $this.x9u_1.h6d();
|
|
3753
3753
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3754
|
-
var this_0 = _this__u8e3s4.
|
|
3754
|
+
var this_0 = _this__u8e3s4.c9v_1;
|
|
3755
3755
|
var tmp_0 = copyToArray(this_0);
|
|
3756
3756
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3757
|
-
var this_1 = _this__u8e3s4.
|
|
3757
|
+
var this_1 = _this__u8e3s4.d9v_1;
|
|
3758
3758
|
var tmp$ret$1 = copyToArray(this_1);
|
|
3759
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
3759
|
+
return new ActionDeliveryPayload(_this__u8e3s4.b9v_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.e9v_1);
|
|
3760
3760
|
}
|
|
3761
3761
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
3762
|
-
this.
|
|
3763
|
-
this.
|
|
3764
|
-
this.
|
|
3765
|
-
this.
|
|
3762
|
+
this.b9v_1 = tableId;
|
|
3763
|
+
this.c9v_1 = includePlayers;
|
|
3764
|
+
this.d9v_1 = excludePlayers;
|
|
3765
|
+
this.e9v_1 = deliveryType;
|
|
3766
3766
|
}
|
|
3767
3767
|
protoOf(GroupKey).toString = function () {
|
|
3768
|
-
return 'GroupKey(tableId=' + this.
|
|
3768
|
+
return 'GroupKey(tableId=' + this.b9v_1 + ', includePlayers=' + toString(this.c9v_1) + ', excludePlayers=' + toString(this.d9v_1) + ', deliveryType=' + this.e9v_1.toString() + ')';
|
|
3769
3769
|
};
|
|
3770
3770
|
protoOf(GroupKey).hashCode = function () {
|
|
3771
|
-
var result = getStringHashCode(this.
|
|
3772
|
-
result = imul(result, 31) + hashCode(this.b9v_1) | 0;
|
|
3771
|
+
var result = getStringHashCode(this.b9v_1);
|
|
3773
3772
|
result = imul(result, 31) + hashCode(this.c9v_1) | 0;
|
|
3774
|
-
result = imul(result, 31) + this.d9v_1
|
|
3773
|
+
result = imul(result, 31) + hashCode(this.d9v_1) | 0;
|
|
3774
|
+
result = imul(result, 31) + this.e9v_1.hashCode() | 0;
|
|
3775
3775
|
return result;
|
|
3776
3776
|
};
|
|
3777
3777
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -3779,35 +3779,35 @@
|
|
|
3779
3779
|
return true;
|
|
3780
3780
|
if (!(other instanceof GroupKey))
|
|
3781
3781
|
return false;
|
|
3782
|
-
if (!(this.
|
|
3783
|
-
return false;
|
|
3784
|
-
if (!equals(this.b9v_1, other.b9v_1))
|
|
3782
|
+
if (!(this.b9v_1 === other.b9v_1))
|
|
3785
3783
|
return false;
|
|
3786
3784
|
if (!equals(this.c9v_1, other.c9v_1))
|
|
3787
3785
|
return false;
|
|
3788
|
-
if (!this.d9v_1
|
|
3786
|
+
if (!equals(this.d9v_1, other.d9v_1))
|
|
3787
|
+
return false;
|
|
3788
|
+
if (!this.e9v_1.equals(other.e9v_1))
|
|
3789
3789
|
return false;
|
|
3790
3790
|
return true;
|
|
3791
3791
|
};
|
|
3792
3792
|
function Companion_4() {
|
|
3793
|
-
this.
|
|
3793
|
+
this.f9v_1 = 6;
|
|
3794
3794
|
}
|
|
3795
3795
|
var Companion_instance_12;
|
|
3796
3796
|
function Companion_getInstance_5() {
|
|
3797
3797
|
return Companion_instance_12;
|
|
3798
3798
|
}
|
|
3799
3799
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
3800
|
-
this.
|
|
3800
|
+
this.o9v_1 = this$0;
|
|
3801
3801
|
CoroutineImpl.call(this, resultContinuation);
|
|
3802
3802
|
}
|
|
3803
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3804
|
-
var tmp = this.
|
|
3803
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).q9v = function (actions, $completion) {
|
|
3804
|
+
var tmp = this.r9v(actions, $completion);
|
|
3805
3805
|
tmp.t8_1 = Unit_instance;
|
|
3806
3806
|
tmp.u8_1 = null;
|
|
3807
3807
|
return tmp.z8();
|
|
3808
3808
|
};
|
|
3809
3809
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).h9 = function (p1, $completion) {
|
|
3810
|
-
return this.
|
|
3810
|
+
return this.q9v((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
3811
3811
|
};
|
|
3812
3812
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).z8 = function () {
|
|
3813
3813
|
var suspendResult = this.t8_1;
|
|
@@ -3816,7 +3816,7 @@
|
|
|
3816
3816
|
var tmp = this.r8_1;
|
|
3817
3817
|
if (tmp === 0) {
|
|
3818
3818
|
this.s8_1 = 1;
|
|
3819
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
3819
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.o9v_1, this.p9v_1, null));
|
|
3820
3820
|
} else if (tmp === 1) {
|
|
3821
3821
|
throw this.u8_1;
|
|
3822
3822
|
}
|
|
@@ -3826,23 +3826,23 @@
|
|
|
3826
3826
|
}
|
|
3827
3827
|
while (true);
|
|
3828
3828
|
};
|
|
3829
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3830
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
3831
|
-
i.
|
|
3829
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).r9v = function (actions, completion) {
|
|
3830
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.o9v_1, completion);
|
|
3831
|
+
i.p9v_1 = actions;
|
|
3832
3832
|
return i;
|
|
3833
3833
|
};
|
|
3834
3834
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
3835
3835
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
3836
3836
|
var l = function (actions, $completion) {
|
|
3837
|
-
return i.
|
|
3837
|
+
return i.q9v(actions, $completion);
|
|
3838
3838
|
};
|
|
3839
3839
|
l.$arity = 1;
|
|
3840
3840
|
return l;
|
|
3841
3841
|
}
|
|
3842
3842
|
function $sentEventCOROUTINE$(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
3843
3843
|
CoroutineImpl.call(this, resultContinuation);
|
|
3844
|
-
this.
|
|
3845
|
-
this.
|
|
3844
|
+
this.a9w_1 = _this__u8e3s4;
|
|
3845
|
+
this.b9w_1 = fromEvent;
|
|
3846
3846
|
}
|
|
3847
3847
|
protoOf($sentEventCOROUTINE$).z8 = function () {
|
|
3848
3848
|
var suspendResult = this.t8_1;
|
|
@@ -3852,8 +3852,8 @@
|
|
|
3852
3852
|
switch (tmp) {
|
|
3853
3853
|
case 0:
|
|
3854
3854
|
this.s8_1 = 2;
|
|
3855
|
-
this.
|
|
3856
|
-
var tmp0 = this.
|
|
3855
|
+
this.a9w_1.z9u_1;
|
|
3856
|
+
var tmp0 = this.a9w_1.y9u_1;
|
|
3857
3857
|
l$ret$1: do {
|
|
3858
3858
|
while (true) {
|
|
3859
3859
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
@@ -3865,7 +3865,7 @@
|
|
|
3865
3865
|
}
|
|
3866
3866
|
while (false);
|
|
3867
3867
|
this.r8_1 = 1;
|
|
3868
|
-
suspendResult = this.
|
|
3868
|
+
suspendResult = this.a9w_1.a9v_1.l28(this.b9w_1, this);
|
|
3869
3869
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3870
3870
|
return suspendResult;
|
|
3871
3871
|
}
|
|
@@ -3889,7 +3889,7 @@
|
|
|
3889
3889
|
};
|
|
3890
3890
|
function $waitForCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
3891
3891
|
CoroutineImpl.call(this, resultContinuation);
|
|
3892
|
-
this.
|
|
3892
|
+
this.k9w_1 = _this__u8e3s4;
|
|
3893
3893
|
}
|
|
3894
3894
|
protoOf($waitForCOROUTINE$).z8 = function () {
|
|
3895
3895
|
var suspendResult = this.t8_1;
|
|
@@ -3899,12 +3899,12 @@
|
|
|
3899
3899
|
switch (tmp) {
|
|
3900
3900
|
case 0:
|
|
3901
3901
|
this.s8_1 = 5;
|
|
3902
|
-
this.
|
|
3903
|
-
this.
|
|
3902
|
+
this.k9w_1.z9u_1;
|
|
3903
|
+
this.l9w_1 = 0;
|
|
3904
3904
|
this.r8_1 = 1;
|
|
3905
3905
|
continue $sm;
|
|
3906
3906
|
case 1:
|
|
3907
|
-
if (!!(this.
|
|
3907
|
+
if (!!(this.k9w_1.y9u_1.kotlinx$atomicfu$value === 0)) {
|
|
3908
3908
|
this.r8_1 = 4;
|
|
3909
3909
|
continue $sm;
|
|
3910
3910
|
}
|
|
@@ -3917,9 +3917,9 @@
|
|
|
3917
3917
|
|
|
3918
3918
|
continue $sm;
|
|
3919
3919
|
case 2:
|
|
3920
|
-
this.
|
|
3921
|
-
if (this.
|
|
3922
|
-
this.
|
|
3920
|
+
this.l9w_1 = this.l9w_1 + 1 | 0;
|
|
3921
|
+
if (this.l9w_1 > 6) {
|
|
3922
|
+
this.k9w_1.w9u_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.k9w_1.y9u_1.kotlinx$atomicfu$value);
|
|
3923
3923
|
this.r8_1 = 4;
|
|
3924
3924
|
continue $sm;
|
|
3925
3925
|
} else {
|
|
@@ -3947,183 +3947,183 @@
|
|
|
3947
3947
|
while (true);
|
|
3948
3948
|
};
|
|
3949
3949
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
3950
|
-
this.
|
|
3951
|
-
this.
|
|
3952
|
-
this.
|
|
3953
|
-
this.
|
|
3950
|
+
this.v9u_1 = serverReduxConfig;
|
|
3951
|
+
this.w9u_1 = logger;
|
|
3952
|
+
this.x9u_1 = idsProvider;
|
|
3953
|
+
this.y9u_1 = atomic$ref$1(0);
|
|
3954
3954
|
var tmp = this;
|
|
3955
3955
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
3956
|
-
tmp.
|
|
3957
|
-
this.
|
|
3956
|
+
tmp.z9u_1 = get_atomicfu$reentrantLock();
|
|
3957
|
+
this.a9v_1 = MutableSharedFlow();
|
|
3958
3958
|
}
|
|
3959
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3959
|
+
protoOf(ToClientEventsObserverImpl).g9u = function (fromEvent, $completion) {
|
|
3960
3960
|
var tmp = new $sentEventCOROUTINE$(this, fromEvent, $completion);
|
|
3961
3961
|
tmp.t8_1 = Unit_instance;
|
|
3962
3962
|
tmp.u8_1 = null;
|
|
3963
3963
|
return tmp.z8();
|
|
3964
3964
|
};
|
|
3965
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3965
|
+
protoOf(ToClientEventsObserverImpl).n95 = function ($completion) {
|
|
3966
3966
|
var tmp = new $waitForCOROUTINE$(this, $completion);
|
|
3967
3967
|
tmp.t8_1 = Unit_instance;
|
|
3968
3968
|
tmp.u8_1 = null;
|
|
3969
3969
|
return tmp.z8();
|
|
3970
3970
|
};
|
|
3971
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3972
|
-
if (!this.
|
|
3973
|
-
return this.
|
|
3971
|
+
protoOf(ToClientEventsObserverImpl).b9l = function () {
|
|
3972
|
+
if (!this.v9u_1.enabledCombinedEvents) {
|
|
3973
|
+
return this.a9v_1;
|
|
3974
3974
|
}
|
|
3975
|
-
var tmp = windowedByInterval(this.
|
|
3975
|
+
var tmp = windowedByInterval(this.a9v_1, fromInt(this.v9u_1.combinedEventsIntervalMillis));
|
|
3976
3976
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
3977
3977
|
};
|
|
3978
3978
|
function UpdateServerConfigAction(serverConfig) {
|
|
3979
|
-
this.
|
|
3979
|
+
this.m9w_1 = serverConfig;
|
|
3980
3980
|
}
|
|
3981
3981
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
3982
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
3982
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.m9w_1.toString() + ')';
|
|
3983
3983
|
};
|
|
3984
3984
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
3985
|
-
return this.
|
|
3985
|
+
return this.m9w_1.hashCode();
|
|
3986
3986
|
};
|
|
3987
3987
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
3988
3988
|
if (this === other)
|
|
3989
3989
|
return true;
|
|
3990
3990
|
if (!(other instanceof UpdateServerConfigAction))
|
|
3991
3991
|
return false;
|
|
3992
|
-
if (!this.
|
|
3992
|
+
if (!this.m9w_1.equals(other.m9w_1))
|
|
3993
3993
|
return false;
|
|
3994
3994
|
return true;
|
|
3995
3995
|
};
|
|
3996
3996
|
function SpectatorsAction() {
|
|
3997
3997
|
}
|
|
3998
3998
|
function AddSpectatorsAction(spectators) {
|
|
3999
|
-
this.
|
|
3999
|
+
this.n9w_1 = spectators;
|
|
4000
4000
|
}
|
|
4001
4001
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
4002
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
4002
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.n9w_1) + ')';
|
|
4003
4003
|
};
|
|
4004
4004
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
4005
|
-
return hashCode(this.
|
|
4005
|
+
return hashCode(this.n9w_1);
|
|
4006
4006
|
};
|
|
4007
4007
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
4008
4008
|
if (this === other)
|
|
4009
4009
|
return true;
|
|
4010
4010
|
if (!(other instanceof AddSpectatorsAction))
|
|
4011
4011
|
return false;
|
|
4012
|
-
if (!equals(this.
|
|
4012
|
+
if (!equals(this.n9w_1, other.n9w_1))
|
|
4013
4013
|
return false;
|
|
4014
4014
|
return true;
|
|
4015
4015
|
};
|
|
4016
4016
|
function RemoveSpectatorsAction(spectators) {
|
|
4017
|
-
this.
|
|
4017
|
+
this.o9w_1 = spectators;
|
|
4018
4018
|
}
|
|
4019
4019
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
4020
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
4020
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.o9w_1) + ')';
|
|
4021
4021
|
};
|
|
4022
4022
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
4023
|
-
return hashCode(this.
|
|
4023
|
+
return hashCode(this.o9w_1);
|
|
4024
4024
|
};
|
|
4025
4025
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
4026
4026
|
if (this === other)
|
|
4027
4027
|
return true;
|
|
4028
4028
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
4029
4029
|
return false;
|
|
4030
|
-
if (!equals(this.
|
|
4030
|
+
if (!equals(this.o9w_1, other.o9w_1))
|
|
4031
4031
|
return false;
|
|
4032
4032
|
return true;
|
|
4033
4033
|
};
|
|
4034
4034
|
function _get_asyncProvider__jbpyhw($this) {
|
|
4035
|
-
var tmp0 = $this.
|
|
4035
|
+
var tmp0 = $this.u9w_1;
|
|
4036
4036
|
var tmp = KProperty1;
|
|
4037
4037
|
// Inline function 'kotlin.getValue' call
|
|
4038
4038
|
getPropertyCallableRef('asyncProvider', 1, tmp, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3_0(), null);
|
|
4039
4039
|
return tmp0.w();
|
|
4040
4040
|
}
|
|
4041
4041
|
function _get_logger__rkp4sl_0($this) {
|
|
4042
|
-
var tmp0 = $this.
|
|
4042
|
+
var tmp0 = $this.v9w_1;
|
|
4043
4043
|
var tmp = KProperty1;
|
|
4044
4044
|
// Inline function 'kotlin.getValue' call
|
|
4045
4045
|
getPropertyCallableRef('logger', 1, tmp, ServerGameStoreContract$_get_logger_$ref_zbgw28_0(), null);
|
|
4046
4046
|
return tmp0.w();
|
|
4047
4047
|
}
|
|
4048
4048
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
4049
|
-
var tmp0 = $this.
|
|
4049
|
+
var tmp0 = $this.w9w_1;
|
|
4050
4050
|
var tmp = KProperty1;
|
|
4051
4051
|
// Inline function 'kotlin.getValue' call
|
|
4052
4052
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8_0(), null);
|
|
4053
4053
|
return tmp0.w();
|
|
4054
4054
|
}
|
|
4055
4055
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
4056
|
-
var tmp0 = $this.
|
|
4056
|
+
var tmp0 = $this.x9w_1;
|
|
4057
4057
|
var tmp = KProperty1;
|
|
4058
4058
|
// Inline function 'kotlin.getValue' call
|
|
4059
4059
|
getPropertyCallableRef('lastCardInteractor', 1, tmp, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh_0(), null);
|
|
4060
4060
|
return tmp0.w();
|
|
4061
4061
|
}
|
|
4062
4062
|
function _get_serverConfig__rk2g06($this) {
|
|
4063
|
-
var tmp0 = $this.
|
|
4063
|
+
var tmp0 = $this.y9w_1;
|
|
4064
4064
|
var tmp = KProperty1;
|
|
4065
4065
|
// Inline function 'kotlin.getValue' call
|
|
4066
4066
|
getPropertyCallableRef('serverConfig', 1, tmp, ServerGameStoreContract$_get_serverConfig_$ref_bz2891_0(), null);
|
|
4067
4067
|
return tmp0.w();
|
|
4068
4068
|
}
|
|
4069
4069
|
function _get_logicConfig__52ww9d($this) {
|
|
4070
|
-
var tmp0 = $this.
|
|
4070
|
+
var tmp0 = $this.z9w_1;
|
|
4071
4071
|
var tmp = KProperty1;
|
|
4072
4072
|
// Inline function 'kotlin.getValue' call
|
|
4073
4073
|
getPropertyCallableRef('logicConfig', 1, tmp, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi_0(), null);
|
|
4074
4074
|
return tmp0.w();
|
|
4075
4075
|
}
|
|
4076
4076
|
function _get_idsProvider__fnfajc_0($this) {
|
|
4077
|
-
var tmp0 = $this.
|
|
4077
|
+
var tmp0 = $this.a9x_1;
|
|
4078
4078
|
var tmp = KProperty1;
|
|
4079
4079
|
// Inline function 'kotlin.getValue' call
|
|
4080
4080
|
getPropertyCallableRef('idsProvider', 1, tmp, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1_0(), null);
|
|
4081
4081
|
return tmp0.w();
|
|
4082
4082
|
}
|
|
4083
4083
|
function _get_botConfig__cpaxzc($this) {
|
|
4084
|
-
var tmp0 = $this.
|
|
4084
|
+
var tmp0 = $this.b9x_1;
|
|
4085
4085
|
var tmp = KProperty1;
|
|
4086
4086
|
// Inline function 'kotlin.getValue' call
|
|
4087
4087
|
getPropertyCallableRef('botConfig', 1, tmp, ServerGameStoreContract$_get_botConfig_$ref_nebw1d_0(), null);
|
|
4088
4088
|
return tmp0.w();
|
|
4089
4089
|
}
|
|
4090
4090
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
4091
|
-
var tmp0 = $this.
|
|
4091
|
+
var tmp0 = $this.c9x_1;
|
|
4092
4092
|
var tmp = KProperty1;
|
|
4093
4093
|
// Inline function 'kotlin.getValue' call
|
|
4094
4094
|
getPropertyCallableRef('scenePositionProvider', 1, tmp, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4_0(), null);
|
|
4095
4095
|
return tmp0.w();
|
|
4096
4096
|
}
|
|
4097
4097
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
4098
|
-
var tmp0 = $this.
|
|
4098
|
+
var tmp0 = $this.d9x_1;
|
|
4099
4099
|
var tmp = KProperty1;
|
|
4100
4100
|
// Inline function 'kotlin.getValue' call
|
|
4101
4101
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p_0(), null);
|
|
4102
4102
|
return tmp0.w();
|
|
4103
4103
|
}
|
|
4104
4104
|
function _get_fromClientEventsObserver__a7vzd3_0($this) {
|
|
4105
|
-
var tmp0 = $this.
|
|
4105
|
+
var tmp0 = $this.e9x_1;
|
|
4106
4106
|
var tmp = KProperty1;
|
|
4107
4107
|
// Inline function 'kotlin.getValue' call
|
|
4108
4108
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg_0(), null);
|
|
4109
4109
|
return tmp0.w();
|
|
4110
4110
|
}
|
|
4111
4111
|
function _get_dealerConfig__183ci8($this) {
|
|
4112
|
-
var tmp0 = $this.
|
|
4112
|
+
var tmp0 = $this.f9x_1;
|
|
4113
4113
|
var tmp = KProperty1;
|
|
4114
4114
|
// Inline function 'kotlin.getValue' call
|
|
4115
4115
|
getPropertyCallableRef('dealerConfig', 1, tmp, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp_0(), null);
|
|
4116
4116
|
return tmp0.w();
|
|
4117
4117
|
}
|
|
4118
4118
|
function _get_poolProvider__tqti6a($this) {
|
|
4119
|
-
var tmp0 = $this.
|
|
4119
|
+
var tmp0 = $this.g9x_1;
|
|
4120
4120
|
var tmp = KProperty1;
|
|
4121
4121
|
// Inline function 'kotlin.getValue' call
|
|
4122
4122
|
getPropertyCallableRef('poolProvider', 1, tmp, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3_0(), null);
|
|
4123
4123
|
return tmp0.w();
|
|
4124
4124
|
}
|
|
4125
4125
|
function _get_cardsDealerProvider__bekjpg($this) {
|
|
4126
|
-
var tmp0 = $this.
|
|
4126
|
+
var tmp0 = $this.h9x_1;
|
|
4127
4127
|
var tmp = KProperty1;
|
|
4128
4128
|
// Inline function 'kotlin.getValue' call
|
|
4129
4129
|
getPropertyCallableRef('cardsDealerProvider', 1, tmp, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj_0(), null);
|
|
@@ -4278,11 +4278,11 @@
|
|
|
4278
4278
|
botGameStoreContract = botGameStoreContract === VOID ? new BotGameStoreContract(di) : botGameStoreContract;
|
|
4279
4279
|
gameMechanicStoreContract = gameMechanicStoreContract === VOID ? new GameMechanicStoreContract(di, null, true) : gameMechanicStoreContract;
|
|
4280
4280
|
fileLoggerStoreContract = fileLoggerStoreContract === VOID ? new FileLoggerStoreContract(di) : fileLoggerStoreContract;
|
|
4281
|
-
this.
|
|
4282
|
-
this.
|
|
4283
|
-
this.
|
|
4284
|
-
this.
|
|
4285
|
-
this.
|
|
4281
|
+
this.p9w_1 = validationStoreContract;
|
|
4282
|
+
this.q9w_1 = timersStoreContract;
|
|
4283
|
+
this.r9w_1 = botGameStoreContract;
|
|
4284
|
+
this.s9w_1 = gameMechanicStoreContract;
|
|
4285
|
+
this.t9w_1 = fileLoggerStoreContract;
|
|
4286
4286
|
var tmp = this;
|
|
4287
4287
|
// Inline function 'org.kodein.di.instance' call
|
|
4288
4288
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4290,7 +4290,7 @@
|
|
|
4290
4290
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
4291
4291
|
var tmp_1 = Instance(di, tmp$ret$0, null);
|
|
4292
4292
|
var tmp_2 = KProperty1;
|
|
4293
|
-
tmp.
|
|
4293
|
+
tmp.u9w_1 = tmp_1.u64(this, getPropertyCallableRef('asyncProvider', 1, tmp_2, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3(), null));
|
|
4294
4294
|
var tmp_3 = this;
|
|
4295
4295
|
// Inline function 'org.kodein.di.instance' call
|
|
4296
4296
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4298,7 +4298,7 @@
|
|
|
4298
4298
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
4299
4299
|
var tmp_5 = Instance(di, tmp$ret$2, null);
|
|
4300
4300
|
var tmp_6 = KProperty1;
|
|
4301
|
-
tmp_3.
|
|
4301
|
+
tmp_3.v9w_1 = tmp_5.u64(this, getPropertyCallableRef('logger', 1, tmp_6, ServerGameStoreContract$_get_logger_$ref_zbgw28(), null));
|
|
4302
4302
|
var tmp_7 = this;
|
|
4303
4303
|
// Inline function 'org.kodein.di.instance' call
|
|
4304
4304
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4306,7 +4306,7 @@
|
|
|
4306
4306
|
var tmp$ret$4 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
4307
4307
|
var tmp_9 = Instance(di, tmp$ret$4, null);
|
|
4308
4308
|
var tmp_10 = KProperty1;
|
|
4309
|
-
tmp_7.
|
|
4309
|
+
tmp_7.w9w_1 = tmp_9.u64(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_10, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8(), null));
|
|
4310
4310
|
var tmp_11 = this;
|
|
4311
4311
|
// Inline function 'org.kodein.di.instance' call
|
|
4312
4312
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4314,7 +4314,7 @@
|
|
|
4314
4314
|
var tmp$ret$6 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
4315
4315
|
var tmp_13 = Instance(di, tmp$ret$6, null);
|
|
4316
4316
|
var tmp_14 = KProperty1;
|
|
4317
|
-
tmp_11.
|
|
4317
|
+
tmp_11.x9w_1 = tmp_13.u64(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_14, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh(), null));
|
|
4318
4318
|
var tmp_15 = this;
|
|
4319
4319
|
// Inline function 'org.kodein.di.instance' call
|
|
4320
4320
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4322,7 +4322,7 @@
|
|
|
4322
4322
|
var tmp$ret$8 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
4323
4323
|
var tmp_17 = Instance(di, tmp$ret$8, null);
|
|
4324
4324
|
var tmp_18 = KProperty1;
|
|
4325
|
-
tmp_15.
|
|
4325
|
+
tmp_15.y9w_1 = tmp_17.u64(this, getPropertyCallableRef('serverConfig', 1, tmp_18, ServerGameStoreContract$_get_serverConfig_$ref_bz2891(), null));
|
|
4326
4326
|
var tmp_19 = this;
|
|
4327
4327
|
// Inline function 'org.kodein.di.instance' call
|
|
4328
4328
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4330,7 +4330,7 @@
|
|
|
4330
4330
|
var tmp$ret$10 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
4331
4331
|
var tmp_21 = Instance(di, tmp$ret$10, null);
|
|
4332
4332
|
var tmp_22 = KProperty1;
|
|
4333
|
-
tmp_19.
|
|
4333
|
+
tmp_19.z9w_1 = tmp_21.u64(this, getPropertyCallableRef('logicConfig', 1, tmp_22, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi(), null));
|
|
4334
4334
|
var tmp_23 = this;
|
|
4335
4335
|
// Inline function 'org.kodein.di.instance' call
|
|
4336
4336
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4338,7 +4338,7 @@
|
|
|
4338
4338
|
var tmp$ret$12 = isInterface(tmp_24, TypeToken) ? tmp_24 : THROW_CCE();
|
|
4339
4339
|
var tmp_25 = Instance(di, tmp$ret$12, null);
|
|
4340
4340
|
var tmp_26 = KProperty1;
|
|
4341
|
-
tmp_23.
|
|
4341
|
+
tmp_23.a9x_1 = tmp_25.u64(this, getPropertyCallableRef('idsProvider', 1, tmp_26, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1(), null));
|
|
4342
4342
|
var tmp_27 = this;
|
|
4343
4343
|
// Inline function 'org.kodein.di.instance' call
|
|
4344
4344
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4346,7 +4346,7 @@
|
|
|
4346
4346
|
var tmp$ret$14 = isInterface(tmp_28, TypeToken) ? tmp_28 : THROW_CCE();
|
|
4347
4347
|
var tmp_29 = Instance(di, tmp$ret$14, null);
|
|
4348
4348
|
var tmp_30 = KProperty1;
|
|
4349
|
-
tmp_27.
|
|
4349
|
+
tmp_27.b9x_1 = tmp_29.u64(this, getPropertyCallableRef('botConfig', 1, tmp_30, ServerGameStoreContract$_get_botConfig_$ref_nebw1d(), null));
|
|
4350
4350
|
var tmp_31 = this;
|
|
4351
4351
|
// Inline function 'org.kodein.di.instance' call
|
|
4352
4352
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4354,7 +4354,7 @@
|
|
|
4354
4354
|
var tmp$ret$16 = isInterface(tmp_32, TypeToken) ? tmp_32 : THROW_CCE();
|
|
4355
4355
|
var tmp_33 = Instance(di, tmp$ret$16, null);
|
|
4356
4356
|
var tmp_34 = KProperty1;
|
|
4357
|
-
tmp_31.
|
|
4357
|
+
tmp_31.c9x_1 = tmp_33.u64(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_34, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4(), null));
|
|
4358
4358
|
var tmp_35 = this;
|
|
4359
4359
|
// Inline function 'org.kodein.di.instance' call
|
|
4360
4360
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4362,7 +4362,7 @@
|
|
|
4362
4362
|
var tmp$ret$18 = isInterface(tmp_36, TypeToken) ? tmp_36 : THROW_CCE();
|
|
4363
4363
|
var tmp_37 = Instance(di, tmp$ret$18, null);
|
|
4364
4364
|
var tmp_38 = KProperty1;
|
|
4365
|
-
tmp_35.
|
|
4365
|
+
tmp_35.d9x_1 = tmp_37.u64(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_38, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p(), null));
|
|
4366
4366
|
var tmp_39 = this;
|
|
4367
4367
|
// Inline function 'org.kodein.di.instance' call
|
|
4368
4368
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4370,7 +4370,7 @@
|
|
|
4370
4370
|
var tmp$ret$20 = isInterface(tmp_40, TypeToken) ? tmp_40 : THROW_CCE();
|
|
4371
4371
|
var tmp_41 = Instance(di, tmp$ret$20, null);
|
|
4372
4372
|
var tmp_42 = KProperty1;
|
|
4373
|
-
tmp_39.
|
|
4373
|
+
tmp_39.e9x_1 = tmp_41.u64(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_42, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg(), null));
|
|
4374
4374
|
var tmp_43 = this;
|
|
4375
4375
|
// Inline function 'org.kodein.di.instance' call
|
|
4376
4376
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4378,7 +4378,7 @@
|
|
|
4378
4378
|
var tmp$ret$22 = isInterface(tmp_44, TypeToken) ? tmp_44 : THROW_CCE();
|
|
4379
4379
|
var tmp_45 = Instance(di, tmp$ret$22, null);
|
|
4380
4380
|
var tmp_46 = KProperty1;
|
|
4381
|
-
tmp_43.
|
|
4381
|
+
tmp_43.f9x_1 = tmp_45.u64(this, getPropertyCallableRef('dealerConfig', 1, tmp_46, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp(), null));
|
|
4382
4382
|
var tmp_47 = this;
|
|
4383
4383
|
// Inline function 'org.kodein.di.instance' call
|
|
4384
4384
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4386,7 +4386,7 @@
|
|
|
4386
4386
|
var tmp$ret$24 = isInterface(tmp_48, TypeToken) ? tmp_48 : THROW_CCE();
|
|
4387
4387
|
var tmp_49 = Instance(di, tmp$ret$24, null);
|
|
4388
4388
|
var tmp_50 = KProperty1;
|
|
4389
|
-
tmp_47.
|
|
4389
|
+
tmp_47.g9x_1 = tmp_49.u64(this, getPropertyCallableRef('poolProvider', 1, tmp_50, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3(), null));
|
|
4390
4390
|
var tmp_51 = this;
|
|
4391
4391
|
// Inline function 'org.kodein.di.instance' call
|
|
4392
4392
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4394,14 +4394,14 @@
|
|
|
4394
4394
|
var tmp$ret$26 = isInterface(tmp_52, TypeToken) ? tmp_52 : THROW_CCE();
|
|
4395
4395
|
var tmp_53 = Instance(di, tmp$ret$26, null);
|
|
4396
4396
|
var tmp_54 = KProperty1;
|
|
4397
|
-
tmp_51.
|
|
4397
|
+
tmp_51.h9x_1 = tmp_53.u64(this, getPropertyCallableRef('cardsDealerProvider', 1, tmp_54, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj(), null));
|
|
4398
4398
|
}
|
|
4399
4399
|
protoOf(ServerGameStoreContract).d8x = function () {
|
|
4400
|
-
return plus(plus(plus(plus(plus(this.
|
|
4400
|
+
return plus(plus(plus(plus(plus(this.p9w_1.d8x(), this.s9w_1.d8x()), this.q9w_1.d8x()), this.r9w_1.d8x()), this.t9w_1.d8x()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl_0(this))]));
|
|
4401
4401
|
};
|
|
4402
4402
|
protoOf(ServerGameStoreContract).e8x = function () {
|
|
4403
|
-
var tmp = plus(plus(plus(plus(plus(plus(plus(this.
|
|
4404
|
-
var tmp_0 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this));
|
|
4403
|
+
var tmp = plus(plus(plus(plus(plus(plus(plus(this.p9w_1.e8x(), listOfNotNull(_get_serverConfig__rk2g06(this).finishGameWhenNotLiveStrategy.equals(FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance()) ? checkBotsMiddleware(_get_logger__rkp4sl_0(this)) : null)), this.s9w_1.e8x()), this.q9w_1.e8x()), this.r9w_1.e8x()), this.t9w_1.e8x()), 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))).j8z(), finishingGameWhenCantStartNewMiddleware()]));
|
|
4404
|
+
var tmp_0 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this), _get_logger__rkp4sl_0(this));
|
|
4405
4405
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
4406
4406
|
var tmp1_logger = _get_logger__rkp4sl_0(this);
|
|
4407
4407
|
var tmp2_asyncProvider = _get_asyncProvider__jbpyhw(this);
|
|
@@ -4451,7 +4451,7 @@
|
|
|
4451
4451
|
return this.u6g(store, next, action);
|
|
4452
4452
|
};
|
|
4453
4453
|
function ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
|
|
4454
|
-
this.
|
|
4454
|
+
this.k9x_1 = this$0;
|
|
4455
4455
|
}
|
|
4456
4456
|
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).f6f = function (action) {
|
|
4457
4457
|
return action instanceof MechanicAction;
|
|
@@ -4462,7 +4462,7 @@
|
|
|
4462
4462
|
// Inline function 'kotlin.with' call
|
|
4463
4463
|
var tmp;
|
|
4464
4464
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
4465
|
-
var tmp0 = this.
|
|
4465
|
+
var tmp0 = this.k9x_1;
|
|
4466
4466
|
var tmp2 = action_0.q8t_1;
|
|
4467
4467
|
var tmp4 = action_0.s8t_1;
|
|
4468
4468
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -4502,7 +4502,7 @@
|
|
|
4502
4502
|
var _iterator__ex2g4s_2 = destination_1.l();
|
|
4503
4503
|
while (_iterator__ex2g4s_2.m()) {
|
|
4504
4504
|
var element_0 = _iterator__ex2g4s_2.n();
|
|
4505
|
-
var tmp0_aid = tmp0.
|
|
4505
|
+
var tmp0_aid = tmp0.j9x_1.h6d();
|
|
4506
4506
|
// Inline function 'kotlin.collections.map' call
|
|
4507
4507
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4508
4508
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -4524,15 +4524,15 @@
|
|
|
4524
4524
|
tmp = destination_2;
|
|
4525
4525
|
} else {
|
|
4526
4526
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
4527
|
-
var tmp0_0 = this.
|
|
4527
|
+
var tmp0_0 = this.k9x_1;
|
|
4528
4528
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4529
4529
|
var table = state.h6m();
|
|
4530
|
-
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.
|
|
4530
|
+
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.j9x_1.h6d(), table.id, null);
|
|
4531
4531
|
var tmp$ret$21 = mapToClient_16(action_0, sendToPlayer_0);
|
|
4532
4532
|
tmp = listOfNotNull(tmp$ret$21);
|
|
4533
4533
|
} else {
|
|
4534
4534
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
4535
|
-
var tmp0_1 = this.
|
|
4535
|
+
var tmp0_1 = this.k9x_1;
|
|
4536
4536
|
var tmp2_0 = action_0.w8t_1.id;
|
|
4537
4537
|
var tmp4_0 = action_0.gameCreatorPlayerId;
|
|
4538
4538
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -4572,7 +4572,7 @@
|
|
|
4572
4572
|
var _iterator__ex2g4s_7 = destination_6.l();
|
|
4573
4573
|
while (_iterator__ex2g4s_7.m()) {
|
|
4574
4574
|
var element_2 = _iterator__ex2g4s_7.n();
|
|
4575
|
-
var tmp0_aid_0 = tmp0_1.
|
|
4575
|
+
var tmp0_aid_0 = tmp0_1.j9x_1.h6d();
|
|
4576
4576
|
// Inline function 'kotlin.collections.map' call
|
|
4577
4577
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4578
4578
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -4594,39 +4594,39 @@
|
|
|
4594
4594
|
tmp = destination_7;
|
|
4595
4595
|
} else {
|
|
4596
4596
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
4597
|
-
var tmp0_2 = this.
|
|
4597
|
+
var tmp0_2 = this.k9x_1;
|
|
4598
4598
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4599
4599
|
var table_0 = state.h6m();
|
|
4600
|
-
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.
|
|
4600
|
+
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.j9x_1.h6d(), table_0.id, null);
|
|
4601
4601
|
var tmp$ret$44 = mapToClient_14(action_0, sendToPlayer_2);
|
|
4602
4602
|
tmp = listOfNotNull(tmp$ret$44);
|
|
4603
4603
|
} else {
|
|
4604
4604
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
4605
|
-
var tmp0_3 = this.
|
|
4605
|
+
var tmp0_3 = this.k9x_1;
|
|
4606
4606
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4607
4607
|
var table_1 = state.h6m();
|
|
4608
|
-
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.
|
|
4608
|
+
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.j9x_1.h6d(), table_1.id, null);
|
|
4609
4609
|
var tmp$ret$46 = mapToClient_13(action_0, sendToPlayer_3);
|
|
4610
4610
|
tmp = listOfNotNull(tmp$ret$46);
|
|
4611
4611
|
} else {
|
|
4612
4612
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
4613
|
-
var tmp0_4 = this.
|
|
4613
|
+
var tmp0_4 = this.k9x_1;
|
|
4614
4614
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4615
4615
|
var table_2 = state.h6m();
|
|
4616
|
-
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.
|
|
4616
|
+
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.j9x_1.h6d(), table_2.id, null);
|
|
4617
4617
|
var tmp$ret$48 = mapToClient_12(action_0, sendToPlayer_4);
|
|
4618
4618
|
tmp = listOfNotNull(tmp$ret$48);
|
|
4619
4619
|
} else {
|
|
4620
4620
|
if (action_0 instanceof ErrorAction) {
|
|
4621
|
-
var tmp0_5 = this.
|
|
4621
|
+
var tmp0_5 = this.k9x_1;
|
|
4622
4622
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4623
4623
|
var table_3 = state.h6m();
|
|
4624
|
-
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.
|
|
4624
|
+
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.j9x_1.h6d(), table_3.id, null);
|
|
4625
4625
|
var tmp$ret$50 = mapToClient_11(action_0, sendToPlayer_5);
|
|
4626
4626
|
tmp = listOfNotNull(tmp$ret$50);
|
|
4627
4627
|
} else {
|
|
4628
4628
|
if (action_0 instanceof SceneMechanicAction) {
|
|
4629
|
-
var tmp0_6 = this.
|
|
4629
|
+
var tmp0_6 = this.k9x_1;
|
|
4630
4630
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4631
4631
|
var table_4 = state.h6m();
|
|
4632
4632
|
var tmp2_1 = table_4.id;
|
|
@@ -4659,7 +4659,7 @@
|
|
|
4659
4659
|
var _iterator__ex2g4s_11 = destination_10.l();
|
|
4660
4660
|
while (_iterator__ex2g4s_11.m()) {
|
|
4661
4661
|
var element_4 = _iterator__ex2g4s_11.n();
|
|
4662
|
-
var tmp0_aid_1 = tmp0_6.
|
|
4662
|
+
var tmp0_aid_1 = tmp0_6.j9x_1.h6d();
|
|
4663
4663
|
// Inline function 'kotlin.collections.map' call
|
|
4664
4664
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4665
4665
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
|
|
@@ -4681,7 +4681,7 @@
|
|
|
4681
4681
|
tmp = destination_11;
|
|
4682
4682
|
} else {
|
|
4683
4683
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
4684
|
-
var tmp0_7 = this.
|
|
4684
|
+
var tmp0_7 = this.k9x_1;
|
|
4685
4685
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4686
4686
|
var table_5 = state.h6m();
|
|
4687
4687
|
var tmp2_2 = table_5.id;
|
|
@@ -4714,7 +4714,7 @@
|
|
|
4714
4714
|
var _iterator__ex2g4s_15 = destination_14.l();
|
|
4715
4715
|
while (_iterator__ex2g4s_15.m()) {
|
|
4716
4716
|
var element_6 = _iterator__ex2g4s_15.n();
|
|
4717
|
-
var tmp0_aid_2 = tmp0_7.
|
|
4717
|
+
var tmp0_aid_2 = tmp0_7.j9x_1.h6d();
|
|
4718
4718
|
// Inline function 'kotlin.collections.map' call
|
|
4719
4719
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4720
4720
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
|
|
@@ -4736,7 +4736,7 @@
|
|
|
4736
4736
|
tmp = destination_15;
|
|
4737
4737
|
} else {
|
|
4738
4738
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
4739
|
-
var tmp0_8 = this.
|
|
4739
|
+
var tmp0_8 = this.k9x_1;
|
|
4740
4740
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4741
4741
|
var table_6 = state.h6m();
|
|
4742
4742
|
var tmp2_3 = table_6.id;
|
|
@@ -4769,7 +4769,7 @@
|
|
|
4769
4769
|
var _iterator__ex2g4s_19 = destination_18.l();
|
|
4770
4770
|
while (_iterator__ex2g4s_19.m()) {
|
|
4771
4771
|
var element_8 = _iterator__ex2g4s_19.n();
|
|
4772
|
-
var tmp0_aid_3 = tmp0_8.
|
|
4772
|
+
var tmp0_aid_3 = tmp0_8.j9x_1.h6d();
|
|
4773
4773
|
// Inline function 'kotlin.collections.map' call
|
|
4774
4774
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4775
4775
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
|
|
@@ -4781,7 +4781,7 @@
|
|
|
4781
4781
|
}
|
|
4782
4782
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tmp2_3, tmp4_3, element_8, destination_20);
|
|
4783
4783
|
var tmp_0;
|
|
4784
|
-
if (this.
|
|
4784
|
+
if (this.k9x_1.i9x_1.supportBackwardActions && getPlayer(state.h6m().players, sendToPlayer_8.b7a_1).u6p_1.j6t_1) {
|
|
4785
4785
|
tmp_0 = null;
|
|
4786
4786
|
} else {
|
|
4787
4787
|
tmp_0 = mapToClient_8(action_0, sendToPlayer_8);
|
|
@@ -4797,72 +4797,72 @@
|
|
|
4797
4797
|
tmp = destination_19;
|
|
4798
4798
|
} else {
|
|
4799
4799
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
4800
|
-
var tmp0_9 = this.
|
|
4800
|
+
var tmp0_9 = this.k9x_1;
|
|
4801
4801
|
var tmp2_4 = state.h6m();
|
|
4802
4802
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4803
|
-
var exceptPlayerId = this.
|
|
4804
|
-
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.
|
|
4803
|
+
var exceptPlayerId = this.k9x_1.i9x_1.supportBackwardActions ? action_0.q8u_1 : null;
|
|
4804
|
+
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.j9x_1.h6d(), tmp2_4.id, exceptPlayerId);
|
|
4805
4805
|
var tmp$ret$109 = mapToClient_7(action_0, sendToPlayer_9);
|
|
4806
4806
|
tmp = listOfNotNull(tmp$ret$109);
|
|
4807
4807
|
} else {
|
|
4808
4808
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
4809
|
-
var tmp0_10 = this.
|
|
4809
|
+
var tmp0_10 = this.k9x_1;
|
|
4810
4810
|
var tmp2_5 = state.h6m();
|
|
4811
4811
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4812
|
-
var exceptPlayerId_0 = this.
|
|
4813
|
-
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.
|
|
4812
|
+
var exceptPlayerId_0 = this.k9x_1.i9x_1.supportBackwardActions ? action_0.t8p_1 : null;
|
|
4813
|
+
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.j9x_1.h6d(), tmp2_5.id, exceptPlayerId_0);
|
|
4814
4814
|
var tmp$ret$111 = mapToClient_6(action_0, sendToPlayer_10);
|
|
4815
4815
|
tmp = listOfNotNull(tmp$ret$111);
|
|
4816
4816
|
} else {
|
|
4817
4817
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
4818
|
-
var tmp0_11 = this.
|
|
4818
|
+
var tmp0_11 = this.k9x_1;
|
|
4819
4819
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4820
4820
|
var table_7 = state.h6m();
|
|
4821
|
-
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.
|
|
4821
|
+
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.j9x_1.h6d(), table_7.id, null);
|
|
4822
4822
|
var tmp$ret$113 = mapToClient_5(action_0, sendToPlayer_11);
|
|
4823
4823
|
tmp = listOfNotNull(tmp$ret$113);
|
|
4824
4824
|
} else {
|
|
4825
4825
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
4826
|
-
var tmp0_12 = this.
|
|
4826
|
+
var tmp0_12 = this.k9x_1;
|
|
4827
4827
|
var tmp2_6 = state.h6m();
|
|
4828
4828
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4829
|
-
var exceptPlayerId_1 = this.
|
|
4830
|
-
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.
|
|
4829
|
+
var exceptPlayerId_1 = this.k9x_1.i9x_1.supportBackwardActions ? action_0.w8u_1 : null;
|
|
4830
|
+
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.j9x_1.h6d(), tmp2_6.id, exceptPlayerId_1);
|
|
4831
4831
|
var tmp$ret$115 = mapToClient_4(action_0, sendToPlayer_12);
|
|
4832
4832
|
tmp = listOfNotNull(tmp$ret$115);
|
|
4833
4833
|
} else {
|
|
4834
4834
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
4835
|
-
var tmp0_13 = this.
|
|
4835
|
+
var tmp0_13 = this.k9x_1;
|
|
4836
4836
|
var tmp2_7 = state.h6m();
|
|
4837
4837
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4838
|
-
var exceptPlayerId_2 = this.
|
|
4839
|
-
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.
|
|
4838
|
+
var exceptPlayerId_2 = this.k9x_1.i9x_1.supportBackwardActions ? action_0.y8p_1 : null;
|
|
4839
|
+
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.j9x_1.h6d(), tmp2_7.id, exceptPlayerId_2);
|
|
4840
4840
|
var tmp$ret$117 = mapToClient_3(action_0, sendToPlayer_13);
|
|
4841
4841
|
tmp = listOfNotNull(tmp$ret$117);
|
|
4842
4842
|
} else {
|
|
4843
4843
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
4844
|
-
var tmp0_14 = this.
|
|
4844
|
+
var tmp0_14 = this.k9x_1;
|
|
4845
4845
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4846
4846
|
var table_8 = state.h6m();
|
|
4847
|
-
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.
|
|
4847
|
+
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.j9x_1.h6d(), table_8.id, null);
|
|
4848
4848
|
var tmp$ret$119 = mapToClient_2(action_0, sendToPlayer_14);
|
|
4849
4849
|
tmp = listOfNotNull(tmp$ret$119);
|
|
4850
4850
|
} else {
|
|
4851
4851
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
4852
|
-
var tmp0_15 = this.
|
|
4852
|
+
var tmp0_15 = this.k9x_1;
|
|
4853
4853
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4854
4854
|
var table_9 = state.h6m();
|
|
4855
|
-
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.
|
|
4855
|
+
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.j9x_1.h6d(), table_9.id, null);
|
|
4856
4856
|
var tmp$ret$121 = mapToClient_1(action_0, sendToPlayer_15);
|
|
4857
4857
|
tmp = listOfNotNull(tmp$ret$121);
|
|
4858
4858
|
} else {
|
|
4859
4859
|
if (action_0 instanceof MessageMechanicAction) {
|
|
4860
4860
|
var message = action_0.a8v_1;
|
|
4861
|
-
var tmp0_16 = this.
|
|
4861
|
+
var tmp0_16 = this.k9x_1;
|
|
4862
4862
|
var tmp2_8 = state.h6m();
|
|
4863
4863
|
var tmp_1;
|
|
4864
4864
|
var tmp_2;
|
|
4865
|
-
if (this.
|
|
4865
|
+
if (this.k9x_1.i9x_1.supportBackwardActions) {
|
|
4866
4866
|
tmp_2 = isInterface(message, UserMessage);
|
|
4867
4867
|
} else {
|
|
4868
4868
|
tmp_2 = false;
|
|
@@ -4874,16 +4874,16 @@
|
|
|
4874
4874
|
}
|
|
4875
4875
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4876
4876
|
var exceptPlayerId_3 = tmp_1;
|
|
4877
|
-
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.
|
|
4877
|
+
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.j9x_1.h6d(), tmp2_8.id, exceptPlayerId_3);
|
|
4878
4878
|
var tmp$ret$123 = mapToClient_0(action_0, sendToPlayer_16);
|
|
4879
4879
|
tmp = listOfNotNull(tmp$ret$123);
|
|
4880
4880
|
} else {
|
|
4881
4881
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
4882
|
-
var tmp0_17 = this.
|
|
4882
|
+
var tmp0_17 = this.k9x_1;
|
|
4883
4883
|
var tmp2_9 = state.h6m();
|
|
4884
4884
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4885
4885
|
var exceptPlayerId_4 = action_0.playerId;
|
|
4886
|
-
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.
|
|
4886
|
+
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.j9x_1.h6d(), tmp2_9.id, exceptPlayerId_4);
|
|
4887
4887
|
var tmp$ret$125 = mapToClient(action_0, sendToPlayer_17);
|
|
4888
4888
|
tmp = listOfNotNull(tmp$ret$125);
|
|
4889
4889
|
} else {
|
|
@@ -4920,8 +4920,8 @@
|
|
|
4920
4920
|
return this.u6g(store, next, action);
|
|
4921
4921
|
};
|
|
4922
4922
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
4923
|
-
this.
|
|
4924
|
-
this.
|
|
4923
|
+
this.i9x_1 = logicConfig;
|
|
4924
|
+
this.j9x_1 = idsProvider;
|
|
4925
4925
|
}
|
|
4926
4926
|
protoOf(ServerMapMechanicToClientActionMiddleware).j8z = function () {
|
|
4927
4927
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
@@ -4932,8 +4932,8 @@
|
|
|
4932
4932
|
return new sendToClientActionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, provider);
|
|
4933
4933
|
}
|
|
4934
4934
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
4935
|
-
this.
|
|
4936
|
-
this.
|
|
4935
|
+
this.t9x_1 = $provider;
|
|
4936
|
+
this.u9x_1 = $action;
|
|
4937
4937
|
CoroutineImpl.call(this, resultContinuation);
|
|
4938
4938
|
}
|
|
4939
4939
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).z2c = function ($this$launchDefault, $completion) {
|
|
@@ -4954,7 +4954,7 @@
|
|
|
4954
4954
|
case 0:
|
|
4955
4955
|
this.s8_1 = 2;
|
|
4956
4956
|
this.r8_1 = 1;
|
|
4957
|
-
suspendResult = this.
|
|
4957
|
+
suspendResult = this.t9x_1.g9u(this.u9x_1, this);
|
|
4958
4958
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4959
4959
|
return suspendResult;
|
|
4960
4960
|
}
|
|
@@ -4977,8 +4977,8 @@
|
|
|
4977
4977
|
while (true);
|
|
4978
4978
|
};
|
|
4979
4979
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).a2d = function ($this$launchDefault, completion) {
|
|
4980
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
4981
|
-
i.
|
|
4980
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.t9x_1, this.u9x_1, completion);
|
|
4981
|
+
i.v9x_1 = $this$launchDefault;
|
|
4982
4982
|
return i;
|
|
4983
4983
|
};
|
|
4984
4984
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -4990,15 +4990,15 @@
|
|
|
4990
4990
|
return l;
|
|
4991
4991
|
}
|
|
4992
4992
|
function sendToClientActionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $provider) {
|
|
4993
|
-
this.
|
|
4994
|
-
this.
|
|
4993
|
+
this.w9x_1 = $asyncProvider;
|
|
4994
|
+
this.x9x_1 = $provider;
|
|
4995
4995
|
}
|
|
4996
4996
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).f6f = function (action) {
|
|
4997
4997
|
return action instanceof ToClientAction;
|
|
4998
4998
|
};
|
|
4999
4999
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).u6g = function (store, next, action) {
|
|
5000
5000
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
5001
|
-
this.
|
|
5001
|
+
this.w9x_1.e6c(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.x9x_1, action_0, null));
|
|
5002
5002
|
next(action_0);
|
|
5003
5003
|
};
|
|
5004
5004
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).e6f = function (store, next, action) {
|
|
@@ -5013,12 +5013,12 @@
|
|
|
5013
5013
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).f6f = function (action) {
|
|
5014
5014
|
return action instanceof UpdateServerConfigAction;
|
|
5015
5015
|
};
|
|
5016
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
5016
|
+
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).e97 = function (state, action) {
|
|
5017
5017
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
5018
|
-
return state.r8s(VOID, get_serverStatePayload_0(state).copy(action_0.
|
|
5018
|
+
return state.r8s(VOID, get_serverStatePayload_0(state).copy(action_0.m9w_1));
|
|
5019
5019
|
};
|
|
5020
5020
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).v6g = function (state, action) {
|
|
5021
|
-
return this.
|
|
5021
|
+
return this.e97((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5022
5022
|
};
|
|
5023
5023
|
function ServerMechanicLifecycleReducer$onStart$lambda($action) {
|
|
5024
5024
|
return function (it) {
|
|
@@ -5040,12 +5040,12 @@
|
|
|
5040
5040
|
}
|
|
5041
5041
|
function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
|
|
5042
5042
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
5043
|
-
this.
|
|
5043
|
+
this.a9y_1 = logger;
|
|
5044
5044
|
}
|
|
5045
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5045
|
+
protoOf(ServerMechanicLifecycleReducer).q98 = function (state, action) {
|
|
5046
5046
|
var serverState = get_serverStatePayloadOrNull(state.s6l_1);
|
|
5047
5047
|
var tmp8_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5048
|
-
var tmp0_$this = this.
|
|
5048
|
+
var tmp0_$this = this.r98_1;
|
|
5049
5049
|
var tmp1_tableId = action.q8t_1;
|
|
5050
5050
|
var tmp2_gameId = action.q8t_1;
|
|
5051
5051
|
var tmp3_version = action.r8t_1;
|
|
@@ -5053,10 +5053,10 @@
|
|
|
5053
5053
|
var tmp5_users = action.t8t_1;
|
|
5054
5054
|
var tmp6_spectators = action.spectators;
|
|
5055
5055
|
var tmp7_gameCreatorPlayerId = action.s8t_1;
|
|
5056
|
-
var tmp9_tableOrNull = tmp0_$this.
|
|
5056
|
+
var tmp9_tableOrNull = tmp0_$this.x99(tmp1_tableId, tmp2_gameId, tmp4_config, tmp3_version, tmp5_users, tmp6_spectators, tmp7_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
|
|
5057
5057
|
var tmp;
|
|
5058
5058
|
if (serverState == null) {
|
|
5059
|
-
this.
|
|
5059
|
+
this.a9y_1.w(VOID, 'ServerPayload is not onStart');
|
|
5060
5060
|
tmp = Companion_instance_13.initial();
|
|
5061
5061
|
} else {
|
|
5062
5062
|
tmp = serverState;
|
|
@@ -5064,7 +5064,7 @@
|
|
|
5064
5064
|
var tmp10_payload = tmp;
|
|
5065
5065
|
return state.r8s(tmp9_tableOrNull, tmp10_payload, tmp8_gameLifecycleState);
|
|
5066
5066
|
};
|
|
5067
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5067
|
+
protoOf(ServerMechanicLifecycleReducer).o98 = function (state, action) {
|
|
5068
5068
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5069
5069
|
var tmp2_tableOrNull = action.w8t_1;
|
|
5070
5070
|
var tmp = Companion_instance_13;
|
|
@@ -5074,10 +5074,10 @@
|
|
|
5074
5074
|
var tmp3_payload = tmp.initial(tmp_0.copy(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.d65_1));
|
|
5075
5075
|
return state.r8s(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
|
|
5076
5076
|
};
|
|
5077
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5078
|
-
this.
|
|
5077
|
+
protoOf(ServerMechanicLifecycleReducer).p98 = function (state, action) {
|
|
5078
|
+
this.s98_1.l58(action.previousGameId);
|
|
5079
5079
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5080
|
-
var tmp1_tableOrNull = this.
|
|
5080
|
+
var tmp1_tableOrNull = this.r98_1.y99(state.h6m(), action.gameId);
|
|
5081
5081
|
return state.r8s(tmp1_tableOrNull, VOID, tmp0_gameLifecycleState);
|
|
5082
5082
|
};
|
|
5083
5083
|
function spectatorsReducer(logger) {
|
|
@@ -5085,18 +5085,18 @@
|
|
|
5085
5085
|
return new spectatorsReducer$$inlined$reducerForActionType$1(logger);
|
|
5086
5086
|
}
|
|
5087
5087
|
function spectatorsReducer$$inlined$reducerForActionType$1($logger) {
|
|
5088
|
-
this.
|
|
5088
|
+
this.b9y_1 = $logger;
|
|
5089
5089
|
}
|
|
5090
5090
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).f6f = function (action) {
|
|
5091
5091
|
return isInterface(action, SpectatorsAction);
|
|
5092
5092
|
};
|
|
5093
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
5093
|
+
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).e97 = function (state, action) {
|
|
5094
5094
|
var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
|
|
5095
5095
|
var table = state.h6m();
|
|
5096
5096
|
var tmp;
|
|
5097
5097
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
5098
5098
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5099
|
-
var tmp0 = action_0.
|
|
5099
|
+
var tmp0 = action_0.n9w_1;
|
|
5100
5100
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5101
5101
|
var destination = ArrayList_init_$Create$_0();
|
|
5102
5102
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5115,9 +5115,9 @@
|
|
|
5115
5115
|
var tmp_0;
|
|
5116
5116
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5117
5117
|
if (!sameSpectators.r()) {
|
|
5118
|
-
this.
|
|
5118
|
+
this.b9y_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
5119
5119
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5120
|
-
var tmp0_0 = action_0.
|
|
5120
|
+
var tmp0_0 = action_0.n9w_1;
|
|
5121
5121
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5122
5122
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
5123
5123
|
var _iterator__ex2g4s_0 = tmp0_0.l();
|
|
@@ -5152,7 +5152,7 @@
|
|
|
5152
5152
|
}
|
|
5153
5153
|
tmp_0 = destination_0;
|
|
5154
5154
|
} else {
|
|
5155
|
-
tmp_0 = action_0.
|
|
5155
|
+
tmp_0 = action_0.n9w_1;
|
|
5156
5156
|
}
|
|
5157
5157
|
// Inline function 'kotlin.collections.map' call
|
|
5158
5158
|
var this_0 = tmp_0;
|
|
@@ -5169,7 +5169,7 @@
|
|
|
5169
5169
|
} else {
|
|
5170
5170
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
5171
5171
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5172
|
-
var tmp0_1 = action_0.
|
|
5172
|
+
var tmp0_1 = action_0.o9w_1;
|
|
5173
5173
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5174
5174
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
5175
5175
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5188,9 +5188,9 @@
|
|
|
5188
5188
|
var tmp_2;
|
|
5189
5189
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5190
5190
|
if (!sameSpectators_0.r()) {
|
|
5191
|
-
this.
|
|
5191
|
+
this.b9y_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
5192
5192
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5193
|
-
var tmp0_2 = action_0.
|
|
5193
|
+
var tmp0_2 = action_0.o9w_1;
|
|
5194
5194
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5195
5195
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
5196
5196
|
var _iterator__ex2g4s_4 = tmp0_2.l();
|
|
@@ -5225,7 +5225,7 @@
|
|
|
5225
5225
|
}
|
|
5226
5226
|
tmp_2 = destination_3;
|
|
5227
5227
|
} else {
|
|
5228
|
-
tmp_2 = action_0.
|
|
5228
|
+
tmp_2 = action_0.o9w_1;
|
|
5229
5229
|
}
|
|
5230
5230
|
var spectatorsToRemove = toSet(tmp_2);
|
|
5231
5231
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -5270,16 +5270,16 @@
|
|
|
5270
5270
|
return tmp;
|
|
5271
5271
|
};
|
|
5272
5272
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).v6g = function (state, action) {
|
|
5273
|
-
return this.
|
|
5273
|
+
return this.e97((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5274
5274
|
};
|
|
5275
5275
|
function Companion_5() {
|
|
5276
5276
|
}
|
|
5277
|
-
protoOf(Companion_5).
|
|
5277
|
+
protoOf(Companion_5).c9y = function (config) {
|
|
5278
5278
|
return new ServerStatePayload(config);
|
|
5279
5279
|
};
|
|
5280
5280
|
protoOf(Companion_5).initial = function (config, $super) {
|
|
5281
5281
|
config = config === VOID ? Companion_instance_8.initial(null) : config;
|
|
5282
|
-
return $super === VOID ? this.
|
|
5282
|
+
return $super === VOID ? this.c9y(config) : $super.c9y.call(this, config);
|
|
5283
5283
|
};
|
|
5284
5284
|
var Companion_instance_13;
|
|
5285
5285
|
function Companion_getInstance_6() {
|
|
@@ -5294,12 +5294,12 @@
|
|
|
5294
5294
|
protoOf(ServerStatePayload).ne = function () {
|
|
5295
5295
|
return this.config;
|
|
5296
5296
|
};
|
|
5297
|
-
protoOf(ServerStatePayload).
|
|
5297
|
+
protoOf(ServerStatePayload).d9y = function (config) {
|
|
5298
5298
|
return new ServerStatePayload(config);
|
|
5299
5299
|
};
|
|
5300
5300
|
protoOf(ServerStatePayload).copy = function (config, $super) {
|
|
5301
5301
|
config = config === VOID ? this.config : config;
|
|
5302
|
-
return $super === VOID ? this.
|
|
5302
|
+
return $super === VOID ? this.d9y(config) : $super.d9y.call(this, config);
|
|
5303
5303
|
};
|
|
5304
5304
|
protoOf(ServerStatePayload).toString = function () {
|
|
5305
5305
|
return 'ServerStatePayload(config=' + this.config.toString() + ')';
|
|
@@ -5346,14 +5346,14 @@
|
|
|
5346
5346
|
return new GameServerEngineControllerImpl(loggerCallback, randomOrgConfig);
|
|
5347
5347
|
}
|
|
5348
5348
|
function _get_logger__rkp4sl_1($this) {
|
|
5349
|
-
var tmp0 = $this.
|
|
5349
|
+
var tmp0 = $this.n9y_1;
|
|
5350
5350
|
var tmp = KProperty1;
|
|
5351
5351
|
// Inline function 'kotlin.getValue' call
|
|
5352
5352
|
getPropertyCallableRef('logger', 1, tmp, GameServerEngineControllerImpl$_get_logger_$ref_b9j0th(), null);
|
|
5353
5353
|
return tmp0.w();
|
|
5354
5354
|
}
|
|
5355
5355
|
function _get_di__ndbzja($this) {
|
|
5356
|
-
var tmp0 = $this.
|
|
5356
|
+
var tmp0 = $this.o9y_1;
|
|
5357
5357
|
var tmp = KProperty1;
|
|
5358
5358
|
// Inline function 'kotlin.getValue' call
|
|
5359
5359
|
getPropertyCallableRef('di', 1, tmp, GameServerEngineControllerImpl$_get_di_$ref_cvlqo6(), null);
|
|
@@ -5366,11 +5366,11 @@
|
|
|
5366
5366
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
5367
5367
|
return function () {
|
|
5368
5368
|
var tmp;
|
|
5369
|
-
if (this$0.
|
|
5369
|
+
if (this$0.l9y_1 == null) {
|
|
5370
5370
|
tmp = null;
|
|
5371
5371
|
} else {
|
|
5372
5372
|
// Inline function 'kotlin.let' call
|
|
5373
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
5373
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.l9y_1)]));
|
|
5374
5374
|
}
|
|
5375
5375
|
var tmp1_elvis_lhs = tmp;
|
|
5376
5376
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -5403,7 +5403,7 @@
|
|
|
5403
5403
|
tmp_0.x62(tmp$ret$3);
|
|
5404
5404
|
$this$DI.b5z(jsonModule());
|
|
5405
5405
|
$this$DI.b5z(serverHelpersModule());
|
|
5406
|
-
$this$DI.b5z(randomOrgModule(this$0.
|
|
5406
|
+
$this$DI.b5z(randomOrgModule(this$0.m9y_1));
|
|
5407
5407
|
return Unit_instance;
|
|
5408
5408
|
};
|
|
5409
5409
|
}
|
|
@@ -5479,16 +5479,16 @@
|
|
|
5479
5479
|
};
|
|
5480
5480
|
}
|
|
5481
5481
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1($reducer) {
|
|
5482
|
-
this.
|
|
5482
|
+
this.v9y_1 = $reducer;
|
|
5483
5483
|
}
|
|
5484
5484
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).f6f = function (action) {
|
|
5485
5485
|
return isInterface(action, Action);
|
|
5486
5486
|
};
|
|
5487
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
5488
|
-
return this.
|
|
5487
|
+
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).e97 = function (state, action) {
|
|
5488
|
+
return this.v9y_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
5489
5489
|
};
|
|
5490
5490
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).v6g = function (state, action) {
|
|
5491
|
-
return this.
|
|
5491
|
+
return this.e97((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5492
5492
|
};
|
|
5493
5493
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($fileLoggerOutput) {
|
|
5494
5494
|
return function ($this$singleton) {
|
|
@@ -5545,7 +5545,7 @@
|
|
|
5545
5545
|
}
|
|
5546
5546
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0($gameServer) {
|
|
5547
5547
|
return function (it) {
|
|
5548
|
-
var tmp0_elvis_lhs = Companion_instance_4.
|
|
5548
|
+
var tmp0_elvis_lhs = Companion_instance_4.y9b(it);
|
|
5549
5549
|
var tmp;
|
|
5550
5550
|
if (tmp0_elvis_lhs == null) {
|
|
5551
5551
|
var tmp1_safe_receiver = $gameServer.s66().r6l_1;
|
|
@@ -5558,7 +5558,7 @@
|
|
|
5558
5558
|
}
|
|
5559
5559
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1($gameServer) {
|
|
5560
5560
|
return function (it) {
|
|
5561
|
-
var tmp0_elvis_lhs = Companion_instance_5.
|
|
5561
|
+
var tmp0_elvis_lhs = Companion_instance_5.l9a(it);
|
|
5562
5562
|
var tmp;
|
|
5563
5563
|
if (tmp0_elvis_lhs == null) {
|
|
5564
5564
|
var tmp1_safe_receiver = $gameServer.s66().r6l_1;
|
|
@@ -5579,7 +5579,7 @@
|
|
|
5579
5579
|
// Inline function 'kotlin.let' call
|
|
5580
5580
|
$this$DI.b5z(tmp0_safe_receiver);
|
|
5581
5581
|
}
|
|
5582
|
-
$this$DI.b5z(dealerModule(this$0.randomPoolProvider, this$0.
|
|
5582
|
+
$this$DI.b5z(dealerModule(this$0.randomPoolProvider, this$0.m9y_1));
|
|
5583
5583
|
$this$DI.b5z(coreModule($coreConfig));
|
|
5584
5584
|
$this$DI.b5z(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $ratingConfig, $externalReducers, $externalMiddlewares));
|
|
5585
5585
|
return Unit_instance;
|
|
@@ -5588,13 +5588,13 @@
|
|
|
5588
5588
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
5589
5589
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
5590
5590
|
production = production === VOID ? true : production;
|
|
5591
|
-
this.
|
|
5592
|
-
this.
|
|
5591
|
+
this.l9y_1 = loggerCallback;
|
|
5592
|
+
this.m9y_1 = randomOrgConfig;
|
|
5593
5593
|
AppEnvironment_getInstance().a6l(production ? AppEnvironmentValue_PRODUCTION_getInstance() : AppEnvironmentValue_DEVELOPMENT_getInstance());
|
|
5594
5594
|
var tmp = this;
|
|
5595
|
-
tmp.
|
|
5595
|
+
tmp.n9y_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
5596
5596
|
var tmp_0 = this;
|
|
5597
|
-
tmp_0.
|
|
5597
|
+
tmp_0.o9y_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
5598
5598
|
var tmp_1 = this;
|
|
5599
5599
|
// Inline function 'org.kodein.di.instance' call
|
|
5600
5600
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -5603,7 +5603,7 @@
|
|
|
5603
5603
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5604
5604
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
5605
5605
|
var tmp_4 = KProperty1;
|
|
5606
|
-
tmp_1.
|
|
5606
|
+
tmp_1.p9y_1 = tmp_3.u64(this, getPropertyCallableRef('parser', 1, tmp_4, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w(), null));
|
|
5607
5607
|
var tmp_5 = this;
|
|
5608
5608
|
// Inline function 'org.kodein.di.instance' call
|
|
5609
5609
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -5612,7 +5612,7 @@
|
|
|
5612
5612
|
var tmp$ret$2 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
5613
5613
|
var tmp_7 = Instance(this_1, tmp$ret$2, null);
|
|
5614
5614
|
var tmp_8 = KProperty1;
|
|
5615
|
-
tmp_5.
|
|
5615
|
+
tmp_5.q9y_1 = tmp_7.u64(this, getPropertyCallableRef('helper', 1, tmp_8, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f(), null));
|
|
5616
5616
|
var tmp_9 = this;
|
|
5617
5617
|
// Inline function 'org.kodein.di.instance' call
|
|
5618
5618
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -5621,7 +5621,7 @@
|
|
|
5621
5621
|
var tmp$ret$4 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
5622
5622
|
var tmp_11 = Instance(this_2, tmp$ret$4, null);
|
|
5623
5623
|
var tmp_12 = KProperty1;
|
|
5624
|
-
tmp_9.
|
|
5624
|
+
tmp_9.r9y_1 = tmp_11.u64(this, getPropertyCallableRef('serverHelper', 1, tmp_12, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre(), null));
|
|
5625
5625
|
var tmp_13 = this;
|
|
5626
5626
|
// Inline function 'org.kodein.di.instance' call
|
|
5627
5627
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -5630,7 +5630,7 @@
|
|
|
5630
5630
|
var tmp$ret$6 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
5631
5631
|
var tmp_15 = Instance(this_3, tmp$ret$6, null);
|
|
5632
5632
|
var tmp_16 = KProperty1;
|
|
5633
|
-
tmp_13.
|
|
5633
|
+
tmp_13.s9y_1 = tmp_15.u64(this, getPropertyCallableRef('resources', 1, tmp_16, GameServerEngineControllerImpl$_get_resources_$ref_dt6416(), null));
|
|
5634
5634
|
var tmp_17 = this;
|
|
5635
5635
|
// Inline function 'org.kodein.di.instance' call
|
|
5636
5636
|
var this_4 = _get_di__ndbzja(this);
|
|
@@ -5639,7 +5639,7 @@
|
|
|
5639
5639
|
var tmp$ret$8 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
5640
5640
|
var tmp_19 = Instance(this_4, tmp$ret$8, null);
|
|
5641
5641
|
var tmp_20 = KProperty1;
|
|
5642
|
-
tmp_17.
|
|
5642
|
+
tmp_17.t9y_1 = tmp_19.u64(this, getPropertyCallableRef('test', 1, tmp_20, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5(), null));
|
|
5643
5643
|
var tmp_21 = this;
|
|
5644
5644
|
// Inline function 'org.kodein.di.instance' call
|
|
5645
5645
|
var this_5 = _get_di__ndbzja(this);
|
|
@@ -5648,45 +5648,45 @@
|
|
|
5648
5648
|
var tmp$ret$10 = isInterface(tmp_22, TypeToken) ? tmp_22 : THROW_CCE();
|
|
5649
5649
|
var tmp_23 = Instance(this_5, tmp$ret$10, null);
|
|
5650
5650
|
var tmp_24 = KProperty1;
|
|
5651
|
-
tmp_21.
|
|
5651
|
+
tmp_21.u9y_1 = tmp_23.u64(this, getPropertyCallableRef('randomPoolProvider', 1, tmp_24, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl(), null));
|
|
5652
5652
|
}
|
|
5653
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5654
|
-
var tmp0 = this.
|
|
5653
|
+
protoOf(GameServerEngineControllerImpl).e9y = function () {
|
|
5654
|
+
var tmp0 = this.p9y_1;
|
|
5655
5655
|
var tmp = KProperty1;
|
|
5656
5656
|
// Inline function 'kotlin.getValue' call
|
|
5657
5657
|
getPropertyCallableRef('parser', 1, tmp, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w_0(), null);
|
|
5658
5658
|
return tmp0.w();
|
|
5659
5659
|
};
|
|
5660
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5661
|
-
var tmp0 = this.
|
|
5660
|
+
protoOf(GameServerEngineControllerImpl).g9y = function () {
|
|
5661
|
+
var tmp0 = this.q9y_1;
|
|
5662
5662
|
var tmp = KProperty1;
|
|
5663
5663
|
// Inline function 'kotlin.getValue' call
|
|
5664
5664
|
getPropertyCallableRef('helper', 1, tmp, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f_0(), null);
|
|
5665
5665
|
return tmp0.w();
|
|
5666
5666
|
};
|
|
5667
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5668
|
-
var tmp0 = this.
|
|
5667
|
+
protoOf(GameServerEngineControllerImpl).h9y = function () {
|
|
5668
|
+
var tmp0 = this.r9y_1;
|
|
5669
5669
|
var tmp = KProperty1;
|
|
5670
5670
|
// Inline function 'kotlin.getValue' call
|
|
5671
5671
|
getPropertyCallableRef('serverHelper', 1, tmp, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre_0(), null);
|
|
5672
5672
|
return tmp0.w();
|
|
5673
5673
|
};
|
|
5674
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5675
|
-
var tmp0 = this.
|
|
5674
|
+
protoOf(GameServerEngineControllerImpl).i9y = function () {
|
|
5675
|
+
var tmp0 = this.s9y_1;
|
|
5676
5676
|
var tmp = KProperty1;
|
|
5677
5677
|
// Inline function 'kotlin.getValue' call
|
|
5678
5678
|
getPropertyCallableRef('resources', 1, tmp, GameServerEngineControllerImpl$_get_resources_$ref_dt6416_0(), null);
|
|
5679
5679
|
return tmp0.w();
|
|
5680
5680
|
};
|
|
5681
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5682
|
-
var tmp0 = this.
|
|
5681
|
+
protoOf(GameServerEngineControllerImpl).f9y = function () {
|
|
5682
|
+
var tmp0 = this.t9y_1;
|
|
5683
5683
|
var tmp = KProperty1;
|
|
5684
5684
|
// Inline function 'kotlin.getValue' call
|
|
5685
5685
|
getPropertyCallableRef('test', 1, tmp, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5_0(), null);
|
|
5686
5686
|
return tmp0.w();
|
|
5687
5687
|
};
|
|
5688
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5689
|
-
var tmp0 = this.
|
|
5688
|
+
protoOf(GameServerEngineControllerImpl).j9y = function () {
|
|
5689
|
+
var tmp0 = this.u9y_1;
|
|
5690
5690
|
var tmp = KProperty1;
|
|
5691
5691
|
// Inline function 'kotlin.getValue' call
|
|
5692
5692
|
getPropertyCallableRef('randomPoolProvider', 1, tmp, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl_0(), null);
|
|
@@ -5698,7 +5698,7 @@
|
|
|
5698
5698
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
5699
5699
|
return this.createGameEngineWithLogic();
|
|
5700
5700
|
};
|
|
5701
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5701
|
+
protoOf(GameServerEngineControllerImpl).k9y = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig) {
|
|
5702
5702
|
var combinedLogger = Companion_instance_6.mx();
|
|
5703
5703
|
var tmp;
|
|
5704
5704
|
if (coreConfig.fileLogsEnabled) {
|
|
@@ -5708,8 +5708,8 @@
|
|
|
5708
5708
|
}
|
|
5709
5709
|
var fileLoggerOutput = tmp;
|
|
5710
5710
|
var tmp_0;
|
|
5711
|
-
if (!(this.
|
|
5712
|
-
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.
|
|
5711
|
+
if (!(this.l9y_1 == null)) {
|
|
5712
|
+
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.l9y_1));
|
|
5713
5713
|
} else {
|
|
5714
5714
|
tmp_0 = null;
|
|
5715
5715
|
}
|
|
@@ -5750,12 +5750,12 @@
|
|
|
5750
5750
|
var gameServer = tmp_1.l60(tmp$ret$7, null);
|
|
5751
5751
|
if (!(fileLoggerOutput == null)) {
|
|
5752
5752
|
var tmp_3 = fileLoggerOutput;
|
|
5753
|
-
tmp_3.
|
|
5753
|
+
tmp_3.n9b_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0(gameServer);
|
|
5754
5754
|
combinedLogger.w1k(fileLoggerOutput);
|
|
5755
5755
|
}
|
|
5756
5756
|
if (!(callbackWrapperLoggerOutput == null)) {
|
|
5757
5757
|
var tmp_4 = callbackWrapperLoggerOutput;
|
|
5758
|
-
tmp_4.
|
|
5758
|
+
tmp_4.n9a_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1(gameServer);
|
|
5759
5759
|
combinedLogger.w1k(callbackWrapperLoggerOutput);
|
|
5760
5760
|
}
|
|
5761
5761
|
return gameServer;
|
|
@@ -5770,7 +5770,7 @@
|
|
|
5770
5770
|
function TestHelper() {
|
|
5771
5771
|
}
|
|
5772
5772
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
5773
|
-
var tmp0 = $this.
|
|
5773
|
+
var tmp0 = $this.y9y_1;
|
|
5774
5774
|
var tmp = KProperty1;
|
|
5775
5775
|
// Inline function 'kotlin.getValue' call
|
|
5776
5776
|
getPropertyCallableRef('playerAnswerInteractor', 1, tmp, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy_0(), null);
|
|
@@ -5778,7 +5778,7 @@
|
|
|
5778
5778
|
}
|
|
5779
5779
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
5780
5780
|
return function ($this$singleton) {
|
|
5781
|
-
return this$0.
|
|
5781
|
+
return this$0.w9y_1;
|
|
5782
5782
|
};
|
|
5783
5783
|
}
|
|
5784
5784
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -5817,19 +5817,19 @@
|
|
|
5817
5817
|
return emptyMap();
|
|
5818
5818
|
}
|
|
5819
5819
|
function TestHelperImpl(logger) {
|
|
5820
|
-
this.
|
|
5820
|
+
this.w9y_1 = logger;
|
|
5821
5821
|
var tmp = this;
|
|
5822
5822
|
var tmp_0 = Companion_instance_3;
|
|
5823
|
-
tmp.
|
|
5823
|
+
tmp.x9y_1 = tmp_0.i5z(VOID, TestHelperImpl$di$lambda(this));
|
|
5824
5824
|
var tmp_1 = this;
|
|
5825
5825
|
// Inline function 'org.kodein.di.instance' call
|
|
5826
|
-
var this_0 = this.
|
|
5826
|
+
var this_0 = this.x9y_1;
|
|
5827
5827
|
// Inline function 'org.kodein.type.generic' call
|
|
5828
5828
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
5829
5829
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5830
5830
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
5831
5831
|
var tmp_4 = KProperty1;
|
|
5832
|
-
tmp_1.
|
|
5832
|
+
tmp_1.y9y_1 = tmp_3.u64(this, getPropertyCallableRef('playerAnswerInteractor', 1, tmp_4, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy(), null));
|
|
5833
5833
|
}
|
|
5834
5834
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
5835
5835
|
return _get_playerAnswerInteractor__msggz1(this).b8j(playerId, table, botConfig);
|
|
@@ -5984,22 +5984,22 @@
|
|
|
5984
5984
|
});
|
|
5985
5985
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
5986
5986
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
5987
|
-
return this.
|
|
5987
|
+
return this.e9y();
|
|
5988
5988
|
});
|
|
5989
5989
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
5990
|
-
return this.
|
|
5990
|
+
return this.g9y();
|
|
5991
5991
|
});
|
|
5992
5992
|
defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
|
|
5993
|
-
return this.
|
|
5993
|
+
return this.h9y();
|
|
5994
5994
|
});
|
|
5995
5995
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
5996
|
-
return this.
|
|
5996
|
+
return this.i9y();
|
|
5997
5997
|
});
|
|
5998
5998
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
5999
|
-
return this.
|
|
5999
|
+
return this.f9y();
|
|
6000
6000
|
});
|
|
6001
6001
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
6002
|
-
return this.
|
|
6002
|
+
return this.j9y();
|
|
6003
6003
|
});
|
|
6004
6004
|
//endregion
|
|
6005
6005
|
//region block: init
|