raspberry_games_server_game_logic 1.8.378 → 1.8.379
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 +9665 -9644
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.d.ts +3 -2
- package/Logic_Debertz-game_server.js +720 -720
- package/package.json +1 -1
|
@@ -360,10 +360,10 @@
|
|
|
360
360
|
spectators = tmp;
|
|
361
361
|
var tmp_0;
|
|
362
362
|
if ($super === VOID) {
|
|
363
|
-
this.
|
|
363
|
+
this.a9v(roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
364
364
|
tmp_0 = Unit_instance;
|
|
365
365
|
} else {
|
|
366
|
-
tmp_0 = $super.
|
|
366
|
+
tmp_0 = $super.a9v.call(this, roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
367
367
|
}
|
|
368
368
|
return tmp_0;
|
|
369
369
|
}
|
|
@@ -371,10 +371,10 @@
|
|
|
371
371
|
newRid = newRid === VOID ? null : newRid;
|
|
372
372
|
var tmp;
|
|
373
373
|
if ($super === VOID) {
|
|
374
|
-
this.
|
|
374
|
+
this.b9v(newRid);
|
|
375
375
|
tmp = Unit_instance;
|
|
376
376
|
} else {
|
|
377
|
-
tmp = $super.
|
|
377
|
+
tmp = $super.b9v.call(this, newRid);
|
|
378
378
|
}
|
|
379
379
|
return tmp;
|
|
380
380
|
}
|
|
@@ -382,10 +382,10 @@
|
|
|
382
382
|
roomId = roomId === VOID ? null : roomId;
|
|
383
383
|
var tmp;
|
|
384
384
|
if ($super === VOID) {
|
|
385
|
-
this.
|
|
385
|
+
this.c9v(reason, roomId);
|
|
386
386
|
tmp = Unit_instance;
|
|
387
387
|
} else {
|
|
388
|
-
tmp = $super.
|
|
388
|
+
tmp = $super.c9v.call(this, reason, roomId);
|
|
389
389
|
}
|
|
390
390
|
return tmp;
|
|
391
391
|
}
|
|
@@ -450,7 +450,7 @@
|
|
|
450
450
|
dealerConfig = dealerConfig === VOID ? new DealerConfig() : dealerConfig;
|
|
451
451
|
ratingConfig = ratingConfig === VOID ? new RatingConfig() : ratingConfig;
|
|
452
452
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
453
|
-
return $super === VOID ? this.
|
|
453
|
+
return $super === VOID ? this.q9z(reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig) : $super.q9z.call(this, reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig);
|
|
454
454
|
}
|
|
455
455
|
initMetadataForInterface(GameEngineController, 'GameEngineController');
|
|
456
456
|
initMetadataForClass(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1, VOID, VOID, VOID, [Reducer]);
|
|
@@ -461,17 +461,17 @@
|
|
|
461
461
|
initMetadataForClass(TestHelperImpl, 'TestHelperImpl', VOID, VOID, [TestHelper]);
|
|
462
462
|
//endregion
|
|
463
463
|
function GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation) {
|
|
464
|
-
this.
|
|
464
|
+
this.s9e_1 = $subscriber;
|
|
465
465
|
CoroutineImpl.call(this, resultContinuation);
|
|
466
466
|
}
|
|
467
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
468
|
-
var tmp = this.
|
|
467
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).u9e = function (it, $completion) {
|
|
468
|
+
var tmp = this.v9e(it, $completion);
|
|
469
469
|
tmp.t8_1 = Unit_instance;
|
|
470
470
|
tmp.u8_1 = null;
|
|
471
471
|
return tmp.z8();
|
|
472
472
|
};
|
|
473
473
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).h9 = function (p1, $completion) {
|
|
474
|
-
return this.
|
|
474
|
+
return this.u9e(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
|
|
475
475
|
};
|
|
476
476
|
protoOf(GameServer$subscribeToClientAction$slambda$slambda).z8 = function () {
|
|
477
477
|
var suspendResult = this.t8_1;
|
|
@@ -480,7 +480,7 @@
|
|
|
480
480
|
var tmp = this.r8_1;
|
|
481
481
|
if (tmp === 0) {
|
|
482
482
|
this.s8_1 = 1;
|
|
483
|
-
this.
|
|
483
|
+
this.s9e_1(this.t9e_1);
|
|
484
484
|
return Unit_instance;
|
|
485
485
|
} else if (tmp === 1) {
|
|
486
486
|
throw this.u8_1;
|
|
@@ -491,31 +491,31 @@
|
|
|
491
491
|
}
|
|
492
492
|
while (true);
|
|
493
493
|
};
|
|
494
|
-
protoOf(GameServer$subscribeToClientAction$slambda$slambda).
|
|
495
|
-
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.
|
|
496
|
-
i.
|
|
494
|
+
protoOf(GameServer$subscribeToClientAction$slambda$slambda).v9e = function (it, completion) {
|
|
495
|
+
var i = new GameServer$subscribeToClientAction$slambda$slambda(this.s9e_1, completion);
|
|
496
|
+
i.t9e_1 = it;
|
|
497
497
|
return i;
|
|
498
498
|
};
|
|
499
499
|
function GameServer$subscribeToClientAction$slambda$slambda_0($subscriber, resultContinuation) {
|
|
500
500
|
var i = new GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation);
|
|
501
501
|
var l = function (it, $completion) {
|
|
502
|
-
return i.
|
|
502
|
+
return i.u9e(it, $completion);
|
|
503
503
|
};
|
|
504
504
|
l.$arity = 1;
|
|
505
505
|
return l;
|
|
506
506
|
}
|
|
507
507
|
function GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation) {
|
|
508
|
-
this.
|
|
508
|
+
this.e9f_1 = $subscriber;
|
|
509
509
|
CoroutineImpl.call(this, resultContinuation);
|
|
510
510
|
}
|
|
511
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
512
|
-
var tmp = this.
|
|
511
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).g9f = function (it, $completion) {
|
|
512
|
+
var tmp = this.h9f(it, $completion);
|
|
513
513
|
tmp.t8_1 = Unit_instance;
|
|
514
514
|
tmp.u8_1 = null;
|
|
515
515
|
return tmp.z8();
|
|
516
516
|
};
|
|
517
517
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).h9 = function (p1, $completion) {
|
|
518
|
-
return this.
|
|
518
|
+
return this.g9f((!(p1 == null) ? isInterface(p1, ServerStateUpdate) : false) ? p1 : THROW_CCE(), $completion);
|
|
519
519
|
};
|
|
520
520
|
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).z8 = function () {
|
|
521
521
|
var suspendResult = this.t8_1;
|
|
@@ -524,7 +524,7 @@
|
|
|
524
524
|
var tmp = this.r8_1;
|
|
525
525
|
if (tmp === 0) {
|
|
526
526
|
this.s8_1 = 1;
|
|
527
|
-
this.
|
|
527
|
+
this.e9f_1(this.f9f_1);
|
|
528
528
|
return Unit_instance;
|
|
529
529
|
} else if (tmp === 1) {
|
|
530
530
|
throw this.u8_1;
|
|
@@ -535,22 +535,22 @@
|
|
|
535
535
|
}
|
|
536
536
|
while (true);
|
|
537
537
|
};
|
|
538
|
-
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).
|
|
539
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.
|
|
540
|
-
i.
|
|
538
|
+
protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).h9f = function (it, completion) {
|
|
539
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.e9f_1, completion);
|
|
540
|
+
i.f9f_1 = it;
|
|
541
541
|
return i;
|
|
542
542
|
};
|
|
543
543
|
function GameServer$subscribeServerStateUpdate$slambda$slambda_0($subscriber, resultContinuation) {
|
|
544
544
|
var i = new GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation);
|
|
545
545
|
var l = function (it, $completion) {
|
|
546
|
-
return i.
|
|
546
|
+
return i.g9f(it, $completion);
|
|
547
547
|
};
|
|
548
548
|
l.$arity = 1;
|
|
549
549
|
return l;
|
|
550
550
|
}
|
|
551
551
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
|
|
552
|
-
this.
|
|
553
|
-
this.
|
|
552
|
+
this.q9f_1 = $$this$unsafeFlow;
|
|
553
|
+
this.r9f_1 = this$0;
|
|
554
554
|
CoroutineImpl.call(this, resultContinuation);
|
|
555
555
|
}
|
|
556
556
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).u2h = function (value, $completion) {
|
|
@@ -570,10 +570,10 @@
|
|
|
570
570
|
switch (tmp) {
|
|
571
571
|
case 0:
|
|
572
572
|
this.s8_1 = 2;
|
|
573
|
-
var tmp0 = this.
|
|
574
|
-
var value = this.
|
|
573
|
+
var tmp0 = this.q9f_1;
|
|
574
|
+
var value = this.s9f_1;
|
|
575
575
|
this.r8_1 = 1;
|
|
576
|
-
suspendResult = tmp0.l28(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.
|
|
576
|
+
suspendResult = tmp0.l28(mapToDto_1(value, _get_encoderDecoderProvider__qqgrji(this.r9f_1)), this);
|
|
577
577
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
578
578
|
return suspendResult;
|
|
579
579
|
}
|
|
@@ -596,8 +596,8 @@
|
|
|
596
596
|
while (true);
|
|
597
597
|
};
|
|
598
598
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).v2h = function (value, completion) {
|
|
599
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.
|
|
600
|
-
i.
|
|
599
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.q9f_1, this.r9f_1, completion);
|
|
600
|
+
i.s9f_1 = value;
|
|
601
601
|
return i;
|
|
602
602
|
};
|
|
603
603
|
function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
@@ -610,8 +610,8 @@
|
|
|
610
610
|
}
|
|
611
611
|
function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
|
|
612
612
|
CoroutineImpl.call(this, resultContinuation);
|
|
613
|
-
this.
|
|
614
|
-
this.
|
|
613
|
+
this.b9g_1 = _this__u8e3s4;
|
|
614
|
+
this.c9g_1 = collector;
|
|
615
615
|
}
|
|
616
616
|
protoOf($collectCOROUTINE$).z8 = function () {
|
|
617
617
|
var suspendResult = this.t8_1;
|
|
@@ -621,10 +621,10 @@
|
|
|
621
621
|
switch (tmp) {
|
|
622
622
|
case 0:
|
|
623
623
|
this.s8_1 = 2;
|
|
624
|
-
var $this$unsafeFlow = this.
|
|
624
|
+
var $this$unsafeFlow = this.c9g_1;
|
|
625
625
|
this.r8_1 = 1;
|
|
626
|
-
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
627
|
-
suspendResult = this.
|
|
626
|
+
var tmp_0 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($this$unsafeFlow, this.b9g_1.e9g_1, null);
|
|
627
|
+
suspendResult = this.b9g_1.d9g_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_0), this);
|
|
628
628
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
629
629
|
return suspendResult;
|
|
630
630
|
}
|
|
@@ -647,8 +647,8 @@
|
|
|
647
647
|
while (true);
|
|
648
648
|
};
|
|
649
649
|
function GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1($this, this$0) {
|
|
650
|
-
this.
|
|
651
|
-
this.
|
|
650
|
+
this.d9g_1 = $this;
|
|
651
|
+
this.e9g_1 = this$0;
|
|
652
652
|
}
|
|
653
653
|
protoOf(GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1).m28 = function (collector, $completion) {
|
|
654
654
|
var tmp = new $collectCOROUTINE$(this, collector, $completion);
|
|
@@ -660,17 +660,17 @@
|
|
|
660
660
|
return this.m28(collector, $completion);
|
|
661
661
|
};
|
|
662
662
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation) {
|
|
663
|
-
this.
|
|
663
|
+
this.n9g_1 = $subscriber;
|
|
664
664
|
CoroutineImpl.call(this, resultContinuation);
|
|
665
665
|
}
|
|
666
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
667
|
-
var tmp = this.
|
|
666
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).p9g = function (it, $completion) {
|
|
667
|
+
var tmp = this.q9g(it, $completion);
|
|
668
668
|
tmp.t8_1 = Unit_instance;
|
|
669
669
|
tmp.u8_1 = null;
|
|
670
670
|
return tmp.z8();
|
|
671
671
|
};
|
|
672
672
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).h9 = function (p1, $completion) {
|
|
673
|
-
return this.
|
|
673
|
+
return this.p9g((!(p1 == null) ? isInterface(p1, ServerStateUpdateDto) : false) ? p1 : THROW_CCE(), $completion);
|
|
674
674
|
};
|
|
675
675
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).z8 = function () {
|
|
676
676
|
var suspendResult = this.t8_1;
|
|
@@ -679,7 +679,7 @@
|
|
|
679
679
|
var tmp = this.r8_1;
|
|
680
680
|
if (tmp === 0) {
|
|
681
681
|
this.s8_1 = 1;
|
|
682
|
-
this.
|
|
682
|
+
this.n9g_1(this.o9g_1);
|
|
683
683
|
return Unit_instance;
|
|
684
684
|
} else if (tmp === 1) {
|
|
685
685
|
throw this.u8_1;
|
|
@@ -690,21 +690,21 @@
|
|
|
690
690
|
}
|
|
691
691
|
while (true);
|
|
692
692
|
};
|
|
693
|
-
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).
|
|
694
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.
|
|
695
|
-
i.
|
|
693
|
+
protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).q9g = function (it, completion) {
|
|
694
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.n9g_1, completion);
|
|
695
|
+
i.o9g_1 = it;
|
|
696
696
|
return i;
|
|
697
697
|
};
|
|
698
698
|
function GameServer$subscribeServerStateUpdateJson$slambda$slambda_0($subscriber, resultContinuation) {
|
|
699
699
|
var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation);
|
|
700
700
|
var l = function (it, $completion) {
|
|
701
|
-
return i.
|
|
701
|
+
return i.p9g(it, $completion);
|
|
702
702
|
};
|
|
703
703
|
l.$arity = 1;
|
|
704
704
|
return l;
|
|
705
705
|
}
|
|
706
706
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
707
|
-
this.
|
|
707
|
+
this.z9g_1 = $$this$unsafeFlow;
|
|
708
708
|
CoroutineImpl.call(this, resultContinuation);
|
|
709
709
|
}
|
|
710
710
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).u2h = function (value, $completion) {
|
|
@@ -724,8 +724,8 @@
|
|
|
724
724
|
switch (tmp) {
|
|
725
725
|
case 0:
|
|
726
726
|
this.s8_1 = 2;
|
|
727
|
-
var tmp0 = this.
|
|
728
|
-
var value = this.
|
|
727
|
+
var tmp0 = this.z9g_1;
|
|
728
|
+
var value = this.a9h_1;
|
|
729
729
|
this.r8_1 = 1;
|
|
730
730
|
suspendResult = tmp0.l28(new ActionsStateUpdate(value), this);
|
|
731
731
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -750,8 +750,8 @@
|
|
|
750
750
|
while (true);
|
|
751
751
|
};
|
|
752
752
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).v2h = function (value, completion) {
|
|
753
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.
|
|
754
|
-
i.
|
|
753
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.z9g_1, completion);
|
|
754
|
+
i.a9h_1 = value;
|
|
755
755
|
return i;
|
|
756
756
|
};
|
|
757
757
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -764,8 +764,8 @@
|
|
|
764
764
|
}
|
|
765
765
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
766
766
|
CoroutineImpl.call(this, resultContinuation);
|
|
767
|
-
this.
|
|
768
|
-
this.
|
|
767
|
+
this.j9h_1 = _this__u8e3s4;
|
|
768
|
+
this.k9h_1 = collector;
|
|
769
769
|
}
|
|
770
770
|
protoOf($collectCOROUTINE$_0).z8 = function () {
|
|
771
771
|
var suspendResult = this.t8_1;
|
|
@@ -775,10 +775,10 @@
|
|
|
775
775
|
switch (tmp) {
|
|
776
776
|
case 0:
|
|
777
777
|
this.s8_1 = 2;
|
|
778
|
-
var $this$unsafeFlow = this.
|
|
778
|
+
var $this$unsafeFlow = this.k9h_1;
|
|
779
779
|
this.r8_1 = 1;
|
|
780
780
|
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, null);
|
|
781
|
-
suspendResult = this.
|
|
781
|
+
suspendResult = this.j9h_1.l9h_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
|
|
782
782
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
783
783
|
return suspendResult;
|
|
784
784
|
}
|
|
@@ -801,7 +801,7 @@
|
|
|
801
801
|
while (true);
|
|
802
802
|
};
|
|
803
803
|
function _no_name_provided__qut3iv($this) {
|
|
804
|
-
this.
|
|
804
|
+
this.l9h_1 = $this;
|
|
805
805
|
}
|
|
806
806
|
protoOf(_no_name_provided__qut3iv).m28 = function (collector, $completion) {
|
|
807
807
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
@@ -813,18 +813,18 @@
|
|
|
813
813
|
return this.m28(collector, $completion);
|
|
814
814
|
};
|
|
815
815
|
function GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation) {
|
|
816
|
-
this.
|
|
817
|
-
this.
|
|
816
|
+
this.u9h_1 = $table;
|
|
817
|
+
this.v9h_1 = this$0;
|
|
818
818
|
CoroutineImpl.call(this, resultContinuation);
|
|
819
819
|
}
|
|
820
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
821
|
-
var tmp = this.
|
|
820
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).x9h = function ($this$flow, $completion) {
|
|
821
|
+
var tmp = this.y9h($this$flow, $completion);
|
|
822
822
|
tmp.t8_1 = Unit_instance;
|
|
823
823
|
tmp.u8_1 = null;
|
|
824
824
|
return tmp.z8();
|
|
825
825
|
};
|
|
826
826
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).h9 = function (p1, $completion) {
|
|
827
|
-
return this.
|
|
827
|
+
return this.x9h((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
828
828
|
};
|
|
829
829
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).z8 = function () {
|
|
830
830
|
var suspendResult = this.t8_1;
|
|
@@ -835,7 +835,7 @@
|
|
|
835
835
|
case 0:
|
|
836
836
|
this.s8_1 = 3;
|
|
837
837
|
this.r8_1 = 1;
|
|
838
|
-
suspendResult = this.
|
|
838
|
+
suspendResult = this.w9h_1.l28(new TableStateUpdate(this.u9h_1), this);
|
|
839
839
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
840
840
|
return suspendResult;
|
|
841
841
|
}
|
|
@@ -843,8 +843,8 @@
|
|
|
843
843
|
continue $sm;
|
|
844
844
|
case 1:
|
|
845
845
|
this.r8_1 = 2;
|
|
846
|
-
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.
|
|
847
|
-
suspendResult = emitAll(this.
|
|
846
|
+
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.v9h_1).l8j(), fromInt(_get_serverReduxConfig__rprcrm(this.v9h_1).serverStateUpdateIntervalMillis));
|
|
847
|
+
suspendResult = emitAll(this.w9h_1, new _no_name_provided__qut3iv(this_0), this);
|
|
848
848
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
849
849
|
return suspendResult;
|
|
850
850
|
}
|
|
@@ -866,21 +866,21 @@
|
|
|
866
866
|
}
|
|
867
867
|
while (true);
|
|
868
868
|
};
|
|
869
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
870
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.
|
|
871
|
-
i.
|
|
869
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).y9h = function ($this$flow, completion) {
|
|
870
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.u9h_1, this.v9h_1, completion);
|
|
871
|
+
i.w9h_1 = $this$flow;
|
|
872
872
|
return i;
|
|
873
873
|
};
|
|
874
874
|
function GameServer$observeTableStateUpdates$slambda$slambda_0($table, this$0, resultContinuation) {
|
|
875
875
|
var i = new GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation);
|
|
876
876
|
var l = function ($this$flow, $completion) {
|
|
877
|
-
return i.
|
|
877
|
+
return i.x9h($this$flow, $completion);
|
|
878
878
|
};
|
|
879
879
|
l.$arity = 1;
|
|
880
880
|
return l;
|
|
881
881
|
}
|
|
882
882
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
883
|
-
this.
|
|
883
|
+
this.h9i_1 = $$this$unsafeFlow;
|
|
884
884
|
CoroutineImpl.call(this, resultContinuation);
|
|
885
885
|
}
|
|
886
886
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).u2h = function (value, $completion) {
|
|
@@ -901,28 +901,28 @@
|
|
|
901
901
|
case 0:
|
|
902
902
|
this.s8_1 = 5;
|
|
903
903
|
var tmp_0 = this;
|
|
904
|
-
tmp_0.
|
|
904
|
+
tmp_0.m9i_1 = this.h9i_1;
|
|
905
905
|
var tmp_1 = this;
|
|
906
|
-
tmp_1.
|
|
906
|
+
tmp_1.l9i_1 = this.i9i_1;
|
|
907
907
|
this.r8_1 = 1;
|
|
908
908
|
continue $sm;
|
|
909
909
|
case 1:
|
|
910
|
-
this.
|
|
911
|
-
var tmp0_elvis_lhs = this.
|
|
910
|
+
this.j9i_1 = this.m9i_1;
|
|
911
|
+
var tmp0_elvis_lhs = this.l9i_1.l6m_1;
|
|
912
912
|
if (tmp0_elvis_lhs == null) {
|
|
913
913
|
this.r8_1 = 4;
|
|
914
914
|
var tmp_2 = this;
|
|
915
915
|
continue $sm;
|
|
916
916
|
} else {
|
|
917
|
-
this.
|
|
917
|
+
this.k9i_1 = tmp0_elvis_lhs;
|
|
918
918
|
this.r8_1 = 2;
|
|
919
919
|
continue $sm;
|
|
920
920
|
}
|
|
921
921
|
|
|
922
922
|
case 2:
|
|
923
|
-
var transformed = this.
|
|
923
|
+
var transformed = this.k9i_1;
|
|
924
924
|
this.r8_1 = 3;
|
|
925
|
-
suspendResult = this.
|
|
925
|
+
suspendResult = this.j9i_1.l28(transformed, this);
|
|
926
926
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
927
927
|
return suspendResult;
|
|
928
928
|
}
|
|
@@ -953,8 +953,8 @@
|
|
|
953
953
|
while (true);
|
|
954
954
|
};
|
|
955
955
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).v2h = function (value, completion) {
|
|
956
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.
|
|
957
|
-
i.
|
|
956
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.h9i_1, completion);
|
|
957
|
+
i.i9i_1 = value;
|
|
958
958
|
return i;
|
|
959
959
|
};
|
|
960
960
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -967,8 +967,8 @@
|
|
|
967
967
|
}
|
|
968
968
|
function $collectCOROUTINE$_1(_this__u8e3s4, collector, resultContinuation) {
|
|
969
969
|
CoroutineImpl.call(this, resultContinuation);
|
|
970
|
-
this.
|
|
971
|
-
this.
|
|
970
|
+
this.v9i_1 = _this__u8e3s4;
|
|
971
|
+
this.w9i_1 = collector;
|
|
972
972
|
}
|
|
973
973
|
protoOf($collectCOROUTINE$_1).z8 = function () {
|
|
974
974
|
var suspendResult = this.t8_1;
|
|
@@ -978,10 +978,10 @@
|
|
|
978
978
|
switch (tmp) {
|
|
979
979
|
case 0:
|
|
980
980
|
this.s8_1 = 2;
|
|
981
|
-
var $this$unsafeFlow = this.
|
|
981
|
+
var $this$unsafeFlow = this.w9i_1;
|
|
982
982
|
this.r8_1 = 1;
|
|
983
983
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($this$unsafeFlow, null);
|
|
984
|
-
suspendResult = this.
|
|
984
|
+
suspendResult = this.v9i_1.x9i_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
985
985
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
986
986
|
return suspendResult;
|
|
987
987
|
}
|
|
@@ -1004,7 +1004,7 @@
|
|
|
1004
1004
|
while (true);
|
|
1005
1005
|
};
|
|
1006
1006
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_1($$this$unsafeFlow, resultContinuation) {
|
|
1007
|
-
this.
|
|
1007
|
+
this.g9j_1 = $$this$unsafeFlow;
|
|
1008
1008
|
CoroutineImpl.call(this, resultContinuation);
|
|
1009
1009
|
}
|
|
1010
1010
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).u2h = function (value, $completion) {
|
|
@@ -1024,8 +1024,8 @@
|
|
|
1024
1024
|
switch (tmp) {
|
|
1025
1025
|
case 0:
|
|
1026
1026
|
this.s8_1 = 2;
|
|
1027
|
-
var tmp0 = this.
|
|
1028
|
-
var value = this.
|
|
1027
|
+
var tmp0 = this.g9j_1;
|
|
1028
|
+
var value = this.h9j_1;
|
|
1029
1029
|
this.r8_1 = 1;
|
|
1030
1030
|
suspendResult = tmp0.l28(to(value.gameInfo.roundNumberTotal, value), this);
|
|
1031
1031
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1050,8 +1050,8 @@
|
|
|
1050
1050
|
while (true);
|
|
1051
1051
|
};
|
|
1052
1052
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).v2h = function (value, completion) {
|
|
1053
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.
|
|
1054
|
-
i.
|
|
1053
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.g9j_1, completion);
|
|
1054
|
+
i.h9j_1 = value;
|
|
1055
1055
|
return i;
|
|
1056
1056
|
};
|
|
1057
1057
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1064,8 +1064,8 @@
|
|
|
1064
1064
|
}
|
|
1065
1065
|
function $collectCOROUTINE$_2(_this__u8e3s4, collector, resultContinuation) {
|
|
1066
1066
|
CoroutineImpl.call(this, resultContinuation);
|
|
1067
|
-
this.
|
|
1068
|
-
this.
|
|
1067
|
+
this.q9j_1 = _this__u8e3s4;
|
|
1068
|
+
this.r9j_1 = collector;
|
|
1069
1069
|
}
|
|
1070
1070
|
protoOf($collectCOROUTINE$_2).z8 = function () {
|
|
1071
1071
|
var suspendResult = this.t8_1;
|
|
@@ -1075,10 +1075,10 @@
|
|
|
1075
1075
|
switch (tmp) {
|
|
1076
1076
|
case 0:
|
|
1077
1077
|
this.s8_1 = 2;
|
|
1078
|
-
var $this$unsafeFlow = this.
|
|
1078
|
+
var $this$unsafeFlow = this.r9j_1;
|
|
1079
1079
|
this.r8_1 = 1;
|
|
1080
1080
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($this$unsafeFlow, null);
|
|
1081
|
-
suspendResult = this.
|
|
1081
|
+
suspendResult = this.q9j_1.s9j_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1082
1082
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1083
1083
|
return suspendResult;
|
|
1084
1084
|
}
|
|
@@ -1101,7 +1101,7 @@
|
|
|
1101
1101
|
while (true);
|
|
1102
1102
|
};
|
|
1103
1103
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_3($$this$unsafeFlow, resultContinuation) {
|
|
1104
|
-
this.
|
|
1104
|
+
this.b9k_1 = $$this$unsafeFlow;
|
|
1105
1105
|
CoroutineImpl.call(this, resultContinuation);
|
|
1106
1106
|
}
|
|
1107
1107
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).u2h = function (value, $completion) {
|
|
@@ -1121,8 +1121,8 @@
|
|
|
1121
1121
|
switch (tmp) {
|
|
1122
1122
|
case 0:
|
|
1123
1123
|
this.s8_1 = 2;
|
|
1124
|
-
var tmp0 = this.
|
|
1125
|
-
var value = this.
|
|
1124
|
+
var tmp0 = this.b9k_1;
|
|
1125
|
+
var value = this.c9k_1;
|
|
1126
1126
|
this.r8_1 = 1;
|
|
1127
1127
|
suspendResult = tmp0.l28(value.me_1, this);
|
|
1128
1128
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1147,8 +1147,8 @@
|
|
|
1147
1147
|
while (true);
|
|
1148
1148
|
};
|
|
1149
1149
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).v2h = function (value, completion) {
|
|
1150
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.
|
|
1151
|
-
i.
|
|
1150
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.b9k_1, completion);
|
|
1151
|
+
i.c9k_1 = value;
|
|
1152
1152
|
return i;
|
|
1153
1153
|
};
|
|
1154
1154
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1161,8 +1161,8 @@
|
|
|
1161
1161
|
}
|
|
1162
1162
|
function $collectCOROUTINE$_3(_this__u8e3s4, collector, resultContinuation) {
|
|
1163
1163
|
CoroutineImpl.call(this, resultContinuation);
|
|
1164
|
-
this.
|
|
1165
|
-
this.
|
|
1164
|
+
this.l9k_1 = _this__u8e3s4;
|
|
1165
|
+
this.m9k_1 = collector;
|
|
1166
1166
|
}
|
|
1167
1167
|
protoOf($collectCOROUTINE$_3).z8 = function () {
|
|
1168
1168
|
var suspendResult = this.t8_1;
|
|
@@ -1172,10 +1172,10 @@
|
|
|
1172
1172
|
switch (tmp) {
|
|
1173
1173
|
case 0:
|
|
1174
1174
|
this.s8_1 = 2;
|
|
1175
|
-
var $this$unsafeFlow = this.
|
|
1175
|
+
var $this$unsafeFlow = this.m9k_1;
|
|
1176
1176
|
this.r8_1 = 1;
|
|
1177
1177
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($this$unsafeFlow, null);
|
|
1178
|
-
suspendResult = this.
|
|
1178
|
+
suspendResult = this.l9k_1.n9k_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1179
1179
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1180
1180
|
return suspendResult;
|
|
1181
1181
|
}
|
|
@@ -1198,17 +1198,17 @@
|
|
|
1198
1198
|
while (true);
|
|
1199
1199
|
};
|
|
1200
1200
|
function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
|
|
1201
|
-
this.
|
|
1201
|
+
this.w9k_1 = $subscriber;
|
|
1202
1202
|
CoroutineImpl.call(this, resultContinuation);
|
|
1203
1203
|
}
|
|
1204
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1205
|
-
var tmp = this.
|
|
1204
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).y9k = function (it, $completion) {
|
|
1205
|
+
var tmp = this.z9k(it, $completion);
|
|
1206
1206
|
tmp.t8_1 = Unit_instance;
|
|
1207
1207
|
tmp.u8_1 = null;
|
|
1208
1208
|
return tmp.z8();
|
|
1209
1209
|
};
|
|
1210
1210
|
protoOf(GameServer$subscribeWith$slambda$slambda).h9 = function (p1, $completion) {
|
|
1211
|
-
return this.
|
|
1211
|
+
return this.y9k(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
|
|
1212
1212
|
};
|
|
1213
1213
|
protoOf(GameServer$subscribeWith$slambda$slambda).z8 = function () {
|
|
1214
1214
|
var suspendResult = this.t8_1;
|
|
@@ -1217,7 +1217,7 @@
|
|
|
1217
1217
|
var tmp = this.r8_1;
|
|
1218
1218
|
if (tmp === 0) {
|
|
1219
1219
|
this.s8_1 = 1;
|
|
1220
|
-
this.
|
|
1220
|
+
this.w9k_1(this.x9k_1);
|
|
1221
1221
|
return Unit_instance;
|
|
1222
1222
|
} else if (tmp === 1) {
|
|
1223
1223
|
throw this.u8_1;
|
|
@@ -1228,83 +1228,83 @@
|
|
|
1228
1228
|
}
|
|
1229
1229
|
while (true);
|
|
1230
1230
|
};
|
|
1231
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1232
|
-
var i = new GameServer$subscribeWith$slambda$slambda(this.
|
|
1233
|
-
i.
|
|
1231
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).z9k = function (it, completion) {
|
|
1232
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.w9k_1, completion);
|
|
1233
|
+
i.x9k_1 = it;
|
|
1234
1234
|
return i;
|
|
1235
1235
|
};
|
|
1236
1236
|
function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
|
|
1237
1237
|
var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
|
|
1238
1238
|
var l = function (it, $completion) {
|
|
1239
|
-
return i.
|
|
1239
|
+
return i.y9k(it, $completion);
|
|
1240
1240
|
};
|
|
1241
1241
|
l.$arity = 1;
|
|
1242
1242
|
return l;
|
|
1243
1243
|
}
|
|
1244
1244
|
function GameServer$roomOnCreate$2$updatedUsers$previousTeams$1($playerId) {
|
|
1245
|
-
this.
|
|
1245
|
+
this.a9l_1 = $playerId;
|
|
1246
1246
|
}
|
|
1247
1247
|
protoOf(GameServer$roomOnCreate$2$updatedUsers$previousTeams$1).t65 = function () {
|
|
1248
|
-
return this.
|
|
1248
|
+
return this.a9l_1;
|
|
1249
1249
|
};
|
|
1250
1250
|
function _get_logger__rkp4sl($this) {
|
|
1251
|
-
var tmp0 = $this.
|
|
1251
|
+
var tmp0 = $this.d9l_1;
|
|
1252
1252
|
var tmp = KProperty1;
|
|
1253
1253
|
// Inline function 'kotlin.getValue' call
|
|
1254
1254
|
getPropertyCallableRef('logger', 1, tmp, GameServer$_get_logger_$ref_fogce1_0(), null);
|
|
1255
1255
|
return tmp0.w();
|
|
1256
1256
|
}
|
|
1257
1257
|
function _get_toClientEventsObserver__6rp51y($this) {
|
|
1258
|
-
var tmp0 = $this.
|
|
1258
|
+
var tmp0 = $this.e9l_1;
|
|
1259
1259
|
var tmp = KProperty1;
|
|
1260
1260
|
// Inline function 'kotlin.getValue' call
|
|
1261
1261
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, GameServer$_get_toClientEventsObserver_$ref_utir8s_0(), null);
|
|
1262
1262
|
return tmp0.w();
|
|
1263
1263
|
}
|
|
1264
1264
|
function _get_fromClientEventsObserver__a7vzd3($this) {
|
|
1265
|
-
var tmp0 = $this.
|
|
1265
|
+
var tmp0 = $this.f9l_1;
|
|
1266
1266
|
var tmp = KProperty1;
|
|
1267
1267
|
// Inline function 'kotlin.getValue' call
|
|
1268
1268
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, GameServer$_get_fromClientEventsObserver_$ref_nf1g79_0(), null);
|
|
1269
1269
|
return tmp0.w();
|
|
1270
1270
|
}
|
|
1271
1271
|
function _get_playerConnectionInteractor__si6cxf($this) {
|
|
1272
|
-
var tmp0 = $this.
|
|
1272
|
+
var tmp0 = $this.g9l_1;
|
|
1273
1273
|
var tmp = KProperty1;
|
|
1274
1274
|
// Inline function 'kotlin.getValue' call
|
|
1275
1275
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, GameServer$_get_playerConnectionInteractor_$ref_of8tan_0(), null);
|
|
1276
1276
|
return tmp0.w();
|
|
1277
1277
|
}
|
|
1278
1278
|
function _get_teamsLogicProvider__u10pm6($this) {
|
|
1279
|
-
var tmp0 = $this.
|
|
1279
|
+
var tmp0 = $this.h9l_1;
|
|
1280
1280
|
var tmp = KProperty1;
|
|
1281
1281
|
// Inline function 'kotlin.getValue' call
|
|
1282
1282
|
getPropertyCallableRef('teamsLogicProvider', 1, tmp, GameServer$_get_teamsLogicProvider_$ref_b7y54g_0(), null);
|
|
1283
1283
|
return tmp0.w();
|
|
1284
1284
|
}
|
|
1285
1285
|
function _get_random__h29cgo($this) {
|
|
1286
|
-
var tmp0 = $this.
|
|
1286
|
+
var tmp0 = $this.i9l_1;
|
|
1287
1287
|
var tmp = KProperty1;
|
|
1288
1288
|
// Inline function 'kotlin.getValue' call
|
|
1289
1289
|
getPropertyCallableRef('random', 1, tmp, GameServer$_get_random_$ref_fottnq(), null);
|
|
1290
1290
|
return tmp0.w();
|
|
1291
1291
|
}
|
|
1292
1292
|
function _get_idsProvider__fnfajc($this) {
|
|
1293
|
-
var tmp0 = $this.
|
|
1293
|
+
var tmp0 = $this.j9l_1;
|
|
1294
1294
|
var tmp = KProperty1;
|
|
1295
1295
|
// Inline function 'kotlin.getValue' call
|
|
1296
1296
|
getPropertyCallableRef('idsProvider', 1, tmp, GameServer$_get_idsProvider_$ref_89s908_0(), null);
|
|
1297
1297
|
return tmp0.w();
|
|
1298
1298
|
}
|
|
1299
1299
|
function _get_serverReduxConfig__rprcrm($this) {
|
|
1300
|
-
var tmp0 = $this.
|
|
1300
|
+
var tmp0 = $this.k9l_1;
|
|
1301
1301
|
var tmp = KProperty1;
|
|
1302
1302
|
// Inline function 'kotlin.getValue' call
|
|
1303
1303
|
getPropertyCallableRef('serverReduxConfig', 1, tmp, GameServer$_get_serverReduxConfig_$ref_7h6jq6_0(), null);
|
|
1304
1304
|
return tmp0.w();
|
|
1305
1305
|
}
|
|
1306
1306
|
function _get_encoderDecoderProvider__qqgrji($this) {
|
|
1307
|
-
var tmp0 = $this.
|
|
1307
|
+
var tmp0 = $this.l9l_1;
|
|
1308
1308
|
var tmp = KProperty1;
|
|
1309
1309
|
// Inline function 'kotlin.getValue' call
|
|
1310
1310
|
getPropertyCallableRef('encoderDecoderProvider', 1, tmp, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8_0(), null);
|
|
@@ -1331,20 +1331,20 @@
|
|
|
1331
1331
|
return new GameServer$observeTableWhenRoundChanges$$inlined$map$2(this_1);
|
|
1332
1332
|
}
|
|
1333
1333
|
function Companion() {
|
|
1334
|
-
this.
|
|
1334
|
+
this.n9l_1 = 'GameEngine_API';
|
|
1335
1335
|
}
|
|
1336
1336
|
var Companion_instance_7;
|
|
1337
1337
|
function Companion_getInstance_0() {
|
|
1338
1338
|
return Companion_instance_7;
|
|
1339
1339
|
}
|
|
1340
1340
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
1341
|
-
this.
|
|
1341
|
+
this.o9l_1 = function_0;
|
|
1342
1342
|
}
|
|
1343
1343
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).l28 = function (value, $completion) {
|
|
1344
|
-
return this.
|
|
1344
|
+
return this.o9l_1(value, $completion);
|
|
1345
1345
|
};
|
|
1346
1346
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).a3 = function () {
|
|
1347
|
-
return this.
|
|
1347
|
+
return this.o9l_1;
|
|
1348
1348
|
};
|
|
1349
1349
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
1350
1350
|
var tmp;
|
|
@@ -1365,13 +1365,13 @@
|
|
|
1365
1365
|
return hashCode(this.a3());
|
|
1366
1366
|
};
|
|
1367
1367
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
1368
|
-
this.
|
|
1368
|
+
this.p9l_1 = function_0;
|
|
1369
1369
|
}
|
|
1370
1370
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).l28 = function (value, $completion) {
|
|
1371
|
-
return this.
|
|
1371
|
+
return this.p9l_1(value, $completion);
|
|
1372
1372
|
};
|
|
1373
1373
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).a3 = function () {
|
|
1374
|
-
return this.
|
|
1374
|
+
return this.p9l_1;
|
|
1375
1375
|
};
|
|
1376
1376
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
1377
1377
|
var tmp;
|
|
@@ -1392,13 +1392,13 @@
|
|
|
1392
1392
|
return hashCode(this.a3());
|
|
1393
1393
|
};
|
|
1394
1394
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
|
|
1395
|
-
this.
|
|
1395
|
+
this.q9l_1 = function_0;
|
|
1396
1396
|
}
|
|
1397
1397
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).l28 = function (value, $completion) {
|
|
1398
|
-
return this.
|
|
1398
|
+
return this.q9l_1(value, $completion);
|
|
1399
1399
|
};
|
|
1400
1400
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).a3 = function () {
|
|
1401
|
-
return this.
|
|
1401
|
+
return this.q9l_1;
|
|
1402
1402
|
};
|
|
1403
1403
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
|
|
1404
1404
|
var tmp;
|
|
@@ -1419,13 +1419,13 @@
|
|
|
1419
1419
|
return hashCode(this.a3());
|
|
1420
1420
|
};
|
|
1421
1421
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
|
|
1422
|
-
this.
|
|
1422
|
+
this.r9l_1 = function_0;
|
|
1423
1423
|
}
|
|
1424
1424
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).l28 = function (value, $completion) {
|
|
1425
|
-
return this.
|
|
1425
|
+
return this.r9l_1(value, $completion);
|
|
1426
1426
|
};
|
|
1427
1427
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).a3 = function () {
|
|
1428
|
-
return this.
|
|
1428
|
+
return this.r9l_1;
|
|
1429
1429
|
};
|
|
1430
1430
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
|
|
1431
1431
|
var tmp;
|
|
@@ -1446,13 +1446,13 @@
|
|
|
1446
1446
|
return hashCode(this.a3());
|
|
1447
1447
|
};
|
|
1448
1448
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_3(function_0) {
|
|
1449
|
-
this.
|
|
1449
|
+
this.s9l_1 = function_0;
|
|
1450
1450
|
}
|
|
1451
1451
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).l28 = function (value, $completion) {
|
|
1452
|
-
return this.
|
|
1452
|
+
return this.s9l_1(value, $completion);
|
|
1453
1453
|
};
|
|
1454
1454
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).a3 = function () {
|
|
1455
|
-
return this.
|
|
1455
|
+
return this.s9l_1;
|
|
1456
1456
|
};
|
|
1457
1457
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).equals = function (other) {
|
|
1458
1458
|
var tmp;
|
|
@@ -1473,13 +1473,13 @@
|
|
|
1473
1473
|
return hashCode(this.a3());
|
|
1474
1474
|
};
|
|
1475
1475
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_4(function_0) {
|
|
1476
|
-
this.
|
|
1476
|
+
this.t9l_1 = function_0;
|
|
1477
1477
|
}
|
|
1478
1478
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).l28 = function (value, $completion) {
|
|
1479
|
-
return this.
|
|
1479
|
+
return this.t9l_1(value, $completion);
|
|
1480
1480
|
};
|
|
1481
1481
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).a3 = function () {
|
|
1482
|
-
return this.
|
|
1482
|
+
return this.t9l_1;
|
|
1483
1483
|
};
|
|
1484
1484
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).equals = function (other) {
|
|
1485
1485
|
var tmp;
|
|
@@ -1590,8 +1590,8 @@
|
|
|
1590
1590
|
};
|
|
1591
1591
|
}
|
|
1592
1592
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
1593
|
-
this.
|
|
1594
|
-
this.
|
|
1593
|
+
this.c9m_1 = this$0;
|
|
1594
|
+
this.d9m_1 = $subscriber;
|
|
1595
1595
|
CoroutineImpl.call(this, resultContinuation);
|
|
1596
1596
|
}
|
|
1597
1597
|
protoOf(GameServer$subscribeToClientAction$slambda).z2c = function ($this$launchDefault, $completion) {
|
|
@@ -1612,8 +1612,8 @@
|
|
|
1612
1612
|
case 0:
|
|
1613
1613
|
this.s8_1 = 2;
|
|
1614
1614
|
this.r8_1 = 1;
|
|
1615
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
1616
|
-
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.
|
|
1615
|
+
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.c9m_1).f9m();
|
|
1616
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.d9m_1, null);
|
|
1617
1617
|
suspendResult = tmp_0.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
1618
1618
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1619
1619
|
return suspendResult;
|
|
@@ -1637,8 +1637,8 @@
|
|
|
1637
1637
|
while (true);
|
|
1638
1638
|
};
|
|
1639
1639
|
protoOf(GameServer$subscribeToClientAction$slambda).a2d = function ($this$launchDefault, completion) {
|
|
1640
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
1641
|
-
i.
|
|
1640
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.c9m_1, this.d9m_1, completion);
|
|
1641
|
+
i.e9m_1 = $this$launchDefault;
|
|
1642
1642
|
return i;
|
|
1643
1643
|
};
|
|
1644
1644
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1650,8 +1650,8 @@
|
|
|
1650
1650
|
return l;
|
|
1651
1651
|
}
|
|
1652
1652
|
function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
|
|
1653
|
-
this.
|
|
1654
|
-
this.
|
|
1653
|
+
this.o9m_1 = this$0;
|
|
1654
|
+
this.p9m_1 = $subscriber;
|
|
1655
1655
|
CoroutineImpl.call(this, resultContinuation);
|
|
1656
1656
|
}
|
|
1657
1657
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).z2c = function ($this$launchDefault, $completion) {
|
|
@@ -1672,8 +1672,8 @@
|
|
|
1672
1672
|
case 0:
|
|
1673
1673
|
this.s8_1 = 2;
|
|
1674
1674
|
this.r8_1 = 1;
|
|
1675
|
-
var tmp_0 = observeTableStateUpdates(this.
|
|
1676
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.
|
|
1675
|
+
var tmp_0 = observeTableStateUpdates(this.o9m_1);
|
|
1676
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.p9m_1, null);
|
|
1677
1677
|
suspendResult = tmp_0.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
1678
1678
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1679
1679
|
return suspendResult;
|
|
@@ -1697,8 +1697,8 @@
|
|
|
1697
1697
|
while (true);
|
|
1698
1698
|
};
|
|
1699
1699
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).a2d = function ($this$launchDefault, completion) {
|
|
1700
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda(this.
|
|
1701
|
-
i.
|
|
1700
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda(this.o9m_1, this.p9m_1, completion);
|
|
1701
|
+
i.q9m_1 = $this$launchDefault;
|
|
1702
1702
|
return i;
|
|
1703
1703
|
};
|
|
1704
1704
|
function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1710,8 +1710,8 @@
|
|
|
1710
1710
|
return l;
|
|
1711
1711
|
}
|
|
1712
1712
|
function GameServer$subscribeServerStateUpdateJson$slambda(this$0, $subscriber, resultContinuation) {
|
|
1713
|
-
this.
|
|
1714
|
-
this.
|
|
1713
|
+
this.z9m_1 = this$0;
|
|
1714
|
+
this.a9n_1 = $subscriber;
|
|
1715
1715
|
CoroutineImpl.call(this, resultContinuation);
|
|
1716
1716
|
}
|
|
1717
1717
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).z2c = function ($this$launchDefault, $completion) {
|
|
@@ -1732,9 +1732,9 @@
|
|
|
1732
1732
|
case 0:
|
|
1733
1733
|
this.s8_1 = 2;
|
|
1734
1734
|
this.r8_1 = 1;
|
|
1735
|
-
var this_0 = observeTableStateUpdates(this.
|
|
1736
|
-
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.
|
|
1737
|
-
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.
|
|
1735
|
+
var this_0 = observeTableStateUpdates(this.z9m_1);
|
|
1736
|
+
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.z9m_1);
|
|
1737
|
+
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.a9n_1, null);
|
|
1738
1738
|
suspendResult = tmp_0.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
1739
1739
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1740
1740
|
return suspendResult;
|
|
@@ -1758,8 +1758,8 @@
|
|
|
1758
1758
|
while (true);
|
|
1759
1759
|
};
|
|
1760
1760
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).a2d = function ($this$launchDefault, completion) {
|
|
1761
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.
|
|
1762
|
-
i.
|
|
1761
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.z9m_1, this.a9n_1, completion);
|
|
1762
|
+
i.b9n_1 = $this$launchDefault;
|
|
1763
1763
|
return i;
|
|
1764
1764
|
};
|
|
1765
1765
|
function GameServer$subscribeServerStateUpdateJson$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1771,18 +1771,18 @@
|
|
|
1771
1771
|
return l;
|
|
1772
1772
|
}
|
|
1773
1773
|
function GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation) {
|
|
1774
|
-
this.
|
|
1774
|
+
this.k9n_1 = this$0;
|
|
1775
1775
|
CoroutineImpl.call(this, resultContinuation);
|
|
1776
1776
|
}
|
|
1777
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
1778
|
-
var tmp = this.
|
|
1777
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).n9n = function ($this$transformLatest, it, $completion) {
|
|
1778
|
+
var tmp = this.o9n($this$transformLatest, it, $completion);
|
|
1779
1779
|
tmp.t8_1 = Unit_instance;
|
|
1780
1780
|
tmp.u8_1 = null;
|
|
1781
1781
|
return tmp.z8();
|
|
1782
1782
|
};
|
|
1783
1783
|
protoOf(GameServer$observeTableStateUpdates$slambda).i9 = function (p1, p2, $completion) {
|
|
1784
1784
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
1785
|
-
return this.
|
|
1785
|
+
return this.n9n(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
1786
1786
|
};
|
|
1787
1787
|
protoOf(GameServer$observeTableStateUpdates$slambda).z8 = function () {
|
|
1788
1788
|
var suspendResult = this.t8_1;
|
|
@@ -1793,8 +1793,8 @@
|
|
|
1793
1793
|
case 0:
|
|
1794
1794
|
this.s8_1 = 2;
|
|
1795
1795
|
this.r8_1 = 1;
|
|
1796
|
-
var table = this.
|
|
1797
|
-
suspendResult = emitAll(this.
|
|
1796
|
+
var table = this.m9n_1;
|
|
1797
|
+
suspendResult = emitAll(this.l9n_1, flow(GameServer$observeTableStateUpdates$slambda$slambda_0(table, this.k9n_1, null)), this);
|
|
1798
1798
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1799
1799
|
return suspendResult;
|
|
1800
1800
|
}
|
|
@@ -1816,22 +1816,22 @@
|
|
|
1816
1816
|
}
|
|
1817
1817
|
while (true);
|
|
1818
1818
|
};
|
|
1819
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
1820
|
-
var i = new GameServer$observeTableStateUpdates$slambda(this.
|
|
1821
|
-
i.
|
|
1822
|
-
i.
|
|
1819
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).o9n = function ($this$transformLatest, it, completion) {
|
|
1820
|
+
var i = new GameServer$observeTableStateUpdates$slambda(this.k9n_1, completion);
|
|
1821
|
+
i.l9n_1 = $this$transformLatest;
|
|
1822
|
+
i.m9n_1 = it;
|
|
1823
1823
|
return i;
|
|
1824
1824
|
};
|
|
1825
1825
|
function GameServer$observeTableStateUpdates$slambda_0(this$0, resultContinuation) {
|
|
1826
1826
|
var i = new GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation);
|
|
1827
1827
|
var l = function ($this$transformLatest, it, $completion) {
|
|
1828
|
-
return i.
|
|
1828
|
+
return i.n9n($this$transformLatest, it, $completion);
|
|
1829
1829
|
};
|
|
1830
1830
|
l.$arity = 2;
|
|
1831
1831
|
return l;
|
|
1832
1832
|
}
|
|
1833
1833
|
function GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1($this) {
|
|
1834
|
-
this.
|
|
1834
|
+
this.x9i_1 = $this;
|
|
1835
1835
|
}
|
|
1836
1836
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1).m28 = function (collector, $completion) {
|
|
1837
1837
|
var tmp = new $collectCOROUTINE$_1(this, collector, $completion);
|
|
@@ -1843,7 +1843,7 @@
|
|
|
1843
1843
|
return this.m28(collector, $completion);
|
|
1844
1844
|
};
|
|
1845
1845
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$1($this) {
|
|
1846
|
-
this.
|
|
1846
|
+
this.s9j_1 = $this;
|
|
1847
1847
|
}
|
|
1848
1848
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$1).m28 = function (collector, $completion) {
|
|
1849
1849
|
var tmp = new $collectCOROUTINE$_2(this, collector, $completion);
|
|
@@ -1858,7 +1858,7 @@
|
|
|
1858
1858
|
return old.le_1 === new_0.le_1;
|
|
1859
1859
|
}
|
|
1860
1860
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$2($this) {
|
|
1861
|
-
this.
|
|
1861
|
+
this.n9k_1 = $this;
|
|
1862
1862
|
}
|
|
1863
1863
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$2).m28 = function (collector, $completion) {
|
|
1864
1864
|
var tmp = new $collectCOROUTINE$_3(this, collector, $completion);
|
|
@@ -1870,8 +1870,8 @@
|
|
|
1870
1870
|
return this.m28(collector, $completion);
|
|
1871
1871
|
};
|
|
1872
1872
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
1873
|
-
this.
|
|
1874
|
-
this.
|
|
1873
|
+
this.x9n_1 = this$0;
|
|
1874
|
+
this.y9n_1 = $subscriber;
|
|
1875
1875
|
CoroutineImpl.call(this, resultContinuation);
|
|
1876
1876
|
}
|
|
1877
1877
|
protoOf(GameServer$subscribeWith$slambda).z2c = function ($this$launchDefault, $completion) {
|
|
@@ -1892,8 +1892,8 @@
|
|
|
1892
1892
|
case 0:
|
|
1893
1893
|
this.s8_1 = 2;
|
|
1894
1894
|
this.r8_1 = 1;
|
|
1895
|
-
var tmp_0 = distinctUntilChanged_0(this.
|
|
1896
|
-
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.
|
|
1895
|
+
var tmp_0 = distinctUntilChanged_0(this.x9n_1.k6m());
|
|
1896
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.y9n_1, null);
|
|
1897
1897
|
suspendResult = tmp_0.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_4(tmp_1), this);
|
|
1898
1898
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1899
1899
|
return suspendResult;
|
|
@@ -1917,8 +1917,8 @@
|
|
|
1917
1917
|
while (true);
|
|
1918
1918
|
};
|
|
1919
1919
|
protoOf(GameServer$subscribeWith$slambda).a2d = function ($this$launchDefault, completion) {
|
|
1920
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
1921
|
-
i.
|
|
1920
|
+
var i = new GameServer$subscribeWith$slambda(this.x9n_1, this.y9n_1, completion);
|
|
1921
|
+
i.z9n_1 = $this$launchDefault;
|
|
1922
1922
|
return i;
|
|
1923
1923
|
};
|
|
1924
1924
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1930,18 +1930,18 @@
|
|
|
1930
1930
|
return l;
|
|
1931
1931
|
}
|
|
1932
1932
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
1933
|
-
this.
|
|
1933
|
+
this.i9o_1 = $action;
|
|
1934
1934
|
CoroutineImpl.call(this, resultContinuation);
|
|
1935
1935
|
}
|
|
1936
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
1937
|
-
var tmp = this.
|
|
1936
|
+
protoOf(GameServer$fromClientEvent$slambda).l9o = function ($this$dispatchAsync, store, $completion) {
|
|
1937
|
+
var tmp = this.m9o($this$dispatchAsync, store, $completion);
|
|
1938
1938
|
tmp.t8_1 = Unit_instance;
|
|
1939
1939
|
tmp.u8_1 = null;
|
|
1940
1940
|
return tmp.z8();
|
|
1941
1941
|
};
|
|
1942
1942
|
protoOf(GameServer$fromClientEvent$slambda).i9 = function (p1, p2, $completion) {
|
|
1943
1943
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1944
|
-
return this.
|
|
1944
|
+
return this.l9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1945
1945
|
};
|
|
1946
1946
|
protoOf(GameServer$fromClientEvent$slambda).z8 = function () {
|
|
1947
1947
|
var suspendResult = this.t8_1;
|
|
@@ -1950,11 +1950,11 @@
|
|
|
1950
1950
|
var tmp = this.r8_1;
|
|
1951
1951
|
if (tmp === 0) {
|
|
1952
1952
|
this.s8_1 = 1;
|
|
1953
|
-
if (this.
|
|
1954
|
-
if (!get_isCreated(this.
|
|
1953
|
+
if (this.i9o_1 instanceof PlayerReadyFromClientAction)
|
|
1954
|
+
if (!get_isCreated(this.k9o_1.state)) {
|
|
1955
1955
|
return Unit_instance;
|
|
1956
1956
|
}
|
|
1957
|
-
this.
|
|
1957
|
+
this.k9o_1.dispatch(this.i9o_1);
|
|
1958
1958
|
return Unit_instance;
|
|
1959
1959
|
} else if (tmp === 1) {
|
|
1960
1960
|
throw this.u8_1;
|
|
@@ -1965,33 +1965,33 @@
|
|
|
1965
1965
|
}
|
|
1966
1966
|
while (true);
|
|
1967
1967
|
};
|
|
1968
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
1969
|
-
var i = new GameServer$fromClientEvent$slambda(this.
|
|
1970
|
-
i.
|
|
1971
|
-
i.
|
|
1968
|
+
protoOf(GameServer$fromClientEvent$slambda).m9o = function ($this$dispatchAsync, store, completion) {
|
|
1969
|
+
var i = new GameServer$fromClientEvent$slambda(this.i9o_1, completion);
|
|
1970
|
+
i.j9o_1 = $this$dispatchAsync;
|
|
1971
|
+
i.k9o_1 = store;
|
|
1972
1972
|
return i;
|
|
1973
1973
|
};
|
|
1974
1974
|
function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
|
|
1975
1975
|
var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
|
|
1976
1976
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1977
|
-
return i.
|
|
1977
|
+
return i.l9o($this$dispatchAsync, store, $completion);
|
|
1978
1978
|
};
|
|
1979
1979
|
l.$arity = 2;
|
|
1980
1980
|
return l;
|
|
1981
1981
|
}
|
|
1982
1982
|
function GameServer$playerLostConnection$slambda($playerId, resultContinuation) {
|
|
1983
|
-
this.
|
|
1983
|
+
this.v9o_1 = $playerId;
|
|
1984
1984
|
CoroutineImpl.call(this, resultContinuation);
|
|
1985
1985
|
}
|
|
1986
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
1987
|
-
var tmp = this.
|
|
1986
|
+
protoOf(GameServer$playerLostConnection$slambda).l9o = function ($this$dispatchAsync, store, $completion) {
|
|
1987
|
+
var tmp = this.m9o($this$dispatchAsync, store, $completion);
|
|
1988
1988
|
tmp.t8_1 = Unit_instance;
|
|
1989
1989
|
tmp.u8_1 = null;
|
|
1990
1990
|
return tmp.z8();
|
|
1991
1991
|
};
|
|
1992
1992
|
protoOf(GameServer$playerLostConnection$slambda).i9 = function (p1, p2, $completion) {
|
|
1993
1993
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1994
|
-
return this.
|
|
1994
|
+
return this.l9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1995
1995
|
};
|
|
1996
1996
|
protoOf(GameServer$playerLostConnection$slambda).z8 = function () {
|
|
1997
1997
|
var suspendResult = this.t8_1;
|
|
@@ -2000,12 +2000,12 @@
|
|
|
2000
2000
|
var tmp = this.r8_1;
|
|
2001
2001
|
if (tmp === 0) {
|
|
2002
2002
|
this.s8_1 = 1;
|
|
2003
|
-
if (!get_isCreated(this.
|
|
2003
|
+
if (!get_isCreated(this.x9o_1.state)) {
|
|
2004
2004
|
return Unit_instance;
|
|
2005
2005
|
}
|
|
2006
|
-
var tmp_0 = this.
|
|
2006
|
+
var tmp_0 = this.x9o_1.dispatch;
|
|
2007
2007
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
2008
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2008
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.v9o_1));
|
|
2009
2009
|
return Unit_instance;
|
|
2010
2010
|
} else if (tmp === 1) {
|
|
2011
2011
|
throw this.u8_1;
|
|
@@ -2016,34 +2016,34 @@
|
|
|
2016
2016
|
}
|
|
2017
2017
|
while (true);
|
|
2018
2018
|
};
|
|
2019
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2020
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
2021
|
-
i.
|
|
2022
|
-
i.
|
|
2019
|
+
protoOf(GameServer$playerLostConnection$slambda).m9o = function ($this$dispatchAsync, store, completion) {
|
|
2020
|
+
var i = new GameServer$playerLostConnection$slambda(this.v9o_1, completion);
|
|
2021
|
+
i.w9o_1 = $this$dispatchAsync;
|
|
2022
|
+
i.x9o_1 = store;
|
|
2023
2023
|
return i;
|
|
2024
2024
|
};
|
|
2025
2025
|
function GameServer$playerLostConnection$slambda_0($playerId, resultContinuation) {
|
|
2026
2026
|
var i = new GameServer$playerLostConnection$slambda($playerId, resultContinuation);
|
|
2027
2027
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2028
|
-
return i.
|
|
2028
|
+
return i.l9o($this$dispatchAsync, store, $completion);
|
|
2029
2029
|
};
|
|
2030
2030
|
l.$arity = 2;
|
|
2031
2031
|
return l;
|
|
2032
2032
|
}
|
|
2033
2033
|
function GameServer$playerLive$slambda(this$0, $playerId, resultContinuation) {
|
|
2034
|
-
this.
|
|
2035
|
-
this.
|
|
2034
|
+
this.g9p_1 = this$0;
|
|
2035
|
+
this.h9p_1 = $playerId;
|
|
2036
2036
|
CoroutineImpl.call(this, resultContinuation);
|
|
2037
2037
|
}
|
|
2038
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2039
|
-
var tmp = this.
|
|
2038
|
+
protoOf(GameServer$playerLive$slambda).l9o = function ($this$dispatchAsync, store, $completion) {
|
|
2039
|
+
var tmp = this.m9o($this$dispatchAsync, store, $completion);
|
|
2040
2040
|
tmp.t8_1 = Unit_instance;
|
|
2041
2041
|
tmp.u8_1 = null;
|
|
2042
2042
|
return tmp.z8();
|
|
2043
2043
|
};
|
|
2044
2044
|
protoOf(GameServer$playerLive$slambda).i9 = function (p1, p2, $completion) {
|
|
2045
2045
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2046
|
-
return this.
|
|
2046
|
+
return this.l9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2047
2047
|
};
|
|
2048
2048
|
protoOf(GameServer$playerLive$slambda).z8 = function () {
|
|
2049
2049
|
var suspendResult = this.t8_1;
|
|
@@ -2052,16 +2052,16 @@
|
|
|
2052
2052
|
var tmp = this.r8_1;
|
|
2053
2053
|
if (tmp === 0) {
|
|
2054
2054
|
this.s8_1 = 1;
|
|
2055
|
-
if (get_isFinished(this.
|
|
2055
|
+
if (get_isFinished(this.j9p_1.state) || get_isFinishing(this.j9p_1.state)) {
|
|
2056
2056
|
return Unit_instance;
|
|
2057
2057
|
}
|
|
2058
|
-
if (!get_isCreated(this.
|
|
2059
|
-
_get_logger__rkp4sl(this.
|
|
2058
|
+
if (!get_isCreated(this.j9p_1.state) || !this.g9p_1.s66().o6n()) {
|
|
2059
|
+
_get_logger__rkp4sl(this.g9p_1).w('GameEngine_API', 'playerLive: ' + this.h9p_1 + ' before game is created');
|
|
2060
2060
|
return Unit_instance;
|
|
2061
2061
|
}
|
|
2062
|
-
var tmp_0 = this.
|
|
2062
|
+
var tmp_0 = this.j9p_1.dispatch;
|
|
2063
2063
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2064
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2064
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.h9p_1));
|
|
2065
2065
|
return Unit_instance;
|
|
2066
2066
|
} else if (tmp === 1) {
|
|
2067
2067
|
throw this.u8_1;
|
|
@@ -2072,34 +2072,34 @@
|
|
|
2072
2072
|
}
|
|
2073
2073
|
while (true);
|
|
2074
2074
|
};
|
|
2075
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2076
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
2077
|
-
i.
|
|
2078
|
-
i.
|
|
2075
|
+
protoOf(GameServer$playerLive$slambda).m9o = function ($this$dispatchAsync, store, completion) {
|
|
2076
|
+
var i = new GameServer$playerLive$slambda(this.g9p_1, this.h9p_1, completion);
|
|
2077
|
+
i.i9p_1 = $this$dispatchAsync;
|
|
2078
|
+
i.j9p_1 = store;
|
|
2079
2079
|
return i;
|
|
2080
2080
|
};
|
|
2081
2081
|
function GameServer$playerLive$slambda_0(this$0, $playerId, resultContinuation) {
|
|
2082
2082
|
var i = new GameServer$playerLive$slambda(this$0, $playerId, resultContinuation);
|
|
2083
2083
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2084
|
-
return i.
|
|
2084
|
+
return i.l9o($this$dispatchAsync, store, $completion);
|
|
2085
2085
|
};
|
|
2086
2086
|
l.$arity = 2;
|
|
2087
2087
|
return l;
|
|
2088
2088
|
}
|
|
2089
2089
|
function GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation) {
|
|
2090
|
-
this.
|
|
2091
|
-
this.
|
|
2090
|
+
this.s9p_1 = this$0;
|
|
2091
|
+
this.t9p_1 = $playerId;
|
|
2092
2092
|
CoroutineImpl.call(this, resultContinuation);
|
|
2093
2093
|
}
|
|
2094
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2095
|
-
var tmp = this.
|
|
2094
|
+
protoOf(GameServer$playerLeft$slambda).l9o = function ($this$dispatchAsync, store, $completion) {
|
|
2095
|
+
var tmp = this.m9o($this$dispatchAsync, store, $completion);
|
|
2096
2096
|
tmp.t8_1 = Unit_instance;
|
|
2097
2097
|
tmp.u8_1 = null;
|
|
2098
2098
|
return tmp.z8();
|
|
2099
2099
|
};
|
|
2100
2100
|
protoOf(GameServer$playerLeft$slambda).i9 = function (p1, p2, $completion) {
|
|
2101
2101
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2102
|
-
return this.
|
|
2102
|
+
return this.l9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2103
2103
|
};
|
|
2104
2104
|
protoOf(GameServer$playerLeft$slambda).z8 = function () {
|
|
2105
2105
|
var suspendResult = this.t8_1;
|
|
@@ -2108,16 +2108,16 @@
|
|
|
2108
2108
|
var tmp = this.r8_1;
|
|
2109
2109
|
if (tmp === 0) {
|
|
2110
2110
|
this.s8_1 = 1;
|
|
2111
|
-
if (get_isFinished(this.
|
|
2111
|
+
if (get_isFinished(this.v9p_1.state) || get_isFinishing(this.v9p_1.state)) {
|
|
2112
2112
|
return Unit_instance;
|
|
2113
2113
|
}
|
|
2114
|
-
if (!get_isCreated(this.
|
|
2115
|
-
_get_logger__rkp4sl(this.
|
|
2114
|
+
if (!get_isCreated(this.v9p_1.state) || !this.s9p_1.s66().o6n()) {
|
|
2115
|
+
_get_logger__rkp4sl(this.s9p_1).w('GameEngine_API', 'playerLeft: ' + this.t9p_1 + ' before game is created');
|
|
2116
2116
|
return Unit_instance;
|
|
2117
2117
|
}
|
|
2118
|
-
var tmp_0 = this.
|
|
2118
|
+
var tmp_0 = this.v9p_1.dispatch;
|
|
2119
2119
|
var tmp0_connectionState = PlayerConnectionState_LEFT_getInstance();
|
|
2120
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2120
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.t9p_1));
|
|
2121
2121
|
return Unit_instance;
|
|
2122
2122
|
} else if (tmp === 1) {
|
|
2123
2123
|
throw this.u8_1;
|
|
@@ -2128,39 +2128,39 @@
|
|
|
2128
2128
|
}
|
|
2129
2129
|
while (true);
|
|
2130
2130
|
};
|
|
2131
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2132
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
2133
|
-
i.
|
|
2134
|
-
i.
|
|
2131
|
+
protoOf(GameServer$playerLeft$slambda).m9o = function ($this$dispatchAsync, store, completion) {
|
|
2132
|
+
var i = new GameServer$playerLeft$slambda(this.s9p_1, this.t9p_1, completion);
|
|
2133
|
+
i.u9p_1 = $this$dispatchAsync;
|
|
2134
|
+
i.v9p_1 = store;
|
|
2135
2135
|
return i;
|
|
2136
2136
|
};
|
|
2137
2137
|
function GameServer$playerLeft$slambda_0(this$0, $playerId, resultContinuation) {
|
|
2138
2138
|
var i = new GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation);
|
|
2139
2139
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2140
|
-
return i.
|
|
2140
|
+
return i.l9o($this$dispatchAsync, store, $completion);
|
|
2141
2141
|
};
|
|
2142
2142
|
l.$arity = 2;
|
|
2143
2143
|
return l;
|
|
2144
2144
|
}
|
|
2145
2145
|
function GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2146
|
-
this.
|
|
2147
|
-
this.
|
|
2148
|
-
this.
|
|
2149
|
-
this.
|
|
2150
|
-
this.
|
|
2151
|
-
this.
|
|
2152
|
-
this.
|
|
2146
|
+
this.e9q_1 = $usersArray;
|
|
2147
|
+
this.f9q_1 = $config;
|
|
2148
|
+
this.g9q_1 = this$0;
|
|
2149
|
+
this.h9q_1 = $roomId;
|
|
2150
|
+
this.i9q_1 = $transition;
|
|
2151
|
+
this.j9q_1 = $gameCreatorId;
|
|
2152
|
+
this.k9q_1 = $spectators;
|
|
2153
2153
|
CoroutineImpl.call(this, resultContinuation);
|
|
2154
2154
|
}
|
|
2155
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2156
|
-
var tmp = this.
|
|
2155
|
+
protoOf(GameServer$roomOnCreate$slambda).l9o = function ($this$dispatchAsync, store, $completion) {
|
|
2156
|
+
var tmp = this.m9o($this$dispatchAsync, store, $completion);
|
|
2157
2157
|
tmp.t8_1 = Unit_instance;
|
|
2158
2158
|
tmp.u8_1 = null;
|
|
2159
2159
|
return tmp.z8();
|
|
2160
2160
|
};
|
|
2161
2161
|
protoOf(GameServer$roomOnCreate$slambda).i9 = function (p1, p2, $completion) {
|
|
2162
2162
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2163
|
-
return this.
|
|
2163
|
+
return this.l9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2164
2164
|
};
|
|
2165
2165
|
protoOf(GameServer$roomOnCreate$slambda).z8 = function () {
|
|
2166
2166
|
var suspendResult = this.t8_1;
|
|
@@ -2169,28 +2169,28 @@
|
|
|
2169
2169
|
var tmp = this.r8_1;
|
|
2170
2170
|
if (tmp === 0) {
|
|
2171
2171
|
this.s8_1 = 1;
|
|
2172
|
-
var users = toList(this.
|
|
2173
|
-
if (!(this.
|
|
2174
|
-
_get_logger__rkp4sl(this.
|
|
2175
|
-
this.
|
|
2172
|
+
var users = toList(this.e9q_1);
|
|
2173
|
+
if (!(this.f9q_1.playersMode.count === users.o())) {
|
|
2174
|
+
_get_logger__rkp4sl(this.g9q_1).w('GameEngine_API', 'roomOnCreate: wrong player count for game ' + this.h9q_1 + ', config = ' + this.f9q_1.toString() + ', users = ' + toString(users));
|
|
2175
|
+
this.m9q_1.dispatch(Companion_instance.fromTableWithAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.g9q_1.table.isGameFinished, this.g9q_1.table));
|
|
2176
2176
|
return Unit_instance;
|
|
2177
2177
|
}
|
|
2178
2178
|
var tmp_0;
|
|
2179
|
-
if (this.
|
|
2180
|
-
tmp_0 = _get_random__h29cgo(this.
|
|
2179
|
+
if (this.f9q_1.mode.shufflePlayers && this.i9q_1 == null) {
|
|
2180
|
+
tmp_0 = _get_random__h29cgo(this.g9q_1).o5d(toMutableList(users));
|
|
2181
2181
|
} else {
|
|
2182
|
-
var tmp0_safe_receiver = this.
|
|
2182
|
+
var tmp0_safe_receiver = this.i9q_1;
|
|
2183
2183
|
var previousPlayers = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.previousPlayers;
|
|
2184
2184
|
var tmp_1;
|
|
2185
|
-
if (!(previousPlayers == null) && this.
|
|
2186
|
-
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.
|
|
2185
|
+
if (!(previousPlayers == null) && this.f9q_1.playersMode.isTeamGame) {
|
|
2186
|
+
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.g9q_1);
|
|
2187
2187
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(previousPlayers, 10));
|
|
2188
2188
|
var _iterator__ex2g4s = previousPlayers.l();
|
|
2189
2189
|
while (_iterator__ex2g4s.m()) {
|
|
2190
2190
|
var item = _iterator__ex2g4s.n();
|
|
2191
2191
|
destination.j(new GameServer$roomOnCreate$2$updatedUsers$previousTeams$1(item));
|
|
2192
2192
|
}
|
|
2193
|
-
var previousTeams = tmp_2.
|
|
2193
|
+
var previousTeams = tmp_2.c8j(destination);
|
|
2194
2194
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
2195
2195
|
var _iterator__ex2g4s_0 = users.l();
|
|
2196
2196
|
while (_iterator__ex2g4s_0.m()) {
|
|
@@ -2214,19 +2214,19 @@
|
|
|
2214
2214
|
destination_1.j(destination_2);
|
|
2215
2215
|
}
|
|
2216
2216
|
var updatedTeams = destination_1;
|
|
2217
|
-
tmp_1 = _get_teamsLogicProvider__u10pm6(this.
|
|
2217
|
+
tmp_1 = _get_teamsLogicProvider__u10pm6(this.g9q_1).g8j(updatedTeams);
|
|
2218
2218
|
} else {
|
|
2219
2219
|
tmp_1 = users;
|
|
2220
2220
|
}
|
|
2221
2221
|
tmp_0 = tmp_1;
|
|
2222
2222
|
}
|
|
2223
2223
|
var updatedUsers = tmp_0;
|
|
2224
|
-
var gameCreatorUser = getPlayer(users, this.
|
|
2225
|
-
var tmp_3 = this.
|
|
2224
|
+
var gameCreatorUser = getPlayer(users, this.j9q_1);
|
|
2225
|
+
var tmp_3 = this.m9q_1.dispatch;
|
|
2226
2226
|
var tmp1_version = get_versionOrDefault(GameEngineConfig_instance);
|
|
2227
2227
|
var tmp2_users = sortWithItem(updatedUsers, gameCreatorUser);
|
|
2228
|
-
var tmp3_spectators = toList(this.
|
|
2229
|
-
tmp_3(new StartGameMechanicAction(this.
|
|
2228
|
+
var tmp3_spectators = toList(this.k9q_1);
|
|
2229
|
+
tmp_3(new StartGameMechanicAction(this.f9q_1, this.h9q_1, tmp1_version, this.j9q_1, tmp2_users, VOID, tmp3_spectators));
|
|
2230
2230
|
return Unit_instance;
|
|
2231
2231
|
} else if (tmp === 1) {
|
|
2232
2232
|
throw this.u8_1;
|
|
@@ -2237,33 +2237,33 @@
|
|
|
2237
2237
|
}
|
|
2238
2238
|
while (true);
|
|
2239
2239
|
};
|
|
2240
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2241
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
2242
|
-
i.
|
|
2243
|
-
i.
|
|
2240
|
+
protoOf(GameServer$roomOnCreate$slambda).m9o = function ($this$dispatchAsync, store, completion) {
|
|
2241
|
+
var i = new GameServer$roomOnCreate$slambda(this.e9q_1, this.f9q_1, this.g9q_1, this.h9q_1, this.i9q_1, this.j9q_1, this.k9q_1, completion);
|
|
2242
|
+
i.l9q_1 = $this$dispatchAsync;
|
|
2243
|
+
i.m9q_1 = store;
|
|
2244
2244
|
return i;
|
|
2245
2245
|
};
|
|
2246
2246
|
function GameServer$roomOnCreate$slambda_0($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2247
2247
|
var i = new GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation);
|
|
2248
2248
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2249
|
-
return i.
|
|
2249
|
+
return i.l9o($this$dispatchAsync, store, $completion);
|
|
2250
2250
|
};
|
|
2251
2251
|
l.$arity = 2;
|
|
2252
2252
|
return l;
|
|
2253
2253
|
}
|
|
2254
2254
|
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
2255
|
-
this.
|
|
2255
|
+
this.v9q_1 = $state;
|
|
2256
2256
|
CoroutineImpl.call(this, resultContinuation);
|
|
2257
2257
|
}
|
|
2258
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2259
|
-
var tmp = this.
|
|
2258
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).y9q = function ($this$dispatchAwait, store, $completion) {
|
|
2259
|
+
var tmp = this.m9o($this$dispatchAwait, store, $completion);
|
|
2260
2260
|
tmp.t8_1 = Unit_instance;
|
|
2261
2261
|
tmp.u8_1 = null;
|
|
2262
2262
|
return tmp.z8();
|
|
2263
2263
|
};
|
|
2264
2264
|
protoOf(GameServer$roomOnContinueFromState$slambda).i9 = function (p1, p2, $completion) {
|
|
2265
2265
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2266
|
-
return this.
|
|
2266
|
+
return this.y9q(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2267
2267
|
};
|
|
2268
2268
|
protoOf(GameServer$roomOnContinueFromState$slambda).z8 = function () {
|
|
2269
2269
|
var suspendResult = this.t8_1;
|
|
@@ -2272,10 +2272,10 @@
|
|
|
2272
2272
|
var tmp = this.r8_1;
|
|
2273
2273
|
if (tmp === 0) {
|
|
2274
2274
|
this.s8_1 = 1;
|
|
2275
|
-
if (get_isCreating(this.
|
|
2276
|
-
var tmp_0 = this.
|
|
2275
|
+
if (get_isCreating(this.x9q_1.state)) {
|
|
2276
|
+
var tmp_0 = this.x9q_1.dispatch;
|
|
2277
2277
|
var tmp0_reason = new RestartRoundReason(null);
|
|
2278
|
-
var tmp1_table = this.
|
|
2278
|
+
var tmp1_table = this.v9q_1.table;
|
|
2279
2279
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2280
2280
|
return true;
|
|
2281
2281
|
}
|
|
@@ -2289,34 +2289,34 @@
|
|
|
2289
2289
|
}
|
|
2290
2290
|
while (true);
|
|
2291
2291
|
};
|
|
2292
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2293
|
-
var i = new GameServer$roomOnContinueFromState$slambda(this.
|
|
2294
|
-
i.
|
|
2295
|
-
i.
|
|
2292
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).m9o = function ($this$dispatchAwait, store, completion) {
|
|
2293
|
+
var i = new GameServer$roomOnContinueFromState$slambda(this.v9q_1, completion);
|
|
2294
|
+
i.w9q_1 = $this$dispatchAwait;
|
|
2295
|
+
i.x9q_1 = store;
|
|
2296
2296
|
return i;
|
|
2297
2297
|
};
|
|
2298
2298
|
function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
|
|
2299
2299
|
var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
|
|
2300
2300
|
var l = function ($this$dispatchAwait, store, $completion) {
|
|
2301
|
-
return i.
|
|
2301
|
+
return i.y9q($this$dispatchAwait, store, $completion);
|
|
2302
2302
|
};
|
|
2303
2303
|
l.$arity = 2;
|
|
2304
2304
|
return l;
|
|
2305
2305
|
}
|
|
2306
2306
|
function GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation) {
|
|
2307
|
-
this.
|
|
2308
|
-
this.
|
|
2307
|
+
this.h9r_1 = $isCreated;
|
|
2308
|
+
this.i9r_1 = $state;
|
|
2309
2309
|
CoroutineImpl.call(this, resultContinuation);
|
|
2310
2310
|
}
|
|
2311
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2312
|
-
var tmp = this.
|
|
2311
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).l9o = function ($this$dispatchAsync, store, $completion) {
|
|
2312
|
+
var tmp = this.m9o($this$dispatchAsync, store, $completion);
|
|
2313
2313
|
tmp.t8_1 = Unit_instance;
|
|
2314
2314
|
tmp.u8_1 = null;
|
|
2315
2315
|
return tmp.z8();
|
|
2316
2316
|
};
|
|
2317
2317
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).i9 = function (p1, p2, $completion) {
|
|
2318
2318
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2319
|
-
return this.
|
|
2319
|
+
return this.l9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2320
2320
|
};
|
|
2321
2321
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).z8 = function () {
|
|
2322
2322
|
var suspendResult = this.t8_1;
|
|
@@ -2327,7 +2327,7 @@
|
|
|
2327
2327
|
case 0:
|
|
2328
2328
|
this.s8_1 = 3;
|
|
2329
2329
|
this.r8_1 = 1;
|
|
2330
|
-
suspendResult = this.
|
|
2330
|
+
suspendResult = this.h9r_1.z1t(this);
|
|
2331
2331
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2332
2332
|
return suspendResult;
|
|
2333
2333
|
}
|
|
@@ -2335,10 +2335,10 @@
|
|
|
2335
2335
|
continue $sm;
|
|
2336
2336
|
case 1:
|
|
2337
2337
|
if (suspendResult) {
|
|
2338
|
-
var _iterator__ex2g4s = this.
|
|
2338
|
+
var _iterator__ex2g4s = this.i9r_1.actions.l();
|
|
2339
2339
|
while (_iterator__ex2g4s.m()) {
|
|
2340
2340
|
var element = _iterator__ex2g4s.n();
|
|
2341
|
-
this.
|
|
2341
|
+
this.k9r_1.dispatch(element);
|
|
2342
2342
|
}
|
|
2343
2343
|
this.r8_1 = 2;
|
|
2344
2344
|
continue $sm;
|
|
@@ -2363,35 +2363,35 @@
|
|
|
2363
2363
|
}
|
|
2364
2364
|
while (true);
|
|
2365
2365
|
};
|
|
2366
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2367
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1(this.
|
|
2368
|
-
i.
|
|
2369
|
-
i.
|
|
2366
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).m9o = function ($this$dispatchAsync, store, completion) {
|
|
2367
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1(this.h9r_1, this.i9r_1, completion);
|
|
2368
|
+
i.j9r_1 = $this$dispatchAsync;
|
|
2369
|
+
i.k9r_1 = store;
|
|
2370
2370
|
return i;
|
|
2371
2371
|
};
|
|
2372
2372
|
function GameServer$roomOnContinueFromState$slambda_2($isCreated, $state, resultContinuation) {
|
|
2373
2373
|
var i = new GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation);
|
|
2374
2374
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2375
|
-
return i.
|
|
2375
|
+
return i.l9o($this$dispatchAsync, store, $completion);
|
|
2376
2376
|
};
|
|
2377
2377
|
l.$arity = 2;
|
|
2378
2378
|
return l;
|
|
2379
2379
|
}
|
|
2380
2380
|
function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation) {
|
|
2381
|
-
this.
|
|
2382
|
-
this.
|
|
2383
|
-
this.
|
|
2381
|
+
this.t9r_1 = $tableLite;
|
|
2382
|
+
this.u9r_1 = $roomId;
|
|
2383
|
+
this.v9r_1 = this$0;
|
|
2384
2384
|
CoroutineImpl.call(this, resultContinuation);
|
|
2385
2385
|
}
|
|
2386
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2387
|
-
var tmp = this.
|
|
2386
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).l9o = function ($this$dispatchAsync, store, $completion) {
|
|
2387
|
+
var tmp = this.m9o($this$dispatchAsync, store, $completion);
|
|
2388
2388
|
tmp.t8_1 = Unit_instance;
|
|
2389
2389
|
tmp.u8_1 = null;
|
|
2390
2390
|
return tmp.z8();
|
|
2391
2391
|
};
|
|
2392
2392
|
protoOf(GameServer$roomOnContinueFromRound$slambda).i9 = function (p1, p2, $completion) {
|
|
2393
2393
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2394
|
-
return this.
|
|
2394
|
+
return this.l9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2395
2395
|
};
|
|
2396
2396
|
protoOf(GameServer$roomOnContinueFromRound$slambda).z8 = function () {
|
|
2397
2397
|
var suspendResult = this.t8_1;
|
|
@@ -2400,9 +2400,9 @@
|
|
|
2400
2400
|
var tmp = this.r8_1;
|
|
2401
2401
|
if (tmp === 0) {
|
|
2402
2402
|
this.s8_1 = 1;
|
|
2403
|
-
var tmp_0 = this.
|
|
2404
|
-
var tmp0_reason = new RestartRoundReason(this.
|
|
2405
|
-
var tmp1_table = Companion_instance_0.restartRound(this.
|
|
2403
|
+
var tmp_0 = this.x9r_1.dispatch;
|
|
2404
|
+
var tmp0_reason = new RestartRoundReason(this.t9r_1.gameInfo.round.roundNumber);
|
|
2405
|
+
var tmp1_table = Companion_instance_0.restartRound(this.u9r_1, _get_idsProvider__fnfajc(this.v9r_1).z6d(), get_versionOrDefault(GameEngineConfig_instance), this.t9r_1);
|
|
2406
2406
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2407
2407
|
return Unit_instance;
|
|
2408
2408
|
} else if (tmp === 1) {
|
|
@@ -2414,16 +2414,16 @@
|
|
|
2414
2414
|
}
|
|
2415
2415
|
while (true);
|
|
2416
2416
|
};
|
|
2417
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2418
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
2419
|
-
i.
|
|
2420
|
-
i.
|
|
2417
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).m9o = function ($this$dispatchAsync, store, completion) {
|
|
2418
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.t9r_1, this.u9r_1, this.v9r_1, completion);
|
|
2419
|
+
i.w9r_1 = $this$dispatchAsync;
|
|
2420
|
+
i.x9r_1 = store;
|
|
2421
2421
|
return i;
|
|
2422
2422
|
};
|
|
2423
2423
|
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, resultContinuation) {
|
|
2424
2424
|
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation);
|
|
2425
2425
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2426
|
-
return i.
|
|
2426
|
+
return i.l9o($this$dispatchAsync, store, $completion);
|
|
2427
2427
|
};
|
|
2428
2428
|
l.$arity = 2;
|
|
2429
2429
|
return l;
|
|
@@ -2431,15 +2431,15 @@
|
|
|
2431
2431
|
function GameServer$roomOnContinueFromRound$slambda_1(resultContinuation) {
|
|
2432
2432
|
CoroutineImpl.call(this, resultContinuation);
|
|
2433
2433
|
}
|
|
2434
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2435
|
-
var tmp = this.
|
|
2434
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).l9o = function ($this$dispatchAsync, store, $completion) {
|
|
2435
|
+
var tmp = this.m9o($this$dispatchAsync, store, $completion);
|
|
2436
2436
|
tmp.t8_1 = Unit_instance;
|
|
2437
2437
|
tmp.u8_1 = null;
|
|
2438
2438
|
return tmp.z8();
|
|
2439
2439
|
};
|
|
2440
2440
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).i9 = function (p1, p2, $completion) {
|
|
2441
2441
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2442
|
-
return this.
|
|
2442
|
+
return this.l9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2443
2443
|
};
|
|
2444
2444
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).z8 = function () {
|
|
2445
2445
|
var suspendResult = this.t8_1;
|
|
@@ -2448,7 +2448,7 @@
|
|
|
2448
2448
|
var tmp = this.r8_1;
|
|
2449
2449
|
if (tmp === 0) {
|
|
2450
2450
|
this.s8_1 = 1;
|
|
2451
|
-
this.
|
|
2451
|
+
this.h9s_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
2452
2452
|
return Unit_instance;
|
|
2453
2453
|
} else if (tmp === 1) {
|
|
2454
2454
|
throw this.u8_1;
|
|
@@ -2459,33 +2459,33 @@
|
|
|
2459
2459
|
}
|
|
2460
2460
|
while (true);
|
|
2461
2461
|
};
|
|
2462
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2462
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).m9o = function ($this$dispatchAsync, store, completion) {
|
|
2463
2463
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
2464
|
-
i.
|
|
2465
|
-
i.
|
|
2464
|
+
i.g9s_1 = $this$dispatchAsync;
|
|
2465
|
+
i.h9s_1 = store;
|
|
2466
2466
|
return i;
|
|
2467
2467
|
};
|
|
2468
2468
|
function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
|
|
2469
2469
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(resultContinuation);
|
|
2470
2470
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2471
|
-
return i.
|
|
2471
|
+
return i.l9o($this$dispatchAsync, store, $completion);
|
|
2472
2472
|
};
|
|
2473
2473
|
l.$arity = 2;
|
|
2474
2474
|
return l;
|
|
2475
2475
|
}
|
|
2476
2476
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
2477
|
-
this.
|
|
2477
|
+
this.q9s_1 = $spectators;
|
|
2478
2478
|
CoroutineImpl.call(this, resultContinuation);
|
|
2479
2479
|
}
|
|
2480
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2481
|
-
var tmp = this.
|
|
2480
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).l9o = function ($this$dispatchAsync, store, $completion) {
|
|
2481
|
+
var tmp = this.m9o($this$dispatchAsync, store, $completion);
|
|
2482
2482
|
tmp.t8_1 = Unit_instance;
|
|
2483
2483
|
tmp.u8_1 = null;
|
|
2484
2484
|
return tmp.z8();
|
|
2485
2485
|
};
|
|
2486
2486
|
protoOf(GameServer$addSpectatorsToRoom$slambda).i9 = function (p1, p2, $completion) {
|
|
2487
2487
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2488
|
-
return this.
|
|
2488
|
+
return this.l9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2489
2489
|
};
|
|
2490
2490
|
protoOf(GameServer$addSpectatorsToRoom$slambda).z8 = function () {
|
|
2491
2491
|
var suspendResult = this.t8_1;
|
|
@@ -2494,7 +2494,7 @@
|
|
|
2494
2494
|
var tmp = this.r8_1;
|
|
2495
2495
|
if (tmp === 0) {
|
|
2496
2496
|
this.s8_1 = 1;
|
|
2497
|
-
this.
|
|
2497
|
+
this.s9s_1.dispatch(new AddSpectatorsAction(toList(this.q9s_1)));
|
|
2498
2498
|
return Unit_instance;
|
|
2499
2499
|
} else if (tmp === 1) {
|
|
2500
2500
|
throw this.u8_1;
|
|
@@ -2505,33 +2505,33 @@
|
|
|
2505
2505
|
}
|
|
2506
2506
|
while (true);
|
|
2507
2507
|
};
|
|
2508
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2509
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
2510
|
-
i.
|
|
2511
|
-
i.
|
|
2508
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).m9o = function ($this$dispatchAsync, store, completion) {
|
|
2509
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.q9s_1, completion);
|
|
2510
|
+
i.r9s_1 = $this$dispatchAsync;
|
|
2511
|
+
i.s9s_1 = store;
|
|
2512
2512
|
return i;
|
|
2513
2513
|
};
|
|
2514
2514
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
2515
2515
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
2516
2516
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2517
|
-
return i.
|
|
2517
|
+
return i.l9o($this$dispatchAsync, store, $completion);
|
|
2518
2518
|
};
|
|
2519
2519
|
l.$arity = 2;
|
|
2520
2520
|
return l;
|
|
2521
2521
|
}
|
|
2522
2522
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
2523
|
-
this.
|
|
2523
|
+
this.b9t_1 = $spectators;
|
|
2524
2524
|
CoroutineImpl.call(this, resultContinuation);
|
|
2525
2525
|
}
|
|
2526
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2527
|
-
var tmp = this.
|
|
2526
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).l9o = function ($this$dispatchAsync, store, $completion) {
|
|
2527
|
+
var tmp = this.m9o($this$dispatchAsync, store, $completion);
|
|
2528
2528
|
tmp.t8_1 = Unit_instance;
|
|
2529
2529
|
tmp.u8_1 = null;
|
|
2530
2530
|
return tmp.z8();
|
|
2531
2531
|
};
|
|
2532
2532
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).i9 = function (p1, p2, $completion) {
|
|
2533
2533
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2534
|
-
return this.
|
|
2534
|
+
return this.l9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2535
2535
|
};
|
|
2536
2536
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).z8 = function () {
|
|
2537
2537
|
var suspendResult = this.t8_1;
|
|
@@ -2540,7 +2540,7 @@
|
|
|
2540
2540
|
var tmp = this.r8_1;
|
|
2541
2541
|
if (tmp === 0) {
|
|
2542
2542
|
this.s8_1 = 1;
|
|
2543
|
-
this.
|
|
2543
|
+
this.d9t_1.dispatch(new RemoveSpectatorsAction(toList(this.b9t_1)));
|
|
2544
2544
|
return Unit_instance;
|
|
2545
2545
|
} else if (tmp === 1) {
|
|
2546
2546
|
throw this.u8_1;
|
|
@@ -2551,34 +2551,34 @@
|
|
|
2551
2551
|
}
|
|
2552
2552
|
while (true);
|
|
2553
2553
|
};
|
|
2554
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2555
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
2556
|
-
i.
|
|
2557
|
-
i.
|
|
2554
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).m9o = function ($this$dispatchAsync, store, completion) {
|
|
2555
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.b9t_1, completion);
|
|
2556
|
+
i.c9t_1 = $this$dispatchAsync;
|
|
2557
|
+
i.d9t_1 = store;
|
|
2558
2558
|
return i;
|
|
2559
2559
|
};
|
|
2560
2560
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
2561
2561
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
2562
2562
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2563
|
-
return i.
|
|
2563
|
+
return i.l9o($this$dispatchAsync, store, $completion);
|
|
2564
2564
|
};
|
|
2565
2565
|
l.$arity = 2;
|
|
2566
2566
|
return l;
|
|
2567
2567
|
}
|
|
2568
2568
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
2569
|
-
this.
|
|
2570
|
-
this.
|
|
2569
|
+
this.m9t_1 = $playerId;
|
|
2570
|
+
this.n9t_1 = this$0;
|
|
2571
2571
|
CoroutineImpl.call(this, resultContinuation);
|
|
2572
2572
|
}
|
|
2573
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2574
|
-
var tmp = this.
|
|
2573
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).l9o = function ($this$dispatchAsync, store, $completion) {
|
|
2574
|
+
var tmp = this.m9o($this$dispatchAsync, store, $completion);
|
|
2575
2575
|
tmp.t8_1 = Unit_instance;
|
|
2576
2576
|
tmp.u8_1 = null;
|
|
2577
2577
|
return tmp.z8();
|
|
2578
2578
|
};
|
|
2579
2579
|
protoOf(GameServer$roomRefreshPlayerState$slambda).i9 = function (p1, p2, $completion) {
|
|
2580
2580
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2581
|
-
return this.
|
|
2581
|
+
return this.l9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2582
2582
|
};
|
|
2583
2583
|
protoOf(GameServer$roomRefreshPlayerState$slambda).z8 = function () {
|
|
2584
2584
|
var suspendResult = this.t8_1;
|
|
@@ -2587,14 +2587,14 @@
|
|
|
2587
2587
|
var tmp = this.r8_1;
|
|
2588
2588
|
if (tmp === 0) {
|
|
2589
2589
|
this.s8_1 = 1;
|
|
2590
|
-
var table = this.
|
|
2591
|
-
var player = getPlayer(table.players, this.
|
|
2592
|
-
if (player.
|
|
2593
|
-
this.
|
|
2590
|
+
var table = this.p9t_1.state.n6n();
|
|
2591
|
+
var player = getPlayer(table.players, this.m9t_1);
|
|
2592
|
+
if (player.o6q_1.v68().m67_1.isLive) {
|
|
2593
|
+
this.p9t_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.n9t_1).w8p(player, table));
|
|
2594
2594
|
} else {
|
|
2595
|
-
var tmp_0 = this.
|
|
2595
|
+
var tmp_0 = this.p9t_1.dispatch;
|
|
2596
2596
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2597
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2597
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.m9t_1));
|
|
2598
2598
|
}
|
|
2599
2599
|
return Unit_instance;
|
|
2600
2600
|
} else if (tmp === 1) {
|
|
@@ -2606,34 +2606,34 @@
|
|
|
2606
2606
|
}
|
|
2607
2607
|
while (true);
|
|
2608
2608
|
};
|
|
2609
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2610
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
2611
|
-
i.
|
|
2612
|
-
i.
|
|
2609
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).m9o = function ($this$dispatchAsync, store, completion) {
|
|
2610
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.m9t_1, this.n9t_1, completion);
|
|
2611
|
+
i.o9t_1 = $this$dispatchAsync;
|
|
2612
|
+
i.p9t_1 = store;
|
|
2613
2613
|
return i;
|
|
2614
2614
|
};
|
|
2615
2615
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
2616
2616
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
2617
2617
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2618
|
-
return i.
|
|
2618
|
+
return i.l9o($this$dispatchAsync, store, $completion);
|
|
2619
2619
|
};
|
|
2620
2620
|
l.$arity = 2;
|
|
2621
2621
|
return l;
|
|
2622
2622
|
}
|
|
2623
2623
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
2624
|
-
this.
|
|
2625
|
-
this.
|
|
2624
|
+
this.y9t_1 = this$0;
|
|
2625
|
+
this.z9t_1 = $newRid;
|
|
2626
2626
|
CoroutineImpl.call(this, resultContinuation);
|
|
2627
2627
|
}
|
|
2628
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2629
|
-
var tmp = this.
|
|
2628
|
+
protoOf(GameServer$roomOnDelete$slambda).l9o = function ($this$dispatchAsync, store, $completion) {
|
|
2629
|
+
var tmp = this.m9o($this$dispatchAsync, store, $completion);
|
|
2630
2630
|
tmp.t8_1 = Unit_instance;
|
|
2631
2631
|
tmp.u8_1 = null;
|
|
2632
2632
|
return tmp.z8();
|
|
2633
2633
|
};
|
|
2634
2634
|
protoOf(GameServer$roomOnDelete$slambda).i9 = function (p1, p2, $completion) {
|
|
2635
2635
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2636
|
-
return this.
|
|
2636
|
+
return this.l9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2637
2637
|
};
|
|
2638
2638
|
protoOf(GameServer$roomOnDelete$slambda).z8 = function () {
|
|
2639
2639
|
var suspendResult = this.t8_1;
|
|
@@ -2642,27 +2642,27 @@
|
|
|
2642
2642
|
var tmp = this.r8_1;
|
|
2643
2643
|
if (tmp === 0) {
|
|
2644
2644
|
this.s8_1 = 1;
|
|
2645
|
-
var it = this.
|
|
2645
|
+
var it = this.y9t_1.s66().n6m_1;
|
|
2646
2646
|
var tmp_0;
|
|
2647
2647
|
if (it == null) {
|
|
2648
|
-
_get_logger__rkp4sl(this.
|
|
2648
|
+
_get_logger__rkp4sl(this.y9t_1).w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
2649
2649
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
2650
2650
|
} else {
|
|
2651
2651
|
tmp_0 = it;
|
|
2652
2652
|
}
|
|
2653
2653
|
var terminationState = tmp_0;
|
|
2654
|
-
var gameTransition = terminationState.
|
|
2654
|
+
var gameTransition = terminationState.t8t_1;
|
|
2655
2655
|
var tmp_1;
|
|
2656
2656
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
2657
|
-
var tmp0_elvis_lhs = this.
|
|
2657
|
+
var tmp0_elvis_lhs = this.z9t_1;
|
|
2658
2658
|
tmp_1 = gameTransition.copy(tmp0_elvis_lhs == null ? gameTransition.roomId : tmp0_elvis_lhs);
|
|
2659
2659
|
} else {
|
|
2660
2660
|
tmp_1 = gameTransition;
|
|
2661
2661
|
}
|
|
2662
2662
|
var transition = tmp_1;
|
|
2663
|
-
var tmp_2 = this.
|
|
2664
|
-
var tmp0_reason = terminationState.
|
|
2665
|
-
var tmp1_isGameFinished = this.
|
|
2663
|
+
var tmp_2 = this.b9u_1.dispatch;
|
|
2664
|
+
var tmp0_reason = terminationState.s8t_1;
|
|
2665
|
+
var tmp1_isGameFinished = this.y9t_1.s66().n6n().isGameFinished;
|
|
2666
2666
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
2667
2667
|
return Unit_instance;
|
|
2668
2668
|
} else if (tmp === 1) {
|
|
@@ -2674,33 +2674,33 @@
|
|
|
2674
2674
|
}
|
|
2675
2675
|
while (true);
|
|
2676
2676
|
};
|
|
2677
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2678
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
2679
|
-
i.
|
|
2680
|
-
i.
|
|
2677
|
+
protoOf(GameServer$roomOnDelete$slambda).m9o = function ($this$dispatchAsync, store, completion) {
|
|
2678
|
+
var i = new GameServer$roomOnDelete$slambda(this.y9t_1, this.z9t_1, completion);
|
|
2679
|
+
i.a9u_1 = $this$dispatchAsync;
|
|
2680
|
+
i.b9u_1 = store;
|
|
2681
2681
|
return i;
|
|
2682
2682
|
};
|
|
2683
2683
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
2684
2684
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
2685
2685
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2686
|
-
return i.
|
|
2686
|
+
return i.l9o($this$dispatchAsync, store, $completion);
|
|
2687
2687
|
};
|
|
2688
2688
|
l.$arity = 2;
|
|
2689
2689
|
return l;
|
|
2690
2690
|
}
|
|
2691
2691
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
2692
|
-
this.
|
|
2692
|
+
this.k9u_1 = $enabled;
|
|
2693
2693
|
CoroutineImpl.call(this, resultContinuation);
|
|
2694
2694
|
}
|
|
2695
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2696
|
-
var tmp = this.
|
|
2695
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).l9o = function ($this$dispatchAsync, store, $completion) {
|
|
2696
|
+
var tmp = this.m9o($this$dispatchAsync, store, $completion);
|
|
2697
2697
|
tmp.t8_1 = Unit_instance;
|
|
2698
2698
|
tmp.u8_1 = null;
|
|
2699
2699
|
return tmp.z8();
|
|
2700
2700
|
};
|
|
2701
2701
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).i9 = function (p1, p2, $completion) {
|
|
2702
2702
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2703
|
-
return this.
|
|
2703
|
+
return this.l9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2704
2704
|
};
|
|
2705
2705
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).z8 = function () {
|
|
2706
2706
|
var suspendResult = this.t8_1;
|
|
@@ -2709,7 +2709,7 @@
|
|
|
2709
2709
|
var tmp = this.r8_1;
|
|
2710
2710
|
if (tmp === 0) {
|
|
2711
2711
|
this.s8_1 = 1;
|
|
2712
|
-
this.
|
|
2712
|
+
this.m9u_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload_0(this.m9u_1.state).config.copy(VOID, this.k9u_1)));
|
|
2713
2713
|
return Unit_instance;
|
|
2714
2714
|
} else if (tmp === 1) {
|
|
2715
2715
|
throw this.u8_1;
|
|
@@ -2720,35 +2720,35 @@
|
|
|
2720
2720
|
}
|
|
2721
2721
|
while (true);
|
|
2722
2722
|
};
|
|
2723
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2724
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
2725
|
-
i.
|
|
2726
|
-
i.
|
|
2723
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).m9o = function ($this$dispatchAsync, store, completion) {
|
|
2724
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.k9u_1, completion);
|
|
2725
|
+
i.l9u_1 = $this$dispatchAsync;
|
|
2726
|
+
i.m9u_1 = store;
|
|
2727
2727
|
return i;
|
|
2728
2728
|
};
|
|
2729
2729
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
2730
2730
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
2731
2731
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2732
|
-
return i.
|
|
2732
|
+
return i.l9o($this$dispatchAsync, store, $completion);
|
|
2733
2733
|
};
|
|
2734
2734
|
l.$arity = 2;
|
|
2735
2735
|
return l;
|
|
2736
2736
|
}
|
|
2737
2737
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
2738
|
-
this.
|
|
2739
|
-
this.
|
|
2740
|
-
this.
|
|
2738
|
+
this.v9u_1 = $reason;
|
|
2739
|
+
this.w9u_1 = this$0;
|
|
2740
|
+
this.x9u_1 = $roomId;
|
|
2741
2741
|
CoroutineImpl.call(this, resultContinuation);
|
|
2742
2742
|
}
|
|
2743
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2744
|
-
var tmp = this.
|
|
2743
|
+
protoOf(GameServer$shutdown$slambda).l9o = function ($this$dispatchAsync, store, $completion) {
|
|
2744
|
+
var tmp = this.m9o($this$dispatchAsync, store, $completion);
|
|
2745
2745
|
tmp.t8_1 = Unit_instance;
|
|
2746
2746
|
tmp.u8_1 = null;
|
|
2747
2747
|
return tmp.z8();
|
|
2748
2748
|
};
|
|
2749
2749
|
protoOf(GameServer$shutdown$slambda).i9 = function (p1, p2, $completion) {
|
|
2750
2750
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2751
|
-
return this.
|
|
2751
|
+
return this.l9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2752
2752
|
};
|
|
2753
2753
|
protoOf(GameServer$shutdown$slambda).z8 = function () {
|
|
2754
2754
|
var suspendResult = this.t8_1;
|
|
@@ -2757,11 +2757,11 @@
|
|
|
2757
2757
|
var tmp = this.r8_1;
|
|
2758
2758
|
if (tmp === 0) {
|
|
2759
2759
|
this.s8_1 = 1;
|
|
2760
|
-
var state = this.
|
|
2760
|
+
var state = this.z9u_1.store.state;
|
|
2761
2761
|
if (state.o6n()) {
|
|
2762
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
2762
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.v9u_1, get_serverShutdownReasonMapping());
|
|
2763
2763
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
2764
|
-
var tmp_0 = this.
|
|
2764
|
+
var tmp_0 = this.z9u_1.dispatch;
|
|
2765
2765
|
var tmp_1 = Companion_instance;
|
|
2766
2766
|
var tmp_2;
|
|
2767
2767
|
switch (shutdownReason.p2_1) {
|
|
@@ -2775,12 +2775,12 @@
|
|
|
2775
2775
|
noWhenBranchMatchedException();
|
|
2776
2776
|
break;
|
|
2777
2777
|
}
|
|
2778
|
-
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.
|
|
2778
|
+
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.w9u_1.table.isGameFinished, this.w9u_1.table));
|
|
2779
2779
|
} else {
|
|
2780
|
-
_get_logger__rkp4sl(this.
|
|
2781
|
-
var tmp_3 = this.
|
|
2780
|
+
_get_logger__rkp4sl(this.w9u_1).w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.x9u_1);
|
|
2781
|
+
var tmp_3 = this.z9u_1.dispatch;
|
|
2782
2782
|
var tmp2_safe_receiver = state.n6m_1;
|
|
2783
|
-
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
2783
|
+
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.t8t_1));
|
|
2784
2784
|
}
|
|
2785
2785
|
return Unit_instance;
|
|
2786
2786
|
} else if (tmp === 1) {
|
|
@@ -2792,16 +2792,16 @@
|
|
|
2792
2792
|
}
|
|
2793
2793
|
while (true);
|
|
2794
2794
|
};
|
|
2795
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2796
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
2797
|
-
i.
|
|
2798
|
-
i.
|
|
2795
|
+
protoOf(GameServer$shutdown$slambda).m9o = function ($this$dispatchAsync, store, completion) {
|
|
2796
|
+
var i = new GameServer$shutdown$slambda(this.v9u_1, this.w9u_1, this.x9u_1, completion);
|
|
2797
|
+
i.y9u_1 = $this$dispatchAsync;
|
|
2798
|
+
i.z9u_1 = store;
|
|
2799
2799
|
return i;
|
|
2800
2800
|
};
|
|
2801
2801
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
2802
2802
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
2803
2803
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2804
|
-
return i.
|
|
2804
|
+
return i.l9o($this$dispatchAsync, store, $completion);
|
|
2805
2805
|
};
|
|
2806
2806
|
l.$arity = 2;
|
|
2807
2807
|
return l;
|
|
@@ -2832,7 +2832,7 @@
|
|
|
2832
2832
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
2833
2833
|
var tmp_3 = Instance(di, tmp$ret$2, null);
|
|
2834
2834
|
var tmp_4 = KProperty1;
|
|
2835
|
-
tmp_1.
|
|
2835
|
+
tmp_1.d9l_1 = tmp_3.u64(this, getPropertyCallableRef('logger', 1, tmp_4, GameServer$_get_logger_$ref_fogce1(), null));
|
|
2836
2836
|
var tmp_5 = this;
|
|
2837
2837
|
// Inline function 'org.kodein.di.instance' call
|
|
2838
2838
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2840,7 +2840,7 @@
|
|
|
2840
2840
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
2841
2841
|
var tmp_7 = Instance(di, tmp$ret$4, null);
|
|
2842
2842
|
var tmp_8 = KProperty1;
|
|
2843
|
-
tmp_5.
|
|
2843
|
+
tmp_5.e9l_1 = tmp_7.u64(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_8, GameServer$_get_toClientEventsObserver_$ref_utir8s(), null));
|
|
2844
2844
|
var tmp_9 = this;
|
|
2845
2845
|
// Inline function 'org.kodein.di.instance' call
|
|
2846
2846
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2848,7 +2848,7 @@
|
|
|
2848
2848
|
var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
2849
2849
|
var tmp_11 = Instance(di, tmp$ret$6, null);
|
|
2850
2850
|
var tmp_12 = KProperty1;
|
|
2851
|
-
tmp_9.
|
|
2851
|
+
tmp_9.f9l_1 = tmp_11.u64(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_12, GameServer$_get_fromClientEventsObserver_$ref_nf1g79(), null));
|
|
2852
2852
|
var tmp_13 = this;
|
|
2853
2853
|
// Inline function 'org.kodein.di.instance' call
|
|
2854
2854
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2856,7 +2856,7 @@
|
|
|
2856
2856
|
var tmp$ret$8 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
2857
2857
|
var tmp_15 = Instance(di, tmp$ret$8, null);
|
|
2858
2858
|
var tmp_16 = KProperty1;
|
|
2859
|
-
tmp_13.
|
|
2859
|
+
tmp_13.g9l_1 = tmp_15.u64(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_16, GameServer$_get_playerConnectionInteractor_$ref_of8tan(), null));
|
|
2860
2860
|
var tmp_17 = this;
|
|
2861
2861
|
// Inline function 'org.kodein.di.instance' call
|
|
2862
2862
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2864,9 +2864,9 @@
|
|
|
2864
2864
|
var tmp$ret$10 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
2865
2865
|
var tmp_19 = Instance(di, tmp$ret$10, null);
|
|
2866
2866
|
var tmp_20 = KProperty1;
|
|
2867
|
-
tmp_17.
|
|
2867
|
+
tmp_17.h9l_1 = tmp_19.u64(this, getPropertyCallableRef('teamsLogicProvider', 1, tmp_20, GameServer$_get_teamsLogicProvider_$ref_b7y54g(), null));
|
|
2868
2868
|
var tmp_21 = this;
|
|
2869
|
-
tmp_21.
|
|
2869
|
+
tmp_21.i9l_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
2870
2870
|
var tmp_22 = this;
|
|
2871
2871
|
// Inline function 'org.kodein.di.instance' call
|
|
2872
2872
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2874,7 +2874,7 @@
|
|
|
2874
2874
|
var tmp$ret$12 = isInterface(tmp_23, TypeToken) ? tmp_23 : THROW_CCE();
|
|
2875
2875
|
var tmp_24 = Instance(di, tmp$ret$12, null);
|
|
2876
2876
|
var tmp_25 = KProperty1;
|
|
2877
|
-
tmp_22.
|
|
2877
|
+
tmp_22.j9l_1 = tmp_24.u64(this, getPropertyCallableRef('idsProvider', 1, tmp_25, GameServer$_get_idsProvider_$ref_89s908(), null));
|
|
2878
2878
|
var tmp_26 = this;
|
|
2879
2879
|
// Inline function 'org.kodein.di.instance' call
|
|
2880
2880
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2882,7 +2882,7 @@
|
|
|
2882
2882
|
var tmp$ret$14 = isInterface(tmp_27, TypeToken) ? tmp_27 : THROW_CCE();
|
|
2883
2883
|
var tmp_28 = Instance(di, tmp$ret$14, null);
|
|
2884
2884
|
var tmp_29 = KProperty1;
|
|
2885
|
-
tmp_26.
|
|
2885
|
+
tmp_26.k9l_1 = tmp_28.u64(this, getPropertyCallableRef('serverReduxConfig', 1, tmp_29, GameServer$_get_serverReduxConfig_$ref_7h6jq6(), null));
|
|
2886
2886
|
var tmp_30 = this;
|
|
2887
2887
|
// Inline function 'org.kodein.di.instance' call
|
|
2888
2888
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2890,14 +2890,14 @@
|
|
|
2890
2890
|
var tmp$ret$16 = isInterface(tmp_31, TypeToken) ? tmp_31 : THROW_CCE();
|
|
2891
2891
|
var tmp_32 = Instance(di, tmp$ret$16, null);
|
|
2892
2892
|
var tmp_33 = KProperty1;
|
|
2893
|
-
tmp_30.
|
|
2893
|
+
tmp_30.l9l_1 = tmp_32.u64(this, getPropertyCallableRef('encoderDecoderProvider', 1, tmp_33, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8(), null));
|
|
2894
2894
|
var tmp_34 = this;
|
|
2895
|
-
var tmp0_externalMiddlewares = plus(storeContract.
|
|
2896
|
-
var tmp1_externalReducers = plus(storeContract.
|
|
2897
|
-
tmp_34.
|
|
2895
|
+
var tmp0_externalMiddlewares = plus(storeContract.g8y(), externalMiddlewares);
|
|
2896
|
+
var tmp1_externalReducers = plus(storeContract.f8y(), externalReducers);
|
|
2897
|
+
tmp_34.m9l_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
2898
2898
|
}
|
|
2899
2899
|
protoOf(GameServer).b6m = function () {
|
|
2900
|
-
return this.
|
|
2900
|
+
return this.m9l_1;
|
|
2901
2901
|
};
|
|
2902
2902
|
protoOf(GameServer).w53 = function () {
|
|
2903
2903
|
return this.s66().n6n().id;
|
|
@@ -2929,55 +2929,55 @@
|
|
|
2929
2929
|
};
|
|
2930
2930
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
2931
2931
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
2932
|
-
this.
|
|
2932
|
+
this.m9l_1.l6n(GameServer$fromClientEvent$slambda_0(action, null));
|
|
2933
2933
|
};
|
|
2934
2934
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
2935
2935
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
2936
|
-
this.
|
|
2936
|
+
this.m9l_1.l6n(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
2937
2937
|
};
|
|
2938
2938
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
2939
2939
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLive: ' + playerId);
|
|
2940
|
-
this.
|
|
2940
|
+
this.m9l_1.l6n(GameServer$playerLive$slambda_0(this, playerId, null));
|
|
2941
2941
|
};
|
|
2942
2942
|
protoOf(GameServer).playerLeft = function (playerId) {
|
|
2943
2943
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
2944
|
-
this.
|
|
2944
|
+
this.m9l_1.l6n(GameServer$playerLeft$slambda_0(this, playerId, null));
|
|
2945
2945
|
};
|
|
2946
|
-
protoOf(GameServer).
|
|
2946
|
+
protoOf(GameServer).a9v = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
2947
2947
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
2948
|
-
this.
|
|
2948
|
+
this.m9l_1.l6n(GameServer$roomOnCreate$slambda_0(usersArray, config, this, roomId, transition, gameCreatorId, spectators, null));
|
|
2949
2949
|
};
|
|
2950
2950
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
2951
2951
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
2952
|
-
var isCreated = this.
|
|
2953
|
-
this.
|
|
2952
|
+
var isCreated = this.m9l_1.m6n(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
2953
|
+
this.m9l_1.l6n(GameServer$roomOnContinueFromState$slambda_2(isCreated, state, null));
|
|
2954
2954
|
};
|
|
2955
2955
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
2956
2956
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
2957
|
-
this.
|
|
2958
|
-
this.
|
|
2957
|
+
this.m9l_1.l6n(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
2958
|
+
this.m9l_1.l6n(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
2959
2959
|
};
|
|
2960
2960
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
2961
|
-
this.
|
|
2961
|
+
this.m9l_1.l6n(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
2962
2962
|
};
|
|
2963
2963
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
2964
|
-
this.
|
|
2964
|
+
this.m9l_1.l6n(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
2965
2965
|
};
|
|
2966
2966
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
2967
2967
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
2968
|
-
this.
|
|
2968
|
+
this.m9l_1.l6n(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
2969
2969
|
};
|
|
2970
|
-
protoOf(GameServer).
|
|
2970
|
+
protoOf(GameServer).b9v = function (newRid) {
|
|
2971
2971
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnDelete: ' + newRid);
|
|
2972
|
-
this.
|
|
2972
|
+
this.m9l_1.l6n(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
2973
2973
|
};
|
|
2974
2974
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
2975
2975
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
2976
|
-
this.
|
|
2976
|
+
this.m9l_1.l6n(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
2977
2977
|
};
|
|
2978
|
-
protoOf(GameServer).
|
|
2978
|
+
protoOf(GameServer).c9v = function (reason, roomId) {
|
|
2979
2979
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
2980
|
-
this.
|
|
2980
|
+
this.m9l_1.l6n(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
2981
2981
|
};
|
|
2982
2982
|
protoOf(GameServer).clear = function () {
|
|
2983
2983
|
return this.h2();
|
|
@@ -3028,10 +3028,10 @@
|
|
|
3028
3028
|
this.fromRound = fromRound;
|
|
3029
3029
|
this.canStartNewGame = canStartNewGame;
|
|
3030
3030
|
}
|
|
3031
|
-
protoOf(ServerConfig).
|
|
3031
|
+
protoOf(ServerConfig).d9v = function () {
|
|
3032
3032
|
return this.fromRound;
|
|
3033
3033
|
};
|
|
3034
|
-
protoOf(ServerConfig).
|
|
3034
|
+
protoOf(ServerConfig).e9v = function () {
|
|
3035
3035
|
return this.canStartNewGame;
|
|
3036
3036
|
};
|
|
3037
3037
|
protoOf(ServerConfig).ne = function () {
|
|
@@ -3040,13 +3040,13 @@
|
|
|
3040
3040
|
protoOf(ServerConfig).oe = function () {
|
|
3041
3041
|
return this.canStartNewGame;
|
|
3042
3042
|
};
|
|
3043
|
-
protoOf(ServerConfig).
|
|
3043
|
+
protoOf(ServerConfig).f9v = function (fromRound, canStartNewGame) {
|
|
3044
3044
|
return new ServerConfig(fromRound, canStartNewGame);
|
|
3045
3045
|
};
|
|
3046
3046
|
protoOf(ServerConfig).copy = function (fromRound, canStartNewGame, $super) {
|
|
3047
3047
|
fromRound = fromRound === VOID ? this.fromRound : fromRound;
|
|
3048
3048
|
canStartNewGame = canStartNewGame === VOID ? this.canStartNewGame : canStartNewGame;
|
|
3049
|
-
return $super === VOID ? this.
|
|
3049
|
+
return $super === VOID ? this.f9v(fromRound, canStartNewGame) : $super.f9v.call(this, fromRound, canStartNewGame);
|
|
3050
3050
|
};
|
|
3051
3051
|
protoOf(ServerConfig).toString = function () {
|
|
3052
3052
|
return 'ServerConfig(fromRound=' + this.fromRound + ', canStartNewGame=' + this.canStartNewGame + ')';
|
|
@@ -3107,19 +3107,19 @@
|
|
|
3107
3107
|
$serializer_instance = this;
|
|
3108
3108
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.TableStateUpdateDto', this, 1);
|
|
3109
3109
|
tmp0_serialDesc.gz('table', false);
|
|
3110
|
-
this.
|
|
3110
|
+
this.g9v_1 = tmp0_serialDesc;
|
|
3111
3111
|
}
|
|
3112
|
-
protoOf($serializer).
|
|
3113
|
-
var tmp0_desc = this.
|
|
3112
|
+
protoOf($serializer).h9v = function (encoder, value) {
|
|
3113
|
+
var tmp0_desc = this.g9v_1;
|
|
3114
3114
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3115
3115
|
tmp1_output.dt(tmp0_desc, 0, value.table);
|
|
3116
3116
|
tmp1_output.pr(tmp0_desc);
|
|
3117
3117
|
};
|
|
3118
3118
|
protoOf($serializer).co = function (encoder, value) {
|
|
3119
|
-
return this.
|
|
3119
|
+
return this.h9v(encoder, value instanceof TableStateUpdateDto ? value : THROW_CCE());
|
|
3120
3120
|
};
|
|
3121
3121
|
protoOf($serializer).do = function (decoder) {
|
|
3122
|
-
var tmp0_desc = this.
|
|
3122
|
+
var tmp0_desc = this.g9v_1;
|
|
3123
3123
|
var tmp1_flag = true;
|
|
3124
3124
|
var tmp2_index = 0;
|
|
3125
3125
|
var tmp3_bitMask0 = 0;
|
|
@@ -3147,7 +3147,7 @@
|
|
|
3147
3147
|
return TableStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
3148
3148
|
};
|
|
3149
3149
|
protoOf($serializer).bo = function () {
|
|
3150
|
-
return this.
|
|
3150
|
+
return this.g9v_1;
|
|
3151
3151
|
};
|
|
3152
3152
|
protoOf($serializer).vz = function () {
|
|
3153
3153
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3163,7 +3163,7 @@
|
|
|
3163
3163
|
}
|
|
3164
3164
|
function TableStateUpdateDto_init_$Init$(seen0, table, serializationConstructorMarker, $this) {
|
|
3165
3165
|
if (!(1 === (1 & seen0))) {
|
|
3166
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance().
|
|
3166
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance().g9v_1);
|
|
3167
3167
|
}
|
|
3168
3168
|
$this.table = table;
|
|
3169
3169
|
return $this;
|
|
@@ -3215,19 +3215,19 @@
|
|
|
3215
3215
|
$serializer_instance_0 = this;
|
|
3216
3216
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.ActionsStateUpdateDto', this, 1);
|
|
3217
3217
|
tmp0_serialDesc.gz('actions', false);
|
|
3218
|
-
this.
|
|
3218
|
+
this.i9v_1 = tmp0_serialDesc;
|
|
3219
3219
|
}
|
|
3220
|
-
protoOf($serializer_0).
|
|
3221
|
-
var tmp0_desc = this.
|
|
3220
|
+
protoOf($serializer_0).j9v = function (encoder, value) {
|
|
3221
|
+
var tmp0_desc = this.i9v_1;
|
|
3222
3222
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3223
3223
|
tmp1_output.dt(tmp0_desc, 0, value.actions);
|
|
3224
3224
|
tmp1_output.pr(tmp0_desc);
|
|
3225
3225
|
};
|
|
3226
3226
|
protoOf($serializer_0).co = function (encoder, value) {
|
|
3227
|
-
return this.
|
|
3227
|
+
return this.j9v(encoder, value instanceof ActionsStateUpdateDto ? value : THROW_CCE());
|
|
3228
3228
|
};
|
|
3229
3229
|
protoOf($serializer_0).do = function (decoder) {
|
|
3230
|
-
var tmp0_desc = this.
|
|
3230
|
+
var tmp0_desc = this.i9v_1;
|
|
3231
3231
|
var tmp1_flag = true;
|
|
3232
3232
|
var tmp2_index = 0;
|
|
3233
3233
|
var tmp3_bitMask0 = 0;
|
|
@@ -3255,7 +3255,7 @@
|
|
|
3255
3255
|
return ActionsStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
3256
3256
|
};
|
|
3257
3257
|
protoOf($serializer_0).bo = function () {
|
|
3258
|
-
return this.
|
|
3258
|
+
return this.i9v_1;
|
|
3259
3259
|
};
|
|
3260
3260
|
protoOf($serializer_0).vz = function () {
|
|
3261
3261
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3271,7 +3271,7 @@
|
|
|
3271
3271
|
}
|
|
3272
3272
|
function ActionsStateUpdateDto_init_$Init$(seen0, actions, serializationConstructorMarker, $this) {
|
|
3273
3273
|
if (!(1 === (1 & seen0))) {
|
|
3274
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_0().
|
|
3274
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_0().i9v_1);
|
|
3275
3275
|
}
|
|
3276
3276
|
$this.actions = actions;
|
|
3277
3277
|
return $this;
|
|
@@ -3282,7 +3282,7 @@
|
|
|
3282
3282
|
function ActionsStateUpdateDto(actions) {
|
|
3283
3283
|
this.actions = actions;
|
|
3284
3284
|
}
|
|
3285
|
-
protoOf(ActionsStateUpdateDto).
|
|
3285
|
+
protoOf(ActionsStateUpdateDto).s8b = function () {
|
|
3286
3286
|
return this.actions;
|
|
3287
3287
|
};
|
|
3288
3288
|
protoOf(ActionsStateUpdateDto).ne = function () {
|
|
@@ -3334,10 +3334,10 @@
|
|
|
3334
3334
|
var tmp$ret$0 = mapToDto(item);
|
|
3335
3335
|
destination.j(tmp$ret$0);
|
|
3336
3336
|
}
|
|
3337
|
-
return new ActionsStateUpdateDto(encoderDecoderProvider.
|
|
3337
|
+
return new ActionsStateUpdateDto(encoderDecoderProvider.l8i(destination));
|
|
3338
3338
|
}
|
|
3339
3339
|
function mapToDto_3(_this__u8e3s4, encoderDecoderProvider) {
|
|
3340
|
-
return new TableStateUpdateDto(encoderDecoderProvider.
|
|
3340
|
+
return new TableStateUpdateDto(encoderDecoderProvider.j8i(mapToDto_0(_this__u8e3s4.table)));
|
|
3341
3341
|
}
|
|
3342
3342
|
function ServerStateUpdate() {
|
|
3343
3343
|
}
|
|
@@ -3350,12 +3350,12 @@
|
|
|
3350
3350
|
protoOf(TableStateUpdate).ne = function () {
|
|
3351
3351
|
return this.table;
|
|
3352
3352
|
};
|
|
3353
|
-
protoOf(TableStateUpdate).
|
|
3353
|
+
protoOf(TableStateUpdate).k9v = function (table) {
|
|
3354
3354
|
return new TableStateUpdate(table);
|
|
3355
3355
|
};
|
|
3356
3356
|
protoOf(TableStateUpdate).copy = function (table, $super) {
|
|
3357
3357
|
table = table === VOID ? this.table : table;
|
|
3358
|
-
return $super === VOID ? this.
|
|
3358
|
+
return $super === VOID ? this.k9v(table) : $super.k9v.call(this, table);
|
|
3359
3359
|
};
|
|
3360
3360
|
protoOf(TableStateUpdate).toString = function () {
|
|
3361
3361
|
return 'TableStateUpdate(table=' + this.table.toString() + ')';
|
|
@@ -3375,18 +3375,18 @@
|
|
|
3375
3375
|
function ActionsStateUpdate(actions) {
|
|
3376
3376
|
this.actions = actions;
|
|
3377
3377
|
}
|
|
3378
|
-
protoOf(ActionsStateUpdate).
|
|
3378
|
+
protoOf(ActionsStateUpdate).s8b = function () {
|
|
3379
3379
|
return this.actions;
|
|
3380
3380
|
};
|
|
3381
3381
|
protoOf(ActionsStateUpdate).ne = function () {
|
|
3382
3382
|
return this.actions;
|
|
3383
3383
|
};
|
|
3384
|
-
protoOf(ActionsStateUpdate).
|
|
3384
|
+
protoOf(ActionsStateUpdate).l9v = function (actions) {
|
|
3385
3385
|
return new ActionsStateUpdate(actions);
|
|
3386
3386
|
};
|
|
3387
3387
|
protoOf(ActionsStateUpdate).copy = function (actions, $super) {
|
|
3388
3388
|
actions = actions === VOID ? this.actions : actions;
|
|
3389
|
-
return $super === VOID ? this.
|
|
3389
|
+
return $super === VOID ? this.l9v(actions) : $super.l9v.call(this, actions);
|
|
3390
3390
|
};
|
|
3391
3391
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
3392
3392
|
return 'ActionsStateUpdate(actions=' + toString(this.actions) + ')';
|
|
@@ -3631,18 +3631,18 @@
|
|
|
3631
3631
|
function ToClientEventsObserver() {
|
|
3632
3632
|
}
|
|
3633
3633
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
3634
|
-
this.
|
|
3635
|
-
this.
|
|
3634
|
+
this.v9v_1 = this$0;
|
|
3635
|
+
this.w9v_1 = $actions;
|
|
3636
3636
|
CoroutineImpl.call(this, resultContinuation);
|
|
3637
3637
|
}
|
|
3638
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3639
|
-
var tmp = this.
|
|
3638
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).z9v = function ($this$flow, $completion) {
|
|
3639
|
+
var tmp = this.a9w($this$flow, $completion);
|
|
3640
3640
|
tmp.t8_1 = Unit_instance;
|
|
3641
3641
|
tmp.u8_1 = null;
|
|
3642
3642
|
return tmp.z8();
|
|
3643
3643
|
};
|
|
3644
3644
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).h9 = function (p1, $completion) {
|
|
3645
|
-
return this.
|
|
3645
|
+
return this.z9v((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
3646
3646
|
};
|
|
3647
3647
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).z8 = function () {
|
|
3648
3648
|
var suspendResult = this.t8_1;
|
|
@@ -3652,19 +3652,19 @@
|
|
|
3652
3652
|
switch (tmp) {
|
|
3653
3653
|
case 0:
|
|
3654
3654
|
this.s8_1 = 4;
|
|
3655
|
-
this.
|
|
3656
|
-
this.
|
|
3655
|
+
this.v9v_1.f9w_1;
|
|
3656
|
+
this.y9v_1 = transformToEmits(this.v9v_1, this.w9v_1).l();
|
|
3657
3657
|
this.r8_1 = 1;
|
|
3658
3658
|
continue $sm;
|
|
3659
3659
|
case 1:
|
|
3660
|
-
if (!this.
|
|
3660
|
+
if (!this.y9v_1.m()) {
|
|
3661
3661
|
this.r8_1 = 3;
|
|
3662
3662
|
continue $sm;
|
|
3663
3663
|
}
|
|
3664
3664
|
|
|
3665
|
-
var element = this.
|
|
3665
|
+
var element = this.y9v_1.n();
|
|
3666
3666
|
this.r8_1 = 2;
|
|
3667
|
-
suspendResult = this.
|
|
3667
|
+
suspendResult = this.x9v_1.l28(element, this);
|
|
3668
3668
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3669
3669
|
return suspendResult;
|
|
3670
3670
|
}
|
|
@@ -3674,11 +3674,11 @@
|
|
|
3674
3674
|
this.r8_1 = 1;
|
|
3675
3675
|
continue $sm;
|
|
3676
3676
|
case 3:
|
|
3677
|
-
var tmp0 = this.
|
|
3677
|
+
var tmp0 = this.v9v_1.e9w_1;
|
|
3678
3678
|
l$ret$1: do {
|
|
3679
3679
|
while (true) {
|
|
3680
3680
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
3681
|
-
var upd = cur - this.
|
|
3681
|
+
var upd = cur - this.w9v_1.o() | 0;
|
|
3682
3682
|
if (tmp0.atomicfu$compareAndSet(cur, upd)) {
|
|
3683
3683
|
break l$ret$1;
|
|
3684
3684
|
}
|
|
@@ -3700,15 +3700,15 @@
|
|
|
3700
3700
|
}
|
|
3701
3701
|
while (true);
|
|
3702
3702
|
};
|
|
3703
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3704
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
3705
|
-
i.
|
|
3703
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).a9w = function ($this$flow, completion) {
|
|
3704
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.v9v_1, this.w9v_1, completion);
|
|
3705
|
+
i.x9v_1 = $this$flow;
|
|
3706
3706
|
return i;
|
|
3707
3707
|
};
|
|
3708
3708
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
3709
3709
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
3710
3710
|
var l = function ($this$flow, $completion) {
|
|
3711
|
-
return i.
|
|
3711
|
+
return i.z9v($this$flow, $completion);
|
|
3712
3712
|
};
|
|
3713
3713
|
l.$arity = 1;
|
|
3714
3714
|
return l;
|
|
@@ -3778,29 +3778,29 @@
|
|
|
3778
3778
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
3779
3779
|
}
|
|
3780
3780
|
function mapFromGroupKey($this, _this__u8e3s4) {
|
|
3781
|
-
var tmp = $this.
|
|
3781
|
+
var tmp = $this.d9w_1.z6d();
|
|
3782
3782
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3783
|
-
var this_0 = _this__u8e3s4.
|
|
3783
|
+
var this_0 = _this__u8e3s4.i9w_1;
|
|
3784
3784
|
var tmp_0 = copyToArray(this_0);
|
|
3785
3785
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3786
|
-
var this_1 = _this__u8e3s4.
|
|
3786
|
+
var this_1 = _this__u8e3s4.j9w_1;
|
|
3787
3787
|
var tmp$ret$1 = copyToArray(this_1);
|
|
3788
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
3788
|
+
return new ActionDeliveryPayload(_this__u8e3s4.h9w_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.k9w_1);
|
|
3789
3789
|
}
|
|
3790
3790
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
3791
|
-
this.
|
|
3792
|
-
this.
|
|
3793
|
-
this.
|
|
3794
|
-
this.
|
|
3791
|
+
this.h9w_1 = tableId;
|
|
3792
|
+
this.i9w_1 = includePlayers;
|
|
3793
|
+
this.j9w_1 = excludePlayers;
|
|
3794
|
+
this.k9w_1 = deliveryType;
|
|
3795
3795
|
}
|
|
3796
3796
|
protoOf(GroupKey).toString = function () {
|
|
3797
|
-
return 'GroupKey(tableId=' + this.
|
|
3797
|
+
return 'GroupKey(tableId=' + this.h9w_1 + ', includePlayers=' + toString(this.i9w_1) + ', excludePlayers=' + toString(this.j9w_1) + ', deliveryType=' + this.k9w_1.toString() + ')';
|
|
3798
3798
|
};
|
|
3799
3799
|
protoOf(GroupKey).hashCode = function () {
|
|
3800
|
-
var result = getStringHashCode(this.
|
|
3801
|
-
result = imul(result, 31) + hashCode(this.h9w_1) | 0;
|
|
3800
|
+
var result = getStringHashCode(this.h9w_1);
|
|
3802
3801
|
result = imul(result, 31) + hashCode(this.i9w_1) | 0;
|
|
3803
|
-
result = imul(result, 31) + this.j9w_1
|
|
3802
|
+
result = imul(result, 31) + hashCode(this.j9w_1) | 0;
|
|
3803
|
+
result = imul(result, 31) + this.k9w_1.hashCode() | 0;
|
|
3804
3804
|
return result;
|
|
3805
3805
|
};
|
|
3806
3806
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -3808,35 +3808,35 @@
|
|
|
3808
3808
|
return true;
|
|
3809
3809
|
if (!(other instanceof GroupKey))
|
|
3810
3810
|
return false;
|
|
3811
|
-
if (!(this.
|
|
3812
|
-
return false;
|
|
3813
|
-
if (!equals(this.h9w_1, other.h9w_1))
|
|
3811
|
+
if (!(this.h9w_1 === other.h9w_1))
|
|
3814
3812
|
return false;
|
|
3815
3813
|
if (!equals(this.i9w_1, other.i9w_1))
|
|
3816
3814
|
return false;
|
|
3817
|
-
if (!this.j9w_1
|
|
3815
|
+
if (!equals(this.j9w_1, other.j9w_1))
|
|
3816
|
+
return false;
|
|
3817
|
+
if (!this.k9w_1.equals(other.k9w_1))
|
|
3818
3818
|
return false;
|
|
3819
3819
|
return true;
|
|
3820
3820
|
};
|
|
3821
3821
|
function Companion_4() {
|
|
3822
|
-
this.
|
|
3822
|
+
this.l9w_1 = 6;
|
|
3823
3823
|
}
|
|
3824
3824
|
var Companion_instance_12;
|
|
3825
3825
|
function Companion_getInstance_5() {
|
|
3826
3826
|
return Companion_instance_12;
|
|
3827
3827
|
}
|
|
3828
3828
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
3829
|
-
this.
|
|
3829
|
+
this.u9w_1 = this$0;
|
|
3830
3830
|
CoroutineImpl.call(this, resultContinuation);
|
|
3831
3831
|
}
|
|
3832
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3833
|
-
var tmp = this.
|
|
3832
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).w9w = function (actions, $completion) {
|
|
3833
|
+
var tmp = this.x9w(actions, $completion);
|
|
3834
3834
|
tmp.t8_1 = Unit_instance;
|
|
3835
3835
|
tmp.u8_1 = null;
|
|
3836
3836
|
return tmp.z8();
|
|
3837
3837
|
};
|
|
3838
3838
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).h9 = function (p1, $completion) {
|
|
3839
|
-
return this.
|
|
3839
|
+
return this.w9w((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
3840
3840
|
};
|
|
3841
3841
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).z8 = function () {
|
|
3842
3842
|
var suspendResult = this.t8_1;
|
|
@@ -3845,7 +3845,7 @@
|
|
|
3845
3845
|
var tmp = this.r8_1;
|
|
3846
3846
|
if (tmp === 0) {
|
|
3847
3847
|
this.s8_1 = 1;
|
|
3848
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
3848
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.u9w_1, this.v9w_1, null));
|
|
3849
3849
|
} else if (tmp === 1) {
|
|
3850
3850
|
throw this.u8_1;
|
|
3851
3851
|
}
|
|
@@ -3855,23 +3855,23 @@
|
|
|
3855
3855
|
}
|
|
3856
3856
|
while (true);
|
|
3857
3857
|
};
|
|
3858
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3859
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
3860
|
-
i.
|
|
3858
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).x9w = function (actions, completion) {
|
|
3859
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.u9w_1, completion);
|
|
3860
|
+
i.v9w_1 = actions;
|
|
3861
3861
|
return i;
|
|
3862
3862
|
};
|
|
3863
3863
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
3864
3864
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
3865
3865
|
var l = function (actions, $completion) {
|
|
3866
|
-
return i.
|
|
3866
|
+
return i.w9w(actions, $completion);
|
|
3867
3867
|
};
|
|
3868
3868
|
l.$arity = 1;
|
|
3869
3869
|
return l;
|
|
3870
3870
|
}
|
|
3871
3871
|
function $sentEventCOROUTINE$(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
3872
3872
|
CoroutineImpl.call(this, resultContinuation);
|
|
3873
|
-
this.
|
|
3874
|
-
this.
|
|
3873
|
+
this.g9x_1 = _this__u8e3s4;
|
|
3874
|
+
this.h9x_1 = fromEvent;
|
|
3875
3875
|
}
|
|
3876
3876
|
protoOf($sentEventCOROUTINE$).z8 = function () {
|
|
3877
3877
|
var suspendResult = this.t8_1;
|
|
@@ -3881,8 +3881,8 @@
|
|
|
3881
3881
|
switch (tmp) {
|
|
3882
3882
|
case 0:
|
|
3883
3883
|
this.s8_1 = 2;
|
|
3884
|
-
this.
|
|
3885
|
-
var tmp0 = this.
|
|
3884
|
+
this.g9x_1.f9w_1;
|
|
3885
|
+
var tmp0 = this.g9x_1.e9w_1;
|
|
3886
3886
|
l$ret$1: do {
|
|
3887
3887
|
while (true) {
|
|
3888
3888
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
@@ -3894,7 +3894,7 @@
|
|
|
3894
3894
|
}
|
|
3895
3895
|
while (false);
|
|
3896
3896
|
this.r8_1 = 1;
|
|
3897
|
-
suspendResult = this.
|
|
3897
|
+
suspendResult = this.g9x_1.g9w_1.l28(this.h9x_1, this);
|
|
3898
3898
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3899
3899
|
return suspendResult;
|
|
3900
3900
|
}
|
|
@@ -3918,7 +3918,7 @@
|
|
|
3918
3918
|
};
|
|
3919
3919
|
function $waitForCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
3920
3920
|
CoroutineImpl.call(this, resultContinuation);
|
|
3921
|
-
this.
|
|
3921
|
+
this.q9x_1 = _this__u8e3s4;
|
|
3922
3922
|
}
|
|
3923
3923
|
protoOf($waitForCOROUTINE$).z8 = function () {
|
|
3924
3924
|
var suspendResult = this.t8_1;
|
|
@@ -3928,12 +3928,12 @@
|
|
|
3928
3928
|
switch (tmp) {
|
|
3929
3929
|
case 0:
|
|
3930
3930
|
this.s8_1 = 5;
|
|
3931
|
-
this.
|
|
3932
|
-
this.
|
|
3931
|
+
this.q9x_1.f9w_1;
|
|
3932
|
+
this.r9x_1 = 0;
|
|
3933
3933
|
this.r8_1 = 1;
|
|
3934
3934
|
continue $sm;
|
|
3935
3935
|
case 1:
|
|
3936
|
-
if (!!(this.
|
|
3936
|
+
if (!!(this.q9x_1.e9w_1.kotlinx$atomicfu$value === 0)) {
|
|
3937
3937
|
this.r8_1 = 4;
|
|
3938
3938
|
continue $sm;
|
|
3939
3939
|
}
|
|
@@ -3946,9 +3946,9 @@
|
|
|
3946
3946
|
|
|
3947
3947
|
continue $sm;
|
|
3948
3948
|
case 2:
|
|
3949
|
-
this.
|
|
3950
|
-
if (this.
|
|
3951
|
-
this.
|
|
3949
|
+
this.r9x_1 = this.r9x_1 + 1 | 0;
|
|
3950
|
+
if (this.r9x_1 > 6) {
|
|
3951
|
+
this.q9x_1.c9w_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.q9x_1.e9w_1.kotlinx$atomicfu$value);
|
|
3952
3952
|
this.r8_1 = 4;
|
|
3953
3953
|
continue $sm;
|
|
3954
3954
|
} else {
|
|
@@ -3976,183 +3976,183 @@
|
|
|
3976
3976
|
while (true);
|
|
3977
3977
|
};
|
|
3978
3978
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
3979
|
-
this.
|
|
3980
|
-
this.
|
|
3981
|
-
this.
|
|
3982
|
-
this.
|
|
3979
|
+
this.b9w_1 = serverReduxConfig;
|
|
3980
|
+
this.c9w_1 = logger;
|
|
3981
|
+
this.d9w_1 = idsProvider;
|
|
3982
|
+
this.e9w_1 = atomic$ref$1(0);
|
|
3983
3983
|
var tmp = this;
|
|
3984
3984
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
3985
|
-
tmp.
|
|
3986
|
-
this.
|
|
3985
|
+
tmp.f9w_1 = get_atomicfu$reentrantLock();
|
|
3986
|
+
this.g9w_1 = MutableSharedFlow();
|
|
3987
3987
|
}
|
|
3988
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3988
|
+
protoOf(ToClientEventsObserverImpl).m9v = function (fromEvent, $completion) {
|
|
3989
3989
|
var tmp = new $sentEventCOROUTINE$(this, fromEvent, $completion);
|
|
3990
3990
|
tmp.t8_1 = Unit_instance;
|
|
3991
3991
|
tmp.u8_1 = null;
|
|
3992
3992
|
return tmp.z8();
|
|
3993
3993
|
};
|
|
3994
|
-
protoOf(ToClientEventsObserverImpl).
|
|
3994
|
+
protoOf(ToClientEventsObserverImpl).r96 = function ($completion) {
|
|
3995
3995
|
var tmp = new $waitForCOROUTINE$(this, $completion);
|
|
3996
3996
|
tmp.t8_1 = Unit_instance;
|
|
3997
3997
|
tmp.u8_1 = null;
|
|
3998
3998
|
return tmp.z8();
|
|
3999
3999
|
};
|
|
4000
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4001
|
-
if (!this.
|
|
4002
|
-
return this.
|
|
4000
|
+
protoOf(ToClientEventsObserverImpl).f9m = function () {
|
|
4001
|
+
if (!this.b9w_1.enabledCombinedEvents) {
|
|
4002
|
+
return this.g9w_1;
|
|
4003
4003
|
}
|
|
4004
|
-
var tmp = windowedByInterval(this.
|
|
4004
|
+
var tmp = windowedByInterval(this.g9w_1, fromInt(this.b9w_1.combinedEventsIntervalMillis));
|
|
4005
4005
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
4006
4006
|
};
|
|
4007
4007
|
function UpdateServerConfigAction(serverConfig) {
|
|
4008
|
-
this.
|
|
4008
|
+
this.s9x_1 = serverConfig;
|
|
4009
4009
|
}
|
|
4010
4010
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
4011
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
4011
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.s9x_1.toString() + ')';
|
|
4012
4012
|
};
|
|
4013
4013
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
4014
|
-
return this.
|
|
4014
|
+
return this.s9x_1.hashCode();
|
|
4015
4015
|
};
|
|
4016
4016
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
4017
4017
|
if (this === other)
|
|
4018
4018
|
return true;
|
|
4019
4019
|
if (!(other instanceof UpdateServerConfigAction))
|
|
4020
4020
|
return false;
|
|
4021
|
-
if (!this.
|
|
4021
|
+
if (!this.s9x_1.equals(other.s9x_1))
|
|
4022
4022
|
return false;
|
|
4023
4023
|
return true;
|
|
4024
4024
|
};
|
|
4025
4025
|
function SpectatorsAction() {
|
|
4026
4026
|
}
|
|
4027
4027
|
function AddSpectatorsAction(spectators) {
|
|
4028
|
-
this.
|
|
4028
|
+
this.t9x_1 = spectators;
|
|
4029
4029
|
}
|
|
4030
4030
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
4031
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
4031
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.t9x_1) + ')';
|
|
4032
4032
|
};
|
|
4033
4033
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
4034
|
-
return hashCode(this.
|
|
4034
|
+
return hashCode(this.t9x_1);
|
|
4035
4035
|
};
|
|
4036
4036
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
4037
4037
|
if (this === other)
|
|
4038
4038
|
return true;
|
|
4039
4039
|
if (!(other instanceof AddSpectatorsAction))
|
|
4040
4040
|
return false;
|
|
4041
|
-
if (!equals(this.
|
|
4041
|
+
if (!equals(this.t9x_1, other.t9x_1))
|
|
4042
4042
|
return false;
|
|
4043
4043
|
return true;
|
|
4044
4044
|
};
|
|
4045
4045
|
function RemoveSpectatorsAction(spectators) {
|
|
4046
|
-
this.
|
|
4046
|
+
this.u9x_1 = spectators;
|
|
4047
4047
|
}
|
|
4048
4048
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
4049
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
4049
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.u9x_1) + ')';
|
|
4050
4050
|
};
|
|
4051
4051
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
4052
|
-
return hashCode(this.
|
|
4052
|
+
return hashCode(this.u9x_1);
|
|
4053
4053
|
};
|
|
4054
4054
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
4055
4055
|
if (this === other)
|
|
4056
4056
|
return true;
|
|
4057
4057
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
4058
4058
|
return false;
|
|
4059
|
-
if (!equals(this.
|
|
4059
|
+
if (!equals(this.u9x_1, other.u9x_1))
|
|
4060
4060
|
return false;
|
|
4061
4061
|
return true;
|
|
4062
4062
|
};
|
|
4063
4063
|
function _get_asyncProvider__jbpyhw($this) {
|
|
4064
|
-
var tmp0 = $this.
|
|
4064
|
+
var tmp0 = $this.a9y_1;
|
|
4065
4065
|
var tmp = KProperty1;
|
|
4066
4066
|
// Inline function 'kotlin.getValue' call
|
|
4067
4067
|
getPropertyCallableRef('asyncProvider', 1, tmp, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3_0(), null);
|
|
4068
4068
|
return tmp0.w();
|
|
4069
4069
|
}
|
|
4070
4070
|
function _get_logger__rkp4sl_0($this) {
|
|
4071
|
-
var tmp0 = $this.
|
|
4071
|
+
var tmp0 = $this.b9y_1;
|
|
4072
4072
|
var tmp = KProperty1;
|
|
4073
4073
|
// Inline function 'kotlin.getValue' call
|
|
4074
4074
|
getPropertyCallableRef('logger', 1, tmp, ServerGameStoreContract$_get_logger_$ref_zbgw28_0(), null);
|
|
4075
4075
|
return tmp0.w();
|
|
4076
4076
|
}
|
|
4077
4077
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
4078
|
-
var tmp0 = $this.
|
|
4078
|
+
var tmp0 = $this.c9y_1;
|
|
4079
4079
|
var tmp = KProperty1;
|
|
4080
4080
|
// Inline function 'kotlin.getValue' call
|
|
4081
4081
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8_0(), null);
|
|
4082
4082
|
return tmp0.w();
|
|
4083
4083
|
}
|
|
4084
4084
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
4085
|
-
var tmp0 = $this.
|
|
4085
|
+
var tmp0 = $this.d9y_1;
|
|
4086
4086
|
var tmp = KProperty1;
|
|
4087
4087
|
// Inline function 'kotlin.getValue' call
|
|
4088
4088
|
getPropertyCallableRef('lastCardInteractor', 1, tmp, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh_0(), null);
|
|
4089
4089
|
return tmp0.w();
|
|
4090
4090
|
}
|
|
4091
4091
|
function _get_serverConfig__rk2g06($this) {
|
|
4092
|
-
var tmp0 = $this.
|
|
4092
|
+
var tmp0 = $this.e9y_1;
|
|
4093
4093
|
var tmp = KProperty1;
|
|
4094
4094
|
// Inline function 'kotlin.getValue' call
|
|
4095
4095
|
getPropertyCallableRef('serverConfig', 1, tmp, ServerGameStoreContract$_get_serverConfig_$ref_bz2891_0(), null);
|
|
4096
4096
|
return tmp0.w();
|
|
4097
4097
|
}
|
|
4098
4098
|
function _get_logicConfig__52ww9d($this) {
|
|
4099
|
-
var tmp0 = $this.
|
|
4099
|
+
var tmp0 = $this.f9y_1;
|
|
4100
4100
|
var tmp = KProperty1;
|
|
4101
4101
|
// Inline function 'kotlin.getValue' call
|
|
4102
4102
|
getPropertyCallableRef('logicConfig', 1, tmp, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi_0(), null);
|
|
4103
4103
|
return tmp0.w();
|
|
4104
4104
|
}
|
|
4105
4105
|
function _get_idsProvider__fnfajc_0($this) {
|
|
4106
|
-
var tmp0 = $this.
|
|
4106
|
+
var tmp0 = $this.g9y_1;
|
|
4107
4107
|
var tmp = KProperty1;
|
|
4108
4108
|
// Inline function 'kotlin.getValue' call
|
|
4109
4109
|
getPropertyCallableRef('idsProvider', 1, tmp, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1_0(), null);
|
|
4110
4110
|
return tmp0.w();
|
|
4111
4111
|
}
|
|
4112
4112
|
function _get_botConfig__cpaxzc($this) {
|
|
4113
|
-
var tmp0 = $this.
|
|
4113
|
+
var tmp0 = $this.h9y_1;
|
|
4114
4114
|
var tmp = KProperty1;
|
|
4115
4115
|
// Inline function 'kotlin.getValue' call
|
|
4116
4116
|
getPropertyCallableRef('botConfig', 1, tmp, ServerGameStoreContract$_get_botConfig_$ref_nebw1d_0(), null);
|
|
4117
4117
|
return tmp0.w();
|
|
4118
4118
|
}
|
|
4119
4119
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
4120
|
-
var tmp0 = $this.
|
|
4120
|
+
var tmp0 = $this.i9y_1;
|
|
4121
4121
|
var tmp = KProperty1;
|
|
4122
4122
|
// Inline function 'kotlin.getValue' call
|
|
4123
4123
|
getPropertyCallableRef('scenePositionProvider', 1, tmp, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4_0(), null);
|
|
4124
4124
|
return tmp0.w();
|
|
4125
4125
|
}
|
|
4126
4126
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
4127
|
-
var tmp0 = $this.
|
|
4127
|
+
var tmp0 = $this.j9y_1;
|
|
4128
4128
|
var tmp = KProperty1;
|
|
4129
4129
|
// Inline function 'kotlin.getValue' call
|
|
4130
4130
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p_0(), null);
|
|
4131
4131
|
return tmp0.w();
|
|
4132
4132
|
}
|
|
4133
4133
|
function _get_fromClientEventsObserver__a7vzd3_0($this) {
|
|
4134
|
-
var tmp0 = $this.
|
|
4134
|
+
var tmp0 = $this.k9y_1;
|
|
4135
4135
|
var tmp = KProperty1;
|
|
4136
4136
|
// Inline function 'kotlin.getValue' call
|
|
4137
4137
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg_0(), null);
|
|
4138
4138
|
return tmp0.w();
|
|
4139
4139
|
}
|
|
4140
4140
|
function _get_dealerConfig__183ci8($this) {
|
|
4141
|
-
var tmp0 = $this.
|
|
4141
|
+
var tmp0 = $this.l9y_1;
|
|
4142
4142
|
var tmp = KProperty1;
|
|
4143
4143
|
// Inline function 'kotlin.getValue' call
|
|
4144
4144
|
getPropertyCallableRef('dealerConfig', 1, tmp, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp_0(), null);
|
|
4145
4145
|
return tmp0.w();
|
|
4146
4146
|
}
|
|
4147
4147
|
function _get_poolProvider__tqti6a($this) {
|
|
4148
|
-
var tmp0 = $this.
|
|
4148
|
+
var tmp0 = $this.m9y_1;
|
|
4149
4149
|
var tmp = KProperty1;
|
|
4150
4150
|
// Inline function 'kotlin.getValue' call
|
|
4151
4151
|
getPropertyCallableRef('poolProvider', 1, tmp, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3_0(), null);
|
|
4152
4152
|
return tmp0.w();
|
|
4153
4153
|
}
|
|
4154
4154
|
function _get_cardsDealerProvider__bekjpg($this) {
|
|
4155
|
-
var tmp0 = $this.
|
|
4155
|
+
var tmp0 = $this.n9y_1;
|
|
4156
4156
|
var tmp = KProperty1;
|
|
4157
4157
|
// Inline function 'kotlin.getValue' call
|
|
4158
4158
|
getPropertyCallableRef('cardsDealerProvider', 1, tmp, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj_0(), null);
|
|
@@ -4316,11 +4316,11 @@
|
|
|
4316
4316
|
tmp = fileLoggerStoreContract;
|
|
4317
4317
|
}
|
|
4318
4318
|
fileLoggerStoreContract = tmp;
|
|
4319
|
-
this.
|
|
4320
|
-
this.
|
|
4321
|
-
this.
|
|
4322
|
-
this.
|
|
4323
|
-
this.
|
|
4319
|
+
this.v9x_1 = validationStoreContract;
|
|
4320
|
+
this.w9x_1 = timersStoreContract;
|
|
4321
|
+
this.x9x_1 = botGameStoreContract;
|
|
4322
|
+
this.y9x_1 = gameMechanicStoreContract;
|
|
4323
|
+
this.z9x_1 = fileLoggerStoreContract;
|
|
4324
4324
|
var tmp_0 = this;
|
|
4325
4325
|
// Inline function 'org.kodein.di.instance' call
|
|
4326
4326
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4328,7 +4328,7 @@
|
|
|
4328
4328
|
var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
|
|
4329
4329
|
var tmp_2 = Instance(di, tmp$ret$0, null);
|
|
4330
4330
|
var tmp_3 = KProperty1;
|
|
4331
|
-
tmp_0.
|
|
4331
|
+
tmp_0.a9y_1 = tmp_2.u64(this, getPropertyCallableRef('asyncProvider', 1, tmp_3, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3(), null));
|
|
4332
4332
|
var tmp_4 = this;
|
|
4333
4333
|
// Inline function 'org.kodein.di.instance' call
|
|
4334
4334
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4336,7 +4336,7 @@
|
|
|
4336
4336
|
var tmp$ret$2 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
4337
4337
|
var tmp_6 = Instance(di, tmp$ret$2, null);
|
|
4338
4338
|
var tmp_7 = KProperty1;
|
|
4339
|
-
tmp_4.
|
|
4339
|
+
tmp_4.b9y_1 = tmp_6.u64(this, getPropertyCallableRef('logger', 1, tmp_7, ServerGameStoreContract$_get_logger_$ref_zbgw28(), null));
|
|
4340
4340
|
var tmp_8 = this;
|
|
4341
4341
|
// Inline function 'org.kodein.di.instance' call
|
|
4342
4342
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4344,7 +4344,7 @@
|
|
|
4344
4344
|
var tmp$ret$4 = isInterface(tmp_9, TypeToken) ? tmp_9 : THROW_CCE();
|
|
4345
4345
|
var tmp_10 = Instance(di, tmp$ret$4, null);
|
|
4346
4346
|
var tmp_11 = KProperty1;
|
|
4347
|
-
tmp_8.
|
|
4347
|
+
tmp_8.c9y_1 = tmp_10.u64(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_11, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8(), null));
|
|
4348
4348
|
var tmp_12 = this;
|
|
4349
4349
|
// Inline function 'org.kodein.di.instance' call
|
|
4350
4350
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4352,7 +4352,7 @@
|
|
|
4352
4352
|
var tmp$ret$6 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
4353
4353
|
var tmp_14 = Instance(di, tmp$ret$6, null);
|
|
4354
4354
|
var tmp_15 = KProperty1;
|
|
4355
|
-
tmp_12.
|
|
4355
|
+
tmp_12.d9y_1 = tmp_14.u64(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_15, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh(), null));
|
|
4356
4356
|
var tmp_16 = this;
|
|
4357
4357
|
// Inline function 'org.kodein.di.instance' call
|
|
4358
4358
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4360,7 +4360,7 @@
|
|
|
4360
4360
|
var tmp$ret$8 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
4361
4361
|
var tmp_18 = Instance(di, tmp$ret$8, null);
|
|
4362
4362
|
var tmp_19 = KProperty1;
|
|
4363
|
-
tmp_16.
|
|
4363
|
+
tmp_16.e9y_1 = tmp_18.u64(this, getPropertyCallableRef('serverConfig', 1, tmp_19, ServerGameStoreContract$_get_serverConfig_$ref_bz2891(), null));
|
|
4364
4364
|
var tmp_20 = this;
|
|
4365
4365
|
// Inline function 'org.kodein.di.instance' call
|
|
4366
4366
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4368,7 +4368,7 @@
|
|
|
4368
4368
|
var tmp$ret$10 = isInterface(tmp_21, TypeToken) ? tmp_21 : THROW_CCE();
|
|
4369
4369
|
var tmp_22 = Instance(di, tmp$ret$10, null);
|
|
4370
4370
|
var tmp_23 = KProperty1;
|
|
4371
|
-
tmp_20.
|
|
4371
|
+
tmp_20.f9y_1 = tmp_22.u64(this, getPropertyCallableRef('logicConfig', 1, tmp_23, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi(), null));
|
|
4372
4372
|
var tmp_24 = this;
|
|
4373
4373
|
// Inline function 'org.kodein.di.instance' call
|
|
4374
4374
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4376,7 +4376,7 @@
|
|
|
4376
4376
|
var tmp$ret$12 = isInterface(tmp_25, TypeToken) ? tmp_25 : THROW_CCE();
|
|
4377
4377
|
var tmp_26 = Instance(di, tmp$ret$12, null);
|
|
4378
4378
|
var tmp_27 = KProperty1;
|
|
4379
|
-
tmp_24.
|
|
4379
|
+
tmp_24.g9y_1 = tmp_26.u64(this, getPropertyCallableRef('idsProvider', 1, tmp_27, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1(), null));
|
|
4380
4380
|
var tmp_28 = this;
|
|
4381
4381
|
// Inline function 'org.kodein.di.instance' call
|
|
4382
4382
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4384,7 +4384,7 @@
|
|
|
4384
4384
|
var tmp$ret$14 = isInterface(tmp_29, TypeToken) ? tmp_29 : THROW_CCE();
|
|
4385
4385
|
var tmp_30 = Instance(di, tmp$ret$14, null);
|
|
4386
4386
|
var tmp_31 = KProperty1;
|
|
4387
|
-
tmp_28.
|
|
4387
|
+
tmp_28.h9y_1 = tmp_30.u64(this, getPropertyCallableRef('botConfig', 1, tmp_31, ServerGameStoreContract$_get_botConfig_$ref_nebw1d(), null));
|
|
4388
4388
|
var tmp_32 = this;
|
|
4389
4389
|
// Inline function 'org.kodein.di.instance' call
|
|
4390
4390
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4392,7 +4392,7 @@
|
|
|
4392
4392
|
var tmp$ret$16 = isInterface(tmp_33, TypeToken) ? tmp_33 : THROW_CCE();
|
|
4393
4393
|
var tmp_34 = Instance(di, tmp$ret$16, null);
|
|
4394
4394
|
var tmp_35 = KProperty1;
|
|
4395
|
-
tmp_32.
|
|
4395
|
+
tmp_32.i9y_1 = tmp_34.u64(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_35, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4(), null));
|
|
4396
4396
|
var tmp_36 = this;
|
|
4397
4397
|
// Inline function 'org.kodein.di.instance' call
|
|
4398
4398
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4400,7 +4400,7 @@
|
|
|
4400
4400
|
var tmp$ret$18 = isInterface(tmp_37, TypeToken) ? tmp_37 : THROW_CCE();
|
|
4401
4401
|
var tmp_38 = Instance(di, tmp$ret$18, null);
|
|
4402
4402
|
var tmp_39 = KProperty1;
|
|
4403
|
-
tmp_36.
|
|
4403
|
+
tmp_36.j9y_1 = tmp_38.u64(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_39, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p(), null));
|
|
4404
4404
|
var tmp_40 = this;
|
|
4405
4405
|
// Inline function 'org.kodein.di.instance' call
|
|
4406
4406
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4408,7 +4408,7 @@
|
|
|
4408
4408
|
var tmp$ret$20 = isInterface(tmp_41, TypeToken) ? tmp_41 : THROW_CCE();
|
|
4409
4409
|
var tmp_42 = Instance(di, tmp$ret$20, null);
|
|
4410
4410
|
var tmp_43 = KProperty1;
|
|
4411
|
-
tmp_40.
|
|
4411
|
+
tmp_40.k9y_1 = tmp_42.u64(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_43, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg(), null));
|
|
4412
4412
|
var tmp_44 = this;
|
|
4413
4413
|
// Inline function 'org.kodein.di.instance' call
|
|
4414
4414
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4416,7 +4416,7 @@
|
|
|
4416
4416
|
var tmp$ret$22 = isInterface(tmp_45, TypeToken) ? tmp_45 : THROW_CCE();
|
|
4417
4417
|
var tmp_46 = Instance(di, tmp$ret$22, null);
|
|
4418
4418
|
var tmp_47 = KProperty1;
|
|
4419
|
-
tmp_44.
|
|
4419
|
+
tmp_44.l9y_1 = tmp_46.u64(this, getPropertyCallableRef('dealerConfig', 1, tmp_47, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp(), null));
|
|
4420
4420
|
var tmp_48 = this;
|
|
4421
4421
|
// Inline function 'org.kodein.di.instance' call
|
|
4422
4422
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4424,7 +4424,7 @@
|
|
|
4424
4424
|
var tmp$ret$24 = isInterface(tmp_49, TypeToken) ? tmp_49 : THROW_CCE();
|
|
4425
4425
|
var tmp_50 = Instance(di, tmp$ret$24, null);
|
|
4426
4426
|
var tmp_51 = KProperty1;
|
|
4427
|
-
tmp_48.
|
|
4427
|
+
tmp_48.m9y_1 = tmp_50.u64(this, getPropertyCallableRef('poolProvider', 1, tmp_51, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3(), null));
|
|
4428
4428
|
var tmp_52 = this;
|
|
4429
4429
|
// Inline function 'org.kodein.di.instance' call
|
|
4430
4430
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4432,13 +4432,13 @@
|
|
|
4432
4432
|
var tmp$ret$26 = isInterface(tmp_53, TypeToken) ? tmp_53 : THROW_CCE();
|
|
4433
4433
|
var tmp_54 = Instance(di, tmp$ret$26, null);
|
|
4434
4434
|
var tmp_55 = KProperty1;
|
|
4435
|
-
tmp_52.
|
|
4435
|
+
tmp_52.n9y_1 = tmp_54.u64(this, getPropertyCallableRef('cardsDealerProvider', 1, tmp_55, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj(), null));
|
|
4436
4436
|
}
|
|
4437
|
-
protoOf(ServerGameStoreContract).e8y = function () {
|
|
4438
|
-
return plus(plus(plus(plus(plus(this.u9x_1.e8y(), this.x9x_1.e8y()), this.v9x_1.e8y()), this.w9x_1.e8y()), this.y9x_1.e8y()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl_0(this))]));
|
|
4439
|
-
};
|
|
4440
4437
|
protoOf(ServerGameStoreContract).f8y = function () {
|
|
4441
|
-
|
|
4438
|
+
return plus(plus(plus(plus(plus(this.v9x_1.f8y(), this.y9x_1.f8y()), this.w9x_1.f8y()), this.x9x_1.f8y()), this.z9x_1.f8y()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl_0(this))]));
|
|
4439
|
+
};
|
|
4440
|
+
protoOf(ServerGameStoreContract).g8y = function () {
|
|
4441
|
+
var tmp = plus(plus(plus(plus(plus(plus(plus(this.v9x_1.g8y(), listOfNotNull(_get_serverConfig__rk2g06(this).finishGameWhenNotLiveStrategy.equals(FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance()) ? checkBotsMiddleware(_get_logger__rkp4sl_0(this)) : null)), this.y9x_1.g8y()), this.w9x_1.g8y()), this.x9x_1.g8y()), this.z9x_1.g8y()), 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))).m90(), finishingGameWhenCantStartNewMiddleware()]));
|
|
4442
4442
|
var tmp_0 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this), _get_logger__rkp4sl_0(this));
|
|
4443
4443
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
4444
4444
|
var tmp1_logger = _get_logger__rkp4sl_0(this);
|
|
@@ -4489,7 +4489,7 @@
|
|
|
4489
4489
|
return this.m6h(store, next, action);
|
|
4490
4490
|
};
|
|
4491
4491
|
function ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
|
|
4492
|
-
this.
|
|
4492
|
+
this.q9y_1 = this$0;
|
|
4493
4493
|
}
|
|
4494
4494
|
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).x6f = function (action) {
|
|
4495
4495
|
return action instanceof MechanicAction;
|
|
@@ -4500,11 +4500,11 @@
|
|
|
4500
4500
|
// Inline function 'kotlin.with' call
|
|
4501
4501
|
var tmp;
|
|
4502
4502
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
4503
|
-
var tmp0 = this.
|
|
4504
|
-
var tmp2 = action_0.
|
|
4505
|
-
var tmp4 = action_0.
|
|
4503
|
+
var tmp0 = this.q9y_1;
|
|
4504
|
+
var tmp2 = action_0.q8u_1;
|
|
4505
|
+
var tmp4 = action_0.s8u_1;
|
|
4506
4506
|
// Inline function 'kotlin.collections.map' call
|
|
4507
|
-
var this_0 = action_0.
|
|
4507
|
+
var this_0 = action_0.t8u_1;
|
|
4508
4508
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4509
4509
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
4510
4510
|
var _iterator__ex2g4s = this_0.l();
|
|
@@ -4540,7 +4540,7 @@
|
|
|
4540
4540
|
var _iterator__ex2g4s_2 = destination_1.l();
|
|
4541
4541
|
while (_iterator__ex2g4s_2.m()) {
|
|
4542
4542
|
var element_0 = _iterator__ex2g4s_2.n();
|
|
4543
|
-
var tmp0_aid = tmp0.
|
|
4543
|
+
var tmp0_aid = tmp0.p9y_1.z6d();
|
|
4544
4544
|
// Inline function 'kotlin.collections.map' call
|
|
4545
4545
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4546
4546
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -4562,16 +4562,16 @@
|
|
|
4562
4562
|
tmp = destination_2;
|
|
4563
4563
|
} else {
|
|
4564
4564
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
4565
|
-
var tmp0_0 = this.
|
|
4565
|
+
var tmp0_0 = this.q9y_1;
|
|
4566
4566
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4567
4567
|
var table = state.n6n();
|
|
4568
|
-
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.
|
|
4568
|
+
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.p9y_1.z6d(), table.id, null);
|
|
4569
4569
|
var tmp$ret$21 = mapToClient_16(action_0, sendToPlayer_0);
|
|
4570
4570
|
tmp = listOfNotNull(tmp$ret$21);
|
|
4571
4571
|
} else {
|
|
4572
4572
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
4573
|
-
var tmp0_1 = this.
|
|
4574
|
-
var tmp2_0 = action_0.
|
|
4573
|
+
var tmp0_1 = this.q9y_1;
|
|
4574
|
+
var tmp2_0 = action_0.w8u_1.id;
|
|
4575
4575
|
var tmp4_0 = action_0.gameCreatorPlayerId;
|
|
4576
4576
|
// Inline function 'kotlin.collections.map' call
|
|
4577
4577
|
var this_1 = action_0.users;
|
|
@@ -4610,7 +4610,7 @@
|
|
|
4610
4610
|
var _iterator__ex2g4s_7 = destination_6.l();
|
|
4611
4611
|
while (_iterator__ex2g4s_7.m()) {
|
|
4612
4612
|
var element_2 = _iterator__ex2g4s_7.n();
|
|
4613
|
-
var tmp0_aid_0 = tmp0_1.
|
|
4613
|
+
var tmp0_aid_0 = tmp0_1.p9y_1.z6d();
|
|
4614
4614
|
// Inline function 'kotlin.collections.map' call
|
|
4615
4615
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4616
4616
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -4632,39 +4632,39 @@
|
|
|
4632
4632
|
tmp = destination_7;
|
|
4633
4633
|
} else {
|
|
4634
4634
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
4635
|
-
var tmp0_2 = this.
|
|
4635
|
+
var tmp0_2 = this.q9y_1;
|
|
4636
4636
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4637
4637
|
var table_0 = state.n6n();
|
|
4638
|
-
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.
|
|
4638
|
+
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.p9y_1.z6d(), table_0.id, null);
|
|
4639
4639
|
var tmp$ret$44 = mapToClient_14(action_0, sendToPlayer_2);
|
|
4640
4640
|
tmp = listOfNotNull(tmp$ret$44);
|
|
4641
4641
|
} else {
|
|
4642
4642
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
4643
|
-
var tmp0_3 = this.
|
|
4643
|
+
var tmp0_3 = this.q9y_1;
|
|
4644
4644
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4645
4645
|
var table_1 = state.n6n();
|
|
4646
|
-
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.
|
|
4646
|
+
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.p9y_1.z6d(), table_1.id, null);
|
|
4647
4647
|
var tmp$ret$46 = mapToClient_13(action_0, sendToPlayer_3);
|
|
4648
4648
|
tmp = listOfNotNull(tmp$ret$46);
|
|
4649
4649
|
} else {
|
|
4650
4650
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
4651
|
-
var tmp0_4 = this.
|
|
4651
|
+
var tmp0_4 = this.q9y_1;
|
|
4652
4652
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4653
4653
|
var table_2 = state.n6n();
|
|
4654
|
-
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.
|
|
4654
|
+
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.p9y_1.z6d(), table_2.id, null);
|
|
4655
4655
|
var tmp$ret$48 = mapToClient_12(action_0, sendToPlayer_4);
|
|
4656
4656
|
tmp = listOfNotNull(tmp$ret$48);
|
|
4657
4657
|
} else {
|
|
4658
4658
|
if (action_0 instanceof ErrorAction) {
|
|
4659
|
-
var tmp0_5 = this.
|
|
4659
|
+
var tmp0_5 = this.q9y_1;
|
|
4660
4660
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4661
4661
|
var table_3 = state.n6n();
|
|
4662
|
-
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.
|
|
4662
|
+
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.p9y_1.z6d(), table_3.id, null);
|
|
4663
4663
|
var tmp$ret$50 = mapToClient_11(action_0, sendToPlayer_5);
|
|
4664
4664
|
tmp = listOfNotNull(tmp$ret$50);
|
|
4665
4665
|
} else {
|
|
4666
4666
|
if (action_0 instanceof SceneMechanicAction) {
|
|
4667
|
-
var tmp0_6 = this.
|
|
4667
|
+
var tmp0_6 = this.q9y_1;
|
|
4668
4668
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4669
4669
|
var table_4 = state.n6n();
|
|
4670
4670
|
var tmp2_1 = table_4.id;
|
|
@@ -4697,7 +4697,7 @@
|
|
|
4697
4697
|
var _iterator__ex2g4s_11 = destination_10.l();
|
|
4698
4698
|
while (_iterator__ex2g4s_11.m()) {
|
|
4699
4699
|
var element_4 = _iterator__ex2g4s_11.n();
|
|
4700
|
-
var tmp0_aid_1 = tmp0_6.
|
|
4700
|
+
var tmp0_aid_1 = tmp0_6.p9y_1.z6d();
|
|
4701
4701
|
// Inline function 'kotlin.collections.map' call
|
|
4702
4702
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4703
4703
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
|
|
@@ -4719,7 +4719,7 @@
|
|
|
4719
4719
|
tmp = destination_11;
|
|
4720
4720
|
} else {
|
|
4721
4721
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
4722
|
-
var tmp0_7 = this.
|
|
4722
|
+
var tmp0_7 = this.q9y_1;
|
|
4723
4723
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4724
4724
|
var table_5 = state.n6n();
|
|
4725
4725
|
var tmp2_2 = table_5.id;
|
|
@@ -4752,7 +4752,7 @@
|
|
|
4752
4752
|
var _iterator__ex2g4s_15 = destination_14.l();
|
|
4753
4753
|
while (_iterator__ex2g4s_15.m()) {
|
|
4754
4754
|
var element_6 = _iterator__ex2g4s_15.n();
|
|
4755
|
-
var tmp0_aid_2 = tmp0_7.
|
|
4755
|
+
var tmp0_aid_2 = tmp0_7.p9y_1.z6d();
|
|
4756
4756
|
// Inline function 'kotlin.collections.map' call
|
|
4757
4757
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4758
4758
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
|
|
@@ -4774,7 +4774,7 @@
|
|
|
4774
4774
|
tmp = destination_15;
|
|
4775
4775
|
} else {
|
|
4776
4776
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
4777
|
-
var tmp0_8 = this.
|
|
4777
|
+
var tmp0_8 = this.q9y_1;
|
|
4778
4778
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4779
4779
|
var table_6 = state.n6n();
|
|
4780
4780
|
var tmp2_3 = table_6.id;
|
|
@@ -4807,7 +4807,7 @@
|
|
|
4807
4807
|
var _iterator__ex2g4s_19 = destination_18.l();
|
|
4808
4808
|
while (_iterator__ex2g4s_19.m()) {
|
|
4809
4809
|
var element_8 = _iterator__ex2g4s_19.n();
|
|
4810
|
-
var tmp0_aid_3 = tmp0_8.
|
|
4810
|
+
var tmp0_aid_3 = tmp0_8.p9y_1.z6d();
|
|
4811
4811
|
// Inline function 'kotlin.collections.map' call
|
|
4812
4812
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4813
4813
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
|
|
@@ -4819,7 +4819,7 @@
|
|
|
4819
4819
|
}
|
|
4820
4820
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tmp2_3, tmp4_3, element_8, destination_20);
|
|
4821
4821
|
var tmp_0;
|
|
4822
|
-
if (this.
|
|
4822
|
+
if (this.q9y_1.o9y_1.supportBackwardActions && getPlayer(state.n6n().players, sendToPlayer_8.b7b_1).q6q_1.f6u_1) {
|
|
4823
4823
|
tmp_0 = null;
|
|
4824
4824
|
} else {
|
|
4825
4825
|
tmp_0 = mapToClient_8(action_0, sendToPlayer_8);
|
|
@@ -4835,72 +4835,72 @@
|
|
|
4835
4835
|
tmp = destination_19;
|
|
4836
4836
|
} else {
|
|
4837
4837
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
4838
|
-
var tmp0_9 = this.
|
|
4838
|
+
var tmp0_9 = this.q9y_1;
|
|
4839
4839
|
var tmp2_4 = state.n6n();
|
|
4840
4840
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4841
|
-
var exceptPlayerId = this.
|
|
4842
|
-
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.
|
|
4841
|
+
var exceptPlayerId = this.q9y_1.o9y_1.supportBackwardActions ? action_0.r8v_1 : null;
|
|
4842
|
+
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.p9y_1.z6d(), tmp2_4.id, exceptPlayerId);
|
|
4843
4843
|
var tmp$ret$109 = mapToClient_7(action_0, sendToPlayer_9);
|
|
4844
4844
|
tmp = listOfNotNull(tmp$ret$109);
|
|
4845
4845
|
} else {
|
|
4846
4846
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
4847
|
-
var tmp0_10 = this.
|
|
4847
|
+
var tmp0_10 = this.q9y_1;
|
|
4848
4848
|
var tmp2_5 = state.n6n();
|
|
4849
4849
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4850
|
-
var exceptPlayerId_0 = this.
|
|
4851
|
-
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.
|
|
4850
|
+
var exceptPlayerId_0 = this.q9y_1.o9y_1.supportBackwardActions ? action_0.t8q_1 : null;
|
|
4851
|
+
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.p9y_1.z6d(), tmp2_5.id, exceptPlayerId_0);
|
|
4852
4852
|
var tmp$ret$111 = mapToClient_6(action_0, sendToPlayer_10);
|
|
4853
4853
|
tmp = listOfNotNull(tmp$ret$111);
|
|
4854
4854
|
} else {
|
|
4855
4855
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
4856
|
-
var tmp0_11 = this.
|
|
4856
|
+
var tmp0_11 = this.q9y_1;
|
|
4857
4857
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4858
4858
|
var table_7 = state.n6n();
|
|
4859
|
-
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.
|
|
4859
|
+
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.p9y_1.z6d(), table_7.id, null);
|
|
4860
4860
|
var tmp$ret$113 = mapToClient_5(action_0, sendToPlayer_11);
|
|
4861
4861
|
tmp = listOfNotNull(tmp$ret$113);
|
|
4862
4862
|
} else {
|
|
4863
4863
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
4864
|
-
var tmp0_12 = this.
|
|
4864
|
+
var tmp0_12 = this.q9y_1;
|
|
4865
4865
|
var tmp2_6 = state.n6n();
|
|
4866
4866
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4867
|
-
var exceptPlayerId_1 = this.
|
|
4868
|
-
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.
|
|
4867
|
+
var exceptPlayerId_1 = this.q9y_1.o9y_1.supportBackwardActions ? action_0.x8v_1 : null;
|
|
4868
|
+
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.p9y_1.z6d(), tmp2_6.id, exceptPlayerId_1);
|
|
4869
4869
|
var tmp$ret$115 = mapToClient_4(action_0, sendToPlayer_12);
|
|
4870
4870
|
tmp = listOfNotNull(tmp$ret$115);
|
|
4871
4871
|
} else {
|
|
4872
4872
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
4873
|
-
var tmp0_13 = this.
|
|
4873
|
+
var tmp0_13 = this.q9y_1;
|
|
4874
4874
|
var tmp2_7 = state.n6n();
|
|
4875
4875
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4876
|
-
var exceptPlayerId_2 = this.
|
|
4877
|
-
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.
|
|
4876
|
+
var exceptPlayerId_2 = this.q9y_1.o9y_1.supportBackwardActions ? action_0.y8q_1 : null;
|
|
4877
|
+
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.p9y_1.z6d(), tmp2_7.id, exceptPlayerId_2);
|
|
4878
4878
|
var tmp$ret$117 = mapToClient_3(action_0, sendToPlayer_13);
|
|
4879
4879
|
tmp = listOfNotNull(tmp$ret$117);
|
|
4880
4880
|
} else {
|
|
4881
4881
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
4882
|
-
var tmp0_14 = this.
|
|
4882
|
+
var tmp0_14 = this.q9y_1;
|
|
4883
4883
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4884
4884
|
var table_8 = state.n6n();
|
|
4885
|
-
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.
|
|
4885
|
+
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.p9y_1.z6d(), table_8.id, null);
|
|
4886
4886
|
var tmp$ret$119 = mapToClient_2(action_0, sendToPlayer_14);
|
|
4887
4887
|
tmp = listOfNotNull(tmp$ret$119);
|
|
4888
4888
|
} else {
|
|
4889
4889
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
4890
|
-
var tmp0_15 = this.
|
|
4890
|
+
var tmp0_15 = this.q9y_1;
|
|
4891
4891
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4892
4892
|
var table_9 = state.n6n();
|
|
4893
|
-
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.
|
|
4893
|
+
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.p9y_1.z6d(), table_9.id, null);
|
|
4894
4894
|
var tmp$ret$121 = mapToClient_1(action_0, sendToPlayer_15);
|
|
4895
4895
|
tmp = listOfNotNull(tmp$ret$121);
|
|
4896
4896
|
} else {
|
|
4897
4897
|
if (action_0 instanceof MessageMechanicAction) {
|
|
4898
|
-
var message = action_0.
|
|
4899
|
-
var tmp0_16 = this.
|
|
4898
|
+
var message = action_0.b8w_1;
|
|
4899
|
+
var tmp0_16 = this.q9y_1;
|
|
4900
4900
|
var tmp2_8 = state.n6n();
|
|
4901
4901
|
var tmp_1;
|
|
4902
4902
|
var tmp_2;
|
|
4903
|
-
if (this.
|
|
4903
|
+
if (this.q9y_1.o9y_1.supportBackwardActions) {
|
|
4904
4904
|
tmp_2 = isInterface(message, UserMessage);
|
|
4905
4905
|
} else {
|
|
4906
4906
|
tmp_2 = false;
|
|
@@ -4912,16 +4912,16 @@
|
|
|
4912
4912
|
}
|
|
4913
4913
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4914
4914
|
var exceptPlayerId_3 = tmp_1;
|
|
4915
|
-
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.
|
|
4915
|
+
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.p9y_1.z6d(), tmp2_8.id, exceptPlayerId_3);
|
|
4916
4916
|
var tmp$ret$123 = mapToClient_0(action_0, sendToPlayer_16);
|
|
4917
4917
|
tmp = listOfNotNull(tmp$ret$123);
|
|
4918
4918
|
} else {
|
|
4919
4919
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
4920
|
-
var tmp0_17 = this.
|
|
4920
|
+
var tmp0_17 = this.q9y_1;
|
|
4921
4921
|
var tmp2_9 = state.n6n();
|
|
4922
4922
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4923
4923
|
var exceptPlayerId_4 = action_0.playerId;
|
|
4924
|
-
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.
|
|
4924
|
+
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.p9y_1.z6d(), tmp2_9.id, exceptPlayerId_4);
|
|
4925
4925
|
var tmp$ret$125 = mapToClient(action_0, sendToPlayer_17);
|
|
4926
4926
|
tmp = listOfNotNull(tmp$ret$125);
|
|
4927
4927
|
} else {
|
|
@@ -4958,10 +4958,10 @@
|
|
|
4958
4958
|
return this.m6h(store, next, action);
|
|
4959
4959
|
};
|
|
4960
4960
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
4961
|
-
this.
|
|
4962
|
-
this.
|
|
4961
|
+
this.o9y_1 = logicConfig;
|
|
4962
|
+
this.p9y_1 = idsProvider;
|
|
4963
4963
|
}
|
|
4964
|
-
protoOf(ServerMapMechanicToClientActionMiddleware).
|
|
4964
|
+
protoOf(ServerMapMechanicToClientActionMiddleware).m90 = function () {
|
|
4965
4965
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
4966
4966
|
return new ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this);
|
|
4967
4967
|
};
|
|
@@ -4970,8 +4970,8 @@
|
|
|
4970
4970
|
return new sendToClientActionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, provider);
|
|
4971
4971
|
}
|
|
4972
4972
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
4973
|
-
this.
|
|
4974
|
-
this.
|
|
4973
|
+
this.z9y_1 = $provider;
|
|
4974
|
+
this.a9z_1 = $action;
|
|
4975
4975
|
CoroutineImpl.call(this, resultContinuation);
|
|
4976
4976
|
}
|
|
4977
4977
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).z2c = function ($this$launchDefault, $completion) {
|
|
@@ -4992,7 +4992,7 @@
|
|
|
4992
4992
|
case 0:
|
|
4993
4993
|
this.s8_1 = 2;
|
|
4994
4994
|
this.r8_1 = 1;
|
|
4995
|
-
suspendResult = this.
|
|
4995
|
+
suspendResult = this.z9y_1.m9v(this.a9z_1, this);
|
|
4996
4996
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4997
4997
|
return suspendResult;
|
|
4998
4998
|
}
|
|
@@ -5015,8 +5015,8 @@
|
|
|
5015
5015
|
while (true);
|
|
5016
5016
|
};
|
|
5017
5017
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).a2d = function ($this$launchDefault, completion) {
|
|
5018
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
5019
|
-
i.
|
|
5018
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.z9y_1, this.a9z_1, completion);
|
|
5019
|
+
i.b9z_1 = $this$launchDefault;
|
|
5020
5020
|
return i;
|
|
5021
5021
|
};
|
|
5022
5022
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -5028,15 +5028,15 @@
|
|
|
5028
5028
|
return l;
|
|
5029
5029
|
}
|
|
5030
5030
|
function sendToClientActionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $provider) {
|
|
5031
|
-
this.
|
|
5032
|
-
this.
|
|
5031
|
+
this.c9z_1 = $asyncProvider;
|
|
5032
|
+
this.d9z_1 = $provider;
|
|
5033
5033
|
}
|
|
5034
5034
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).x6f = function (action) {
|
|
5035
5035
|
return action instanceof ToClientAction;
|
|
5036
5036
|
};
|
|
5037
5037
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).m6h = function (store, next, action) {
|
|
5038
5038
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
5039
|
-
this.
|
|
5039
|
+
this.c9z_1.f6c(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.d9z_1, action_0, null));
|
|
5040
5040
|
next(action_0);
|
|
5041
5041
|
};
|
|
5042
5042
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).w6f = function (store, next, action) {
|
|
@@ -5051,12 +5051,12 @@
|
|
|
5051
5051
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).x6f = function (action) {
|
|
5052
5052
|
return action instanceof UpdateServerConfigAction;
|
|
5053
5053
|
};
|
|
5054
|
-
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).
|
|
5054
|
+
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).i98 = function (state, action) {
|
|
5055
5055
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
5056
|
-
return state.
|
|
5056
|
+
return state.r8t(VOID, get_serverStatePayload_0(state).copy(action_0.s9x_1));
|
|
5057
5057
|
};
|
|
5058
5058
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).n6h = function (state, action) {
|
|
5059
|
-
return this.
|
|
5059
|
+
return this.i98((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5060
5060
|
};
|
|
5061
5061
|
function ServerMechanicLifecycleReducer$onStart$lambda($action) {
|
|
5062
5062
|
return function (it) {
|
|
@@ -5069,7 +5069,7 @@
|
|
|
5069
5069
|
var tmp_2 = PlayerConnectionState_LIVE_getInstance();
|
|
5070
5070
|
Companion_getInstance();
|
|
5071
5071
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
5072
|
-
var this_0 = $action.
|
|
5072
|
+
var this_0 = $action.p8u_1.timeoutTimeMillis;
|
|
5073
5073
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
5074
5074
|
tmp_0 = tmp_1.j67(tmp_2, tmp$ret$0);
|
|
5075
5075
|
}
|
|
@@ -5078,63 +5078,63 @@
|
|
|
5078
5078
|
}
|
|
5079
5079
|
function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
|
|
5080
5080
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
5081
|
-
this.
|
|
5081
|
+
this.g9z_1 = logger;
|
|
5082
5082
|
}
|
|
5083
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5083
|
+
protoOf(ServerMechanicLifecycleReducer).u99 = function (state, action) {
|
|
5084
5084
|
var serverState = get_serverStatePayloadOrNull(state.m6m_1);
|
|
5085
5085
|
var tmp8_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5086
|
-
var tmp0_$this = this.
|
|
5087
|
-
var tmp1_tableId = action.
|
|
5088
|
-
var tmp2_gameId = action.
|
|
5089
|
-
var tmp3_version = action.
|
|
5090
|
-
var tmp4_config = action.
|
|
5091
|
-
var tmp5_users = action.
|
|
5086
|
+
var tmp0_$this = this.v99_1;
|
|
5087
|
+
var tmp1_tableId = action.q8u_1;
|
|
5088
|
+
var tmp2_gameId = action.q8u_1;
|
|
5089
|
+
var tmp3_version = action.r8u_1;
|
|
5090
|
+
var tmp4_config = action.p8u_1;
|
|
5091
|
+
var tmp5_users = action.t8u_1;
|
|
5092
5092
|
var tmp6_spectators = action.spectators;
|
|
5093
|
-
var tmp7_gameCreatorPlayerId = action.
|
|
5094
|
-
var tmp9_tableOrNull = tmp0_$this.
|
|
5093
|
+
var tmp7_gameCreatorPlayerId = action.s8u_1;
|
|
5094
|
+
var tmp9_tableOrNull = tmp0_$this.b9b(tmp1_tableId, tmp2_gameId, tmp4_config, tmp3_version, tmp5_users, tmp6_spectators, tmp7_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
|
|
5095
5095
|
var tmp;
|
|
5096
5096
|
if (serverState == null) {
|
|
5097
|
-
this.
|
|
5097
|
+
this.g9z_1.w(VOID, 'ServerPayload is not onStart');
|
|
5098
5098
|
tmp = Companion_instance_13.initial();
|
|
5099
5099
|
} else {
|
|
5100
5100
|
tmp = serverState;
|
|
5101
5101
|
}
|
|
5102
5102
|
var tmp10_payload = tmp;
|
|
5103
|
-
return state.
|
|
5103
|
+
return state.r8t(tmp9_tableOrNull, tmp10_payload, tmp8_gameLifecycleState);
|
|
5104
5104
|
};
|
|
5105
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5105
|
+
protoOf(ServerMechanicLifecycleReducer).s99 = function (state, action) {
|
|
5106
5106
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5107
|
-
var tmp2_tableOrNull = action.
|
|
5107
|
+
var tmp2_tableOrNull = action.w8u_1;
|
|
5108
5108
|
var tmp = Companion_instance_13;
|
|
5109
5109
|
var tmp_0 = get_serverStatePayload_0(state).config;
|
|
5110
|
-
var tmp_1 = action.
|
|
5110
|
+
var tmp_1 = action.x8u_1;
|
|
5111
5111
|
var tmp0_safe_receiver = tmp_1 instanceof RestartRoundReason ? tmp_1 : null;
|
|
5112
5112
|
var tmp3_payload = tmp.initial(tmp_0.copy(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.d65_1));
|
|
5113
|
-
return state.
|
|
5113
|
+
return state.r8t(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
|
|
5114
5114
|
};
|
|
5115
|
-
protoOf(ServerMechanicLifecycleReducer).
|
|
5116
|
-
this.
|
|
5115
|
+
protoOf(ServerMechanicLifecycleReducer).t99 = function (state, action) {
|
|
5116
|
+
this.w99_1.l58(action.previousGameId);
|
|
5117
5117
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
5118
|
-
var tmp1_tableOrNull = this.
|
|
5119
|
-
return state.
|
|
5118
|
+
var tmp1_tableOrNull = this.v99_1.c9b(state.n6n(), action.gameId);
|
|
5119
|
+
return state.r8t(tmp1_tableOrNull, VOID, tmp0_gameLifecycleState);
|
|
5120
5120
|
};
|
|
5121
5121
|
function spectatorsReducer(logger) {
|
|
5122
5122
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
5123
5123
|
return new spectatorsReducer$$inlined$reducerForActionType$1(logger);
|
|
5124
5124
|
}
|
|
5125
5125
|
function spectatorsReducer$$inlined$reducerForActionType$1($logger) {
|
|
5126
|
-
this.
|
|
5126
|
+
this.h9z_1 = $logger;
|
|
5127
5127
|
}
|
|
5128
5128
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).x6f = function (action) {
|
|
5129
5129
|
return isInterface(action, SpectatorsAction);
|
|
5130
5130
|
};
|
|
5131
|
-
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).
|
|
5131
|
+
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).i98 = function (state, action) {
|
|
5132
5132
|
var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
|
|
5133
5133
|
var table = state.n6n();
|
|
5134
5134
|
var tmp;
|
|
5135
5135
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
5136
5136
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5137
|
-
var tmp0 = action_0.
|
|
5137
|
+
var tmp0 = action_0.t9x_1;
|
|
5138
5138
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5139
5139
|
var destination = ArrayList_init_$Create$_0();
|
|
5140
5140
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5153,9 +5153,9 @@
|
|
|
5153
5153
|
var tmp_0;
|
|
5154
5154
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5155
5155
|
if (!sameSpectators.r()) {
|
|
5156
|
-
this.
|
|
5156
|
+
this.h9z_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
5157
5157
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5158
|
-
var tmp0_0 = action_0.
|
|
5158
|
+
var tmp0_0 = action_0.t9x_1;
|
|
5159
5159
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5160
5160
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
5161
5161
|
var _iterator__ex2g4s_0 = tmp0_0.l();
|
|
@@ -5190,7 +5190,7 @@
|
|
|
5190
5190
|
}
|
|
5191
5191
|
tmp_0 = destination_0;
|
|
5192
5192
|
} else {
|
|
5193
|
-
tmp_0 = action_0.
|
|
5193
|
+
tmp_0 = action_0.t9x_1;
|
|
5194
5194
|
}
|
|
5195
5195
|
// Inline function 'kotlin.collections.map' call
|
|
5196
5196
|
var this_0 = tmp_0;
|
|
@@ -5203,11 +5203,11 @@
|
|
|
5203
5203
|
destination_1.j(tmp$ret$13);
|
|
5204
5204
|
}
|
|
5205
5205
|
var spectatorsToAdd = toSet(destination_1);
|
|
5206
|
-
tmp = state.
|
|
5206
|
+
tmp = state.r8t(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
|
|
5207
5207
|
} else {
|
|
5208
5208
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
5209
5209
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5210
|
-
var tmp0_1 = action_0.
|
|
5210
|
+
var tmp0_1 = action_0.u9x_1;
|
|
5211
5211
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5212
5212
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
5213
5213
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5226,9 +5226,9 @@
|
|
|
5226
5226
|
var tmp_2;
|
|
5227
5227
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5228
5228
|
if (!sameSpectators_0.r()) {
|
|
5229
|
-
this.
|
|
5229
|
+
this.h9z_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
5230
5230
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5231
|
-
var tmp0_2 = action_0.
|
|
5231
|
+
var tmp0_2 = action_0.u9x_1;
|
|
5232
5232
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5233
5233
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
5234
5234
|
var _iterator__ex2g4s_4 = tmp0_2.l();
|
|
@@ -5263,7 +5263,7 @@
|
|
|
5263
5263
|
}
|
|
5264
5264
|
tmp_2 = destination_3;
|
|
5265
5265
|
} else {
|
|
5266
|
-
tmp_2 = action_0.
|
|
5266
|
+
tmp_2 = action_0.u9x_1;
|
|
5267
5267
|
}
|
|
5268
5268
|
var spectatorsToRemove = toSet(tmp_2);
|
|
5269
5269
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -5300,7 +5300,7 @@
|
|
|
5300
5300
|
destination_4.j(element_5);
|
|
5301
5301
|
}
|
|
5302
5302
|
}
|
|
5303
|
-
tmp = state.
|
|
5303
|
+
tmp = state.r8t(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
|
|
5304
5304
|
} else {
|
|
5305
5305
|
noWhenBranchMatchedException();
|
|
5306
5306
|
}
|
|
@@ -5308,16 +5308,16 @@
|
|
|
5308
5308
|
return tmp;
|
|
5309
5309
|
};
|
|
5310
5310
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).n6h = function (state, action) {
|
|
5311
|
-
return this.
|
|
5311
|
+
return this.i98((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5312
5312
|
};
|
|
5313
5313
|
function Companion_5() {
|
|
5314
5314
|
}
|
|
5315
|
-
protoOf(Companion_5).
|
|
5315
|
+
protoOf(Companion_5).i9z = function (config) {
|
|
5316
5316
|
return new ServerStatePayload(config);
|
|
5317
5317
|
};
|
|
5318
5318
|
protoOf(Companion_5).initial = function (config, $super) {
|
|
5319
5319
|
config = config === VOID ? Companion_instance_8.initial(null) : config;
|
|
5320
|
-
return $super === VOID ? this.
|
|
5320
|
+
return $super === VOID ? this.i9z(config) : $super.i9z.call(this, config);
|
|
5321
5321
|
};
|
|
5322
5322
|
var Companion_instance_13;
|
|
5323
5323
|
function Companion_getInstance_6() {
|
|
@@ -5332,12 +5332,12 @@
|
|
|
5332
5332
|
protoOf(ServerStatePayload).ne = function () {
|
|
5333
5333
|
return this.config;
|
|
5334
5334
|
};
|
|
5335
|
-
protoOf(ServerStatePayload).
|
|
5335
|
+
protoOf(ServerStatePayload).j9z = function (config) {
|
|
5336
5336
|
return new ServerStatePayload(config);
|
|
5337
5337
|
};
|
|
5338
5338
|
protoOf(ServerStatePayload).copy = function (config, $super) {
|
|
5339
5339
|
config = config === VOID ? this.config : config;
|
|
5340
|
-
return $super === VOID ? this.
|
|
5340
|
+
return $super === VOID ? this.j9z(config) : $super.j9z.call(this, config);
|
|
5341
5341
|
};
|
|
5342
5342
|
protoOf(ServerStatePayload).toString = function () {
|
|
5343
5343
|
return 'ServerStatePayload(config=' + this.config.toString() + ')';
|
|
@@ -5381,7 +5381,7 @@
|
|
|
5381
5381
|
return new ServerLoggerKey(_this__u8e3s4.gameId);
|
|
5382
5382
|
}
|
|
5383
5383
|
function serverLoggerKeyFromPayload(_this__u8e3s4, payload) {
|
|
5384
|
-
var gameId = Companion_instance_3.
|
|
5384
|
+
var gameId = Companion_instance_3.c9d(payload);
|
|
5385
5385
|
var tmp;
|
|
5386
5386
|
if (!(gameId == null)) {
|
|
5387
5387
|
tmp = new ServerLoggerKey(gameId);
|
|
@@ -5398,14 +5398,14 @@
|
|
|
5398
5398
|
return new GameServerEngineControllerImpl(loggerCallback, randomOrgConfig);
|
|
5399
5399
|
}
|
|
5400
5400
|
function _get_logger__rkp4sl_1($this) {
|
|
5401
|
-
var tmp0 = $this.
|
|
5401
|
+
var tmp0 = $this.t9z_1;
|
|
5402
5402
|
var tmp = KProperty1;
|
|
5403
5403
|
// Inline function 'kotlin.getValue' call
|
|
5404
5404
|
getPropertyCallableRef('logger', 1, tmp, GameServerEngineControllerImpl$_get_logger_$ref_b9j0th(), null);
|
|
5405
5405
|
return tmp0.w();
|
|
5406
5406
|
}
|
|
5407
5407
|
function _get_di__ndbzja($this) {
|
|
5408
|
-
var tmp0 = $this.
|
|
5408
|
+
var tmp0 = $this.u9z_1;
|
|
5409
5409
|
var tmp = KProperty1;
|
|
5410
5410
|
// Inline function 'kotlin.getValue' call
|
|
5411
5411
|
getPropertyCallableRef('di', 1, tmp, GameServerEngineControllerImpl$_get_di_$ref_cvlqo6(), null);
|
|
@@ -5418,11 +5418,11 @@
|
|
|
5418
5418
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
5419
5419
|
return function () {
|
|
5420
5420
|
var tmp;
|
|
5421
|
-
if (this$0.
|
|
5421
|
+
if (this$0.r9z_1 == null) {
|
|
5422
5422
|
tmp = null;
|
|
5423
5423
|
} else {
|
|
5424
5424
|
// Inline function 'kotlin.let' call
|
|
5425
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
5425
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.r9z_1)]));
|
|
5426
5426
|
}
|
|
5427
5427
|
var tmp1_elvis_lhs = tmp;
|
|
5428
5428
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -5455,7 +5455,7 @@
|
|
|
5455
5455
|
tmp_0.x62(tmp$ret$3);
|
|
5456
5456
|
$this$DI.b5z(jsonModule());
|
|
5457
5457
|
$this$DI.b5z(serverHelpersModule());
|
|
5458
|
-
$this$DI.b5z(randomOrgModule(this$0.
|
|
5458
|
+
$this$DI.b5z(randomOrgModule(this$0.s9z_1));
|
|
5459
5459
|
return Unit_instance;
|
|
5460
5460
|
};
|
|
5461
5461
|
}
|
|
@@ -5531,16 +5531,16 @@
|
|
|
5531
5531
|
};
|
|
5532
5532
|
}
|
|
5533
5533
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1($reducer) {
|
|
5534
|
-
this.
|
|
5534
|
+
this.ba0_1 = $reducer;
|
|
5535
5535
|
}
|
|
5536
5536
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).x6f = function (action) {
|
|
5537
5537
|
return isInterface(action, Action);
|
|
5538
5538
|
};
|
|
5539
|
-
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).
|
|
5540
|
-
return this.
|
|
5539
|
+
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).i98 = function (state, action) {
|
|
5540
|
+
return this.ba0_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
5541
5541
|
};
|
|
5542
5542
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).n6h = function (state, action) {
|
|
5543
|
-
return this.
|
|
5543
|
+
return this.i98((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
5544
5544
|
};
|
|
5545
5545
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($fileLoggerOutput) {
|
|
5546
5546
|
return function ($this$singleton) {
|
|
@@ -5602,7 +5602,7 @@
|
|
|
5602
5602
|
}
|
|
5603
5603
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1($gameServer) {
|
|
5604
5604
|
return function (it) {
|
|
5605
|
-
var tmp0_elvis_lhs = Companion_instance_5.
|
|
5605
|
+
var tmp0_elvis_lhs = Companion_instance_5.p9b(it);
|
|
5606
5606
|
var tmp;
|
|
5607
5607
|
if (tmp0_elvis_lhs == null) {
|
|
5608
5608
|
var tmp1_safe_receiver = $gameServer.s66().l6m_1;
|
|
@@ -5623,7 +5623,7 @@
|
|
|
5623
5623
|
// Inline function 'kotlin.let' call
|
|
5624
5624
|
$this$DI.b5z(tmp0_safe_receiver);
|
|
5625
5625
|
}
|
|
5626
|
-
$this$DI.b5z(dealerModule(this$0.randomPoolProvider, this$0.
|
|
5626
|
+
$this$DI.b5z(dealerModule(this$0.randomPoolProvider, this$0.s9z_1));
|
|
5627
5627
|
$this$DI.b5z(coreModule($coreConfig));
|
|
5628
5628
|
$this$DI.b5z(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $ratingConfig, $externalReducers, $externalMiddlewares));
|
|
5629
5629
|
return Unit_instance;
|
|
@@ -5632,13 +5632,13 @@
|
|
|
5632
5632
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
5633
5633
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
5634
5634
|
production = production === VOID ? true : production;
|
|
5635
|
-
this.
|
|
5636
|
-
this.
|
|
5635
|
+
this.r9z_1 = loggerCallback;
|
|
5636
|
+
this.s9z_1 = randomOrgConfig;
|
|
5637
5637
|
AppEnvironment_getInstance().u6l(production ? AppEnvironmentValue_PRODUCTION_getInstance() : AppEnvironmentValue_DEVELOPMENT_getInstance());
|
|
5638
5638
|
var tmp = this;
|
|
5639
|
-
tmp.
|
|
5639
|
+
tmp.t9z_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
5640
5640
|
var tmp_0 = this;
|
|
5641
|
-
tmp_0.
|
|
5641
|
+
tmp_0.u9z_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
5642
5642
|
var tmp_1 = this;
|
|
5643
5643
|
// Inline function 'org.kodein.di.instance' call
|
|
5644
5644
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -5647,7 +5647,7 @@
|
|
|
5647
5647
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5648
5648
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
5649
5649
|
var tmp_4 = KProperty1;
|
|
5650
|
-
tmp_1.
|
|
5650
|
+
tmp_1.v9z_1 = tmp_3.u64(this, getPropertyCallableRef('parser', 1, tmp_4, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w(), null));
|
|
5651
5651
|
var tmp_5 = this;
|
|
5652
5652
|
// Inline function 'org.kodein.di.instance' call
|
|
5653
5653
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -5656,7 +5656,7 @@
|
|
|
5656
5656
|
var tmp$ret$2 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
5657
5657
|
var tmp_7 = Instance(this_1, tmp$ret$2, null);
|
|
5658
5658
|
var tmp_8 = KProperty1;
|
|
5659
|
-
tmp_5.
|
|
5659
|
+
tmp_5.w9z_1 = tmp_7.u64(this, getPropertyCallableRef('helper', 1, tmp_8, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f(), null));
|
|
5660
5660
|
var tmp_9 = this;
|
|
5661
5661
|
// Inline function 'org.kodein.di.instance' call
|
|
5662
5662
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -5665,7 +5665,7 @@
|
|
|
5665
5665
|
var tmp$ret$4 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
5666
5666
|
var tmp_11 = Instance(this_2, tmp$ret$4, null);
|
|
5667
5667
|
var tmp_12 = KProperty1;
|
|
5668
|
-
tmp_9.
|
|
5668
|
+
tmp_9.x9z_1 = tmp_11.u64(this, getPropertyCallableRef('serverHelper', 1, tmp_12, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre(), null));
|
|
5669
5669
|
var tmp_13 = this;
|
|
5670
5670
|
// Inline function 'org.kodein.di.instance' call
|
|
5671
5671
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -5674,7 +5674,7 @@
|
|
|
5674
5674
|
var tmp$ret$6 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
5675
5675
|
var tmp_15 = Instance(this_3, tmp$ret$6, null);
|
|
5676
5676
|
var tmp_16 = KProperty1;
|
|
5677
|
-
tmp_13.
|
|
5677
|
+
tmp_13.y9z_1 = tmp_15.u64(this, getPropertyCallableRef('resources', 1, tmp_16, GameServerEngineControllerImpl$_get_resources_$ref_dt6416(), null));
|
|
5678
5678
|
var tmp_17 = this;
|
|
5679
5679
|
// Inline function 'org.kodein.di.instance' call
|
|
5680
5680
|
var this_4 = _get_di__ndbzja(this);
|
|
@@ -5683,7 +5683,7 @@
|
|
|
5683
5683
|
var tmp$ret$8 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
5684
5684
|
var tmp_19 = Instance(this_4, tmp$ret$8, null);
|
|
5685
5685
|
var tmp_20 = KProperty1;
|
|
5686
|
-
tmp_17.
|
|
5686
|
+
tmp_17.z9z_1 = tmp_19.u64(this, getPropertyCallableRef('test', 1, tmp_20, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5(), null));
|
|
5687
5687
|
var tmp_21 = this;
|
|
5688
5688
|
// Inline function 'org.kodein.di.instance' call
|
|
5689
5689
|
var this_5 = _get_di__ndbzja(this);
|
|
@@ -5692,45 +5692,45 @@
|
|
|
5692
5692
|
var tmp$ret$10 = isInterface(tmp_22, TypeToken) ? tmp_22 : THROW_CCE();
|
|
5693
5693
|
var tmp_23 = Instance(this_5, tmp$ret$10, null);
|
|
5694
5694
|
var tmp_24 = KProperty1;
|
|
5695
|
-
tmp_21.
|
|
5695
|
+
tmp_21.aa0_1 = tmp_23.u64(this, getPropertyCallableRef('randomPoolProvider', 1, tmp_24, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl(), null));
|
|
5696
5696
|
}
|
|
5697
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5698
|
-
var tmp0 = this.
|
|
5697
|
+
protoOf(GameServerEngineControllerImpl).k9z = function () {
|
|
5698
|
+
var tmp0 = this.v9z_1;
|
|
5699
5699
|
var tmp = KProperty1;
|
|
5700
5700
|
// Inline function 'kotlin.getValue' call
|
|
5701
5701
|
getPropertyCallableRef('parser', 1, tmp, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w_0(), null);
|
|
5702
5702
|
return tmp0.w();
|
|
5703
5703
|
};
|
|
5704
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5705
|
-
var tmp0 = this.
|
|
5704
|
+
protoOf(GameServerEngineControllerImpl).m9z = function () {
|
|
5705
|
+
var tmp0 = this.w9z_1;
|
|
5706
5706
|
var tmp = KProperty1;
|
|
5707
5707
|
// Inline function 'kotlin.getValue' call
|
|
5708
5708
|
getPropertyCallableRef('helper', 1, tmp, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f_0(), null);
|
|
5709
5709
|
return tmp0.w();
|
|
5710
5710
|
};
|
|
5711
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5712
|
-
var tmp0 = this.
|
|
5711
|
+
protoOf(GameServerEngineControllerImpl).n9z = function () {
|
|
5712
|
+
var tmp0 = this.x9z_1;
|
|
5713
5713
|
var tmp = KProperty1;
|
|
5714
5714
|
// Inline function 'kotlin.getValue' call
|
|
5715
5715
|
getPropertyCallableRef('serverHelper', 1, tmp, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre_0(), null);
|
|
5716
5716
|
return tmp0.w();
|
|
5717
5717
|
};
|
|
5718
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5719
|
-
var tmp0 = this.
|
|
5718
|
+
protoOf(GameServerEngineControllerImpl).o9z = function () {
|
|
5719
|
+
var tmp0 = this.y9z_1;
|
|
5720
5720
|
var tmp = KProperty1;
|
|
5721
5721
|
// Inline function 'kotlin.getValue' call
|
|
5722
5722
|
getPropertyCallableRef('resources', 1, tmp, GameServerEngineControllerImpl$_get_resources_$ref_dt6416_0(), null);
|
|
5723
5723
|
return tmp0.w();
|
|
5724
5724
|
};
|
|
5725
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5726
|
-
var tmp0 = this.
|
|
5725
|
+
protoOf(GameServerEngineControllerImpl).l9z = function () {
|
|
5726
|
+
var tmp0 = this.z9z_1;
|
|
5727
5727
|
var tmp = KProperty1;
|
|
5728
5728
|
// Inline function 'kotlin.getValue' call
|
|
5729
5729
|
getPropertyCallableRef('test', 1, tmp, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5_0(), null);
|
|
5730
5730
|
return tmp0.w();
|
|
5731
5731
|
};
|
|
5732
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5733
|
-
var tmp0 = this.
|
|
5732
|
+
protoOf(GameServerEngineControllerImpl).p9z = function () {
|
|
5733
|
+
var tmp0 = this.aa0_1;
|
|
5734
5734
|
var tmp = KProperty1;
|
|
5735
5735
|
// Inline function 'kotlin.getValue' call
|
|
5736
5736
|
getPropertyCallableRef('randomPoolProvider', 1, tmp, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl_0(), null);
|
|
@@ -5742,7 +5742,7 @@
|
|
|
5742
5742
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
5743
5743
|
return this.createGameEngineWithLogic();
|
|
5744
5744
|
};
|
|
5745
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5745
|
+
protoOf(GameServerEngineControllerImpl).q9z = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig) {
|
|
5746
5746
|
var combinedLogger = Companion_instance_6.mx();
|
|
5747
5747
|
var tmp;
|
|
5748
5748
|
if (coreConfig.fileLogsEnabled) {
|
|
@@ -5752,8 +5752,8 @@
|
|
|
5752
5752
|
}
|
|
5753
5753
|
var fileLoggerOutput = tmp;
|
|
5754
5754
|
var tmp_0;
|
|
5755
|
-
if (!(this.
|
|
5756
|
-
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.
|
|
5755
|
+
if (!(this.r9z_1 == null)) {
|
|
5756
|
+
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.r9z_1));
|
|
5757
5757
|
} else {
|
|
5758
5758
|
tmp_0 = null;
|
|
5759
5759
|
}
|
|
@@ -5794,12 +5794,12 @@
|
|
|
5794
5794
|
var gameServer = tmp_1.l60(tmp$ret$7, null);
|
|
5795
5795
|
if (!(fileLoggerOutput == null)) {
|
|
5796
5796
|
var tmp_3 = fileLoggerOutput;
|
|
5797
|
-
tmp_3.
|
|
5797
|
+
tmp_3.r9c_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0(gameServer);
|
|
5798
5798
|
combinedLogger.w1k(fileLoggerOutput);
|
|
5799
5799
|
}
|
|
5800
5800
|
if (!(callbackWrapperLoggerOutput == null)) {
|
|
5801
5801
|
var tmp_4 = callbackWrapperLoggerOutput;
|
|
5802
|
-
tmp_4.
|
|
5802
|
+
tmp_4.r9b_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1(gameServer);
|
|
5803
5803
|
combinedLogger.w1k(callbackWrapperLoggerOutput);
|
|
5804
5804
|
}
|
|
5805
5805
|
return gameServer;
|
|
@@ -5814,7 +5814,7 @@
|
|
|
5814
5814
|
function TestHelper() {
|
|
5815
5815
|
}
|
|
5816
5816
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
5817
|
-
var tmp0 = $this.
|
|
5817
|
+
var tmp0 = $this.ea0_1;
|
|
5818
5818
|
var tmp = KProperty1;
|
|
5819
5819
|
// Inline function 'kotlin.getValue' call
|
|
5820
5820
|
getPropertyCallableRef('playerAnswerInteractor', 1, tmp, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy_0(), null);
|
|
@@ -5822,7 +5822,7 @@
|
|
|
5822
5822
|
}
|
|
5823
5823
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
5824
5824
|
return function ($this$singleton) {
|
|
5825
|
-
return this$0.
|
|
5825
|
+
return this$0.ca0_1;
|
|
5826
5826
|
};
|
|
5827
5827
|
}
|
|
5828
5828
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -5861,27 +5861,27 @@
|
|
|
5861
5861
|
return emptyMap();
|
|
5862
5862
|
}
|
|
5863
5863
|
function TestHelperImpl(logger) {
|
|
5864
|
-
this.
|
|
5864
|
+
this.ca0_1 = logger;
|
|
5865
5865
|
var tmp = this;
|
|
5866
5866
|
var tmp_0 = Companion_instance_4;
|
|
5867
|
-
tmp.
|
|
5867
|
+
tmp.da0_1 = tmp_0.i5z(VOID, TestHelperImpl$di$lambda(this));
|
|
5868
5868
|
var tmp_1 = this;
|
|
5869
5869
|
// Inline function 'org.kodein.di.instance' call
|
|
5870
|
-
var this_0 = this.
|
|
5870
|
+
var this_0 = this.da0_1;
|
|
5871
5871
|
// Inline function 'org.kodein.type.generic' call
|
|
5872
5872
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
5873
5873
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5874
5874
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
5875
5875
|
var tmp_4 = KProperty1;
|
|
5876
|
-
tmp_1.
|
|
5876
|
+
tmp_1.ea0_1 = tmp_3.u64(this, getPropertyCallableRef('playerAnswerInteractor', 1, tmp_4, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy(), null));
|
|
5877
5877
|
}
|
|
5878
5878
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
5879
|
-
return _get_playerAnswerInteractor__msggz1(this).
|
|
5879
|
+
return _get_playerAnswerInteractor__msggz1(this).b8k(playerId, table, botConfig);
|
|
5880
5880
|
};
|
|
5881
5881
|
protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
|
|
5882
5882
|
var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
|
|
5883
5883
|
if (isInterface(mechanicAction, NextPlayerTurnAction)) {
|
|
5884
|
-
var tmp0 = mechanicAction.
|
|
5884
|
+
var tmp0 = mechanicAction.l8x();
|
|
5885
5885
|
var tmp$ret$0;
|
|
5886
5886
|
$l$block_0: {
|
|
5887
5887
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -5913,7 +5913,7 @@
|
|
|
5913
5913
|
};
|
|
5914
5914
|
protoOf(TestHelperImpl).getPlayerAnswerFromMechanicAction = function (table, currentPlayerId, action, botConfig) {
|
|
5915
5915
|
if (isInterface(action, NextPlayerTurnAction)) {
|
|
5916
|
-
var tmp0 = action.
|
|
5916
|
+
var tmp0 = action.l8x();
|
|
5917
5917
|
var tmp$ret$0;
|
|
5918
5918
|
$l$block_0: {
|
|
5919
5919
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -6028,22 +6028,22 @@
|
|
|
6028
6028
|
});
|
|
6029
6029
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
6030
6030
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
6031
|
-
return this.
|
|
6031
|
+
return this.k9z();
|
|
6032
6032
|
});
|
|
6033
6033
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
6034
|
-
return this.
|
|
6034
|
+
return this.m9z();
|
|
6035
6035
|
});
|
|
6036
6036
|
defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
|
|
6037
|
-
return this.
|
|
6037
|
+
return this.n9z();
|
|
6038
6038
|
});
|
|
6039
6039
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
6040
|
-
return this.
|
|
6040
|
+
return this.o9z();
|
|
6041
6041
|
});
|
|
6042
6042
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
6043
|
-
return this.
|
|
6043
|
+
return this.l9z();
|
|
6044
6044
|
});
|
|
6045
6045
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
6046
|
-
return this.
|
|
6046
|
+
return this.p9z();
|
|
6047
6047
|
});
|
|
6048
6048
|
//endregion
|
|
6049
6049
|
//region block: init
|