raspberry_games_server_game_logic 1.8.384 → 1.8.385
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 +84 -81
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.js +710 -710
- package/kotlin-kotlin-stdlib.js +4 -4
- package/kotlinx-coroutines-core.js +2 -2
- 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.e9v(roomId, gameCreatorId, config, usersArray, transition, spectators);
|
|
364
364
|
tmp_0 = Unit_instance;
|
|
365
365
|
} else {
|
|
366
|
-
tmp_0 = $super.
|
|
366
|
+
tmp_0 = $super.e9v.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.f9v(newRid);
|
|
375
375
|
tmp = Unit_instance;
|
|
376
376
|
} else {
|
|
377
|
-
tmp = $super.
|
|
377
|
+
tmp = $super.f9v.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.g9v(reason, roomId);
|
|
386
386
|
tmp = Unit_instance;
|
|
387
387
|
} else {
|
|
388
|
-
tmp = $super.
|
|
388
|
+
tmp = $super.g9v.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.y9z(reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig) : $super.y9z.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,22 +690,22 @@
|
|
|
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, $table, resultContinuation) {
|
|
707
|
-
this.
|
|
708
|
-
this.
|
|
707
|
+
this.z9g_1 = $$this$unsafeFlow;
|
|
708
|
+
this.a9h_1 = $table;
|
|
709
709
|
CoroutineImpl.call(this, resultContinuation);
|
|
710
710
|
}
|
|
711
711
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).u2h = function (value, $completion) {
|
|
@@ -725,10 +725,10 @@
|
|
|
725
725
|
switch (tmp) {
|
|
726
726
|
case 0:
|
|
727
727
|
this.s8_1 = 2;
|
|
728
|
-
var tmp0 = this.
|
|
729
|
-
var value = this.
|
|
728
|
+
var tmp0 = this.z9g_1;
|
|
729
|
+
var value = this.b9h_1;
|
|
730
730
|
this.r8_1 = 1;
|
|
731
|
-
suspendResult = tmp0.l28(new ActionsStateUpdate(this.
|
|
731
|
+
suspendResult = tmp0.l28(new ActionsStateUpdate(this.a9h_1.id, value), this);
|
|
732
732
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
733
733
|
return suspendResult;
|
|
734
734
|
}
|
|
@@ -751,8 +751,8 @@
|
|
|
751
751
|
while (true);
|
|
752
752
|
};
|
|
753
753
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).v2h = function (value, completion) {
|
|
754
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.
|
|
755
|
-
i.
|
|
754
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.z9g_1, this.a9h_1, completion);
|
|
755
|
+
i.b9h_1 = value;
|
|
756
756
|
return i;
|
|
757
757
|
};
|
|
758
758
|
function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, $table, resultContinuation) {
|
|
@@ -765,8 +765,8 @@
|
|
|
765
765
|
}
|
|
766
766
|
function $collectCOROUTINE$_0(_this__u8e3s4, collector, resultContinuation) {
|
|
767
767
|
CoroutineImpl.call(this, resultContinuation);
|
|
768
|
-
this.
|
|
769
|
-
this.
|
|
768
|
+
this.k9h_1 = _this__u8e3s4;
|
|
769
|
+
this.l9h_1 = collector;
|
|
770
770
|
}
|
|
771
771
|
protoOf($collectCOROUTINE$_0).z8 = function () {
|
|
772
772
|
var suspendResult = this.t8_1;
|
|
@@ -776,10 +776,10 @@
|
|
|
776
776
|
switch (tmp) {
|
|
777
777
|
case 0:
|
|
778
778
|
this.s8_1 = 2;
|
|
779
|
-
var $this$unsafeFlow = this.
|
|
779
|
+
var $this$unsafeFlow = this.l9h_1;
|
|
780
780
|
this.r8_1 = 1;
|
|
781
|
-
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.
|
|
782
|
-
suspendResult = this.
|
|
781
|
+
var tmp_0 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($this$unsafeFlow, this.k9h_1.n9h_1, null);
|
|
782
|
+
suspendResult = this.k9h_1.m9h_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_0), this);
|
|
783
783
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
784
784
|
return suspendResult;
|
|
785
785
|
}
|
|
@@ -802,8 +802,8 @@
|
|
|
802
802
|
while (true);
|
|
803
803
|
};
|
|
804
804
|
function _no_name_provided__qut3iv($this, $table) {
|
|
805
|
-
this.
|
|
806
|
-
this.
|
|
805
|
+
this.m9h_1 = $this;
|
|
806
|
+
this.n9h_1 = $table;
|
|
807
807
|
}
|
|
808
808
|
protoOf(_no_name_provided__qut3iv).m28 = function (collector, $completion) {
|
|
809
809
|
var tmp = new $collectCOROUTINE$_0(this, collector, $completion);
|
|
@@ -815,18 +815,18 @@
|
|
|
815
815
|
return this.m28(collector, $completion);
|
|
816
816
|
};
|
|
817
817
|
function GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation) {
|
|
818
|
-
this.
|
|
819
|
-
this.
|
|
818
|
+
this.w9h_1 = $table;
|
|
819
|
+
this.x9h_1 = this$0;
|
|
820
820
|
CoroutineImpl.call(this, resultContinuation);
|
|
821
821
|
}
|
|
822
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
823
|
-
var tmp = this.
|
|
822
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).z9h = function ($this$flow, $completion) {
|
|
823
|
+
var tmp = this.a9i($this$flow, $completion);
|
|
824
824
|
tmp.t8_1 = Unit_instance;
|
|
825
825
|
tmp.u8_1 = null;
|
|
826
826
|
return tmp.z8();
|
|
827
827
|
};
|
|
828
828
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).h9 = function (p1, $completion) {
|
|
829
|
-
return this.
|
|
829
|
+
return this.z9h((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
830
830
|
};
|
|
831
831
|
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).z8 = function () {
|
|
832
832
|
var suspendResult = this.t8_1;
|
|
@@ -837,7 +837,7 @@
|
|
|
837
837
|
case 0:
|
|
838
838
|
this.s8_1 = 3;
|
|
839
839
|
this.r8_1 = 1;
|
|
840
|
-
suspendResult = this.
|
|
840
|
+
suspendResult = this.y9h_1.l28(new TableStateUpdate(this.w9h_1.id, this.w9h_1), this);
|
|
841
841
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
842
842
|
return suspendResult;
|
|
843
843
|
}
|
|
@@ -845,8 +845,8 @@
|
|
|
845
845
|
continue $sm;
|
|
846
846
|
case 1:
|
|
847
847
|
this.r8_1 = 2;
|
|
848
|
-
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.
|
|
849
|
-
suspendResult = emitAll(this.
|
|
848
|
+
var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.x9h_1).k8j(), fromInt(_get_serverReduxConfig__rprcrm(this.x9h_1).serverStateUpdateIntervalMillis));
|
|
849
|
+
suspendResult = emitAll(this.y9h_1, new _no_name_provided__qut3iv(this_0, this.w9h_1), this);
|
|
850
850
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
851
851
|
return suspendResult;
|
|
852
852
|
}
|
|
@@ -868,21 +868,21 @@
|
|
|
868
868
|
}
|
|
869
869
|
while (true);
|
|
870
870
|
};
|
|
871
|
-
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).
|
|
872
|
-
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.
|
|
873
|
-
i.
|
|
871
|
+
protoOf(GameServer$observeTableStateUpdates$slambda$slambda).a9i = function ($this$flow, completion) {
|
|
872
|
+
var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.w9h_1, this.x9h_1, completion);
|
|
873
|
+
i.y9h_1 = $this$flow;
|
|
874
874
|
return i;
|
|
875
875
|
};
|
|
876
876
|
function GameServer$observeTableStateUpdates$slambda$slambda_0($table, this$0, resultContinuation) {
|
|
877
877
|
var i = new GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation);
|
|
878
878
|
var l = function ($this$flow, $completion) {
|
|
879
|
-
return i.
|
|
879
|
+
return i.z9h($this$flow, $completion);
|
|
880
880
|
};
|
|
881
881
|
l.$arity = 1;
|
|
882
882
|
return l;
|
|
883
883
|
}
|
|
884
884
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
885
|
-
this.
|
|
885
|
+
this.j9i_1 = $$this$unsafeFlow;
|
|
886
886
|
CoroutineImpl.call(this, resultContinuation);
|
|
887
887
|
}
|
|
888
888
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).u2h = function (value, $completion) {
|
|
@@ -903,28 +903,28 @@
|
|
|
903
903
|
case 0:
|
|
904
904
|
this.s8_1 = 5;
|
|
905
905
|
var tmp_0 = this;
|
|
906
|
-
tmp_0.
|
|
906
|
+
tmp_0.o9i_1 = this.j9i_1;
|
|
907
907
|
var tmp_1 = this;
|
|
908
|
-
tmp_1.
|
|
908
|
+
tmp_1.n9i_1 = this.k9i_1;
|
|
909
909
|
this.r8_1 = 1;
|
|
910
910
|
continue $sm;
|
|
911
911
|
case 1:
|
|
912
|
-
this.
|
|
913
|
-
var tmp0_elvis_lhs = this.
|
|
912
|
+
this.l9i_1 = this.o9i_1;
|
|
913
|
+
var tmp0_elvis_lhs = this.n9i_1.l6m_1;
|
|
914
914
|
if (tmp0_elvis_lhs == null) {
|
|
915
915
|
this.r8_1 = 4;
|
|
916
916
|
var tmp_2 = this;
|
|
917
917
|
continue $sm;
|
|
918
918
|
} else {
|
|
919
|
-
this.
|
|
919
|
+
this.m9i_1 = tmp0_elvis_lhs;
|
|
920
920
|
this.r8_1 = 2;
|
|
921
921
|
continue $sm;
|
|
922
922
|
}
|
|
923
923
|
|
|
924
924
|
case 2:
|
|
925
|
-
var transformed = this.
|
|
925
|
+
var transformed = this.m9i_1;
|
|
926
926
|
this.r8_1 = 3;
|
|
927
|
-
suspendResult = this.
|
|
927
|
+
suspendResult = this.l9i_1.l28(transformed, this);
|
|
928
928
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
929
929
|
return suspendResult;
|
|
930
930
|
}
|
|
@@ -955,8 +955,8 @@
|
|
|
955
955
|
while (true);
|
|
956
956
|
};
|
|
957
957
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).v2h = function (value, completion) {
|
|
958
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.
|
|
959
|
-
i.
|
|
958
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.j9i_1, completion);
|
|
959
|
+
i.k9i_1 = value;
|
|
960
960
|
return i;
|
|
961
961
|
};
|
|
962
962
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
|
|
@@ -969,8 +969,8 @@
|
|
|
969
969
|
}
|
|
970
970
|
function $collectCOROUTINE$_1(_this__u8e3s4, collector, resultContinuation) {
|
|
971
971
|
CoroutineImpl.call(this, resultContinuation);
|
|
972
|
-
this.
|
|
973
|
-
this.
|
|
972
|
+
this.x9i_1 = _this__u8e3s4;
|
|
973
|
+
this.y9i_1 = collector;
|
|
974
974
|
}
|
|
975
975
|
protoOf($collectCOROUTINE$_1).z8 = function () {
|
|
976
976
|
var suspendResult = this.t8_1;
|
|
@@ -980,10 +980,10 @@
|
|
|
980
980
|
switch (tmp) {
|
|
981
981
|
case 0:
|
|
982
982
|
this.s8_1 = 2;
|
|
983
|
-
var $this$unsafeFlow = this.
|
|
983
|
+
var $this$unsafeFlow = this.y9i_1;
|
|
984
984
|
this.r8_1 = 1;
|
|
985
985
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($this$unsafeFlow, null);
|
|
986
|
-
suspendResult = this.
|
|
986
|
+
suspendResult = this.x9i_1.z9i_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
987
987
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
988
988
|
return suspendResult;
|
|
989
989
|
}
|
|
@@ -1006,7 +1006,7 @@
|
|
|
1006
1006
|
while (true);
|
|
1007
1007
|
};
|
|
1008
1008
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_1($$this$unsafeFlow, resultContinuation) {
|
|
1009
|
-
this.
|
|
1009
|
+
this.i9j_1 = $$this$unsafeFlow;
|
|
1010
1010
|
CoroutineImpl.call(this, resultContinuation);
|
|
1011
1011
|
}
|
|
1012
1012
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).u2h = function (value, $completion) {
|
|
@@ -1026,8 +1026,8 @@
|
|
|
1026
1026
|
switch (tmp) {
|
|
1027
1027
|
case 0:
|
|
1028
1028
|
this.s8_1 = 2;
|
|
1029
|
-
var tmp0 = this.
|
|
1030
|
-
var value = this.
|
|
1029
|
+
var tmp0 = this.i9j_1;
|
|
1030
|
+
var value = this.j9j_1;
|
|
1031
1031
|
this.r8_1 = 1;
|
|
1032
1032
|
suspendResult = tmp0.l28(to(value.gameInfo.roundNumberTotal, value), this);
|
|
1033
1033
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1052,8 +1052,8 @@
|
|
|
1052
1052
|
while (true);
|
|
1053
1053
|
};
|
|
1054
1054
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).v2h = function (value, completion) {
|
|
1055
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.
|
|
1056
|
-
i.
|
|
1055
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.i9j_1, completion);
|
|
1056
|
+
i.j9j_1 = value;
|
|
1057
1057
|
return i;
|
|
1058
1058
|
};
|
|
1059
1059
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1066,8 +1066,8 @@
|
|
|
1066
1066
|
}
|
|
1067
1067
|
function $collectCOROUTINE$_2(_this__u8e3s4, collector, resultContinuation) {
|
|
1068
1068
|
CoroutineImpl.call(this, resultContinuation);
|
|
1069
|
-
this.
|
|
1070
|
-
this.
|
|
1069
|
+
this.s9j_1 = _this__u8e3s4;
|
|
1070
|
+
this.t9j_1 = collector;
|
|
1071
1071
|
}
|
|
1072
1072
|
protoOf($collectCOROUTINE$_2).z8 = function () {
|
|
1073
1073
|
var suspendResult = this.t8_1;
|
|
@@ -1077,10 +1077,10 @@
|
|
|
1077
1077
|
switch (tmp) {
|
|
1078
1078
|
case 0:
|
|
1079
1079
|
this.s8_1 = 2;
|
|
1080
|
-
var $this$unsafeFlow = this.
|
|
1080
|
+
var $this$unsafeFlow = this.t9j_1;
|
|
1081
1081
|
this.r8_1 = 1;
|
|
1082
1082
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($this$unsafeFlow, null);
|
|
1083
|
-
suspendResult = this.
|
|
1083
|
+
suspendResult = this.s9j_1.u9j_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1084
1084
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1085
1085
|
return suspendResult;
|
|
1086
1086
|
}
|
|
@@ -1103,7 +1103,7 @@
|
|
|
1103
1103
|
while (true);
|
|
1104
1104
|
};
|
|
1105
1105
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_3($$this$unsafeFlow, resultContinuation) {
|
|
1106
|
-
this.
|
|
1106
|
+
this.d9k_1 = $$this$unsafeFlow;
|
|
1107
1107
|
CoroutineImpl.call(this, resultContinuation);
|
|
1108
1108
|
}
|
|
1109
1109
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).u2h = function (value, $completion) {
|
|
@@ -1123,8 +1123,8 @@
|
|
|
1123
1123
|
switch (tmp) {
|
|
1124
1124
|
case 0:
|
|
1125
1125
|
this.s8_1 = 2;
|
|
1126
|
-
var tmp0 = this.
|
|
1127
|
-
var value = this.
|
|
1126
|
+
var tmp0 = this.d9k_1;
|
|
1127
|
+
var value = this.e9k_1;
|
|
1128
1128
|
this.r8_1 = 1;
|
|
1129
1129
|
suspendResult = tmp0.l28(value.me_1, this);
|
|
1130
1130
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1149,8 +1149,8 @@
|
|
|
1149
1149
|
while (true);
|
|
1150
1150
|
};
|
|
1151
1151
|
protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).v2h = function (value, completion) {
|
|
1152
|
-
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.
|
|
1153
|
-
i.
|
|
1152
|
+
var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.d9k_1, completion);
|
|
1153
|
+
i.e9k_1 = value;
|
|
1154
1154
|
return i;
|
|
1155
1155
|
};
|
|
1156
1156
|
function GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($$this$unsafeFlow, resultContinuation) {
|
|
@@ -1163,8 +1163,8 @@
|
|
|
1163
1163
|
}
|
|
1164
1164
|
function $collectCOROUTINE$_3(_this__u8e3s4, collector, resultContinuation) {
|
|
1165
1165
|
CoroutineImpl.call(this, resultContinuation);
|
|
1166
|
-
this.
|
|
1167
|
-
this.
|
|
1166
|
+
this.n9k_1 = _this__u8e3s4;
|
|
1167
|
+
this.o9k_1 = collector;
|
|
1168
1168
|
}
|
|
1169
1169
|
protoOf($collectCOROUTINE$_3).z8 = function () {
|
|
1170
1170
|
var suspendResult = this.t8_1;
|
|
@@ -1174,10 +1174,10 @@
|
|
|
1174
1174
|
switch (tmp) {
|
|
1175
1175
|
case 0:
|
|
1176
1176
|
this.s8_1 = 2;
|
|
1177
|
-
var $this$unsafeFlow = this.
|
|
1177
|
+
var $this$unsafeFlow = this.o9k_1;
|
|
1178
1178
|
this.r8_1 = 1;
|
|
1179
1179
|
var tmp_0 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($this$unsafeFlow, null);
|
|
1180
|
-
suspendResult = this.
|
|
1180
|
+
suspendResult = this.n9k_1.p9k_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), this);
|
|
1181
1181
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1182
1182
|
return suspendResult;
|
|
1183
1183
|
}
|
|
@@ -1200,17 +1200,17 @@
|
|
|
1200
1200
|
while (true);
|
|
1201
1201
|
};
|
|
1202
1202
|
function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
|
|
1203
|
-
this.
|
|
1203
|
+
this.y9k_1 = $subscriber;
|
|
1204
1204
|
CoroutineImpl.call(this, resultContinuation);
|
|
1205
1205
|
}
|
|
1206
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1207
|
-
var tmp = this.
|
|
1206
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).a9l = function (it, $completion) {
|
|
1207
|
+
var tmp = this.b9l(it, $completion);
|
|
1208
1208
|
tmp.t8_1 = Unit_instance;
|
|
1209
1209
|
tmp.u8_1 = null;
|
|
1210
1210
|
return tmp.z8();
|
|
1211
1211
|
};
|
|
1212
1212
|
protoOf(GameServer$subscribeWith$slambda$slambda).h9 = function (p1, $completion) {
|
|
1213
|
-
return this.
|
|
1213
|
+
return this.a9l(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
|
|
1214
1214
|
};
|
|
1215
1215
|
protoOf(GameServer$subscribeWith$slambda$slambda).z8 = function () {
|
|
1216
1216
|
var suspendResult = this.t8_1;
|
|
@@ -1219,7 +1219,7 @@
|
|
|
1219
1219
|
var tmp = this.r8_1;
|
|
1220
1220
|
if (tmp === 0) {
|
|
1221
1221
|
this.s8_1 = 1;
|
|
1222
|
-
this.
|
|
1222
|
+
this.y9k_1(this.z9k_1);
|
|
1223
1223
|
return Unit_instance;
|
|
1224
1224
|
} else if (tmp === 1) {
|
|
1225
1225
|
throw this.u8_1;
|
|
@@ -1230,83 +1230,83 @@
|
|
|
1230
1230
|
}
|
|
1231
1231
|
while (true);
|
|
1232
1232
|
};
|
|
1233
|
-
protoOf(GameServer$subscribeWith$slambda$slambda).
|
|
1234
|
-
var i = new GameServer$subscribeWith$slambda$slambda(this.
|
|
1235
|
-
i.
|
|
1233
|
+
protoOf(GameServer$subscribeWith$slambda$slambda).b9l = function (it, completion) {
|
|
1234
|
+
var i = new GameServer$subscribeWith$slambda$slambda(this.y9k_1, completion);
|
|
1235
|
+
i.z9k_1 = it;
|
|
1236
1236
|
return i;
|
|
1237
1237
|
};
|
|
1238
1238
|
function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
|
|
1239
1239
|
var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
|
|
1240
1240
|
var l = function (it, $completion) {
|
|
1241
|
-
return i.
|
|
1241
|
+
return i.a9l(it, $completion);
|
|
1242
1242
|
};
|
|
1243
1243
|
l.$arity = 1;
|
|
1244
1244
|
return l;
|
|
1245
1245
|
}
|
|
1246
1246
|
function GameServer$roomOnCreate$2$updatedUsers$previousTeams$1($playerId) {
|
|
1247
|
-
this.
|
|
1247
|
+
this.c9l_1 = $playerId;
|
|
1248
1248
|
}
|
|
1249
1249
|
protoOf(GameServer$roomOnCreate$2$updatedUsers$previousTeams$1).t65 = function () {
|
|
1250
|
-
return this.
|
|
1250
|
+
return this.c9l_1;
|
|
1251
1251
|
};
|
|
1252
1252
|
function _get_logger__rkp4sl($this) {
|
|
1253
|
-
var tmp0 = $this.
|
|
1253
|
+
var tmp0 = $this.f9l_1;
|
|
1254
1254
|
var tmp = KProperty1;
|
|
1255
1255
|
// Inline function 'kotlin.getValue' call
|
|
1256
1256
|
getPropertyCallableRef('logger', 1, tmp, GameServer$_get_logger_$ref_fogce1_0(), null);
|
|
1257
1257
|
return tmp0.w();
|
|
1258
1258
|
}
|
|
1259
1259
|
function _get_toClientEventsObserver__6rp51y($this) {
|
|
1260
|
-
var tmp0 = $this.
|
|
1260
|
+
var tmp0 = $this.g9l_1;
|
|
1261
1261
|
var tmp = KProperty1;
|
|
1262
1262
|
// Inline function 'kotlin.getValue' call
|
|
1263
1263
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, GameServer$_get_toClientEventsObserver_$ref_utir8s_0(), null);
|
|
1264
1264
|
return tmp0.w();
|
|
1265
1265
|
}
|
|
1266
1266
|
function _get_fromClientEventsObserver__a7vzd3($this) {
|
|
1267
|
-
var tmp0 = $this.
|
|
1267
|
+
var tmp0 = $this.h9l_1;
|
|
1268
1268
|
var tmp = KProperty1;
|
|
1269
1269
|
// Inline function 'kotlin.getValue' call
|
|
1270
1270
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, GameServer$_get_fromClientEventsObserver_$ref_nf1g79_0(), null);
|
|
1271
1271
|
return tmp0.w();
|
|
1272
1272
|
}
|
|
1273
1273
|
function _get_playerConnectionInteractor__si6cxf($this) {
|
|
1274
|
-
var tmp0 = $this.
|
|
1274
|
+
var tmp0 = $this.i9l_1;
|
|
1275
1275
|
var tmp = KProperty1;
|
|
1276
1276
|
// Inline function 'kotlin.getValue' call
|
|
1277
1277
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, GameServer$_get_playerConnectionInteractor_$ref_of8tan_0(), null);
|
|
1278
1278
|
return tmp0.w();
|
|
1279
1279
|
}
|
|
1280
1280
|
function _get_teamsLogicProvider__u10pm6($this) {
|
|
1281
|
-
var tmp0 = $this.
|
|
1281
|
+
var tmp0 = $this.j9l_1;
|
|
1282
1282
|
var tmp = KProperty1;
|
|
1283
1283
|
// Inline function 'kotlin.getValue' call
|
|
1284
1284
|
getPropertyCallableRef('teamsLogicProvider', 1, tmp, GameServer$_get_teamsLogicProvider_$ref_b7y54g_0(), null);
|
|
1285
1285
|
return tmp0.w();
|
|
1286
1286
|
}
|
|
1287
1287
|
function _get_random__h29cgo($this) {
|
|
1288
|
-
var tmp0 = $this.
|
|
1288
|
+
var tmp0 = $this.k9l_1;
|
|
1289
1289
|
var tmp = KProperty1;
|
|
1290
1290
|
// Inline function 'kotlin.getValue' call
|
|
1291
1291
|
getPropertyCallableRef('random', 1, tmp, GameServer$_get_random_$ref_fottnq(), null);
|
|
1292
1292
|
return tmp0.w();
|
|
1293
1293
|
}
|
|
1294
1294
|
function _get_idsProvider__fnfajc($this) {
|
|
1295
|
-
var tmp0 = $this.
|
|
1295
|
+
var tmp0 = $this.l9l_1;
|
|
1296
1296
|
var tmp = KProperty1;
|
|
1297
1297
|
// Inline function 'kotlin.getValue' call
|
|
1298
1298
|
getPropertyCallableRef('idsProvider', 1, tmp, GameServer$_get_idsProvider_$ref_89s908_0(), null);
|
|
1299
1299
|
return tmp0.w();
|
|
1300
1300
|
}
|
|
1301
1301
|
function _get_serverReduxConfig__rprcrm($this) {
|
|
1302
|
-
var tmp0 = $this.
|
|
1302
|
+
var tmp0 = $this.m9l_1;
|
|
1303
1303
|
var tmp = KProperty1;
|
|
1304
1304
|
// Inline function 'kotlin.getValue' call
|
|
1305
1305
|
getPropertyCallableRef('serverReduxConfig', 1, tmp, GameServer$_get_serverReduxConfig_$ref_7h6jq6_0(), null);
|
|
1306
1306
|
return tmp0.w();
|
|
1307
1307
|
}
|
|
1308
1308
|
function _get_encoderDecoderProvider__qqgrji($this) {
|
|
1309
|
-
var tmp0 = $this.
|
|
1309
|
+
var tmp0 = $this.n9l_1;
|
|
1310
1310
|
var tmp = KProperty1;
|
|
1311
1311
|
// Inline function 'kotlin.getValue' call
|
|
1312
1312
|
getPropertyCallableRef('encoderDecoderProvider', 1, tmp, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8_0(), null);
|
|
@@ -1334,20 +1334,20 @@
|
|
|
1334
1334
|
return new GameServer$observeTableWhenRoundChanges$$inlined$map$2(this_1);
|
|
1335
1335
|
}
|
|
1336
1336
|
function Companion() {
|
|
1337
|
-
this.
|
|
1337
|
+
this.q9l_1 = 'GameEngine_API';
|
|
1338
1338
|
}
|
|
1339
1339
|
var Companion_instance_7;
|
|
1340
1340
|
function Companion_getInstance_0() {
|
|
1341
1341
|
return Companion_instance_7;
|
|
1342
1342
|
}
|
|
1343
1343
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
1344
|
-
this.
|
|
1344
|
+
this.r9l_1 = function_0;
|
|
1345
1345
|
}
|
|
1346
1346
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).l28 = function (value, $completion) {
|
|
1347
|
-
return this.
|
|
1347
|
+
return this.r9l_1(value, $completion);
|
|
1348
1348
|
};
|
|
1349
1349
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).a3 = function () {
|
|
1350
|
-
return this.
|
|
1350
|
+
return this.r9l_1;
|
|
1351
1351
|
};
|
|
1352
1352
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
1353
1353
|
var tmp;
|
|
@@ -1368,13 +1368,13 @@
|
|
|
1368
1368
|
return hashCode(this.a3());
|
|
1369
1369
|
};
|
|
1370
1370
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
1371
|
-
this.
|
|
1371
|
+
this.s9l_1 = function_0;
|
|
1372
1372
|
}
|
|
1373
1373
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).l28 = function (value, $completion) {
|
|
1374
|
-
return this.
|
|
1374
|
+
return this.s9l_1(value, $completion);
|
|
1375
1375
|
};
|
|
1376
1376
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).a3 = function () {
|
|
1377
|
-
return this.
|
|
1377
|
+
return this.s9l_1;
|
|
1378
1378
|
};
|
|
1379
1379
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
|
|
1380
1380
|
var tmp;
|
|
@@ -1395,13 +1395,13 @@
|
|
|
1395
1395
|
return hashCode(this.a3());
|
|
1396
1396
|
};
|
|
1397
1397
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
|
|
1398
|
-
this.
|
|
1398
|
+
this.t9l_1 = function_0;
|
|
1399
1399
|
}
|
|
1400
1400
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).l28 = function (value, $completion) {
|
|
1401
|
-
return this.
|
|
1401
|
+
return this.t9l_1(value, $completion);
|
|
1402
1402
|
};
|
|
1403
1403
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).a3 = function () {
|
|
1404
|
-
return this.
|
|
1404
|
+
return this.t9l_1;
|
|
1405
1405
|
};
|
|
1406
1406
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
|
|
1407
1407
|
var tmp;
|
|
@@ -1422,13 +1422,13 @@
|
|
|
1422
1422
|
return hashCode(this.a3());
|
|
1423
1423
|
};
|
|
1424
1424
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
|
|
1425
|
-
this.
|
|
1425
|
+
this.u9l_1 = function_0;
|
|
1426
1426
|
}
|
|
1427
1427
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).l28 = function (value, $completion) {
|
|
1428
|
-
return this.
|
|
1428
|
+
return this.u9l_1(value, $completion);
|
|
1429
1429
|
};
|
|
1430
1430
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).a3 = function () {
|
|
1431
|
-
return this.
|
|
1431
|
+
return this.u9l_1;
|
|
1432
1432
|
};
|
|
1433
1433
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
|
|
1434
1434
|
var tmp;
|
|
@@ -1449,13 +1449,13 @@
|
|
|
1449
1449
|
return hashCode(this.a3());
|
|
1450
1450
|
};
|
|
1451
1451
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_3(function_0) {
|
|
1452
|
-
this.
|
|
1452
|
+
this.v9l_1 = function_0;
|
|
1453
1453
|
}
|
|
1454
1454
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).l28 = function (value, $completion) {
|
|
1455
|
-
return this.
|
|
1455
|
+
return this.v9l_1(value, $completion);
|
|
1456
1456
|
};
|
|
1457
1457
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).a3 = function () {
|
|
1458
|
-
return this.
|
|
1458
|
+
return this.v9l_1;
|
|
1459
1459
|
};
|
|
1460
1460
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).equals = function (other) {
|
|
1461
1461
|
var tmp;
|
|
@@ -1476,13 +1476,13 @@
|
|
|
1476
1476
|
return hashCode(this.a3());
|
|
1477
1477
|
};
|
|
1478
1478
|
function sam$kotlinx_coroutines_flow_FlowCollector$0_4(function_0) {
|
|
1479
|
-
this.
|
|
1479
|
+
this.w9l_1 = function_0;
|
|
1480
1480
|
}
|
|
1481
1481
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).l28 = function (value, $completion) {
|
|
1482
|
-
return this.
|
|
1482
|
+
return this.w9l_1(value, $completion);
|
|
1483
1483
|
};
|
|
1484
1484
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).a3 = function () {
|
|
1485
|
-
return this.
|
|
1485
|
+
return this.w9l_1;
|
|
1486
1486
|
};
|
|
1487
1487
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).equals = function (other) {
|
|
1488
1488
|
var tmp;
|
|
@@ -1593,8 +1593,8 @@
|
|
|
1593
1593
|
};
|
|
1594
1594
|
}
|
|
1595
1595
|
function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
|
|
1596
|
-
this.
|
|
1597
|
-
this.
|
|
1596
|
+
this.f9m_1 = this$0;
|
|
1597
|
+
this.g9m_1 = $subscriber;
|
|
1598
1598
|
CoroutineImpl.call(this, resultContinuation);
|
|
1599
1599
|
}
|
|
1600
1600
|
protoOf(GameServer$subscribeToClientAction$slambda).z2c = function ($this$launchDefault, $completion) {
|
|
@@ -1615,8 +1615,8 @@
|
|
|
1615
1615
|
case 0:
|
|
1616
1616
|
this.s8_1 = 2;
|
|
1617
1617
|
this.r8_1 = 1;
|
|
1618
|
-
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.
|
|
1619
|
-
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.
|
|
1618
|
+
var tmp_0 = _get_toClientEventsObserver__6rp51y(this.f9m_1).i9m();
|
|
1619
|
+
var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.g9m_1, null);
|
|
1620
1620
|
suspendResult = tmp_0.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
1621
1621
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1622
1622
|
return suspendResult;
|
|
@@ -1640,8 +1640,8 @@
|
|
|
1640
1640
|
while (true);
|
|
1641
1641
|
};
|
|
1642
1642
|
protoOf(GameServer$subscribeToClientAction$slambda).a2d = function ($this$launchDefault, completion) {
|
|
1643
|
-
var i = new GameServer$subscribeToClientAction$slambda(this.
|
|
1644
|
-
i.
|
|
1643
|
+
var i = new GameServer$subscribeToClientAction$slambda(this.f9m_1, this.g9m_1, completion);
|
|
1644
|
+
i.h9m_1 = $this$launchDefault;
|
|
1645
1645
|
return i;
|
|
1646
1646
|
};
|
|
1647
1647
|
function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1653,8 +1653,8 @@
|
|
|
1653
1653
|
return l;
|
|
1654
1654
|
}
|
|
1655
1655
|
function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
|
|
1656
|
-
this.
|
|
1657
|
-
this.
|
|
1656
|
+
this.r9m_1 = this$0;
|
|
1657
|
+
this.s9m_1 = $subscriber;
|
|
1658
1658
|
CoroutineImpl.call(this, resultContinuation);
|
|
1659
1659
|
}
|
|
1660
1660
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).z2c = function ($this$launchDefault, $completion) {
|
|
@@ -1675,8 +1675,8 @@
|
|
|
1675
1675
|
case 0:
|
|
1676
1676
|
this.s8_1 = 2;
|
|
1677
1677
|
this.r8_1 = 1;
|
|
1678
|
-
var tmp_0 = observeTableStateUpdates(this.
|
|
1679
|
-
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.
|
|
1678
|
+
var tmp_0 = observeTableStateUpdates(this.r9m_1);
|
|
1679
|
+
var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.s9m_1, null);
|
|
1680
1680
|
suspendResult = tmp_0.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
|
|
1681
1681
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1682
1682
|
return suspendResult;
|
|
@@ -1700,8 +1700,8 @@
|
|
|
1700
1700
|
while (true);
|
|
1701
1701
|
};
|
|
1702
1702
|
protoOf(GameServer$subscribeServerStateUpdate$slambda).a2d = function ($this$launchDefault, completion) {
|
|
1703
|
-
var i = new GameServer$subscribeServerStateUpdate$slambda(this.
|
|
1704
|
-
i.
|
|
1703
|
+
var i = new GameServer$subscribeServerStateUpdate$slambda(this.r9m_1, this.s9m_1, completion);
|
|
1704
|
+
i.t9m_1 = $this$launchDefault;
|
|
1705
1705
|
return i;
|
|
1706
1706
|
};
|
|
1707
1707
|
function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1713,8 +1713,8 @@
|
|
|
1713
1713
|
return l;
|
|
1714
1714
|
}
|
|
1715
1715
|
function GameServer$subscribeServerStateUpdateJson$slambda(this$0, $subscriber, resultContinuation) {
|
|
1716
|
-
this.
|
|
1717
|
-
this.
|
|
1716
|
+
this.c9n_1 = this$0;
|
|
1717
|
+
this.d9n_1 = $subscriber;
|
|
1718
1718
|
CoroutineImpl.call(this, resultContinuation);
|
|
1719
1719
|
}
|
|
1720
1720
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).z2c = function ($this$launchDefault, $completion) {
|
|
@@ -1735,9 +1735,9 @@
|
|
|
1735
1735
|
case 0:
|
|
1736
1736
|
this.s8_1 = 2;
|
|
1737
1737
|
this.r8_1 = 1;
|
|
1738
|
-
var this_0 = observeTableStateUpdates(this.
|
|
1739
|
-
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.
|
|
1740
|
-
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.
|
|
1738
|
+
var this_0 = observeTableStateUpdates(this.c9n_1);
|
|
1739
|
+
var tmp_0 = new GameServer$subscribeServerStateUpdateJson$2$$inlined$map$1(this_0, this.c9n_1);
|
|
1740
|
+
var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.d9n_1, null);
|
|
1741
1741
|
suspendResult = tmp_0.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
|
|
1742
1742
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1743
1743
|
return suspendResult;
|
|
@@ -1761,8 +1761,8 @@
|
|
|
1761
1761
|
while (true);
|
|
1762
1762
|
};
|
|
1763
1763
|
protoOf(GameServer$subscribeServerStateUpdateJson$slambda).a2d = function ($this$launchDefault, completion) {
|
|
1764
|
-
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.
|
|
1765
|
-
i.
|
|
1764
|
+
var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.c9n_1, this.d9n_1, completion);
|
|
1765
|
+
i.e9n_1 = $this$launchDefault;
|
|
1766
1766
|
return i;
|
|
1767
1767
|
};
|
|
1768
1768
|
function GameServer$subscribeServerStateUpdateJson$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1774,18 +1774,18 @@
|
|
|
1774
1774
|
return l;
|
|
1775
1775
|
}
|
|
1776
1776
|
function GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation) {
|
|
1777
|
-
this.
|
|
1777
|
+
this.n9n_1 = this$0;
|
|
1778
1778
|
CoroutineImpl.call(this, resultContinuation);
|
|
1779
1779
|
}
|
|
1780
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
1781
|
-
var tmp = this.
|
|
1780
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).q9n = function ($this$transformLatest, it, $completion) {
|
|
1781
|
+
var tmp = this.r9n($this$transformLatest, it, $completion);
|
|
1782
1782
|
tmp.t8_1 = Unit_instance;
|
|
1783
1783
|
tmp.u8_1 = null;
|
|
1784
1784
|
return tmp.z8();
|
|
1785
1785
|
};
|
|
1786
1786
|
protoOf(GameServer$observeTableStateUpdates$slambda).i9 = function (p1, p2, $completion) {
|
|
1787
1787
|
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
1788
|
-
return this.
|
|
1788
|
+
return this.q9n(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
|
|
1789
1789
|
};
|
|
1790
1790
|
protoOf(GameServer$observeTableStateUpdates$slambda).z8 = function () {
|
|
1791
1791
|
var suspendResult = this.t8_1;
|
|
@@ -1796,8 +1796,8 @@
|
|
|
1796
1796
|
case 0:
|
|
1797
1797
|
this.s8_1 = 2;
|
|
1798
1798
|
this.r8_1 = 1;
|
|
1799
|
-
var table = this.
|
|
1800
|
-
suspendResult = emitAll(this.
|
|
1799
|
+
var table = this.p9n_1;
|
|
1800
|
+
suspendResult = emitAll(this.o9n_1, flow(GameServer$observeTableStateUpdates$slambda$slambda_0(table, this.n9n_1, null)), this);
|
|
1801
1801
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1802
1802
|
return suspendResult;
|
|
1803
1803
|
}
|
|
@@ -1819,22 +1819,22 @@
|
|
|
1819
1819
|
}
|
|
1820
1820
|
while (true);
|
|
1821
1821
|
};
|
|
1822
|
-
protoOf(GameServer$observeTableStateUpdates$slambda).
|
|
1823
|
-
var i = new GameServer$observeTableStateUpdates$slambda(this.
|
|
1824
|
-
i.
|
|
1825
|
-
i.
|
|
1822
|
+
protoOf(GameServer$observeTableStateUpdates$slambda).r9n = function ($this$transformLatest, it, completion) {
|
|
1823
|
+
var i = new GameServer$observeTableStateUpdates$slambda(this.n9n_1, completion);
|
|
1824
|
+
i.o9n_1 = $this$transformLatest;
|
|
1825
|
+
i.p9n_1 = it;
|
|
1826
1826
|
return i;
|
|
1827
1827
|
};
|
|
1828
1828
|
function GameServer$observeTableStateUpdates$slambda_0(this$0, resultContinuation) {
|
|
1829
1829
|
var i = new GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation);
|
|
1830
1830
|
var l = function ($this$transformLatest, it, $completion) {
|
|
1831
|
-
return i.
|
|
1831
|
+
return i.q9n($this$transformLatest, it, $completion);
|
|
1832
1832
|
};
|
|
1833
1833
|
l.$arity = 2;
|
|
1834
1834
|
return l;
|
|
1835
1835
|
}
|
|
1836
1836
|
function GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1($this) {
|
|
1837
|
-
this.
|
|
1837
|
+
this.z9i_1 = $this;
|
|
1838
1838
|
}
|
|
1839
1839
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$mapNotNull$1).m28 = function (collector, $completion) {
|
|
1840
1840
|
var tmp = new $collectCOROUTINE$_1(this, collector, $completion);
|
|
@@ -1846,7 +1846,7 @@
|
|
|
1846
1846
|
return this.m28(collector, $completion);
|
|
1847
1847
|
};
|
|
1848
1848
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$1($this) {
|
|
1849
|
-
this.
|
|
1849
|
+
this.u9j_1 = $this;
|
|
1850
1850
|
}
|
|
1851
1851
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$1).m28 = function (collector, $completion) {
|
|
1852
1852
|
var tmp = new $collectCOROUTINE$_2(this, collector, $completion);
|
|
@@ -1861,7 +1861,7 @@
|
|
|
1861
1861
|
return old.le_1 === new_0.le_1;
|
|
1862
1862
|
}
|
|
1863
1863
|
function GameServer$observeTableWhenRoundChanges$$inlined$map$2($this) {
|
|
1864
|
-
this.
|
|
1864
|
+
this.p9k_1 = $this;
|
|
1865
1865
|
}
|
|
1866
1866
|
protoOf(GameServer$observeTableWhenRoundChanges$$inlined$map$2).m28 = function (collector, $completion) {
|
|
1867
1867
|
var tmp = new $collectCOROUTINE$_3(this, collector, $completion);
|
|
@@ -1873,8 +1873,8 @@
|
|
|
1873
1873
|
return this.m28(collector, $completion);
|
|
1874
1874
|
};
|
|
1875
1875
|
function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
|
|
1876
|
-
this.
|
|
1877
|
-
this.
|
|
1876
|
+
this.a9o_1 = this$0;
|
|
1877
|
+
this.b9o_1 = $subscriber;
|
|
1878
1878
|
CoroutineImpl.call(this, resultContinuation);
|
|
1879
1879
|
}
|
|
1880
1880
|
protoOf(GameServer$subscribeWith$slambda).z2c = function ($this$launchDefault, $completion) {
|
|
@@ -1895,8 +1895,8 @@
|
|
|
1895
1895
|
case 0:
|
|
1896
1896
|
this.s8_1 = 2;
|
|
1897
1897
|
this.r8_1 = 1;
|
|
1898
|
-
var tmp_0 = distinctUntilChanged(this.
|
|
1899
|
-
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.
|
|
1898
|
+
var tmp_0 = distinctUntilChanged(this.a9o_1.k6m());
|
|
1899
|
+
var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.b9o_1, null);
|
|
1900
1900
|
suspendResult = tmp_0.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_4(tmp_1), this);
|
|
1901
1901
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1902
1902
|
return suspendResult;
|
|
@@ -1920,8 +1920,8 @@
|
|
|
1920
1920
|
while (true);
|
|
1921
1921
|
};
|
|
1922
1922
|
protoOf(GameServer$subscribeWith$slambda).a2d = function ($this$launchDefault, completion) {
|
|
1923
|
-
var i = new GameServer$subscribeWith$slambda(this.
|
|
1924
|
-
i.
|
|
1923
|
+
var i = new GameServer$subscribeWith$slambda(this.a9o_1, this.b9o_1, completion);
|
|
1924
|
+
i.c9o_1 = $this$launchDefault;
|
|
1925
1925
|
return i;
|
|
1926
1926
|
};
|
|
1927
1927
|
function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
|
|
@@ -1933,18 +1933,18 @@
|
|
|
1933
1933
|
return l;
|
|
1934
1934
|
}
|
|
1935
1935
|
function GameServer$fromClientEvent$slambda($action, resultContinuation) {
|
|
1936
|
-
this.
|
|
1936
|
+
this.l9o_1 = $action;
|
|
1937
1937
|
CoroutineImpl.call(this, resultContinuation);
|
|
1938
1938
|
}
|
|
1939
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
1940
|
-
var tmp = this.
|
|
1939
|
+
protoOf(GameServer$fromClientEvent$slambda).o9o = function ($this$dispatchAsync, store, $completion) {
|
|
1940
|
+
var tmp = this.p9o($this$dispatchAsync, store, $completion);
|
|
1941
1941
|
tmp.t8_1 = Unit_instance;
|
|
1942
1942
|
tmp.u8_1 = null;
|
|
1943
1943
|
return tmp.z8();
|
|
1944
1944
|
};
|
|
1945
1945
|
protoOf(GameServer$fromClientEvent$slambda).i9 = function (p1, p2, $completion) {
|
|
1946
1946
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1947
|
-
return this.
|
|
1947
|
+
return this.o9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1948
1948
|
};
|
|
1949
1949
|
protoOf(GameServer$fromClientEvent$slambda).z8 = function () {
|
|
1950
1950
|
var suspendResult = this.t8_1;
|
|
@@ -1953,11 +1953,11 @@
|
|
|
1953
1953
|
var tmp = this.r8_1;
|
|
1954
1954
|
if (tmp === 0) {
|
|
1955
1955
|
this.s8_1 = 1;
|
|
1956
|
-
if (this.
|
|
1957
|
-
if (!get_isCreated(this.
|
|
1956
|
+
if (this.l9o_1 instanceof PlayerReadyFromClientAction)
|
|
1957
|
+
if (!get_isCreated(this.n9o_1.state)) {
|
|
1958
1958
|
return Unit_instance;
|
|
1959
1959
|
}
|
|
1960
|
-
this.
|
|
1960
|
+
this.n9o_1.dispatch(this.l9o_1);
|
|
1961
1961
|
return Unit_instance;
|
|
1962
1962
|
} else if (tmp === 1) {
|
|
1963
1963
|
throw this.u8_1;
|
|
@@ -1968,33 +1968,33 @@
|
|
|
1968
1968
|
}
|
|
1969
1969
|
while (true);
|
|
1970
1970
|
};
|
|
1971
|
-
protoOf(GameServer$fromClientEvent$slambda).
|
|
1972
|
-
var i = new GameServer$fromClientEvent$slambda(this.
|
|
1973
|
-
i.
|
|
1974
|
-
i.
|
|
1971
|
+
protoOf(GameServer$fromClientEvent$slambda).p9o = function ($this$dispatchAsync, store, completion) {
|
|
1972
|
+
var i = new GameServer$fromClientEvent$slambda(this.l9o_1, completion);
|
|
1973
|
+
i.m9o_1 = $this$dispatchAsync;
|
|
1974
|
+
i.n9o_1 = store;
|
|
1975
1975
|
return i;
|
|
1976
1976
|
};
|
|
1977
1977
|
function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
|
|
1978
1978
|
var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
|
|
1979
1979
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
1980
|
-
return i.
|
|
1980
|
+
return i.o9o($this$dispatchAsync, store, $completion);
|
|
1981
1981
|
};
|
|
1982
1982
|
l.$arity = 2;
|
|
1983
1983
|
return l;
|
|
1984
1984
|
}
|
|
1985
1985
|
function GameServer$playerLostConnection$slambda($playerId, resultContinuation) {
|
|
1986
|
-
this.
|
|
1986
|
+
this.y9o_1 = $playerId;
|
|
1987
1987
|
CoroutineImpl.call(this, resultContinuation);
|
|
1988
1988
|
}
|
|
1989
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
1990
|
-
var tmp = this.
|
|
1989
|
+
protoOf(GameServer$playerLostConnection$slambda).o9o = function ($this$dispatchAsync, store, $completion) {
|
|
1990
|
+
var tmp = this.p9o($this$dispatchAsync, store, $completion);
|
|
1991
1991
|
tmp.t8_1 = Unit_instance;
|
|
1992
1992
|
tmp.u8_1 = null;
|
|
1993
1993
|
return tmp.z8();
|
|
1994
1994
|
};
|
|
1995
1995
|
protoOf(GameServer$playerLostConnection$slambda).i9 = function (p1, p2, $completion) {
|
|
1996
1996
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
1997
|
-
return this.
|
|
1997
|
+
return this.o9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
1998
1998
|
};
|
|
1999
1999
|
protoOf(GameServer$playerLostConnection$slambda).z8 = function () {
|
|
2000
2000
|
var suspendResult = this.t8_1;
|
|
@@ -2003,12 +2003,12 @@
|
|
|
2003
2003
|
var tmp = this.r8_1;
|
|
2004
2004
|
if (tmp === 0) {
|
|
2005
2005
|
this.s8_1 = 1;
|
|
2006
|
-
if (!get_isCreated(this.
|
|
2006
|
+
if (!get_isCreated(this.a9p_1.state)) {
|
|
2007
2007
|
return Unit_instance;
|
|
2008
2008
|
}
|
|
2009
|
-
var tmp_0 = this.
|
|
2009
|
+
var tmp_0 = this.a9p_1.dispatch;
|
|
2010
2010
|
var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
2011
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2011
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.y9o_1));
|
|
2012
2012
|
return Unit_instance;
|
|
2013
2013
|
} else if (tmp === 1) {
|
|
2014
2014
|
throw this.u8_1;
|
|
@@ -2019,34 +2019,34 @@
|
|
|
2019
2019
|
}
|
|
2020
2020
|
while (true);
|
|
2021
2021
|
};
|
|
2022
|
-
protoOf(GameServer$playerLostConnection$slambda).
|
|
2023
|
-
var i = new GameServer$playerLostConnection$slambda(this.
|
|
2024
|
-
i.
|
|
2025
|
-
i.
|
|
2022
|
+
protoOf(GameServer$playerLostConnection$slambda).p9o = function ($this$dispatchAsync, store, completion) {
|
|
2023
|
+
var i = new GameServer$playerLostConnection$slambda(this.y9o_1, completion);
|
|
2024
|
+
i.z9o_1 = $this$dispatchAsync;
|
|
2025
|
+
i.a9p_1 = store;
|
|
2026
2026
|
return i;
|
|
2027
2027
|
};
|
|
2028
2028
|
function GameServer$playerLostConnection$slambda_0($playerId, resultContinuation) {
|
|
2029
2029
|
var i = new GameServer$playerLostConnection$slambda($playerId, resultContinuation);
|
|
2030
2030
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2031
|
-
return i.
|
|
2031
|
+
return i.o9o($this$dispatchAsync, store, $completion);
|
|
2032
2032
|
};
|
|
2033
2033
|
l.$arity = 2;
|
|
2034
2034
|
return l;
|
|
2035
2035
|
}
|
|
2036
2036
|
function GameServer$playerLive$slambda(this$0, $playerId, resultContinuation) {
|
|
2037
|
-
this.
|
|
2038
|
-
this.
|
|
2037
|
+
this.j9p_1 = this$0;
|
|
2038
|
+
this.k9p_1 = $playerId;
|
|
2039
2039
|
CoroutineImpl.call(this, resultContinuation);
|
|
2040
2040
|
}
|
|
2041
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2042
|
-
var tmp = this.
|
|
2041
|
+
protoOf(GameServer$playerLive$slambda).o9o = function ($this$dispatchAsync, store, $completion) {
|
|
2042
|
+
var tmp = this.p9o($this$dispatchAsync, store, $completion);
|
|
2043
2043
|
tmp.t8_1 = Unit_instance;
|
|
2044
2044
|
tmp.u8_1 = null;
|
|
2045
2045
|
return tmp.z8();
|
|
2046
2046
|
};
|
|
2047
2047
|
protoOf(GameServer$playerLive$slambda).i9 = function (p1, p2, $completion) {
|
|
2048
2048
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2049
|
-
return this.
|
|
2049
|
+
return this.o9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2050
2050
|
};
|
|
2051
2051
|
protoOf(GameServer$playerLive$slambda).z8 = function () {
|
|
2052
2052
|
var suspendResult = this.t8_1;
|
|
@@ -2055,16 +2055,16 @@
|
|
|
2055
2055
|
var tmp = this.r8_1;
|
|
2056
2056
|
if (tmp === 0) {
|
|
2057
2057
|
this.s8_1 = 1;
|
|
2058
|
-
if (get_isFinished(this.
|
|
2058
|
+
if (get_isFinished(this.m9p_1.state) || get_isFinishing(this.m9p_1.state)) {
|
|
2059
2059
|
return Unit_instance;
|
|
2060
2060
|
}
|
|
2061
|
-
if (!get_isCreated(this.
|
|
2062
|
-
_get_logger__rkp4sl(this.
|
|
2061
|
+
if (!get_isCreated(this.m9p_1.state) || !this.j9p_1.s66().n6n()) {
|
|
2062
|
+
_get_logger__rkp4sl(this.j9p_1).w('GameEngine_API', 'playerLive: ' + this.k9p_1 + ' before game is created');
|
|
2063
2063
|
return Unit_instance;
|
|
2064
2064
|
}
|
|
2065
|
-
var tmp_0 = this.
|
|
2065
|
+
var tmp_0 = this.m9p_1.dispatch;
|
|
2066
2066
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2067
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2067
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.k9p_1));
|
|
2068
2068
|
return Unit_instance;
|
|
2069
2069
|
} else if (tmp === 1) {
|
|
2070
2070
|
throw this.u8_1;
|
|
@@ -2075,34 +2075,34 @@
|
|
|
2075
2075
|
}
|
|
2076
2076
|
while (true);
|
|
2077
2077
|
};
|
|
2078
|
-
protoOf(GameServer$playerLive$slambda).
|
|
2079
|
-
var i = new GameServer$playerLive$slambda(this.
|
|
2080
|
-
i.
|
|
2081
|
-
i.
|
|
2078
|
+
protoOf(GameServer$playerLive$slambda).p9o = function ($this$dispatchAsync, store, completion) {
|
|
2079
|
+
var i = new GameServer$playerLive$slambda(this.j9p_1, this.k9p_1, completion);
|
|
2080
|
+
i.l9p_1 = $this$dispatchAsync;
|
|
2081
|
+
i.m9p_1 = store;
|
|
2082
2082
|
return i;
|
|
2083
2083
|
};
|
|
2084
2084
|
function GameServer$playerLive$slambda_0(this$0, $playerId, resultContinuation) {
|
|
2085
2085
|
var i = new GameServer$playerLive$slambda(this$0, $playerId, resultContinuation);
|
|
2086
2086
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2087
|
-
return i.
|
|
2087
|
+
return i.o9o($this$dispatchAsync, store, $completion);
|
|
2088
2088
|
};
|
|
2089
2089
|
l.$arity = 2;
|
|
2090
2090
|
return l;
|
|
2091
2091
|
}
|
|
2092
2092
|
function GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation) {
|
|
2093
|
-
this.
|
|
2094
|
-
this.
|
|
2093
|
+
this.v9p_1 = this$0;
|
|
2094
|
+
this.w9p_1 = $playerId;
|
|
2095
2095
|
CoroutineImpl.call(this, resultContinuation);
|
|
2096
2096
|
}
|
|
2097
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2098
|
-
var tmp = this.
|
|
2097
|
+
protoOf(GameServer$playerLeft$slambda).o9o = function ($this$dispatchAsync, store, $completion) {
|
|
2098
|
+
var tmp = this.p9o($this$dispatchAsync, store, $completion);
|
|
2099
2099
|
tmp.t8_1 = Unit_instance;
|
|
2100
2100
|
tmp.u8_1 = null;
|
|
2101
2101
|
return tmp.z8();
|
|
2102
2102
|
};
|
|
2103
2103
|
protoOf(GameServer$playerLeft$slambda).i9 = function (p1, p2, $completion) {
|
|
2104
2104
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2105
|
-
return this.
|
|
2105
|
+
return this.o9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2106
2106
|
};
|
|
2107
2107
|
protoOf(GameServer$playerLeft$slambda).z8 = function () {
|
|
2108
2108
|
var suspendResult = this.t8_1;
|
|
@@ -2111,16 +2111,16 @@
|
|
|
2111
2111
|
var tmp = this.r8_1;
|
|
2112
2112
|
if (tmp === 0) {
|
|
2113
2113
|
this.s8_1 = 1;
|
|
2114
|
-
if (get_isFinished(this.
|
|
2114
|
+
if (get_isFinished(this.y9p_1.state) || get_isFinishing(this.y9p_1.state)) {
|
|
2115
2115
|
return Unit_instance;
|
|
2116
2116
|
}
|
|
2117
|
-
if (!get_isCreated(this.
|
|
2118
|
-
_get_logger__rkp4sl(this.
|
|
2117
|
+
if (!get_isCreated(this.y9p_1.state) || !this.v9p_1.s66().n6n()) {
|
|
2118
|
+
_get_logger__rkp4sl(this.v9p_1).w('GameEngine_API', 'playerLeft: ' + this.w9p_1 + ' before game is created');
|
|
2119
2119
|
return Unit_instance;
|
|
2120
2120
|
}
|
|
2121
|
-
var tmp_0 = this.
|
|
2121
|
+
var tmp_0 = this.y9p_1.dispatch;
|
|
2122
2122
|
var tmp0_connectionState = PlayerConnectionState_LEFT_getInstance();
|
|
2123
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2123
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.w9p_1));
|
|
2124
2124
|
return Unit_instance;
|
|
2125
2125
|
} else if (tmp === 1) {
|
|
2126
2126
|
throw this.u8_1;
|
|
@@ -2131,39 +2131,39 @@
|
|
|
2131
2131
|
}
|
|
2132
2132
|
while (true);
|
|
2133
2133
|
};
|
|
2134
|
-
protoOf(GameServer$playerLeft$slambda).
|
|
2135
|
-
var i = new GameServer$playerLeft$slambda(this.
|
|
2136
|
-
i.
|
|
2137
|
-
i.
|
|
2134
|
+
protoOf(GameServer$playerLeft$slambda).p9o = function ($this$dispatchAsync, store, completion) {
|
|
2135
|
+
var i = new GameServer$playerLeft$slambda(this.v9p_1, this.w9p_1, completion);
|
|
2136
|
+
i.x9p_1 = $this$dispatchAsync;
|
|
2137
|
+
i.y9p_1 = store;
|
|
2138
2138
|
return i;
|
|
2139
2139
|
};
|
|
2140
2140
|
function GameServer$playerLeft$slambda_0(this$0, $playerId, resultContinuation) {
|
|
2141
2141
|
var i = new GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation);
|
|
2142
2142
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2143
|
-
return i.
|
|
2143
|
+
return i.o9o($this$dispatchAsync, store, $completion);
|
|
2144
2144
|
};
|
|
2145
2145
|
l.$arity = 2;
|
|
2146
2146
|
return l;
|
|
2147
2147
|
}
|
|
2148
2148
|
function GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2149
|
-
this.
|
|
2150
|
-
this.
|
|
2151
|
-
this.
|
|
2152
|
-
this.
|
|
2153
|
-
this.
|
|
2154
|
-
this.
|
|
2155
|
-
this.
|
|
2149
|
+
this.h9q_1 = $usersArray;
|
|
2150
|
+
this.i9q_1 = $config;
|
|
2151
|
+
this.j9q_1 = this$0;
|
|
2152
|
+
this.k9q_1 = $roomId;
|
|
2153
|
+
this.l9q_1 = $transition;
|
|
2154
|
+
this.m9q_1 = $gameCreatorId;
|
|
2155
|
+
this.n9q_1 = $spectators;
|
|
2156
2156
|
CoroutineImpl.call(this, resultContinuation);
|
|
2157
2157
|
}
|
|
2158
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2159
|
-
var tmp = this.
|
|
2158
|
+
protoOf(GameServer$roomOnCreate$slambda).o9o = function ($this$dispatchAsync, store, $completion) {
|
|
2159
|
+
var tmp = this.p9o($this$dispatchAsync, store, $completion);
|
|
2160
2160
|
tmp.t8_1 = Unit_instance;
|
|
2161
2161
|
tmp.u8_1 = null;
|
|
2162
2162
|
return tmp.z8();
|
|
2163
2163
|
};
|
|
2164
2164
|
protoOf(GameServer$roomOnCreate$slambda).i9 = function (p1, p2, $completion) {
|
|
2165
2165
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2166
|
-
return this.
|
|
2166
|
+
return this.o9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2167
2167
|
};
|
|
2168
2168
|
protoOf(GameServer$roomOnCreate$slambda).z8 = function () {
|
|
2169
2169
|
var suspendResult = this.t8_1;
|
|
@@ -2172,21 +2172,21 @@
|
|
|
2172
2172
|
var tmp = this.r8_1;
|
|
2173
2173
|
if (tmp === 0) {
|
|
2174
2174
|
this.s8_1 = 1;
|
|
2175
|
-
var users = toList(this.
|
|
2176
|
-
if (!(this.
|
|
2177
|
-
_get_logger__rkp4sl(this.
|
|
2178
|
-
this.
|
|
2175
|
+
var users = toList(this.h9q_1);
|
|
2176
|
+
if (!(this.i9q_1.playersMode.count === users.o())) {
|
|
2177
|
+
_get_logger__rkp4sl(this.j9q_1).w('GameEngine_API', 'roomOnCreate: wrong player count for game ' + this.k9q_1 + ', config = ' + this.i9q_1.toString() + ', users = ' + toString(users));
|
|
2178
|
+
this.p9q_1.dispatch(Companion_instance.fromTableWithAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.j9q_1.table.isGameFinished, this.j9q_1.table));
|
|
2179
2179
|
return Unit_instance;
|
|
2180
2180
|
}
|
|
2181
2181
|
var tmp_0;
|
|
2182
|
-
if (this.
|
|
2183
|
-
tmp_0 = _get_random__h29cgo(this.
|
|
2182
|
+
if (this.i9q_1.mode.shufflePlayers && this.l9q_1 == null) {
|
|
2183
|
+
tmp_0 = _get_random__h29cgo(this.j9q_1).o5d(toMutableList(users));
|
|
2184
2184
|
} else {
|
|
2185
|
-
var tmp0_safe_receiver = this.
|
|
2185
|
+
var tmp0_safe_receiver = this.l9q_1;
|
|
2186
2186
|
var previousPlayers = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.previousPlayers;
|
|
2187
2187
|
var tmp_1;
|
|
2188
|
-
if (!(previousPlayers == null) && this.
|
|
2189
|
-
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.
|
|
2188
|
+
if (!(previousPlayers == null) && this.i9q_1.playersMode.isTeamGame) {
|
|
2189
|
+
var tmp_2 = _get_teamsLogicProvider__u10pm6(this.j9q_1);
|
|
2190
2190
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(previousPlayers, 10));
|
|
2191
2191
|
var _iterator__ex2g4s = previousPlayers.l();
|
|
2192
2192
|
while (_iterator__ex2g4s.m()) {
|
|
@@ -2217,19 +2217,19 @@
|
|
|
2217
2217
|
destination_1.j(destination_2);
|
|
2218
2218
|
}
|
|
2219
2219
|
var updatedTeams = destination_1;
|
|
2220
|
-
tmp_1 = _get_teamsLogicProvider__u10pm6(this.
|
|
2220
|
+
tmp_1 = _get_teamsLogicProvider__u10pm6(this.j9q_1).f8j(updatedTeams);
|
|
2221
2221
|
} else {
|
|
2222
2222
|
tmp_1 = users;
|
|
2223
2223
|
}
|
|
2224
2224
|
tmp_0 = tmp_1;
|
|
2225
2225
|
}
|
|
2226
2226
|
var updatedUsers = tmp_0;
|
|
2227
|
-
var gameCreatorUser = getPlayer(users, this.
|
|
2228
|
-
var tmp_3 = this.
|
|
2227
|
+
var gameCreatorUser = getPlayer(users, this.m9q_1);
|
|
2228
|
+
var tmp_3 = this.p9q_1.dispatch;
|
|
2229
2229
|
var tmp1_version = get_versionOrDefault(GameEngineConfig_instance);
|
|
2230
2230
|
var tmp2_users = sortWithItem(updatedUsers, gameCreatorUser);
|
|
2231
|
-
var tmp3_spectators = toList(this.
|
|
2232
|
-
tmp_3(new StartGameMechanicAction(this.
|
|
2231
|
+
var tmp3_spectators = toList(this.n9q_1);
|
|
2232
|
+
tmp_3(new StartGameMechanicAction(this.i9q_1, this.k9q_1, tmp1_version, this.m9q_1, tmp2_users, VOID, tmp3_spectators));
|
|
2233
2233
|
return Unit_instance;
|
|
2234
2234
|
} else if (tmp === 1) {
|
|
2235
2235
|
throw this.u8_1;
|
|
@@ -2240,33 +2240,33 @@
|
|
|
2240
2240
|
}
|
|
2241
2241
|
while (true);
|
|
2242
2242
|
};
|
|
2243
|
-
protoOf(GameServer$roomOnCreate$slambda).
|
|
2244
|
-
var i = new GameServer$roomOnCreate$slambda(this.
|
|
2245
|
-
i.
|
|
2246
|
-
i.
|
|
2243
|
+
protoOf(GameServer$roomOnCreate$slambda).p9o = function ($this$dispatchAsync, store, completion) {
|
|
2244
|
+
var i = new GameServer$roomOnCreate$slambda(this.h9q_1, this.i9q_1, this.j9q_1, this.k9q_1, this.l9q_1, this.m9q_1, this.n9q_1, completion);
|
|
2245
|
+
i.o9q_1 = $this$dispatchAsync;
|
|
2246
|
+
i.p9q_1 = store;
|
|
2247
2247
|
return i;
|
|
2248
2248
|
};
|
|
2249
2249
|
function GameServer$roomOnCreate$slambda_0($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
|
|
2250
2250
|
var i = new GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation);
|
|
2251
2251
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2252
|
-
return i.
|
|
2252
|
+
return i.o9o($this$dispatchAsync, store, $completion);
|
|
2253
2253
|
};
|
|
2254
2254
|
l.$arity = 2;
|
|
2255
2255
|
return l;
|
|
2256
2256
|
}
|
|
2257
2257
|
function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
|
|
2258
|
-
this.
|
|
2258
|
+
this.y9q_1 = $state;
|
|
2259
2259
|
CoroutineImpl.call(this, resultContinuation);
|
|
2260
2260
|
}
|
|
2261
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2262
|
-
var tmp = this.
|
|
2261
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).b9r = function ($this$dispatchAwait, store, $completion) {
|
|
2262
|
+
var tmp = this.p9o($this$dispatchAwait, store, $completion);
|
|
2263
2263
|
tmp.t8_1 = Unit_instance;
|
|
2264
2264
|
tmp.u8_1 = null;
|
|
2265
2265
|
return tmp.z8();
|
|
2266
2266
|
};
|
|
2267
2267
|
protoOf(GameServer$roomOnContinueFromState$slambda).i9 = function (p1, p2, $completion) {
|
|
2268
2268
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2269
|
-
return this.
|
|
2269
|
+
return this.b9r(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2270
2270
|
};
|
|
2271
2271
|
protoOf(GameServer$roomOnContinueFromState$slambda).z8 = function () {
|
|
2272
2272
|
var suspendResult = this.t8_1;
|
|
@@ -2275,10 +2275,10 @@
|
|
|
2275
2275
|
var tmp = this.r8_1;
|
|
2276
2276
|
if (tmp === 0) {
|
|
2277
2277
|
this.s8_1 = 1;
|
|
2278
|
-
if (get_isCreating(this.
|
|
2279
|
-
var tmp_0 = this.
|
|
2278
|
+
if (get_isCreating(this.a9r_1.state)) {
|
|
2279
|
+
var tmp_0 = this.a9r_1.dispatch;
|
|
2280
2280
|
var tmp0_reason = new RestartRoundReason(null);
|
|
2281
|
-
var tmp1_table = this.
|
|
2281
|
+
var tmp1_table = this.y9q_1.table;
|
|
2282
2282
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2283
2283
|
return true;
|
|
2284
2284
|
}
|
|
@@ -2292,34 +2292,34 @@
|
|
|
2292
2292
|
}
|
|
2293
2293
|
while (true);
|
|
2294
2294
|
};
|
|
2295
|
-
protoOf(GameServer$roomOnContinueFromState$slambda).
|
|
2296
|
-
var i = new GameServer$roomOnContinueFromState$slambda(this.
|
|
2297
|
-
i.
|
|
2298
|
-
i.
|
|
2295
|
+
protoOf(GameServer$roomOnContinueFromState$slambda).p9o = function ($this$dispatchAwait, store, completion) {
|
|
2296
|
+
var i = new GameServer$roomOnContinueFromState$slambda(this.y9q_1, completion);
|
|
2297
|
+
i.z9q_1 = $this$dispatchAwait;
|
|
2298
|
+
i.a9r_1 = store;
|
|
2299
2299
|
return i;
|
|
2300
2300
|
};
|
|
2301
2301
|
function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
|
|
2302
2302
|
var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
|
|
2303
2303
|
var l = function ($this$dispatchAwait, store, $completion) {
|
|
2304
|
-
return i.
|
|
2304
|
+
return i.b9r($this$dispatchAwait, store, $completion);
|
|
2305
2305
|
};
|
|
2306
2306
|
l.$arity = 2;
|
|
2307
2307
|
return l;
|
|
2308
2308
|
}
|
|
2309
2309
|
function GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation) {
|
|
2310
|
-
this.
|
|
2311
|
-
this.
|
|
2310
|
+
this.k9r_1 = $isCreated;
|
|
2311
|
+
this.l9r_1 = $state;
|
|
2312
2312
|
CoroutineImpl.call(this, resultContinuation);
|
|
2313
2313
|
}
|
|
2314
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2315
|
-
var tmp = this.
|
|
2314
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).o9o = function ($this$dispatchAsync, store, $completion) {
|
|
2315
|
+
var tmp = this.p9o($this$dispatchAsync, store, $completion);
|
|
2316
2316
|
tmp.t8_1 = Unit_instance;
|
|
2317
2317
|
tmp.u8_1 = null;
|
|
2318
2318
|
return tmp.z8();
|
|
2319
2319
|
};
|
|
2320
2320
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).i9 = function (p1, p2, $completion) {
|
|
2321
2321
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2322
|
-
return this.
|
|
2322
|
+
return this.o9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2323
2323
|
};
|
|
2324
2324
|
protoOf(GameServer$roomOnContinueFromState$slambda_1).z8 = function () {
|
|
2325
2325
|
var suspendResult = this.t8_1;
|
|
@@ -2330,7 +2330,7 @@
|
|
|
2330
2330
|
case 0:
|
|
2331
2331
|
this.s8_1 = 3;
|
|
2332
2332
|
this.r8_1 = 1;
|
|
2333
|
-
suspendResult = this.
|
|
2333
|
+
suspendResult = this.k9r_1.z1t(this);
|
|
2334
2334
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2335
2335
|
return suspendResult;
|
|
2336
2336
|
}
|
|
@@ -2338,10 +2338,10 @@
|
|
|
2338
2338
|
continue $sm;
|
|
2339
2339
|
case 1:
|
|
2340
2340
|
if (suspendResult) {
|
|
2341
|
-
var _iterator__ex2g4s = this.
|
|
2341
|
+
var _iterator__ex2g4s = this.l9r_1.actions.l();
|
|
2342
2342
|
while (_iterator__ex2g4s.m()) {
|
|
2343
2343
|
var element = _iterator__ex2g4s.n();
|
|
2344
|
-
this.
|
|
2344
|
+
this.n9r_1.dispatch(element);
|
|
2345
2345
|
}
|
|
2346
2346
|
this.r8_1 = 2;
|
|
2347
2347
|
continue $sm;
|
|
@@ -2366,35 +2366,35 @@
|
|
|
2366
2366
|
}
|
|
2367
2367
|
while (true);
|
|
2368
2368
|
};
|
|
2369
|
-
protoOf(GameServer$roomOnContinueFromState$slambda_1).
|
|
2370
|
-
var i = new GameServer$roomOnContinueFromState$slambda_1(this.
|
|
2371
|
-
i.
|
|
2372
|
-
i.
|
|
2369
|
+
protoOf(GameServer$roomOnContinueFromState$slambda_1).p9o = function ($this$dispatchAsync, store, completion) {
|
|
2370
|
+
var i = new GameServer$roomOnContinueFromState$slambda_1(this.k9r_1, this.l9r_1, completion);
|
|
2371
|
+
i.m9r_1 = $this$dispatchAsync;
|
|
2372
|
+
i.n9r_1 = store;
|
|
2373
2373
|
return i;
|
|
2374
2374
|
};
|
|
2375
2375
|
function GameServer$roomOnContinueFromState$slambda_2($isCreated, $state, resultContinuation) {
|
|
2376
2376
|
var i = new GameServer$roomOnContinueFromState$slambda_1($isCreated, $state, resultContinuation);
|
|
2377
2377
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2378
|
-
return i.
|
|
2378
|
+
return i.o9o($this$dispatchAsync, store, $completion);
|
|
2379
2379
|
};
|
|
2380
2380
|
l.$arity = 2;
|
|
2381
2381
|
return l;
|
|
2382
2382
|
}
|
|
2383
2383
|
function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation) {
|
|
2384
|
-
this.
|
|
2385
|
-
this.
|
|
2386
|
-
this.
|
|
2384
|
+
this.w9r_1 = $tableLite;
|
|
2385
|
+
this.x9r_1 = $roomId;
|
|
2386
|
+
this.y9r_1 = this$0;
|
|
2387
2387
|
CoroutineImpl.call(this, resultContinuation);
|
|
2388
2388
|
}
|
|
2389
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2390
|
-
var tmp = this.
|
|
2389
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).o9o = function ($this$dispatchAsync, store, $completion) {
|
|
2390
|
+
var tmp = this.p9o($this$dispatchAsync, store, $completion);
|
|
2391
2391
|
tmp.t8_1 = Unit_instance;
|
|
2392
2392
|
tmp.u8_1 = null;
|
|
2393
2393
|
return tmp.z8();
|
|
2394
2394
|
};
|
|
2395
2395
|
protoOf(GameServer$roomOnContinueFromRound$slambda).i9 = function (p1, p2, $completion) {
|
|
2396
2396
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2397
|
-
return this.
|
|
2397
|
+
return this.o9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2398
2398
|
};
|
|
2399
2399
|
protoOf(GameServer$roomOnContinueFromRound$slambda).z8 = function () {
|
|
2400
2400
|
var suspendResult = this.t8_1;
|
|
@@ -2403,9 +2403,9 @@
|
|
|
2403
2403
|
var tmp = this.r8_1;
|
|
2404
2404
|
if (tmp === 0) {
|
|
2405
2405
|
this.s8_1 = 1;
|
|
2406
|
-
var tmp_0 = this.
|
|
2407
|
-
var tmp0_reason = new RestartRoundReason(this.
|
|
2408
|
-
var tmp1_table = Companion_instance_0.restartRound(this.
|
|
2406
|
+
var tmp_0 = this.a9s_1.dispatch;
|
|
2407
|
+
var tmp0_reason = new RestartRoundReason(this.w9r_1.gameInfo.round.roundNumber);
|
|
2408
|
+
var tmp1_table = Companion_instance_0.restartRound(this.x9r_1, _get_idsProvider__fnfajc(this.y9r_1).z6d(), get_versionOrDefault(GameEngineConfig_instance), this.w9r_1);
|
|
2409
2409
|
tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
|
|
2410
2410
|
return Unit_instance;
|
|
2411
2411
|
} else if (tmp === 1) {
|
|
@@ -2417,16 +2417,16 @@
|
|
|
2417
2417
|
}
|
|
2418
2418
|
while (true);
|
|
2419
2419
|
};
|
|
2420
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda).
|
|
2421
|
-
var i = new GameServer$roomOnContinueFromRound$slambda(this.
|
|
2422
|
-
i.
|
|
2423
|
-
i.
|
|
2420
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda).p9o = function ($this$dispatchAsync, store, completion) {
|
|
2421
|
+
var i = new GameServer$roomOnContinueFromRound$slambda(this.w9r_1, this.x9r_1, this.y9r_1, completion);
|
|
2422
|
+
i.z9r_1 = $this$dispatchAsync;
|
|
2423
|
+
i.a9s_1 = store;
|
|
2424
2424
|
return i;
|
|
2425
2425
|
};
|
|
2426
2426
|
function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, resultContinuation) {
|
|
2427
2427
|
var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation);
|
|
2428
2428
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2429
|
-
return i.
|
|
2429
|
+
return i.o9o($this$dispatchAsync, store, $completion);
|
|
2430
2430
|
};
|
|
2431
2431
|
l.$arity = 2;
|
|
2432
2432
|
return l;
|
|
@@ -2434,15 +2434,15 @@
|
|
|
2434
2434
|
function GameServer$roomOnContinueFromRound$slambda_1(resultContinuation) {
|
|
2435
2435
|
CoroutineImpl.call(this, resultContinuation);
|
|
2436
2436
|
}
|
|
2437
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2438
|
-
var tmp = this.
|
|
2437
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).o9o = function ($this$dispatchAsync, store, $completion) {
|
|
2438
|
+
var tmp = this.p9o($this$dispatchAsync, store, $completion);
|
|
2439
2439
|
tmp.t8_1 = Unit_instance;
|
|
2440
2440
|
tmp.u8_1 = null;
|
|
2441
2441
|
return tmp.z8();
|
|
2442
2442
|
};
|
|
2443
2443
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).i9 = function (p1, p2, $completion) {
|
|
2444
2444
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2445
|
-
return this.
|
|
2445
|
+
return this.o9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2446
2446
|
};
|
|
2447
2447
|
protoOf(GameServer$roomOnContinueFromRound$slambda_1).z8 = function () {
|
|
2448
2448
|
var suspendResult = this.t8_1;
|
|
@@ -2451,7 +2451,7 @@
|
|
|
2451
2451
|
var tmp = this.r8_1;
|
|
2452
2452
|
if (tmp === 0) {
|
|
2453
2453
|
this.s8_1 = 1;
|
|
2454
|
-
this.
|
|
2454
|
+
this.k9s_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
|
|
2455
2455
|
return Unit_instance;
|
|
2456
2456
|
} else if (tmp === 1) {
|
|
2457
2457
|
throw this.u8_1;
|
|
@@ -2462,33 +2462,33 @@
|
|
|
2462
2462
|
}
|
|
2463
2463
|
while (true);
|
|
2464
2464
|
};
|
|
2465
|
-
protoOf(GameServer$roomOnContinueFromRound$slambda_1).
|
|
2465
|
+
protoOf(GameServer$roomOnContinueFromRound$slambda_1).p9o = function ($this$dispatchAsync, store, completion) {
|
|
2466
2466
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
|
|
2467
|
-
i.
|
|
2468
|
-
i.
|
|
2467
|
+
i.j9s_1 = $this$dispatchAsync;
|
|
2468
|
+
i.k9s_1 = store;
|
|
2469
2469
|
return i;
|
|
2470
2470
|
};
|
|
2471
2471
|
function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
|
|
2472
2472
|
var i = new GameServer$roomOnContinueFromRound$slambda_1(resultContinuation);
|
|
2473
2473
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2474
|
-
return i.
|
|
2474
|
+
return i.o9o($this$dispatchAsync, store, $completion);
|
|
2475
2475
|
};
|
|
2476
2476
|
l.$arity = 2;
|
|
2477
2477
|
return l;
|
|
2478
2478
|
}
|
|
2479
2479
|
function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
|
|
2480
|
-
this.
|
|
2480
|
+
this.t9s_1 = $spectators;
|
|
2481
2481
|
CoroutineImpl.call(this, resultContinuation);
|
|
2482
2482
|
}
|
|
2483
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2484
|
-
var tmp = this.
|
|
2483
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).o9o = function ($this$dispatchAsync, store, $completion) {
|
|
2484
|
+
var tmp = this.p9o($this$dispatchAsync, store, $completion);
|
|
2485
2485
|
tmp.t8_1 = Unit_instance;
|
|
2486
2486
|
tmp.u8_1 = null;
|
|
2487
2487
|
return tmp.z8();
|
|
2488
2488
|
};
|
|
2489
2489
|
protoOf(GameServer$addSpectatorsToRoom$slambda).i9 = function (p1, p2, $completion) {
|
|
2490
2490
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2491
|
-
return this.
|
|
2491
|
+
return this.o9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2492
2492
|
};
|
|
2493
2493
|
protoOf(GameServer$addSpectatorsToRoom$slambda).z8 = function () {
|
|
2494
2494
|
var suspendResult = this.t8_1;
|
|
@@ -2497,7 +2497,7 @@
|
|
|
2497
2497
|
var tmp = this.r8_1;
|
|
2498
2498
|
if (tmp === 0) {
|
|
2499
2499
|
this.s8_1 = 1;
|
|
2500
|
-
this.
|
|
2500
|
+
this.v9s_1.dispatch(new AddSpectatorsAction(toList(this.t9s_1)));
|
|
2501
2501
|
return Unit_instance;
|
|
2502
2502
|
} else if (tmp === 1) {
|
|
2503
2503
|
throw this.u8_1;
|
|
@@ -2508,33 +2508,33 @@
|
|
|
2508
2508
|
}
|
|
2509
2509
|
while (true);
|
|
2510
2510
|
};
|
|
2511
|
-
protoOf(GameServer$addSpectatorsToRoom$slambda).
|
|
2512
|
-
var i = new GameServer$addSpectatorsToRoom$slambda(this.
|
|
2513
|
-
i.
|
|
2514
|
-
i.
|
|
2511
|
+
protoOf(GameServer$addSpectatorsToRoom$slambda).p9o = function ($this$dispatchAsync, store, completion) {
|
|
2512
|
+
var i = new GameServer$addSpectatorsToRoom$slambda(this.t9s_1, completion);
|
|
2513
|
+
i.u9s_1 = $this$dispatchAsync;
|
|
2514
|
+
i.v9s_1 = store;
|
|
2515
2515
|
return i;
|
|
2516
2516
|
};
|
|
2517
2517
|
function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
|
|
2518
2518
|
var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
|
|
2519
2519
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2520
|
-
return i.
|
|
2520
|
+
return i.o9o($this$dispatchAsync, store, $completion);
|
|
2521
2521
|
};
|
|
2522
2522
|
l.$arity = 2;
|
|
2523
2523
|
return l;
|
|
2524
2524
|
}
|
|
2525
2525
|
function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
|
|
2526
|
-
this.
|
|
2526
|
+
this.e9t_1 = $spectators;
|
|
2527
2527
|
CoroutineImpl.call(this, resultContinuation);
|
|
2528
2528
|
}
|
|
2529
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2530
|
-
var tmp = this.
|
|
2529
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).o9o = function ($this$dispatchAsync, store, $completion) {
|
|
2530
|
+
var tmp = this.p9o($this$dispatchAsync, store, $completion);
|
|
2531
2531
|
tmp.t8_1 = Unit_instance;
|
|
2532
2532
|
tmp.u8_1 = null;
|
|
2533
2533
|
return tmp.z8();
|
|
2534
2534
|
};
|
|
2535
2535
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).i9 = function (p1, p2, $completion) {
|
|
2536
2536
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2537
|
-
return this.
|
|
2537
|
+
return this.o9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2538
2538
|
};
|
|
2539
2539
|
protoOf(GameServer$removeSpectatorsFromRoom$slambda).z8 = function () {
|
|
2540
2540
|
var suspendResult = this.t8_1;
|
|
@@ -2543,7 +2543,7 @@
|
|
|
2543
2543
|
var tmp = this.r8_1;
|
|
2544
2544
|
if (tmp === 0) {
|
|
2545
2545
|
this.s8_1 = 1;
|
|
2546
|
-
this.
|
|
2546
|
+
this.g9t_1.dispatch(new RemoveSpectatorsAction(toList(this.e9t_1)));
|
|
2547
2547
|
return Unit_instance;
|
|
2548
2548
|
} else if (tmp === 1) {
|
|
2549
2549
|
throw this.u8_1;
|
|
@@ -2554,34 +2554,34 @@
|
|
|
2554
2554
|
}
|
|
2555
2555
|
while (true);
|
|
2556
2556
|
};
|
|
2557
|
-
protoOf(GameServer$removeSpectatorsFromRoom$slambda).
|
|
2558
|
-
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.
|
|
2559
|
-
i.
|
|
2560
|
-
i.
|
|
2557
|
+
protoOf(GameServer$removeSpectatorsFromRoom$slambda).p9o = function ($this$dispatchAsync, store, completion) {
|
|
2558
|
+
var i = new GameServer$removeSpectatorsFromRoom$slambda(this.e9t_1, completion);
|
|
2559
|
+
i.f9t_1 = $this$dispatchAsync;
|
|
2560
|
+
i.g9t_1 = store;
|
|
2561
2561
|
return i;
|
|
2562
2562
|
};
|
|
2563
2563
|
function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
|
|
2564
2564
|
var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
|
|
2565
2565
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2566
|
-
return i.
|
|
2566
|
+
return i.o9o($this$dispatchAsync, store, $completion);
|
|
2567
2567
|
};
|
|
2568
2568
|
l.$arity = 2;
|
|
2569
2569
|
return l;
|
|
2570
2570
|
}
|
|
2571
2571
|
function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
|
|
2572
|
-
this.
|
|
2573
|
-
this.
|
|
2572
|
+
this.p9t_1 = $playerId;
|
|
2573
|
+
this.q9t_1 = this$0;
|
|
2574
2574
|
CoroutineImpl.call(this, resultContinuation);
|
|
2575
2575
|
}
|
|
2576
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2577
|
-
var tmp = this.
|
|
2576
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).o9o = function ($this$dispatchAsync, store, $completion) {
|
|
2577
|
+
var tmp = this.p9o($this$dispatchAsync, store, $completion);
|
|
2578
2578
|
tmp.t8_1 = Unit_instance;
|
|
2579
2579
|
tmp.u8_1 = null;
|
|
2580
2580
|
return tmp.z8();
|
|
2581
2581
|
};
|
|
2582
2582
|
protoOf(GameServer$roomRefreshPlayerState$slambda).i9 = function (p1, p2, $completion) {
|
|
2583
2583
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2584
|
-
return this.
|
|
2584
|
+
return this.o9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2585
2585
|
};
|
|
2586
2586
|
protoOf(GameServer$roomRefreshPlayerState$slambda).z8 = function () {
|
|
2587
2587
|
var suspendResult = this.t8_1;
|
|
@@ -2590,14 +2590,14 @@
|
|
|
2590
2590
|
var tmp = this.r8_1;
|
|
2591
2591
|
if (tmp === 0) {
|
|
2592
2592
|
this.s8_1 = 1;
|
|
2593
|
-
var table = this.
|
|
2594
|
-
var player = getPlayer(table.players, this.
|
|
2593
|
+
var table = this.s9t_1.state.m6n();
|
|
2594
|
+
var player = getPlayer(table.players, this.p9t_1);
|
|
2595
2595
|
if (player.n6q_1.v68().m67_1.isLive) {
|
|
2596
|
-
this.
|
|
2596
|
+
this.s9t_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.q9t_1).v8p(player, table));
|
|
2597
2597
|
} else {
|
|
2598
|
-
var tmp_0 = this.
|
|
2598
|
+
var tmp_0 = this.s9t_1.dispatch;
|
|
2599
2599
|
var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
|
|
2600
|
-
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.
|
|
2600
|
+
tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.p9t_1));
|
|
2601
2601
|
}
|
|
2602
2602
|
return Unit_instance;
|
|
2603
2603
|
} else if (tmp === 1) {
|
|
@@ -2609,34 +2609,34 @@
|
|
|
2609
2609
|
}
|
|
2610
2610
|
while (true);
|
|
2611
2611
|
};
|
|
2612
|
-
protoOf(GameServer$roomRefreshPlayerState$slambda).
|
|
2613
|
-
var i = new GameServer$roomRefreshPlayerState$slambda(this.
|
|
2614
|
-
i.
|
|
2615
|
-
i.
|
|
2612
|
+
protoOf(GameServer$roomRefreshPlayerState$slambda).p9o = function ($this$dispatchAsync, store, completion) {
|
|
2613
|
+
var i = new GameServer$roomRefreshPlayerState$slambda(this.p9t_1, this.q9t_1, completion);
|
|
2614
|
+
i.r9t_1 = $this$dispatchAsync;
|
|
2615
|
+
i.s9t_1 = store;
|
|
2616
2616
|
return i;
|
|
2617
2617
|
};
|
|
2618
2618
|
function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
|
|
2619
2619
|
var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
|
|
2620
2620
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2621
|
-
return i.
|
|
2621
|
+
return i.o9o($this$dispatchAsync, store, $completion);
|
|
2622
2622
|
};
|
|
2623
2623
|
l.$arity = 2;
|
|
2624
2624
|
return l;
|
|
2625
2625
|
}
|
|
2626
2626
|
function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
|
|
2627
|
-
this.
|
|
2628
|
-
this.
|
|
2627
|
+
this.b9u_1 = this$0;
|
|
2628
|
+
this.c9u_1 = $newRid;
|
|
2629
2629
|
CoroutineImpl.call(this, resultContinuation);
|
|
2630
2630
|
}
|
|
2631
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2632
|
-
var tmp = this.
|
|
2631
|
+
protoOf(GameServer$roomOnDelete$slambda).o9o = function ($this$dispatchAsync, store, $completion) {
|
|
2632
|
+
var tmp = this.p9o($this$dispatchAsync, store, $completion);
|
|
2633
2633
|
tmp.t8_1 = Unit_instance;
|
|
2634
2634
|
tmp.u8_1 = null;
|
|
2635
2635
|
return tmp.z8();
|
|
2636
2636
|
};
|
|
2637
2637
|
protoOf(GameServer$roomOnDelete$slambda).i9 = function (p1, p2, $completion) {
|
|
2638
2638
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2639
|
-
return this.
|
|
2639
|
+
return this.o9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2640
2640
|
};
|
|
2641
2641
|
protoOf(GameServer$roomOnDelete$slambda).z8 = function () {
|
|
2642
2642
|
var suspendResult = this.t8_1;
|
|
@@ -2645,10 +2645,10 @@
|
|
|
2645
2645
|
var tmp = this.r8_1;
|
|
2646
2646
|
if (tmp === 0) {
|
|
2647
2647
|
this.s8_1 = 1;
|
|
2648
|
-
var it = this.
|
|
2648
|
+
var it = this.b9u_1.s66().m6m_1;
|
|
2649
2649
|
var tmp_0;
|
|
2650
2650
|
if (it == null) {
|
|
2651
|
-
_get_logger__rkp4sl(this.
|
|
2651
|
+
_get_logger__rkp4sl(this.b9u_1).w('GameEngine_API', "GameServer: Termination reason can't be null");
|
|
2652
2652
|
tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
|
|
2653
2653
|
} else {
|
|
2654
2654
|
tmp_0 = it;
|
|
@@ -2657,15 +2657,15 @@
|
|
|
2657
2657
|
var gameTransition = terminationState.s8t_1;
|
|
2658
2658
|
var tmp_1;
|
|
2659
2659
|
if (gameTransition instanceof GameToRoomTransition) {
|
|
2660
|
-
var tmp0_elvis_lhs = this.
|
|
2660
|
+
var tmp0_elvis_lhs = this.c9u_1;
|
|
2661
2661
|
tmp_1 = gameTransition.copy(tmp0_elvis_lhs == null ? gameTransition.roomId : tmp0_elvis_lhs);
|
|
2662
2662
|
} else {
|
|
2663
2663
|
tmp_1 = gameTransition;
|
|
2664
2664
|
}
|
|
2665
2665
|
var transition = tmp_1;
|
|
2666
|
-
var tmp_2 = this.
|
|
2666
|
+
var tmp_2 = this.e9u_1.dispatch;
|
|
2667
2667
|
var tmp0_reason = terminationState.r8t_1;
|
|
2668
|
-
var tmp1_isGameFinished = this.
|
|
2668
|
+
var tmp1_isGameFinished = this.b9u_1.s66().m6n().isGameFinished;
|
|
2669
2669
|
tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
|
|
2670
2670
|
return Unit_instance;
|
|
2671
2671
|
} else if (tmp === 1) {
|
|
@@ -2677,33 +2677,33 @@
|
|
|
2677
2677
|
}
|
|
2678
2678
|
while (true);
|
|
2679
2679
|
};
|
|
2680
|
-
protoOf(GameServer$roomOnDelete$slambda).
|
|
2681
|
-
var i = new GameServer$roomOnDelete$slambda(this.
|
|
2682
|
-
i.
|
|
2683
|
-
i.
|
|
2680
|
+
protoOf(GameServer$roomOnDelete$slambda).p9o = function ($this$dispatchAsync, store, completion) {
|
|
2681
|
+
var i = new GameServer$roomOnDelete$slambda(this.b9u_1, this.c9u_1, completion);
|
|
2682
|
+
i.d9u_1 = $this$dispatchAsync;
|
|
2683
|
+
i.e9u_1 = store;
|
|
2684
2684
|
return i;
|
|
2685
2685
|
};
|
|
2686
2686
|
function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
|
|
2687
2687
|
var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
|
|
2688
2688
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2689
|
-
return i.
|
|
2689
|
+
return i.o9o($this$dispatchAsync, store, $completion);
|
|
2690
2690
|
};
|
|
2691
2691
|
l.$arity = 2;
|
|
2692
2692
|
return l;
|
|
2693
2693
|
}
|
|
2694
2694
|
function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
|
|
2695
|
-
this.
|
|
2695
|
+
this.n9u_1 = $enabled;
|
|
2696
2696
|
CoroutineImpl.call(this, resultContinuation);
|
|
2697
2697
|
}
|
|
2698
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2699
|
-
var tmp = this.
|
|
2698
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).o9o = function ($this$dispatchAsync, store, $completion) {
|
|
2699
|
+
var tmp = this.p9o($this$dispatchAsync, store, $completion);
|
|
2700
2700
|
tmp.t8_1 = Unit_instance;
|
|
2701
2701
|
tmp.u8_1 = null;
|
|
2702
2702
|
return tmp.z8();
|
|
2703
2703
|
};
|
|
2704
2704
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).i9 = function (p1, p2, $completion) {
|
|
2705
2705
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2706
|
-
return this.
|
|
2706
|
+
return this.o9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2707
2707
|
};
|
|
2708
2708
|
protoOf(GameServer$setCanStartNewGameEnabled$slambda).z8 = function () {
|
|
2709
2709
|
var suspendResult = this.t8_1;
|
|
@@ -2712,7 +2712,7 @@
|
|
|
2712
2712
|
var tmp = this.r8_1;
|
|
2713
2713
|
if (tmp === 0) {
|
|
2714
2714
|
this.s8_1 = 1;
|
|
2715
|
-
this.
|
|
2715
|
+
this.p9u_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload_0(this.p9u_1.state).config.copy(VOID, this.n9u_1)));
|
|
2716
2716
|
return Unit_instance;
|
|
2717
2717
|
} else if (tmp === 1) {
|
|
2718
2718
|
throw this.u8_1;
|
|
@@ -2723,35 +2723,35 @@
|
|
|
2723
2723
|
}
|
|
2724
2724
|
while (true);
|
|
2725
2725
|
};
|
|
2726
|
-
protoOf(GameServer$setCanStartNewGameEnabled$slambda).
|
|
2727
|
-
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.
|
|
2728
|
-
i.
|
|
2729
|
-
i.
|
|
2726
|
+
protoOf(GameServer$setCanStartNewGameEnabled$slambda).p9o = function ($this$dispatchAsync, store, completion) {
|
|
2727
|
+
var i = new GameServer$setCanStartNewGameEnabled$slambda(this.n9u_1, completion);
|
|
2728
|
+
i.o9u_1 = $this$dispatchAsync;
|
|
2729
|
+
i.p9u_1 = store;
|
|
2730
2730
|
return i;
|
|
2731
2731
|
};
|
|
2732
2732
|
function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
|
|
2733
2733
|
var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
|
|
2734
2734
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2735
|
-
return i.
|
|
2735
|
+
return i.o9o($this$dispatchAsync, store, $completion);
|
|
2736
2736
|
};
|
|
2737
2737
|
l.$arity = 2;
|
|
2738
2738
|
return l;
|
|
2739
2739
|
}
|
|
2740
2740
|
function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
|
|
2741
|
-
this.
|
|
2742
|
-
this.
|
|
2743
|
-
this.
|
|
2741
|
+
this.y9u_1 = $reason;
|
|
2742
|
+
this.z9u_1 = this$0;
|
|
2743
|
+
this.a9v_1 = $roomId;
|
|
2744
2744
|
CoroutineImpl.call(this, resultContinuation);
|
|
2745
2745
|
}
|
|
2746
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2747
|
-
var tmp = this.
|
|
2746
|
+
protoOf(GameServer$shutdown$slambda).o9o = function ($this$dispatchAsync, store, $completion) {
|
|
2747
|
+
var tmp = this.p9o($this$dispatchAsync, store, $completion);
|
|
2748
2748
|
tmp.t8_1 = Unit_instance;
|
|
2749
2749
|
tmp.u8_1 = null;
|
|
2750
2750
|
return tmp.z8();
|
|
2751
2751
|
};
|
|
2752
2752
|
protoOf(GameServer$shutdown$slambda).i9 = function (p1, p2, $completion) {
|
|
2753
2753
|
var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
|
|
2754
|
-
return this.
|
|
2754
|
+
return this.o9o(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
|
|
2755
2755
|
};
|
|
2756
2756
|
protoOf(GameServer$shutdown$slambda).z8 = function () {
|
|
2757
2757
|
var suspendResult = this.t8_1;
|
|
@@ -2760,11 +2760,11 @@
|
|
|
2760
2760
|
var tmp = this.r8_1;
|
|
2761
2761
|
if (tmp === 0) {
|
|
2762
2762
|
this.s8_1 = 1;
|
|
2763
|
-
var state = this.
|
|
2763
|
+
var state = this.c9v_1.store.state;
|
|
2764
2764
|
if (state.n6n()) {
|
|
2765
|
-
var tmp0_elvis_lhs = toDomainEnumSafe(this.
|
|
2765
|
+
var tmp0_elvis_lhs = toDomainEnumSafe(this.y9u_1, get_serverShutdownReasonMapping());
|
|
2766
2766
|
var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
|
|
2767
|
-
var tmp_0 = this.
|
|
2767
|
+
var tmp_0 = this.c9v_1.dispatch;
|
|
2768
2768
|
var tmp_1 = Companion_instance;
|
|
2769
2769
|
var tmp_2;
|
|
2770
2770
|
switch (shutdownReason.p2_1) {
|
|
@@ -2778,10 +2778,10 @@
|
|
|
2778
2778
|
noWhenBranchMatchedException();
|
|
2779
2779
|
break;
|
|
2780
2780
|
}
|
|
2781
|
-
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.
|
|
2781
|
+
tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.z9u_1.table.isGameFinished, this.z9u_1.table));
|
|
2782
2782
|
} else {
|
|
2783
|
-
_get_logger__rkp4sl(this.
|
|
2784
|
-
var tmp_3 = this.
|
|
2783
|
+
_get_logger__rkp4sl(this.z9u_1).w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.a9v_1);
|
|
2784
|
+
var tmp_3 = this.c9v_1.dispatch;
|
|
2785
2785
|
var tmp2_safe_receiver = state.m6m_1;
|
|
2786
2786
|
tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.s8t_1));
|
|
2787
2787
|
}
|
|
@@ -2795,16 +2795,16 @@
|
|
|
2795
2795
|
}
|
|
2796
2796
|
while (true);
|
|
2797
2797
|
};
|
|
2798
|
-
protoOf(GameServer$shutdown$slambda).
|
|
2799
|
-
var i = new GameServer$shutdown$slambda(this.
|
|
2800
|
-
i.
|
|
2801
|
-
i.
|
|
2798
|
+
protoOf(GameServer$shutdown$slambda).p9o = function ($this$dispatchAsync, store, completion) {
|
|
2799
|
+
var i = new GameServer$shutdown$slambda(this.y9u_1, this.z9u_1, this.a9v_1, completion);
|
|
2800
|
+
i.b9v_1 = $this$dispatchAsync;
|
|
2801
|
+
i.c9v_1 = store;
|
|
2802
2802
|
return i;
|
|
2803
2803
|
};
|
|
2804
2804
|
function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
|
|
2805
2805
|
var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
|
|
2806
2806
|
var l = function ($this$dispatchAsync, store, $completion) {
|
|
2807
|
-
return i.
|
|
2807
|
+
return i.o9o($this$dispatchAsync, store, $completion);
|
|
2808
2808
|
};
|
|
2809
2809
|
l.$arity = 2;
|
|
2810
2810
|
return l;
|
|
@@ -2835,7 +2835,7 @@
|
|
|
2835
2835
|
var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
2836
2836
|
var tmp_3 = Instance(di, tmp$ret$2, null);
|
|
2837
2837
|
var tmp_4 = KProperty1;
|
|
2838
|
-
tmp_1.
|
|
2838
|
+
tmp_1.f9l_1 = tmp_3.u64(this, getPropertyCallableRef('logger', 1, tmp_4, GameServer$_get_logger_$ref_fogce1(), null));
|
|
2839
2839
|
var tmp_5 = this;
|
|
2840
2840
|
// Inline function 'org.kodein.di.instance' call
|
|
2841
2841
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2843,7 +2843,7 @@
|
|
|
2843
2843
|
var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
2844
2844
|
var tmp_7 = Instance(di, tmp$ret$4, null);
|
|
2845
2845
|
var tmp_8 = KProperty1;
|
|
2846
|
-
tmp_5.
|
|
2846
|
+
tmp_5.g9l_1 = tmp_7.u64(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_8, GameServer$_get_toClientEventsObserver_$ref_utir8s(), null));
|
|
2847
2847
|
var tmp_9 = this;
|
|
2848
2848
|
// Inline function 'org.kodein.di.instance' call
|
|
2849
2849
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2851,7 +2851,7 @@
|
|
|
2851
2851
|
var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
2852
2852
|
var tmp_11 = Instance(di, tmp$ret$6, null);
|
|
2853
2853
|
var tmp_12 = KProperty1;
|
|
2854
|
-
tmp_9.
|
|
2854
|
+
tmp_9.h9l_1 = tmp_11.u64(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_12, GameServer$_get_fromClientEventsObserver_$ref_nf1g79(), null));
|
|
2855
2855
|
var tmp_13 = this;
|
|
2856
2856
|
// Inline function 'org.kodein.di.instance' call
|
|
2857
2857
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2859,7 +2859,7 @@
|
|
|
2859
2859
|
var tmp$ret$8 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
2860
2860
|
var tmp_15 = Instance(di, tmp$ret$8, null);
|
|
2861
2861
|
var tmp_16 = KProperty1;
|
|
2862
|
-
tmp_13.
|
|
2862
|
+
tmp_13.i9l_1 = tmp_15.u64(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_16, GameServer$_get_playerConnectionInteractor_$ref_of8tan(), null));
|
|
2863
2863
|
var tmp_17 = this;
|
|
2864
2864
|
// Inline function 'org.kodein.di.instance' call
|
|
2865
2865
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2867,9 +2867,9 @@
|
|
|
2867
2867
|
var tmp$ret$10 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
2868
2868
|
var tmp_19 = Instance(di, tmp$ret$10, null);
|
|
2869
2869
|
var tmp_20 = KProperty1;
|
|
2870
|
-
tmp_17.
|
|
2870
|
+
tmp_17.j9l_1 = tmp_19.u64(this, getPropertyCallableRef('teamsLogicProvider', 1, tmp_20, GameServer$_get_teamsLogicProvider_$ref_b7y54g(), null));
|
|
2871
2871
|
var tmp_21 = this;
|
|
2872
|
-
tmp_21.
|
|
2872
|
+
tmp_21.k9l_1 = lazy(GameServer$random$delegate$lambda(this));
|
|
2873
2873
|
var tmp_22 = this;
|
|
2874
2874
|
// Inline function 'org.kodein.di.instance' call
|
|
2875
2875
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2877,7 +2877,7 @@
|
|
|
2877
2877
|
var tmp$ret$12 = isInterface(tmp_23, TypeToken) ? tmp_23 : THROW_CCE();
|
|
2878
2878
|
var tmp_24 = Instance(di, tmp$ret$12, null);
|
|
2879
2879
|
var tmp_25 = KProperty1;
|
|
2880
|
-
tmp_22.
|
|
2880
|
+
tmp_22.l9l_1 = tmp_24.u64(this, getPropertyCallableRef('idsProvider', 1, tmp_25, GameServer$_get_idsProvider_$ref_89s908(), null));
|
|
2881
2881
|
var tmp_26 = this;
|
|
2882
2882
|
// Inline function 'org.kodein.di.instance' call
|
|
2883
2883
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2885,7 +2885,7 @@
|
|
|
2885
2885
|
var tmp$ret$14 = isInterface(tmp_27, TypeToken) ? tmp_27 : THROW_CCE();
|
|
2886
2886
|
var tmp_28 = Instance(di, tmp$ret$14, null);
|
|
2887
2887
|
var tmp_29 = KProperty1;
|
|
2888
|
-
tmp_26.
|
|
2888
|
+
tmp_26.m9l_1 = tmp_28.u64(this, getPropertyCallableRef('serverReduxConfig', 1, tmp_29, GameServer$_get_serverReduxConfig_$ref_7h6jq6(), null));
|
|
2889
2889
|
var tmp_30 = this;
|
|
2890
2890
|
// Inline function 'org.kodein.di.instance' call
|
|
2891
2891
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -2893,21 +2893,21 @@
|
|
|
2893
2893
|
var tmp$ret$16 = isInterface(tmp_31, TypeToken) ? tmp_31 : THROW_CCE();
|
|
2894
2894
|
var tmp_32 = Instance(di, tmp$ret$16, null);
|
|
2895
2895
|
var tmp_33 = KProperty1;
|
|
2896
|
-
tmp_30.
|
|
2896
|
+
tmp_30.n9l_1 = tmp_32.u64(this, getPropertyCallableRef('encoderDecoderProvider', 1, tmp_33, GameServer$_get_encoderDecoderProvider_$ref_6vxmq8(), null));
|
|
2897
2897
|
var tmp_34 = this;
|
|
2898
2898
|
var tmp0_externalMiddlewares = plus(storeContract.f8y(), externalMiddlewares);
|
|
2899
2899
|
var tmp1_externalReducers = plus(storeContract.e8y(), externalReducers);
|
|
2900
|
-
tmp_34.
|
|
2901
|
-
this.
|
|
2900
|
+
tmp_34.o9l_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
|
|
2901
|
+
this.p9l_1 = new Object();
|
|
2902
2902
|
}
|
|
2903
2903
|
protoOf(GameServer).b6m = function () {
|
|
2904
|
-
return this.
|
|
2904
|
+
return this.o9l_1;
|
|
2905
2905
|
};
|
|
2906
|
-
protoOf(GameServer).
|
|
2907
|
-
this.
|
|
2906
|
+
protoOf(GameServer).d9v = function (_set____db54di) {
|
|
2907
|
+
this.p9l_1 = _set____db54di;
|
|
2908
2908
|
};
|
|
2909
2909
|
protoOf(GameServer).k8e = function () {
|
|
2910
|
-
return this.
|
|
2910
|
+
return this.p9l_1;
|
|
2911
2911
|
};
|
|
2912
2912
|
protoOf(GameServer).w53 = function () {
|
|
2913
2913
|
return this.s66().m6n().id;
|
|
@@ -2939,55 +2939,55 @@
|
|
|
2939
2939
|
};
|
|
2940
2940
|
protoOf(GameServer).fromClientEvent = function (action) {
|
|
2941
2941
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
|
|
2942
|
-
this.
|
|
2942
|
+
this.o9l_1.k6n(GameServer$fromClientEvent$slambda_0(action, null));
|
|
2943
2943
|
};
|
|
2944
2944
|
protoOf(GameServer).playerLostConnection = function (playerId) {
|
|
2945
2945
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLostConnection: ' + playerId);
|
|
2946
|
-
this.
|
|
2946
|
+
this.o9l_1.k6n(GameServer$playerLostConnection$slambda_0(playerId, null));
|
|
2947
2947
|
};
|
|
2948
2948
|
protoOf(GameServer).playerLive = function (playerId) {
|
|
2949
2949
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLive: ' + playerId);
|
|
2950
|
-
this.
|
|
2950
|
+
this.o9l_1.k6n(GameServer$playerLive$slambda_0(this, playerId, null));
|
|
2951
2951
|
};
|
|
2952
2952
|
protoOf(GameServer).playerLeft = function (playerId) {
|
|
2953
2953
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'playerLeft: ' + playerId);
|
|
2954
|
-
this.
|
|
2954
|
+
this.o9l_1.k6n(GameServer$playerLeft$slambda_0(this, playerId, null));
|
|
2955
2955
|
};
|
|
2956
|
-
protoOf(GameServer).
|
|
2956
|
+
protoOf(GameServer).e9v = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
|
|
2957
2957
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
|
|
2958
|
-
this.
|
|
2958
|
+
this.o9l_1.k6n(GameServer$roomOnCreate$slambda_0(usersArray, config, this, roomId, transition, gameCreatorId, spectators, null));
|
|
2959
2959
|
};
|
|
2960
2960
|
protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
|
|
2961
2961
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
|
|
2962
|
-
var isCreated = this.
|
|
2963
|
-
this.
|
|
2962
|
+
var isCreated = this.o9l_1.l6n(GameServer$roomOnContinueFromState$slambda_0(state, null));
|
|
2963
|
+
this.o9l_1.k6n(GameServer$roomOnContinueFromState$slambda_2(isCreated, state, null));
|
|
2964
2964
|
};
|
|
2965
2965
|
protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
|
|
2966
2966
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
|
|
2967
|
-
this.
|
|
2968
|
-
this.
|
|
2967
|
+
this.o9l_1.k6n(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
|
|
2968
|
+
this.o9l_1.k6n(GameServer$roomOnContinueFromRound$slambda_2(null));
|
|
2969
2969
|
};
|
|
2970
2970
|
protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
|
|
2971
|
-
this.
|
|
2971
|
+
this.o9l_1.k6n(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
|
|
2972
2972
|
};
|
|
2973
2973
|
protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
|
|
2974
|
-
this.
|
|
2974
|
+
this.o9l_1.k6n(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
|
|
2975
2975
|
};
|
|
2976
2976
|
protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
|
|
2977
2977
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
|
|
2978
|
-
this.
|
|
2978
|
+
this.o9l_1.k6n(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
|
|
2979
2979
|
};
|
|
2980
|
-
protoOf(GameServer).
|
|
2980
|
+
protoOf(GameServer).f9v = function (newRid) {
|
|
2981
2981
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnDelete: ' + newRid);
|
|
2982
|
-
this.
|
|
2982
|
+
this.o9l_1.k6n(GameServer$roomOnDelete$slambda_0(this, newRid, null));
|
|
2983
2983
|
};
|
|
2984
2984
|
protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
|
|
2985
2985
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
|
|
2986
|
-
this.
|
|
2986
|
+
this.o9l_1.k6n(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
|
|
2987
2987
|
};
|
|
2988
|
-
protoOf(GameServer).
|
|
2988
|
+
protoOf(GameServer).g9v = function (reason, roomId) {
|
|
2989
2989
|
_get_logger__rkp4sl(this).d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
|
|
2990
|
-
this.
|
|
2990
|
+
this.o9l_1.k6n(GameServer$shutdown$slambda_0(reason, this, roomId, null));
|
|
2991
2991
|
};
|
|
2992
2992
|
protoOf(GameServer).clear = function () {
|
|
2993
2993
|
return this.h2();
|
|
@@ -3038,10 +3038,10 @@
|
|
|
3038
3038
|
this.fromRound = fromRound;
|
|
3039
3039
|
this.canStartNewGame = canStartNewGame;
|
|
3040
3040
|
}
|
|
3041
|
-
protoOf(ServerConfig).
|
|
3041
|
+
protoOf(ServerConfig).h9v = function () {
|
|
3042
3042
|
return this.fromRound;
|
|
3043
3043
|
};
|
|
3044
|
-
protoOf(ServerConfig).
|
|
3044
|
+
protoOf(ServerConfig).i9v = function () {
|
|
3045
3045
|
return this.canStartNewGame;
|
|
3046
3046
|
};
|
|
3047
3047
|
protoOf(ServerConfig).ne = function () {
|
|
@@ -3050,13 +3050,13 @@
|
|
|
3050
3050
|
protoOf(ServerConfig).oe = function () {
|
|
3051
3051
|
return this.canStartNewGame;
|
|
3052
3052
|
};
|
|
3053
|
-
protoOf(ServerConfig).
|
|
3053
|
+
protoOf(ServerConfig).j9v = function (fromRound, canStartNewGame) {
|
|
3054
3054
|
return new ServerConfig(fromRound, canStartNewGame);
|
|
3055
3055
|
};
|
|
3056
3056
|
protoOf(ServerConfig).copy = function (fromRound, canStartNewGame, $super) {
|
|
3057
3057
|
fromRound = fromRound === VOID ? this.fromRound : fromRound;
|
|
3058
3058
|
canStartNewGame = canStartNewGame === VOID ? this.canStartNewGame : canStartNewGame;
|
|
3059
|
-
return $super === VOID ? this.
|
|
3059
|
+
return $super === VOID ? this.j9v(fromRound, canStartNewGame) : $super.j9v.call(this, fromRound, canStartNewGame);
|
|
3060
3060
|
};
|
|
3061
3061
|
protoOf(ServerConfig).toString = function () {
|
|
3062
3062
|
return 'ServerConfig(fromRound=' + this.fromRound + ', canStartNewGame=' + this.canStartNewGame + ')';
|
|
@@ -3118,20 +3118,20 @@
|
|
|
3118
3118
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.TableStateUpdateDto', this, 2);
|
|
3119
3119
|
tmp0_serialDesc.gz('roomId', false);
|
|
3120
3120
|
tmp0_serialDesc.gz('table', false);
|
|
3121
|
-
this.
|
|
3121
|
+
this.k9v_1 = tmp0_serialDesc;
|
|
3122
3122
|
}
|
|
3123
|
-
protoOf($serializer).
|
|
3124
|
-
var tmp0_desc = this.
|
|
3123
|
+
protoOf($serializer).l9v = function (encoder, value) {
|
|
3124
|
+
var tmp0_desc = this.k9v_1;
|
|
3125
3125
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3126
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
3126
|
+
tmp1_output.dt(tmp0_desc, 0, value.m9v_1);
|
|
3127
3127
|
tmp1_output.dt(tmp0_desc, 1, value.table);
|
|
3128
3128
|
tmp1_output.pr(tmp0_desc);
|
|
3129
3129
|
};
|
|
3130
3130
|
protoOf($serializer).co = function (encoder, value) {
|
|
3131
|
-
return this.
|
|
3131
|
+
return this.l9v(encoder, value instanceof TableStateUpdateDto ? value : THROW_CCE());
|
|
3132
3132
|
};
|
|
3133
3133
|
protoOf($serializer).do = function (decoder) {
|
|
3134
|
-
var tmp0_desc = this.
|
|
3134
|
+
var tmp0_desc = this.k9v_1;
|
|
3135
3135
|
var tmp1_flag = true;
|
|
3136
3136
|
var tmp2_index = 0;
|
|
3137
3137
|
var tmp3_bitMask0 = 0;
|
|
@@ -3166,7 +3166,7 @@
|
|
|
3166
3166
|
return TableStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3167
3167
|
};
|
|
3168
3168
|
protoOf($serializer).bo = function () {
|
|
3169
|
-
return this.
|
|
3169
|
+
return this.k9v_1;
|
|
3170
3170
|
};
|
|
3171
3171
|
protoOf($serializer).vz = function () {
|
|
3172
3172
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3182,9 +3182,9 @@
|
|
|
3182
3182
|
}
|
|
3183
3183
|
function TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, $this) {
|
|
3184
3184
|
if (!(3 === (3 & seen0))) {
|
|
3185
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance().
|
|
3185
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance().k9v_1);
|
|
3186
3186
|
}
|
|
3187
|
-
$this.
|
|
3187
|
+
$this.m9v_1 = roomId;
|
|
3188
3188
|
$this.table = table;
|
|
3189
3189
|
return $this;
|
|
3190
3190
|
}
|
|
@@ -3192,17 +3192,17 @@
|
|
|
3192
3192
|
return TableStateUpdateDto_init_$Init$(seen0, roomId, table, serializationConstructorMarker, objectCreate(protoOf(TableStateUpdateDto)));
|
|
3193
3193
|
}
|
|
3194
3194
|
function TableStateUpdateDto(roomId, table) {
|
|
3195
|
-
this.
|
|
3195
|
+
this.m9v_1 = roomId;
|
|
3196
3196
|
this.table = table;
|
|
3197
3197
|
}
|
|
3198
3198
|
protoOf(TableStateUpdateDto).u8w = function () {
|
|
3199
|
-
return this.
|
|
3199
|
+
return this.m9v_1;
|
|
3200
3200
|
};
|
|
3201
3201
|
protoOf(TableStateUpdateDto).m6n = function () {
|
|
3202
3202
|
return this.table;
|
|
3203
3203
|
};
|
|
3204
3204
|
protoOf(TableStateUpdateDto).ne = function () {
|
|
3205
|
-
return this.
|
|
3205
|
+
return this.m9v_1;
|
|
3206
3206
|
};
|
|
3207
3207
|
protoOf(TableStateUpdateDto).oe = function () {
|
|
3208
3208
|
return this.table;
|
|
@@ -3211,15 +3211,15 @@
|
|
|
3211
3211
|
return new TableStateUpdateDto(roomId, table);
|
|
3212
3212
|
};
|
|
3213
3213
|
protoOf(TableStateUpdateDto).copy = function (roomId, table, $super) {
|
|
3214
|
-
roomId = roomId === VOID ? this.
|
|
3214
|
+
roomId = roomId === VOID ? this.m9v_1 : roomId;
|
|
3215
3215
|
table = table === VOID ? this.table : table;
|
|
3216
3216
|
return $super === VOID ? this.c54(roomId, table) : $super.c54.call(this, roomId, table);
|
|
3217
3217
|
};
|
|
3218
3218
|
protoOf(TableStateUpdateDto).toString = function () {
|
|
3219
|
-
return 'TableStateUpdateDto(roomId=' + this.
|
|
3219
|
+
return 'TableStateUpdateDto(roomId=' + this.m9v_1 + ', table=' + this.table + ')';
|
|
3220
3220
|
};
|
|
3221
3221
|
protoOf(TableStateUpdateDto).hashCode = function () {
|
|
3222
|
-
var result = getStringHashCode(this.
|
|
3222
|
+
var result = getStringHashCode(this.m9v_1);
|
|
3223
3223
|
result = imul(result, 31) + getStringHashCode(this.table) | 0;
|
|
3224
3224
|
return result;
|
|
3225
3225
|
};
|
|
@@ -3228,7 +3228,7 @@
|
|
|
3228
3228
|
return true;
|
|
3229
3229
|
if (!(other instanceof TableStateUpdateDto))
|
|
3230
3230
|
return false;
|
|
3231
|
-
if (!(this.
|
|
3231
|
+
if (!(this.m9v_1 === other.m9v_1))
|
|
3232
3232
|
return false;
|
|
3233
3233
|
if (!(this.table === other.table))
|
|
3234
3234
|
return false;
|
|
@@ -3248,20 +3248,20 @@
|
|
|
3248
3248
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.ActionsStateUpdateDto', this, 2);
|
|
3249
3249
|
tmp0_serialDesc.gz('roomId', false);
|
|
3250
3250
|
tmp0_serialDesc.gz('actions', false);
|
|
3251
|
-
this.
|
|
3251
|
+
this.n9v_1 = tmp0_serialDesc;
|
|
3252
3252
|
}
|
|
3253
|
-
protoOf($serializer_0).
|
|
3254
|
-
var tmp0_desc = this.
|
|
3253
|
+
protoOf($serializer_0).o9v = function (encoder, value) {
|
|
3254
|
+
var tmp0_desc = this.n9v_1;
|
|
3255
3255
|
var tmp1_output = encoder.or(tmp0_desc);
|
|
3256
|
-
tmp1_output.dt(tmp0_desc, 0, value.
|
|
3256
|
+
tmp1_output.dt(tmp0_desc, 0, value.p9v_1);
|
|
3257
3257
|
tmp1_output.dt(tmp0_desc, 1, value.actions);
|
|
3258
3258
|
tmp1_output.pr(tmp0_desc);
|
|
3259
3259
|
};
|
|
3260
3260
|
protoOf($serializer_0).co = function (encoder, value) {
|
|
3261
|
-
return this.
|
|
3261
|
+
return this.o9v(encoder, value instanceof ActionsStateUpdateDto ? value : THROW_CCE());
|
|
3262
3262
|
};
|
|
3263
3263
|
protoOf($serializer_0).do = function (decoder) {
|
|
3264
|
-
var tmp0_desc = this.
|
|
3264
|
+
var tmp0_desc = this.n9v_1;
|
|
3265
3265
|
var tmp1_flag = true;
|
|
3266
3266
|
var tmp2_index = 0;
|
|
3267
3267
|
var tmp3_bitMask0 = 0;
|
|
@@ -3296,7 +3296,7 @@
|
|
|
3296
3296
|
return ActionsStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
3297
3297
|
};
|
|
3298
3298
|
protoOf($serializer_0).bo = function () {
|
|
3299
|
-
return this.
|
|
3299
|
+
return this.n9v_1;
|
|
3300
3300
|
};
|
|
3301
3301
|
protoOf($serializer_0).vz = function () {
|
|
3302
3302
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3312,9 +3312,9 @@
|
|
|
3312
3312
|
}
|
|
3313
3313
|
function ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, $this) {
|
|
3314
3314
|
if (!(3 === (3 & seen0))) {
|
|
3315
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().
|
|
3315
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance_0().n9v_1);
|
|
3316
3316
|
}
|
|
3317
|
-
$this.
|
|
3317
|
+
$this.p9v_1 = roomId;
|
|
3318
3318
|
$this.actions = actions;
|
|
3319
3319
|
return $this;
|
|
3320
3320
|
}
|
|
@@ -3322,17 +3322,17 @@
|
|
|
3322
3322
|
return ActionsStateUpdateDto_init_$Init$(seen0, roomId, actions, serializationConstructorMarker, objectCreate(protoOf(ActionsStateUpdateDto)));
|
|
3323
3323
|
}
|
|
3324
3324
|
function ActionsStateUpdateDto(roomId, actions) {
|
|
3325
|
-
this.
|
|
3325
|
+
this.p9v_1 = roomId;
|
|
3326
3326
|
this.actions = actions;
|
|
3327
3327
|
}
|
|
3328
3328
|
protoOf(ActionsStateUpdateDto).u8w = function () {
|
|
3329
|
-
return this.
|
|
3329
|
+
return this.p9v_1;
|
|
3330
3330
|
};
|
|
3331
3331
|
protoOf(ActionsStateUpdateDto).r8b = function () {
|
|
3332
3332
|
return this.actions;
|
|
3333
3333
|
};
|
|
3334
3334
|
protoOf(ActionsStateUpdateDto).ne = function () {
|
|
3335
|
-
return this.
|
|
3335
|
+
return this.p9v_1;
|
|
3336
3336
|
};
|
|
3337
3337
|
protoOf(ActionsStateUpdateDto).oe = function () {
|
|
3338
3338
|
return this.actions;
|
|
@@ -3341,15 +3341,15 @@
|
|
|
3341
3341
|
return new ActionsStateUpdateDto(roomId, actions);
|
|
3342
3342
|
};
|
|
3343
3343
|
protoOf(ActionsStateUpdateDto).copy = function (roomId, actions, $super) {
|
|
3344
|
-
roomId = roomId === VOID ? this.
|
|
3344
|
+
roomId = roomId === VOID ? this.p9v_1 : roomId;
|
|
3345
3345
|
actions = actions === VOID ? this.actions : actions;
|
|
3346
3346
|
return $super === VOID ? this.c54(roomId, actions) : $super.c54.call(this, roomId, actions);
|
|
3347
3347
|
};
|
|
3348
3348
|
protoOf(ActionsStateUpdateDto).toString = function () {
|
|
3349
|
-
return 'ActionsStateUpdateDto(roomId=' + this.
|
|
3349
|
+
return 'ActionsStateUpdateDto(roomId=' + this.p9v_1 + ', actions=' + this.actions + ')';
|
|
3350
3350
|
};
|
|
3351
3351
|
protoOf(ActionsStateUpdateDto).hashCode = function () {
|
|
3352
|
-
var result = getStringHashCode(this.
|
|
3352
|
+
var result = getStringHashCode(this.p9v_1);
|
|
3353
3353
|
result = imul(result, 31) + getStringHashCode(this.actions) | 0;
|
|
3354
3354
|
return result;
|
|
3355
3355
|
};
|
|
@@ -3358,7 +3358,7 @@
|
|
|
3358
3358
|
return true;
|
|
3359
3359
|
if (!(other instanceof ActionsStateUpdateDto))
|
|
3360
3360
|
return false;
|
|
3361
|
-
if (!(this.
|
|
3361
|
+
if (!(this.p9v_1 === other.p9v_1))
|
|
3362
3362
|
return false;
|
|
3363
3363
|
if (!(this.actions === other.actions))
|
|
3364
3364
|
return false;
|
|
@@ -3388,42 +3388,42 @@
|
|
|
3388
3388
|
var tmp$ret$0 = mapToDto(item);
|
|
3389
3389
|
destination.j(tmp$ret$0);
|
|
3390
3390
|
}
|
|
3391
|
-
return new ActionsStateUpdateDto(_this__u8e3s4.
|
|
3391
|
+
return new ActionsStateUpdateDto(_this__u8e3s4.q9v_1, encoderDecoderProvider.k8i(destination));
|
|
3392
3392
|
}
|
|
3393
3393
|
function mapToDto_3(_this__u8e3s4, encoderDecoderProvider) {
|
|
3394
|
-
return new TableStateUpdateDto(_this__u8e3s4.
|
|
3394
|
+
return new TableStateUpdateDto(_this__u8e3s4.r9v_1, encoderDecoderProvider.i8i(mapToDto_0(_this__u8e3s4.table)));
|
|
3395
3395
|
}
|
|
3396
3396
|
function ServerStateUpdate() {
|
|
3397
3397
|
}
|
|
3398
3398
|
function TableStateUpdate(roomId, table) {
|
|
3399
|
-
this.
|
|
3399
|
+
this.r9v_1 = roomId;
|
|
3400
3400
|
this.table = table;
|
|
3401
3401
|
}
|
|
3402
3402
|
protoOf(TableStateUpdate).u8w = function () {
|
|
3403
|
-
return this.
|
|
3403
|
+
return this.r9v_1;
|
|
3404
3404
|
};
|
|
3405
3405
|
protoOf(TableStateUpdate).m6n = function () {
|
|
3406
3406
|
return this.table;
|
|
3407
3407
|
};
|
|
3408
3408
|
protoOf(TableStateUpdate).ne = function () {
|
|
3409
|
-
return this.
|
|
3409
|
+
return this.r9v_1;
|
|
3410
3410
|
};
|
|
3411
3411
|
protoOf(TableStateUpdate).oe = function () {
|
|
3412
3412
|
return this.table;
|
|
3413
3413
|
};
|
|
3414
|
-
protoOf(TableStateUpdate).
|
|
3414
|
+
protoOf(TableStateUpdate).s9v = function (roomId, table) {
|
|
3415
3415
|
return new TableStateUpdate(roomId, table);
|
|
3416
3416
|
};
|
|
3417
3417
|
protoOf(TableStateUpdate).copy = function (roomId, table, $super) {
|
|
3418
|
-
roomId = roomId === VOID ? this.
|
|
3418
|
+
roomId = roomId === VOID ? this.r9v_1 : roomId;
|
|
3419
3419
|
table = table === VOID ? this.table : table;
|
|
3420
|
-
return $super === VOID ? this.
|
|
3420
|
+
return $super === VOID ? this.s9v(roomId, table) : $super.s9v.call(this, roomId, table);
|
|
3421
3421
|
};
|
|
3422
3422
|
protoOf(TableStateUpdate).toString = function () {
|
|
3423
|
-
return 'TableStateUpdate(roomId=' + this.
|
|
3423
|
+
return 'TableStateUpdate(roomId=' + this.r9v_1 + ', table=' + this.table.toString() + ')';
|
|
3424
3424
|
};
|
|
3425
3425
|
protoOf(TableStateUpdate).hashCode = function () {
|
|
3426
|
-
var result = getStringHashCode(this.
|
|
3426
|
+
var result = getStringHashCode(this.r9v_1);
|
|
3427
3427
|
result = imul(result, 31) + this.table.hashCode() | 0;
|
|
3428
3428
|
return result;
|
|
3429
3429
|
};
|
|
@@ -3432,41 +3432,41 @@
|
|
|
3432
3432
|
return true;
|
|
3433
3433
|
if (!(other instanceof TableStateUpdate))
|
|
3434
3434
|
return false;
|
|
3435
|
-
if (!(this.
|
|
3435
|
+
if (!(this.r9v_1 === other.r9v_1))
|
|
3436
3436
|
return false;
|
|
3437
3437
|
if (!this.table.equals(other.table))
|
|
3438
3438
|
return false;
|
|
3439
3439
|
return true;
|
|
3440
3440
|
};
|
|
3441
3441
|
function ActionsStateUpdate(roomId, actions) {
|
|
3442
|
-
this.
|
|
3442
|
+
this.q9v_1 = roomId;
|
|
3443
3443
|
this.actions = actions;
|
|
3444
3444
|
}
|
|
3445
3445
|
protoOf(ActionsStateUpdate).u8w = function () {
|
|
3446
|
-
return this.
|
|
3446
|
+
return this.q9v_1;
|
|
3447
3447
|
};
|
|
3448
3448
|
protoOf(ActionsStateUpdate).r8b = function () {
|
|
3449
3449
|
return this.actions;
|
|
3450
3450
|
};
|
|
3451
3451
|
protoOf(ActionsStateUpdate).ne = function () {
|
|
3452
|
-
return this.
|
|
3452
|
+
return this.q9v_1;
|
|
3453
3453
|
};
|
|
3454
3454
|
protoOf(ActionsStateUpdate).oe = function () {
|
|
3455
3455
|
return this.actions;
|
|
3456
3456
|
};
|
|
3457
|
-
protoOf(ActionsStateUpdate).
|
|
3457
|
+
protoOf(ActionsStateUpdate).t9v = function (roomId, actions) {
|
|
3458
3458
|
return new ActionsStateUpdate(roomId, actions);
|
|
3459
3459
|
};
|
|
3460
3460
|
protoOf(ActionsStateUpdate).copy = function (roomId, actions, $super) {
|
|
3461
|
-
roomId = roomId === VOID ? this.
|
|
3461
|
+
roomId = roomId === VOID ? this.q9v_1 : roomId;
|
|
3462
3462
|
actions = actions === VOID ? this.actions : actions;
|
|
3463
|
-
return $super === VOID ? this.
|
|
3463
|
+
return $super === VOID ? this.t9v(roomId, actions) : $super.t9v.call(this, roomId, actions);
|
|
3464
3464
|
};
|
|
3465
3465
|
protoOf(ActionsStateUpdate).toString = function () {
|
|
3466
|
-
return 'ActionsStateUpdate(roomId=' + this.
|
|
3466
|
+
return 'ActionsStateUpdate(roomId=' + this.q9v_1 + ', actions=' + toString(this.actions) + ')';
|
|
3467
3467
|
};
|
|
3468
3468
|
protoOf(ActionsStateUpdate).hashCode = function () {
|
|
3469
|
-
var result = getStringHashCode(this.
|
|
3469
|
+
var result = getStringHashCode(this.q9v_1);
|
|
3470
3470
|
result = imul(result, 31) + hashCode(this.actions) | 0;
|
|
3471
3471
|
return result;
|
|
3472
3472
|
};
|
|
@@ -3475,7 +3475,7 @@
|
|
|
3475
3475
|
return true;
|
|
3476
3476
|
if (!(other instanceof ActionsStateUpdate))
|
|
3477
3477
|
return false;
|
|
3478
|
-
if (!(this.
|
|
3478
|
+
if (!(this.q9v_1 === other.q9v_1))
|
|
3479
3479
|
return false;
|
|
3480
3480
|
if (!equals(this.actions, other.actions))
|
|
3481
3481
|
return false;
|
|
@@ -3709,18 +3709,18 @@
|
|
|
3709
3709
|
function ToClientEventsObserver() {
|
|
3710
3710
|
}
|
|
3711
3711
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
|
|
3712
|
-
this.
|
|
3713
|
-
this.
|
|
3712
|
+
this.d9w_1 = this$0;
|
|
3713
|
+
this.e9w_1 = $actions;
|
|
3714
3714
|
CoroutineImpl.call(this, resultContinuation);
|
|
3715
3715
|
}
|
|
3716
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3717
|
-
var tmp = this.
|
|
3716
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).h9w = function ($this$flow, $completion) {
|
|
3717
|
+
var tmp = this.i9w($this$flow, $completion);
|
|
3718
3718
|
tmp.t8_1 = Unit_instance;
|
|
3719
3719
|
tmp.u8_1 = null;
|
|
3720
3720
|
return tmp.z8();
|
|
3721
3721
|
};
|
|
3722
3722
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).h9 = function (p1, $completion) {
|
|
3723
|
-
return this.
|
|
3723
|
+
return this.h9w((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
3724
3724
|
};
|
|
3725
3725
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).z8 = function () {
|
|
3726
3726
|
var suspendResult = this.t8_1;
|
|
@@ -3730,19 +3730,19 @@
|
|
|
3730
3730
|
switch (tmp) {
|
|
3731
3731
|
case 0:
|
|
3732
3732
|
this.s8_1 = 4;
|
|
3733
|
-
this.
|
|
3734
|
-
this.
|
|
3733
|
+
this.d9w_1.n9w_1;
|
|
3734
|
+
this.g9w_1 = transformToEmits(this.d9w_1, this.e9w_1).l();
|
|
3735
3735
|
this.r8_1 = 1;
|
|
3736
3736
|
continue $sm;
|
|
3737
3737
|
case 1:
|
|
3738
|
-
if (!this.
|
|
3738
|
+
if (!this.g9w_1.m()) {
|
|
3739
3739
|
this.r8_1 = 3;
|
|
3740
3740
|
continue $sm;
|
|
3741
3741
|
}
|
|
3742
3742
|
|
|
3743
|
-
var element = this.
|
|
3743
|
+
var element = this.g9w_1.n();
|
|
3744
3744
|
this.r8_1 = 2;
|
|
3745
|
-
suspendResult = this.
|
|
3745
|
+
suspendResult = this.f9w_1.l28(element, this);
|
|
3746
3746
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3747
3747
|
return suspendResult;
|
|
3748
3748
|
}
|
|
@@ -3752,11 +3752,11 @@
|
|
|
3752
3752
|
this.r8_1 = 1;
|
|
3753
3753
|
continue $sm;
|
|
3754
3754
|
case 3:
|
|
3755
|
-
var tmp0 = this.
|
|
3755
|
+
var tmp0 = this.d9w_1.m9w_1;
|
|
3756
3756
|
l$ret$1: do {
|
|
3757
3757
|
while (true) {
|
|
3758
3758
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
3759
|
-
var upd = cur - this.
|
|
3759
|
+
var upd = cur - this.e9w_1.o() | 0;
|
|
3760
3760
|
if (tmp0.atomicfu$compareAndSet(cur, upd)) {
|
|
3761
3761
|
break l$ret$1;
|
|
3762
3762
|
}
|
|
@@ -3778,15 +3778,15 @@
|
|
|
3778
3778
|
}
|
|
3779
3779
|
while (true);
|
|
3780
3780
|
};
|
|
3781
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).
|
|
3782
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.
|
|
3783
|
-
i.
|
|
3781
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).i9w = function ($this$flow, completion) {
|
|
3782
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.d9w_1, this.e9w_1, completion);
|
|
3783
|
+
i.f9w_1 = $this$flow;
|
|
3784
3784
|
return i;
|
|
3785
3785
|
};
|
|
3786
3786
|
function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
|
|
3787
3787
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
|
|
3788
3788
|
var l = function ($this$flow, $completion) {
|
|
3789
|
-
return i.
|
|
3789
|
+
return i.h9w($this$flow, $completion);
|
|
3790
3790
|
};
|
|
3791
3791
|
l.$arity = 1;
|
|
3792
3792
|
return l;
|
|
@@ -3856,29 +3856,29 @@
|
|
|
3856
3856
|
return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
|
|
3857
3857
|
}
|
|
3858
3858
|
function mapFromGroupKey($this, _this__u8e3s4) {
|
|
3859
|
-
var tmp = $this.
|
|
3859
|
+
var tmp = $this.l9w_1.z6d();
|
|
3860
3860
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3861
|
-
var this_0 = _this__u8e3s4.
|
|
3861
|
+
var this_0 = _this__u8e3s4.q9w_1;
|
|
3862
3862
|
var tmp_0 = copyToArray(this_0);
|
|
3863
3863
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
3864
|
-
var this_1 = _this__u8e3s4.
|
|
3864
|
+
var this_1 = _this__u8e3s4.r9w_1;
|
|
3865
3865
|
var tmp$ret$1 = copyToArray(this_1);
|
|
3866
|
-
return new ActionDeliveryPayload(_this__u8e3s4.
|
|
3866
|
+
return new ActionDeliveryPayload(_this__u8e3s4.p9w_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.s9w_1);
|
|
3867
3867
|
}
|
|
3868
3868
|
function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
|
|
3869
|
-
this.
|
|
3870
|
-
this.
|
|
3871
|
-
this.
|
|
3872
|
-
this.
|
|
3869
|
+
this.p9w_1 = tableId;
|
|
3870
|
+
this.q9w_1 = includePlayers;
|
|
3871
|
+
this.r9w_1 = excludePlayers;
|
|
3872
|
+
this.s9w_1 = deliveryType;
|
|
3873
3873
|
}
|
|
3874
3874
|
protoOf(GroupKey).toString = function () {
|
|
3875
|
-
return 'GroupKey(tableId=' + this.
|
|
3875
|
+
return 'GroupKey(tableId=' + this.p9w_1 + ', includePlayers=' + toString(this.q9w_1) + ', excludePlayers=' + toString(this.r9w_1) + ', deliveryType=' + this.s9w_1.toString() + ')';
|
|
3876
3876
|
};
|
|
3877
3877
|
protoOf(GroupKey).hashCode = function () {
|
|
3878
|
-
var result = getStringHashCode(this.
|
|
3879
|
-
result = imul(result, 31) + hashCode(this.p9w_1) | 0;
|
|
3878
|
+
var result = getStringHashCode(this.p9w_1);
|
|
3880
3879
|
result = imul(result, 31) + hashCode(this.q9w_1) | 0;
|
|
3881
|
-
result = imul(result, 31) + this.r9w_1
|
|
3880
|
+
result = imul(result, 31) + hashCode(this.r9w_1) | 0;
|
|
3881
|
+
result = imul(result, 31) + this.s9w_1.hashCode() | 0;
|
|
3882
3882
|
return result;
|
|
3883
3883
|
};
|
|
3884
3884
|
protoOf(GroupKey).equals = function (other) {
|
|
@@ -3886,35 +3886,35 @@
|
|
|
3886
3886
|
return true;
|
|
3887
3887
|
if (!(other instanceof GroupKey))
|
|
3888
3888
|
return false;
|
|
3889
|
-
if (!(this.
|
|
3890
|
-
return false;
|
|
3891
|
-
if (!equals(this.p9w_1, other.p9w_1))
|
|
3889
|
+
if (!(this.p9w_1 === other.p9w_1))
|
|
3892
3890
|
return false;
|
|
3893
3891
|
if (!equals(this.q9w_1, other.q9w_1))
|
|
3894
3892
|
return false;
|
|
3895
|
-
if (!this.r9w_1
|
|
3893
|
+
if (!equals(this.r9w_1, other.r9w_1))
|
|
3894
|
+
return false;
|
|
3895
|
+
if (!this.s9w_1.equals(other.s9w_1))
|
|
3896
3896
|
return false;
|
|
3897
3897
|
return true;
|
|
3898
3898
|
};
|
|
3899
3899
|
function Companion_4() {
|
|
3900
|
-
this.
|
|
3900
|
+
this.t9w_1 = 6;
|
|
3901
3901
|
}
|
|
3902
3902
|
var Companion_instance_12;
|
|
3903
3903
|
function Companion_getInstance_5() {
|
|
3904
3904
|
return Companion_instance_12;
|
|
3905
3905
|
}
|
|
3906
3906
|
function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
|
|
3907
|
-
this.
|
|
3907
|
+
this.c9x_1 = this$0;
|
|
3908
3908
|
CoroutineImpl.call(this, resultContinuation);
|
|
3909
3909
|
}
|
|
3910
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3911
|
-
var tmp = this.
|
|
3910
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).e9x = function (actions, $completion) {
|
|
3911
|
+
var tmp = this.f9x(actions, $completion);
|
|
3912
3912
|
tmp.t8_1 = Unit_instance;
|
|
3913
3913
|
tmp.u8_1 = null;
|
|
3914
3914
|
return tmp.z8();
|
|
3915
3915
|
};
|
|
3916
3916
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).h9 = function (p1, $completion) {
|
|
3917
|
-
return this.
|
|
3917
|
+
return this.e9x((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
|
|
3918
3918
|
};
|
|
3919
3919
|
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).z8 = function () {
|
|
3920
3920
|
var suspendResult = this.t8_1;
|
|
@@ -3923,7 +3923,7 @@
|
|
|
3923
3923
|
var tmp = this.r8_1;
|
|
3924
3924
|
if (tmp === 0) {
|
|
3925
3925
|
this.s8_1 = 1;
|
|
3926
|
-
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.
|
|
3926
|
+
return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.c9x_1, this.d9x_1, null));
|
|
3927
3927
|
} else if (tmp === 1) {
|
|
3928
3928
|
throw this.u8_1;
|
|
3929
3929
|
}
|
|
@@ -3933,23 +3933,23 @@
|
|
|
3933
3933
|
}
|
|
3934
3934
|
while (true);
|
|
3935
3935
|
};
|
|
3936
|
-
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).
|
|
3937
|
-
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.
|
|
3938
|
-
i.
|
|
3936
|
+
protoOf(ToClientEventsObserverImpl$observeEvents$slambda).f9x = function (actions, completion) {
|
|
3937
|
+
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.c9x_1, completion);
|
|
3938
|
+
i.d9x_1 = actions;
|
|
3939
3939
|
return i;
|
|
3940
3940
|
};
|
|
3941
3941
|
function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
|
|
3942
3942
|
var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
|
|
3943
3943
|
var l = function (actions, $completion) {
|
|
3944
|
-
return i.
|
|
3944
|
+
return i.e9x(actions, $completion);
|
|
3945
3945
|
};
|
|
3946
3946
|
l.$arity = 1;
|
|
3947
3947
|
return l;
|
|
3948
3948
|
}
|
|
3949
3949
|
function $sentEventCOROUTINE$(_this__u8e3s4, fromEvent, resultContinuation) {
|
|
3950
3950
|
CoroutineImpl.call(this, resultContinuation);
|
|
3951
|
-
this.
|
|
3952
|
-
this.
|
|
3951
|
+
this.o9x_1 = _this__u8e3s4;
|
|
3952
|
+
this.p9x_1 = fromEvent;
|
|
3953
3953
|
}
|
|
3954
3954
|
protoOf($sentEventCOROUTINE$).z8 = function () {
|
|
3955
3955
|
var suspendResult = this.t8_1;
|
|
@@ -3959,8 +3959,8 @@
|
|
|
3959
3959
|
switch (tmp) {
|
|
3960
3960
|
case 0:
|
|
3961
3961
|
this.s8_1 = 2;
|
|
3962
|
-
this.
|
|
3963
|
-
var tmp0 = this.
|
|
3962
|
+
this.o9x_1.n9w_1;
|
|
3963
|
+
var tmp0 = this.o9x_1.m9w_1;
|
|
3964
3964
|
l$ret$1: do {
|
|
3965
3965
|
while (true) {
|
|
3966
3966
|
var cur = tmp0.kotlinx$atomicfu$value;
|
|
@@ -3972,7 +3972,7 @@
|
|
|
3972
3972
|
}
|
|
3973
3973
|
while (false);
|
|
3974
3974
|
this.r8_1 = 1;
|
|
3975
|
-
suspendResult = this.
|
|
3975
|
+
suspendResult = this.o9x_1.o9w_1.l28(this.p9x_1, this);
|
|
3976
3976
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3977
3977
|
return suspendResult;
|
|
3978
3978
|
}
|
|
@@ -3996,7 +3996,7 @@
|
|
|
3996
3996
|
};
|
|
3997
3997
|
function $waitForCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
3998
3998
|
CoroutineImpl.call(this, resultContinuation);
|
|
3999
|
-
this.
|
|
3999
|
+
this.y9x_1 = _this__u8e3s4;
|
|
4000
4000
|
}
|
|
4001
4001
|
protoOf($waitForCOROUTINE$).z8 = function () {
|
|
4002
4002
|
var suspendResult = this.t8_1;
|
|
@@ -4006,12 +4006,12 @@
|
|
|
4006
4006
|
switch (tmp) {
|
|
4007
4007
|
case 0:
|
|
4008
4008
|
this.s8_1 = 5;
|
|
4009
|
-
this.
|
|
4010
|
-
this.
|
|
4009
|
+
this.y9x_1.n9w_1;
|
|
4010
|
+
this.z9x_1 = 0;
|
|
4011
4011
|
this.r8_1 = 1;
|
|
4012
4012
|
continue $sm;
|
|
4013
4013
|
case 1:
|
|
4014
|
-
if (!!(this.
|
|
4014
|
+
if (!!(this.y9x_1.m9w_1.kotlinx$atomicfu$value === 0)) {
|
|
4015
4015
|
this.r8_1 = 4;
|
|
4016
4016
|
continue $sm;
|
|
4017
4017
|
}
|
|
@@ -4024,9 +4024,9 @@
|
|
|
4024
4024
|
|
|
4025
4025
|
continue $sm;
|
|
4026
4026
|
case 2:
|
|
4027
|
-
this.
|
|
4028
|
-
if (this.
|
|
4029
|
-
this.
|
|
4027
|
+
this.z9x_1 = this.z9x_1 + 1 | 0;
|
|
4028
|
+
if (this.z9x_1 > 6) {
|
|
4029
|
+
this.y9x_1.k9w_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.y9x_1.m9w_1.kotlinx$atomicfu$value);
|
|
4030
4030
|
this.r8_1 = 4;
|
|
4031
4031
|
continue $sm;
|
|
4032
4032
|
} else {
|
|
@@ -4054,16 +4054,16 @@
|
|
|
4054
4054
|
while (true);
|
|
4055
4055
|
};
|
|
4056
4056
|
function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
|
|
4057
|
-
this.
|
|
4058
|
-
this.
|
|
4059
|
-
this.
|
|
4060
|
-
this.
|
|
4057
|
+
this.j9w_1 = serverReduxConfig;
|
|
4058
|
+
this.k9w_1 = logger;
|
|
4059
|
+
this.l9w_1 = idsProvider;
|
|
4060
|
+
this.m9w_1 = atomic$ref$1(0);
|
|
4061
4061
|
var tmp = this;
|
|
4062
4062
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
4063
|
-
tmp.
|
|
4064
|
-
this.
|
|
4063
|
+
tmp.n9w_1 = get_atomicfu$reentrantLock();
|
|
4064
|
+
this.o9w_1 = MutableSharedFlow();
|
|
4065
4065
|
}
|
|
4066
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4066
|
+
protoOf(ToClientEventsObserverImpl).u9v = function (fromEvent, $completion) {
|
|
4067
4067
|
var tmp = new $sentEventCOROUTINE$(this, fromEvent, $completion);
|
|
4068
4068
|
tmp.t8_1 = Unit_instance;
|
|
4069
4069
|
tmp.u8_1 = null;
|
|
@@ -4075,162 +4075,162 @@
|
|
|
4075
4075
|
tmp.u8_1 = null;
|
|
4076
4076
|
return tmp.z8();
|
|
4077
4077
|
};
|
|
4078
|
-
protoOf(ToClientEventsObserverImpl).
|
|
4079
|
-
if (!this.
|
|
4080
|
-
return this.
|
|
4078
|
+
protoOf(ToClientEventsObserverImpl).i9m = function () {
|
|
4079
|
+
if (!this.j9w_1.enabledCombinedEvents) {
|
|
4080
|
+
return this.o9w_1;
|
|
4081
4081
|
}
|
|
4082
|
-
var tmp = windowedByInterval(this.
|
|
4082
|
+
var tmp = windowedByInterval(this.o9w_1, fromInt(this.j9w_1.combinedEventsIntervalMillis));
|
|
4083
4083
|
return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
|
|
4084
4084
|
};
|
|
4085
4085
|
function UpdateServerConfigAction(serverConfig) {
|
|
4086
|
-
this.
|
|
4086
|
+
this.a9y_1 = serverConfig;
|
|
4087
4087
|
}
|
|
4088
4088
|
protoOf(UpdateServerConfigAction).toString = function () {
|
|
4089
|
-
return 'UpdateServerConfigAction(serverConfig=' + this.
|
|
4089
|
+
return 'UpdateServerConfigAction(serverConfig=' + this.a9y_1.toString() + ')';
|
|
4090
4090
|
};
|
|
4091
4091
|
protoOf(UpdateServerConfigAction).hashCode = function () {
|
|
4092
|
-
return this.
|
|
4092
|
+
return this.a9y_1.hashCode();
|
|
4093
4093
|
};
|
|
4094
4094
|
protoOf(UpdateServerConfigAction).equals = function (other) {
|
|
4095
4095
|
if (this === other)
|
|
4096
4096
|
return true;
|
|
4097
4097
|
if (!(other instanceof UpdateServerConfigAction))
|
|
4098
4098
|
return false;
|
|
4099
|
-
if (!this.
|
|
4099
|
+
if (!this.a9y_1.equals(other.a9y_1))
|
|
4100
4100
|
return false;
|
|
4101
4101
|
return true;
|
|
4102
4102
|
};
|
|
4103
4103
|
function SpectatorsAction() {
|
|
4104
4104
|
}
|
|
4105
4105
|
function AddSpectatorsAction(spectators) {
|
|
4106
|
-
this.
|
|
4106
|
+
this.b9y_1 = spectators;
|
|
4107
4107
|
}
|
|
4108
4108
|
protoOf(AddSpectatorsAction).toString = function () {
|
|
4109
|
-
return 'AddSpectatorsAction(spectators=' + toString(this.
|
|
4109
|
+
return 'AddSpectatorsAction(spectators=' + toString(this.b9y_1) + ')';
|
|
4110
4110
|
};
|
|
4111
4111
|
protoOf(AddSpectatorsAction).hashCode = function () {
|
|
4112
|
-
return hashCode(this.
|
|
4112
|
+
return hashCode(this.b9y_1);
|
|
4113
4113
|
};
|
|
4114
4114
|
protoOf(AddSpectatorsAction).equals = function (other) {
|
|
4115
4115
|
if (this === other)
|
|
4116
4116
|
return true;
|
|
4117
4117
|
if (!(other instanceof AddSpectatorsAction))
|
|
4118
4118
|
return false;
|
|
4119
|
-
if (!equals(this.
|
|
4119
|
+
if (!equals(this.b9y_1, other.b9y_1))
|
|
4120
4120
|
return false;
|
|
4121
4121
|
return true;
|
|
4122
4122
|
};
|
|
4123
4123
|
function RemoveSpectatorsAction(spectators) {
|
|
4124
|
-
this.
|
|
4124
|
+
this.c9y_1 = spectators;
|
|
4125
4125
|
}
|
|
4126
4126
|
protoOf(RemoveSpectatorsAction).toString = function () {
|
|
4127
|
-
return 'RemoveSpectatorsAction(spectators=' + toString(this.
|
|
4127
|
+
return 'RemoveSpectatorsAction(spectators=' + toString(this.c9y_1) + ')';
|
|
4128
4128
|
};
|
|
4129
4129
|
protoOf(RemoveSpectatorsAction).hashCode = function () {
|
|
4130
|
-
return hashCode(this.
|
|
4130
|
+
return hashCode(this.c9y_1);
|
|
4131
4131
|
};
|
|
4132
4132
|
protoOf(RemoveSpectatorsAction).equals = function (other) {
|
|
4133
4133
|
if (this === other)
|
|
4134
4134
|
return true;
|
|
4135
4135
|
if (!(other instanceof RemoveSpectatorsAction))
|
|
4136
4136
|
return false;
|
|
4137
|
-
if (!equals(this.
|
|
4137
|
+
if (!equals(this.c9y_1, other.c9y_1))
|
|
4138
4138
|
return false;
|
|
4139
4139
|
return true;
|
|
4140
4140
|
};
|
|
4141
4141
|
function _get_asyncProvider__jbpyhw($this) {
|
|
4142
|
-
var tmp0 = $this.
|
|
4142
|
+
var tmp0 = $this.i9y_1;
|
|
4143
4143
|
var tmp = KProperty1;
|
|
4144
4144
|
// Inline function 'kotlin.getValue' call
|
|
4145
4145
|
getPropertyCallableRef('asyncProvider', 1, tmp, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3_0(), null);
|
|
4146
4146
|
return tmp0.w();
|
|
4147
4147
|
}
|
|
4148
4148
|
function _get_logger__rkp4sl_0($this) {
|
|
4149
|
-
var tmp0 = $this.
|
|
4149
|
+
var tmp0 = $this.j9y_1;
|
|
4150
4150
|
var tmp = KProperty1;
|
|
4151
4151
|
// Inline function 'kotlin.getValue' call
|
|
4152
4152
|
getPropertyCallableRef('logger', 1, tmp, ServerGameStoreContract$_get_logger_$ref_zbgw28_0(), null);
|
|
4153
4153
|
return tmp0.w();
|
|
4154
4154
|
}
|
|
4155
4155
|
function _get_playerConnectionInteractor__si6cxf_0($this) {
|
|
4156
|
-
var tmp0 = $this.
|
|
4156
|
+
var tmp0 = $this.k9y_1;
|
|
4157
4157
|
var tmp = KProperty1;
|
|
4158
4158
|
// Inline function 'kotlin.getValue' call
|
|
4159
4159
|
getPropertyCallableRef('playerConnectionInteractor', 1, tmp, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8_0(), null);
|
|
4160
4160
|
return tmp0.w();
|
|
4161
4161
|
}
|
|
4162
4162
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
4163
|
-
var tmp0 = $this.
|
|
4163
|
+
var tmp0 = $this.l9y_1;
|
|
4164
4164
|
var tmp = KProperty1;
|
|
4165
4165
|
// Inline function 'kotlin.getValue' call
|
|
4166
4166
|
getPropertyCallableRef('lastCardInteractor', 1, tmp, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh_0(), null);
|
|
4167
4167
|
return tmp0.w();
|
|
4168
4168
|
}
|
|
4169
4169
|
function _get_serverConfig__rk2g06($this) {
|
|
4170
|
-
var tmp0 = $this.
|
|
4170
|
+
var tmp0 = $this.m9y_1;
|
|
4171
4171
|
var tmp = KProperty1;
|
|
4172
4172
|
// Inline function 'kotlin.getValue' call
|
|
4173
4173
|
getPropertyCallableRef('serverConfig', 1, tmp, ServerGameStoreContract$_get_serverConfig_$ref_bz2891_0(), null);
|
|
4174
4174
|
return tmp0.w();
|
|
4175
4175
|
}
|
|
4176
4176
|
function _get_logicConfig__52ww9d($this) {
|
|
4177
|
-
var tmp0 = $this.
|
|
4177
|
+
var tmp0 = $this.n9y_1;
|
|
4178
4178
|
var tmp = KProperty1;
|
|
4179
4179
|
// Inline function 'kotlin.getValue' call
|
|
4180
4180
|
getPropertyCallableRef('logicConfig', 1, tmp, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi_0(), null);
|
|
4181
4181
|
return tmp0.w();
|
|
4182
4182
|
}
|
|
4183
4183
|
function _get_idsProvider__fnfajc_0($this) {
|
|
4184
|
-
var tmp0 = $this.
|
|
4184
|
+
var tmp0 = $this.o9y_1;
|
|
4185
4185
|
var tmp = KProperty1;
|
|
4186
4186
|
// Inline function 'kotlin.getValue' call
|
|
4187
4187
|
getPropertyCallableRef('idsProvider', 1, tmp, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1_0(), null);
|
|
4188
4188
|
return tmp0.w();
|
|
4189
4189
|
}
|
|
4190
4190
|
function _get_botConfig__cpaxzc($this) {
|
|
4191
|
-
var tmp0 = $this.
|
|
4191
|
+
var tmp0 = $this.p9y_1;
|
|
4192
4192
|
var tmp = KProperty1;
|
|
4193
4193
|
// Inline function 'kotlin.getValue' call
|
|
4194
4194
|
getPropertyCallableRef('botConfig', 1, tmp, ServerGameStoreContract$_get_botConfig_$ref_nebw1d_0(), null);
|
|
4195
4195
|
return tmp0.w();
|
|
4196
4196
|
}
|
|
4197
4197
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
4198
|
-
var tmp0 = $this.
|
|
4198
|
+
var tmp0 = $this.q9y_1;
|
|
4199
4199
|
var tmp = KProperty1;
|
|
4200
4200
|
// Inline function 'kotlin.getValue' call
|
|
4201
4201
|
getPropertyCallableRef('scenePositionProvider', 1, tmp, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4_0(), null);
|
|
4202
4202
|
return tmp0.w();
|
|
4203
4203
|
}
|
|
4204
4204
|
function _get_toClientEventsObserver__6rp51y_0($this) {
|
|
4205
|
-
var tmp0 = $this.
|
|
4205
|
+
var tmp0 = $this.r9y_1;
|
|
4206
4206
|
var tmp = KProperty1;
|
|
4207
4207
|
// Inline function 'kotlin.getValue' call
|
|
4208
4208
|
getPropertyCallableRef('toClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p_0(), null);
|
|
4209
4209
|
return tmp0.w();
|
|
4210
4210
|
}
|
|
4211
4211
|
function _get_fromClientEventsObserver__a7vzd3_0($this) {
|
|
4212
|
-
var tmp0 = $this.
|
|
4212
|
+
var tmp0 = $this.s9y_1;
|
|
4213
4213
|
var tmp = KProperty1;
|
|
4214
4214
|
// Inline function 'kotlin.getValue' call
|
|
4215
4215
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg_0(), null);
|
|
4216
4216
|
return tmp0.w();
|
|
4217
4217
|
}
|
|
4218
4218
|
function _get_dealerConfig__183ci8($this) {
|
|
4219
|
-
var tmp0 = $this.
|
|
4219
|
+
var tmp0 = $this.t9y_1;
|
|
4220
4220
|
var tmp = KProperty1;
|
|
4221
4221
|
// Inline function 'kotlin.getValue' call
|
|
4222
4222
|
getPropertyCallableRef('dealerConfig', 1, tmp, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp_0(), null);
|
|
4223
4223
|
return tmp0.w();
|
|
4224
4224
|
}
|
|
4225
4225
|
function _get_poolProvider__tqti6a($this) {
|
|
4226
|
-
var tmp0 = $this.
|
|
4226
|
+
var tmp0 = $this.u9y_1;
|
|
4227
4227
|
var tmp = KProperty1;
|
|
4228
4228
|
// Inline function 'kotlin.getValue' call
|
|
4229
4229
|
getPropertyCallableRef('poolProvider', 1, tmp, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3_0(), null);
|
|
4230
4230
|
return tmp0.w();
|
|
4231
4231
|
}
|
|
4232
4232
|
function _get_cardsDealerProvider__bekjpg($this) {
|
|
4233
|
-
var tmp0 = $this.
|
|
4233
|
+
var tmp0 = $this.v9y_1;
|
|
4234
4234
|
var tmp = KProperty1;
|
|
4235
4235
|
// Inline function 'kotlin.getValue' call
|
|
4236
4236
|
getPropertyCallableRef('cardsDealerProvider', 1, tmp, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj_0(), null);
|
|
@@ -4394,11 +4394,11 @@
|
|
|
4394
4394
|
tmp = fileLoggerStoreContract;
|
|
4395
4395
|
}
|
|
4396
4396
|
fileLoggerStoreContract = tmp;
|
|
4397
|
-
this.
|
|
4398
|
-
this.
|
|
4399
|
-
this.
|
|
4400
|
-
this.
|
|
4401
|
-
this.
|
|
4397
|
+
this.d9y_1 = validationStoreContract;
|
|
4398
|
+
this.e9y_1 = timersStoreContract;
|
|
4399
|
+
this.f9y_1 = botGameStoreContract;
|
|
4400
|
+
this.g9y_1 = gameMechanicStoreContract;
|
|
4401
|
+
this.h9y_1 = fileLoggerStoreContract;
|
|
4402
4402
|
var tmp_0 = this;
|
|
4403
4403
|
// Inline function 'org.kodein.di.instance' call
|
|
4404
4404
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4406,7 +4406,7 @@
|
|
|
4406
4406
|
var tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
|
|
4407
4407
|
var tmp_2 = Instance(di, tmp$ret$0, null);
|
|
4408
4408
|
var tmp_3 = KProperty1;
|
|
4409
|
-
tmp_0.
|
|
4409
|
+
tmp_0.i9y_1 = tmp_2.u64(this, getPropertyCallableRef('asyncProvider', 1, tmp_3, ServerGameStoreContract$_get_asyncProvider_$ref_1q7po3(), null));
|
|
4410
4410
|
var tmp_4 = this;
|
|
4411
4411
|
// Inline function 'org.kodein.di.instance' call
|
|
4412
4412
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4414,7 +4414,7 @@
|
|
|
4414
4414
|
var tmp$ret$2 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
4415
4415
|
var tmp_6 = Instance(di, tmp$ret$2, null);
|
|
4416
4416
|
var tmp_7 = KProperty1;
|
|
4417
|
-
tmp_4.
|
|
4417
|
+
tmp_4.j9y_1 = tmp_6.u64(this, getPropertyCallableRef('logger', 1, tmp_7, ServerGameStoreContract$_get_logger_$ref_zbgw28(), null));
|
|
4418
4418
|
var tmp_8 = this;
|
|
4419
4419
|
// Inline function 'org.kodein.di.instance' call
|
|
4420
4420
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4422,7 +4422,7 @@
|
|
|
4422
4422
|
var tmp$ret$4 = isInterface(tmp_9, TypeToken) ? tmp_9 : THROW_CCE();
|
|
4423
4423
|
var tmp_10 = Instance(di, tmp$ret$4, null);
|
|
4424
4424
|
var tmp_11 = KProperty1;
|
|
4425
|
-
tmp_8.
|
|
4425
|
+
tmp_8.k9y_1 = tmp_10.u64(this, getPropertyCallableRef('playerConnectionInteractor', 1, tmp_11, ServerGameStoreContract$_get_playerConnectionInteractor_$ref_d9n2s8(), null));
|
|
4426
4426
|
var tmp_12 = this;
|
|
4427
4427
|
// Inline function 'org.kodein.di.instance' call
|
|
4428
4428
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4430,7 +4430,7 @@
|
|
|
4430
4430
|
var tmp$ret$6 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
|
|
4431
4431
|
var tmp_14 = Instance(di, tmp$ret$6, null);
|
|
4432
4432
|
var tmp_15 = KProperty1;
|
|
4433
|
-
tmp_12.
|
|
4433
|
+
tmp_12.l9y_1 = tmp_14.u64(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_15, ServerGameStoreContract$_get_lastCardInteractor_$ref_khpgh(), null));
|
|
4434
4434
|
var tmp_16 = this;
|
|
4435
4435
|
// Inline function 'org.kodein.di.instance' call
|
|
4436
4436
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4438,7 +4438,7 @@
|
|
|
4438
4438
|
var tmp$ret$8 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
4439
4439
|
var tmp_18 = Instance(di, tmp$ret$8, null);
|
|
4440
4440
|
var tmp_19 = KProperty1;
|
|
4441
|
-
tmp_16.
|
|
4441
|
+
tmp_16.m9y_1 = tmp_18.u64(this, getPropertyCallableRef('serverConfig', 1, tmp_19, ServerGameStoreContract$_get_serverConfig_$ref_bz2891(), null));
|
|
4442
4442
|
var tmp_20 = this;
|
|
4443
4443
|
// Inline function 'org.kodein.di.instance' call
|
|
4444
4444
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4446,7 +4446,7 @@
|
|
|
4446
4446
|
var tmp$ret$10 = isInterface(tmp_21, TypeToken) ? tmp_21 : THROW_CCE();
|
|
4447
4447
|
var tmp_22 = Instance(di, tmp$ret$10, null);
|
|
4448
4448
|
var tmp_23 = KProperty1;
|
|
4449
|
-
tmp_20.
|
|
4449
|
+
tmp_20.n9y_1 = tmp_22.u64(this, getPropertyCallableRef('logicConfig', 1, tmp_23, ServerGameStoreContract$_get_logicConfig_$ref_nqj2yi(), null));
|
|
4450
4450
|
var tmp_24 = this;
|
|
4451
4451
|
// Inline function 'org.kodein.di.instance' call
|
|
4452
4452
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4454,7 +4454,7 @@
|
|
|
4454
4454
|
var tmp$ret$12 = isInterface(tmp_25, TypeToken) ? tmp_25 : THROW_CCE();
|
|
4455
4455
|
var tmp_26 = Instance(di, tmp$ret$12, null);
|
|
4456
4456
|
var tmp_27 = KProperty1;
|
|
4457
|
-
tmp_24.
|
|
4457
|
+
tmp_24.o9y_1 = tmp_26.u64(this, getPropertyCallableRef('idsProvider', 1, tmp_27, ServerGameStoreContract$_get_idsProvider_$ref_rf1ck1(), null));
|
|
4458
4458
|
var tmp_28 = this;
|
|
4459
4459
|
// Inline function 'org.kodein.di.instance' call
|
|
4460
4460
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4462,7 +4462,7 @@
|
|
|
4462
4462
|
var tmp$ret$14 = isInterface(tmp_29, TypeToken) ? tmp_29 : THROW_CCE();
|
|
4463
4463
|
var tmp_30 = Instance(di, tmp$ret$14, null);
|
|
4464
4464
|
var tmp_31 = KProperty1;
|
|
4465
|
-
tmp_28.
|
|
4465
|
+
tmp_28.p9y_1 = tmp_30.u64(this, getPropertyCallableRef('botConfig', 1, tmp_31, ServerGameStoreContract$_get_botConfig_$ref_nebw1d(), null));
|
|
4466
4466
|
var tmp_32 = this;
|
|
4467
4467
|
// Inline function 'org.kodein.di.instance' call
|
|
4468
4468
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4470,7 +4470,7 @@
|
|
|
4470
4470
|
var tmp$ret$16 = isInterface(tmp_33, TypeToken) ? tmp_33 : THROW_CCE();
|
|
4471
4471
|
var tmp_34 = Instance(di, tmp$ret$16, null);
|
|
4472
4472
|
var tmp_35 = KProperty1;
|
|
4473
|
-
tmp_32.
|
|
4473
|
+
tmp_32.q9y_1 = tmp_34.u64(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_35, ServerGameStoreContract$_get_scenePositionProvider_$ref_ue39g4(), null));
|
|
4474
4474
|
var tmp_36 = this;
|
|
4475
4475
|
// Inline function 'org.kodein.di.instance' call
|
|
4476
4476
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4478,7 +4478,7 @@
|
|
|
4478
4478
|
var tmp$ret$18 = isInterface(tmp_37, TypeToken) ? tmp_37 : THROW_CCE();
|
|
4479
4479
|
var tmp_38 = Instance(di, tmp$ret$18, null);
|
|
4480
4480
|
var tmp_39 = KProperty1;
|
|
4481
|
-
tmp_36.
|
|
4481
|
+
tmp_36.r9y_1 = tmp_38.u64(this, getPropertyCallableRef('toClientEventsObserver', 1, tmp_39, ServerGameStoreContract$_get_toClientEventsObserver_$ref_nkgv3p(), null));
|
|
4482
4482
|
var tmp_40 = this;
|
|
4483
4483
|
// Inline function 'org.kodein.di.instance' call
|
|
4484
4484
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4486,7 +4486,7 @@
|
|
|
4486
4486
|
var tmp$ret$20 = isInterface(tmp_41, TypeToken) ? tmp_41 : THROW_CCE();
|
|
4487
4487
|
var tmp_42 = Instance(di, tmp$ret$20, null);
|
|
4488
4488
|
var tmp_43 = KProperty1;
|
|
4489
|
-
tmp_40.
|
|
4489
|
+
tmp_40.s9y_1 = tmp_42.u64(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_43, ServerGameStoreContract$_get_fromClientEventsObserver_$ref_v1j2bg(), null));
|
|
4490
4490
|
var tmp_44 = this;
|
|
4491
4491
|
// Inline function 'org.kodein.di.instance' call
|
|
4492
4492
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4494,7 +4494,7 @@
|
|
|
4494
4494
|
var tmp$ret$22 = isInterface(tmp_45, TypeToken) ? tmp_45 : THROW_CCE();
|
|
4495
4495
|
var tmp_46 = Instance(di, tmp$ret$22, null);
|
|
4496
4496
|
var tmp_47 = KProperty1;
|
|
4497
|
-
tmp_44.
|
|
4497
|
+
tmp_44.t9y_1 = tmp_46.u64(this, getPropertyCallableRef('dealerConfig', 1, tmp_47, ServerGameStoreContract$_get_dealerConfig_$ref_mdo2zp(), null));
|
|
4498
4498
|
var tmp_48 = this;
|
|
4499
4499
|
// Inline function 'org.kodein.di.instance' call
|
|
4500
4500
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4502,7 +4502,7 @@
|
|
|
4502
4502
|
var tmp$ret$24 = isInterface(tmp_49, TypeToken) ? tmp_49 : THROW_CCE();
|
|
4503
4503
|
var tmp_50 = Instance(di, tmp$ret$24, null);
|
|
4504
4504
|
var tmp_51 = KProperty1;
|
|
4505
|
-
tmp_48.
|
|
4505
|
+
tmp_48.u9y_1 = tmp_50.u64(this, getPropertyCallableRef('poolProvider', 1, tmp_51, ServerGameStoreContract$_get_poolProvider_$ref_4pfoc3(), null));
|
|
4506
4506
|
var tmp_52 = this;
|
|
4507
4507
|
// Inline function 'org.kodein.di.instance' call
|
|
4508
4508
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -4510,13 +4510,13 @@
|
|
|
4510
4510
|
var tmp$ret$26 = isInterface(tmp_53, TypeToken) ? tmp_53 : THROW_CCE();
|
|
4511
4511
|
var tmp_54 = Instance(di, tmp$ret$26, null);
|
|
4512
4512
|
var tmp_55 = KProperty1;
|
|
4513
|
-
tmp_52.
|
|
4513
|
+
tmp_52.v9y_1 = tmp_54.u64(this, getPropertyCallableRef('cardsDealerProvider', 1, tmp_55, ServerGameStoreContract$_get_cardsDealerProvider_$ref_ipxqoj(), null));
|
|
4514
4514
|
}
|
|
4515
4515
|
protoOf(ServerGameStoreContract).e8y = function () {
|
|
4516
|
-
return plus(plus(plus(plus(plus(this.
|
|
4516
|
+
return plus(plus(plus(plus(plus(this.d9y_1.e8y(), this.g9y_1.e8y()), this.e9y_1.e8y()), this.f9y_1.e8y()), this.h9y_1.e8y()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl_0(this))]));
|
|
4517
4517
|
};
|
|
4518
4518
|
protoOf(ServerGameStoreContract).f8y = function () {
|
|
4519
|
-
var tmp = plus(plus(plus(plus(plus(plus(plus(this.
|
|
4519
|
+
var tmp = plus(plus(plus(plus(plus(plus(plus(this.d9y_1.f8y(), listOfNotNull(_get_serverConfig__rk2g06(this).finishGameWhenNotLiveStrategy.equals(FinishGameWhenNotLiveStrategy_ALL_REPLACED_WITH_BOT_getInstance()) ? checkBotsMiddleware(_get_logger__rkp4sl_0(this)) : null)), this.g9y_1.f8y()), this.e9y_1.f8y()), this.f9y_1.f8y()), this.h9y_1.f8y()), 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))).l90(), finishingGameWhenCantStartNewMiddleware()]));
|
|
4520
4520
|
var tmp_0 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this), _get_logger__rkp4sl_0(this));
|
|
4521
4521
|
var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
|
|
4522
4522
|
var tmp1_logger = _get_logger__rkp4sl_0(this);
|
|
@@ -4567,7 +4567,7 @@
|
|
|
4567
4567
|
return this.m6h(store, next, action);
|
|
4568
4568
|
};
|
|
4569
4569
|
function ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
|
|
4570
|
-
this.
|
|
4570
|
+
this.y9y_1 = this$0;
|
|
4571
4571
|
}
|
|
4572
4572
|
protoOf(ServerMapMechanicToClientActionMiddleware$middleware$$inlined$middlewareForActionType$1).x6f = function (action) {
|
|
4573
4573
|
return action instanceof MechanicAction;
|
|
@@ -4578,7 +4578,7 @@
|
|
|
4578
4578
|
// Inline function 'kotlin.with' call
|
|
4579
4579
|
var tmp;
|
|
4580
4580
|
if (action_0 instanceof StartGameMechanicAction) {
|
|
4581
|
-
var tmp0 = this.
|
|
4581
|
+
var tmp0 = this.y9y_1;
|
|
4582
4582
|
var tmp2 = action_0.p8u_1;
|
|
4583
4583
|
var tmp4 = action_0.r8u_1;
|
|
4584
4584
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -4618,7 +4618,7 @@
|
|
|
4618
4618
|
var _iterator__ex2g4s_2 = destination_1.l();
|
|
4619
4619
|
while (_iterator__ex2g4s_2.m()) {
|
|
4620
4620
|
var element_0 = _iterator__ex2g4s_2.n();
|
|
4621
|
-
var tmp0_aid = tmp0.
|
|
4621
|
+
var tmp0_aid = tmp0.x9y_1.z6d();
|
|
4622
4622
|
// Inline function 'kotlin.collections.map' call
|
|
4623
4623
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4624
4624
|
var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
|
|
@@ -4640,15 +4640,15 @@
|
|
|
4640
4640
|
tmp = destination_2;
|
|
4641
4641
|
} else {
|
|
4642
4642
|
if (action_0 instanceof StartNewGameMechanicAction) {
|
|
4643
|
-
var tmp0_0 = this.
|
|
4643
|
+
var tmp0_0 = this.y9y_1;
|
|
4644
4644
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4645
4645
|
var table = state.m6n();
|
|
4646
|
-
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.
|
|
4646
|
+
var sendToPlayer_0 = new RoomActionPayload(tmp0_0.x9y_1.z6d(), table.id, null);
|
|
4647
4647
|
var tmp$ret$21 = mapToClient_16(action_0, sendToPlayer_0);
|
|
4648
4648
|
tmp = listOfNotNull(tmp$ret$21);
|
|
4649
4649
|
} else {
|
|
4650
4650
|
if (action_0 instanceof ContinueGameMechanicAction) {
|
|
4651
|
-
var tmp0_1 = this.
|
|
4651
|
+
var tmp0_1 = this.y9y_1;
|
|
4652
4652
|
var tmp2_0 = action_0.v8u_1.id;
|
|
4653
4653
|
var tmp4_0 = action_0.gameCreatorPlayerId;
|
|
4654
4654
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -4688,7 +4688,7 @@
|
|
|
4688
4688
|
var _iterator__ex2g4s_7 = destination_6.l();
|
|
4689
4689
|
while (_iterator__ex2g4s_7.m()) {
|
|
4690
4690
|
var element_2 = _iterator__ex2g4s_7.n();
|
|
4691
|
-
var tmp0_aid_0 = tmp0_1.
|
|
4691
|
+
var tmp0_aid_0 = tmp0_1.x9y_1.z6d();
|
|
4692
4692
|
// Inline function 'kotlin.collections.map' call
|
|
4693
4693
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4694
4694
|
var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
|
|
@@ -4710,39 +4710,39 @@
|
|
|
4710
4710
|
tmp = destination_7;
|
|
4711
4711
|
} else {
|
|
4712
4712
|
if (action_0 instanceof FinishingGameMechanicAction) {
|
|
4713
|
-
var tmp0_2 = this.
|
|
4713
|
+
var tmp0_2 = this.y9y_1;
|
|
4714
4714
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4715
4715
|
var table_0 = state.m6n();
|
|
4716
|
-
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.
|
|
4716
|
+
var sendToPlayer_2 = new RoomActionPayload(tmp0_2.x9y_1.z6d(), table_0.id, null);
|
|
4717
4717
|
var tmp$ret$44 = mapToClient_14(action_0, sendToPlayer_2);
|
|
4718
4718
|
tmp = listOfNotNull(tmp$ret$44);
|
|
4719
4719
|
} else {
|
|
4720
4720
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
4721
|
-
var tmp0_3 = this.
|
|
4721
|
+
var tmp0_3 = this.y9y_1;
|
|
4722
4722
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4723
4723
|
var table_1 = state.m6n();
|
|
4724
|
-
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.
|
|
4724
|
+
var sendToPlayer_3 = new RoomActionPayload(tmp0_3.x9y_1.z6d(), table_1.id, null);
|
|
4725
4725
|
var tmp$ret$46 = mapToClient_13(action_0, sendToPlayer_3);
|
|
4726
4726
|
tmp = listOfNotNull(tmp$ret$46);
|
|
4727
4727
|
} else {
|
|
4728
4728
|
if (action_0 instanceof RestartGameMechanicAction) {
|
|
4729
|
-
var tmp0_4 = this.
|
|
4729
|
+
var tmp0_4 = this.y9y_1;
|
|
4730
4730
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4731
4731
|
var table_2 = state.m6n();
|
|
4732
|
-
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.
|
|
4732
|
+
var sendToPlayer_4 = new RoomActionPayload(tmp0_4.x9y_1.z6d(), table_2.id, null);
|
|
4733
4733
|
var tmp$ret$48 = mapToClient_12(action_0, sendToPlayer_4);
|
|
4734
4734
|
tmp = listOfNotNull(tmp$ret$48);
|
|
4735
4735
|
} else {
|
|
4736
4736
|
if (action_0 instanceof ErrorAction) {
|
|
4737
|
-
var tmp0_5 = this.
|
|
4737
|
+
var tmp0_5 = this.y9y_1;
|
|
4738
4738
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4739
4739
|
var table_3 = state.m6n();
|
|
4740
|
-
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.
|
|
4740
|
+
var sendToPlayer_5 = new RoomActionPayload(tmp0_5.x9y_1.z6d(), table_3.id, null);
|
|
4741
4741
|
var tmp$ret$50 = mapToClient_11(action_0, sendToPlayer_5);
|
|
4742
4742
|
tmp = listOfNotNull(tmp$ret$50);
|
|
4743
4743
|
} else {
|
|
4744
4744
|
if (action_0 instanceof SceneMechanicAction) {
|
|
4745
|
-
var tmp0_6 = this.
|
|
4745
|
+
var tmp0_6 = this.y9y_1;
|
|
4746
4746
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4747
4747
|
var table_4 = state.m6n();
|
|
4748
4748
|
var tmp2_1 = table_4.id;
|
|
@@ -4775,7 +4775,7 @@
|
|
|
4775
4775
|
var _iterator__ex2g4s_11 = destination_10.l();
|
|
4776
4776
|
while (_iterator__ex2g4s_11.m()) {
|
|
4777
4777
|
var element_4 = _iterator__ex2g4s_11.n();
|
|
4778
|
-
var tmp0_aid_1 = tmp0_6.
|
|
4778
|
+
var tmp0_aid_1 = tmp0_6.x9y_1.z6d();
|
|
4779
4779
|
// Inline function 'kotlin.collections.map' call
|
|
4780
4780
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4781
4781
|
var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
|
|
@@ -4797,7 +4797,7 @@
|
|
|
4797
4797
|
tmp = destination_11;
|
|
4798
4798
|
} else {
|
|
4799
4799
|
if (action_0 instanceof SceneActMechanicAction) {
|
|
4800
|
-
var tmp0_7 = this.
|
|
4800
|
+
var tmp0_7 = this.y9y_1;
|
|
4801
4801
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4802
4802
|
var table_5 = state.m6n();
|
|
4803
4803
|
var tmp2_2 = table_5.id;
|
|
@@ -4830,7 +4830,7 @@
|
|
|
4830
4830
|
var _iterator__ex2g4s_15 = destination_14.l();
|
|
4831
4831
|
while (_iterator__ex2g4s_15.m()) {
|
|
4832
4832
|
var element_6 = _iterator__ex2g4s_15.n();
|
|
4833
|
-
var tmp0_aid_2 = tmp0_7.
|
|
4833
|
+
var tmp0_aid_2 = tmp0_7.x9y_1.z6d();
|
|
4834
4834
|
// Inline function 'kotlin.collections.map' call
|
|
4835
4835
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4836
4836
|
var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
|
|
@@ -4852,7 +4852,7 @@
|
|
|
4852
4852
|
tmp = destination_15;
|
|
4853
4853
|
} else {
|
|
4854
4854
|
if (action_0 instanceof TeamsDataMechanicAction) {
|
|
4855
|
-
var tmp0_8 = this.
|
|
4855
|
+
var tmp0_8 = this.y9y_1;
|
|
4856
4856
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
|
|
4857
4857
|
var table_6 = state.m6n();
|
|
4858
4858
|
var tmp2_3 = table_6.id;
|
|
@@ -4885,7 +4885,7 @@
|
|
|
4885
4885
|
var _iterator__ex2g4s_19 = destination_18.l();
|
|
4886
4886
|
while (_iterator__ex2g4s_19.m()) {
|
|
4887
4887
|
var element_8 = _iterator__ex2g4s_19.n();
|
|
4888
|
-
var tmp0_aid_3 = tmp0_8.
|
|
4888
|
+
var tmp0_aid_3 = tmp0_8.x9y_1.z6d();
|
|
4889
4889
|
// Inline function 'kotlin.collections.map' call
|
|
4890
4890
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4891
4891
|
var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
|
|
@@ -4897,7 +4897,7 @@
|
|
|
4897
4897
|
}
|
|
4898
4898
|
var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tmp2_3, tmp4_3, element_8, destination_20);
|
|
4899
4899
|
var tmp_0;
|
|
4900
|
-
if (this.
|
|
4900
|
+
if (this.y9y_1.w9y_1.supportBackwardActions && getPlayer(state.m6n().players, sendToPlayer_8.a7b_1).p6q_1.e6u_1) {
|
|
4901
4901
|
tmp_0 = null;
|
|
4902
4902
|
} else {
|
|
4903
4903
|
tmp_0 = mapToClient_8(action_0, sendToPlayer_8);
|
|
@@ -4913,72 +4913,72 @@
|
|
|
4913
4913
|
tmp = destination_19;
|
|
4914
4914
|
} else {
|
|
4915
4915
|
if (action_0 instanceof PlayerReadyMechanicAction) {
|
|
4916
|
-
var tmp0_9 = this.
|
|
4916
|
+
var tmp0_9 = this.y9y_1;
|
|
4917
4917
|
var tmp2_4 = state.m6n();
|
|
4918
4918
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4919
|
-
var exceptPlayerId = this.
|
|
4920
|
-
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.
|
|
4919
|
+
var exceptPlayerId = this.y9y_1.w9y_1.supportBackwardActions ? action_0.q8v_1 : null;
|
|
4920
|
+
var sendToPlayer_9 = new RoomActionPayload(tmp0_9.x9y_1.z6d(), tmp2_4.id, exceptPlayerId);
|
|
4921
4921
|
var tmp$ret$109 = mapToClient_7(action_0, sendToPlayer_9);
|
|
4922
4922
|
tmp = listOfNotNull(tmp$ret$109);
|
|
4923
4923
|
} else {
|
|
4924
4924
|
if (action_0 instanceof SuitChoiceMechanicAction) {
|
|
4925
|
-
var tmp0_10 = this.
|
|
4925
|
+
var tmp0_10 = this.y9y_1;
|
|
4926
4926
|
var tmp2_5 = state.m6n();
|
|
4927
4927
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4928
|
-
var exceptPlayerId_0 = this.
|
|
4929
|
-
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.
|
|
4928
|
+
var exceptPlayerId_0 = this.y9y_1.w9y_1.supportBackwardActions ? action_0.s8q_1 : null;
|
|
4929
|
+
var sendToPlayer_10 = new RoomActionPayload(tmp0_10.x9y_1.z6d(), tmp2_5.id, exceptPlayerId_0);
|
|
4930
4930
|
var tmp$ret$111 = mapToClient_6(action_0, sendToPlayer_10);
|
|
4931
4931
|
tmp = listOfNotNull(tmp$ret$111);
|
|
4932
4932
|
} else {
|
|
4933
4933
|
if (action_0 instanceof TrumpMechanicAction) {
|
|
4934
|
-
var tmp0_11 = this.
|
|
4934
|
+
var tmp0_11 = this.y9y_1;
|
|
4935
4935
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4936
4936
|
var table_7 = state.m6n();
|
|
4937
|
-
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.
|
|
4937
|
+
var sendToPlayer_11 = new RoomActionPayload(tmp0_11.x9y_1.z6d(), table_7.id, null);
|
|
4938
4938
|
var tmp$ret$113 = mapToClient_5(action_0, sendToPlayer_11);
|
|
4939
4939
|
tmp = listOfNotNull(tmp$ret$113);
|
|
4940
4940
|
} else {
|
|
4941
4941
|
if (action_0 instanceof CombinationChoiceMechanicAction) {
|
|
4942
|
-
var tmp0_12 = this.
|
|
4942
|
+
var tmp0_12 = this.y9y_1;
|
|
4943
4943
|
var tmp2_6 = state.m6n();
|
|
4944
4944
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4945
|
-
var exceptPlayerId_1 = this.
|
|
4946
|
-
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.
|
|
4945
|
+
var exceptPlayerId_1 = this.y9y_1.w9y_1.supportBackwardActions ? action_0.w8v_1 : null;
|
|
4946
|
+
var sendToPlayer_12 = new RoomActionPayload(tmp0_12.x9y_1.z6d(), tmp2_6.id, exceptPlayerId_1);
|
|
4947
4947
|
var tmp$ret$115 = mapToClient_4(action_0, sendToPlayer_12);
|
|
4948
4948
|
tmp = listOfNotNull(tmp$ret$115);
|
|
4949
4949
|
} else {
|
|
4950
4950
|
if (action_0 instanceof PutCardMechanicAction) {
|
|
4951
|
-
var tmp0_13 = this.
|
|
4951
|
+
var tmp0_13 = this.y9y_1;
|
|
4952
4952
|
var tmp2_7 = state.m6n();
|
|
4953
4953
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4954
|
-
var exceptPlayerId_2 = this.
|
|
4955
|
-
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.
|
|
4954
|
+
var exceptPlayerId_2 = this.y9y_1.w9y_1.supportBackwardActions ? action_0.x8q_1 : null;
|
|
4955
|
+
var sendToPlayer_13 = new RoomActionPayload(tmp0_13.x9y_1.z6d(), tmp2_7.id, exceptPlayerId_2);
|
|
4956
4956
|
var tmp$ret$117 = mapToClient_3(action_0, sendToPlayer_13);
|
|
4957
4957
|
tmp = listOfNotNull(tmp$ret$117);
|
|
4958
4958
|
} else {
|
|
4959
4959
|
if (action_0 instanceof PickUpBribeMechanicAction) {
|
|
4960
|
-
var tmp0_14 = this.
|
|
4960
|
+
var tmp0_14 = this.y9y_1;
|
|
4961
4961
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4962
4962
|
var table_8 = state.m6n();
|
|
4963
|
-
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.
|
|
4963
|
+
var sendToPlayer_14 = new RoomActionPayload(tmp0_14.x9y_1.z6d(), table_8.id, null);
|
|
4964
4964
|
var tmp$ret$119 = mapToClient_2(action_0, sendToPlayer_14);
|
|
4965
4965
|
tmp = listOfNotNull(tmp$ret$119);
|
|
4966
4966
|
} else {
|
|
4967
4967
|
if (action_0 instanceof WinnerCombinationsMechanicAction) {
|
|
4968
|
-
var tmp0_15 = this.
|
|
4968
|
+
var tmp0_15 = this.y9y_1;
|
|
4969
4969
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4970
4970
|
var table_9 = state.m6n();
|
|
4971
|
-
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.
|
|
4971
|
+
var sendToPlayer_15 = new RoomActionPayload(tmp0_15.x9y_1.z6d(), table_9.id, null);
|
|
4972
4972
|
var tmp$ret$121 = mapToClient_1(action_0, sendToPlayer_15);
|
|
4973
4973
|
tmp = listOfNotNull(tmp$ret$121);
|
|
4974
4974
|
} else {
|
|
4975
4975
|
if (action_0 instanceof MessageMechanicAction) {
|
|
4976
4976
|
var message = action_0.a8w_1;
|
|
4977
|
-
var tmp0_16 = this.
|
|
4977
|
+
var tmp0_16 = this.y9y_1;
|
|
4978
4978
|
var tmp2_8 = state.m6n();
|
|
4979
4979
|
var tmp_1;
|
|
4980
4980
|
var tmp_2;
|
|
4981
|
-
if (this.
|
|
4981
|
+
if (this.y9y_1.w9y_1.supportBackwardActions) {
|
|
4982
4982
|
tmp_2 = isInterface(message, UserMessage);
|
|
4983
4983
|
} else {
|
|
4984
4984
|
tmp_2 = false;
|
|
@@ -4990,16 +4990,16 @@
|
|
|
4990
4990
|
}
|
|
4991
4991
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
4992
4992
|
var exceptPlayerId_3 = tmp_1;
|
|
4993
|
-
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.
|
|
4993
|
+
var sendToPlayer_16 = new RoomActionPayload(tmp0_16.x9y_1.z6d(), tmp2_8.id, exceptPlayerId_3);
|
|
4994
4994
|
var tmp$ret$123 = mapToClient_0(action_0, sendToPlayer_16);
|
|
4995
4995
|
tmp = listOfNotNull(tmp$ret$123);
|
|
4996
4996
|
} else {
|
|
4997
4997
|
if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
|
|
4998
|
-
var tmp0_17 = this.
|
|
4998
|
+
var tmp0_17 = this.y9y_1;
|
|
4999
4999
|
var tmp2_9 = state.m6n();
|
|
5000
5000
|
// Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
|
|
5001
5001
|
var exceptPlayerId_4 = action_0.playerId;
|
|
5002
|
-
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.
|
|
5002
|
+
var sendToPlayer_17 = new RoomActionPayload(tmp0_17.x9y_1.z6d(), tmp2_9.id, exceptPlayerId_4);
|
|
5003
5003
|
var tmp$ret$125 = mapToClient(action_0, sendToPlayer_17);
|
|
5004
5004
|
tmp = listOfNotNull(tmp$ret$125);
|
|
5005
5005
|
} else {
|
|
@@ -5036,8 +5036,8 @@
|
|
|
5036
5036
|
return this.m6h(store, next, action);
|
|
5037
5037
|
};
|
|
5038
5038
|
function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
|
|
5039
|
-
this.
|
|
5040
|
-
this.
|
|
5039
|
+
this.w9y_1 = logicConfig;
|
|
5040
|
+
this.x9y_1 = idsProvider;
|
|
5041
5041
|
}
|
|
5042
5042
|
protoOf(ServerMapMechanicToClientActionMiddleware).l90 = function () {
|
|
5043
5043
|
// Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
|
|
@@ -5048,8 +5048,8 @@
|
|
|
5048
5048
|
return new sendToClientActionMiddleware$$inlined$middlewareForActionType$1(asyncProvider, provider);
|
|
5049
5049
|
}
|
|
5050
5050
|
function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
|
|
5051
|
-
this.
|
|
5052
|
-
this.
|
|
5051
|
+
this.h9z_1 = $provider;
|
|
5052
|
+
this.i9z_1 = $action;
|
|
5053
5053
|
CoroutineImpl.call(this, resultContinuation);
|
|
5054
5054
|
}
|
|
5055
5055
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).z2c = function ($this$launchDefault, $completion) {
|
|
@@ -5070,7 +5070,7 @@
|
|
|
5070
5070
|
case 0:
|
|
5071
5071
|
this.s8_1 = 2;
|
|
5072
5072
|
this.r8_1 = 1;
|
|
5073
|
-
suspendResult = this.
|
|
5073
|
+
suspendResult = this.h9z_1.u9v(this.i9z_1, this);
|
|
5074
5074
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5075
5075
|
return suspendResult;
|
|
5076
5076
|
}
|
|
@@ -5093,8 +5093,8 @@
|
|
|
5093
5093
|
while (true);
|
|
5094
5094
|
};
|
|
5095
5095
|
protoOf(sendToClientActionMiddleware$o$handle$slambda).a2d = function ($this$launchDefault, completion) {
|
|
5096
|
-
var i = new sendToClientActionMiddleware$o$handle$slambda(this.
|
|
5097
|
-
i.
|
|
5096
|
+
var i = new sendToClientActionMiddleware$o$handle$slambda(this.h9z_1, this.i9z_1, completion);
|
|
5097
|
+
i.j9z_1 = $this$launchDefault;
|
|
5098
5098
|
return i;
|
|
5099
5099
|
};
|
|
5100
5100
|
function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
|
|
@@ -5106,15 +5106,15 @@
|
|
|
5106
5106
|
return l;
|
|
5107
5107
|
}
|
|
5108
5108
|
function sendToClientActionMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $provider) {
|
|
5109
|
-
this.
|
|
5110
|
-
this.
|
|
5109
|
+
this.k9z_1 = $asyncProvider;
|
|
5110
|
+
this.l9z_1 = $provider;
|
|
5111
5111
|
}
|
|
5112
5112
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).x6f = function (action) {
|
|
5113
5113
|
return action instanceof ToClientAction;
|
|
5114
5114
|
};
|
|
5115
5115
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).m6h = function (store, next, action) {
|
|
5116
5116
|
var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
|
|
5117
|
-
this.
|
|
5117
|
+
this.k9z_1.f6c(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.l9z_1, action_0, null));
|
|
5118
5118
|
next(action_0);
|
|
5119
5119
|
};
|
|
5120
5120
|
protoOf(sendToClientActionMiddleware$$inlined$middlewareForActionType$1).w6f = function (store, next, action) {
|
|
@@ -5131,7 +5131,7 @@
|
|
|
5131
5131
|
};
|
|
5132
5132
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).h98 = function (state, action) {
|
|
5133
5133
|
var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
|
|
5134
|
-
return state.q8t(VOID, get_serverStatePayload_0(state).copy(action_0.
|
|
5134
|
+
return state.q8t(VOID, get_serverStatePayload_0(state).copy(action_0.a9y_1));
|
|
5135
5135
|
};
|
|
5136
5136
|
protoOf(serverConfigReducer$$inlined$reducerForActionType$1).n6h = function (state, action) {
|
|
5137
5137
|
return this.h98((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
@@ -5156,7 +5156,7 @@
|
|
|
5156
5156
|
}
|
|
5157
5157
|
function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
|
|
5158
5158
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
5159
|
-
this.
|
|
5159
|
+
this.o9z_1 = logger;
|
|
5160
5160
|
}
|
|
5161
5161
|
protoOf(ServerMechanicLifecycleReducer).t99 = function (state, action) {
|
|
5162
5162
|
var serverState = get_serverStatePayloadOrNull(state.payload);
|
|
@@ -5172,7 +5172,7 @@
|
|
|
5172
5172
|
var tmp9_tableOrNull = tmp0_$this.a9b(tmp1_tableId, tmp2_gameId, tmp4_config, tmp3_version, tmp5_users, tmp6_spectators, tmp7_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
|
|
5173
5173
|
var tmp;
|
|
5174
5174
|
if (serverState == null) {
|
|
5175
|
-
this.
|
|
5175
|
+
this.o9z_1.w(VOID, 'ServerPayload is not onStart');
|
|
5176
5176
|
tmp = Companion_instance_13.initial();
|
|
5177
5177
|
} else {
|
|
5178
5178
|
tmp = serverState;
|
|
@@ -5201,7 +5201,7 @@
|
|
|
5201
5201
|
return new spectatorsReducer$$inlined$reducerForActionType$1(logger);
|
|
5202
5202
|
}
|
|
5203
5203
|
function spectatorsReducer$$inlined$reducerForActionType$1($logger) {
|
|
5204
|
-
this.
|
|
5204
|
+
this.p9z_1 = $logger;
|
|
5205
5205
|
}
|
|
5206
5206
|
protoOf(spectatorsReducer$$inlined$reducerForActionType$1).x6f = function (action) {
|
|
5207
5207
|
return isInterface(action, SpectatorsAction);
|
|
@@ -5212,7 +5212,7 @@
|
|
|
5212
5212
|
var tmp;
|
|
5213
5213
|
if (action_0 instanceof AddSpectatorsAction) {
|
|
5214
5214
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5215
|
-
var tmp0 = action_0.
|
|
5215
|
+
var tmp0 = action_0.b9y_1;
|
|
5216
5216
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5217
5217
|
var destination = ArrayList_init_$Create$_0();
|
|
5218
5218
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5231,9 +5231,9 @@
|
|
|
5231
5231
|
var tmp_0;
|
|
5232
5232
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5233
5233
|
if (!sameSpectators.r()) {
|
|
5234
|
-
this.
|
|
5234
|
+
this.p9z_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
|
|
5235
5235
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5236
|
-
var tmp0_0 = action_0.
|
|
5236
|
+
var tmp0_0 = action_0.b9y_1;
|
|
5237
5237
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5238
5238
|
var destination_0 = ArrayList_init_$Create$_0();
|
|
5239
5239
|
var _iterator__ex2g4s_0 = tmp0_0.l();
|
|
@@ -5268,7 +5268,7 @@
|
|
|
5268
5268
|
}
|
|
5269
5269
|
tmp_0 = destination_0;
|
|
5270
5270
|
} else {
|
|
5271
|
-
tmp_0 = action_0.
|
|
5271
|
+
tmp_0 = action_0.b9y_1;
|
|
5272
5272
|
}
|
|
5273
5273
|
// Inline function 'kotlin.collections.map' call
|
|
5274
5274
|
var this_0 = tmp_0;
|
|
@@ -5285,7 +5285,7 @@
|
|
|
5285
5285
|
} else {
|
|
5286
5286
|
if (action_0 instanceof RemoveSpectatorsAction) {
|
|
5287
5287
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
5288
|
-
var tmp0_1 = action_0.
|
|
5288
|
+
var tmp0_1 = action_0.c9y_1;
|
|
5289
5289
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
5290
5290
|
var destination_2 = ArrayList_init_$Create$_0();
|
|
5291
5291
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -5304,9 +5304,9 @@
|
|
|
5304
5304
|
var tmp_2;
|
|
5305
5305
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5306
5306
|
if (!sameSpectators_0.r()) {
|
|
5307
|
-
this.
|
|
5307
|
+
this.p9z_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
|
|
5308
5308
|
// Inline function 'kotlin.collections.filterNot' call
|
|
5309
|
-
var tmp0_2 = action_0.
|
|
5309
|
+
var tmp0_2 = action_0.c9y_1;
|
|
5310
5310
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
5311
5311
|
var destination_3 = ArrayList_init_$Create$_0();
|
|
5312
5312
|
var _iterator__ex2g4s_4 = tmp0_2.l();
|
|
@@ -5341,7 +5341,7 @@
|
|
|
5341
5341
|
}
|
|
5342
5342
|
tmp_2 = destination_3;
|
|
5343
5343
|
} else {
|
|
5344
|
-
tmp_2 = action_0.
|
|
5344
|
+
tmp_2 = action_0.c9y_1;
|
|
5345
5345
|
}
|
|
5346
5346
|
var spectatorsToRemove = toSet(tmp_2);
|
|
5347
5347
|
// Inline function 'kotlin.collections.filterNot' call
|
|
@@ -5390,12 +5390,12 @@
|
|
|
5390
5390
|
};
|
|
5391
5391
|
function Companion_5() {
|
|
5392
5392
|
}
|
|
5393
|
-
protoOf(Companion_5).
|
|
5393
|
+
protoOf(Companion_5).q9z = function (config) {
|
|
5394
5394
|
return new ServerStatePayload(config);
|
|
5395
5395
|
};
|
|
5396
5396
|
protoOf(Companion_5).initial = function (config, $super) {
|
|
5397
5397
|
config = config === VOID ? Companion_instance_8.initial(null) : config;
|
|
5398
|
-
return $super === VOID ? this.
|
|
5398
|
+
return $super === VOID ? this.q9z(config) : $super.q9z.call(this, config);
|
|
5399
5399
|
};
|
|
5400
5400
|
var Companion_instance_13;
|
|
5401
5401
|
function Companion_getInstance_6() {
|
|
@@ -5410,12 +5410,12 @@
|
|
|
5410
5410
|
protoOf(ServerStatePayload).ne = function () {
|
|
5411
5411
|
return this.config;
|
|
5412
5412
|
};
|
|
5413
|
-
protoOf(ServerStatePayload).
|
|
5413
|
+
protoOf(ServerStatePayload).r9z = function (config) {
|
|
5414
5414
|
return new ServerStatePayload(config);
|
|
5415
5415
|
};
|
|
5416
5416
|
protoOf(ServerStatePayload).copy = function (config, $super) {
|
|
5417
5417
|
config = config === VOID ? this.config : config;
|
|
5418
|
-
return $super === VOID ? this.
|
|
5418
|
+
return $super === VOID ? this.r9z(config) : $super.r9z.call(this, config);
|
|
5419
5419
|
};
|
|
5420
5420
|
protoOf(ServerStatePayload).toString = function () {
|
|
5421
5421
|
return 'ServerStatePayload(config=' + this.config.toString() + ')';
|
|
@@ -5459,7 +5459,7 @@
|
|
|
5459
5459
|
return new ServerLoggerKey(_this__u8e3s4.gameId);
|
|
5460
5460
|
}
|
|
5461
5461
|
function serverLoggerKeyFromPayload(_this__u8e3s4, payload) {
|
|
5462
|
-
var gameId = Companion_instance_3.
|
|
5462
|
+
var gameId = Companion_instance_3.c9d(payload);
|
|
5463
5463
|
var tmp;
|
|
5464
5464
|
if (!(gameId == null)) {
|
|
5465
5465
|
tmp = new ServerLoggerKey(gameId);
|
|
@@ -5476,14 +5476,14 @@
|
|
|
5476
5476
|
return new GameServerEngineControllerImpl(loggerCallback, randomOrgConfig);
|
|
5477
5477
|
}
|
|
5478
5478
|
function _get_logger__rkp4sl_1($this) {
|
|
5479
|
-
var tmp0 = $this.
|
|
5479
|
+
var tmp0 = $this.ba0_1;
|
|
5480
5480
|
var tmp = KProperty1;
|
|
5481
5481
|
// Inline function 'kotlin.getValue' call
|
|
5482
5482
|
getPropertyCallableRef('logger', 1, tmp, GameServerEngineControllerImpl$_get_logger_$ref_b9j0th(), null);
|
|
5483
5483
|
return tmp0.w();
|
|
5484
5484
|
}
|
|
5485
5485
|
function _get_di__ndbzja($this) {
|
|
5486
|
-
var tmp0 = $this.
|
|
5486
|
+
var tmp0 = $this.ca0_1;
|
|
5487
5487
|
var tmp = KProperty1;
|
|
5488
5488
|
// Inline function 'kotlin.getValue' call
|
|
5489
5489
|
getPropertyCallableRef('di', 1, tmp, GameServerEngineControllerImpl$_get_di_$ref_cvlqo6(), null);
|
|
@@ -5500,8 +5500,8 @@
|
|
|
5500
5500
|
}
|
|
5501
5501
|
function createCallbackOutput($this, gameServer) {
|
|
5502
5502
|
var tmp;
|
|
5503
|
-
if (!($this.
|
|
5504
|
-
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.
|
|
5503
|
+
if (!($this.z9z_1 == null)) {
|
|
5504
|
+
var tmp_0 = new LoggerCallbacksWrapperLoggerOutput($this.z9z_1);
|
|
5505
5505
|
tmp = new CallbackWrapperLoggerOutput(tmp_0, GameServerEngineControllerImpl$createCallbackOutput$lambda(gameServer));
|
|
5506
5506
|
} else {
|
|
5507
5507
|
tmp = null;
|
|
@@ -5515,11 +5515,11 @@
|
|
|
5515
5515
|
function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
|
|
5516
5516
|
return function () {
|
|
5517
5517
|
var tmp;
|
|
5518
|
-
if (this$0.
|
|
5518
|
+
if (this$0.z9z_1 == null) {
|
|
5519
5519
|
tmp = null;
|
|
5520
5520
|
} else {
|
|
5521
5521
|
// Inline function 'kotlin.let' call
|
|
5522
|
-
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.
|
|
5522
|
+
tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.z9z_1)]));
|
|
5523
5523
|
}
|
|
5524
5524
|
var tmp1_elvis_lhs = tmp;
|
|
5525
5525
|
return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
|
|
@@ -5552,7 +5552,7 @@
|
|
|
5552
5552
|
tmp_0.x62(tmp$ret$3);
|
|
5553
5553
|
$this$DI.b5z(jsonModule());
|
|
5554
5554
|
$this$DI.b5z(serverHelpersModule());
|
|
5555
|
-
$this$DI.b5z(randomOrgModule(this$0.
|
|
5555
|
+
$this$DI.b5z(randomOrgModule(this$0.aa0_1));
|
|
5556
5556
|
return Unit_instance;
|
|
5557
5557
|
};
|
|
5558
5558
|
}
|
|
@@ -5628,13 +5628,13 @@
|
|
|
5628
5628
|
};
|
|
5629
5629
|
}
|
|
5630
5630
|
function GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1($reducer) {
|
|
5631
|
-
this.
|
|
5631
|
+
this.ja0_1 = $reducer;
|
|
5632
5632
|
}
|
|
5633
5633
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).x6f = function (action) {
|
|
5634
5634
|
return isInterface(action, Action);
|
|
5635
5635
|
};
|
|
5636
5636
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).h98 = function (state, action) {
|
|
5637
|
-
return this.
|
|
5637
|
+
return this.ja0_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
5638
5638
|
};
|
|
5639
5639
|
protoOf(GameServerEngineControllerImpl$createGameEngineWithLogic$$inlined$map$1).n6h = function (state, action) {
|
|
5640
5640
|
return this.h98((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
@@ -5738,7 +5738,7 @@
|
|
|
5738
5738
|
// Inline function 'kotlin.let' call
|
|
5739
5739
|
$this$DI.b5z(tmp0_safe_receiver);
|
|
5740
5740
|
}
|
|
5741
|
-
$this$DI.b5z(dealerModule(this$0.randomPoolProvider, this$0.
|
|
5741
|
+
$this$DI.b5z(dealerModule(this$0.randomPoolProvider, this$0.aa0_1));
|
|
5742
5742
|
$this$DI.b5z(coreModule($coreConfig));
|
|
5743
5743
|
$this$DI.b5z(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $ratingConfig, $externalReducers, $externalMiddlewares));
|
|
5744
5744
|
return Unit_instance;
|
|
@@ -5747,13 +5747,13 @@
|
|
|
5747
5747
|
function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
|
|
5748
5748
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
5749
5749
|
production = production === VOID ? true : production;
|
|
5750
|
-
this.
|
|
5751
|
-
this.
|
|
5750
|
+
this.z9z_1 = loggerCallback;
|
|
5751
|
+
this.aa0_1 = randomOrgConfig;
|
|
5752
5752
|
AppEnvironment_getInstance().u6l(production ? AppEnvironmentValue_PRODUCTION_getInstance() : AppEnvironmentValue_DEVELOPMENT_getInstance());
|
|
5753
5753
|
var tmp = this;
|
|
5754
|
-
tmp.
|
|
5754
|
+
tmp.ba0_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
|
|
5755
5755
|
var tmp_0 = this;
|
|
5756
|
-
tmp_0.
|
|
5756
|
+
tmp_0.ca0_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
|
|
5757
5757
|
var tmp_1 = this;
|
|
5758
5758
|
// Inline function 'org.kodein.di.instance' call
|
|
5759
5759
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -5762,7 +5762,7 @@
|
|
|
5762
5762
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5763
5763
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
5764
5764
|
var tmp_4 = KProperty1;
|
|
5765
|
-
tmp_1.
|
|
5765
|
+
tmp_1.da0_1 = tmp_3.u64(this, getPropertyCallableRef('parser', 1, tmp_4, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w(), null));
|
|
5766
5766
|
var tmp_5 = this;
|
|
5767
5767
|
// Inline function 'org.kodein.di.instance' call
|
|
5768
5768
|
var this_1 = _get_di__ndbzja(this);
|
|
@@ -5771,7 +5771,7 @@
|
|
|
5771
5771
|
var tmp$ret$2 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
|
|
5772
5772
|
var tmp_7 = Instance(this_1, tmp$ret$2, null);
|
|
5773
5773
|
var tmp_8 = KProperty1;
|
|
5774
|
-
tmp_5.
|
|
5774
|
+
tmp_5.ea0_1 = tmp_7.u64(this, getPropertyCallableRef('helper', 1, tmp_8, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f(), null));
|
|
5775
5775
|
var tmp_9 = this;
|
|
5776
5776
|
// Inline function 'org.kodein.di.instance' call
|
|
5777
5777
|
var this_2 = _get_di__ndbzja(this);
|
|
@@ -5780,7 +5780,7 @@
|
|
|
5780
5780
|
var tmp$ret$4 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
5781
5781
|
var tmp_11 = Instance(this_2, tmp$ret$4, null);
|
|
5782
5782
|
var tmp_12 = KProperty1;
|
|
5783
|
-
tmp_9.
|
|
5783
|
+
tmp_9.fa0_1 = tmp_11.u64(this, getPropertyCallableRef('serverHelper', 1, tmp_12, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre(), null));
|
|
5784
5784
|
var tmp_13 = this;
|
|
5785
5785
|
// Inline function 'org.kodein.di.instance' call
|
|
5786
5786
|
var this_3 = _get_di__ndbzja(this);
|
|
@@ -5789,7 +5789,7 @@
|
|
|
5789
5789
|
var tmp$ret$6 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
|
|
5790
5790
|
var tmp_15 = Instance(this_3, tmp$ret$6, null);
|
|
5791
5791
|
var tmp_16 = KProperty1;
|
|
5792
|
-
tmp_13.
|
|
5792
|
+
tmp_13.ga0_1 = tmp_15.u64(this, getPropertyCallableRef('resources', 1, tmp_16, GameServerEngineControllerImpl$_get_resources_$ref_dt6416(), null));
|
|
5793
5793
|
var tmp_17 = this;
|
|
5794
5794
|
// Inline function 'org.kodein.di.instance' call
|
|
5795
5795
|
var this_4 = _get_di__ndbzja(this);
|
|
@@ -5798,7 +5798,7 @@
|
|
|
5798
5798
|
var tmp$ret$8 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
|
|
5799
5799
|
var tmp_19 = Instance(this_4, tmp$ret$8, null);
|
|
5800
5800
|
var tmp_20 = KProperty1;
|
|
5801
|
-
tmp_17.
|
|
5801
|
+
tmp_17.ha0_1 = tmp_19.u64(this, getPropertyCallableRef('test', 1, tmp_20, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5(), null));
|
|
5802
5802
|
var tmp_21 = this;
|
|
5803
5803
|
// Inline function 'org.kodein.di.instance' call
|
|
5804
5804
|
var this_5 = _get_di__ndbzja(this);
|
|
@@ -5807,45 +5807,45 @@
|
|
|
5807
5807
|
var tmp$ret$10 = isInterface(tmp_22, TypeToken) ? tmp_22 : THROW_CCE();
|
|
5808
5808
|
var tmp_23 = Instance(this_5, tmp$ret$10, null);
|
|
5809
5809
|
var tmp_24 = KProperty1;
|
|
5810
|
-
tmp_21.
|
|
5810
|
+
tmp_21.ia0_1 = tmp_23.u64(this, getPropertyCallableRef('randomPoolProvider', 1, tmp_24, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl(), null));
|
|
5811
5811
|
}
|
|
5812
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5813
|
-
var tmp0 = this.
|
|
5812
|
+
protoOf(GameServerEngineControllerImpl).s9z = function () {
|
|
5813
|
+
var tmp0 = this.da0_1;
|
|
5814
5814
|
var tmp = KProperty1;
|
|
5815
5815
|
// Inline function 'kotlin.getValue' call
|
|
5816
5816
|
getPropertyCallableRef('parser', 1, tmp, GameServerEngineControllerImpl$_get_parser_$ref_3gee3w_0(), null);
|
|
5817
5817
|
return tmp0.w();
|
|
5818
5818
|
};
|
|
5819
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5820
|
-
var tmp0 = this.
|
|
5819
|
+
protoOf(GameServerEngineControllerImpl).u9z = function () {
|
|
5820
|
+
var tmp0 = this.ea0_1;
|
|
5821
5821
|
var tmp = KProperty1;
|
|
5822
5822
|
// Inline function 'kotlin.getValue' call
|
|
5823
5823
|
getPropertyCallableRef('helper', 1, tmp, GameServerEngineControllerImpl$_get_helper_$ref_y2ht1f_0(), null);
|
|
5824
5824
|
return tmp0.w();
|
|
5825
5825
|
};
|
|
5826
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5827
|
-
var tmp0 = this.
|
|
5826
|
+
protoOf(GameServerEngineControllerImpl).v9z = function () {
|
|
5827
|
+
var tmp0 = this.fa0_1;
|
|
5828
5828
|
var tmp = KProperty1;
|
|
5829
5829
|
// Inline function 'kotlin.getValue' call
|
|
5830
5830
|
getPropertyCallableRef('serverHelper', 1, tmp, GameServerEngineControllerImpl$_get_serverHelper_$ref_o2mqre_0(), null);
|
|
5831
5831
|
return tmp0.w();
|
|
5832
5832
|
};
|
|
5833
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5834
|
-
var tmp0 = this.
|
|
5833
|
+
protoOf(GameServerEngineControllerImpl).w9z = function () {
|
|
5834
|
+
var tmp0 = this.ga0_1;
|
|
5835
5835
|
var tmp = KProperty1;
|
|
5836
5836
|
// Inline function 'kotlin.getValue' call
|
|
5837
5837
|
getPropertyCallableRef('resources', 1, tmp, GameServerEngineControllerImpl$_get_resources_$ref_dt6416_0(), null);
|
|
5838
5838
|
return tmp0.w();
|
|
5839
5839
|
};
|
|
5840
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5841
|
-
var tmp0 = this.
|
|
5840
|
+
protoOf(GameServerEngineControllerImpl).t9z = function () {
|
|
5841
|
+
var tmp0 = this.ha0_1;
|
|
5842
5842
|
var tmp = KProperty1;
|
|
5843
5843
|
// Inline function 'kotlin.getValue' call
|
|
5844
5844
|
getPropertyCallableRef('test', 1, tmp, GameServerEngineControllerImpl$_get_test_$ref_ol1cd5_0(), null);
|
|
5845
5845
|
return tmp0.w();
|
|
5846
5846
|
};
|
|
5847
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5848
|
-
var tmp0 = this.
|
|
5847
|
+
protoOf(GameServerEngineControllerImpl).x9z = function () {
|
|
5848
|
+
var tmp0 = this.ia0_1;
|
|
5849
5849
|
var tmp = KProperty1;
|
|
5850
5850
|
// Inline function 'kotlin.getValue' call
|
|
5851
5851
|
getPropertyCallableRef('randomPoolProvider', 1, tmp, GameServerEngineControllerImpl$_get_randomPoolProvider_$ref_ut9lgl_0(), null);
|
|
@@ -5857,7 +5857,7 @@
|
|
|
5857
5857
|
protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
|
|
5858
5858
|
return this.createGameEngineWithLogic();
|
|
5859
5859
|
};
|
|
5860
|
-
protoOf(GameServerEngineControllerImpl).
|
|
5860
|
+
protoOf(GameServerEngineControllerImpl).y9z = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, ratingConfig, coreConfig) {
|
|
5861
5861
|
var combinedLogger = Companion_instance_6.mx();
|
|
5862
5862
|
var gameServer = {_v: null};
|
|
5863
5863
|
var tmp0_botConfig = new EngineBotConfig(VOID, VOID, VOID, false);
|
|
@@ -5906,7 +5906,7 @@
|
|
|
5906
5906
|
function TestHelper() {
|
|
5907
5907
|
}
|
|
5908
5908
|
function _get_playerAnswerInteractor__msggz1($this) {
|
|
5909
|
-
var tmp0 = $this.
|
|
5909
|
+
var tmp0 = $this.ma0_1;
|
|
5910
5910
|
var tmp = KProperty1;
|
|
5911
5911
|
// Inline function 'kotlin.getValue' call
|
|
5912
5912
|
getPropertyCallableRef('playerAnswerInteractor', 1, tmp, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy_0(), null);
|
|
@@ -5914,7 +5914,7 @@
|
|
|
5914
5914
|
}
|
|
5915
5915
|
function TestHelperImpl$di$lambda$lambda(this$0) {
|
|
5916
5916
|
return function ($this$singleton) {
|
|
5917
|
-
return this$0.
|
|
5917
|
+
return this$0.ka0_1;
|
|
5918
5918
|
};
|
|
5919
5919
|
}
|
|
5920
5920
|
function TestHelperImpl$di$lambda(this$0) {
|
|
@@ -5953,19 +5953,19 @@
|
|
|
5953
5953
|
return emptyMap();
|
|
5954
5954
|
}
|
|
5955
5955
|
function TestHelperImpl(logger) {
|
|
5956
|
-
this.
|
|
5956
|
+
this.ka0_1 = logger;
|
|
5957
5957
|
var tmp = this;
|
|
5958
5958
|
var tmp_0 = Companion_instance_4;
|
|
5959
|
-
tmp.
|
|
5959
|
+
tmp.la0_1 = tmp_0.i5z(VOID, TestHelperImpl$di$lambda(this));
|
|
5960
5960
|
var tmp_1 = this;
|
|
5961
5961
|
// Inline function 'org.kodein.di.instance' call
|
|
5962
|
-
var this_0 = this.
|
|
5962
|
+
var this_0 = this.la0_1;
|
|
5963
5963
|
// Inline function 'org.kodein.type.generic' call
|
|
5964
5964
|
var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
|
|
5965
5965
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
5966
5966
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
5967
5967
|
var tmp_4 = KProperty1;
|
|
5968
|
-
tmp_1.
|
|
5968
|
+
tmp_1.ma0_1 = tmp_3.u64(this, getPropertyCallableRef('playerAnswerInteractor', 1, tmp_4, TestHelperImpl$_get_playerAnswerInteractor_$ref_1j4fiy(), null));
|
|
5969
5969
|
}
|
|
5970
5970
|
protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
|
|
5971
5971
|
return _get_playerAnswerInteractor__msggz1(this).a8k(playerId, table, botConfig);
|
|
@@ -6095,7 +6095,7 @@
|
|
|
6095
6095
|
defineProp(protoOf(GameServer), 'metadata', function () {
|
|
6096
6096
|
return this.k8e();
|
|
6097
6097
|
}, function (value) {
|
|
6098
|
-
this.
|
|
6098
|
+
this.d9v(value);
|
|
6099
6099
|
});
|
|
6100
6100
|
defineProp(protoOf(GameServer), 'id', function () {
|
|
6101
6101
|
return this.w53();
|
|
@@ -6137,22 +6137,22 @@
|
|
|
6137
6137
|
});
|
|
6138
6138
|
protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
|
|
6139
6139
|
defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
|
|
6140
|
-
return this.
|
|
6140
|
+
return this.s9z();
|
|
6141
6141
|
});
|
|
6142
6142
|
defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
|
|
6143
|
-
return this.
|
|
6143
|
+
return this.u9z();
|
|
6144
6144
|
});
|
|
6145
6145
|
defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
|
|
6146
|
-
return this.
|
|
6146
|
+
return this.v9z();
|
|
6147
6147
|
});
|
|
6148
6148
|
defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
|
|
6149
|
-
return this.
|
|
6149
|
+
return this.w9z();
|
|
6150
6150
|
});
|
|
6151
6151
|
defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
|
|
6152
|
-
return this.
|
|
6152
|
+
return this.t9z();
|
|
6153
6153
|
});
|
|
6154
6154
|
defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
|
|
6155
|
-
return this.
|
|
6155
|
+
return this.x9z();
|
|
6156
6156
|
});
|
|
6157
6157
|
//endregion
|
|
6158
6158
|
//region block: init
|